Rename api added in previous commit and add since tag to docs.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gsttagsetter.c:
5         * gst/gsttagsetter.h:
6           Rename api added in previous commit and add since tag to docs.
7           API: gst_tag_setter_reset_tags()
8
9 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
10
11         * docs/gst/gstreamer-sections.txt:
12         * gst/gsttagsetter.c:
13         * gst/gsttagsetter.h:
14           Add function to reset tagsetter for element reuse.
15
16 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
17
18         * gst/gsttaglist.c:
19           Avoid copy of empty taglist.
20
21 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
22
23         * gst/gsttaglist.c:
24         * tests/check/gst/gsttag.c:
25           More complete unit tests. Fix handling of empty taglists (they were
26           not merged before).
27
28 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
29
30         * gst/gsttaglist.h:
31         * gst/gsttagsetter.c:
32           Update GstTagSetter and GstTagMergeMode documentation. Mention
33           that tags can come from events and from application. Fix example.
34
35 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
36
37         * docs/design/part-TODO.txt:
38         Remove the seqnum entry that we implemented in 0.10 already.
39         Add entry about removing the format return value for queries.
40
41 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
42
43         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
44         (gst_base_sink_init), (gst_base_sink_set_property),
45         (gst_base_sink_get_property):
46         Expose the render-delay as a property so things like appsink can use it
47         to tweak the synchronisation.
48
49 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
50
51         * libs/gst/check/gstcheck.h: Allow check tests to use
52         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
53         CK_FORK=no to be used with multiple check test that use threads.
54
55 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
56
57         * gst/gstutils.c: (gst_element_get_compatible_pad):
58         Fix a caps memory leak introduced by the last change.
59
60 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
61
62         * gst/gstutils.c: (gst_element_get_compatible_pad):
63         Check if the caps of the pads are compatible before returning
64         a pad and claiming it is compatible. This, among other things,
65         fixes a bug with gst-launch where an incompatible pad is chosen
66         and linking fails. Fixes bug #544003.
67
68 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
69
70         * libs/gst/check/gstcheck.c: (gst_check_init):
71         Revert accidentially commited patch for bug #404631 which
72         tries to print a backtrace if a testcase is terminated by
73         a signal. This code was never activated as the corresponding
74         configure.ac change wasn't committed.
75
76 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
77
78         * tests/check/libs/controller.c: (GST_START_TEST):
79         This test should return TRUE now as syncing an uncontrolled
80         object will succeed now (there's nothing to sync).
81
82 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
83
84         * libs/gst/controller/gstcontroller.c:
85           Aggregate return value for gst_controller_sync_values(). More info in
86           logging. Always set values on first sync-call.
87
88         * libs/gst/controller/gstcontrolsource.c:
89           Microoptimizations.
90
91         * libs/gst/controller/gsthelper.c:
92           Fix return code and comment.
93
94 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
95
96         * tools/gst-launch.1.in:
97           Fix description of how to specify a type in caps. Fixes #553873.
98           Also ranges and list contain values and not property-assignments.
99
100 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
101
102         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
103         Check for changed pads-list before checking the last returned
104         GstFlowReturn because the pad could have been removed and we
105         need to ignore the value in that case.
106
107 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * libs/gst/base/gstbasetransform.c:
110         (gst_base_transform_prepare_output_buffer),
111         (gst_base_transform_getrange), (gst_base_transform_chain):
112         * libs/gst/base/gstbasetransform.h:
113         Add vmethod that is called before we start the transform and which can
114         be used to configure the transform, such as dynamic properties.
115
116 2008-12-05  David Schleef  <ds@schleef.org>
117
118         * gst/gst.c:
119         Search for plugins on win32 based on the location of the
120         gstreamer DLL.  Fixes #548786
121
122 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
123
124         * configure.ac:
125         Apparently AC_CONFIG_MACRO_DIR breaks when using more
126         than one macro directory, reverting last change.
127
128 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
129
130         * configure.ac:
131         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
132         our M4 macros.
133
134 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
135
136         Patch by: Cygwin Ports maintainer
137                   <yselkowitz at users dot sourceforge dot net>
138
139         * autogen.sh:
140         * configure.ac:
141         Require gettext 0.17 because older versions don't mix with libtool
142         2.2. At build time an older gettext version will still work.
143         Fixes bug #556091.
144
145 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
146
147         Patch by: 이문형 <iwings at gmail dot com>
148
149         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
150         Adds support for FD_CONNECT event (win32). See #562258.
151
152 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
153
154         * libs/gst/base/gstbasesink.c:
155           Turn comment into gtk-doc comment.
156
157 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
158
159         * libs/gst/base/gstbasetransform.c:
160         (gst_base_transform_acceptcaps):
161         Revert quick accepcaps attempt, it's not fully equivalent to the old
162         behaviour and thus causes regressions.
163
164 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
165
166         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
167         Fix memory leak.
168
169 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
170
171         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
172
173         * gst/gstregistry.c: (gst_registry_scan_path_level):
174         Reduce the number of stat() calls for every file from three times
175         to one time. Fixes bug #560360.
176
177 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
178
179         * libs/gst/base/gstbasetransform.c:
180         (gst_base_transform_acceptcaps):
181         Rename a variable to make the code clearer.
182
183 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
184
185         * plugins/elements/gstidentity.c:
186         Don't warning on offset==-1. Taken from _check_imperfect_offset().
187
188 2008-11-21  Michael Smith <msmith@songbirdnest.com>
189
190         * plugins/elements/gstfilesrc.c:
191           Check for localhost in URI was backwards, fix it. Fixes unit test.
192
193 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
194
195         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
196         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
197         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
198         Add beginnings of a more optimized acceptcaps function than the default
199         core one.
200
201 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * gst/gstpad.c: (gst_pad_accept_caps):
204         Avoid getting the acceptcaps function too early.
205
206 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
207
208         * tools/gst-launch.c: (event_loop):
209         Make gst-launch handle LATENCY messages and make it recalculate the
210         latency.
211
212 2008-11-20  Michael Smith <msmith@songbirdnest.com>
213
214         * plugins/elements/gstfilesrc.c:
215           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
216           out own slightly incorrect version. Fixes use of some paths on
217           win32.
218
219 2008-11-20  Michael Smith <msmith@songbirdnest.com>
220
221         * gst/gstregistrybinary.c:
222           In win32 codepath, if we fail to write the registry, create the
223           directory for it and try again, matching the behaviour in non-win32
224           codepaths.
225
226 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
227
228         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
229         Changing the render delay changes the latency and so we must post a
230         latency message.
231
232 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
233
234         * gst/gstquery.c:
235         * gst/gstquery.h:
236         Add GstQueryType for custom queries instead of having to use the
237         not-so-very-convenient registration infrastructure to register new
238         types.
239
240 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
241
242         Patch by: Andrew Feren <acferen at yahoo dot com>
243
244         * gst/gstobject.c: (gst_object_default_deep_notify):
245         Unref the GEnumClass after usage again. Fixes bug #561501.
246
247 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
248
249         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
250         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
251         (gst_bin_change_state_func):
252         * gst/gstbin.h:
253         Add do-latency signal with the old default fallback implementation. This
254         allows for custom latency calculations for when the default is not
255         sufficient.
256         API: GstBin::do-latency signal.
257
258 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
259
260         * win32/common/libgstreamer.def:
261         Add new symbols to .def file.
262
263 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
264
265         * docs/gst/gstreamer-sections.txt:
266         * gst/gstbin.c: (gst_bin_recalculate_latency),
267         (gst_bin_change_state_func):
268         * gst/gstbin.h:
269         Add method to recalculate and redistribute the latency on a bin.
270         API: gst_bin_recalculate_latency().
271
272 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
273
274         * gst/gstbuffer.h:
275         Document the free_func.
276
277 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
278
279         * libs/gst/controller/gstinterpolation.c:
280         * libs/gst/controller/gstlfocontrolsource.c:
281         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
282         as it is mapped to a cast on non-win32 platforms.
283
284 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
285
286         * libs/gst/controller/gstcontroller.c:
287         * libs/gst/controller/gstcontrollerprivate.h:
288           Keep last-value and only call set_property if value has changed. This
289           supresses all the g_object_notifies we would trigger otherwise. It
290           also allows the user to chage the value while there is no controller
291           change.
292
293 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
294
295         * gst/gstvalue.c:
296           Don't crash if either of the string GValues is empty.
297
298 2008-11-17  Andy Wingo  <wingo@pobox.com>
299
300         * tools/gst-inspect.c (print_all_uri_handlers): New function,
301         prints a summary of what URI schemes are supported by what
302         elements.
303         (main): Plumb in support for --uri-handlers or -u, and fix the
304         argc check for -a and -u.
305
306 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
307
308         * gst/gstutils.h:
309         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
310         conversion functions.
311
312 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
313
314         * gst/gstbuffer.c: (gst_buffer_finalize):
315         Avoid costly typechecking for trivially correct pointers.
316
317         * gst/gstpoll.c: (gst_poll_wait):
318         Add some G_LIKELY here and there.
319
320         * libs/gst/base/gstadapter.c: (gst_adapter_push):
321         Add some debug info.
322
323 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
324
325         * docs/random/wtay/poll-timeout:
326         Small tweaks.
327
328 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
329
330         * tests/old/testsuite/caps/intersection.c: (main):
331         * tests/old/testsuite/plugin/loading.c: (main):
332         Remove references to deprecated API g_mem_chunk*.
333         Fixes #560442.
334
335 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
336
337         * tools/gst-inspect.c: (main):
338         Add --plugin option. Fixes #560301.
339
340 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
341
342         * docs/random/wtay/poll-timeout:
343         Quick braindump for a possible (not totally verified) atomic case.
344
345 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
346
347         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
348         (gst_registry_binary_initialize_magic),
349         (gst_registry_binary_write_cache),
350         (gst_registry_binary_check_magic):
351         * gst/gstregistrybinary.h:
352         Don't write and check a CRC for the binary registry file. It's
353         guaranteed that the registry is completely written (it's first written
354         to a temporary file and then moved) and if the registry was corrupted
355         by some hardware failure we would have bigger problems.
356
357         Bump binary registry version to 0.10.21.1 for this as it's an
358         incompatible change and to ensure that the registry gets rebuild
359         after the update.
360
361         This saves some milliseconds for reading/writing the registry.
362         Fixes bug #560399.
363
364 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
365
366         * docs/random/wtay/poll-timeout:
367         Some pseudo code for how we could implement clock timeouts with GstPoll.
368
369 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
370
371         * plugins/elements/gstfilesink.c:
372           Update Author string to match others.
373
374 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
375
376         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
377         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
378         being fixed and inline the trivial check.
379
380 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
381
382         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
383         (gst_caps_merge_structure), (gst_caps_get_structure),
384         (gst_caps_copy_nth), (gst_caps_set_simple),
385         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
386         (gst_caps_is_equal_fixed), (gst_caps_intersect),
387         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
388         (gst_caps_to_string):
389         Callgrind micro optimisations.
390         Avoid array bounds checks and force inline of trivial function.
391
392         * gst/gstobject.c: (gst_object_set_name_default):
393         -1 is equivalent to letting glib to the strlen but then there is more
394         room for optimisations and it's not our fault.
395
396         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
397         no need to clear the array, we're cool.
398
399         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
400         The most common _is_fixed() check is done on fundamental glib base
401         types so we check this first instead of doing a huge amount of
402         useless GST_TYPE_ARRAY calls.
403
404 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
405
406         * gst/gstevent.h:
407         Add a SKIP seek flag for use with advanced trickmodes.
408         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
409
410 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
411
412         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
413         No need to memset, we can clear the value ourselves.
414
415         * gst/gstvalue.c: (gst_type_is_fixed),
416         (gst_value_get_compare_func):
417         Some optimisations from a few callgrind sessions:
418         When checking if a type is fixed, check for trivial fundamental types
419         first before checking types for which we need to get the type followed
420         by the heavy duty type checks, this reduces the amount of
421         g_type_fundamental() calls a lot.
422         When getting the compare function, first check for our registered types.
423         If that fails, do the heavy duty g_type_is_a() checks, reduces the
424         amount of g_type_is_a() considerably.
425
426 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
427
428         * docs/design/part-TODO.txt:
429         Mumble something about removing GstXML.
430
431 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
432
433         * gst/gstbin.c: (gst_bin_handle_message_func):
434         Get the seqnum before we dispose the message.
435
436 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
437
438         * docs/design/part-TODO.txt:
439         Refer to the framestepping document.
440
441 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
442
443         * gst/gstbin.c: (bin_handle_async_start),
444         (gst_bin_handle_message_func), (gst_bin_query):
445         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
446         (gst_base_sink_event), (gst_base_sink_change_state):
447         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
448         (gst_base_src_loop), (gst_base_src_change_state):
449         Copy seqnums from events to messages so that they can all be related
450         back to eachother.
451
452 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
453
454         * tools/gst-launch.c: (event_loop):
455         Print the message seqnums.
456
457 2008-11-04  Andy Wingo  <wingo@pobox.com>
458
459         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
460
461 2008-11-04  Andy Wingo  <wingo@pobox.com>
462
463         Add sequence numbers to events and messages. See #559250.
464
465         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
466         API: New functions.
467
468         * gst/gstevent.h:
469         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
470         events with a new sequence number, and copy it when copying.
471         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
472         an event's sequence number.
473
474         * gst/gstmessage.h:
475         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
476         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
477         so with messages.
478
479         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
480
481 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
482
483         * docs/manual/advanced-position.xml:
484         * docs/manual/basics-bins.xml:
485         * docs/manual/basics-bus.xml:
486         * docs/manual/basics-pads.xml:
487         * docs/manual/intro-gstreamer.xml:
488         * docs/manual/intro-preface.xml:
489         Some Application Development Manual fixes thanks to
490         Andrew Feren. Fixes #558459.
491
492 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
493
494         * gst/gstregistrybinary.c:
495           Don't bother with the GTimer if we don't output the results.
496
497 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
498
499         Patch by: David Schleef  <ds@schleef.org>
500
501         * libs/gst/net/Makefile.am:
502         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
503
504 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
505
506         * gst/gstregistrybinary.c:
507           Oh my, studip, stupid me. Remove double stat() call.
508
509 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
510
511         * gst/gstpreset.c:
512           Use g_unlink instead of unlink.
513
514         * gst/gststructure.c:
515           Use glib type.
516
517         * gst/gstutils.c:
518           Add a FIXME:.
519
520         * gst/gsttaglist.c:
521         * gst/gsttypefind.c:
522         * gst/gstvalue.c:
523           Formatting & whitespaces.
524
525 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
526
527         * plugins/elements/gstidentity.c:
528           Doc typo. Use return value of parent_class->event.
529   
530         * plugins/elements/gsttypefindelement.c:
531           Chain up at the end for consistency.
532   
533 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
534
535         * docs/Makefile.am:
536         * docs/gst/gstreamer-docs.sgml:
537         * docs/gst/gstreamer-sections.txt:
538         * docs/gst/running.xml:
539         * docs/libs/gstreamer-libs-docs.sgml:
540           Change to xinclude based build - its faster and easier to maintain.
541
542 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
543
544         * gst/gstregistrybinary.c:
545         * gst/gstregistryxml.c:
546           Use g_unlink() as none of these are directories.
547
548 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
549
550         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
551         Some more comments.
552
553 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
554
555         * libs/gst/base/gstbasetransform.c:
556         (gst_base_transform_find_transform), (gst_base_transform_getrange):
557         If we have a fixate function, call it even if we already have fixed caps
558         because the subclass might add some caps. Makes audioconvert add a
559         default channel layout.
560
561 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
562
563         * libs/gst/base/gstbasetransform.c:
564         (gst_base_transform_prepare_output_buffer),
565         (gst_base_transform_getrange):
566         Clear the output buffer variable.
567         Cleanups to the error path in the getrange function.
568         Fixes #557649.
569
570 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
571
572         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
573         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
574         Use gst_buffer_try_new_and_alloc() and handle errors instead of
575         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
576         be allocated.
577
578 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
579
580         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
581         Set the last_stop to a more meaningful position when configuring the
582         segment. ie. the start/stop of the segment or clipped against the
583         updated segment boundaries.
584
585         * tests/check/gst/gstsegment.c: (GST_START_TEST):
586         Add some unit tests for the last_stop.
587
588 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
589
590         * libs/gst/base/gstbytereader.c:
591         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
592         copies of them.
593
594 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
595
596         * docs/gst/gstreamer-sections.txt:
597         * gst/gstutils.h:
598         API: Move float endianness conversion macros from libgstfloatcast
599         to core as it's useful in general, even in core. Fixes bug #555196.
600         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
601         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
602         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
603
604         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
605         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
606         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
607         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
608
609 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
610
611         * docs/libs/gstreamer-libs-sections.txt:
612         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
613         (gst_byte_reader_peek_data):
614         * libs/gst/base/gstbytereader.h:
615         * win32/common/libgstbase.def:
616         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
617         to get a pointer to the data at the current position and have
618         a guaranteed size.
619
620 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
621
622         * configure.ac:
623         Fix a bug in the output of the configure script summary
624         when --gst-disable-registry is supplied
625
626 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
627
628         * libs/gst/base/gstbitreader.c:
629         * libs/gst/base/gstbytereader.c:
630         Fix the names of 2 functions in the docs strings.
631
632 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
633
634         * libs/gst/base/gstbasetransform.c:
635         (gst_base_transform_prepare_output_buffer),
636         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
637         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
638         refcount problems as seen in banshee and maybe also in farsight2.
639         Remove atomic int now that we need to take the lock anyways.
640
641 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
642
643         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
644         (gst_base_sink_default_prepare_seek_segment),
645         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
646         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
647         (gst_base_sink_query):
648         Implement more seeking in pull mode.
649         Use pad convert functions to convert position to the requested format.
650         Fix position/duration reporting in pull mode.
651         Implement position and duration reporting in other formats than time.
652
653         * libs/gst/base/gstbasesink.h:
654         Add member to keep track of when the segment is playing.
655
656 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
657
658         * gst/gstpad.c: (gst_pad_configure_src):
659         When we use gst_pad_alloc_buffer() without wanting to set the caps we
660         also don't need to check if the caps are compatible because the caller
661         presumably is going to perform its own custom checks. Fixes some cases
662         where basetransform elements would error out when it was not needed.
663
664 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
665
666         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
667         Update comment.
668
669         * libs/gst/base/gstbasetransform.c:
670         (gst_base_transform_handle_buffer),
671         (gst_base_transform_reconfigure):
672         Add some debug info.
673
674         * win32/common/libgstbase.def:
675         Add new method.
676
677 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
678
679         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
680           Remove duplicated assignment and log a message in failure case.
681
682 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
683
684         Patch by: Dig Ge <dig.ge.cn at gmail com>
685
686         * tests/examples/helloworld/helloworld.c: (main):
687           Fix copy'n'paste bug in hello world example (#556900).
688
689 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
690
691         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
692         (gst_base_sink_query):
693         Query the total number of bytes when activating the pad in pull mode.
694         Implement duration query in pull mode by using the installed pad convert
695         function to convert from bytes to the requested format.
696
697 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
698
699         * docs/libs/gstreamer-libs-sections.txt:
700         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
701         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
702         (gst_base_sink_event), (gst_base_sink_perform_seek),
703         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
704         (gst_base_sink_send_event), (gst_base_sink_change_state):
705         * libs/gst/base/gstbasesink.h:
706         Add method to commit the state in subclasses.
707         Refactor the flush_start and flush_stop code because we need it for
708         flushing while seeking too.
709         Implement the beginnings of seeking in pull mode.
710         Use the segment last_stop field for the pulling offset.
711         Fix the pause method in pull mode.
712         Configure the segment to BYTES for pull mode.
713         API: GstBaseSink::gst_base_sink_do_preroll()
714
715 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
716
717         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
718         Update some docs.
719
720 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
721
722         * gst/gstquark.c: (_priv_gst_quarks_initialize):
723           Fix printf format warning.
724
725 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
726
727         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
728         Fix flow aggregation of tee. Error out immediately for all flow returns
729         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
730         and return OK if at least one pad is linked.
731
732         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
733         and otherwise returned the flow return of the last pad, which is wrong.
734         
735         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
736         (GST_START_TEST), (tee_suite):
737         Add unit tests for the flow aggregation.
738
739 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
740
741         * docs/design/part-TODO.txt:
742         Remove item from the todo list because it was fixed with the latency
743         state change rewrites.
744
745         * docs/design/part-seeking.txt:
746         * docs/design/part-segments.txt:
747         Update some docs.
748
749         * gst/gstevent.c: (gst_event_new_new_segment_full),
750         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
751         (gst_event_parse_buffer_size), (gst_event_new_qos),
752         (gst_event_parse_qos), (gst_event_new_seek),
753         (gst_event_parse_seek), (gst_event_new_latency),
754         (gst_event_parse_latency):
755         Use quarks to construct and parse events.
756
757         * gst/gstquark.c: (_priv_gst_quarks_initialize):
758         * gst/gstquark.h:
759         Add some more quarks to the table.
760         Emit a warning when the quark tables are not in sync.
761
762         * tests/check/gst/gstbus.c: (GST_START_TEST):
763         Add an assert.
764
765 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
766
767         * plugins/elements/Makefile.am:
768         * plugins/indexers/Makefile.am:
769           Don't install static libs for plugins. Fixes #550851 for core.
770
771 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
772
773         * gst/gstbus.c: (gst_bus_source_finalize),
774         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
775         (gst_bus_enable_sync_message_emission),
776         (gst_bus_disable_sync_message_emission),
777         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
778         Fix deadlock, g_source_get_id() cannot be called in finalize.
779         Keep track of the watch source by keeping a pointer to the source object
780         instead.
781         Use the bus lock to protect access to the pointer to the current
782         watch source.
783
784 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
785
786         Base on Patch by: Olivier Crete <tester at tester dot ca>
787
788         * gst/gstbus.c: (gst_bus_source_finalize),
789         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
790         Only allow one bus watch to be set at a time. This is necessary
791         because the dispatcher pops the message from the bus and the second
792         watcher will then get NULL or the next message (and the first won't
793         get this next message then, etc). If more than one "watcher" is
794         required signal watches should be used. Fixes bug #526044.
795
796 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
797
798         * tools/gst-launch.c:
799         Change the printing of the 'buffering...' output to avoid putting
800         a \r in a translateable string (flagged by the TP).
801
802 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
803
804         * gst/gstxml.c:
805         Clarify that the save_thyself() and restore_thyself() virtual
806         functions of GstObject need to be overriden, not
807         gst_object_(save|restore)_thyself() which is impossible.
808         Fixes bug #555700.
809
810 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
811
812         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
813         Revert a patch from 21 months ago that broke caps negotiation in pull
814         mode. Basically, having a buffer pass over a pad will trigger the
815         setcaps function when caps change, just like in push mode.
816
817 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
818
819         * docs/design/part-negotiation.txt:
820         Update the docs some more.
821
822         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
823         If we pull a buffer with non-trivial caps, suggest those caps with the
824         max probability.
825
826 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
827
828         * docs/design/part-TODO.txt:
829         Add another limitation of pad-blocking with segment seeks not pushing
830         EOS events.
831
832 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
833
834         * win32/common/libgstbase.def:
835         * win32/common/libgstreamer.def:
836         Add new symbols to the win32 defs files
837
838 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
839
840         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
841         (gst_bin_handle_message_func):
842         The message src can be NULL, don't try to print the object names in that
843         case.
844
845         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
846         Add some more debug info.
847
848         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
849         (GST_START_TEST):
850         Add some debug.
851         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
852         scheduling modes.
853
854 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
855
856         * docs/design/part-negotiation.txt:
857         Small doc update.
858
859         * docs/libs/gstreamer-libs-sections.txt:
860         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
861         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
862         (gst_base_sink_init), (gst_base_sink_set_blocksize),
863         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
864         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
865         (gst_base_sink_loop), (gst_base_sink_pad_activate),
866         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
867         (gst_base_sink_change_state):
868         * libs/gst/base/gstbasesink.h:
869         Add blocksize property and methods to control the amount of data
870         to pull.
871         Negotiate first before activating upstream in pull mode so that they can
872         negotiate themselves.
873         When we operate in pull mode, we only accept the caps that we
874         negotiated.
875         Make the sink go ASYNC to PAUSED, like all other sinks.
876         API: GstBaseSink::gst_base_sink_set_blocksize()
877         API: GstBaseSink::gst_base_sink_get_blocksize()
878         API: GstBaseSink::blocksize
879
880         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
881         (gst_base_src_set_live), (gst_base_src_is_live),
882         (gst_base_src_set_format), (gst_base_src_query_latency),
883         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
884         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
885         (gst_base_src_set_property), (gst_base_src_get_property):
886         * libs/gst/base/gstbasesrc.h:
887         Add typechecking in public API functions.
888         Add methods to control the blocksize in subclasses.
889         API: GstBaseSrc::gst_base_src_set_blocksize()
890         API: GstBaseSrc::gst_base_src_get_blocksize()
891
892 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
893
894         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
895         (buffer_probe), (event_probe), (GST_START_TEST):
896         We now see 3 events go through our pad, since basesink now sends
897         upstream latency events.
898
899 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
900
901         * gst/gstpipeline.c: (gst_pipeline_change_state):
902         Release the object lock before trying to flush the bus.
903
904 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
905
906         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
907         Forward LATENCY events upstreams so that elements know about the total
908         pipeline latency. Fixes #555307.
909
910 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
911
912         * plugins/elements/gstqueue.c:
913         Allow through queries when we don't know how
914         to adjust them (not TIME or BYTES), as otherwise it's
915         not possible to query the current position in order
916         to seek in other formats at all.
917
918 2008-10-08  Andy Wingo  <wingo@pobox.com>
919
920         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
921
922 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
923
924         * gst/gstghostpad.c:
925         * gst/gstghostpad.h:
926         Unbreak -good build, private is a reserved c++ keyword.
927
928 2008-10-08  Andy Wingo  <wingo@pobox.com>
929
930         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
931         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
932         removal: re-add GST_GHOST_PAD_CAST to the header.
933
934         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
935         (GstGhostPadClass): Publically expose these structures so as to
936         allow easy subclassing from C. Hide the member data behind a
937         private opaque data pointer.
938
939         * gst/gstghostpad.c: Adapt to store instance data in the type
940         instance's private data region, not in the public struct.
941
942 2008-10-08  Andy Wingo  <wingo@pobox.com>
943
944         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
945         template via g_object_get(), be sure to unref it.
946
947         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
948
949 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
950
951         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
952         If we can't get a cache file don't try to save something to it.
953         Dereferencing NULL pointers usually isn't a good idea.
954
955 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
956
957         * tests/check/Makefile.am:
958         * tests/check/gst/gstabi.c:
959         * tests/check/gst/struct_sparc.h:
960         * tests/check/libs/libsabi.c:
961         * tests/check/libs/struct_sparc.h:
962         Add Sparc ABI checks
963
964         * tests/check/gst/gstvalue.c: (GST_START_TEST):
965         Cast signed integer to unsigned to avoid a compiler warning.
966
967 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
968
969         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
970         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
971         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
972         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
973         (gst_byte_reader_peek_int24_be):
974         Use new GST_READ_UINT24_(LE|BE) macros.
975
976 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
977
978         * docs/gst/gstreamer-sections.txt:
979         * gst/gstutils.h:
980         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
981         as it's too easy to break the ISO C strict aliasing rules with simple
982         casts to the corresponding type and this would introduce hard to debug
983         bugs. Fixes bug #545714.
984
985         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
986
987 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
988
989         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
990         * gst/gstghostpad.c: (gst_ghost_pad_construct):
991           Add 'Since' bits to gtk-doc chunks for new API.
992
993 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
994
995         * docs/gst/gstreamer-sections.txt:
996         Fix documentation
997
998 2008-10-06  Andy Wingo  <wingo@pobox.com>
999
1000         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1001         that will be called on the malloc_data to free it. Basically a way
1002         to avoid subclassing when all you need is a different free
1003         function, i.e. free() instead of g_free().
1004
1005         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1006         calling the free function.
1007         (gst_buffer_init): Initialize the free function to g_free.
1008
1009 2008-10-06  Andy Wingo  <wingo@pobox.com>
1010
1011         * gst/gstghostpad.h:
1012         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1013         finishes the initialization of ghost pad. Useful for language
1014         bindings and subclassers of GstGhostPad. Fixes #539108.
1015         (gst_ghost_pad_new_full): Use the new constructor.
1016
1017 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1018
1019         Base on Patch by: Olivier Crete <tester at tester dot ca>
1020
1021         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1022         (gst_bin_remove_func), (update_degree),
1023         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1024         Keep track of pads that are being linked/unlinked and resync the state
1025         changes.
1026
1027         * gst/gstpad.c: (gst_pad_get_direction),
1028         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1029         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1030         (gst_pad_link_prepare), (gst_pad_link),
1031         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1032         (gst_pad_check_pull_range), (gst_pad_get_range),
1033         (gst_pad_pull_range):
1034         Some code cleanups, use macros to check pad direction.
1035         Don't need to take the lock on the pad direction.
1036         Post structure change when pads are linked/unlinked.
1037         Change some checks into _return_if_fail().
1038
1039         * tests/check/gst/gstbin.c:
1040         (test_link_structure_change_state_changed_sync_cb),
1041         (GST_START_TEST), (gst_bin_suite):
1042         Add testcase for pad link/unlinke resync during a state change.
1043         Fixes #510354.
1044
1045 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1046
1047         * docs/gst/gstreamer-sections.txt:
1048         * gst/gstmessage.c: (gst_message_new_structure_change),
1049         (gst_message_parse_structure_change):
1050         * gst/gstmessage.h:
1051         Implement STRUCTURE_CHANGED messages. These messages will be used to
1052         signal the parent bin of link/unlink operations that could require a
1053         resync when doing a state change. See ##510354.
1054         API: gst_message_new_structure_change()
1055         API: gst_message_parse_structure_change()
1056
1057 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1058
1059         * gst/gstquark.c:
1060         * gst/gstquark.h:
1061         Add some more quarks for new message. See #510354.
1062
1063 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1064
1065         * docs/libs/gstreamer-libs-docs.sgml:
1066         * docs/libs/gstreamer-libs-sections.txt:
1067         * libs/gst/base/Makefile.am:
1068         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1069         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1070         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1071         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1072         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1073         (gst_bit_reader_skip_to_byte):
1074         * libs/gst/base/gstbitreader.h:
1075         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1076         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1077         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1078         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1079         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1080         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1081         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1082         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1083         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1084         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1085         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1086         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1087         * libs/gst/base/gstbytereader.h:
1088         * tests/check/Makefile.am:
1089         * tests/check/libs/bitreader.c: (GST_START_TEST),
1090         (gst_bit_reader_suite):
1091         * tests/check/libs/bytereader.c: (GST_START_TEST),
1092         (gst_byte_reader_suite):
1093         API: Add bit reader and byte reader classes, including documentation
1094         and an extensive unit test suite. Fixes bug #553554.
1095
1096 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1097
1098         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1099         (gst_base_sink_query):
1100         Improve position reporting while flushing and other intermediate state
1101         changes. Fixes #553874.
1102
1103 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1104
1105         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1106
1107         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1108         Original patch by : Simon Descaries
1109         Fix small refount leak in caps compatibility check.
1110         Fixes #551676.
1111
1112 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1113
1114         * docs/pwg/advanced-request.xml:
1115           Fix 0.8 api usage in example. Fixes #554561
1116
1117         * docs/pwg/appendix-porting.xml:
1118           Change 0.9 to 0.10 here.
1119
1120 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1121
1122         * docs/manual/basics-data.xml:
1123           Change "event-event interaction" to "element-element interaction".
1124           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1125           updates.
1126
1127 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1128
1129         * configure.ac:
1130         Back to development -> 0.10.21.1
1131
1132 === release 0.10.21 ===
1133
1134 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1135
1136         * configure.ac:
1137           releasing 0.10.21, "Take These Things From Me"
1138
1139 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1140
1141         * configure.ac:
1142         0.10.20.4 pre-release
1143
1144 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1145
1146         * libs/gst/base/gstbasetransform.c:
1147         * plugins/elements/gstcapsfilter.c:
1148         * tests/check/Makefile.am:
1149         * tests/check/elements/.cvsignore:
1150         * tests/check/elements/capsfilter.c:
1151         Fix assertion in basetransform when the subclass chooses not to
1152         allocate a buffer in prepare_buffer(), and make capsfilter error out
1153         cleanly if requested to apply caps that don't completely specify the
1154         buffer. Fixes #551509
1155
1156 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1157
1158         * libs/gst/base/gstbasetransform.c:
1159         (gst_base_transform_prepare_output_buffer):
1160         Take new caps ref because our old one might have been gone when the
1161         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1162
1163 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1164
1165         * configure.ac:
1166           Do not probe availability of check unit test library when cross
1167           compiling, as test would not work anyway. Also cleanup verbose output
1168           of the check test. Fixes #551952.
1169
1170 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1171
1172         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1173
1174         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1175         Avoid leaking the parent ref when we fail changing the state of the
1176         element using gst_element_sync_state_with_parent(). Fixes #551978.
1177
1178 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1179
1180         * docs/manual/intro-motivation.xml::
1181           Remove some bits that no longer apply, update others (#551642).
1182
1183 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1184
1185         * configure.ac:
1186         0.10.20.2 pre-release
1187
1188         * po/LINGUAS:
1189         * po/id.po:
1190         * po/pt_BR.po:
1191
1192         New translations.
1193
1194 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1195
1196         * win32/common/config.h.in:
1197           Add GST_DATADIR, hard-code cpu to x86.
1198
1199         * win32/common/libgstreamer.def:
1200           Spaces to tabs.
1201
1202 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1203
1204         * gst/gsttaglist.h:
1205           Fix Since: markers for new geo tags.
1206
1207 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1208
1209         * gst/gsttaglist.h:
1210           Fix actual tag name define after renaming from altitude to elevation.
1211
1212 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1213
1214         * gst/gstpad.c: (add_unref_pad_to_list),
1215         (gst_pad_get_internal_links_default):
1216         Add fallback when calling the deprecated function on an element that
1217         implements the new internal_link handler.
1218
1219 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1220
1221         * docs/gst/gstreamer-sections.txt:
1222         * gst/gsttaglist.c:
1223         * gst/gsttaglist.h:
1224           Add new tags for geo location and clarify purpose of existing location
1225           tag. Fixes #481169
1226
1227 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1228
1229         Patch by: Olivier Crete <tester at tester dot ca>
1230
1231         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1232         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1233         Use thread-safe internal links iterator. Fixes #549504.
1234
1235 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1236
1237         Based on patch by: Olivier Crete <tester at tester dot ca>
1238
1239         * docs/gst/gstreamer-sections.txt:
1240         * win32/common/libgstreamer.def:
1241         * gst/gstpad.c: (gst_pad_init),
1242         (gst_pad_set_iterate_internal_links_function),
1243         (int_link_iter_data_free), (iterate_pad),
1244         (gst_pad_iterate_internal_links_default),
1245         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1246         * gst/gstpad.h:
1247         Add threadsafe replacement functions for getting internal links of an
1248         element. Deprecate the old internal links functions.
1249         API:GstPad::gst_pad_set_iterate_internal_links_function()
1250         API:GstPad::GstPadIterIntLinkFunction
1251         API:GstPad::gst_pad_iterate_internal_links()
1252         API:GstPad::gst_pad_iterate_internal_links_default()
1253
1254         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1255         (gst_proxy_pad_init):
1256         Implement threadsafe internal links.
1257
1258         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1259         Unit test for internal links on tee. See #549504.
1260
1261 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1262
1263         * tests/check/Makefile.am:
1264         libs/transform1 test requires libs/test_transform.c
1265
1266 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1267
1268         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1269         Die evil deadlock, die !
1270
1271 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1272
1273         * gst/gstutils.c: (gst_element_get_compatible_pad):
1274         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1275         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1276         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1277         not steal the refcount of the given caps as stated.
1278
1279         REVERT THIS COMMIT ONCE FIXED !
1280         REVERT THIS COMMIT ONCE FIXED !
1281         REVERT THIS COMMIT ONCE FIXED !
1282         REVERT THIS COMMIT ONCE FIXED !
1283         REVERT THIS COMMIT ONCE FIXED !
1284         REVERT THIS COMMIT ONCE FIXED !
1285
1286 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1287
1288         * gst/gstiterator.c:
1289         * gst/gstiterator.h:
1290         After 3 years it's about time to revise the documentation of the
1291         iterator objects.
1292
1293 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1294
1295         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1296         Make the internal links function less thread-unsafe and add some
1297         comments, dunno why.
1298
1299 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1300
1301         * gst/gst_private.h:
1302           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1303           build with --disable-gst-debug.
1304
1305 2008-08-28  David Schleef  <ds@schleef.org>
1306
1307         * gst/gstpadtemplate.c: Revert last change, since it breaks
1308           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1309           but shouldn't be enabled until we've released fixed versions
1310           of -good and -ffmpeg.
1311
1312 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1313
1314         * gst/gstobject.c:
1315           Put the gst_object_get_name() back in.
1316
1317 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1318
1319         * gst/gstpadtemplate.c:
1320           The old behaviour was that gst_pad_template_new() takes ownership of
1321           the caps. As we now call g_object_new() which calls g_object_set() and
1322           which copies the caps, we have to unref them to not leak them. Fixes
1323           make valgrid for me.
1324
1325 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1326
1327         * gst/gsturi.c:
1328           Don't segfault on input like "tel:+1-123-555-1234".
1329
1330 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1331
1332         * gst/gstobject.c:
1333           Due to popular request also include ObjectType in
1334           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1335
1336 2008-08-26  David Schleef  <ds@schleef.org>
1337
1338         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1339           src_val must be positive, because that's not a requirement.
1340           This causes problems with converting negative granulepos
1341           values for Dirac.
1342         * gst/gstquery.c: Same, gst_query_new_convert().
1343
1344 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1345
1346         * gst/gstclock.c: (gst_clock_add_observation):
1347         Add some more debugging to the clock slaving code.
1348
1349         * win32/common/libgstbase.def:
1350         Add new basetransform method.
1351
1352 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1353
1354         * gst/gstbin.c: (gst_bin_element_set_state):
1355         Take the (recursive) state lock between getting the locked state of an
1356         element and changing the element state. This allows the application to
1357         lock an element's state and then change its state without races.
1358
1359 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1360
1361         * gst/gstbin.c: (gst_bin_element_set_state):
1362         When an element is in the locked state we still want to update the
1363         base_time of the element.
1364
1365 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1366
1367         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1368         Use the result from gst_pad_set_caps() instead of assuming the element
1369         always accepted the caps computed by the default negotiate function.
1370
1371 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1372
1373         * docs/libs/gstreamer-libs-sections.txt:
1374         * libs/gst/base/gstbasetransform.c:
1375         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1376         (gst_base_transform_chain), (gst_base_transform_suggest),
1377         (gst_base_transform_reconfigure):
1378         * libs/gst/base/gstbasetransform.h:
1379         Implement method for reconfiguring basetransform.
1380         API: GstBaseTransform::gst_base_transform_reconfigure()
1381
1382 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1383
1384         patch by: Murray Cumming <murrayc@murrayc.com>
1385
1386         * gst/gstutils.c:
1387           Mention that this is just like gst_buffer_merge() but with extra
1388           unreffing for C coders. Advise language bindings not to wrap it.
1389           Fixes Bug #533856.
1390           
1391           Also fix file comment.
1392
1393 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1394
1395         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1396
1397         * plugins/elements/gstfakesink.c:
1398         * plugins/elements/gstfakesrc.c:
1399           Call super::event() when not handling it. Fixes #544855.
1400
1401 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1402
1403         Patch by: Alessandro Decina <alessandro@nnva.org>
1404         * plugins/elements/gstfilesrc.c:
1405           Use 64 bit variants of stat functions on win32, to enable support
1406           of large files there.
1407           Fixes #547277.
1408
1409 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1410
1411         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1412         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1413         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1414         (gst_base_sink_get_position), (gst_base_sink_change_state):
1415         Improve position reporting in the flushing state.
1416         Also report the position when we are not yet prerolled but we
1417         have a newsegment event. Fixes #543444.
1418         Improve the pull-based negotiation code.
1419
1420         * tests/check/elements/fakesink.c: (GST_START_TEST),
1421         (fakesink_suite):
1422         Add testcase for position reporting while flushing in PAUSED and
1423         PLAYING.
1424
1425         * tests/check/generic/sinks.c: (GST_START_TEST):
1426         Update unit-test, we can now query the position as soon as we receive a
1427         NEWSEGMENT event.
1428
1429 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1430
1431         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1432
1433         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1434         When the subclass event handler releases the PREROLL_LOCK, we could be
1435         in the flushing state and we have to ignore the event. Fixes #548394.
1436
1437 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1438
1439         * tools/gst-launch.1.in:
1440           Document GST_REGISTRY_UPDATE environment variable.
1441
1442 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1443
1444         * libs/gst/base/gstbasetransform.c:
1445         (gst_base_transform_prepare_output_buffer):
1446         If the element is configured in passthrough mode but the
1447         prepare_output_buffer gave us a new output buffer, discard that buffer
1448         and reuse the input buffer.
1449
1450 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1451
1452         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1453
1454         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1455         (gst_tee_request_new_pad), (gst_tee_release_pad),
1456         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1457         * plugins/elements/gsttee.h:
1458         Protect pad_alloc with a new lock so that we can be sure that nothing is
1459         performing a pad_alloc when removing the pad. Fixes #547835.
1460
1461         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1462         (buffer_alloc_harness_teardown), (app_thread_func),
1463         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1464         Added testcase for shutdown race.
1465
1466 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1467
1468         * gst/gstpad.h:
1469         Add doc
1470
1471 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1472
1473         * libs/gst/base/gstbasetransform.c:
1474         (gst_base_transform_prepare_output_buffer),
1475         (gst_base_transform_buffer_alloc):
1476         Go over the buffer_alloc function again and make sure we always end up
1477         allocating a buffer.
1478         Add some more docs.
1479         Avoid doing pad alloc when we have a pending suggestion because we
1480         cannot yet deal with changing caps in that case. Fixes #547728
1481
1482 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1483
1484         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1485
1486         * docs/manual/advanced-clocks.xml:
1487         * docs/manual/clocks.png:
1488         * docs/manual/diagrams-clocks.svg:
1489           Add one more image showing different times together with a describing
1490           paragraph. Fixes #547729.
1491
1492 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1493
1494         * win32/common/libgstbase.def:
1495         Add new method.
1496
1497 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1498
1499         * libs/gst/base/gstbasetransform.c:
1500         (gst_base_transform_transform_caps),
1501         (gst_base_transform_prepare_output_buffer),
1502         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1503         Don't overwrite the outsize when calculating the expected size of a new
1504         buffer because we still need it in case we cannot process the new
1505         buffer.
1506         When converting the size of the new buffer to an upstream size, actually
1507         use the expected size of the buffer, not some other random value.
1508         Use an atomic int to signal that a new upstream caps suggestion is
1509         available.
1510         When we can convert the current buffer to a new format, check if the
1511         buffer size is of the expected size and allocate a new buffer of the
1512         expected size when this is not the case. Fixes #546883.
1513
1514         * tests/check/libs/transform1.c: (GST_START_TEST):
1515         remove ifdeffed code from the unit test.
1516
1517 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1518
1519         * pkgconfig/gstreamer-uninstalled.pc.in:
1520         * pkgconfig/gstreamer.pc.in:
1521           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1522           called gstcontroller-0.10.
1523
1524 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1525
1526         * gst/gstchildproxy.h:
1527         * gst/gstpreset.h:
1528           Remove double interface from doc-string.        
1529
1530 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1531
1532         * libs/gst/base/gstbasesrc.c:
1533         * libs/gst/base/gstbasetransform.c:
1534           Fix headings in docs and gtk-doc warnings.
1535
1536 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1537
1538         * gst/gstregistrybinary.c:
1539           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1540           libc.
1541           Fixes #544776.
1542
1543 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1544
1545         * libs/gst/base/gstbasetransform.c:
1546         (gst_base_transform_buffer_alloc):
1547         Fix a "may be used unitialized" warning.
1548
1549 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1550
1551         * docs/gst/gstreamer-sections.txt:
1552         * gst/gstpreset.h:
1553           Document preset-iface vmethods.
1554
1555 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1556
1557         * docs/manual/advanced-interfaces.xml:
1558           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1559           only used to discover devices.
1560
1561 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1562
1563         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1564
1565         * gst/gst.c: (init_pre):
1566         Make sure gettext returns translations in UTF-8 encoding rather
1567         than in the current locale encoding (#546822).
1568
1569 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1570
1571         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1572         Fix subset test.
1573
1574         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1575         Improve unit test subset tests and add a testcase for the subset failure
1576         cases.
1577
1578         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1579         Improve subtraction unit test.
1580
1581 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1582
1583         * plugins/elements/gsttee.c:
1584           Unlock, instead of locking again.
1585
1586 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1587
1588         * gst/gstpad.h:
1589         Clarify the docs a bit more.
1590
1591 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1592
1593         * tests/examples/metadata/read-metadata.c:
1594           Don't leak old taglist.
1595
1596 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1597
1598         Patch by: Olivier Crete <tester at tester dot ca>
1599
1600         * gst/gststructure.c:
1601         (gst_structure_fixate_field_nearest_fraction):
1602         Avoid overflows in fixation code when dealing with MAXINT values, which
1603         v4l2src seems to do.
1604         Fixes #546328.
1605
1606         * tests/check/gst/gststructure.c: (GST_START_TEST):
1607         Make a unit test to check the fix. 
1608
1609 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1610
1611         * plugins/elements/gstcapsfilter.c: (copy_func),
1612         (gst_capsfilter_set_property):
1613         Use new caps suggestion feature of basetransform to request a caps
1614         negotiation upstream.
1615
1616 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1617
1618         * docs/libs/gstreamer-libs-sections.txt:
1619         Add new function:
1620         API: GstBaseTransform::gst_base_transform_suggest()
1621
1622         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1623         (gst_base_transform_init), (gst_base_transform_transform_caps),
1624         (gst_base_transform_transform_size),
1625         (gst_base_transform_configure_caps),
1626         (gst_base_transform_can_transform),
1627         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1628         (gst_base_transform_prepare_output_buffer),
1629         (gst_base_transform_buffer_alloc),
1630         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1631         (gst_base_transform_chain), (gst_base_transform_activate),
1632         (gst_base_transform_set_passthrough),
1633         (gst_base_transform_is_passthrough),
1634         (gst_base_transform_set_in_place),
1635         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1636         (gst_base_transform_set_qos_enabled),
1637         (gst_base_transform_is_qos_enabled),
1638         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1639         (gst_base_transform_reconfigure):
1640         * libs/gst/base/gstbasetransform.h:
1641         Rewrite of basetransform to perform negotiation outside of the
1642         buffer_alloc functions.  Fixes #545853.
1643
1644         * tests/check/libs/transform1.c: (GST_START_TEST),
1645         (buffer_alloc_ct2):
1646         Update unit test.
1647
1648 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1649
1650         * tests/check/gst/gstpreset.c:
1651           Only run preset tests when $HOME is writable. Preliminary fix for
1652           #545433.
1653
1654 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1655
1656         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1657         (gst_bin_change_state_func), (bin_handle_async_done),
1658         (gst_bin_handle_message_func):
1659         Fix race for bins that simulate ASYNC state changes by inserting
1660         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1661         pending ASYNC messages even when the bin does not have ASYNC children.
1662         We note detect this behaviour because we will receive an ASYNC message
1663         that is originating from the bin itself. 
1664         Fixes races with decodebin2 state changes.
1665
1666         * tests/check/gst/gstbin.c: (GST_START_TEST):
1667         Add some more debug.
1668
1669 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1670
1671         * gst/gsttaglist.c: (_gst_tag_initialize):
1672           Fix typo.
1673
1674 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1675
1676         * gst/gsttaglist.c:
1677           Argh. actually save the text before committing. Now adds
1678           gst_tag_merge_strings_with_comma() to gst_tag_register().
1679
1680 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1681
1682         * gst/gsttaglist.c:
1683         * gst/gsttaglist.h:
1684           Do as tim pointed out and actually register the new tag. Also improve
1685           te docs and use gst_tag_merge_strings_with_comma() method to allow
1686           retriving all keywords merged in one list.
1687
1688 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1689
1690         * configure.ac:
1691         * docs/gst/gstreamer.types:
1692           Revert 'accidential' change of the configure option removal. We still
1693           need to generate the types file in configure --disable-load-save.
1694
1695 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1696
1697         * docs/gst/gstreamer-sections.txt:
1698         * gst/gsttaglist.h:
1699           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1700
1701 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1702
1703         * gst/gstpadtemplate.c:
1704           (gst_pad_template_class_init), (gst_static_pad_template_get),
1705           (gst_pad_template_new), (gst_pad_template_pad_created),
1706           (gst_pad_template_set_property), (gst_pad_template_get_property):
1707           Add "name-template", "direction", "presence" and "caps" properties,
1708           so that gst_pad_template_new() is just a thin wrapper around
1709           g_object_new(), which is better for bindings. (Fixes: #539772)
1710
1711 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1712
1713         * gst/gsturi.c:
1714           Be more liberal in what URIs we accept.
1715           Do not unescape bits of the URI for no apparent reason before passing to
1716           the element. Fixes #545352.
1717
1718 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1719
1720         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1721
1722         * gst/gst.c:
1723         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1724
1725 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1726
1727         * configure.ac:
1728         * docs/gst/gstreamer-sections.txt:
1729         * docs/gst/gstreamer.types:
1730         * docs/gst/gstreamer.types.in:
1731         * gst/Makefile.am:
1732         * gst/gst.c:
1733         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1734         * gst/gstconfig.h.in:
1735         * gst/gstelement.c: (gst_element_get_index):
1736         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1737         (gst_registry_binary_load_feature),
1738         (gst_registry_binary_read_cache):
1739         * gst/gstregistryxml.c: (load_feature),
1740         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1741         * plugins/Makefile.am:
1742         * tools/gst-indent:
1743         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1744         (print_plugin_features), (print_element_features):
1745         * tools/gst-xmlinspect.c: (print_event_masks),
1746         (print_element_info):
1747         * win32/common/gstconfig.h:
1748         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1749
1750         Disabling the indexers and URI handler code will only reduce the
1751         required amount of memory by a very small amount but on the other hand
1752         requires much more maintaince work. Apart from that many places of
1753         code are broken when disabling them.
1754
1755         Disabling the enum types doesn't reduce the required amount of memory
1756         by more than a few bytes and makes it hard to fix bugs like #539772,
1757         i.e. use the enums as GObject properties.
1758
1759 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1760
1761         * docs/design/part-TODO.txt:
1762         Add some thoughts and problems with upstream renegotiation.
1763
1764 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1765
1766         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1767         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1768         Remove silly redundant debug.
1769         Add some more debug info.
1770         Clarify the docs regarding new caps received from pad_alloc.
1771
1772 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1773
1774         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1775         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1776         Make setting the caps more threadsafe.
1777
1778 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1779
1780         * docs/design/part-element-transform.txt:
1781         Update docs.
1782
1783 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1784
1785         * plugins/elements/gstqueue.c: (gst_queue_init),
1786         (gst_queue_acceptcaps):
1787         Add and use a custom acceptcaps function instead of falling back to the
1788         potentially less optimized default implementation.
1789
1790 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1791
1792         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1793           Only sanity-check the buffer size if requested_caps == buffer_caps
1794           (ie. don't take pad caps into account, they're not relevant here)
1795
1796 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1797
1798         * plugins/elements/gsttee.c:
1799         * plugins/elements/gsttee.h:
1800           Reverting as not everything is clear yet. Needs some general design
1801           work.
1802
1803 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1804
1805         * ChangeLog:
1806           ChangeLog surgery for tee commit.
1807
1808 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1809
1810         * docs/gst/gstreamer-sections.txt:
1811           Cleanup section-file.
1812
1813 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1814
1815         * plugins/elements/gsttee.c:
1816         * plugins/elements/gsttee.h:
1817           Relay tag events in tee. Fixes parts of #474016.
1818           Downgrades 3 reoccurring debugs to log.
1819
1820 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1821
1822         * configure.ac:
1823         * libs/gst/Makefile.am:
1824           Build the net library if we have winsock2.
1825
1826 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1827
1828         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1829
1830         * docs/manual/advanced-threads.xml:
1831         * docs/manual/diagrams-pipelines.svg:
1832         * docs/manual/hello-world.png:
1833         * docs/manual/linked-elements.png:
1834         * docs/manual/mime-world.png:
1835         * docs/manual/queue.png:
1836         * docs/manual/thread-buffering.png:
1837         * docs/manual/thread-synchronizing.png:
1838           Replace one diagram with two separate ones and updates others.
1839           Fixes #542401.
1840
1841 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1842
1843         * gst/gstelement.h:
1844         Fix link in documentation.
1845
1846 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1847
1848         * gst/gstmessage.c:
1849         Fix confusing documentation.
1850
1851 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1852
1853         * libs/gst/base/gstbasesrc.h:
1854         revert the changes to the header file for the ABI.
1855
1856 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1857
1858         * libs/gst/base/gstbasesrc.c:
1859         * libs/gst/base/gstbasesrc.h:
1860         Don't cache the seekable status.
1861         Fixes bug #544174
1862
1863 2008-07-24  Rene Stadler  <mail@renestadler.de>
1864
1865         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1866         code to close the pipeline graph.  This prevents the program from
1867         printing internal data flow errors.
1868
1869 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1870
1871         * docs/manual/basics-bus.xml:
1872         Correct typo. Fixes bug #544320.
1873
1874 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1875
1876         * configure.ac:
1877           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1878           Add check (taken from -base) for winsock, adds WIN32_LIBS
1879         * gst/Makefile.am:
1880           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1881           winsock.
1882           Define GST_EXPORTS when building libgstreamer (only used on win32)
1883         * gst/gst_private.h:
1884         * gst/gstinfo.h:
1885           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1886           for symbols that we need to export in both these files.
1887         * gst/gstpoll.c:
1888           Include gst_private.h higher up to avoid some compile problems on win32.
1889
1890 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1891
1892         * gst/gstvalue.c:
1893         Fix typos.
1894
1895 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1896
1897         * gst/gstcaps.c:
1898         Previous commit was wrong NULL caps does not exist
1899         and indicate an error, so also add a FIXME to
1900         gst_caps_is_equal where NULL caps are accepted.
1901
1902 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1903
1904         * gst/gstcaps.c:
1905         Allow passing of NULL to gst_caps_union
1906
1907 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1908
1909         * gst/gstghostpad.c:
1910         Add in doc that gst_ghost_pad_set_target can accept
1911         NULL to clear target
1912
1913 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1914
1915         * gst/gstplugin.c:
1916         * gst/gstregistry.c:
1917           GstRegistryPool doesn't exist; don't refer to it in docs.
1918           Don't refer to functions that don't exist in docs, it's
1919           unhelpful.
1920
1921 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1922
1923         * gst/gst.c:
1924         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1925
1926 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1927
1928         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1929
1930         * docs/pwg/building-testapp.xml:
1931         Don't use an undeclared variable in the example program.
1932         Fixes bug #542573.
1933
1934 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1935
1936         * gst/gstdebugutils.c:
1937           Squeeze ghost-pad links and remove <> from classname labels to save
1938           more horizontal space.
1939
1940 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
1941
1942         * gst/gstdebugutils.c:
1943           Give request and sometimes pads a different shpe style. Condense the
1944           graphs a little more.
1945
1946 2008-07-09  Michael Smith <msmith@songbirdnest.com>
1947
1948         * configure.ac:
1949           Don't require flex and bison if the parser is disabled.
1950
1951 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1952
1953         * libs/gst/controller/gstinterpolationcontrolsource.c:
1954         (_list_find_sorted_custom):
1955         Don't use declarations after statements.
1956
1957 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1958
1959         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
1960         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
1961         of the the child-added / -removed signals as GstChildProxy
1962         only supports GstObjects.
1963
1964 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
1965
1966         * gst/gstdebugutils.c:
1967         Fix memleak
1968
1969 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1970
1971         Patch by: Alessandro Decina <alessandro at nnva dot org>
1972
1973         * gst/gstpoll.c:
1974         Fix "ignored return value" compiler warning with newer glibc.
1975
1976 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1977
1978         * gst/gstchildproxy.c:
1979         Fix copy&paste error in gst_child_proxy_removed() documentation.
1980
1981 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
1982
1983         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
1984           Print error debug message if plugin description fields that should
1985           be set are NULL.
1986
1987         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
1988           Don't crash if the string to serialise is NULL (it really should
1989           not be, but apparently this used to work with the xml registry ...).
1990
1991 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
1992
1993         * tools/gst-plot-timeline.py:
1994         Fix parsing of log messages
1995
1996 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1997
1998         * win32/common/libgstbase.def::
1999           Sort alphabetically so make check-exports doesn't barf.
2000
2001 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2002
2003         * gst/gstevent.c:
2004           Use gst_format_get_name() to improve debug output.
2005
2006         * gst/gstpreset.c:
2007           Remove #ifdef'ed code. Add TODO comment.
2008
2009         * gst/gstsegment.c:
2010           Add debug output to ease spotting format != segment.format assertions.
2011
2012 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2013
2014         * tests/check/libs/gdp.c: (gst_dp_suite):
2015         Also enable the GDP unit test again on PPC now that the bug
2016         is fixed.
2017
2018 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2019
2020         * libs/gst/dataprotocol/dataprotocol.c:
2021         Don't write to the same region of memory as a uint64 and uint16
2022         as this breaks strict aliasing rules and apparantly breaks on PPC
2023         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2024
2025 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2026
2027         * libs/gst/controller/gstinterpolationcontrolsource.c:
2028           Optimize list handling. Use own find function. Exploit that fact that
2029           the list is sorted. Also pass back the node before, so that we can
2030           insert quickly. Have a fast path for append.
2031
2032 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2033
2034         * docs/design/draft-framestep.txt:
2035         * docs/design/part-negotiation.txt:
2036           Fix two typos.
2037
2038 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2039
2040         * configure.ac:
2041           Show configuration sumary after configure run. Based on patch by
2042           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2043
2044 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2045
2046         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2047
2048         * docs/manual/advanced-autoplugging.xml:
2049         * docs/manual/advanced-threads.xml:
2050         * docs/manual/basics-bins.xml:
2051         * docs/manual/basics-elements.xml:
2052         * docs/manual/basics-helloworld.xml:
2053         * docs/manual/basics-pads.xml:
2054           Add scale factor for pdf output.
2055
2056         * docs/manual/intro-basics.xml:
2057           Switched sections "pads" and "bins" and added a pipeline diagram.
2058
2059         * docs/manual/intro-gstreamer.xml:
2060           Added more info on gstreamer.
2061
2062         * docs/manual/intro-motivation.xml:
2063           Commented out the whole section "current problem", which sounds
2064           historical and somehow osolete; it could be turned in a positive
2065           way and reused to improve the design principles.
2066
2067         * docs/manual/intro-preface.xml:
2068           - Update URLs to library.gnome.org. 
2069           - Do not mention GTK+ in preliminary reading (irrelevant). 
2070           - Mention Plugin Writer's Manual and further reading only in the
2071             previous section.
2072           - Added a list of most relevant GObject/glib topics.
2073
2074         * docs/manual/Makefile.am:
2075         * docs/manual/bin-element-ghost.fig:
2076         * docs/manual/bin-element-ghost.png:
2077         * docs/manual/bin-element-noghost.fig:
2078         * docs/manual/bin-element-noghost.png:
2079         * docs/manual/bin-element.fig:
2080         * docs/manual/bin-element.png:
2081         * docs/manual/filter-element-multi.fig:
2082         * docs/manual/filter-element-multi.png:
2083         * docs/manual/filter-element.fig:
2084         * docs/manual/filter-element.png:
2085         * docs/manual/gstreamer-overview.png:
2086         * docs/manual/hello-world.fig:
2087         * docs/manual/hello-world.png:
2088         * docs/manual/linked-elements.fig:
2089         * docs/manual/linked-elements.png:
2090         * docs/manual/mime-world.fig:
2091         * docs/manual/mime-world.png:
2092         * docs/manual/queue.fig:
2093         * docs/manual/queue.png:
2094         * docs/manual/simple-player.png:
2095         * docs/manual/sink-element.fig:
2096         * docs/manual/sink-element.png:
2097         * docs/manual/src-element.fig:
2098         * docs/manual/src-element.png:
2099         * docs/manual/diagrams-general.svg:
2100         * docs/manual/diagrams-pipelines.svg:
2101           Removed .fig, added .png counterpart.
2102           
2103           Fixes: #539137
2104
2105 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2106
2107         * plugins/elements/gstmultiqueue.c:
2108         * plugins/elements/gstmultiqueue.h:
2109         revert extra-size-buffers stuff, caused some race conditions
2110         and extra-size-buffers is not used anymore. Docs needs some updates
2111
2112 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2113
2114         * win32/common/config.h:
2115         * win32/common/gstenumtypes.c:
2116         * win32/common/gstenumtypes.h:
2117         * win32/common/gstversion.h:
2118           Update win32 files.
2119
2120 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2121
2122         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2123           (GST_DEBUG_BIN_TO_DOT_FILE):
2124           Add missing Since' markers to gtk-doc blurbs.
2125
2126 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2127
2128         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2129         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2130         (set_caps_1), (set_caps_ct1), (transform_ct1),
2131         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2132         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2133         (transform_size_ct2), (buffer_alloc_ct2):
2134         Add some more tests with switching caps in buffer_alloc.
2135
2136 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2137
2138         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2139         (gst_test_trans_class_init), (result_sink_chain),
2140         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2141         (gst_test_trans_push), (gst_test_trans_pop):
2142         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2143         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2144         (set_caps_1), (set_caps_ct1), (transform_ct1),
2145         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2146         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2147         (transform_size_ct2), (buffer_alloc_ct2),
2148         (gst_basetransform_suite):
2149         More tests, prepare for tests with switching caps in buffer_alloc.
2150
2151 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2152
2153         * plugins/elements/gstmultiqueue.c:
2154         * plugins/elements/gstmultiqueue.h:
2155         Fix dead-lock in underrun_cb
2156
2157 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2158
2159         * docs/design/part-states.txt:
2160         Fix device open/close docs.
2161
2162 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2163
2164         * ChangeLog:
2165           Mention bugnumber for last commit.
2166
2167 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2168
2169         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2170
2171         * docs/manual/manual.xml:
2172         - Reorganised the previous "introduction" bundle into Foreword,
2173         Introduction, and About GStreamer. The two first are <preface>
2174         docbook elements. The later is the first part of the book.
2175         - added intro-gstreamer.xml (content partially from
2176         intro-preface.xml)
2177         - moved appendix-win32.xml into appendix-integration.xml
2178
2179         * docs/manual/intro-preface.xml: gstreamer section moved...
2180         * docs/manual/intro-gstreamer.xml: ...here. new file.
2181
2182         * docs/manual/appendix-win32.xml: removed file. Content moved...
2183         * docs/manual/appendix-integration.xml: ...here.
2184         
2185         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2186         * docs/manual/appendix-checklist.xml: ...here.
2187         
2188         Fixes: 538764
2189
2190 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2191
2192         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2193
2194         * docs/manual/basics-helloworld.xml:
2195         * docs/manual/hello-world.fig:
2196           - Explicitely include glib.h.
2197           - Do not use global variables.
2198           - Use g_printerr() instead of g_print().
2199           - Minor formating/renaming to increase readibility.
2200           - Renamed new_pad() to on_pad_added()
2201           - Improved explenatory comments.
2202           - renamed ogg parser to ogg demuxer
2203           - Use "autoaudiosink" instead of "alsasink".
2204           Fixes: #538619
2205
2206 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2207
2208         * ChangeLog:
2209           Remove cvs conflict marker.
2210
2211 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2212
2213         * docs/README:
2214           Document that for plgin-docs we extraxt he short-desc from the element
2215           details.
2216
2217         * docs/design/part-states.txt:
2218           Tell that devices should be closed in PAUSED -> READY.
2219
2220         * docs/manual/README:
2221           Document how tests in the manual are handled.
2222
2223         * docs/manuals.mak:
2224           Typo in comment.
2225
2226 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2227
2228         * gst/gstbin.c: (bin_query_latency_fold):
2229         Only care about latency min and max when the sink is actually a live
2230         sink.
2231
2232 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2233
2234         * docs/design/part-block.txt:
2235         Fix typo.
2236
2237         * docs/design/part-element-transform.txt:
2238         Add notes about why transform needs to know input/output sizes.
2239         Add some issues that need to be solved.
2240         Add some more use cases.
2241
2242         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2243         (gst_test_trans_class_init), (result_sink_chain),
2244         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2245         (gst_test_trans_push), (gst_test_trans_pop):
2246         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2247         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2248         (set_caps_1), (set_caps_ct1), (transform_ct1),
2249         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2250         (gst_basetransform_suite):
2251         Add suport for different pad templates and buffer-alloc.
2252         Add more checks for caps and buffer-alloc.
2253         Add checks for proxy buffer alloc.
2254         Add unit test for copy transform.
2255
2256 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2257
2258         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2259
2260         * docs/manual/appendix-integration.xml:
2261         * docs/manual/appendix-licensing.xml:
2262         * docs/manual/basics-elements.xml:
2263         * docs/manual/basics-helloworld.xml:
2264         * docs/manual/basics-pads.xml:
2265         * docs/manual/highlevel-components.xml:
2266         * docs/manual/highlevel-xml.xml:
2267         * docs/manual/intro-basics.xml:
2268         * docs/manual/intro-preface.xml:
2269           Typo and formatting fixes (#538594).
2270
2271 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2272
2273         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2274         Fix some memory leaks and uses of object instances that we don't
2275         actually own.
2276
2277 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2278
2279         * plugins/elements/gstmultiqueue.c:
2280         Add functionality to extra-size-buffers property.
2281
2282 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2283
2284         * plugins/elements/gstmultiqueue.c:
2285         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2286         activate the pads if they are added in STATE_NULL.
2287
2288 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2289
2290         * docs/libs/gstreamer-libs-sections.txt:
2291         Add new API to doc
2292         * libs/gst/check/gstcheck.c:
2293         * libs/gst/check/gstcheck.h:
2294         API: gst_check_teardown_pad_by_name
2295
2296 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2297
2298         * libs/gst/check/gstcheck.c:
2299         * libs/gst/check/gstcheck.h:
2300         Also setup request pads and allow setup pads by name (#537812)
2301         API: gst_check_setup_src_pad_by_name
2302         API: gst_check_setup_sink_pad_by_name
2303
2304 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2305
2306         * tests/check/gst/gstbuffer.c:
2307         * tests/check/pipelines/parse-launch.c:
2308           Use HAVE_VALGRIND_H some more.
2309
2310 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2311
2312         * scripts/cvs-update.sh:
2313           Pass arguments to make.
2314           Run autoregen.sh if Makefile is not there.
2315
2316 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2317
2318         * configure.ac:
2319         * gst/gstinfo.c:
2320           Don't assume that <valgrind/valgrind.h> exists just because
2321           the binary is there.
2322
2323 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2324
2325         * tests/check/Makefile.am:
2326         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2327         (gst_test_trans_class_init), (gst_test_trans_init),
2328         (gst_test_trans_set_data), (result_sink_chain),
2329         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2330         (gst_test_trans_pop):
2331         * tests/check/libs/transform1.c: (GST_START_TEST),
2332         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2333         Add some test basetransform element and the beginnings of various
2334         unit tests for it.
2335
2336 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2337
2338         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2339         Increase code readability.
2340         Don't try to compare buffer offsets when ther are invalid.
2341
2342 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2343
2344         * docs/design/Makefile.am:
2345           Dist some more design docs.
2346
2347         * docs/random/moving-plugins:
2348           Small addition: good plugins mustn't have functional code
2349           within assertion macros.
2350
2351 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2352
2353         * docs/design/draft-framestep.txt:
2354         Some ideas about a framestep API
2355
2356         * docs/design/part-element-transform.txt:
2357         Start design and use cases for basetransform in order to get it
2358         fixed soon.
2359
2360 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2361
2362         * gst/gsttaglist.h:
2363           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2364           be in UTF-8 encoding.
2365
2366 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2367
2368         * gst/gstbus.c:
2369           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2370
2371 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2372
2373         * plugins/elements/gstcapsfilter.c:
2374         * plugins/elements/gstfakesink.c:
2375         * plugins/elements/gstfakesrc.c:
2376         * plugins/elements/gstfdsink.c:
2377         * plugins/elements/gstfdsrc.c:
2378         * plugins/elements/gstfilesink.c:
2379         * plugins/elements/gstfilesrc.c:
2380         * plugins/elements/gstidentity.c:
2381         * plugins/elements/gstmultiqueue.c:
2382         * plugins/elements/gstqueue.c:
2383         * plugins/elements/gsttee.c:
2384         * plugins/elements/gsttypefindelement.c:
2385           Remove short_description. Add basic docs for gsttypefindelement.
2386           Simplify markup for fakesrc/fdsrc.
2387
2388 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2389
2390         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2391         Added Since doc.
2392
2393 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2394
2395         Patch by: Joel Larsson <tilljoel at gmail dot com>
2396
2397         * docs/plugins/gstreamer-plugins.args:
2398         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2399         (gst_fd_src_init), (gst_fd_src_update_fd),
2400         (gst_fd_src_set_property), (gst_fd_src_get_property),
2401         (gst_fd_src_create):
2402         * plugins/elements/gstfdsrc.h:
2403         Add timeout property like udpsrc. Fixes #538628.
2404         Add some more docs and example pipelines.
2405
2406 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2407
2408         * docs/libs/gstreamer-libs-sections.txt:
2409         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2410         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2411         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2412         (gst_base_sink_do_sync):
2413         * libs/gst/base/gstbasesink.h:
2414         * win32/common/libgstbase.def:
2415         Add method to allow sinks to specify additional delay between the sync
2416         times and the actual rendering of the data.
2417         API: gst_base_sink_set_render_delay()
2418         API: gst_base_sink_get_render_delay()
2419
2420 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2421
2422         * configure.ac:
2423         Bump version number back to dev -> 0.10.20.1
2424
2425 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2426
2427         * docs/gst/gstreamer-sections.txt:
2428         * gst/gsttaglist.c: (_gst_tag_initialize):
2429         * gst/gsttaglist.h:
2430         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2431         Fixes bug #538568.
2432
2433 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2434
2435         * libs/gst/controller/gstcontroller.c:
2436           Revert one change, that make ret value possible uninitialized.
2437
2438 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2439
2440         * libs/gst/controller/gstcontroller.c:
2441           Use freeze/thaw notify to sync notify emission a bit (its also more
2442           efficient). Move debug output to LOG (is called a lot in a loop).
2443           Always unset g_values if the have been initialized.
2444
2445 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2446
2447         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2448         (gst_base_sink_wait_eos), (gst_base_sink_event):
2449         If we have not seen a buffer before EOS, use the segment values to
2450         report the current position instead of invalid positions.
2451
2452 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2453
2454         * docs/plugins/tmpl/.cvsignore:
2455         * tests/check/gst/.cvsignore:
2456           Ignore more.
2457
2458 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2459
2460         * libs/gst/controller/gstinterpolation.c:
2461         * libs/gst/controller/gstinterpolationcontrolsource.c:
2462         * tests/check/libs/controller.c:
2463           Rewrite handling of default values. Fix overflow with unsigned types
2464           in linear interpolation. Remove now obsolete _first_value() function.
2465           Add more tests. Fixes #538201.
2466
2467 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2468
2469         * libs/gst/base/gstbasetransform.c:
2470         (gst_base_transform_class_init), (gst_base_transform_init),
2471         (gst_base_transform_transform_caps),
2472         (gst_base_transform_prepare_output_buffer):
2473         Add debug info.
2474         When a buffer is writable, its metadata is also writable so we don't
2475         need to subbuffer (which then makes the buffer not-writable anymore).
2476
2477 === release 0.10.20 ===
2478
2479 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2480
2481         * configure.ac:
2482           releasing 0.10.20, "You Crazy Diamond"
2483
2484 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2485
2486         * configure.ac:
2487         0.10.19.3 pre-release
2488
2489 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2490
2491         * configure.ac:
2492         * gst/gstpreset.c:
2493         Rename DATADIR to GST_DATADIR to avoid build problems
2494         on win32. Patch By: David Schleef <ds@schleef.org>
2495         Fixes: #536857
2496
2497 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2498
2499         * configure.ac:
2500         Explicitely link with -ldl if dladdr() is found there. Before it was
2501         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2502         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2503
2504 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2505
2506         * gst/gsterror.c: (_gst_stream_errors_init):
2507           Fix typo (spotted by Fabricio Godoy, #536723).
2508
2509 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2510
2511         * configure.ac:
2512         0.10.19.2 pre-release
2513
2514 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2515
2516         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2517         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2518         Add some debug.
2519         Make sure we don't generate invalid QoS messages.
2520
2521 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2522
2523         * gst/gstevent.c: (gst_event_new_qos):
2524         Add some assert and docs for invalid input to the qos function.
2525
2526 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2527
2528         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2529         (gst_base_sink_get_position):
2530         The reported position must always be smaller than the last seen
2531         timestamps (or timestamp + duration for reverse).
2532
2533 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2534
2535         Patch by: Rob Bradford <rob at robster dot org dot uk>
2536
2537         * gst/gstregistry.c: (gst_registry_scan_path_level):
2538         Don't recurse into .debug directories as some distros install
2539         the debugging symbols next to the plugins in .debug directories
2540         and dlopen() crashes on them sometimes. Fixes bug #508070.
2541
2542         Add FIXME for 0.11 to not recurse into directories at all because
2543         it's very inconsistent to the behaviour of other PATH environment
2544         variables.
2545
2546 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2547
2548         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2549         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2550         Fix position query range checks in reverse playback.
2551
2552 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2553
2554         * gst/gstelement.c:
2555         * gst/gstelement.h:
2556         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2557         clear of the reference to the resulting pad must be released later
2558         or not, resulting in possible leaks. Fixes bug #533865.
2559
2560 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2561
2562         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2563
2564         * gst/gstelementfactory.c:
2565         Small doc fix. Fixes #535285.
2566
2567 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2568
2569         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2570
2571         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2572         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2573         (gst_base_src_loop), (gst_base_src_set_flushing),
2574         (gst_base_src_change_state):
2575         Make sending an EOS event to the basesrc non-blocking even if the
2576         implementation does blocking waits in the create function. This is done
2577         by unlocking the create function when EOS is sent.
2578         Fixes #535218.
2579
2580 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2581
2582         * tools/gst-inspect.c: (print_element_properties_info):
2583         If possible print the element type of GValueArray properties.
2584
2585 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2586
2587         * gst/gstiterator.c:
2588         Remove an unused field from the private GstListIterator struct.
2589
2590 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2591
2592         * libs/gst/controller/gstcontroller.c:
2593           Add parameter guards.
2594
2595 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2596
2597         * tests/check/gst/gstpipeline.c:
2598           Revert test change and add comment why it should not work.
2599
2600 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2601
2602         * tests/check/gst/gstpipeline.c:
2603           Extending the test a little to verify that we also get the NULL state-
2604           change message.
2605
2606 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2607
2608         * gst/gstpreset.c: (gst_preset_default_get_meta),
2609           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2610           (gst_preset_load_preset), (gst_preset_save_preset),
2611           (gst_preset_rename_preset), (gst_preset_delete_preset),
2612           (gst_preset_set_meta):
2613           Add Since: markers to docs blurbs.
2614
2615         * win32/common/libgstreamer.def:
2616           Add recently-added API.
2617
2618 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2619
2620         Patch by: Stefan Kost  <ensonic@users.sf.net>
2621
2622         * configure.ac:
2623         Add DATADIR for storing presets.
2624
2625         * docs/gst/gstreamer-docs.sgml:
2626         * docs/gst/gstreamer-sections.txt:
2627         * docs/gst/gstreamer.types.in:
2628         Add GstPreset to docs.
2629
2630         * gst/Makefile.am:
2631         * gst/gst.h:
2632         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2633         (preset_open_and_parse_header), (preset_parse_version),
2634         (preset_merge), (preset_get_keyfile),
2635         (gst_preset_default_get_preset_names),
2636         (gst_preset_default_get_property_names),
2637         (gst_preset_default_load_preset),
2638         (gst_preset_default_save_presets_file),
2639         (gst_preset_default_save_preset),
2640         (gst_preset_default_rename_preset),
2641         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2642         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2643         (gst_preset_default_reset), (gst_preset_get_preset_names),
2644         (gst_preset_get_property_names), (gst_preset_load_preset),
2645         (gst_preset_save_preset), (gst_preset_rename_preset),
2646         (gst_preset_delete_preset), (gst_preset_set_meta),
2647         (gst_preset_get_meta), (gst_preset_class_init),
2648         (gst_preset_base_init), (gst_preset_get_type):
2649         * gst/gstpreset.h:
2650         Add GstPreset to core. Fixes #396779
2651
2652         * tests/check/Makefile.am:
2653         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2654         (gst_preset_test_set_property), (gst_preset_test_class_init),
2655         (gst_preset_test_base_init), (gst_preset_test_get_type),
2656         (gst_preset_test_plugin_init), (GST_START_TEST),
2657         (remove_preset_file), (test_setup), (test_teardown),
2658         (gst_preset_suite):
2659         Add GstPreset unit tests.
2660
2661 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2662
2663         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2664         The default event function on a sinkpad should return TRUE when
2665         there are no internal links but should collect the return values from
2666         the internal links otherwise.
2667
2668 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2669
2670         * plugins/elements/gsttypefindelement.c:
2671         (gst_type_find_element_src_event),
2672         (gst_type_find_element_handle_event):
2673         Use faster and safer _pad_push_event().
2674
2675 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2676
2677         * docs/gst/gstreamer-sections.txt:
2678         * gst/gstutils.c: (element_find_unlinked_pad),
2679           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2680         * gst/gstutils.h:
2681           API: add gst_bin_find_unlinked_pad()
2682           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2683
2684 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2685
2686         * gst/gstclock.c:
2687         * gst/gstclock.h:
2688         * gst/gsttask.c:
2689         * gst/gsttask.h:
2690         Fixed a bunch of typos.
2691
2692 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2693
2694         * gst/gstpad.h:
2695         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2696           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2697           (gst_parse_bin_from_description_full):
2698         * gst/gstutils.h:
2699           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2700
2701 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2702
2703         * docs/pwg/advanced-tagging.xml:
2704           Small docs update, can't be bothered to rewrite the nonsensical
2705           examples right now.
2706
2707 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2708
2709         * gst/gstevent.h:
2710           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2711
2712 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2713
2714         * gst/parse/grammar.y:
2715           Remove unneeded casts.
2716
2717 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2718
2719         * gst/parse/grammar.y:
2720         * tests/check/pipelines/parse-launch.c:
2721           Get all missing elements from a parse launch string if possible
2722           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2723
2724 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2725
2726         * tests/check/Makefile.am:
2727         * tests/check/pipelines/parse-launch.c:
2728           Add some unit tests for the new gst_parse_launch*_full() API.
2729           (Exposes a previously-existing memory leak in the error code
2730           path, so adding to VALGRIND_TO_FIX for now).
2731
2732 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2733
2734         * docs/gst/gstreamer-sections.txt:
2735         * gst/gst.c: (init_post):
2736         * gst/gst_private.h: (_GstParseContext):
2737         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2738           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2739           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2740           (gst_parse_launch_full):
2741         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2742           (GstParseFlags), (GstParseContext):
2743         * gst/gstutils.c: (gst_parse_bin_from_description),
2744           (gst_parse_bin_from_description_full):
2745         * gst/gstutils.h:
2746         * gst/parse/grammar.y:
2747         * gst/parse/types.h:
2748         * win32/common/libgstreamer.def:
2749           Add new gst_parse_*_full API (#528178):
2750           API: gst_parse_launch_full()
2751           API: gst_parse_launchv_full()
2752           API: gst_parse_bin_from_description_full()
2753           API: gst_parse_context_new()
2754           API: gst_parse_context_free()
2755           API: gst_parse_context_get_missing_elements()
2756
2757 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2758
2759         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2760
2761         * docs/faq/gst-uninstalled:
2762           Also support ffmpeg in gst-uninstalled.
2763
2764 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2765
2766         * configure.ac:
2767         After discussion on IRC use the binary registry as default
2768         but allow to disable it with --disable-binary-registry.
2769
2770         * win32/common/libgstreamer.def:
2771         Add the two new symbols for the binary registry.
2772
2773 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2774
2775         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2776         * gst/gstutils.c: (gst_parse_bin_from_description):
2777         * gst/parse/grammar.y: (graph):
2778           More guards against bad input; typo fix; some minor clean-ups.
2779
2780 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2781
2782         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2783
2784         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2785         If nothing else can be used, use the last buffer's start time as
2786         the segment's last stop. Fixes bug #534258.
2787
2788 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2789
2790         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2791           Move size sanity check to the right place: downstream may return
2792           a buffer with a smaller size if the buffer caps are different than
2793           the requested ones, as may happen when doing reverse negotiation.
2794
2795 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2796
2797         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2798         (gst_file_sink_render):
2799         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2800         (gst_file_src_start):
2801         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2802         use it yet.
2803
2804 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2805
2806         * gst/gstpad.c: (gst_pad_load_and_link):
2807         * gst/gstutils.c: (gst_element_link_pads),
2808         (gst_element_unlink_pads):
2809         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2810         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2811         (gst_check_teardown_sink_pad),
2812         (gst_check_element_push_buffer_list):
2813         * tests/check/elements/fakesink.c: (GST_START_TEST):
2814         * tests/check/elements/filesink.c:
2815         * tests/check/elements/filesrc.c: (GST_START_TEST):
2816         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2817         (mq_sinkpad_to_srcpad):
2818         * tests/check/elements/tee.c: (GST_START_TEST):
2819         * tests/check/generic/sinks.c: (GST_START_TEST):
2820         * tests/check/gst/gstbin.c: (GST_START_TEST):
2821         * tests/check/gst/gstevent.c: (GST_START_TEST):
2822         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2823         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2824         * tests/check/gst/gstquery.c: (GST_START_TEST):
2825         * tests/check/gst/gstutils.c: (GST_START_TEST):
2826         * tests/check/libs/basesrc.c: (GST_START_TEST):
2827         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2828         (gst_parse_test_element_change_state):
2829         Don't use gst_element_get_pad().
2830
2831 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2832
2833         * docs/Makefile.am:
2834         Fix installing plugin documentation when gtk-doc is disabled.
2835
2836 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2837
2838         * docs/manual/advanced-autoplugging.xml:
2839         * docs/manual/basics-helloworld.xml:
2840         * docs/manual/basics-pads.xml:
2841         * docs/manual/highlevel-components.xml:
2842         Avoid using a bad function in the example code.
2843
2844 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2845
2846         * gst/gstclock.c: (gst_clock_set_calibration):
2847         Fix debug of the new clock rate.
2848
2849 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2850
2851         * win32/common/libgstbase.def:
2852         Add gst_base_sink_wait_clock() to the exported symbols.
2853
2854 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2855
2856         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2857
2858         * libs/gst/base/gstbasetransform.c:
2859         (gst_base_transform_sink_event):
2860         Unref events that the GstBaseTransform::event vfunc didn't want to
2861         have forwarded by the base class. Closes a leak in identity.
2862         Fixes bug #446763.
2863
2864 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2865
2866         * docs/libs/gstreamer-libs-sections.txt:
2867         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2868         * libs/gst/base/gstbasesink.h:
2869         Expose a method that was previously used internally to synchronize
2870         against the clock because it can be useful for subclasses too.
2871         API: GstBaseSink::gst_base_sink_wait_clock()
2872
2873 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2874
2875         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2876           Add sanity check to make sure we don't get smaller buffers
2877           than requested (and fallback to normal buffer alloc if we do).
2878
2879 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2880
2881         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2882         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2883         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2884         Refactor adjusting the running_time with latency and offset into a
2885         separate method.
2886         When doing clipping, we still want to use the subclass get_times method,
2887         just in case the DURATION or TIMESTAMP are not set.
2888
2889 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2890
2891         * docs/gst/gstreamer-sections.txt:
2892         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2893         * gst/gsttypefind.h:
2894         * win32/common/libgstreamer.def:
2895           API: add gst_type_find_suggest_simple(), #533740.
2896
2897 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2898
2899         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2900           Use right error code when typefinding fails, so we can use
2901           the default (translated) error messages.
2902
2903 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2904
2905         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2906         (gst_base_src_start):
2907         When the subclass did not set caps on outgoing buffers, configure the
2908         caps we negotiated on the source pad.
2909         When the typefind helper does not find caps, error out properly instead
2910         of doing things with NULL caps.
2911
2912 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2913
2914         * gst/gsttypefind.h:
2915           Tabs to spaces, oh yes!
2916
2917 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2918
2919         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2920           Add David's and Benjamin's tests for array intersection to the
2921           unit test suite (#147931).
2922
2923 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2924
2925         * gst/gstevent.c:
2926           Document that gst_event_new_tag() and gst_event_new_navigation()
2927           take ownership of the taglist/structure passed to them. (#533635).
2928
2929 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2930
2931         * docs/Makefile.am:
2932         Don't descend into the plugins dir if plugin docs building
2933         is disabled.
2934
2935         * docs/README:
2936         Add a note about the new type:GTypeName syntax for the plugin
2937         documentation .types file.
2938
2939 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
2940
2941         * gst/gstmessage.c: (gst_message_new_error),
2942         (gst_message_new_warning), (gst_message_new_info):
2943         * gst/gstmessage.h:
2944         Mark the debug string parameters as const. Fixes bug #533490.
2945
2946 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
2947
2948         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2949         Sort buffer cache list by end offsets. This makes sure that we don't
2950         stop to search for a cached buffer that contains the requested data
2951         too early.
2952         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
2953         more efficient. Fixes bug #459862.
2954
2955 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
2956
2957         * gst/gstinfo.c:
2958           Explain why we copy the list.
2959
2960         * gst/gstpipeline.c:
2961           Improve docs.
2962
2963         * gst/gstutils.c:
2964           Add one debug-log statement to help tracing probelms with linking pads.
2965
2966 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
2967
2968         * tests/check/gst/gstinfo.c:
2969         Add a test for removing the default log handler. Seems to fail under
2970         windows.
2971
2972 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2973
2974         * gst/gstpad.c: (gst_pad_peer_accept_caps):
2975         Release pad lock before calling out to avoid a possible deadlock.
2976
2977 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
2978
2979         * gst/parse/grammar.y:
2980         Remove unneeded value unset.
2981
2982         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2983         Add unit test for de/serialization of caps.
2984
2985 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2986
2987         * plugins/elements/gstfakesink.c:
2988         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
2989         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
2990         (gst_fake_src_class_init):
2991         Use custom marshalers that take GstMiniObject as first parameter.
2992         Using OBJECT as parameter while a GstMiniObject is given will lead
2993         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
2994
2995 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
2996
2997         * plugins/elements/gsttypefindelement.c:
2998         (gst_type_find_element_handle_event),
2999         (gst_type_find_element_send_cached_events),
3000         (gst_type_find_element_change_state):
3001         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3002         immediately.
3003
3004 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3005
3006         * plugins/elements/gsttypefindelement.c:
3007         (gst_type_find_handle_src_query), (stop_typefinding),
3008         (gst_type_find_element_handle_event),
3009         (gst_type_find_element_send_cached_events),
3010         (gst_type_find_element_change_state):
3011         Forward FLUSH_START events immediately and clean up instead of
3012         caching them.
3013
3014 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3015
3016         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3017
3018         * libs/gst/base/gstbasetransform.c:
3019         (gst_base_transform_buffer_alloc):
3020         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3021         fall back to default negotiation in the chain function if the caps
3022         are different from what was requested. Fixes bug #526768.
3023
3024 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3025
3026         * gst/gstsegment.c:
3027         * tests/check/gst/gstsegment.c:
3028           No, let's not use g_slice_{dup|copy} here, since they only exist
3029           since GLib 2.14 and we still depend only on >= 2.12. Also add
3030           unit test for gst_segment_copy().
3031
3032 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3033
3034         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3035           Try to fix 'dereferencing type-punned pointer will break strict
3036           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3037           changed the default GType typedef from gulong to gsize at some point,
3038           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3039           g_once_* functions all take a gsize * though, so work around the type
3040           mismatch for C++ by doing everything in gsize and casting to GType
3041           later.
3042
3043 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3044
3045         * plugins/elements/gstmultiqueue.c:
3046         Add documentation for the signals to push our core plugin docs
3047         coverage back up to 100%.
3048
3049 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3050
3051         * gst/gstinfo.h (GST_FUNCTION):
3052           Reverted GST_FUNCTION to the old version as we don't want the
3053           full signature in C++ code. Also added support for MSVC.
3054
3055 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3056
3057         * gst/gstutils.h:
3058         Intern the type name string, similar to what G_DEFINE_TYPE does.
3059
3060 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3061
3062         * gst/gstutils.h:
3063         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3064
3065 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3066
3067         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3068
3069         * libs/gst/base/gstbasetransform.c:
3070         (gst_base_transform_buffer_alloc):
3071         Don't passthrough buffer allocation too easily if the caps change.
3072         This breaks when working in passthrough mode and upstream changes
3073         it's caps. Fixes bug #526768.
3074
3075 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3076
3077         * gst/gstinfo.c (gst_debug_log_valist):
3078           Improved the __FILE__ part of debug output for MSVC.
3079
3080 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3081
3082         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3083           Declaration after statement fix for compilers like MSVC.
3084
3085 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3086
3087         * win32/common/config.h.in:
3088           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3089           use the real thing than having "???" unconditionally.
3090
3091 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3092
3093         * gst/gstinfo.h (GST_FUNCTION):
3094           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3095
3096 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3097
3098         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3099         Small code cleanup.
3100
3101         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3102         (gst_base_sink_set_flushing):
3103         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3104         Fix some comments.
3105
3106 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3107
3108         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3109         (gst_fake_src_init), (gst_fake_src_set_property),
3110         (gst_fake_src_get_property), (gst_fake_src_start):
3111         * plugins/elements/gstfakesrc.h:
3112         Added format property to control the format of the newsegment events.
3113         API: GstFakeSrc:format
3114
3115 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3116
3117         * win32/common/libgstreamer.def:
3118         Add gst_pad_has_name() to the exported symbols.
3119
3120 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3121
3122         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3123         * libs/gst/base/gstbasetransform.c:
3124         (gst_base_transform_prepare_output_buffer):
3125         Don't allow negative sizes when allocating new buffers.
3126         Fixes bug #461253.
3127
3128 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3129
3130         Patch by: Sjoerd Simons <sjoerd at luon net>
3131
3132         * gst/gstbus.c: (gst_bus_source_dispatch):
3133           Don't print a warning if the queue is empty when we try to pop
3134           here. That could happen if another thread or callback set the
3135           bus to flushing between the source's check/prepare and the
3136           dispatch being called (#531538).
3137
3138 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3139
3140         * plugins/elements/gstmultiqueue.c:
3141           Small docs fix.
3142         
3143 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3144
3145         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3146         Add unit test for deserializing uint64s and check some really large
3147         numbers in the int64 test.
3148
3149 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3150
3151         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3152         (print_interfaces), (print_element_properties_info),
3153         (print_signal_info):
3154         Use "%s" as format string instead of printing strings directly.
3155
3156 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3157
3158         * gst/gstclock.c: (gst_clock_set_calibration):
3159         Make some checks actually useful.
3160
3161         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3162         Remove some unused code. Unsigned integers tend to be >= 0.
3163
3164 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3165
3166         * gst/gstminiobject.c: (gst_value_get_mini_object):
3167           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3168           function was not in the unscheduled 0.10.19 release.
3169
3170 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3171
3172         * gst/gstregistry.c: (gst_registry_scan_path_level):
3173           Only print one log message per non-plugin file.
3174
3175 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3176
3177         * gst/gstinfo.c: (gst_debug_log_default):
3178           Fix alignment of debug log columns on 64-bit.
3179
3180 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3181
3182         * docs/libs/Makefile.am:
3183         * docs/libs/gstreamer-libs-sections.txt:
3184           Ignore private controller headers for docs.
3185
3186 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3187
3188         * libs/gst/controller/gstcontrollerprivate.h:
3189         * libs/gst/controller/gsthelper.c:
3190         * libs/gst/controller/gstinterpolation.c:
3191         * libs/gst/controller/gstinterpolationcontrolsource.c:
3192         (gst_interpolation_control_source_set_interpolation_mode):
3193         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3194         * libs/gst/controller/lib.c:
3195         Move some private declarations into private headers.
3196
3197 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * gst/gstdebugutils.c: (debug_dump_element_pad):
3200         Remove some code that is unused after Stefan's refactoring and uses
3201         uninitialized variables now, resulting in a compiler warning.
3202
3203 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3204
3205         * gst/gstregistry.c: (gst_registry_scan_path_level):
3206           Run g_str_has_suffix() only on the file name, not the
3207           entire file path.
3208
3209 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3210
3211         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3212           Since we're not called only from the chain function any longer,
3213           we can't assume that there's always data in the queue, so move
3214           the is_full check to the beginning of the loop (otherwise we'd
3215           hit the assert when changing the limit properties while the
3216           queue is empty or not running yet).
3217           Also, only set a discont if items were actually removed from
3218           the queue.
3219
3220         * tests/check/elements/queue.c: (test_leaky_downstream):
3221           Test case for the above.
3222
3223 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3224
3225         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3226
3227         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3228         (gst_queue_chain), (queue_capacity_change),
3229         (gst_queue_set_property):
3230         When changing thr max capacity of a leaky queue, immediatly drop buffers
3231         instead of waiting for a push on the sinkpad. Fixes #530637.
3232
3233 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3234
3235         * gst/gstdebugutils.c:
3236           Refactor code and fix handling of ghostpads and their proxypads.
3237
3238 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3239
3240         * docs/gst/gstreamer-sections.txt:
3241         * gst/gstevent.c: (gst_event_has_name):
3242         * gst/gstevent.h:
3243         * tests/check/gst/gstevent.c: (GST_START_TEST):
3244         Add method to conveniently check the name of a custom event with
3245         gst_event_has_name().
3246         Reformat the event docs so that related methods are put together instead
3247         of the default alphabetical sort.
3248         Update unit test with new method.
3249         API: GstEvent::gst_event_has_name()
3250
3251 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3252
3253         * libs/gst/check/Makefile.am:
3254           Don't add an explicit link to libgstreamer-0.10.la; it's already
3255           included in GST_OBJ_LIBS.
3256
3257 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3258
3259         * gst/gst.c:
3260         Register GstClock type from a type-safe context. Fixes bug #530317.
3261
3262 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3263
3264         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3265         * tools/gst-run.c:
3266           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3267
3268 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3269
3270         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3271         (gst_bin_dispose):
3272         Use the GLib stuff to create a private structure.
3273         Add some locking around some dispose methods to make them a little
3274         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3275
3276 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3277
3278         * libs/gst/base/gstbasesink.h:
3279         * libs/gst/base/gstbasesrc.h:
3280         * libs/gst/base/gstbasetransform.h:
3281         * libs/gst/base/gstcollectpads.h:
3282           Fix doc typos and unify caps a bit.
3283
3284 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3285
3286         * tools/gst-launch.1.in:
3287           Forgot to also add the envvar docs here.
3288
3289 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3290
3291         * gst/gst.c: (init_post), (gst_deinit):
3292         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3293           (test_concurrent_create), (gst_pipeline_suite):
3294           Ref some more classes in gst_init() to work around thread-safety
3295           issues in pre-2.16 GLibs, and add basic unit test.
3296
3297 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3298
3299         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3300         (gst_base_sink_send_event):
3301         Rearrange the latency query code. We always want to do the upstream
3302         query, even if we are not live so that the upstream elements can get the
3303         latency results too. If we fail doing the query and we are live, we
3304         return TRUE afterwards.
3305
3306 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3307
3308         patch by: Jason Zhao <e3423c@motorola.com>
3309
3310         * docs/gst/running.xml:
3311         * gst/gst.c:
3312           Enable/disable scan_and_update_registry() based on commandline switch
3313           or environment variable. Fixes #520468.
3314           
3315         * ChangeLog:
3316           Fix typo in my previous commit.
3317
3318 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3319
3320         * gst/gstregistrybinary.c:
3321           Add a warning if we hit unhandled factories when saving.
3322           More debug logging detail, but move to LOG category.
3323
3324 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3325
3326         * gst/gstregistry.c:
3327           Tell the *truth* when improving the documentation.
3328
3329 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3330
3331         * gst/gstelementfactory.c: (gst_element_factory_make):
3332         Unref the factory after it was used the last time, not before.
3333
3334         * gst/gstindexfactory.c: (gst_index_factory_make):
3335         Improve debugging a bit and don't leak a ref to the index factory with
3336         each call.
3337
3338 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3339
3340         * gst/gstregistry.c:
3341           Improve the documentation.
3342
3343 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3344
3345         * gst/gstsegment.c:
3346           The glib macro seems to be borked. Use g_slice_copy directly and cast
3347           in the hope that this fixes the warning on 64bit.
3348
3349 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3350
3351         * gst/gstsegment.c:
3352           Document the new function. Use g_slice_dup() (no need for
3353           gst_segment_init()).    
3354
3355 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3356
3357         * docs/gst/gstreamer-sections.txt:
3358           Move GParamSepc macros to standart section.
3359   
3360         * gst/gstbin.c:
3361           Dn't document _get_type - its in private section in docs anyway and
3362           this doc-blob was incomplete.
3363
3364         * gst/gstclock.h:
3365           Fix wrong symbol names in docs.
3366
3367         * gst/gstmacros.h:
3368           Add once doc sentence.
3369
3370         * tests/check/gst/.cvsignore:
3371           Ignore more.
3372
3373 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3374
3375         * docs/gst/Makefile.am:
3376           And remove those libs here.
3377
3378 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3379
3380         * docs/libs/Makefile.am:
3381           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3382
3383 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3384
3385         Patch by: Olivier Crete <tester at tester dot ca>
3386
3387         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3388         Add the min-threshold to the min latency if possible. Fixes #529148.
3389
3390 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3391
3392         * docs/gst/gstreamer.types.in:
3393           Stupid editor, I removed that line as it should go in yet.
3394
3395 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3396
3397         * docs/gst/gstreamer.types.in:
3398         * docs/libs/gstreamer-libs.types:
3399           Remove library types fro core docs and have them in libs docs.
3400           Reformat and cleanup. Add comment for miniobject types.
3401
3402 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3403
3404         * gst/gsturi.c: (gst_uri_get_protocol):
3405           Fix leak: g_strdown operates on the string in place, while
3406           g_ascii_strdown() returns a newly-allocated string.
3407
3408 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3409
3410         * tools/gst-inspect.c: (print_uri_handler_info),
3411         (print_element_info):
3412         Print the URI protocols and the URI type supported by the element.
3413
3414 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3415
3416         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3417         Use g_value_take_string() instead of the deprecated
3418         g_value_set_string_take_ownership().
3419
3420 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3421
3422         * gst/gstregistrybinary.c: (_gst_crc32):
3423         Return the old CRC instead of 0 if we give a NULL buffer
3424         or a buffer with a length of 0.
3425
3426 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3427
3428         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3429         (gst_uri_get_protocol), (gst_uri_has_protocol),
3430         (gst_uri_construct), (gst_uri_handler_set_uri):
3431         A valid URI scheme can also include '+', '-' and '.' additional
3432         to alphanumeric characters as per RFC 3986 Section 3.1.
3433
3434         Handle URI schemes case insensitive in all places and convert
3435         to lower-case when constructing an URI or setting an URI with
3436         the GstURIHandler interface. Fixes bug #528868.
3437         All elements can still assume (as before) that they will
3438         get passed URIs with a lower-case URI scheme by the GstURIHandler
3439         interface.
3440
3441 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3442
3443         * gst/gstcaps.c: (gst_static_caps_get):
3444         * gst/gstclock.c: (gst_clock_entry_new):
3445           Don't use g_atomic_set_int where it's not needed.
3446
3447 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3448
3449         * gst/gstvalue.c: (gst_value_deserialize_caps):
3450         * gst/parse/grammar.y:
3451         Fix 2 caps leaks.
3452
3453 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3454
3455         * gst/gstutils.c: (gst_atomic_int_set):
3456         Use g_atomic_int_set() here too instead of assignment +
3457         g_atomic_int_get().
3458
3459 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3460         
3461         * gst/gstutils.c:
3462         * gst/gstutils.h:
3463         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3464         now that we depend on new enough GLib.
3465
3466         * gst/gstcaps.c: (gst_static_caps_get):
3467         * gst/gstclock.c: (gst_clock_entry_new):
3468         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3469         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3470         (gst_debug_category_set_threshold):
3471         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3472         (gst_base_sink_set_qos_enabled):
3473         * libs/gst/net/gstnettimeprovider.c:
3474         (gst_net_time_provider_set_property):
3475         Use g_atomic_int_set() instead of gst_atomic_int_set().
3476
3477 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * gst/gstquery.c:
3480           Also use G_GINT64_CONSTANT for the queries.
3481
3482 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3483
3484         * gst/gstmessage.c:
3485           Use G_GINT64_CONSTANT in varargs function.
3486
3487 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3488
3489         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3490         Initialize the registry magic with zeroes.
3491
3492 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3493
3494         * gst/gstregistrybinary.c: (_gst_crc32),
3495         (gst_registry_binary_write),
3496         (gst_registry_binary_initialize_magic),
3497         (gst_registry_binary_write_cache),
3498         (gst_registry_binary_check_magic),
3499         (gst_registry_binary_read_cache):
3500         * gst/gstregistrybinary.h:
3501         Add crc32 checksum to the binary registry file and check this before
3502         accepting a registry file.
3503
3504         Also free the data list when writing to the registry file fails.
3505
3506 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3507
3508         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3509         (gst_registry_binary_load_feature),
3510         (gst_registry_binary_load_plugin):
3511         If an element supports the Uri interface, returns a valid pointer
3512         to the supported URI protocols but this pointer contains nothing
3513         don't try to save that as it will corrupt the registry.
3514
3515         Don't unref the plugin if we added it to the registry already but
3516         fail to load a feature as gst_registry_add_plugin() takes ownership
3517         of the plugin.
3518
3519         Improve debugging a bit.
3520
3521 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3522
3523         * gst/gsttaglist.h:
3524           Clarify some tag item docs after discussion on irc.
3525
3526 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * docs/gst/gstreamer-docs.sgml:
3529           Remove commented out plugins (they have their own docs). Update
3530           comments.
3531
3532 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3533
3534         * docs/gst/gstreamer-docs.sgml:
3535         * docs/gst/gstreamer-sections.txt:
3536         * gst/gstparamspecs.c:
3537         * gst/gstparamspecs.h:
3538           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3539           docs to own section.
3540
3541         * gst/gstvalue.c:
3542           This now only documents GValue.
3543           
3544         * docs/libs/gstreamer-libs-sections.txt:
3545         * libs/gst/controller/gstcontroller.h:
3546           Remove GST_PARAM_CONTROLLABLE.
3547
3548 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3549
3550         * docs/README:
3551           Correct file path. Tell about how to use -overrides.txt.
3552         * docs/design/draft-tagreading.txt:
3553           Small design update.
3554
3555 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3556
3557         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3558         (gst_registry_binary_load_plugin):
3559         Fix a typo in a debug message and revert change from yesterday as
3560         gst_registry_add_plugin() will only fail if something is really wrong
3561         already and we can't survive it anyway.
3562
3563 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3564
3565         * gst/gst.c: (init_post), (gst_deinit):
3566           Pre-register GstGError GType from a thread-safe context
3567           (fixes #527967); unref enum type classes in deinit.
3568
3569 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         Patch by: Rene Stadler <mail at renestadler de>
3572
3573         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3574           Merging an empty list with another list in KEEP_ALL mode should
3575           yield an empty list as result and not the second list (#512578).
3576
3577         * tests/check/gst/gsttagsetter.c:
3578           Add unit test for tag merge modes and the aforementioned bug.
3579
3580 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         Patch by: Rene Stadler <mail at renestadler de>
3583
3584         * gst/gsttaglist.h:
3585           Fix description to match the order in the table (#512577).
3586   
3587 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3588
3589         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3590
3591         * libs/gst/net/gstnettimepacket.h:
3592         * docs/libs/gstreamer-libs-sections.txt:
3593           Define socklen_t as int if it's not defined yet. Fixes compilation
3594           with MSVC6 and other versions where socklen_t is not defined in
3595           the windows headers (#518022).
3596
3597 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3598
3599         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3600         If gst_registry_add_plugin() fails our reference to the plugin is
3601         invalid so don't try to use it anymore and instead error out.
3602
3603 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3604
3605         * tools/gst-xmlinspect.c: (print_element_info), (main):
3606           De-cruft a bit. If no argument is specified, print all elements in
3607           XML syntax rather than a freestyle list of elements like gst-inspect.
3608           Also, don't print XML header chunk unless we actually have something
3609           to print (ie. don't print it before an error message); print error
3610           message to stderr not stdout. Remove support for printing plugin
3611           info (it would just output something freestyle along the lines of
3612           gst-inspect so far), which fixes #514507. Also add license header.
3613
3614 2008-04-11  Julien Moutte  <julien@fluendo.com>
3615
3616         Mac OS X love...
3617         * configure.ac: Merge platform specific defines, introduce a new
3618         define on OS X to remember that forking when updating registry is
3619         unsafe.
3620         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3621         module.
3622         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3623         is defined.
3624         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3625         condition that leads to absolutely no plugins being registered on
3626         OS X.
3627
3628 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3629
3630         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3631
3632         * gst/gstutils.c: (gst_pad_add_data_probe),
3633           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3634           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3635           (gst_pad_add_buffer_probe_full):
3636         * gst/gstutils.h:
3637         * docs/gst/gstreamer-sections.txt:
3638         * win32/common/libgstreamer.def:
3639           Add gst_pad_add_*_probe_full() functions with a notify callback that
3640           lets the caller free the data it passes to the probe functions. This
3641           is useful for bindings such as gst-python or gstreamermm (#526814).
3642           API: gst_pad_add_data_probe_full
3643           API: gst_pad_add_buffer_probe_full
3644           API: gst_pad_add_event_probe_full
3645
3646         * tests/check/gst/gstutils.c:
3647           Add minimal unit test to make sure freeing the data actually works
3648           as expected.
3649
3650         * tests/benchmarks/.cvsignore:
3651           Random cvsignore addendum.
3652
3653 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3654
3655         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3656           (GST_DEBUG_BIN_TO_DOT_FILE):
3657           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3658           to it in the docs (since these are macros the types of the arguments
3659           won't be shown in the docs otherwise).
3660
3661 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3662
3663         * gst/gstpad.c:
3664           Do not abort on out of memory for pad_alloc_buffer.
3665
3666 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3667
3668         * libs/gst/check/gstcheck.c:
3669           Remove blank line between symbol name ad parameters to fix gtkdoc
3670           warning.
3671
3672 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3673
3674         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3675
3676         * docs/gst/gstreamer-sections.txt:
3677         * gst/gstsegment.c:
3678         * gst/gstsegment.h:
3679         * win32/common/libgstreamer.def:
3680           Expose gst_segment_copy() to make things easier for the c++ bindings.
3681           Fixes #518932.
3682           API: gst_segment_copy()
3683
3684 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3685
3686         * gst/gst.c: (gst_init_get_option_group), (init_post):
3687           Fix const position; ref GType classes for enum types to work
3688           around thread-safety issues in GLib versions < 2.16.
3689
3690 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3691
3692         * docs/design/part-buffering.txt:
3693         Fix some typos and set the estimated total for push mode to -1.
3694
3695         * gst/gstquery.c: (gst_query_new_buffering):
3696         Set buffering-left to 0 as we're not buffering by default.
3697
3698         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3699         Implement BUFFERING query.
3700
3701 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3702
3703         Based on patch by: Milosz Derezynski <internalerror gmail com>
3704
3705         * gst/gsterror.c: (_gst_stream_errors_init):
3706         * gst/gsterror.h:
3707           Add two new error codes for encrypted content. Fixes #524659.
3708           API: GST_STREAM_ERROR_DECRYPT
3709           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3710
3711 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3712
3713         * gst/gstquery.h:
3714           Fix typo.
3715
3716         * win32/common/libgstreamer.def:
3717           Add new functions.
3718
3719 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3720
3721         * plugins/elements/gstidentity.c: (gst_identity_event),
3722         (gst_identity_start):
3723         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3724         event after processing some data. Fixes bug #526042.
3725
3726 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3727
3728         * docs/gst/gstreamer-sections.txt:
3729         * gst/gstquery.c: (gst_query_parse_latency),
3730         (gst_query_set_buffering_percent),
3731         (gst_query_parse_buffering_percent),
3732         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3733         * gst/gstquery.h:
3734         Rename _avail -> _range
3735         API: gst_query_set_buffering_range
3736         API: gst_query_parse_buffering_range
3737
3738 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3739
3740         * docs/design/part-buffering.txt:
3741         * gst/gstquark.c:
3742         * gst/gstquark.h:
3743         * gst/gstquery.c: (gst_query_parse_latency),
3744         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3745         (gst_query_parse_buffering_percent):
3746         * gst/gstquery.h:
3747         Add busy field and quark for the buffering query so that the app can
3748         only use the query to see if buffering is in progress.
3749
3750 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3751
3752         * docs/gst/gstreamer-sections.txt:
3753         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3754         (gst_message_parse_buffering_stats):
3755         * gst/gstmessage.h:
3756         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3757         (gst_query_parse_latency), (gst_query_new_buffering),
3758         (gst_query_set_buffering_percent),
3759         (gst_query_parse_buffering_percent),
3760         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3761         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3762         * gst/gstquery.h:
3763         Reorder the message docs and headers for clarity.
3764         Add aditional buffering stats API for messages.
3765         Add buffering query.
3766         Convert some leftover queries to use GstQuark.
3767         API: gst_message_set_buffering_stats
3768         API: gst_message_parse_buffering_stats
3769         API: GST_QUERY_BUFFERING
3770         API: GstBufferingMode
3771         API: gst_query_new_buffering
3772         API: gst_query_set_buffering_percent
3773         API: gst_query_parse_buffering_percent
3774         API: gst_query_set_buffering_stats
3775         API: gst_query_parse_buffering_stats
3776
3777 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3778
3779         * gst/gstmessage.c: (gst_message_new_error),
3780         (gst_message_new_warning), (gst_message_new_info),
3781         (gst_message_new_buffering), (gst_message_new_state_changed),
3782         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3783         (gst_message_new_new_clock), (gst_message_new_segment_start),
3784         (gst_message_new_segment_done), (gst_message_new_duration),
3785         (gst_message_new_async_start), (gst_message_parse_buffering),
3786         (gst_message_parse_state_changed),
3787         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3788         (gst_message_parse_new_clock), (gst_message_parse_error),
3789         (gst_message_parse_warning), (gst_message_parse_info),
3790         (gst_message_parse_segment_start),
3791         (gst_message_parse_segment_done), (gst_message_parse_duration),
3792         (gst_message_parse_async_start):
3793         Use GstQuark for messages.
3794
3795 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3796
3797         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3798         * gst/gstquark.h:
3799         Add some more quarks needed for messages and queries.
3800
3801 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3802
3803         * docs/design/part-buffering.txt:
3804         Remove the "none" buffering mode, STREAM is a good default.
3805         Move estimated-time to the avail query, that's when it will be needed.
3806         Other small typo fixes and updates.
3807
3808 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3809
3810         * gst/gstindex.c: (gst_index_resolver_get_type):
3811           Don't put descriptions into the nick field of a GEnumValue: it's not
3812           meant for that and some language bindings rely on the nick field to
3813           construct constants and the like. Fixes #526705.
3814
3815 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         * NEWS:
3818         * RELEASE:
3819         * gstreamer.doap:
3820           Merge other changes from 0.10.19 release branch.
3821
3822 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3823
3824         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3825
3826         * configure.ac:
3827         Actually build dlls when cross-compiling with mingw32.
3828         Fixes bug #526247.
3829
3830 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3831
3832         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3833
3834         * gst/gstpoll.c:
3835         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3836
3837 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3838
3839         * docs/design/draft-latency.txt:
3840         Fix typo.
3841
3842         * docs/design/part-buffering.txt:
3843         Update design docs with more buffering ideas.
3844
3845 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3846
3847         * configure.ac:
3848           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3849
3850 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * configure.ac:
3853           Revert part that belongs to the preset patch.
3854
3855 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3856
3857         * configure.ac:
3858           Add qoutes to the define. Fixes # 525961.
3859
3860 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3861
3862         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3863         (gst_file_index_load), (gst_file_index_add_id),
3864         (gst_file_index_get_assoc_entry):
3865         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3866         (gst_mem_index_free_id), (gst_mem_index_add_id),
3867         (gst_mem_index_index_format):
3868         Use GSlice when possible.
3869
3870 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3871
3872         * libs/gst/controller/gstinterpolationcontrolsource.c:
3873         (gst_control_point_free),
3874         (gst_interpolation_control_source_set_internal):
3875         Use GSlice for allocating the control points.
3876
3877 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3878
3879         * plugins/elements/gsttypefindelement.c:
3880         (gst_type_find_element_class_init),
3881         (gst_type_find_element_set_property),
3882         (gst_type_find_element_get_property),
3883         (gst_type_find_element_activate):
3884         * plugins/elements/gsttypefindelement.h:
3885         Cleanup properties.
3886         Fix pad leak when peer query fails.
3887         We can still typefind when the peer returns -1.
3888         Add property to force caps and bypass typefinding. This will be used in
3889         uridecodebin.
3890         API::force-caps
3891
3892 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3893
3894         * configure.ac:
3895         Require GLib 2.12.
3896
3897         * gst/glib-compat-private.h:
3898         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3899         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3900         Unconditionally use GSlice for allocation.
3901
3902         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3903         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3904         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3905         (gst_structure_free):
3906         Use GSlice for allocation.
3907
3908 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3909
3910         * gst/parse/Makefile.am:
3911         * gst/parse/grammar.tab.pre.c:
3912         * gst/parse/grammar.tab.pre.h:
3913         * gst/parse/lex._gst_parse_yy.pre.c:
3914         Require a new enough flex and bison and remove the parser hacks to use
3915         a pre-regenerated version.
3916
3917 2008-04-01  Julien Moutte  <julien@fluendo.com>
3918
3919         patch by: Jason Zhao <E3423C@motorola.com>
3920
3921         * configure.ac: Add a configure switch to disable option parsing
3922         in gst_init.
3923         Fixes #522882.
3924
3925 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3926
3927         * configure.ac:
3928         * gst/gstregistry.c:
3929           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3930           and handle this case.
3931
3932         * gst/gst.c:
3933           Add a comment here describing, why we stat each plugin and not try to
3934           be smart.
3935
3936 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3937
3938         * libs/gst/base/gstbasetransform.c:
3939         (gst_base_transform_prepare_output_buffer):
3940         Also unset the GAP flag on buffers if we're working inplace but
3941         the element is not GAP-aware.
3942
3943         Mark a comment as FIXME 0.11.
3944
3945 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3946
3947         * gst/gst.c:
3948           Fix type in log message and add one to ease seeing how long registry
3949           cache verification takes.
3950
3951         * gst/gstregistry.c:
3952           Only test plugin filenames against G_MODULE_SUFFIX.
3953
3954 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3955
3956         * gst/gstdebugutils.c:
3957           Improve handling ghost/proxy pads.
3958
3959 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * docs/gst/gstreamer-sections.txt:
3962         * gst/gstpad.c:
3963         * gst/gstpad.h:
3964           Expose macro to docs and fix link to it.
3965
3966 2008-03-27  Michael Smith <msmith@fluendo.com>
3967
3968         * libs/gst/dataprotocol/dataprotocol.c:
3969         (gst_dp_packet_from_event_1_0):
3970           When calculating GDP body CRC, use the correct pointer. 
3971           Fixes part of #522401.
3972
3973 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3974
3975         Patch by: Mark Nauwelaerts <manauw at skynet be>
3976
3977         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3978         (gst_identity_init), (gst_identity_prepare_output_buffer):
3979         Identity is not always a passthrough element, it can modify the buffer
3980         timestamps when it has a datarate and operates in single-segment mode.
3981         We therefore make it an in_place filter with a custom buffer prepare
3982         function that conditionally makes the input buffer metadata writable
3983         when needed.  Fixes #523985.
3984
3985 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3986
3987         Patch by: Mark Nauwelaerts <manauw at skynet be>
3988
3989         * gst/gstclock.h:
3990         * libs/gst/base/gstbasesrc.h:
3991         * libs/gst/base/gstbasetransform.c:
3992         * libs/gst/check/gstcheck.c:
3993         Small documentation fixes. Fixes #523978.
3994
3995 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3996
3997         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3998         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
3999         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4000
4001 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4002
4003         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4004         (single_queue_underrun_cb):
4005         When trying to make room in the queue, bump the max allowed buffers
4006         bigger than the current amount of buffers in the queue. this fixes some
4007         nasty deadlocks in multiqueue when dynamically changing the limits of
4008         the queue.
4009
4010 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4011
4012         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4013
4014         * gst/gstcaps.c: (gst_caps_set_simple),
4015         (gst_caps_set_simple_valist), (gst_caps_intersect):
4016         * gst/gstcaps.h:
4017         Constify the field gchar * params in set_simple and friends.
4018         Fixes #522326.
4019
4020 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4021
4022         * gst/gstvalue.c: (gst_value_transform_object_string):
4023         Transform a GstObject to a more meaningfull string that includes the
4024         object type in addition to its name.
4025
4026 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4027
4028         * ChangeLog:
4029           ChangeLog surgery to add bugnumber to commit.
4030
4031 2008-03-23  Rene Stadler  <mail@renestadler.de>
4032
4033         * libs/gst/base/gstbasetransform.c:
4034         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4035
4036 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4037
4038         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4039         Rename constant everywhere and don't forget one occurence.
4040
4041 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4042
4043         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4044         Align memory to the pointer size even if the architecture allows
4045         unaligned memory access. Unaligned memory access usually comes with
4046         performance penality.
4047
4048 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4049
4050         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4051         (gst_registry_binary_check_magic),
4052         (gst_registry_binary_load_pad_template),
4053         (gst_registry_binary_load_feature),
4054         (gst_registry_binary_load_plugin):
4055         Align memory to the pointer size instead of always 32 bit. Fixes
4056         unaligned memory accesses on ia64 and friends.
4057
4058         * gst/gstregistrybinary.h:
4059         Bump binary registry format version for this as it changes the
4060         format on those architectures that don't have unaligned access
4061         and 64 bit pointers.
4062
4063 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4064
4065         * docs/pwg/advanced-dparams.xml:
4066         * docs/pwg/building-props.xml:
4067         * docs/pwg/other-source.xml:
4068         * gst/glib-compat.h:
4069         * gst/gstbin.c: (gst_bin_class_init):
4070         * gst/gstclock.c: (gst_clock_class_init):
4071         * gst/gstindex.c: (gst_index_class_init):
4072         * gst/gstobject.c: (gst_object_class_init):
4073         * gst/gstpad.c: (gst_pad_class_init):
4074         * gst/gstpipeline.c: (gst_pipeline_class_init):
4075         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4076         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4077         * libs/gst/base/gstbasetransform.c:
4078         (gst_base_transform_class_init):
4079         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4080         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4081         (_gst_check_fault_handler_sighandler),
4082         (_gst_check_fault_handler_setup), (gst_check_init):
4083         * libs/gst/controller/gstcontroller.c:
4084         (_gst_controller_class_init):
4085         * libs/gst/controller/gstlfocontrolsource.c:
4086         (gst_lfo_control_source_class_init):
4087         * libs/gst/net/gstnetclientclock.c:
4088         (gst_net_client_clock_class_init):
4089         * libs/gst/net/gstnettimeprovider.c:
4090         (gst_net_time_provider_class_init):
4091         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4092         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4093         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4094         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4095         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4096         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4097         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4098         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4099         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4100         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4101         * plugins/elements/gsttee.c: (gst_tee_class_init):
4102         * plugins/elements/gsttypefindelement.c:
4103         (gst_type_find_element_class_init):
4104         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4105         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4106         use it everywhere for GParamSpecs that use static strings (i.e. all).
4107         This gives us less memory usage, fewer allocations and thus less
4108         memory defragmentation. Fixes bug #523806.
4109
4110 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4111
4112         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4113         (gst_param_spec_mini_object):
4114         * gst/gstminiobject.h:
4115         * win32/common/libgstreamer.def:
4116         * docs/gst/gstreamer-sections.txt:
4117         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4118         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4119         GstParamSpecMiniObject into a public header for this.
4120
4121         This make GstMiniObject a bit more consistent with GObject and makes
4122         it possible to extend the param specs.
4123
4124         gst_value_dup_mini_object is mainly useful for set_property methods.
4125
4126         Fixes bug #523798.
4127
4128         * tools/gst-inspect.c: (print_element_properties_info):
4129         Print something useful for GstMiniObject properties and not just
4130         "unknown type".
4131
4132 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4133
4134         * docs/gst/gstreamer-sections.txt:
4135         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4136         (gst_registry_binary_check_magic):
4137         * gst/gstregistrybinary.h:
4138         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4139         and add it to the (private part) of the docs to fix the build.
4140
4141 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4142
4143         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4144         (gst_registry_binary_check_magic),
4145         (gst_registry_binary_read_cache):
4146         * gst/gstregistrybinary.h:
4147         Don't use GST_MAJORMINOR for the binary registry version. Instead
4148         hardcode a value that must be changed whenever the format changes
4149         in an incompatible way.
4150         Also don't GST_ERROR when there is a version mismatch, just
4151         regenerate the registry silently.
4152
4153 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4154
4155         * configure.ac:
4156         Back to development - 0.10.18.1
4157
4158 === release 0.10.18 ===
4159
4160 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4161
4162         * configure.ac:
4163           releasing 0.10.18, "So far away"
4164
4165 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4166
4167         * configure.ac:
4168         * win32/common/config.h:
4169         0.10.17.4 pre-release
4170
4171 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4172
4173         Patch by: Ole André Vadla Ravnås
4174             <ole dot andre dot ravnas at tandberg dot com>
4175
4176         * docs/gst/gstreamer-sections.txt:
4177         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4178         (gst_poll_update_winsock_event_mask),
4179         (gst_poll_prepare_winsock_active_sets),
4180         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4181         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4182         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4183         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4184         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4185         * gst/gstpoll.h:
4186         * win32/common/libgstreamer.def:
4187         Add new function gst_poll_fd_ignored() for improved Windows
4188         compatibility.
4189         Various minor fixes and cleanups. See #520808.
4190
4191 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4192
4193         * gst/gstindex.c: (gst_index_entry_free):
4194         * gst/gstindex.h:
4195           Don't free key strings which we don't own. Fixes crash in
4196           gst_index_entry_free() (#522741).
4197
4198         * tests/check/Makefile.am:
4199         * tests/check/gst/.cvsignore:
4200         * tests/check/gst/gstindex.c: (test_index_entries),
4201           (gst_index_suite), (gst_index):
4202           Add unit test for the above.
4203
4204 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4205
4206         * win32/common/libgstreamer.def:
4207         Remove symbols that were removed recently. Fixes bug #521740.
4208
4209 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4210
4211         * configure.ac:
4212         * win32/common/config.h:
4213         0.10.17.3 pre-release
4214
4215 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4216
4217         Patch by: Ole André Vadla Ravnås
4218             <ole dot andre dot ravnas at tandberg dot com>
4219
4220         * docs/gst/gstreamer-sections.txt:
4221         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4222         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4223         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4224         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4225         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4226         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4227         (gst_poll_fd_can_write), (gst_poll_wait),
4228         (gst_poll_set_controllable), (gst_poll_restart),
4229         (gst_poll_set_flushing):
4230         * gst/gstpoll.h:
4231         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4232         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4233         (gst_net_time_provider_new):
4234         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4235         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4236         * tests/benchmarks/gstpollstress.c: (main):
4237         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4238         Remove GstPollMode from the API, it does not make sense to let the
4239         application control this.
4240         Add support for Win32.
4241         Fix the testsuite. Fixes #520671.
4242
4243 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4244
4245         Patch by: Ole André Vadla Ravnås
4246             <ole dot andre dot ravnas at tandberg dot com>
4247
4248         * gst/gstregistrybinary.c:
4249         Include io.h for write() and close() when building with MSVC. Fixes
4250         bug #520877.
4251
4252 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4253
4254         * configure.ac:
4255         * gst/gst_private.h:
4256         * gst/gstconfig.h.in:
4257         * gst/gstregistry.h:
4258         * gst/gstregistrybinary.c:
4259         * win32/common/gstconfig.h:
4260           Move registry backend API to private headers where we can. Add
4261           fixme-0.11 comments for the others. Add stubs for the xml backend when
4262           using the binary to ensure they functions exists (they should not be
4263           used though). Fixes #520756.
4264
4265 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4266
4267         * configure.ac:
4268         * win32/common/config.h:
4269         0.10.17.2 prelease
4270
4271 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4272
4273         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4274         (gst_registry_binary_read_cache):
4275         * gst/gstregistryxml.c: (gst_registry_save):
4276         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4277         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4278         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4279         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4280         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4281         Fixes #520152
4282
4283 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4284
4285         * gst/gstminiobject.c:
4286         Import gst_private.h before any other header that might include other
4287         glib headers. This fixes the build on windows using native compilers.
4288
4289 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4290
4291         * win32/common/gstconfig.h:
4292           Add here too, just for completeness.
4293
4294 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4295
4296         * configure.ac:
4297         * gst/gstconfig.h.in:
4298         * gst/gstregistry.h:
4299           Fix broken use of config.h-defined preprocessor directive in a public
4300           header file. Add a corresponding define to gstconfig.h, since we can't
4301           really remove those function declarations from the header file now
4302           (or can we? and why are they there in the first place?).
4303
4304 2008-03-03  Andy Wingo  <wingo@pobox.com>
4305
4306         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4307         the new warning.
4308
4309         * gst/gststructure.c (gst_structure_from_string): Warn if
4310         structure_from_string didn't consume the whole string, but the
4311         caller did not provide an end pointer.
4312
4313 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4316
4317         * gst/gstregistryxml.c: (read_string), (load_feature):
4318           Strings allocated by libxml2 should be freed with xmlFree(), not
4319           with g_free(). Fixes issues on windows in certain contexts (#519698).
4320
4321 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * gst/gstinterface.c: (gst_element_implements_interface):
4324           Don't crash if the element supports the interface queried, but does
4325           not implement GstImplementsInterface. Fixes #519584.
4326
4327         * tests/check/Makefile.am:
4328         * tests/check/gst/.cvsignore:
4329         * tests/check/gst/gstinterface.c:
4330           Add unit test for the above.
4331
4332 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4333
4334         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4335         Small doc update.
4336
4337 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4338
4339         * gst/gstsegment.c: (gst_segment_set_seek),
4340         (gst_segment_to_stream_time):
4341         Improve some comment.
4342         Update variables where it makes more sense.
4343
4344 2008-02-29  Rene Stadler  <mail@renestadler.de>
4345
4346         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4347         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4348         URIHandlers implemented using language bindings.
4349
4350 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4351
4352         * gst/gstelementfactory.h:
4353         * tests/check/elements/fakesink.c:
4354         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4355         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4356         * tests/check/elements/filesink.c: (setup_filesink):
4357         * tests/check/elements/filesrc.c: (setup_filesrc):
4358         * tests/check/elements/identity.c: (setup_identity):
4359         * tests/check/elements/tee.c:
4360         * tests/check/generic/sinks.c:
4361         * tests/check/generic/states.c: (setup), (teardown):
4362         * tests/check/gst/gst.c:
4363         * tests/check/gst/gstabi.c:
4364         * tests/check/gst/gstbin.c:
4365         * tests/check/gst/gstbus.c: (pull_messages):
4366         * tests/check/gst/gstcaps.c:
4367         * tests/check/gst/gstelement.c:
4368         * tests/check/gst/gstevent.c:
4369         * tests/check/gst/gstghostpad.c:
4370         * tests/check/gst/gstiterator.c:
4371         * tests/check/gst/gstmessage.c:
4372         * tests/check/gst/gstminiobject.c: (my_foo_init):
4373         * tests/check/gst/gstobject.c: (thread_name_object),
4374         (gst_object_suite):
4375         * tests/check/gst/gstpad.c:
4376         * tests/check/gst/gstplugin.c:
4377         * tests/check/gst/gstpoll.c:
4378         * tests/check/gst/gstquery.c:
4379         * tests/check/gst/gstsegment.c:
4380         * tests/check/gst/gststructure.c:
4381         * tests/check/gst/gstsystemclock.c:
4382         * tests/check/gst/gsttask.c:
4383         * tests/check/gst/gstutils.c:
4384         * tests/check/gst/gstvalue.c:
4385         * tests/check/gst/struct_hppa.h:
4386         * tests/check/gst/struct_i386.h:
4387         * tests/check/gst/struct_ppc32.h:
4388         * tests/check/gst/struct_ppc64.h:
4389         * tests/check/gst/struct_x86_64.h:
4390         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4391         * tests/check/libs/basesrc.c:
4392         * tests/check/libs/controller.c: (GST_START_TEST):
4393         * tests/check/libs/gdp.c:
4394         * tests/check/libs/gstnetclientclock.c:
4395         * tests/check/libs/gstnettimeprovider.c:
4396         * tests/check/libs/libsabi.c:
4397         * tests/check/libs/struct_hppa.h:
4398         * tests/check/libs/struct_i386.h:
4399         * tests/check/libs/struct_ppc32.h:
4400         * tests/check/libs/struct_ppc64.h:
4401         * tests/check/libs/struct_x86_64.h:
4402         * tests/check/pipelines/cleanup.c:
4403         * tests/check/pipelines/simple-launch-lines.c:
4404         * tests/check/pipelines/stress.c:
4405         And correct even more valid sparse warnings.
4406
4407         * win32/common/libgstreamer.def:
4408         Add gst_poll_fd_init to the list of symbols.
4409
4410 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4411
4412         * gst/gstconfig.h.in:
4413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4414         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4415         (gst_check_log_critical_func), (gst_check_drop_buffers),
4416         (gst_check_element_push_buffer_list):
4417         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4418         (gst_controller_get_type):
4419         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4420         (gst_object_get_controller), (gst_object_get_control_source):
4421         * libs/gst/controller/gstinterpolationcontrolsource.c:
4422         (gst_interpolation_control_source_new):
4423         * libs/gst/controller/gstlfocontrolsource.c:
4424         (gst_lfo_control_source_new):
4425         * libs/gst/dataprotocol/dataprotocol.c:
4426         (gst_dp_event_from_packet_0_2):
4427         * plugins/elements/gstfdsrc.c:
4428         * plugins/elements/gstmultiqueue.c:
4429         * plugins/elements/gsttee.c:
4430         * plugins/elements/gsttypefindelement.c:
4431         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4432         (gst_file_index_add_association):
4433         * plugins/indexers/gstmemindex.c:
4434         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4435         * tests/check/elements/queue.c: (setup_queue):
4436         * tests/check/gst/gstpipeline.c:
4437         * tests/check/libs/collectpads.c: (setup), (teardown),
4438         (gst_collect_pads_suite):
4439         * tests/examples/adapter/adapter_test.c:
4440         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4441         * tests/examples/xml/createxml.c:
4442         * tests/examples/xml/runxml.c:
4443         * tools/gst-inspect.c:
4444         * tools/gst-run.c:
4445         Correct all relevant warnings found by the sparse semantic code
4446         analyzer. This include marking several symbols static, using
4447         NULL instead of 0 for pointers, not using variable sized arrays
4448         on the stack, moving variable declarations to the beginning of
4449         a block and using "foo (void)" instead of "foo ()" for declarations.
4450
4451 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4452
4453         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4454         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4455         Don't reset GstPollFDs, this is not necessary at all.
4456
4457         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4458         (delayed_restart), (delayed_control):
4459         Use GST_POLL_FD_INIT.
4460
4461 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4462
4463         * gst/gstpoll.c: (gst_poll_fd_init):
4464         * gst/gstpoll.h:
4465         Added Since tags.
4466
4467         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4468         Use some more init macros.
4469
4470 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4471
4472         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4473         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4474         Use init macros and functions.
4475
4476 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4477
4478         * docs/gst/gstreamer-sections.txt:
4479         * gst/gstpoll.c: (gst_poll_fd_init):
4480         * gst/gstpoll.h:
4481         Add INIT macro and _init method for initializing the GstPollFD.
4482
4483 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4484
4485         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4486         (gst_fd_sink_update_fd):
4487         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4488         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4489         (delayed_restart), (delayed_control):
4490         Initialize some uninitialized variables as spotted by valgrind.
4491
4492 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4493
4494         * tests/benchmarks/Makefile.am:
4495         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4496         (main):
4497         Add poll stress test.
4498
4499 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4500
4501         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4502
4503         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4504         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4505         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4506         * plugins/elements/gstfdsink.h:
4507         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4508         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4509         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4510         (gst_fd_src_uri_set_uri):
4511         * plugins/elements/gstfdsrc.h:
4512         Port to GstPoll. See #505417.
4513
4514 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4515
4516         * win32/common/libgstreamer.def:
4517         Add new gst_poll_ symbols to win32 defs.
4518
4519 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4520
4521         * docs/libs/gstreamer-libs-sections.txt:
4522         * libs/gst/net/gstnetclientclock.c:
4523         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4524         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4525         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4526         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4527         * libs/gst/net/gstnetclientclock.h:
4528         * libs/gst/net/gstnettimeprovider.c:
4529         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4530         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4531         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4532         (gst_net_time_provider_new):
4533         * libs/gst/net/gstnettimeprovider.h:
4534         Use a private stuct to not break ABI.
4535
4536 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4537
4538         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4539
4540         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4541         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4542         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4543         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4544         * libs/gst/net/gstnetclientclock.h:
4545         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4546         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4547         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4548         (gst_net_time_provider_new):
4549         * libs/gst/net/gstnettimeprovider.h:
4550         Massive code removal and cleanups because of GstPoll.
4551         Fixes #505417.
4552
4553 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4554
4555         * configure.ac:
4556         Add checks for poll, ppoll and pselect.
4557
4558         * docs/gst/gstreamer-docs.sgml:
4559         * docs/gst/gstreamer-sections.txt:
4560         Add docs for GstPoll.
4561
4562         * gst/Makefile.am:
4563         * gst/gst.h:
4564         * gst/gstpoll.c: (find_index), (selectable_fds),
4565         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4566         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4567         (gst_poll_set_mode), (gst_poll_get_mode),
4568         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4569         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4570         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4571         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4572         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4573         (gst_poll_fd_can_write), (gst_poll_wait),
4574         (gst_poll_set_controllable), (gst_poll_restart),
4575         (gst_poll_set_flushing):
4576         * gst/gstpoll.h:
4577         Add generic poll abstraction. We ideally don't want to have this in core
4578         here but in glib intead...
4579         This code will be used in various network elements and ultimately for
4580         the nanosecond precision monotonic clock (that's why it's here in core).
4581         It'll allow us to implement cancelable socket operations for windows too.
4582
4583         * tests/check/Makefile.am:
4584         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4585         (delayed_stop), (delayed_restart), (delayed_flush),
4586         (delayed_control), (gst_poll_suite):
4587         Add GstPoll unit test.
4588
4589 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4590
4591         * gst/gstfilter.c:
4592           Improve documentation of gst_filter_run(). Fixes #518627.
4593
4594 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4595
4596         * docs/README:
4597           Add a few lines about the new 'check-inspected-versions' target.
4598
4599 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4600
4601         * tests/check/gst/gstevent.c:
4602           Add qos to the event test. Rename tcase/tsuite; is not only about
4603           custom events.
4604
4605 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4606
4607         * plugins/elements/gstqueue.c:
4608           Ensure that buffer metadata is writeable, before modifying. Spotted by
4609           Mike.
4610
4611 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4612
4613         * plugins/elements/gstqueue.c:
4614         * plugins/elements/gstqueue.h:
4615           When dropping buffers in leaky modes, mark next buffers we sent as
4616           DISCONT.
4617
4618 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4619
4620         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4621           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4622
4623 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4624
4625         * plugins/elements/Makefile.am:
4626         * plugins/elements/gstbufferstore.c:
4627         * plugins/elements/gstbufferstore.h:
4628         * plugins/elements/gsttypefindelement.h:
4629           Remove GstBufferStore, no idea why we were still building it.
4630           It's not used anywhere and superseded by GstAdapter.
4631
4632         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4633           (gst_file_src_create_mmap):
4634         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4635           Printf format fixes for 64-bit integers.
4636
4637 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4638
4639         * configure.ac:
4640         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4641         We're not in 0.8 times anymore.
4642
4643 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4644
4645         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4646         (gst_check_element_push_buffer_list):
4647         * libs/gst/check/gstcheck.h:
4648         Make the declaration in the header for
4649         gst_check_element_push_buffer_list match the implementation.
4650
4651         Fix up spelling, grammar and wording of the documentation in a few
4652         places, and add the Since keyword to new API functions.
4653         Use g_list_delete_link instead of g_list_remove in
4654         gst_check_drop_buffers, since it's immeasurably more efficient.
4655
4656         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4657         Use new gst_check_drop_buffers function where appropriate.
4658
4659         * win32/common/libgstbase.def:
4660         * win32/common/libgstreamer.def:
4661         Add new symbols gst_collect_pads_take_buffer, 
4662         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4663         exports
4664
4665         Changelog surgery to add API keyword to new gst_check API.
4666
4667 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4668
4669         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4670         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4671         Update pre-generated flex files with flex 2.3.34.
4672
4673 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4674
4675         * gst/gstminiobject.c:
4676           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4677           friendly to subclasses and not require them to know all internals
4678           of their parent class.
4679
4680 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4681
4682         * docs/libs/gstreamer-libs-sections.txt:
4683         * libs/gst/base/gstcollectpads.c:
4684         * libs/gst/base/gstcollectpads.h:
4685           Add sub-buffer functions to collectpads. Fixes #516187.
4686           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4687
4688 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4689
4690         * gst/gstbuffer.c:
4691           Copy selected buffer-flags when creating subbuffers.
4692           Fixes #516395.
4693
4694 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4695
4696         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4697         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4698         * gst/gstmessage.c: (gst_message_class_init),
4699         (gst_message_finalize):
4700         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4701         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4702         (gst_mmap_buffer_finalize):
4703         Properly chain up finalize functions to the parent class.
4704
4705 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4706
4707         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4708
4709         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4710         (gst_index_set_resolver_full):
4711         * gst/gstindex.h:
4712         Add new function with option to dispose of user_data in resolver.
4713         Actually call the dispose function when finalizing the object and not
4714         just when changing the resolver/filter.
4715         API: GstIndex::gst_index_set_resolver_full()
4716
4717         * docs/gst/gstreamer-sections.txt:
4718         Add new function to docs. Fixes #515469.
4719
4720 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4721
4722         * gst/gstindex.c: (gst_index_finalize):
4723         Chain up finalize to the parent class. Fixes leaking the GstObject
4724         name and other things.
4725
4726 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4727
4728         * configure.ac:
4729         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4730         pre-releases or releases.
4731
4732         * docs/faq/gst-uninstalled:
4733         Add gst-plugins-gl
4734
4735         * docs/random/release:
4736         Change one of the steps - we only upload core & base to Gnome FTP
4737
4738 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4739
4740         * gst/gstconfig.h.in:
4741           Add 'id' for example.
4742
4743         * gst/gstpad.c:
4744         * gst/gstutils.c:
4745         * plugins/elements/gstfdsink.c:
4746           Link to signals. Doc and comment fixes.
4747
4748 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4749
4750         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4751         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4752           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4753           unused and unimplemented; finally, it is plugin features, not
4754           plugins, that have ranks.
4755           
4756 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4757
4758         * gst/gstpluginfeature.h:
4759           Clarify GstRank range docs.
4760
4761 2008-02-05  David Schleef  <ds@schleef.org>
4762
4763         * gst/gst.c: Add a separate gst_deinitialized that prevents
4764           gst_init() from being called after gst_deinit().  Fixes #509559
4765
4766 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4767
4768         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4769         (gst_bin_class_init):
4770         * gst/gstelement.c: (gst_element_base_class_init),
4771         (gst_element_class_add_pad_template):
4772         * gst/gstpadtemplate.c: (gst_pad_template_init):
4773         * gst/gstpipeline.c: (gst_pipeline_get_type),
4774         (gst_pipeline_base_init), (gst_pipeline_class_init):
4775         * libs/gst/base/gstbasesink.c:
4776         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4777         (gst_base_src_base_init), (gst_base_src_class_init):
4778         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4779         (gst_capsfilter_class_init):
4780         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4781         (gst_fake_sink_class_init):
4782         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4783         (gst_fake_src_class_init):
4784         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4785         (gst_fd_sink_class_init):
4786         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4787         (gst_fd_src_class_init):
4788         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4789         (gst_file_sink_class_init):
4790         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4791         (gst_file_src_class_init):
4792         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4793         (gst_identity_class_init):
4794         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4795         (gst_multi_queue_class_init):
4796         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4797         (gst_queue_class_init):
4798         * plugins/elements/gsttee.c: (gst_tee_base_init),
4799         (gst_tee_class_init):
4800         * plugins/elements/gsttypefindelement.c:
4801         (gst_type_find_element_base_init),
4802         (gst_type_find_element_class_init):
4803         * tests/check/gst/gstelement.c: (gst_element_suite):
4804         Revert previous changes to the behaviour of GstPadTemplates, etc
4805         and the possiblity to call them in class_init as it breaks too
4806         many elements. Reopens bug #491501.
4807
4808         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4809         several places.
4810
4811 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4812
4813         * tools/gst-launch.c:
4814         Dump one graph per pipeline state-change and state change name
4815         (if GST_DEBUG_DUMP_DOT_DIR is set).
4816
4817 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4818
4819         * gst/gstpad.c:
4820         * tests/check/gst/gstpad.c:
4821         Be sure that we have a new copy of the caps and not
4822         reffed caps from a template
4823
4824 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4825
4826         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4827         * gst/gstpipeline.c: (gst_pipeline_get_type),
4828         (gst_pipeline_class_init):
4829         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4830         (gst_base_sink_class_init):
4831         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4832         (gst_base_src_class_init):
4833         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4834         (gst_base_transform_class_init):
4835         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4836         (gst_collect_pads_class_init):
4837         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4838         * libs/gst/net/gstnettimeprovider.c:
4839         (gst_net_time_provider_base_init),
4840         (gst_net_time_provider_class_init):
4841         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4842         (gst_capsfilter_class_init):
4843         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4844         (gst_fake_sink_class_init):
4845         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4846         (gst_fake_src_class_init):
4847         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4848         (gst_fd_sink_class_init):
4849         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4850         (gst_fd_src_class_init):
4851         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4852         (gst_file_sink_class_init):
4853         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4854         (gst_file_src_class_init):
4855         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4856         (gst_identity_class_init):
4857         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4858         (gst_multi_queue_class_init):
4859         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4860         (gst_queue_class_init):
4861         * plugins/elements/gsttee.c: (gst_tee_base_init),
4862         (gst_tee_class_init):
4863         * plugins/elements/gsttypefindelement.c:
4864         (gst_type_find_element_base_init),
4865         (gst_type_find_element_class_init):
4866         Don't use base_init where not absolutely necessary. For example it's
4867         not necessary anymore for adding pad templates or setting element
4868         details.
4869
4870         Leave empty base_init functions in several places as GST_BOILERPLATE
4871         still defines and uses them.
4872
4873 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4874
4875         * gst/gstelement.c: (gst_element_base_class_init),
4876         (gst_element_class_add_pad_template):
4877         * gst/gstpadtemplate.c:
4878         Make it possible (and recommended) to set element details and add
4879         pad templates in the class_init functions by copying the details/pad
4880         templates in GstElement's base_init.
4881
4882         Also make it possible to replace existing pad templates by adding
4883         a new one with the same name. This was done in a hackish fashion
4884         in same elements before already.
4885
4886         Don't reference pad templates that are added a second time. A
4887         new pad template has a refcount of one and is not floating anymore
4888         and to be owned by the element's class. Make this more explicit by
4889         mentioning it in the docs of gst_element_class_add_pad_template().
4890
4891         These changes are backwards compatible. Fixes bug #491501.
4892
4893         * tests/check/gst/gstelement.c:
4894         Add unit test for setting element details, adding pad templates and
4895         replacing them in a subclass.
4896
4897 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4898
4899         * tools/gst-inspect.c: (print_interfaces),
4900         (print_element_properties_info), (print_pad_info),
4901         (print_signal_info), (print_element_info):
4902         Fix a few memory leaks.
4903
4904 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4905
4906         * docs/libs/gstreamer-libs-sections.txt:
4907         * libs/gst/check/gstcheck.c:
4908         * libs/gst/check/gstcheck.h:
4909         Add more functions for unit testing: gst_check_drop_buffers,
4910         gst_check_caps_equal, gst_check_element_push_buffer_list,
4911         gst_check_element_push_buffer
4912         API: gst_check_drop_buffers
4913         API: gst_check_caps_equal
4914         API: gst_check_element_push_buffer_list
4915         API: gst_check_element_push_buffer
4916
4917 2008-02-01  Julien Moutte  <julien@fluendo.com>
4918
4919         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4920         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4921         (gst_index_finalize), (gst_index_entry_free),
4922         (gst_index_add_association): Fix memory leaks.
4923         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4924         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4925         (gst_mem_index_free_format), (gst_mem_index_free_id),
4926         (gst_mem_index_finalize): Fix memory leaks.
4927         * win32/common/config.h: Updated to CVS HEAD.
4928
4929 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4930
4931         * docs/README:
4932           Some more details about how the plugin docs works.
4933
4934         * docs/plugins/gstreamer-plugins-sections.txt:
4935           Whitespace cleanup.
4936
4937 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4938
4939         * gst/parse/grammar.tab.pre.c:
4940         * gst/parse/grammar.tab.pre.h:
4941         * gst/parse/grammar.y:
4942         * gst/parse/lex._gst_parse_yy.pre.c:
4943           Add delayed set-property. This allows to set properties on dynamicaly
4944           created objects (pads in videomxer). Fixes #509391.
4945
4946 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4947
4948         * gst/gstutils.c:
4949         Check if caps are not NULL (fix bug #510194)
4950
4951 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4952
4953         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
4954         (gst_base_sink_get_position_paused):
4955         Add fixme regarding EOS in pull mode.
4956         Fix position reporting in PAUSED for negative rates.
4957
4958 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4959
4960         * gst/gstminiobject.c: (gst_mini_object_replace):
4961         When replacing a miniobject, do a quick equality check first so that we
4962         can avoid a ref/unref pair.
4963
4964 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
4965
4966         * docs/design/part-synchronisation.txt:
4967         Update some docs.
4968
4969         * docs/plugins/Makefile.am:
4970         * docs/plugins/gstreamer-plugins-docs.sgml:
4971         * docs/plugins/gstreamer-plugins-sections.txt:
4972         * plugins/elements/gstmultiqueue.c:
4973         Add multiqueue to the docs.
4974
4975 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4976
4977         * configure.ac:
4978           Back to CVS
4979
4980 === release 0.10.17 ===
4981
4982 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
4983
4984         * configure.ac:
4985           releasing 0.10.17, "Due Negligence"
4986
4987 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4988
4989         * gst/gstutils.c:
4990         Revert caps != NULL check temporarily for 0.10.17 release.
4991
4992 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
4993
4994         * gst/gstutils.c:
4995         Check if caps are not NULL (fix bug #510194)
4996
4997 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
4998
4999         * gst/gstutils.c:
5000         Fix compilation on systems that have posix timers but no
5001         monotonic clock.
5002         Fixes: #512715
5003         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5004         dot net>
5005
5006 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5007
5008         * tools/gst-inspect.c:
5009         Revert previous commit in preparation for an impromptu 0.10.17 release
5010
5011 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5012
5013         * tools/gst-inspect.c: (print_interfaces),
5014         (print_element_properties_info), (print_pad_info),
5015         (print_signal_info), (print_element_info):
5016         Fix a few memory leaks.
5017
5018 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5019
5020         * configure.ac:
5021         Back to CVS
5022
5023 === release 0.10.16 ===
5024
5025 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5026
5027         * configure.ac:
5028           releasing 0.10.16, "Special Dispensation"
5029
5030 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5031
5032         * configure.ac:
5033           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5034           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5035           not fail when trying to crosscompile on OpenEmbedded (#511750).
5036
5037 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5038
5039         * docs/manuals.mak:
5040         Use $(MAKE) instead of make to fix the build if GNU make is
5041         called different. Fixes bug #510747.
5042
5043 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         * gst/gstplugin.c: (_gst_plugin_initialize):
5046           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5047           again, which I broke two commits ago when changing the API
5048           of gst_plugin_register_static(): the g_list_foreach() in
5049           _gst_plugin_register_static still assumed the old function
5050           signature and would therefore fail (re-fixes #510187).
5051
5052         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5053           (_gst_plugin_register_static), (gst_plugin_register_static):
5054           Revert the (technically correct) change to call g_thread_init() from
5055           the pre-main() constructor. This will break programs which call
5056           g_thread_init() without an if (!g_thread_supported()) guard in their
5057           main function. We could just blame it on GLib or the application, but
5058           it's probably best to just avoid this altogether and simply not use
5059           any GLib functions here and use plain old malloc() with a simple
5060           array to store the plugins to register later when gst_init() is
5061           finally called (re-fixes #510187).
5062
5063         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5064           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5065           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5066           (GST_START_TEST), (gst_plugin_suite):
5067           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5068           works.
5069
5070 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5073           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5074           This makes gtk-doc complain, but results in slightly better
5075           compiler errors. The old _gst_plugin_register_static() is
5076           still guarded, so there'll be a compiler warning about that
5077           instead. Fixes #510187 too.
5078
5079 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5080
5081         * gst/gst.c: (init_post):
5082         * gst/gstplugin.c: (_gst_plugin_register_static),
5083           (gst_plugin_register_static), (_gst_plugin_initialize):
5084         * gst/gstplugin.h: (GstPluginFilter):
5085           Change API of gst_plugin_register_static() to not take
5086           a GstPluginDesc, but rather just take all the arguments
5087           in a GstPluginDesc directly. This is more intuitive and
5088           avoids certain mistakes when porting code from
5089           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5090           Fixes #510187.
5091
5092         * tests/check/gst/gstplugin.c:
5093           Fix up for changed API.
5094
5095 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5096
5097         * docs/faq/legal.xml:
5098           Update FAQ, Totem actually has an exception these days.
5099
5100 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5101
5102         * win32/common/libgstreamer.def:
5103         Add new API declarations
5104
5105 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5106
5107         * gst/gstminiobject.c:
5108           Spelling fixes for the API docs.
5109
5110 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * libs/gst/base/gstbasetransform.c:
5113           Fix long property description for QoS.
5114
5115 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5116
5117         * gst/gst.c:
5118         _gst_trace_on is already provided by gsttrace.h, no need to declare
5119         it ourselves.
5120
5121         * docs/libs/gstreamer-libs-sections.txt:
5122         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5123         and remove strange tcase_add_test which is outputting a warning.
5124
5125         * libs/gst/check/gstcheck.c:
5126         * libs/gst/check/gstcheck.h:
5127         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5128         and define them in gstcheck.c instead of having every .c file whcih
5129         includes gstcheck.h be defining its own copy and relying on symbol
5130         interposing to marry them all, which doesn't work on Solaris.
5131
5132         * tests/check/elements/identity.c: (GST_START_TEST):
5133         Don't define 'buffers' locally, it comes from libgstcheck.
5134
5135         * tests/check/generic/sinks.c: (send_buffer):
5136         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5137
5138         * tests/check/gst/gststructure.c: (GST_START_TEST):
5139         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5140         * tests/check/gst/gstutils.c: (GST_START_TEST):
5141         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5142         Add a bunch of casts to make various constants fit the types
5143         they're being assigned to.
5144
5145 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5146
5147         * gst/gstchildproxy.c:
5148           Improve docs and add some ideas for making this more general-purpose.
5149
5150 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5151
5152         * gst/gst_private.h: (GST_CAT_TYPES):
5153           Add GST_CAT_TYPES, for consistency, and so that the other
5154           debug categories don't make fun of it. Spotted by Saur on IRC.
5155
5156 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5157
5158         * gst/parse/Makefile.am:
5159           Move types.h from EXTRA_DIST to noinst_HEADERS.
5160
5161 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5162
5163         * autogen.sh:
5164           Add -Wno-portability to the automake parameters to stop warnings
5165           about GNU make extensions being used. We require GNU make in almost
5166           every Makefile anyway.
5167
5168         * configure.ac:
5169           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5170           at the same time is required for per target flags.
5171
5172 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5173
5174         * gst/gstmacros.h:
5175           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5176           __GNUC__ is defined before using it.
5177
5178 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5179
5180         * docs/gst/gstreamer-sections.txt:
5181         * gst/gst.c: (init_post):
5182         * gst/gstplugin.c: (_gst_plugin_register_static),
5183           (gst_plugin_register_static), (_gst_plugin_initialize),
5184           (gst_plugin_register_func):
5185         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5186           API: add gst_plugin_register_static() and deprecate
5187           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5188           (#498924).
5189           Also, in _gst_plugin_register_static(), make sure to call
5190           g_thread_init() before calling GLib functions such as
5191           g_list_append() if we're not initialised yet, since that
5192           may lead to random crashes with older GSlice/GLib versions.
5193
5194         * tests/check/gst/gstplugin.c:
5195           Adapt unit test to above changes.
5196
5197 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5198
5199         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5200         * gst/gstcaps.c: (gst_caps_to_string):
5201         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5202           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5203           Yet another gratuitous GString micro-optimisation: add a (private)
5204           function that serialises a structure appending to an existing
5205           GString, so that when we serialise caps we don't need to alloc+free
5206           a throwaway GString for each structure (each of which also entailing
5207           multiple reallocs on the way); also use g_string_sized_new() in
5208           various places with an approximate string length to avoid reallocs
5209           within GString. See #500143.
5210
5211 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5212
5213         * gst/gststructure.c: (gst_structure_id_set_value):
5214           Always check UTF-8 conformance of structure strings and not only
5215           if the debugging system is enabled; reasoning: the behaviour of
5216           the actual code shouldn't really change depending on whether the
5217           debugging system is enabled or not (#508291).
5218
5219 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5220
5221         * Makefile.am:
5222           Remove old coverage target in favour of "make lcov".
5223
5224 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5225
5226         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5227         (gst_base_src_loop):
5228         The start segment for reverse playback goes from start to last_stop.
5229
5230 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5231
5232         Patch by: Peter Kjellerstedt <pkj axis com>
5233
5234         * gst/gstclock.h:
5235         Cast the results from the timeval/spec_to_time macros to what the
5236         docs say it casts to, a GstClockTime. fixes #508175.
5237
5238 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5239
5240         * gst/gstbuffer.c:
5241         Update some comments.
5242
5243         * tools/gst-inspect.c: (print_element_properties_info):
5244         Improve printing of flags.
5245
5246 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5247
5248         * libs/gst/base/gstbasetransform.c:
5249           (gst_base_transform_transform_size):
5250           Print element name with g_warning() if there's a problem
5251           with the unit size.
5252
5253 2008-01-07  David Schleef  <ds@schleef.org>
5254
5255         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5256
5257         * libs/gst/controller/gstcontroller.h:
5258         * libs/gst/controller/gstcontrolsource.h:
5259         * libs/gst/controller/gstinterpolationcontrolsource.h:
5260         * libs/gst/controller/gstlfocontrolsource.h:
5261         * libs/gst/dataprotocol/dataprotocol.h:
5262           Fix empty prototypes.  Fixes bug #507957.
5263
5264 2008-01-07  David Schleef  <ds@schleef.org>
5265
5266         * docs/faq/dependencies.xml: Fix typo.
5267
5268 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5269
5270         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5271         (gst_base_src_loop):
5272         Don't update the last_stop position in do_seek, that's the position we
5273         did a seek to.
5274         Read backwards when we have a negative rate.
5275
5276         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5277         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5278         (filesrc_suite):
5279         Add check for reverse reading.
5280
5281 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5282
5283         Patch by: Alexis Ballier <aballier at gentoo org>
5284
5285         * tests/check/gst/gstabi.c:
5286         * tests/check/gst/struct_ppc64.h:
5287         * tests/check/libs/libsabi.c:
5288         * tests/check/libs/struct_ppc64.h:
5289           Decide which header to include based on the userland ABI target
5290           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5291           for 64-bit userland (#503590).  Might need something similar for
5292           x86 too.
5293
5294 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5295
5296         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5297           Log the reason why fopen fails in addition to the fact that it failed.
5298           
5299 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5300
5301         * gst/parse/parse.l:
5302         Use "%option never-interactive" to prevent useless calls to isatty()
5303         on every input when parsing. Also use "%option noinput" to not define
5304         the static input/yyinput functions which we don't use anyway. This
5305         removes a compiler warning with gcc 4.3 and saves some bytes in the
5306         library.
5307         
5308         * gst/parse/lex._gst_parse_yy.pre.c:
5309         Regenerated for the above change.
5310
5311 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5312
5313         * gst/gstpad.c: (fixate_value):
5314         Don't crash when trying to fixate and empty list.
5315         Fixes #506643.
5316
5317 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5318
5319         * docs/faq/gst-uninstalled:
5320         Clarify the comments to make the usage of this script and what it
5321         does easier to understand.
5322
5323 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5324
5325         * tools/gst-plot-timeline.py:
5326         Add more options to gst-plot-timeline
5327
5328 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5329
5330         * docs/design/part-synchronisation.txt:
5331         Some more info on how the stream_time in GstBaseSink is done.
5332
5333 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5334
5335         * tests/check/generic/sinks.c: (gst_sinks_suite):
5336           Put back the tcase_set_timeout(), apparently it's needed after
5337           all; fix it up in a way that makes things work with valgrind too.
5338
5339 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5340
5341         * gst/gstdebugutils.c:
5342           Add warning when failed to open file for writing.
5343
5344 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5345
5346         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5347
5348         * gst/gstvalue.c: (gst_value_is_fixed):
5349           Optimisation: bail out of the loop as early as possible (#500143).
5350
5351 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * gst/gstcaps.c: (gst_caps_to_string):
5354         * gst/gstinfo.c: (gst_debug_construct_term_color):
5355         * gst/gstparse.c: (gst_parse_launchv):
5356         * gst/gstutils.c: (gst_util_dump_mem):
5357         * gst/gstvalue.c: (gst_value_serialize_any_list),
5358           (gst_value_transform_any_list_string):
5359           Bunch of gratuitous nano-optimisations.
5360
5361 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * tests/check/generic/sinks.c: (async_done_func),
5364           (async_done_eos_func):
5365           Fix leak in unit test (bus sync handler must unref the message
5366           if it returns GST_BUS_DROP). Don't fiddle with the default test
5367           timeout, this is smaller than the current preconfigured value
5368           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5369           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5370
5371 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5372
5373         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5374
5375         * configure.ac:
5376         Check for stdio_ext.h for the filesink changes.
5377
5378         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5379         (gst_file_sink_class_init), (gst_file_sink_init),
5380         (gst_file_sink_dispose), (gst_file_sink_set_property),
5381         (gst_file_sink_get_property), (gst_file_sink_open_file),
5382         (gst_file_sink_close_file):
5383         * plugins/elements/gstfilesink.h:
5384         Add two properties to control the buffering mode and size.
5385         API: GstFileSink::buffer-mode
5386         API: GstFileSink::buffer-size
5387         Fixes #500150.
5388
5389 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5390
5391         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5392         Add some more docs to explain why a FIXME was wrongly added. 
5393
5394 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5395
5396         * gst/gstobject.c:
5397           Fix typo in the gst_object_{ref,unref} documentation.
5398
5399 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5400
5401         * tests/check/libs/controller.c:
5402         * tests/check/libs/typefindhelper.c:
5403         * tests/check/pipelines/parse-launch.c:
5404           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5405           going to be deprecated (see #498924).
5406
5407 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5408
5409         * gst/gsttypefind.c: (gst_type_find_register):
5410           Make gst_type_find_register work for static typefind functions,
5411           ie. allow passing plugin == NULL (prerequisite for #498924).
5412
5413         * gst/gstelementfactory.c: (gst_element_register):
5414           Small docs addition.
5415
5416 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5417
5418         * gst/gstpad.c: (gst_pad_dispose):
5419         Really unlink the peer pad instead of setting the peer pointer to NULL
5420         when we dispose the pad.
5421         This correctly calls the unlink functions and makes sure that the peer
5422         does not have a handle to invalid memory. See #504671.
5423
5424         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5425         Add testsuite for above case.
5426
5427 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5428
5429         Patch by: Peter Kjellerstedt <pkj axis com>
5430
5431         * libs/gst/check/gstcheck.h:
5432           Fix detection of the check version we're compiling against (would
5433           otherwise break if check goes v0.10.0); correctly report the
5434           name of the failed test again in case of failure, instead of
5435           just 'tf' (fixes #504499).
5436
5437 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5438
5439         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5440         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5441         (gst_base_src_loop), (gst_base_src_set_flushing),
5442         (gst_base_src_change_state):
5443         Allow sending EOS to the source to make it send out an EOS event from
5444         the streaming thread.
5445         Update docs and deprecate the old NULL/READY shutdown method.
5446
5447         * tests/check/libs/basesrc.c: (GST_START_TEST),
5448         (gst_basesrc_suite):
5449         Add unit test for controlled shutdown.
5450
5451 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5452
5453         * docs/design/part-synchronisation.txt:
5454         Small updates.
5455
5456         * gst/gstsegment.c: (gst_segment_set_seek),
5457         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5458         (gst_segment_to_running_time):
5459         The seek format can be different from the segment format when the start
5460         and stop values are not to be updated, when we only do a rate change for
5461         example.
5462
5463         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5464         (gst_segment_suite):
5465         Add a testcase for the rate-only seeks, checking that the format is
5466         correctly ignored when start and stop are not updated.
5467
5468 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5469
5470         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5471
5472         * win32/vs8/grammar.vcproj:
5473         * win32/vs8/libgstcontroller.vcproj:
5474         * win32/vs8/libgstreamer.vcproj:
5475         Fix compilation with VS8 and include some missing files.
5476
5477 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5478
5479         * gst/gsttaglist.c:
5480           Small docs addition: mention that the strings returned by
5481           gst_tag_list_get_string*() are in UTF-8 encoding.
5482
5483 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5484
5485         * Makefile.am:
5486           The check-exports stuff moved to common/win32.mak, so include that.
5487
5488 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5489
5490         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5491         (gst_base_src_perform_seek), (gst_base_src_get_range),
5492         (gst_base_src_set_playing), (gst_base_src_change_state):
5493         Make _wait_playing() not check any variables so that we can call this
5494         function from subclasses. Move the checks elsewhere similar to
5495         _wait_preroll() in basesink.
5496         Add some debugging.
5497         Only signal the LIVE cond when we are going back to PLAYING.
5498
5499 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5500
5501         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5502           Use g_remove() and g_rename(). Check result of g_rename(), and
5503           don't leak the open file descriptor if we error out when writing.
5504
5505         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5506           Must check the return value of close() after writing out the new
5507           registry file.  Sometimes write problems such as out-of-diskspace
5508           are only reported when the file is closed and not already during
5509           the write.  This may have caused partial/broken registry files in
5510           some rare circumstances. Should fix #503675.
5511
5512 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5513
5514         * docs/gst/.cvsignore:
5515         * docs/libs/.cvsignore:
5516         * docs/plugins/.cvsignore:
5517         Ignore files generated by new common/* modifications
5518
5519 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5520
5521         * win32/common/libgstbase.def:
5522           Yes, you can also have a <TAB> if you want.
5523
5524 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5525
5526         * win32/common/libgstbase.def:
5527           Add new basetransform API to win export file.
5528
5529 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5530
5531         * tests/check/gst/gstbin.c:
5532           Adjust the test to the refcount change two days ago.
5533
5534 2007-12-14  David Schleef  <ds@schleef.org>
5535
5536         * docs/faq/getting.xml: Fix typo.
5537
5538 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5539
5540         * docs/libs/gstreamer-libs-sections.txt:
5541         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5542           (gst_base_transform_prepare_output_buffer),
5543           (gst_base_transform_set_gap_aware):
5544         * libs/gst/base/gstbasetransform.h:
5545           API: Add gst_base_transform_set_gap_aware() to control whether
5546           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5547           get buffers with this flag at all. Fixes #503231.
5548
5549 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5550
5551         * libs/gst/base/gstbasesink.c:
5552         * libs/gst/base/gstbasesrc.c:
5553         * libs/gst/base/gstbasetransform.c:
5554           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5555           thread. Correct log message in gstbasesrc.c.
5556
5557 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         * gst/gstutils.c: (element_find_unconnected_pad):
5560           Fix possible compiler warning (#503417).
5561
5562 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5563
5564         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5565           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5566
5567 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5568
5569         * tools/gst-inspect.c: (print_element_properties_info):
5570           Add support for GstFraction properties.
5571
5572 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5573
5574         * Makefile.am:
5575           Add check-exports target and run it as part of 'make check'
5576           (see #499140 and #493983).
5577
5578         * gst/gst_private.h:
5579         * gst/gstelementfactory.h:
5580         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5581         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5582           (_priv_gst_in_valgrind):
5583         * gst/gstinfo.h: (GstLogFunction):
5584         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5585           (gst_type_find_register):
5586         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5587           (gst_type_find_factory_get_type):
5588         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5589           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5590           (gst_controller_new_valist), (gst_controller_new_list),
5591           (_gst_controller_dispose), (_gst_controller_class_init):
5592         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5593         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5594           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5595           (gst_object_get_controller), (gst_object_set_controller),
5596           (gst_object_suggest_next_sync), (gst_object_sync_values),
5597           (gst_object_set_control_source), (gst_object_get_control_source),
5598           (gst_object_get_value_arrays), (gst_object_get_value_array),
5599           (gst_object_get_control_rate), (gst_object_set_control_rate):
5600         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5601         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5602           Make some functions that should be static static; rename some
5603           private symbols so that they don't get exported; add some FIXME
5604           comments so we can move accidentally exported functions into
5605           our private section in 0.11.
5606
5607         * win32/common/libgstreamer.def:
5608           Add gst_utils_get_timestamp().
5609
5610 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5611
5612         * gst/gstvalue.c:
5613         * gst/gstvalue.h:
5614           Add more missing "Since:" tags to docs.
5615
5616 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5617
5618         * gst/gstutils.c:
5619           Add mising "Since:" to docs.
5620
5621 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5622
5623         * gst/gstplugin.c:
5624           Include "glib-compat-private.h" to fix the build on system with
5625           glib < 2.10. Fixes #503131.
5626
5627 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5628
5629         * gst/gstutils.c:
5630         * gst/gstutils.h:
5631           Actually its not PURE as it gets the time from elsewhere.
5632
5633 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5634
5635         * docs/gst/gstreamer-sections.txt:
5636         * gst/gstclock.h:
5637         * gst/gstdebugutils.c:
5638         * gst/gstinfo.c:
5639         * gst/gstutils.c:
5640         * gst/gstutils.h:
5641         * libs/gst/base/gstbasesink.c:
5642         * tools/gst-launch.c:
5643           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5644           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5645           Thanks Tim for spotting.
5646           API: gst_util_get_timestamp
5647
5648 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5649
5650         * configure.ac:
5651           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5652
5653 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5654
5655         * gst/gststructure.c: (gst_structure_validate_name),
5656           (gst_structure_new_valist), (gst_structure_parse_value),
5657           (gst_structure_from_string):
5658           Don't crash in _from_string() if the structure name is not valid
5659           (fixes #501560).  Allow structure names to start with a number
5660           again (this apparently broke the ubuntu codec installer).
5661
5662         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5663           (GST_START_TEST):
5664           Add unit test for the crash; update unit tests for new behaviour.
5665
5666 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5667
5668         * gst/gstutils.c:
5669         Clarify gst_element_get_compatible_pad() documentation.
5670         Fixes #500919.
5671
5672 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5673
5674         * tests/check/Makefile.am:
5675           Don't forget to dist {gst,libs}/struct_hppa.h.
5676
5677 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5678
5679         * libs/gst/base/gstbasesink.c:
5680           Use new API to get elapsed time.
5681
5682 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5683
5684         * gst/gstdebugutils.c:
5685         * gst/gstinfo.c:
5686           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5687
5688         * tools/gst-launch.c:
5689           Use new API to get elapsed time.
5690
5691 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5692
5693         * docs/gst/gstreamer-sections.txt:
5694         * gst/gstclock.h:
5695         * gst/gstdebugutils.c:
5696         * gst/gstinfo.c:
5697           Rename new API + ChangeLog surgery to remove old name from last entry..
5698
5699 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5700
5701         * docs/gst/gstreamer-sections.txt:
5702         * gst/gstclock.h:
5703         * gst/gstdebugutils.c:
5704         * gst/gstinfo.c:
5705           Now hide the different clock stuff behind a macro.
5706
5707 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * configure.ac:
5710         * gst/gstdebugutils.c:
5711         * gst/gstinfo.c:
5712           Apply the posix-timer check from #361155. Conditionally use the posix
5713           timer for logging. This gives better timestamp precission, less
5714           overhead and no ntp jitter.
5715
5716 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5717
5718         * gst/gstminiobject.c: (gst_mini_object_get_type),
5719         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5720         (gst_mini_object_finalize), (gst_mini_object_copy),
5721         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5722         (gst_mini_object_replace), (param_mini_object_validate),
5723         (gst_param_spec_mini_object_get_type):
5724         Some cleanup and checking against invalid function parameters.
5725
5726 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5727
5728         * docs/gst/gstreamer-sections.txt:
5729         * gst/gstclock.h:
5730         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5731         (gst_systemclock_suite):
5732         Start merging in the easy bits of #361155, the monotonic clock patch.
5733         This one adds a few handy macros with docs and a testsuite.
5734
5735 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5736
5737         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5738         Be a bit smarter when seeking, like, don't try to do a seek when it's
5739         not needed. This avoids errors when the file is not seekable.
5740         Fixes #499771.
5741
5742 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5743
5744         * docs/gst/gstreamer-docs.sgml:
5745         * docs/gst/gstreamer-sections.txt:
5746         * docs/gst/gstreamer.types.in:
5747         * gst/Makefile.am:
5748         * gst/gst.h:
5749         * gst/gstpreset.c:
5750         * gst/gstpreset.h:
5751         * plugins/elements/gstqueue.c:
5752           Due to popular request remove preset interface again. :-(.
5753
5754 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5755
5756         * tools/gst-inspect.c:
5757           Print 'default value' for enums and flags too.
5758
5759 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * docs/random/ensonic/profiling.txt:
5762           More ideas.
5763
5764         * gst/gstbin.c:
5765           Fix typo and give better log output.
5766
5767         * gst/gstdebugutils.c:
5768         * gst/gstdebugutils.h:
5769           More ideas, make graphs a bit smaller and fix param name in macro.
5770
5771 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5772
5773         * gst/gstpreset.c:
5774           Try harder to use the return value from fgets().
5775
5776 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * gst/gstpreset.c:
5779           For theses two fgets we handle the error below.
5780
5781 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5782
5783         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5784         Only send upstream events upstream. Fixes #498746.
5785
5786 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5787
5788         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5789
5790         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5791         (gst_identity_init), (gst_identity_transform_ip),
5792         (gst_identity_set_property), (gst_identity_get_property):
5793         * plugins/elements/gstidentity.h:
5794         Add property to disable handoff signal emission. Fixes #498694.
5795         API: GstIdentity::signal-handoffs
5796
5797 2007-11-21  Julien Moutte  <julien@fluendo.com>
5798
5799         * docs/faq/gst-uninstalled: Yet another missing library for the
5800         uninstalled script (fft)
5801
5802 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5803
5804         * docs/faq/developing.xml:
5805         Add a question about how to submit new translations.
5806
5807         * docs/random/release:
5808         Update the contact email address for the Translation Project
5809
5810         * plugins/elements/gstfdsrc.c:
5811         The parent_class for fdsrc is pushsrc, not GstElement.
5812
5813 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5814
5815         * gst/gstpreset.c:
5816           Plug a leak and fix saving.
5817
5818 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5819
5820         * docs/gst/gstreamer-sections.txt:
5821         Add new gst_preset__get_property_names() function to the docs
5822         to fix the build.
5823
5824 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5825
5826         * gst/gstpreset.c:
5827         * gst/gstpreset.h:
5828           Change _get_preset_names API to return a strv with copies. Add
5829           _get_property_names to allow implementations to filter and provide
5830           good default implementation.
5831
5832 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5833
5834         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5835         script (sdp).
5836
5837 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5838
5839         * gst/gstpreset.c:
5840           More cleanups, docs, and TODOs from comments that now slowly come in.
5841
5842 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5843
5844         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5845         search path.
5846
5847 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5848
5849         * gst/gstpreset.c:
5850           Fix bogus warning and make the property type specific code more
5851           similar.
5852
5853 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5854
5855         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5856         it build on OS X.
5857
5858 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5859
5860         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5861         (gst_bin_add_func), (gst_bin_remove_func),
5862         (gst_bin_change_state_func), (gst_bin_continue_func):
5863         Change email, cleanups add some more debug and comments.
5864         Also set bus and clock on new elements when the pipeline was in error.
5865
5866 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5867
5868         * gst/gstbin.c:
5869         * gst/gstdebugutils.c:
5870           Fix build with --disable-gst-debug. Fixes #497859.
5871           Spotted by Sameer Naik.
5872
5873 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5874
5875         * gst/gstevent.c:
5876           Little documentation improvment.
5877
5878         * gst/gstpreset.c:
5879           More TODO cleanups. Remove c++ comments.
5880
5881         * libs/gst/controller/gstcontroller.c:
5882           Add TODO and use quark from static string.
5883
5884         * tests/check/gst/gstmessage.c:
5885         * tests/check/gst/gststructure.c:
5886           Use quark from static string.
5887
5888 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5889
5890         * gst/gstpreset.c:
5891           Add some comments and TODOs.
5892
5893         * gst/gstpreset.h:
5894           Add padding for future changes.
5895
5896         * plugins/elements/gstqueue.c:
5897           Implement the iface.    
5898
5899 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * docs/gst/gstreamer-docs.sgml:
5902         * docs/gst/gstreamer-sections.txt:
5903         * docs/gst/gstreamer.types.in:
5904         * gst/Makefile.am:
5905         * gst/gst.h:
5906         * gst/gstpreset.c:
5907         * gst/gstpreset.h:
5908           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5909
5910 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5911
5912         * configure.ac:
5913
5914         Back to CVS
5915
5916 === release 0.10.15 ===
5917
5918 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5919
5920         * configure.ac:
5921           releasing 0.10.15, "October"
5922
5923 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5924
5925         * win32/vs6/libgstreamer.dsp:
5926         Convert line endings back to DOS.
5927
5928 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5929
5930         * docs/design/draft-tagreading.txt:
5931         * docs/random/ensonic/profiling.txt:
5932         Update fast tagreading draft and performance profiling ideas.
5933
5934 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5935
5936         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5937         Don't hold the object lock when unreffing a buffer because it could
5938         cause a deadlock when the finalize function wants to grab the object
5939         lock too. Fixes #495133.
5940
5941 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5942
5943         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
5944         (gst_segment_to_stream_time), (gst_segment_to_running_time):
5945         Also accumulate time correctly when doing reverse playback. Fixes
5946         #488201,
5947         When converting to running and stream time, use default values for
5948         start/stop/time/accum when comparing different formats. Fixes #494245.
5949
5950         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5951         Do running/stream time in TIME format.
5952
5953         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5954         (gst_segment_suite):
5955         2 new unit tests for segment accumulation.
5956
5957 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
5958
5959         * gst/gst.c: (init_pre):
5960         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
5961           (_gst_debug_bin_to_dot_file):
5962           Move getenv() back into gst_init, so everyone can live happily
5963           ever after. Make sure the symbol isn't exported though.
5964
5965 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5966
5967         Patch by: Sebastien Moutte  <sebastien moutte net>
5968
5969         * win32/common/gstenumtypes.c:
5970         * win32/common/gstenumtypes.h:
5971           Update enum types.
5972
5973         * win32/vs6/libgstreamer.dsp:
5974           Update vs6 project files (#494343).
5975
5976 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
5977
5978         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
5979         (gst_base_src_perform_seek), (gst_base_src_default_event),
5980         (gst_base_src_set_flushing), (gst_base_src_activate_push),
5981         (gst_base_src_activate_pull):
5982         Unify flushing code, remove some old unlock code that is no longer used.
5983         Take the streaming lock when seeking to avoid races. Fixes #492729.
5984         Added some more comments.
5985
5986 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * gst/gst.c: (_gst_disable_segtrap):
5989           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
5990           we can use gst_segtrap_is_enabled() there now that we have that API.
5991           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
5992           to do the getenv here (and export the variable).
5993
5994         * gst/gstdebugutils.c: (debug_dump_element),
5995           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
5996           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
5997
5998         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
5999           (gst_debug_log_default):
6000           Rename _gst_info_start_time to priv_gst_info_start_time so it
6001           doesn't get exported (was never in any header).
6002
6003         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6004           (gst_plugin_loading_mutex):
6005           Make static mutex gst_plugin_loading_mutex really static (was never
6006           in any header), and use gst_segtrap_is_enabled() instead of
6007           _gst_disable_segtrap.
6008
6009         * gst/gsttrace.c: (_gst_trace_default):
6010           Make local _gst_trace_default static (was never in any header).
6011
6012 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6013
6014         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6015
6016         * win32/common/libgstbase.def:
6017         * win32/common/libgstcontroller.def:
6018         * win32/common/libgstdataprotocol.def:
6019         * win32/common/libgstnet.def:
6020         * win32/common/libgstreamer.def:
6021           Add more missing symbols, remove some duplicates, and sort
6022           as the 'sort' command sorts it (partially fixes #493983).
6023
6024 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6025
6026         * gst/gstelement.c: (gst_element_set_state_func):
6027         Only change the state cookie if a different state was set on the
6028         element. See #492729.
6029
6030 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         * gst/gstvalue.c:
6033           Remove unused and uninitialised type variables that were still
6034           exported for some reason (they were never in any header files
6035           though).
6036
6037 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6038
6039         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6040         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6041         (gst_base_sink_event), (gst_base_sink_get_position_last),
6042         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6043         (gst_base_sink_change_state):
6044         Don't try to report a 0 position when we don't know, return -1 and FALSE
6045         instead. This mostly happens when we are prerolling.
6046         Make sure we can report the right position before we post the ASYNC_DONE
6047         message so that a message handler can query position without races.
6048
6049         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6050         (async_done_handoff), (async_done_func), (send_buffer),
6051         (async_done_eos_func), (gst_sinks_suite):
6052         Add two tests for the above.
6053
6054 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6055
6056         * MAINTAINERS:
6057         Update with new email address.
6058
6059         * docs/design/part-TODO.txt:
6060         Add some more info about future pad-block and negotiation changes.
6061
6062         * docs/design/part-buffering.txt:
6063         Add some ideas about buffering reporting.
6064
6065 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6066
6067         * tests/check/gst/gstobject.c:
6068         Disable silly racy test that always fails on this combination of CPU
6069         and kernel.
6070
6071 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         Patch by: Murray Cumming  <murrayc@murrayc.com>
6074
6075         * gst/gstobject.c:
6076           Corrected the registration of the parent-set and parent-unset
6077           signals: The parameter is a GstObject, not a GObject (#493134).
6078
6079 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6080
6081         * gst/gst_private.h:
6082         * gst/gstbuffer.h:
6083         * gst/gstevent.h:
6084         * gst/gstformat.h:
6085         * gst/gstmessage.h:
6086         * gst/gstplugin.h:
6087         * gst/gstquery.h:
6088         * gst/gsttaglist.h:
6089         * gst/gstvalue.h:
6090           Move declaration of private _gst_foo_initialize() functions into
6091           our private header file where they should have been all along.
6092
6093 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6094
6095         * docs/plugins/gstreamer-plugins-sections.txt:
6096         * gst/gstdebugutils.h:
6097         * gst/gstxml.h:
6098         * plugins/elements/gstqueue.c:
6099           gtk-doc fixes; trailing-comma-in-enum fix.
6100
6101 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6102
6103         * gst/gst.c: (gst_deinit):
6104           Clean up on deinit (not the external ones though, doesn't seem to be
6105           needed for some reason).
6106
6107 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6110           Remove __declspec(dllimport) for MSVC that was copied over into core
6111           from a plugin, obviously without ever having been tested (note the
6112           single underscore in _declspec in the initial commit), and that doesn't
6113           really make sense.  See #492077.
6114
6115 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6116
6117         * gst/gst.c: (init_post):
6118         * gst/gstevent.c: (_gst_event_initialize):
6119         * gst/gstquery.c: (_gst_query_initialize):
6120         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6121           g_type_class_ref() other types as well, see #349410 and #64764.
6122
6123         * gst/gstbuffer.c: (_gst_buffer_initialize):
6124         * gst/gstmessage.c: (_gst_message_initialize):
6125           Simplify existing g_type_class_ref().
6126
6127 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * gst/gstformat.c: (_gst_format_initialize):
6130           g_type_class_ref() our GstFormat type to make sure we avoid the
6131           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6132           bug #64764. Should fix intermittent tee unit test failures (#474823).
6133
6134 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * tests/check/elements/tee.c: (test_num_buffers):
6137           Simplify, simplify, simplify - or not.  Rewrite unit test
6138           not to use gst_parse_launch(); allow N sub-streams. Increasing
6139           the number of sub-streams seems to reproduce #474823 more easily.
6140
6141 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6144
6145         * gst/gsttrace.c:
6146         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6147         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6148         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6149           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6150           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6151           so use _pipe() directly (#492077).
6152
6153         * win32/common/dirent.c: (_treaddir):
6154           Add a couple of casts to make it build without warnings with MSVC.
6155
6156         * win32/common/libgstreamer.def:
6157           Add some more symbols that need to be exported.
6158
6159 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6160
6161         * tests/examples/metadata/read-metadata.c: (message_loop):
6162           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6163           arriving in a second or third tag message are added to
6164           the tag list as well.
6165
6166 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6167
6168         * libs/gst/base/gstbasesrc.c:
6169           Its "Since:" and not "@Since:". And remove an superflous cast.
6170
6171 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6172
6173         * docs/libs/gstreamer-libs-sections.txt:
6174         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6175         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6176         (gst_base_sink_get_property), (gst_base_sink_render_object),
6177         (gst_base_sink_preroll_object),
6178         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6179         (gst_base_sink_change_state):
6180         * libs/gst/base/gstbasesink.h:
6181         Add a new last-buffer property that contains the last buffer used in
6182         basesink for preroll or rendering. useful for making snapshots.
6183         API: gst_base_sink_get_last_buffer()
6184         API: GstBaseSink::last-buffer
6185
6186 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6187
6188         * docs/gst/running.xml:
6189         * gst/gst.c:
6190         * gst/gstdebugutils.c:
6191         * gst/gstdebugutils.h:
6192         * tools/gst-launch.c:
6193           Improve bin graph dumping, by using the envvar to specify a path.
6194           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6195
6196 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6197
6198         * plugins/elements/gsttypefindelement.c:
6199           (gst_type_find_element_handle_event),
6200           (gst_type_find_element_activate):
6201           Post special error message if we can't determine the type of a stream
6202           because it's empty.
6203
6204 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6205
6206         * docs/gst/running.xml:
6207         * gst/gstdebugutils.c:
6208           Document new env-var. Add one log-line after dumpng a graph.
6209
6210 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6211
6212         * configure.ac:
6213           Ugly hack to put the (recently removed and non-portable, apparently)
6214           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6215           GNU ld, because without that 'make check' fails miserably on my debian
6216           stable box.  Someone with more knowledge of linker intricacies and
6217           portability issues than me fix this properly please.
6218
6219 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6220
6221         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6222         Reset last seen position after flushing so that we don't report the old
6223         position anymore.
6224
6225 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6226
6227         * gst/gstelementfactory.c: (gst_element_register):
6228         * gst/gsturi.h:
6229         Patch from Alessandro Decina adding get_type_full and
6230         get_protocols_full private vfuncs to the URIHandler interface
6231         to allow bindings to support creating URI handlers. 
6232         Partially fixes: #339279
6233         API: GstURIHandlerInterface::get_type_full
6234         API: GstURIHandlerInterface::get_protocols_full
6235
6236 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6237
6238         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6239         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6240         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6241         Make it so that pads are considered linked until a buffer is pushed
6242         and discovered otherwise. This avoids problems with decodebin2 hanging
6243         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6244         case.
6245
6246         Make sure we lock the multiqueue when updating the max-size properties.
6247         
6248         Fix a crash on Solaris in a debug statement in get_request_pad that
6249         passes a NULL string to GST_DEBUG. 
6250
6251         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6252         (run_output_order_test):
6253         Fix the test to allow the first buffer on not-linked pads to come out
6254         of sequence while multiqueue discovers that they are not-linked.
6255
6256 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6257
6258         * configure.ac:
6259         * libs/gst/check/Makefile.am:
6260         Use a custom export symbol regex for libgstcheck, as it needs
6261         to export symbols that don't match the standard GStreamer gst_*
6262         pattern, and  --export-dynamic is not portable (only works on 
6263         GNU ld)
6264
6265         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6266         (gst_check_setup_sink_pad):
6267         Make sure to pass a message parameter to the fail_* macros.
6268
6269         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6270         Fix some compiler warnings.
6271
6272 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * tests/check/gst/gststructure.c: (test_to_string):
6275           Disable test that checks that white spaces are not allowed
6276           in structure names or field names, since we need to
6277           support that for now for backwards compatibility reasons.
6278
6279 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * docs/gst/gstreamer-sections.txt:
6282         * gst/gsttaglist.c:
6283         * gst/gsttaglist.h:
6284           API: add GST_TAG_ARTIST_SORTNAME
6285           API: add GST_TAG_ALBUM_SORTNAME
6286           API: add GST_TAG_TITLE_SORTNAME
6287           Add tag variants for sorting (#414539).
6288
6289 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6290
6291         * gst/gststructure.c:
6292           Also allow white space for names so we don't break
6293           backwards compatibility.
6294
6295 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6296
6297         * docs/design/part-TODO.txt:
6298         * docs/design/part-segments.txt:
6299         * docs/design/part-streams.txt:
6300         Small updates.
6301
6302 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6303
6304         * docs/gst/gstreamer-sections.txt:
6305          Fixed documentation from my previous commit (added new API add
6306          gst_value_set_structure(), add gst_value_get_structure() and
6307          GST_VALUE_HOLDS_STRUCTURE).
6308
6309 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * gst/gstdebugutils.c:
6312           Reflow code to fix uninitialized variable warning.
6313
6314 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6315
6316         * gst/gstcaps.c: (gst_caps_to_string),
6317         (gst_caps_from_string_inplace):
6318         * gst/gststructure.c: (gst_structure_get_abbrs),
6319         (gst_structure_to_string), (gst_structure_from_string):
6320         * gst/gstvalue.c: (gst_value_set_structure),
6321         (gst_value_get_structure), (gst_value_serialize_structure),
6322         (gst_value_deserialize_structure), (_gst_value_initialize):
6323         * gst/gstvalue.h:
6324         * tests/check/gst/gststructure.c: (GST_START_TEST),
6325         (gst_structure_suite):
6326         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6327          Added GstStructure to gst_value_table and its related functions.
6328          Changed gst_structure_to_string to print ';' in the end.
6329          Changed gst_caps_to_string to not print ';' beteween its
6330          fields (structures) anymore and remove the lastes ';' from latest
6331          structure. Now it is possible to have nested structures.
6332          In addition, backward compatibilty is assured by accepting '\0' as
6333          end delimiter. Fixes: #487969.
6334          API: add gst_value_set_structure()
6335          API: add gst_value_get_structure()
6336          API: add GST_VALUE_HOLDS_STRUCTURE
6337
6338 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * gst/gstbus.c:
6341           When no GSource callback has been set up, tell developer
6342           to use a function that actually exists.
6343
6344 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6345
6346         * docs/gst/gstreamer-sections.txt:
6347         * gst/Makefile.am:
6348         * gst/gst.c:
6349         * gst/gst.h:
6350         * gst/gstdebugutils.c:
6351         * gst/gstdebugutils.h:
6352         * gst/gstinfo.c:
6353         * gst/gstinfo.h:
6354         * tools/gst-launch.c:
6355           Allow dumping pipelines as dot graphs. Fixes #456573.
6356
6357 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6358
6359         * gst/gststructure.c:
6360           Allow '+' as well, it can be part of media or mime types
6361           such as image/svg+xml.
6362
6363 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6364
6365         * docs/gst/gstreamer-sections.txt:
6366         * gst/gstbus.c:
6367         * gst/gstbus.h:
6368           API: add gst_bus_pop_filtered
6369           API: add gst_bus_timed_pop_filtered
6370           Two new functions for waiting for specific message types on the
6371           bus for a specified amount of time without iterating any main
6372           loops or main contexts.
6373
6374         * tests/check/gst/gstbus.c:
6375           Some tests for the new functions.
6376
6377 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6378
6379         * docs/libs/gstreamer-libs-sections.txt:
6380           Make gtk-doc ignore stuff it should ignore.
6381
6382 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6383
6384         * libs/gst/check/gstcheck.c:
6385         * libs/gst/check/gstcheck.h:
6386           Allow runtime selection of unit tests to run via the GST_CHECKS
6387           environment variable (test case function names, comma-separated).
6388
6389 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6390
6391         * gst/gststructure.c:
6392         * tests/check/gst/gststructure.c:
6393           Revert serialisation change and constrain structure-names after
6394           consensus on irc. Update api documentation to reflect the change.
6395
6396 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6397
6398         * gst/gststructure.c:
6399           Improve serialization and fix tests.
6400
6401         * tests/check/gst/gststructure.c:
6402           Add another test that covers why I actually did the previous structure
6403           change.
6404
6405 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6406
6407         * tools/gst-inspect.c: (print_element_info):
6408         Don't crash when inspecting an element.
6409
6410 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6411
6412         * tests/check/gst/gststructure.c:
6413           Add unit test for escaping of structure name when serialising
6414           and deserialising to/from strings.
6415
6416 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6417
6418         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6419         (gst_single_queue_new):
6420         * plugins/elements/gstqueue.c: (gst_queue_init),
6421         (gst_queue_push_one):
6422         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6423         upstream is tricked into thinking it can suggest a format downstream
6424         while downstream does not support that format. The real problem is that
6425         core calls acceptcaps when pushing a buffer with new caps, for which we
6426         do a little workaround by setting the caps on the srcpad ourselves
6427         before pushing the buffer (until this is figured out). Fixes #486758.
6428
6429 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6430
6431         * gst/gststructure.c:
6432         * gst/gstvalue.c:
6433           Add some more comments and debug output. Quote structure name to fix
6434           deserialisation of some strings.
6435
6436 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * gst/gstbuffer.h:
6439           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6440           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6441
6442 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6443
6444         * tools/gst-inspect.c:
6445           Save approx. 400 1 byte allocs when printing. Use API to acces element
6446           details.
6447
6448         * tools/gst-run.c:
6449           Avoid a strdup.
6450
6451         * tools/gst-xmlinspect.c:
6452           Use API to acces element details.
6453
6454 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6455
6456         * gst/gstinfo.c:
6457           Fix some spelling errors.
6458
6459 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6460
6461         * gst/gstbin.c: (bin_handle_async_done):
6462         Correctly set the next state if all of our async children commited their
6463         state. This makes sure we can actually cancel the state change in
6464         progress. Fixes a regression in Rhythmbox when seeking.
6465
6466 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6467
6468         * gst/gstbin.c:
6469           Don't shadow local variable.
6470
6471         * gst/gstinfo.c:
6472           Don't shadow global function name.
6473
6474 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6475
6476         * gst/gstelementfactory.c:
6477         * gst/gstpluginfeature.c:
6478         * gst/gstpluginfeature.h:
6479         * gst/gstregistrybinary.c:
6480         * gst/gstregistryxml.c:
6481         * gst/gsttypefind.c:
6482           Use already-interned string for the private GstPluginFeature
6483           plugin_name field.
6484
6485 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6486
6487         * docs/libs/gstreamer-libs-sections.txt:
6488           Add new API to docs; fixes the build.
6489
6490 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6491         
6492         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6493
6494         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6495         (gst_base_sink_event):
6496         * libs/gst/base/gstbasesink.h:
6497         Add function to wait for EOS, subclasses can use this to correctly wait
6498         for devices to drain before performing the EOS logic. Fixes #485343.
6499         API: gst_base_sink_wait_eos()
6500
6501 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6502
6503         * gst/gstplugin.h:
6504           Cast description string constants in GST_PLUGIN_DEFINE macros
6505           to a (gchar*) to make C++ code using these macros compile
6506           without warning with g++-4.2 (see #462737).  Even if slightly
6507           ugly, this seems preferable to putting the description strings
6508           into the GLib quark table or making the structure member a
6509           const gchar * and doing casts in core code that allocs and
6510           frees these strings, or requiring a cast in the C++ code.
6511
6512 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * gst/gstinfo.h:
6515           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6516           to print the entire class/function signature into the log
6517           file for C++ code.  This only affects C++ code, for C code
6518           everything remains the same.
6519
6520 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6521
6522         * gst/gstbin.c: (remove_from_queue):
6523         Work around a problem with pipelines containing (semi)loops until a
6524         proper, more complicated solution is ready. See #475455.
6525
6526 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * gst/gstplugin.c:
6529         * gst/gstplugin.h:
6530         * gst/gstregistrybinary.c:
6531         * gst/gstregistryxml.c:
6532           Put more strings into the GLib quark table. No need to keep
6533           a hundred-something copies of identical version strings,
6534           license strings, package name strings and package origin
6535           strings around. 
6536
6537 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6538
6539         * docs/manual/advanced-dataaccess.xml:
6540           Don't imply that it's okay to unconditionally change
6541           buffer data or buffer metadata in a pad probe callback,
6542           and a bunch of other comments. Fixes #430031.
6543
6544 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6545
6546         * win32/common/gstenumtypes.c:
6547         * win32/common/gstenumtypes.h:
6548         * win32/common/gstversion.h:
6549           Update generated files.
6550
6551 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * docs/manual/advanced-autoplugging.xml:
6554           Prefix section with broken code with a warning (see #342432).
6555
6556 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6557
6558         * docs/manual/appendix-integration.xml:
6559         * docs/manual/basics-init.xml:
6560           Call g_thread_init() before g_option_context_new() to
6561           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6562
6563 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6564
6565         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6566         (gst_base_sink_queue_object_unlocked),
6567         (gst_base_sink_queue_object), (gst_base_sink_event),
6568         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6569         When we received EOS and are waiting for when to post the EOS message,
6570         our state is prerolled and we should not return ASYNC.
6571         Reorganize some code paths to implement this behavior.
6572
6573         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6574         (gst_sinks_suite):
6575         Add unit test to verify above EOS fix.
6576
6577 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6578
6579         * plugins/elements/gsttypefindelement.c:
6580         (gst_type_find_element_have_type), (gst_type_find_element_init),
6581         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6582         Move detecting the input caps of the sinkpad to the setcaps function.
6583         This allows us to update the output caps when we receive new input caps
6584         instead of always using the first detected caps.
6585
6586 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6587
6588         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6589         (gst_base_sink_get_position):
6590         Don't try to preroll non-async elements after a flush.
6591         Subtract latency form clock times when reporting position.
6592
6593 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6594
6595         * gst/gstpad.c: (gst_pad_pause_task):
6596         * gst/gstutils.c:
6597         Small comment and documentation update.
6598
6599 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6600
6601         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6602         (gst_base_src_set_live), (gst_base_src_is_live),
6603         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6604         (gst_base_src_default_event), (gst_base_src_wait),
6605         (gst_base_src_do_sync), (gst_base_src_get_range),
6606         (gst_base_src_pad_get_range), (gst_base_src_loop),
6607         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6608         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6609         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6610         (gst_base_src_change_state):
6611         Rework the locking of basesrc in a similar fashion to basesink. We
6612         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6613         us to handle live sources and semi live ones much better.
6614         Simplify flushing.
6615         Fix unlocking when seeking, shutting down and pausing in live sources.
6616
6617 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6618
6619         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6620         Fix compilation again.
6621
6622 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6623
6624         * gst/gstelement.c:
6625           Use meaningful categories for the logs to clean the default one.
6626
6627 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6628
6629         * tests/check/pipelines/cleanup.c:
6630           Print message name and not just number.
6631
6632 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6633
6634         * docs/design/draft-tagreading.txt:
6635           Add some more thoughts.
6636
6637 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6638
6639         * tests/check/pipelines/simple-launch-lines.c:
6640           Print message name and not just number.
6641
6642 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6643
6644         * libs/gst/base/gsttypefindhelper.c:
6645           Speedup typefinding. This is work in progress (see #459862).
6646
6647 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6648
6649         * gst/gstplugin.c:
6650           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6651           Spotted by Josep Torra Valles <josep@fluendo.com>.
6652
6653 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6654
6655         * gst/gstclock.h:
6656           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6657           field has moved to GstObject.
6658
6659 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6660
6661         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6662         (gst_base_src_get_range), (gst_base_src_change_state):
6663         Call unlock for live sources so that they can't get stuck in _create and
6664         produce a buffer before they are set back to PLAYING.
6665
6666 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6667
6668         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6669         (gst_queue_locked_dequeue):
6670         Comment the segment-related code... in the PROPER function.
6671         See #482147 and my commit from yesterday.
6672
6673 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6674
6675         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6676         Also initialize the counter that calculates the first timestamp on a
6677         buffer correctly for non-live sources.
6678
6679 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6680
6681         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6682         Disable code that's breaking the current-time-level reporting.
6683         See #482147
6684
6685 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6686
6687         * docs/gst/gstreamer-sections.txt:
6688         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6689         as they shouldn't show up. Fixes the docs build.
6690
6691 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6692         
6693         * gst/gstinfo.h:
6694         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6695         Define M_PI which is used in files which are including gstinfo.h. 
6696         VS6 includes doesn't define it.
6697         * win32/common/libgstbase.def:
6698         * win32/common/libgstcontroller.def:
6699         * win32/common/libgstreamer.def:
6700         Add new exported functions and variables.
6701         * win32/vs6/libgstcontroller.dsp:
6702         * win32/vs6/libgstreamer.dsp:
6703         Update the list of files to build.
6704         
6705 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6706
6707         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6708
6709         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6710         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6711         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6712         Improve debugging. Fixes #480858.
6713
6714 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6715
6716         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6717
6718         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6719         First patch of code cleanups, use the macros and right arguments in the
6720         macros to signal and lock the queue. See #480858.
6721
6722 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6723
6724         * gst/gstbus.c: (poll_func):
6725         Improve debugging when dealing with _poll().
6726
6727 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6728
6729         * gst/gstregistryxml.c:
6730           Fix memory leak I introduced a few days ago.
6731
6732 2007-09-26  Michael Smith <msmith@fluendo.com>
6733
6734         * gst/gstbuffer.c: (gst_buffer_finalize):
6735           Make it once again possible to free GstBuffers in the default
6736           build.
6737           The poisoning scribbles on parts of the miniobject we need in
6738           order to free it.
6739           Fixes #480341
6740
6741 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6742
6743         * docs/gst/gstreamer-sections.txt:
6744         * gst/gsttaglist.c:
6745         * gst/gsttaglist.h:
6746         API: add GST_TAG_COMPOSER, fixes #459809.
6747
6748 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6749
6750         * gst/gstplugin.c:
6751         * gst/gstplugin.h:
6752         Add the 3-clause BSD license and the MIT/X11 license to the license
6753         list. Fixes #479784.
6754
6755 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6756
6757         * docs/faq/getting.xml:
6758           Add Q+A about different GStreamer versions (#364056).
6759
6760 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6761
6762         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6763         (gst_base_sink_event), (gst_base_sink_change_state):
6764         Return correct gboolean from query function.
6765
6766 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6767
6768         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6769         (gst_base_sink_event), (gst_base_sink_query),
6770         (gst_base_sink_change_state):
6771         Simplify latency query.
6772         When not synchronizing, we can report latency without querying the peer
6773         element.
6774
6775 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6776
6777         * gst/gstobject.h:
6778         * gst/gstvalue.c:
6779         Fix small typos in the docs.
6780
6781 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6782
6783         * docs/design/draft-latency.txt:
6784         * docs/design/draft-push-pull.txt:
6785         * docs/design/draft-tagreading.txt:
6786         * docs/design/part-MT-refcounting.txt:
6787         * docs/design/part-activation.txt:
6788         * docs/design/part-block.txt:
6789         * docs/design/part-element-source.txt:
6790         * docs/design/part-events.txt:
6791         * docs/design/part-gstbin.txt:
6792         * docs/design/part-gstelement.txt:
6793         * docs/design/part-gstobject.txt:
6794         * docs/design/part-gstpipeline.txt:
6795         * docs/design/part-messages.txt:
6796         * docs/design/part-preroll.txt:
6797         * docs/design/part-push-pull.txt:
6798         * docs/design/part-qos.txt:
6799         * docs/design/part-query.txt:
6800         * docs/design/part-scheduling.txt:
6801         * docs/design/part-seeking.txt:
6802         * docs/design/part-segments.txt:
6803         * docs/design/part-states.txt:
6804         Documentation updates and typo fixes.
6805
6806 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6807
6808         * plugins/elements/gstfakesink.c:
6809           Add some debug text to error message to indicate that
6810           we errored out on request.
6811
6812         * tools/gst-launch.c:
6813           When the state change to PLAYING fails, check for an
6814           error message on the bus and print it.
6815
6816 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6817
6818         translated by: Jorge González González <aloriel@gmail.com>
6819
6820         * po/LINGUAS:
6821         * po/es.po:
6822           Added Spanish translation.
6823
6824 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6825
6826         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6827         Fix printf arguments.
6828
6829 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6830
6831         * tests/check/generic/states.c:
6832           Improved state change unit test.
6833
6834 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6835
6836         * gst/gstbin.h:
6837           Move priv to the right place.
6838
6839         * gst/gstsystemclock.c:
6840           Add FIXME: and improve log.
6841
6842         * tests/check/Makefile.am:
6843         * tests/examples/manual/Makefile.am:
6844           Work with all types of registries.
6845
6846 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6847
6848         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6849         Don't unref the event after pushing it. Fixes #478401.
6850
6851 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6852
6853         * .cvsignore:
6854         * tests/examples/manual/.cvsignore:
6855           Ignore registries in any format.
6856
6857 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6858
6859         * gst/glib-compat-private.h:
6860           Add compatibility macro for g_intern_string() for
6861           GLib-2.8 (any reason we can't just bump the
6862           requirement to at least 2.10?)
6863
6864         * gst/gstpadtemplate.h:
6865         * gst/gstelementfactory.c:
6866         * gst/gstregistryxml.c:
6867         * gst/gstregistrybinary.c:
6868           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6869           up the internal code accordingly.  This shouldn't be a problem, since
6870           there is no reason external code could ever assume the string in such
6871           a structure is dynamically allocated unless it did that itself;  the
6872           use of g_strdup() is private to element factories.  The new code also
6873           saves some memory by putting pad template name strings into the GLib
6874           quark table instead of allocating them dynamically.
6875           Declaring this field constant fixes warnings with g++-4.2 when using
6876           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6877
6878 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6879
6880         * gst/gstelementfactory.c:
6881           Release static caps. Fixes #475723.
6882
6883 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6884
6885         * gst/gstinfo.c:
6886         * gst/gstinfo.h:
6887           Make some internal API take const gchar * instead of just
6888           gchar * to avoid compiler warnings with g++-4.2.2 when
6889           passing string constants (partially fixes #478092).
6890
6891 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6892
6893         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6894         A latency query fails when one of the sinks fail.
6895
6896         * gst/gstelement.c: (gst_element_set_base_time):
6897         Improve debugging.
6898
6899 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6900
6901         * gst/gstbin.c: (gst_bin_continue_func):
6902         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6903         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6904         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6905
6906         Fix minor compilation warnings shown with Forte.
6907
6908 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6909
6910         * plugins/elements/gstqueue.c: (apply_buffer),
6911         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6912         Measure queue level based on the diff between head and tail timestamps
6913         even when pushing the first buffer.
6914
6915 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6916
6917         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6918         (gst_base_sink_event), (gst_base_sink_change_state):
6919         Sinks that don't preroll can always be queried for the latency.
6920         Don't post ASYNC start when we are not async.
6921
6922 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6923
6924         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6925         (gst_queue_handle_sink_event), (gst_queue_chain),
6926         (gst_queue_push_one), (gst_queue_handle_src_query),
6927         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6928         * plugins/elements/gstqueue.h:
6929         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6930         push more buffers but allow pushing of EOS and NEWSEGMENT.
6931         Add some more debug info here and there. Fixes #476514.
6932
6933 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6934
6935         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6936         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6937         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
6938         (gst_base_sink_set_flushing), (gst_base_sink_query),
6939         (gst_base_sink_change_state):
6940         Latency query is allowed after we are prerolled. Introduce a new flag
6941         for this and stop abusing other variables.
6942
6943 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6944
6945         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6946         Push OOB events downstream when we get them in send_event. This allows
6947         the application to insert events in the pipeline.
6948         Add some more comments.
6949
6950 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6951
6952         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
6953         (do_bin_latency), (gst_bin_change_state_func):
6954         * gst/gstpipeline.c: (gst_pipeline_change_state):
6955         Move latency query from GstPipeline to GstBin so that we can also
6956         use it when async-handling is enabled on bins.
6957
6958 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6959
6960         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6961         (gst_base_src_do_sync), (gst_base_src_change_state):
6962         Update docs.
6963         Clean up the timestamping and syncing code for pseudo live sources.
6964
6965 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
6966
6967         Patch by: Steve Fink  <sphink gmail com>
6968
6969         * docs/manual/appendix-checklist.xml:
6970           Mention less -R switch in the section about debug output (#474055).
6971
6972 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
6973
6974         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6975         Queue can latency to the pipeline up to the configured max size in time.
6976         Report this fact in the latency query.
6977
6978 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6979
6980         Patch by: Sebastien Moutte <sebastien at moutte dot net>
6981
6982         * libs/gst/controller/gstinterpolation.c:
6983         * libs/gst/controller/gstlfocontrolsource.c:
6984         Use gst_guint64_to_gdouble() when converting from a uint64 or
6985         GstClockTime to double to fix the build on win32. Fixes #474371.
6986
6987 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6988
6989         * gst/gstbuffer.c: (gst_buffer_finalize):
6990         Implement poisoning for GstBuffer if --enable-poisoning is specified.
6991         When finalizing a buffer the complete struct is filled with 0xff,
6992         thus making a use of the buffer after the final unref impossible.
6993
6994 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
6995
6996         * tests/check/libs/controller.c: (GST_START_TEST):
6997         Use fail_unless_equals_int(a, b) instead of
6998         fail_unless_equals (a == b) to get better output on failures.
6999
7000 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * tests/check/gst/gsturi.c:
7003           Also check for the other file URI variant on win32.
7004
7005 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7006
7007         * gst/gsturi.c: (gst_uri_get_location):
7008           If there's no hostname, we want to return 'c:/foo/bar.txt'
7009           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7010
7011         * tests/check/gst/gsturi.c:
7012           Unit test for the above and a few more things.
7013
7014 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7015
7016         * docs/design/part-live-source.txt:
7017         Add docs on how live sources should timestamp.
7018
7019         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7020         Add some more debug info.
7021         For subclasses that are live and like to sync, add aditional startup
7022         latency to sync time and timestamps so that we timstamp according to the
7023         design doc.
7024
7025 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7026
7027         * gst/gstbuffer.c:
7028           Also do a g_type_class_ref() for the subbuffer type in
7029           the init function.
7030
7031 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7032
7033         * docs/gst/gstreamer-sections.txt:
7034         * gst/gstpad.c: (gst_pad_peer_query):
7035         * gst/gstpad.h:
7036         Add function to perform a query on the peer of a pad.
7037         API: gst_pad_peer_query()
7038
7039 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7040
7041         * tests/check/gst/gstsystemclock.c:
7042           Cleanup the test a little (use gst-logging and not g_message). Improve
7043           test to check if a wait reached the target.
7044
7045 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7046
7047         * docs/libs/gstreamer-libs-sections.txt:
7048           Add new API to docs and fix the build.
7049
7050 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7051
7052         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7053         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7054         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7055         (gst_base_src_get_property), (gst_base_src_do_sync):
7056         * libs/gst/base/gstbasesrc.h:
7057         Add property to make the basesrc timestamp buffers based on the current
7058         running time.
7059         API: GstBaseSrc::do-timestamp
7060         API: gst_base_src_set_do_timestamp()
7061         API: gst_base_src_get_do_timestamp()
7062
7063 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7064
7065         * docs/random/release:
7066           Really make sure translations are up-to-date before
7067           a release (#465010).
7068
7069 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7070
7071         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7072         Always destroy the timer, also in error cases.
7073
7074 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7075
7076         * docs/manual/highlevel-xml.xml:
7077         Fix XML example code. Fixes #472714.
7078
7079 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7080
7081         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7082         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7083         (gst_base_sink_query):
7084         Protect eos and have_preroll with the OBJECT lock so we don't need to
7085         take the PREROLL lock when querying the latency. Fixes #473846.
7086
7087 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7088
7089         * gst/gstelement.c:
7090           Give some log-messages a category.
7091
7092 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7093
7094         * gst/gststructure.c:
7095         (gst_structure_fixate_field_nearest_fraction):
7096         Fix fraction list fixation code. Take the fraction with the smallest
7097         difference with the target instead of the first one in the list.
7098
7099         * tests/check/gst/gststructure.c: (GST_START_TEST),
7100         (gst_structure_suite):
7101         Added test to verify correct fraction list fixation behaviour.
7102
7103 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7104
7105         * win32/common/libgstreamer.def:
7106           Export gst_bus_add_signal_watch too.
7107
7108 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7109
7110         * docs/libs/gstreamer-libs-sections.txt:
7111         Add new methods to docs.
7112
7113         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7114         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7115         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7116         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7117         * libs/gst/base/gstbasesink.h:
7118         Add ts-offset property to fine-tune the synchronisation.
7119         API: GstBaseSink::ts-offset property
7120         API: gst_base_sink_set_ts_offset()
7121         API: gst_base_sink_get_ts_offset()
7122
7123 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7124
7125         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7126         (gst_base_sink_init), (gst_base_sink_set_sync),
7127         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7128         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7129         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7130         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7131         (gst_base_sink_get_property), (gst_base_sink_change_state):
7132         * libs/gst/base/gstbasesink.h:
7133         Add async property to instruct the sink never to inform the parent about
7134         ASYNC state changes, update docs.
7135         Check argument with g_return_* for the public functions.
7136         API: GstBaseSink::async property
7137         API: gst_base_sink_set_async_enabled()
7138         API: gst_base_sink_is_async_enabled()
7139
7140 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7141
7142         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7143         Improve debugging.
7144
7145         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7146         (gst_base_src_default_query), (gst_base_src_wait),
7147         (gst_base_src_do_sync), (gst_base_src_change_state):
7148         Rearrange some code so that we can add support for measuring the 
7149         startup latency.
7150
7151 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7152
7153         * docs/random/ensonic/dynlink.txt:
7154           More thoughs on this.
7155
7156         * plugins/elements/gstcapsfilter.c:
7157           Add bugzilla ticket number to FIXME comment.
7158
7159 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7160
7161         * docs/design/part-TODO.txt:
7162         * docs/design/part-block.txt:
7163         Update some docs.
7164
7165 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7166
7167         * gst/Makefile.am:
7168           Revert patch which uses $(gst_headers) instead of $^ because it
7169           breaks make dist.
7170
7171 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7172
7173         * tests/check/gst/gstbin.c: (GST_START_TEST):
7174           Fix leaks in the new unit test.
7175
7176 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7177
7178         * gst/gst.c:
7179           Don't use GST_INFO before the debug system is actually initialised
7180           (shouldn't do any harm, but won't print anything either, so we can
7181           just as well remove it).
7182
7183         * gst/gstinfo.h:
7184           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7185           compilers that don't support variadic macros (such as MSVC), should
7186           check for debug_level <= __gst_debug_min as well, since that's the
7187           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7188           inline helper functions. Should improve performance a bit, but also
7189           makes sure uses of GST_INFO et.al are ignored if the debugging
7190           system isn't initialised yet (instead of printing an assertion
7191           failure).
7192
7193 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7194
7195         patch by: David Nečas <yeti@physics.muni.cz>
7196
7197         * gst/Makefile.am:
7198           Replace some non portable makefile constructs.
7199
7200 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7201
7202         * common/gtk-doc-plugins.mak:
7203           Grrrrr. Don't remove the types file on make clean.
7204
7205 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7206
7207         * tools/gst-launch.1.in:
7208         Add colorspace to example pipeline. Fixes #458274.
7209
7210 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7211
7212         * docs/random/release:
7213           The release manager should run 'make download-po' before making a
7214           release to make sure translations are up-to-date.
7215
7216         * po/LINGUAS:
7217         * po/be.po:
7218         * po/pl.po:
7219         * po/rw.po:
7220           Add some new translations.
7221
7222 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7223
7224         * tools/gst-launch.c: (event_loop), (main):
7225         Don´t try to do any state management when a live pipeline posts
7226         buffering messages.
7227         Also make the buffering string translatable.
7228
7229 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7230
7231         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7232         (bin_handle_async_start), (gst_bin_handle_message_func):
7233         Improve debugging.
7234         When adding elements, insert messages into the bus of the newly added
7235         element and make sure the element is the source of the message. This
7236         allows the parent bin to intercept the message and do the
7237         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7238         messages to the app (which is not allowed).
7239         Update some docs.
7240
7241         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7242         Fix testsuite so that is does not work around messages that should not
7243         have been posted in the first place.
7244
7245 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7246
7247         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7248         (update_degree), (gst_bin_sort_iterator_next):
7249         Fix annoying bug in the sorted iterator where a sink that is not really
7250         a sink (when it has downstream links) screwed up the iterator.
7251
7252         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7253         Unit test to verify the fix.
7254
7255 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7256
7257         * gst/gstmessage.h:
7258         Add some more docs for the messages.
7259
7260         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7261         (gst_base_sink_query):
7262         Add some more debugging.
7263
7264         * tools/gst-launch.c: (event_loop):
7265         When interrupting, don't try to set pipeline to PAUSED twice.
7266
7267 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7268
7269         
7270         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7271         (bin_handle_async_start), (gst_bin_handle_message_func):
7272         Move ASYNC_START message posting to where it belongs, similar to
7273         async_done. 
7274         Don't post ASYNC_START when we are in error. 
7275         Post ASYNC_START when we added an async element to a bin.
7276
7277 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7278
7279         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7280         generation from vargs. Fixes #466595.
7281
7282 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7283
7284         * gst/gstbin.c: (gst_bin_element_set_state):
7285         Always change the state of a NO_PREROLL element even if it has ASYNC
7286         elements inside (in case of a bin).
7287
7288         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7289         Unit test for this case.
7290
7291 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7292
7293         * libs/gst/check/gstbufferstraw.c:
7294         * libs/gst/check/gstcheck.h:
7295         * libs/gst/controller/gstcontroller.c:
7296         * libs/gst/controller/gstcontrolsource.h:
7297         * libs/gst/controller/gstlfocontrolsource.h:
7298         * plugins/elements/gstcapsfilter.h:
7299         * plugins/elements/gstfdsink.h:
7300         * plugins/elements/gstfdsrc.h:
7301           Add more missing docs.
7302
7303 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7304
7305         * gst/gststructure.c:
7306         Add Since tag to docs.
7307
7308 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7309
7310         * docs/gst/gstreamer-sections.txt:
7311         * gst/gststructure.c: (gst_structure_get_uint):
7312         * gst/gststructure.h:
7313         Add function to get uint from a structure.
7314         API: gst_structure_get_uint()
7315
7316 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7317
7318         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7319         (gst_caps_intersect):
7320         Fix proper check for simple caps.
7321
7322 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7323
7324         * docs/gst/Makefile.am:
7325         * docs/libs/Makefile.am:
7326           Remove cruft and do some cleanups.
7327
7328         * docs/gst/gstreamer-docs.sgml:
7329         * docs/libs/gstreamer-libs-docs.sgml:
7330           Prepare for comming gtkdoc features (rebase against online docs).
7331
7332 2007-08-10  Michael Smith <msmith@fluendo.com>
7333
7334         * docs/gst/gstreamer-sections.txt:
7335           Add gst_registry_add_path to docs.
7336
7337 2007-08-10  Michael Smith <msmith@fluendo.com>
7338
7339         * gst/gstregistry.h:
7340           Add gst_registry_add_path, which was missing from this header.
7341
7342 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7343
7344         * libs/gst/controller/gstlfocontrolsource.c:
7345           Printf format fix.
7346
7347 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7348
7349         * libs/gst/base/gstbasesink.c:
7350           Don't send an async_start message during downwards state change if 
7351           target state is less than READY
7352
7353 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7354
7355         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7356
7357         * po/LINGUAS:
7358         * po/hu.po:
7359           Added Hungarian translation.
7360
7361 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7362
7363         * po/fi.po:
7364         * po/it.po:
7365         * po/nl.po:
7366         * po/sv.po:
7367         * po/uk.po:
7368           Updated translations.
7369
7370 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7371
7372         * libs/gst/controller/Makefile.am:
7373         Dist gstlfocontrolsourceprivate.h
7374
7375 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7376
7377         * docs/libs/gstreamer-libs.types:
7378         Don't register the enum type gst_lfo_waveform_get_type() in the
7379         .types file - only GObject derived types belong.
7380
7381 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7382
7383         Patch by: <arenevier at fdn dot fr>
7384
7385         * gst/gstbuffer.h:
7386         Remove comma from last element in enum to avoid compile errors when
7387         using -pendantic. Fixes #464366.
7388
7389 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7390
7391         * docs/design/part-TODO.txt:
7392         Add some more TODO items
7393
7394         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7395         Improve debugging.
7396
7397         * gst/gstcaps.c: (gst_caps_intersect):
7398         Optimize trivial intersection case between identical caps pointers.
7399
7400         * gst/gstelement.c: (gst_element_continue_state),
7401         (gst_element_set_state_func):
7402         * gst/gstpad.c:
7403         Fix spelling and grammar mistakes.
7404
7405 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7406
7407         * po/POTFILES.in:
7408         * po/POTFILES.skip:
7409           Update POTFILES. Fixes #461599.
7410
7411 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7412
7413         * gst/gst.c:
7414         Fix confusing typo in debug output.
7415
7416 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7417
7418         reviewed by: Stefan Kost <ensonic@users.sf.net>
7419
7420         * libs/gst/controller/Makefile.am:
7421         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7422         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7423         (gst_lfo_control_source_new),
7424         (gst_lfo_control_source_set_waveform),
7425         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7426         (gst_lfo_control_source_finalize),
7427         (gst_lfo_control_source_dispose),
7428         (gst_lfo_control_source_set_property),
7429         (gst_lfo_control_source_get_property),
7430         (gst_lfo_control_source_class_init):
7431         * libs/gst/controller/gstlfocontrolsource.h:
7432         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7433         API: Add GstLFOControlSource, a control source that gives values
7434         for specific timestamps based on several periodic waveforms.
7435         Fixes #459717.
7436
7437         * tests/check/libs/controller.c: (GST_START_TEST),
7438         (gst_controller_suite):
7439         * docs/libs/gstreamer-libs-docs.sgml:
7440         * docs/libs/gstreamer-libs-sections.txt:
7441         * docs/libs/gstreamer-libs.types:
7442         Add documentation and unit tests for GstLFOControlSource.
7443
7444 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7445
7446         * configure.ac:
7447         Back to CVS
7448
7449 === release 0.10.14 ===
7450
7451 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7452
7453         * configure.ac:
7454           releasing 0.10.14, "Breathing Vacuum"
7455
7456 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7457
7458         * gst/gstelement.c: (gst_element_class_set_details_simple):
7459         * gst/gstelement.h:
7460           Make strings passed to gst_element_class_set_details_simple()
7461           constant, as they should be (#462752).
7462
7463 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7464
7465         * gst/gstbin.c: (gst_bin_change_state_func),
7466         (bin_handle_async_done), (gst_bin_handle_message_func):
7467         Don't forget about the fact that some element went ASYNC even after a
7468         resync. This makes us post the ASYNC_DONE message correctly.
7469         Fixes #462558.
7470
7471 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7472
7473         * gst/gstregistry.c: (gst_registry_add_feature):
7474         When replacing an existing feature in the registry, make sure to
7475         continue holding a reference until we've replaced the name string
7476         within our feature hash table. Make sure to use g_hash_table_replace
7477         instead of g_hash_table_insert to ensure the new name string is used
7478         as a key instead of the old one that we're about to free.
7479         Fixes: #462085
7480
7481 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7482
7483         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7484         (gst_plugin_feature_set_name):
7485         Revert patch from #459466 until after the release and we can work
7486         out exactly what the problem is (if any).
7487
7488 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7489
7490         * docs/gst/gstreamer-sections.txt:
7491         * gst/gsttaglist.c:
7492         * gst/gsttaglist.h:
7493           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7494
7495 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7496
7497         * docs/libs/Makefile.am:
7498         Include our build-prefix libs and includes before the generic ones to
7499         avoid linking against the installed libs when we want the build-tree
7500         ones.
7501
7502 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7503
7504         Patch by: Steve Fink  <sphink gmail com>
7505
7506         * docs/pwg/building-testapp.xml:
7507           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7508           if people try to build or install the example from the plugin
7509           template against a GStreamer from package using the configure
7510           defaults.
7511
7512 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7513
7514         Patch by: Steve Fink  <sphink gmail com>
7515
7516         * tools/gst-inspect.1.in:
7517           Document --print-all and --print-plugin-auto-install-info command
7518           line options in man page.
7519
7520 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7521
7522         * docs/gst/gstreamer-sections.txt:
7523         Add docs for new api function.
7524
7525 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7526
7527         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7528         * gst/gstelementfactory.h:
7529         API: gst_element_factory_has_interface()
7530         Added method to check if an element factory implements a named
7531         interface.
7532
7533 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7534
7535         * configure.ac:
7536         * docs/gst/gstreamer.types.in:
7537           Another conditional doc check.
7538
7539         * gst/gstmessage.c:
7540         * gst/gstparamspecs.h:
7541         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7542         * gst/gstvalue.c:
7543         * gst/gstxml.h:
7544           API-doc fixes.
7545
7546 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7547
7548         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7549         (gst_registry_binary_load_feature),
7550         (gst_registry_binary_load_plugin),
7551         (gst_registry_binary_read_cache):
7552           Print error just once and with additional info.
7553
7554 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7555
7556         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7557         (helper_find_suggest), (helper_find_get_length),
7558         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7559         (gst_type_find_helper_for_buffer):
7560           Cleanup the typefindhelper code and add private doc comments.
7561
7562 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7563
7564         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7565         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7566         Fix capsfilter for cases where the caps set on capsfilter will provide
7567         additional information.
7568         Fixes #449197
7569
7570 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7571
7572         * gst/gsttypefindfactory.c:
7573           Fix docs that recommened wrong function to use.
7574
7575 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7576
7577         * tools/gst-inspect.c: (print_plugin_features):
7578           Also give media-type for typefinders in element output.
7579
7580 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7581
7582         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7583         (gst_registry_remove_features_for_plugin_unlocked),
7584         (gst_registry_add_feature), (gst_registry_remove_feature),
7585         (gst_registry_lookup_feature_locked):
7586         * gst/gstregistry.h:
7587           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7588           Fixes #459501.
7589
7590 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7591
7592         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7593         (gst_plugin_feature_set_name):
7594           Avoid double memory usage for pluginfeature names. Fixes #459466.
7595
7596 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7597
7598         * gst/gstpad.h:
7599           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7600           driving the pipeline may need to explicitly check for NOT_LINKED as
7601           well, since IS_FATAL doesn't cover that.
7602
7603 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7604
7605         * docs/pwg/advanced-types.xml:
7606           Fix typo and duplicate entry in video formats list.
7607
7608 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7609
7610         * libs/gst/controller/gstinterpolation.c:
7611         Also round to the nearest int when using cubic interpolation.
7612
7613 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7614
7615         * libs/gst/controller/gstinterpolation.c:
7616         When linearly interpolating integer types, round to the nearest int
7617         by adding 0.5. Don't do it for float/double types.
7618         Fixes the failing controller test on my machine, which is somehow
7619         rounding differently than on the buildbots.
7620
7621 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7622
7623         * tools/gst-plot-timeline.py:
7624           Better log parsing (categories can have -). Adjust text vs. lines, so
7625           that they span the same y-range.        
7626
7627 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7628
7629         * docs/random/ensonic/audiobaseclasses.txt:
7630         * docs/random/ensonic/dynlink.txt:
7631         * docs/random/ensonic/profiling.txt:
7632           Save my thoughts.
7633
7634         * docs/random/moving-plugins:
7635           Add note to use g_assert type macros.
7636
7637 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7638
7639         * configure.ac:
7640         * libs/gst/check/Makefile.am:
7641           Add libm check as we use in for plugins.
7642
7643 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7644
7645         * gst/gstbin.c: (gst_bin_continue_func):
7646         Check that the state_cookie hasn't changed since the continue_func
7647         was scheduled. Avoids problems where the state changes back to
7648         something it shouldn't be because it was changed in the meantime.
7649
7650 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7651
7652         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7653         (gst_registry_binary_save_string),
7654         (gst_registry_binary_save_pad_template),
7655         (gst_registry_binary_save_feature),
7656         (gst_registry_binary_save_plugin),
7657         (gst_registry_binary_load_feature),
7658         (gst_registry_binary_load_plugin),
7659         (gst_registry_binary_read_cache):
7660           Fix memory leak. Be less verbose in the log.
7661
7662 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7663
7664         * tests/check/elements/.cvsignore:
7665         Add file to cvsignore as commanded.
7666
7667 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7668
7669         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7670         (mq_dummypad_event), (run_output_order_test):
7671         Use a GStaticMutex to protect all cases where libcheck
7672         fail_if/fail_unless macros might be called from multiple threads
7673         simultaneously to avoid errors like:
7674           "check_pack.c:107: :-1081725400:Bad message type arg"
7675
7676 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7677
7678         * tests/check/pipelines/stress.c: (GST_START_TEST):
7679         Make sure we set the pipeline back to the NULL state before
7680         dropping our final reference.
7681
7682 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7683
7684         * tests/check/elements/tee.c: (GST_START_TEST):
7685         Make the tee stress-test a little less stressful so it doesn't just
7686         time out on slow-machines, and remove a small race when it's starting 
7687         up by adding a get_state() call.
7688
7689 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * gst/gst.c:
7692           Avoid reading registry twice on startup. Fixes #457322.
7693
7694 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7695
7696         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7697         * pkgconfig/gstreamer-check.pc.in:
7698         Substitute the CFLAGS for libcheck into our .pc file too so that
7699         dependent modules will pick it up properly if libcheck is installed
7700         into some other prefix.
7701
7702 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7703
7704         * configure.ac:
7705         Revert the pkg-config check for libcheck, since it pulls in the
7706         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7707         a proper solution, either from the check project, or something else.
7708
7709 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7710
7711         * configure.ac:
7712           Use pkg-config to locate check.
7713
7714 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7715
7716         * gst/gsttaglist.c:
7717           Fix doc syntax.
7718
7719         * gst/gstutils.c:
7720         * gst/gstutils.h:
7721           Add deprecation guards.
7722
7723         * libs/gst/base/gstcollectpads.h:
7724           Don't document object (this is implicitly private).
7725
7726 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7727
7728         * gst/gststructure.c: (gst_structure_parse_value):
7729           When deserialising foo=bar without a type cast, check if it's a
7730           boolean before falling back to a string type, otherwise things like
7731           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7732           because the filtercaps end up having a signed=(string)true field,
7733           which causes problems later when intersection caps.
7734
7735         * tests/check/gst/gststructure.c: (GST_START_TEST):
7736           Add a unit test for this.
7737
7738 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7739
7740         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7741
7742         * libs/gst/controller/Makefile.am:
7743         * libs/gst/controller/gstcontroller.c:
7744         (gst_controlled_property_add_interpolation_control_source),
7745         (gst_controlled_property_new), (gst_controlled_property_free),
7746         (gst_controller_find_controlled_property),
7747         (gst_controller_new_valist), (gst_controller_new_list),
7748         (gst_controller_new), (gst_controller_remove_properties_valist),
7749         (gst_controller_remove_properties_list),
7750         (gst_controller_remove_properties),
7751         (gst_controller_set_property_disabled),
7752         (gst_controller_set_disabled), (gst_controller_set_control_source),
7753         (gst_controller_get_control_source), (gst_controller_get),
7754         (gst_controller_sync_values), (gst_controller_get_value_array),
7755         (_gst_controller_dispose), (gst_controller_get_type),
7756         (gst_controlled_property_set_interpolation_mode),
7757         (gst_controller_set), (gst_controller_set_from_list),
7758         (gst_controller_unset), (gst_controller_unset_all),
7759         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7760         * libs/gst/controller/gstcontroller.h:
7761         * libs/gst/controller/gstcontrollerprivate.h:
7762         * libs/gst/controller/gstcontrolsource.c:
7763         (gst_control_source_class_init), (gst_control_source_init),
7764         (gst_control_source_get_value),
7765         (gst_control_source_get_value_array), (gst_control_source_bind):
7766         * libs/gst/controller/gstcontrolsource.h:
7767         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7768         (gst_object_get_control_source):
7769         * libs/gst/controller/gstinterpolation.c:
7770         (gst_interpolation_control_source_find_control_point_node),
7771         (gst_interpolation_control_source_get_first_value),
7772         (_interpolate_none_get), (interpolate_none_get),
7773         (interpolate_none_get_boolean_value_array),
7774         (interpolate_none_get_enum_value_array),
7775         (interpolate_none_get_string_value_array),
7776         (_interpolate_trigger_get), (interpolate_trigger_get),
7777         (interpolate_trigger_get_boolean_value_array),
7778         (interpolate_trigger_get_enum_value_array),
7779         (interpolate_trigger_get_string_value_array):
7780         * libs/gst/controller/gstinterpolationcontrolsource.c:
7781         (gst_control_point_free), (gst_interpolation_control_source_reset),
7782         (gst_interpolation_control_source_new),
7783         (gst_interpolation_control_source_set_interpolation_mode),
7784         (gst_interpolation_control_source_bind),
7785         (gst_control_point_compare), (gst_control_point_find),
7786         (gst_interpolation_control_source_set_internal),
7787         (gst_interpolation_control_source_set),
7788         (gst_interpolation_control_source_set_from_list),
7789         (gst_interpolation_control_source_unset),
7790         (gst_interpolation_control_source_unset_all),
7791         (gst_interpolation_control_source_get_all),
7792         (gst_interpolation_control_source_get_count),
7793         (gst_interpolation_control_source_init),
7794         (gst_interpolation_control_source_finalize),
7795         (gst_interpolation_control_source_dispose),
7796         (gst_interpolation_control_source_class_init):
7797         * libs/gst/controller/gstinterpolationcontrolsource.h:
7798         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7799         API: Refactor GstController into the core controller which can take
7800         a GstControlSource for providing actual values for timestamps.
7801         Implement a interpolation control source and use this for backward
7802         compatibility, deprecate a bunch of functions that are now handled
7803         by GstControlSource or GstInterpolationControlSource.
7804         Make it possible to disable the controller completely or only for
7805         specific properties. Fixes #450711.
7806         * docs/libs/gstreamer-libs-docs.sgml:
7807         * docs/libs/gstreamer-libs-sections.txt:
7808         * docs/libs/gstreamer-libs.types:
7809         Add new functions and classes to the docs.
7810         * tests/check/libs/controller.c: (GST_START_TEST),
7811         (gst_controller_suite):
7812         * tests/examples/controller/audio-example.c: (main):
7813         Port unit test and example to the new API and add some new
7814         unit tests.
7815
7816 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7817
7818         Patch by: Mark Nauwelaerts <manauw at skynet be>
7819
7820         * plugins/elements/gstmultiqueue.c:
7821         (gst_multi_queue_get_internal_links), (apply_buffer),
7822         (single_queue_overrun_cb), (gst_single_queue_new):
7823         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7824         the pipeline layout can be tracked correctly. Fixes #453732.
7825
7826 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7827
7828         * docs/gst/Makefile.am:
7829         * docs/libs/Makefile.am:
7830         * docs/plugins/Makefile.am:
7831           Simplify --extra-dir as gtkdoc scans recursively.
7832
7833 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7834
7835         * tools/gst-launch.c: (main):
7836         When we got an error, there is no point in waiting for preroll when
7837         shutting down.
7838
7839 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7840
7841         * plugins/elements/gsttee.c: (gst_tee_base_init),
7842         (gst_tee_request_new_pad), (gst_tee_release_pad),
7843         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7844         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7845         (gst_tee_chain):
7846         Be a lot smarter when deciding what srcpad to use for proxying
7847         the buffer_alloc. Also handle pad added/removed when doing so.
7848         Fixes #357959.
7849         Keep track of what pads we already pushed on in case we have pads
7850         added/removed while pushing. Fixes #374639 
7851
7852         * tests/check/Makefile.am:
7853         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7854         (tee_suite):
7855         Added unit test for pad resync.
7856
7857 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7858
7859         * po/nl.po:
7860         * po/sv.po:
7861           Updated translations.
7862
7863 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7864
7865         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7866
7867         * po/LINGUAS:
7868         * po/fi.po:
7869           Added new Finnish translation.
7870
7871 2007-06-28  Wim Taymans  <wim@fluendo.com>
7872
7873         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7874         (single_queue_overrun_cb):
7875         When figuring out when a queue is filled, use our internal time estimate
7876         based on segments, just like check_full does.
7877
7878 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7879
7880         * gst/gstminiobject.c: (gst_mini_object_get_type):
7881           Remove 3 do-nothing methods.
7882
7883 2007-06-27  Wim Taymans  <wim@fluendo.com>
7884
7885         Patch by: Tim Angus <tim at ngus dot net>
7886
7887         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7888         (gst_capsfilter_set_property):
7889         Take a reference instead of a copy when setting "caps".
7890         Fix documentation to clarify this behaviour. Fixes #449414.
7891
7892 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7895         * gst/gstplugin.c: (gst_plugin_init):
7896         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7897         * gst/gstquery.c: (gst_query_get_type):
7898         * gst/gstregistry.c: (gst_registry_init):
7899         * gst/gsturi.c: (gst_uri_handler_base_init):
7900           Remove empty instance_init() functions to save relocs and lessen the
7901           noise. Remove some of the function prototypes that are doubled by
7902           G_DEFINE_TYPE.
7903           
7904 2007-06-27  Wim Taymans  <wim@fluendo.com>
7905
7906         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7907
7908         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7909         Add peer and direction in the XML serialisation of ghostpads.
7910         Fixes #449226.
7911
7912 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7913
7914         * configure.ac:
7915           Preserve useful information, thanks Tim.
7916
7917 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7918
7919         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7920         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7921         (gst_single_queue_push_one), (gst_multi_queue_loop),
7922         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7923         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7924         (compute_high_id), (gst_single_queue_new):
7925         * plugins/elements/gstmultiqueue.h:
7926         Take the multiqueue lock when updating the fill level so we don't get
7927         confused. 
7928
7929         After applying a buffer or event on the src pad segment, make sure to
7930         call gst_data_queue_limits_changed() to get the data queue to unblock
7931         and check the filled state again.
7932         
7933         Rework the not-linked pad handling so the logic is that not-linked 
7934         pads can push as fast as they like, but only so they never get 
7935         ahead of any linked pads.
7936
7937         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
7938         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
7939         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
7940
7941         Add a test to check that not-linked pads always stay behind
7942         linked pads.
7943
7944         Fixes: #430682
7945
7946 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
7947
7948         * docs/random/release:
7949           Some updates to the release procedure.
7950
7951 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7952
7953         * gst/gstelementfactory.c: (__gst_element_details_clear):
7954           Microoptimization that saves stunning 80 bytes.
7955
7956 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
7957
7958         * docs/plugins/gstreamer-plugins.args:
7959         * docs/plugins/inspect/plugin-coreelements.xml:
7960         * docs/plugins/inspect/plugin-coreindexers.xml:
7961           Update docs with caps info.
7962
7963 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7964
7965         * po/it.po:
7966           Updated Italian translation.
7967
7968 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
7969
7970         * ChangeLog:
7971         * po/vi.po:
7972           Update Vietnamese translations.
7973
7974 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         * libs/gst/base/gstbasesink.c:
7977           Remove unused signal enum.
7978
7979 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7980
7981         * docs/gst/gstreamer-sections.txt:
7982         * gst/gstelement.c:
7983         * gst/gstutils.c: (gst_type_register_static_full):
7984         Beef up and include the docs for gst_type_register_static_full and
7985         gst_element_class_set_details_simple and add the API keyword
7986         in the ChangeLog.
7987
7988 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
7989
7990         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
7991         (update_time_level), (gst_single_queue_push_one),
7992         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
7993         (single_queue_overrun_cb), (single_queue_underrun_cb),
7994         (single_queue_check_full):
7995         Fix setting max-* properties after adding queues.
7996         Use IS_FILLED for checking visible items.
7997         Signal overrun if multiple queues overrun.
7998         Add extra debug output.
7999         Patch by: Wim Taymans <wim@fluendo.com>
8000
8001 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8002
8003         * gst/gstelement.c: (gst_element_class_set_details_simple):
8004         * gst/gstelement.h:
8005         * gst/gstutils.c: (gst_type_register_static_full):
8006         * gst/gstutils.h:
8007         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8008         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8009         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8010         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8011         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8012         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8013         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8014         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8015         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8016         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8017         (apply_buffer), (gst_queue_chain):
8018         * plugins/elements/gsttee.c: (gst_tee_base_init):
8019         * plugins/elements/gsttypefindelement.c:
8020         (gst_type_find_element_base_init),
8021         (gst_type_find_element_class_init):
8022           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8023           API: add gst_type_register_static_full
8024           API: add gst_element_class_set_details_simple
8025
8026 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8027
8028         * docs/pwg/advanced-types.xml:
8029           Fix typo in iana.org URI.
8030
8031 2007-06-19  Andy Wingo  <wingo@pobox.com>
8032
8033         * tests/check/pipelines/simple-launch-lines.c
8034         (test_state_change_returns): Enable pull-mode tests now that
8035         basesink has been fixed.
8036
8037         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8038         Changed from gst_base_sink_is_prerolled, reversing the sense of
8039         the return value. Returns FALSE also if the sink is in pull mode,
8040         in which case it needs no preroll.
8041         (gst_base_sink_query, gst_base_sink_change_state): Update for
8042         needs_preroll change.
8043         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8044         chaining up, in which we return SUCCESS directly if we activated
8045         in pull mode instead of ASYNC. Involves countering an async_start
8046         message sent before chaining up; not sure if this is correct, in
8047         an ideal world we only send async-start when activating in push
8048         mode.
8049
8050         * tests/check/pipelines/simple-launch-lines.c
8051         (test_state_change_returns): New test, partially disabled until
8052         basesink is fixed.
8053
8054 2007-06-19  Wim Taymans  <wim@fluendo.com>
8055
8056         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8057         (gst_multi_queue_sink_event):
8058         Fix event leak.
8059
8060 2007-06-19  Wim Taymans  <wim@fluendo.com>
8061
8062         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8063         (gst_bin_change_state_func), (bin_push_state_continue),
8064         (bin_handle_async_start), (bin_handle_async_done),
8065         (gst_bin_handle_message_func):
8066         Move the common code for posting state-change messages into
8067         one function.
8068         Broadcast the state signal after we posted the messages.
8069         Mark the bin as busy when it's doing a state-change.
8070         Make sure async-start/done messages don't interfere with the bin's
8071         state when it's busy.
8072         After the state change, let the bin check which elements completed the
8073         state change while it was busy so that it can update its state.
8074
8075 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8076
8077         * docs/random/release:
8078         Add a note about updating the doap file to the release checklist
8079
8080 2007-06-18  Wim Taymans  <wim@fluendo.com>
8081
8082         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8083         (gst_single_queue_push_one), (gst_multi_queue_chain),
8084         (gst_multi_queue_sink_event):
8085         Make sure we don't reference the buffer/event after we have given away
8086         ownership in the queue.
8087
8088 2007-06-18  Wim Taymans  <wim@fluendo.com>
8089
8090         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8091         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8092         Update queue state _after_ adding the item in the queue because else we
8093         could end up being full without the element added yet.
8094
8095 2007-06-18  Wim Taymans  <wim@fluendo.com>
8096
8097         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8098         (gst_bin_remove_func), (gst_bin_get_state_func),
8099         (gst_bin_element_set_state), (gst_bin_continue_func),
8100         (bin_push_state_continue), (bin_handle_async_start),
8101         (bin_handle_async_done), (gst_bin_handle_message_func):
8102         * gst/gstbin.h:
8103         Immediatly commit the toplevel bin state when receiving an async-done
8104         message. This enables us to avoid spawning a thread to commit the state
8105         in some common cases and it also avoids some races.
8106         Avoid spawning a state thread when adding/removing async elements to a
8107         toplevel bin. Instead we immediatly update the bin state.
8108         Get rid of iterating all the children when getting the state in the bin
8109         because it is now always up-to-date.
8110         Fix bug where locked elements would always return _SUCCESS even it they
8111         returned NO_PREROLL before being locked.
8112         Fix the order of the state_change, async-start/done messages that was
8113         sometimes incorrect.
8114         Mark the state_dirty field as deprecated, we don't need it anymore as we
8115         are always up-to-date.
8116
8117         * gst/gstelement.c: (gst_element_get_state_func),
8118         (gst_element_continue_state):
8119         Small debug inprovements.
8120         Return the previous element state return when nothing is pending instead
8121         of blindly returning SUCCESS.
8122
8123         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8124         (gst_sinks_suite):
8125         Add a whole bunch of new testcases.
8126
8127 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8128
8129         * po/uk.po:
8130         * po/vi.po:
8131           Update translations.
8132
8133 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8134
8135         * gst/gstpad.c:
8136         Fix typo in the docs.
8137
8138 2007-06-15  Wim Taymans  <wim@fluendo.com>
8139
8140         * docs/libs/gstreamer-libs-sections.txt:
8141         Add docs for new methods.
8142
8143 2007-06-15  Wim Taymans  <wim@fluendo.com>
8144
8145         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8146         (gst_multi_queue_item_new):
8147         Don't use GSlice because we don't depend on >= 2.10 yet.
8148
8149 2007-06-15  Wim Taymans  <wim@fluendo.com>
8150
8151         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8152         (update_time_level), (apply_segment), (apply_buffer),
8153         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8154         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8155         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8156         (single_queue_underrun_cb), (single_queue_check_full):
8157         Remove debug printf.
8158
8159 2007-06-15  Wim Taymans  <wim@fluendo.com>
8160
8161         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8162         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8163         (gst_data_queue_set_flushing), (gst_data_queue_push),
8164         (gst_data_queue_pop), (gst_data_queue_drop_head),
8165         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8166         * libs/gst/base/gstdataqueue.h:
8167         Various cleanups.
8168         Added methods to get the current levels and to inform the queue that the
8169         'full' limits changed.
8170
8171         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8172         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8173         (gst_single_queue_flush), (update_time_level), (apply_segment),
8174         (apply_buffer), (gst_single_queue_push_one),
8175         (gst_multi_queue_item_steal_object),
8176         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8177         (gst_multi_queue_loop), (gst_multi_queue_chain),
8178         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8179         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8180         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8181         (single_queue_underrun_cb), (single_queue_check_full),
8182         (gst_single_queue_new):
8183         Keep track of time in the queue by measuring the difference between
8184         running_time on input and output. This gives more accurate results and
8185         can compensate for segments correctly.
8186         Make a queue by default only 5 buffers deep. We will now increase the
8187         buffer size depending on the filledness of the other queues.
8188         Factor out commong flush code.
8189         Make sure we don't add additional refcounts to buffers when we can avoid
8190         it.
8191         Propagate GstFlowReturn differently.
8192         Use GSlice for intermediate GstMultiQueueItems.
8193         Keep track of EOS.
8194         Resize queues on over and underruns based on filled level of other
8195         queues.
8196         When checking if the queue is filled, prefer to measure in time if we
8197         can and fall back to bytes when no time is known.
8198
8199         * plugins/elements/gstqueue.c:
8200         Fix return value.
8201
8202 2007-06-15  Wim Taymans  <wim@fluendo.com>
8203
8204         * libs/gst/base/gstbasetransform.c:
8205         (gst_base_transform_sink_event):
8206         Work around the brokenness of the event vmethod in basetransform. Prefer
8207         to return TRUE when the subclass returned FALSE (meaning don't forward
8208         the event). 
8209
8210         * libs/gst/base/gstbasetransform.h:
8211         Clarify the docs.
8212
8213 2007-06-15  Wim Taymans  <wim@fluendo.com>
8214
8215         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8216         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8217         (gst_base_src_default_query), (gst_base_src_get_range),
8218         (gst_base_src_start):
8219         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8220         Improve debugging.
8221
8222 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8223
8224         * docs/pwg/advanced-types.xml:
8225           Added more formats to caps table.
8226
8227 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8228
8229         * tools/gst-launch.c: (main):
8230           Remove crufy code. GOption does not need this workaround.
8231
8232 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8233
8234         * libs/gst/controller/gstcontroller.c:
8235         (gst_controlled_property_set_interpolation_mode):
8236           Fix wrong getter for enums in controller.
8237
8238 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8239
8240         * libs/gst/check/gstcheck.c: (gst_check_init):
8241           Intercept criticals and warnings in the Gst-Phonon log domain, so
8242           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8243           well.
8244         
8245 2007-06-14  Edward Hervey  <edward@fluendo.com>
8246
8247         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8248         Since this file doesn't include "gst.h" it will not go through the
8249         macros that disable GST_LOG if debugging was disabled.
8250
8251 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8252
8253         * libs/gst/check/Makefile.am:
8254         * libs/gst/check/gstcheck.h:
8255         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8256         * pkgconfig/gstreamer-check.pc.in:
8257           Ugly 'fix' for the controller unit test on the p5 bot: in
8258           fail_unless_equals_float() check whether the values are 'almost
8259           equal' by allowing a small absolute error, which should be good
8260           enough for our use cases (normal numbers and values close to 0).
8261           Proper fixage left to floating point arithmetic aficionados.
8262
8263 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8264
8265         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8266         (gst_base_sink_render_object), (gst_base_sink_get_position):
8267           Add two breaks thats where missing.
8268
8269 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8270
8271         * docs/libs/gstreamer-libs-sections.txt:
8272         * libs/gst/check/gstcheck.h:
8273           API: add fail_unless_equals_float() and assert_equals_float().
8274           Add documentation for some of the macros.
8275
8276         * tests/check/libs/controller.c: (GST_START_TEST):
8277           Use newly-added asserts.
8278
8279 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8280
8281         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8282           Show the caps change in the log to help spotting the case of not
8283           exactly matching caps.
8284
8285 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8286
8287         * docs/pwg/building-boiler.xml:
8288           Fix typos, spotted by Thijs Vermeir (#447190).
8289
8290 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8291
8292         * docs/plugins/tmpl/.cvsignore:
8293         Ignore file to keep the buildbots happy
8294
8295 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8296
8297         * docs/plugins/Makefile.am:
8298         * docs/plugins/gstreamer-plugins-docs.sgml:
8299         * docs/plugins/gstreamer-plugins-sections.txt:
8300         Pull fdsink into the docs too.
8301
8302 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8303
8304         * libs/gst/controller/gstinterpolation.c:
8305         Actually use the new functions with min/max checks for the trigger and
8306         none interpolation modes for get() and get_value_array() instead of
8307         just the latter.
8308
8309 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8310
8311         * libs/gst/controller/gstcontroller.c:
8312         (gst_controlled_property_free):
8313         Unset the minimum and maximum GValues when freeing the corresponding
8314         GstControllerProperty struct.
8315
8316 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8317
8318         * libs/gst/controller/gstcontroller.c:
8319         (gst_controlled_property_new):
8320         * libs/gst/controller/gstcontrollerprivate.h:
8321         * libs/gst/controller/gstinterpolation.c:
8322         (gst_controlled_property_find_control_point_node),
8323         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8324         (interpolate_none_get_string_value_array),
8325         (interpolate_trigger_get),
8326         (interpolate_trigger_get_enum_value_array),
8327         (interpolate_trigger_get_string_value_array):
8328         Protect against values larger or smaller than the minimum or maximum
8329         allowed value for the property when using values that can be compared.
8330
8331         Optimize trigger interpolator a bit by taking the last requested value
8332         into account instead of always looping through the complete list.
8333
8334         Fix coding style a bit, everywhere else we use "return foo" instead
8335         of "return (foo)".
8336         
8337         * tests/check/libs/controller.c: (GST_START_TEST),
8338         (gst_controller_suite):
8339         Add unit test for the protection against too large or too small
8340         values.
8341
8342 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8343
8344         * docs/random/slomo/controller.txt:
8345         Add some thoughts about the future of the controller.
8346
8347 2007-06-08  Wim Taymans  <wim@fluendo.com>
8348
8349         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8350         Don't overflow in retimestamping code.
8351
8352 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8353
8354         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8355         Use gst_util_guint64_to_gdouble for conversions.
8356         * win32/common/libgstreamer.def:
8357         Add new exported functions.
8358
8359 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         * gst/gstutils.c:
8362           Small docs addition.
8363
8364 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8365
8366         * README:
8367           Remove that test line again.
8368
8369 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8370
8371         * README:
8372           Test commit mail sending.
8373
8374 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8375
8376         * configure.ac:
8377           Fix typo and test commit mail sending.
8378
8379 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8380
8381         * tests/examples/controller/audio-example.c:
8382           Improve comment and test commit mail sending.
8383
8384 2007-06-07  Wim Taymans  <wim@fluendo.com>
8385
8386         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8387         (gst_bin_remove_func), (gst_bin_element_set_state),
8388         (bin_handle_async_start), (bin_handle_async_done),
8389         (gst_bin_handle_message_func):
8390         Add helper function to find messages.
8391         Generate the async-done messages together with the state change
8392         messages.
8393         Small cleanups in handling toplevel bins.
8394
8395 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8396
8397         * libs/gst/base/gstdataqueue.c:
8398         * libs/gst/base/gstdataqueue.h:
8399         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8400         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8401         (gst_multi_queue_sink_event):
8402         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8403           Fix multiqueue leaking buffers and events when downstream or the
8404           queue are flushing. Make refcounting assumptions explicit and
8405           document them (shouldn't break existing code that uses it other than
8406           maybe leak miniobjects, but that already happens anyway). Add unit
8407           test for the most common flushing case. Fixes #423700.
8408           
8409 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8410
8411         * libs/gst/controller/gstcontroller.c:
8412         Clarify docs: The get_all, get_value_array(s) functions
8413         don't modify the GObject properties.
8414
8415 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8416
8417         * libs/gst/controller/gstcontroller.c:
8418         (gst_controlled_property_set_interpolation_mode),
8419         (gst_controlled_property_prepend_default),
8420         (gst_controlled_property_new), (gst_controller_set_unlocked),
8421         (gst_controller_set), (gst_controller_set_from_list),
8422         (gst_controller_unset), (gst_controller_unset_all):
8423         * libs/gst/controller/gstcontrollerprivate.h:
8424         * libs/gst/controller/gstinterpolation.c:
8425         Factor out the 'set' logic into gst_controller_set_unlocked for the
8426         gst_controller_set and gst_controller_set_from_list functions.
8427
8428         To make life of the interpolators easier always add a control point
8429         at timestamp zero with the default value.
8430
8431         In the linear interpolator make things more obvious by better variable
8432         naming (slope).
8433
8434         Implement cubic interpolation mode (by using a natural cubic spline)
8435         and map the quadratic interpolation mode to this too (as quadratic
8436         doesn't make much sense, see discussion on the list).
8437
8438         * tests/check/libs/controller.c: (GST_START_TEST),
8439         (gst_controller_suite):
8440         Add unit test for the cubic interpolation mode and check everywhere
8441         if the interpolation mode could be set as expected.
8442
8443 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8444
8445         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8446           Don't use GLib-2.10 functions, we still depend on
8447           GLib-how-old-is-it-again-2.8.
8448
8449 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8450
8451         * docs/gst/gstreamer-sections.txt:
8452         * gst/Makefile.am:
8453         * gst/gst.c:
8454         * gst/gst.h:
8455         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8456         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8457         (_gst_param_fraction_values_cmp),
8458         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8459         * gst/gstparamspecs.h:
8460         * gst/gstvalue.c:
8461         * tests/check/Makefile.am:
8462         * tests/check/gst/.cvsignore:
8463         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8464         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8465         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8466         (GST_START_TEST), (gst_param_spec_suite):
8467           API: add GstParamSpecFraction, so elements can have fraction
8468           properties without lots of painful string parsing (#444648).
8469
8470 2007-06-05  Wim Taymans  <wim@fluendo.com>
8471
8472         * gst/gstobject.c: (gst_object_class_init):
8473         Fix signal signature.
8474
8475         * gst/gstsegment.c:
8476         Add small clarification in the api docs.
8477
8478         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8479         States are protected with object lock.
8480
8481 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8482
8483         * AUTHORS:
8484         I should probably be listed as an author by now.
8485
8486         * docs/random/release:
8487         Update the release doc
8488
8489 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8490
8491         * gst/gstvalue.c:
8492           Make docs for gst_value_compare() mention return enums that
8493           actually exist.
8494
8495 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8496
8497         * configure.ac:
8498           Back to CVS
8499
8500 === release 0.10.13 ===
8501
8502 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8503
8504         * configure.ac:
8505           releasing 0.10.13, "With or without you"
8506
8507 2007-05-25  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstbin.c: (bin_handle_async_done):
8510         Make sure that the child bin stops after completing the async state
8511         change so that the parent can continue the state change to PLAYING.
8512         Fixes #441159.
8513
8514 2007-05-25  Wim Taymans  <wim@fluendo.com>
8515
8516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8517         (unref_data), (gst_collect_pads_remove_pad),
8518         (gst_collect_pads_check_pads):
8519         Use additional refcounting to avoid crashes when dynamically adding and
8520         removing pads. Fixes #420206.
8521
8522 2007-05-24  Wim Taymans  <wim@fluendo.com>
8523
8524         * tools/gst-launch.c: (event_loop):
8525         When buffering goes from a two digit to a single digit number, make sure
8526         to remove the old second digit by writing a blank over it.
8527
8528 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8529
8530         * libs/gst/base/gstdataqueue.c:
8531           Eliminate tabs and trailing comma in enum list; fix some typos.
8532
8533 2007-05-24  Wim Taymans  <wim@fluendo.com>
8534
8535         * tests/check/gst/gstbin.c: (GST_START_TEST):
8536         Allow refcount of 3 and 4 because some state thread might still be busy
8537         with it.
8538
8539 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8540
8541         * plugins/elements/Makefile.am:
8542         * plugins/elements/gstmultiqueue.h:
8543         * plugins/elements/gstqueue.h:
8544           These are not installed headers, no need for padding.
8545
8546 2007-05-24  Wim Taymans  <wim@fluendo.com>
8547
8548         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8549         (gst_bin_continue_func):
8550         Enable latency for next release.
8551         Restore STATE_LOCK around recalc_state that was left out during the
8552         rewrite and could result in racy behaviour when _get_state and
8553         recalc_state are run concurrently. See #440463.
8554
8555 2007-05-23  Wim Taymans  <wim@fluendo.com>
8556
8557         * tests/check/gst/gstsystemclock.c: (store_callback),
8558         (GST_START_TEST):
8559         Improve test_async_order to also work when both timers are already
8560         expired when we get scheduled to check it.
8561
8562 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8563
8564         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8565         (gst_bin_set_property), (gst_bin_get_property),
8566         (gst_bin_remove_func), (gst_bin_handle_message_func):
8567         * gst/gstbin.h:
8568           'private' is a c++ keyword, let's not use that in header files,
8569           otherwise c++ compilers will throw a tantrum.
8570
8571 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         * plugins/elements/gstelements.c:
8574         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8575         (gst_file_sink_get_current_offset):
8576         * plugins/indexers/gstindexers.c: (plugin_init):
8577           Use #ifdef for HAVE_XYZ for consistency.
8578
8579         * tests/check/Makefile.am:
8580         * tests/check/elements/.cvsignore:
8581         * tests/check/elements/filesink.c: (setup_filesink),
8582         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8583           Add some unit tests for filesink.
8584
8585 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8586
8587         Patch by: Mark Nauwelaerts <manauw at skynet be>
8588
8589         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8590         (gst_file_sink_query), (gst_file_sink_do_seek),
8591         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8592         * plugins/elements/gstfilesink.h:
8593           Fix position reporting; rename data_written member to current_pos to
8594           reflect its real meaning (fixes #412648).
8595
8596 2007-05-22  Edward Hervey  <edward@fluendo.com>
8597
8598         * docs/gst/gstreamer-sections.txt:
8599         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8600         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8601         (gst_bin_remove_func), (gst_bin_handle_message_func):
8602         * gst/gstbin.h:
8603         Add a property for bins that handle the state change of their childs.
8604         Fixes #435880
8605
8606 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8607
8608         * libs/gst/controller/gstinterpolation.c:
8609         Use an array of the correct type when using _get_value_array with
8610         linear interpolation.
8611
8612 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8613
8614         * gst/gstelement.c (gst_element_requires_clock,
8615           gst_element_provides_clock, gst_element_request_pad,
8616           gst_element_class_set_details, gst_element_class_set_details_simple,
8617           gst_element_default_send_event, gst_element_abort_state,
8618           gst_element_continue_state, gst_element_set_state,
8619           gst_element_set_state_func, iterator_activate_fold_with_resync):
8620         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8621           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8622           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8623           gst_pad_get_range, gst_pad_pull_range):
8624         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8625           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8626           GstPadActivateModeFunction, GstPadChainFunction,
8627           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8628           GstPadFixateCapsFunction, GstPadTemplate):
8629         * gst/gstpipeline.c (gst_pipeline_change_state,
8630           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8631           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8632           gst_pipeline_get_delay):
8633           Whitespace and docs fixes.
8634
8635 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8636
8637         * libs/gst/controller/gstinterpolation.c:
8638         (interpolate_trigger_get_enum_value_array),
8639         (interpolate_trigger_get_string_value_array):
8640         Add support for retrieving value arrays when using the trigger
8641         interpolation mode. 
8642
8643 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8644
8645         * libs/gst/controller/gstcontroller.c:
8646         (gst_controller_get_value_array):
8647         * libs/gst/controller/gstcontroller.h:
8648         Clarify the docs of gst_controller_get_value_array(): The array where
8649         the values should be written to must be allocated as there seems to be
8650         no way to get the size of a random GType. This doesn't change any
8651         behaviour. Also fix some typos all over the place and remove an unused,
8652         commented function that is not necessary as g_object_set() could be
8653         used instead.
8654         * tests/check/libs/controller.c: (GST_START_TEST),
8655         (gst_controller_suite):
8656         Add unit test for gst_controller_get_value_array().
8657
8658 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8659
8660         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8661
8662         Disable part of the gst_buffer_try_new_and_alloc test, because
8663         it can happily succeed on 64-bit systems where there's more address
8664         space available.
8665
8666 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8667
8668         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8669         Add unit test for the improved caps checking from bug #421543.
8670
8671 2007-05-21  Wim Taymans  <wim@fluendo.com>
8672
8673         * docs/design/part-synchronisation.txt:
8674         Small addition.
8675
8676         * gst/gstbin.c: (gst_bin_query):
8677         * plugins/elements/gstqueue.c: (apply_segment):
8678         Improve debugging.
8679
8680         * gst/gstmessage.h:
8681         Improve docs.
8682
8683 2007-05-21  Wim Taymans  <wim@fluendo.com>
8684
8685         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8686         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8687         (gst_pad_configure_src):
8688         Added simple version of improved caps checking. It was previously
8689         assumed that a setcaps function would check the validity of the caps but
8690         people prefer us to check caps against the template automatically. 
8691         Fixes #421543.
8692
8693 2007-05-21  Wim Taymans  <wim@fluendo.com>
8694
8695         * libs/gst/base/gstbasetransform.h:
8696         Fix macro for locking/unlocking the transform lock.
8697
8698 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8699
8700         * docs/plugins/tmpl/.cvsignore:
8701           Ignore more.
8702
8703 2007-05-18  Edward Hervey  <edward@fluendo.com>
8704
8705         * plugins/elements/gstqueue.c: (gst_queue_loop):
8706         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8707         for the subtle art of warning a potentially blocking thread that it
8708         should check the source pad return value, and relay the information
8709         upstream.
8710
8711 2007-05-18  Edward Hervey  <edward@fluendo.com>
8712
8713         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8714         Release the queue lock !
8715
8716 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8717
8718         * docs/libs/gstreamer-libs-sections.txt:
8719         Add the two new controller functions to the appropiate places.
8720
8721 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8722
8723         reviewed by: Stefan Kost <ensonic@users.sf.net>
8724
8725         * libs/gst/controller/gstcontroller.c:
8726         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8727         (_gst_controller_get_property), (_gst_controller_set_property),
8728         (_gst_controller_init), (_gst_controller_class_init):
8729         * libs/gst/controller/gstcontroller.h:
8730         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8731         (gst_object_get_control_rate), (gst_object_set_control_rate):
8732         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8733         Add API that provides sync suggestion timestamps for elements that
8734         call gst_object_sync_values() from which those elements can subdivide
8735         their processing loop to get the best results for the controlled
8736         properties. For now it just suggests last_sync + control_rate as
8737         new timestamp but this will be improved in the future.
8738
8739         While doing that change the control-rate property to a GstClockTime
8740         from guint and change it's meaning from samples to nanoseconds as
8741         the GstController doesn't know anything about sampling rate. Strictly
8742         speaking this breaks ABI but as the control-rate property didn't do
8743         anything in the past and as such couldn't be used this should be no
8744         problem.        
8745
8746 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8747
8748         reviewed by: Stefan Kost <ensonic@users.sf.net>
8749
8750         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8751         (gst_controller_unset_all):
8752         * libs/gst/controller/gstcontrollerprivate.h:
8753         * libs/gst/controller/gstinterpolation.c:
8754         (gst_controlled_property_find_control_point_node):
8755         Save last synced value from the list to continue searching from there
8756         in future syncs. This speeds everything up a bit.
8757         
8758 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8759
8760         reviewed by: Stefan Kost <ensonic@users.sf.net>
8761
8762         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8763         (gst_control_point_find), (gst_controlled_property_new),
8764         (gst_control_point_free), (gst_controlled_property_free),
8765         (gst_controller_set), (gst_controller_set_from_list),
8766         (gst_controller_unset), (gst_controller_unset_all),
8767         (gst_controller_sync_values):
8768         * libs/gst/controller/gstcontroller.h:
8769         * libs/gst/controller/gstcontrollerprivate.h:
8770         * libs/gst/controller/gstinterpolation.c:
8771         (gst_controlled_property_find_control_point_node),
8772         (interpolate_none_get), (interpolate_trigger_get):
8773         Add a new private GstControlPoint struct which "inherits" from
8774         GstTimedValue to allow different interpolators to store internal
8775         values next to each control point. From the outside everything is
8776         still a GstControlPoint so we don't loose binary compatibility.
8777         Also fixup all the GValue handling to not leak GValues or list nodes.
8778         * tests/check/libs/controller.c: (GST_START_TEST):
8779         Free the list nodes and GValues in the controller_misc test.
8780
8781 2007-05-17  Edward Hervey  <edward@fluendo.com>
8782
8783         * gst/gstsegment.c:
8784         Small doc fix.
8785
8786 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * gst/gstplugin.c: (gst_plugin_load_file):
8789           If we fail to load a plugin because of unresolved symbols or missing
8790           libraries and spew a warning to stderr, we may just as well mention
8791           which plugin it was that failed to load.
8792
8793 2007-05-13  David Schleef  <ds@schleef.org>
8794
8795         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8796           handles the case when ENABLE_GTK_DOC is false, and installs
8797           the prebuilt documentation.  So gtk-doc subdirs are 
8798           unconditionally enabled.  Fixes: #349099.
8799
8800 2007-05-13  David Schleef  <ds@schleef.org>
8801
8802         * gst/gstutils.h: Reword some documentation.
8803
8804 2007-05-12  David Schleef  <ds@schleef.org>
8805
8806         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8807           do anything with the passed "module" parameter, so remove it.
8808           Allows removal of additional vestigal code.
8809
8810 2007-05-12  David Schleef  <ds@schleef.org>
8811
8812         * gst/gstplugin.c:
8813           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8814           Switch to using g_stat() because it's more portable.
8815
8816 2007-05-12  David Schleef  <ds@schleef.org>
8817
8818         * gst/gst.c:
8819           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8820           parsing for embedded systems.
8821         * gst/gstelementfactory.c:
8822           Allow gst_element_register() to be called with plugin==NULL.
8823           Did nobody notice that static elements were broken?
8824
8825 2007-05-12  Wim Taymans  <wim@fluendo.com>
8826
8827         * tools/gst-launch.c: (event_loop):
8828         Give more interesting info when buffering starts and stops.
8829         Fix case where buffering starts but we fail to update the buffering flag
8830         because the target state is not PLAYING.
8831
8832 2007-05-12  Wim Taymans  <wim@fluendo.com>
8833
8834         * plugins/elements/gstqueue.c: (gst_queue_init),
8835         (gst_queue_finalize), (update_time_level), (apply_segment),
8836         (apply_buffer), (gst_queue_locked_flush),
8837         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8838         (gst_queue_handle_sink_event), (gst_queue_chain),
8839         (gst_queue_push_one), (gst_queue_loop):
8840         * plugins/elements/gstqueue.h:
8841         Refactor an cleanup queue a bit.
8842         Do better time level calculations that also work when the srcpad is not
8843         yet running.
8844         Remove some unneeded debug lines.
8845
8846         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8847         Added testcase for time level measurement.
8848         Try to make some stuff more racefree.
8849
8850 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8851
8852         * gst/gsturi.c: (gst_element_make_from_uri):
8853           Don't leak plugin feature.
8854
8855         * tests/check/Makefile.am:
8856         * tests/check/gst/.cvsignore:
8857         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8858           Add brain-dead unit test.
8859
8860 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8861
8862         Patch by: Jeroen Wouters <woutersj at gmail com>
8863
8864         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8865           Treat protocol strings in a case-insensitive way (#437563).
8866
8867 2007-05-11  Michael Smith <msmith@fluendo.com>
8868
8869         * gst/gstplugin.c: (gst_plugin_load_file):
8870         * gst/gstregistry.c: (gst_registry_scan_path_level):
8871           Don't print a g_warning for any failure to load a shared object.
8872           Instead, push this down into gstplugin.c, and warn _only_ if we
8873           failed to open the module (i.e. failure to link).
8874           Avoids warnings on normal, working, non-plugin .so files.
8875
8876 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8877
8878         * gst/gstplugin.c (gst_plugin_load_file):
8879         * gst/gstregistry.c (GST_CAT_DEFAULT,
8880           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8881           Print a g_warning if there was an error when loading a plugins during
8882           registry scan. The shuld help beginners starting with gst-plugin
8883           template.
8884
8885 2007-05-10  Wim Taymans  <wim@fluendo.com>
8886
8887         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8888         (update_time_level), (gst_queue_locked_flush),
8889         (gst_queue_handle_sink_event), (gst_queue_chain),
8890         (gst_queue_push_one), (gst_queue_loop):
8891         * plugins/elements/gstqueue.h:
8892         Be smarter when calculating the current amount of data in the queue by
8893         measuring the difference between start and end timestamps (in running
8894         time) inside the queue. Fixes #432876.
8895         API: GstQueue::pushing to notify elements that we are pushing data again
8896         since the running signal is rather broken for this purpose.
8897
8898 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8899
8900         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8901           gst_queue_base_init, gst_queue_init):
8902           use GST_BOILERPLATE
8903
8904 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8905
8906         * win32/common/libgstreamer.def:
8907         Add new exported functions.
8908         * win32/vs6/grammar.dsp:
8909         Use grammar pre-generated files.
8910
8911 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8912
8913         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8914
8915         * gst/Makefile.am:
8916         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8917         * gst/gstparse.h:
8918         * gst/gstutils.c: (gst_parse_bin_from_description):
8919         * gst/gstutils.h:
8920           Maintain API and ABI when --disable-parse is used. Now that
8921           we have an appropriate error code, we can just return NULL and the
8922           appropriate error when gst_parse_launch() is used despite it having
8923           been disabled (#342564).
8924
8925         * tests/check/Makefile.am:
8926         * tests/check/pipelines/.cvsignore:
8927         * tests/check/pipelines/parse-disabled.c:
8928           Make sure these functions exist and return NULL plus a GError when
8929           --disable-parse is used.
8930
8931 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8932
8933         * tests/benchmarks/complexity.c: (main):
8934         * tests/benchmarks/mass-elements.c: (main):
8935           Set a good example and don't leak messages.
8936
8937 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
8938
8939         * docs/gst/Makefile.am:
8940         * docs/libs/Makefile.am:
8941           Correct fixxrefs options.
8942
8943         * docs/plugins/Makefile.am:
8944         * docs/plugins/gstreamer-plugins-docs.sgml:
8945         * docs/plugins/gstreamer-plugins-sections.txt:
8946         * plugins/elements/Makefile.am:
8947         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
8948         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
8949           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
8950           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
8951           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
8952           _GstCapsFilterClass, trans_class):
8953         * plugins/elements/gstelements.c (name, rank, type, _elements):
8954         * plugins/elements/gstidentity.c
8955           (gst_identity_check_imperfect_timestamp,
8956           gst_identity_check_imperfect_offset):
8957           Document capsfilter and add doc-blurb to identity.
8958
8959 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
8960
8961         * libs/gst/controller/gstcontroller.c:
8962         (gst_controlled_property_set_interpolation_mode):
8963         * libs/gst/controller/gstinterpolation.c:
8964           Don't crash if someone tries to set an interpolation mode that
8965           is invalid or that isn't supported yet. Fixes #422295.
8966
8967         * tests/check/libs/controller.c: (GST_START_TEST),
8968         (gst_controller_suite):
8969           Add a test case for the above.
8970
8971 2007-05-03  Edward Hervey  <edward@fluendo.com>
8972
8973         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8974         Properly set the last_stop position on GstSegment. This will only happen
8975         if there is a buffer to push out.
8976
8977 2007-05-03  Wim Taymans  <wim@fluendo.com>
8978
8979         * libs/gst/base/gstbasetransform.c:
8980         (gst_base_transform_buffer_alloc):
8981         always_in_place does not mean that the sink and source caps are the
8982         same! Make sure we don't blindly proxy the buffer_alloc in this case.
8983
8984 2007-05-03  Wim Taymans  <wim@fluendo.com>
8985
8986         * docs/libs/gstreamer-libs-sections.txt:
8987         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8988         (gst_base_src_default_query), (gst_base_src_get_range):
8989         * libs/gst/base/gstbasesrc.h:
8990         API: gst_base_src_query_latency(). Added method so that subclasses can
8991         easily get the latency values of the base source class.
8992
8993 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
8994
8995         * tools/gst-inspect.c (print_implementation_info):
8996         Remove 0.8 cruft.
8997
8998 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
8999
9000         * tools/Makefile.am:
9001         * tools/gst-launch.1.in:
9002           Don't create a customised man page based on the host architecture,
9003           describe the default registry path generically. That way the man
9004           page is the same for all architectures and packagers have one
9005           multilib issue less to deal with. Fixes #434926.
9006
9007 2007-05-02  Wim Taymans  <wim@fluendo.com>
9008
9009         * gst/gstpad.c:
9010         Fix documentation as spotted by rg on IRC. 
9011
9012 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9013
9014         * gst/gstutils.c:
9015           Improve docs for gst_element_{link,unlink}.
9016
9017 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9018
9019         * docs/design/part-events.txt:
9020         * docs/design/part-overview.txt:
9021         * gst/gstevent.c:
9022         * gst/gsturi.c:
9023         * gst/gsturi.h:
9024         * libs/gst/base/gstbasesink.c:
9025           Typo fixes; minor docs addition.
9026
9027 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9028
9029         * docs/gst/gstreamer-sections.txt:
9030         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9031         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9032         * gst/gsturi.h:
9033         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9034         or src that supports a given URI protocol exists.
9035
9036 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9037
9038         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9039         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9040         Set the location to NULL if "file://" is set as URI. Otherwise
9041         some random previous URI would still be set if "file://" is
9042         set on an already used filesink/filesrc.
9043
9044 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9045
9046         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9047         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9048         Special case the "file://" URI as as this is used by some
9049         applications to test with gst_element_make_from_uri if there's
9050         an element that supports the URI protocol.
9051         Also move the g_path_is_absolute() check for the location part
9052         of the URI to also check this for "file://localhost/bla" URIs.
9053
9054 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * docs/gst/gstreamer-sections.txt:
9057         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9058         * gst/gstbuffer.h:
9059         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9060         (gst_buffer_suite):
9061           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9062
9063 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9064
9065         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9066         (gst_registry_binary_load_pad_template),
9067         (gst_registry_binary_load_plugin),
9068         (gst_registry_binary_read_cache):
9069         * gst/gstregistrybinary.h:
9070           Implement no-mmap alternative for registry reading. Do code cleanups.
9071           Add more comments about avoiding strdups for all text data. Comments
9072           welcome.
9073
9074 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9075
9076         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9077           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9078           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9079           Comment structs and reformat to fix the build (that stuff should go
9080           into a priv. header).
9081
9082 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9083
9084         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9085         (gst_registry_binary_load_feature):
9086         * gst/gstregistrybinary.h:
9087           Refactor so that we can implement multiple features. Add support for
9088           TypeFindFactory features.
9089
9090 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9091
9092         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9093
9094         * configure.ac:
9095           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9096
9097 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9098
9099         * gst/gstbin.c: (gst_bin_element_set_state),
9100         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9101         (bin_handle_async_done), (gst_bin_handle_message_func):
9102           Fix build with --gst-disable-gst-debug
9103
9104 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9105
9106         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9107           Make sure streaming has finished before calling the ::stop() vfunc,
9108           since that vfunc might clear state which is being used in the
9109           streaming thread. This fixes a race that caused crashes in
9110           audioresample when shutting down a pipeline (#420106).
9111
9112 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9113
9114         * docs/gst/gstreamer-sections.txt:
9115           That was one byte missing.
9116
9117 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9118
9119         * configure.ac:
9120         * docs/gst/gstreamer-sections.txt:
9121         * gst/Makefile.am:
9122         * gst/gstconfig.h.in:
9123         * gst/gstobject.c: (gst_object_class_init),
9124         (gst_signal_object_class_init):
9125         * gst/gstobject.h:
9126           2nd attempt to have a xml-less build as a joined effort of #413123
9127           and #421480.
9128
9129 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9130
9131         * docs/design/draft-tagreading.txt:
9132           Added open issues/thoughts to draft.
9133
9134 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9135
9136         * gst/parse/grammar.tab.pre.c:
9137         * gst/parse/grammar.tab.pre.h:
9138         * gst/parse/lex._gst_parse_yy.pre.c:
9139         Update the prebuild parser sources.
9140
9141 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9142
9143         * gst/parse/Makefile.am:
9144         And now fix the building of the flex sources. Now everything should
9145         work as expected.
9146
9147 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9148
9149         * gst/parse/Makefile.am:
9150         Now hopefully fix the build failures by setting proper rule
9151         dependencies and moving instead of copying.
9152
9153 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9154
9155         * tests/benchmarks/complexity.gnuplot:
9156         * tests/benchmarks/complexity.scm:
9157         * tests/benchmarks/mass-elements.gnuplot:
9158         * tests/benchmarks/mass-elements.scm:
9159           Total licensification.
9160
9161 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9162
9163         * gst/parse/Makefile.am:
9164           Fix the build by correcting the rule that gave wrong files to flex.
9165
9166 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9167
9168         * tests/benchmarks/complexity.c:
9169         * tests/benchmarks/mass-elements.c:
9170           Change licence to LGPL as granted by Benjamin and Andy.
9171
9172 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9173
9174         * gst/parse/Makefile.am:
9175         Add correct grammar.tab.h dependency if compiling without new enough
9176         flex. Fixes #431150.
9177
9178 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9179
9180         * gst/parse/Makefile.am:
9181         Fix typo and use outdated sources if the flex/bison sources are newer
9182         than the pregenerated ones but flex is too old. Print a warning in
9183         that case. This should fix the build on the build bot.
9184
9185 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9186
9187         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9188         * gst/parse/Makefile.am:
9189         * gst/parse/grammar.y:
9190         * gst/parse/parse.l:
9191         Make the parser reentrant and recursively callable. This requires flex
9192         >= 2.5.31, for older versions pregenerated sources are used as we
9193         can't bump the build dependency. Finally fixes #349180.
9194
9195         * gst/gstparse.c: (gst_parse_launch):
9196         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9197         now anyway.
9198
9199         * docs/gst/Makefile.am:
9200         * docs/gst/Makefile.am:
9201         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9202         (__gst_parse_strfree), (__gst_parse_link_new),
9203         (__gst_parse_link_free), (__gst_parse_chain_new),
9204         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9205         (gst_parse_element_set), (gst_parse_free_link),
9206         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9207         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9208         (_gst_parse_launch):
9209         * gst/parse/grammar.tab.pre.h:
9210         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9211         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9212         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9213         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9214         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9215         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9216         (_gst_parse_yypop_buffer_state),
9217         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9218         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9219         (yy_fatal_error), (_gst_parse_yyget_extra),
9220         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9221         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9222         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9223         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9224         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9225         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9226         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9227         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9228         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9229         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9230         (_gst_parse_yyfree):
9231         If the installed flex version is too old use pre-generated parser
9232         sources. These pre-generated parser sources are always updated when
9233         the actual flex/bison sources change but require everybody who wants
9234         to change something in the parser to have flex >= 2.5.31 installed.
9235
9236 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9237
9238         * common/m4/gst-gettext.m4:
9239         * gst/gst-i18n-lib.h:
9240           Make --disable-nls to work
9241
9242 2007-04-17  Wim Taymans  <wim@fluendo.com>
9243
9244         * gst/gstconfig.h.in:
9245         Revert previous change that broke the build.
9246
9247 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9248
9249         * configure.ac:
9250         * gst/Makefile.am:
9251         * gst/gstconfig.h.in:
9252           Drop libxml2 dependency when building with 
9253           --enable-binary-registry --disable-loadsave
9254
9255 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9256
9257         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9258         (gst_registry_binary_read_cache):
9259         * gst/gstregistrybinary.h:
9260           Remove unnecessary <sys/mman.h> include which broke the win32 build
9261           with MingW; move includes from header file to .c file, even if the
9262           header file isn't installed; use g_strerror() where UTF-8 strings
9263           are expected, such as in GST_DEBUG messages.
9264
9265 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9266
9267         * docs/libs/gstreamer-libs-sections.txt:
9268         Remove bogus addition for API I didn't end up keeping.
9269
9270         * libs/gst/base/gstbasesrc.h:
9271         Mention Since: 0.10.13 in the documentation.
9272
9273         Add the API keyword to the previous ChangeLog entry.
9274
9275 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9276
9277         * docs/libs/gstreamer-libs-sections.txt:
9278         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9279         (gst_base_src_default_prepare_seek_segment),
9280         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9281         * libs/gst/base/gstbasesrc.h:
9282         Allow basesrc derived classes to execute seeks in other formats
9283         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9284         to prepare the GstSegment in any format that their perform_seek method
9285         will be able to understand. The default implementation provides the
9286         old behaviour of attempting to convert the seek offsets to the 
9287         configured native format.
9288
9289         API: basesrc::prepare_seek_segment vmethod.
9290
9291 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9292
9293         * gst/gstelement.c: (gst_element_get_state_func):
9294         Don't output the same debug statement twice.
9295
9296         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9297         (gst_adapter_peek), (gst_adapter_take_buffer):
9298         Optimise the case where we have buffers at the head of the queue that
9299         can be joined quickly (because they're contiguous sub-buffers) by
9300         merging them together rather than copying data out into new memory.
9301
9302         * gst/parse/grammar.y:
9303         * tests/check/pipelines/parse-launch.c:
9304         Fix a leak in an error path for parse_launch, and add a check 
9305         for it to the testsuite.
9306
9307 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9308
9309         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9310           Don't deadlock when releasing a pad - gst_pad_set_active may try
9311           and take the multiqueue lock too.
9312
9313 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9314
9315         * gst/gsterror.c: (_gst_core_errors_init):
9316         * gst/gsterror.h:
9317           API: add GST_CORE_ERROR_DISABLED (#392804).
9318
9319 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9320
9321         * docs/faq/gst-uninstalled:
9322           don't get empty paths on the PATH variables
9323         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9324           Don't format for the uncommon terminal width of 84 characters.
9325
9326 2007-04-06  Wim Taymans  <wim@fluendo.com>
9327
9328         * gst/gstpipeline.c: (reset_stream_time),
9329         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9330         Only try to select a different pipeline clock when we went back to
9331         PAUSED and not when we merely got flushed.
9332
9333 2007-04-05  Michael Smith  <msmith@fluendo.com>
9334
9335         * tools/gst-launch.1.in:
9336           fractions are better supported in gstreamer than ractions, so
9337           suggest using those.
9338
9339 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9340
9341         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9342
9343         * po/LINGUAS:
9344         * po/da.po:
9345           Added Danish translation.
9346
9347 2007-04-05  Wim Taymans  <wim@fluendo.com>
9348
9349         * libs/gst/base/gstbasesink.c:
9350         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9351         Fix leak caused when refusing newsegment after EOS.
9352
9353         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9354         (gst_fake_sink_init), (gst_fake_sink_set_property),
9355         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9356         (gst_fake_sink_render), (gst_fake_sink_change_state):
9357         * plugins/elements/gstfakesink.h:
9358         Add num-buffers property to make the element generate EOS after a
9359         configurable amount of buffers.
9360         API: fakesink::num-buffers property.
9361
9362         * tests/check/elements/fakesink.c: (GST_START_TEST),
9363         (fakesink_suite):
9364         Fix GstBus leak in test.
9365         Test for fakesink num-buffers.
9366
9367 2007-04-05  Wim Taymans  <wim@fluendo.com>
9368
9369         * libs/gst/base/gstbasesink.c:
9370         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9371         (gst_base_sink_change_state):
9372         Don't accept anything after an EOS, return UNEXPECTED instead.
9373
9374         * tests/check/elements/fakesink.c: (GST_START_TEST),
9375         (fakesink_suite):
9376         Unit test for new EOS behaviour.
9377
9378 2007-04-05  Wim Taymans  <wim@fluendo.com>
9379
9380         * gst/gstelement.c: (gst_element_get_request_pad):
9381         Make padtemplates also work when they don't contain %s or %d.
9382
9383 2007-04-05  Wim Taymans  <wim@fluendo.com>
9384
9385         * docs/gst/gstreamer-sections.txt:
9386         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9387         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9388         * gst/gstclock.h:
9389         Improve _adjust_unlocked() so that it overflows less.
9390         Add gst_clock_unadjust_unlocked to convert from external time to
9391         internal time based on calibration.
9392         Add some more debug.
9393         API: GstClock::gst_clock_unadjust_unlocked()
9394
9395 2007-04-03  Wim Taymans  <wim@fluendo.com>
9396
9397         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9398
9399         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9400         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9401         when releasing sink pad. Fixes #425400.
9402
9403 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9404
9405         * docs/random/ensonic/dynlink.txt:
9406           More work on proposal for new core api.
9407
9408         * docs/libs/gstreamer-libs-sections.txt:
9409         * libs/gst/base/gstbasetransform.h:
9410           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9411           
9412         * libs/gst/controller/gstcontroller.c:
9413         (on_object_controlled_property_changed),
9414         (gst_controller_sync_values),
9415         (gst_controller_set_interpolation_mode):
9416         * libs/gst/controller/gstcontroller.h:
9417           Less verbose logging add docs for unimplemented parts and correctly
9418           return when using unavailable parts.
9419
9420 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9421
9422         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9423         Move all the debug to the CLOCK category, and associate it with
9424         the clock object.
9425
9426 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9427
9428         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9429         Make take_buffer a bit quicker by removing redundant checks
9430         caused by calling gst_adapter_take.
9431
9432 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9433
9434         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9435           Don't leak GCond.
9436
9437         * tests/check/Makefile.am:
9438         * tests/check/elements/.cvsignore:
9439         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9440         (GST_START_TEST), (multiqueue_suite):
9441           Add some dead simple unit tests for the 'multiqueue' element
9442           (some bits don't work yet and are disabled for now).
9443
9444 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9445
9446         * gst/gstelement.c: (gst_element_get_request_pad),
9447         (gst_element_class_get_request_pad_template):
9448           Make gst_element_get_request_pad() create request pads only for
9449           request pad templates and not for, say, sometimes pad templates.
9450
9451 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9452
9453         * docs/design/draft-klass.txt:
9454           Add example that needs more thinking.
9455         
9456         * docs/design/draft-missing-plugins.txt:
9457           More thoughts about wrapper plugins.
9458         
9459         * docs/random/ensonic/embedded.txt:
9460         * docs/random/ensonic/profiling.txt:
9461           More design work.
9462
9463 2007-03-25  Wim Taymans  <wim@fluendo.com>
9464
9465         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9466         (gst_base_src_loop):
9467         Only push the segment events in the PLAYING state for live sources.
9468
9469 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9470
9471         * gst/gstpipeline.c: (gst_pipeline_change_state):
9472         Modify the clock distribution path in PAUSED->PLAYING so that we 
9473         never attempt to choose a new clock unless we're actually leaving
9474         the PAUSED state for the first time. This prevents choosing a
9475         different clock when the state_change gets called for a 2nd time due
9476         to some element doing an async state change.
9477
9478 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9479
9480         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9481         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9482         (gst_pad_chain_unchecked), (gst_pad_push):
9483         Revert last commit. This needs some more thoughts.
9484
9485 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9486
9487         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9488         (gst_pad_chain_unchecked), (gst_pad_push):
9489         Check in set_caps if the caps are compatible with the pad and remove
9490         two functions that are redundant now. Fixes #421543.
9491
9492 2007-03-22  Wim Taymans  <wim@fluendo.com>
9493
9494         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9495         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9496         Unref some more to make valgrind happy.
9497
9498 2007-03-22  Wim Taymans  <wim@fluendo.com>
9499
9500         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9501         (gst_system_clock_id_wait_jitter),
9502         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9503         Fix anoying regression that survived a few releases. When adding an
9504         async entry while blocking on a sync entry, the sync entry will unblock
9505         but still be busy, so it should continue to wait instead of returning
9506         _BUSY to the app.
9507         Add some comments here and there.
9508
9509         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9510         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9511         Add testcase for this.
9512
9513 2007-03-22  Wim Taymans  <wim@fluendo.com>
9514
9515         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9516         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9517         WRONG_STATE and can silently pause the task. All other cases should
9518         error out.
9519
9520 2007-03-22  Wim Taymans  <wim@fluendo.com>
9521
9522         Patch by: Ville Syrjala <syrjala at sci dot fi>
9523
9524         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9525         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9526         Improve debugging.
9527
9528 2007-03-21  Michael Smith  <msmith@fluendo.com>
9529
9530         * docs/pwg/advanced-types.xml:
9531           Fix some errors in the typefinding docs pointed out on irc.
9532
9533 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9534
9535         * libs/gst/base/gstbasesrc.c:
9536         Clarify FIXME comment in the face of having added unlock_stop()
9537
9538 2007-03-21  Wim Taymans  <wim@fluendo.com>
9539
9540         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9541         Prepare for release where we warn against possible app breakage in the
9542         case of live pipelines along with an env var to enable/disable live
9543         preroll mode (GST_COMPAT=[no-]live-preroll).
9544
9545 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9546
9547         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9548         So we should use correct constants for checking for None offset.
9549
9550 2007-03-20  Wim Taymans  <wim@fluendo.com>
9551
9552         * docs/design/part-block.txt:
9553         Mention the fact that the newly switched element should be set to at
9554         least PAUSED.
9555
9556 2007-03-20  Wim Taymans  <wim@fluendo.com>
9557
9558         * gst/gst.c:
9559         Fix compilation with registry disabled as spotted by Saur.
9560
9561 2007-03-20  Wim Taymans  <wim@fluendo.com>
9562
9563         Patch by: Olivier Crete <tester at tester dot ca>
9564
9565         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9566         Look at the pending state too when syncing the element state to the
9567         parent. Fixes #420133.
9568
9569 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9570
9571         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9572         (gst_base_sink_change_state):
9573         * libs/gst/base/gstbasesink.h:
9574         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9575         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9576         (gst_base_src_deactivate):
9577         * libs/gst/base/gstbasesrc.h:
9578         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9579         for sub-classes to correctly clear any state they set trying to
9580         unlock, such as clearing out unlock commands from a command fd.
9581         API: basesrc::unlock_stop
9582         API: basesink::unlock_stop
9583
9584         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9585         (gst_fd_sink_render), (gst_fd_sink_unlock),
9586         (gst_fd_sink_unlock_stop):
9587         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9588         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9589         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9590
9591         Implement unlock_stop in fdsrc and fdsink.
9592         Implement seeking in fdsrc when a seekable fd is passed, as in
9593         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9594
9595 2007-03-19  Wim Taymans  <wim@fluendo.com>
9596
9597         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9598
9599         * gst/gstelement.c: (gst_element_class_init):
9600         Fix pad-added and pad-removed signal signatures so that the pad type is
9601         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9602
9603 2007-03-19  Wim Taymans  <wim@fluendo.com>
9604
9605         * docs/gst/gstreamer-sections.txt:
9606         Add new element field and method.
9607
9608         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9609         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9610         (gst_bin_recalc_state), (gst_bin_get_state_func),
9611         (gst_bin_element_set_state), (gst_bin_change_state_func),
9612         (gst_bin_continue_func), (bin_bus_handler),
9613         (bin_push_state_continue), (bin_handle_async_start),
9614         (bin_handle_async_done), (gst_bin_handle_message_func):
9615         Make async state changes a bit smarter by using new ASYNC_START and
9616         ASYNC_DONE messages. This reduces the number of times we run the state
9617         recalculation thread.
9618         Don't change state of element with a pending ASYNC_START message.
9619         Deprecate STATE_DIRTY messages.
9620         
9621         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9622         (gst_element_get_state_func), (gst_element_continue_state),
9623         (gst_element_lost_state), (gst_element_set_state_func),
9624         (gst_element_change_state):
9625         * gst/gstelement.h:
9626         Keep the state that was last set by the app in a new element field.
9627         Don't allow state changes when handling an element event.
9628         Post ASYNC_START and ASYNC_DONE messages.
9629         Change lost_state so that we go to PAUSED and wait for the parent to set
9630         us to PLAYING again (so latency calculation can be performed)
9631         Export gst_element_change_state() method so that subclasses can use it.
9632         API: gst_element_change_state()
9633         API: GST_STATE_TARGET
9634
9635         * gst/gstpipeline.c: (gst_pipeline_class_init),
9636         (reset_stream_time), (gst_pipeline_change_state),
9637         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9638         Using the new ASYNC_START message we can reset the base_time when
9639         needed. This can then be used to implement base_time redistribution in
9640         flushing seeks so that we can remove the explicit seek handling.
9641         Perform latency query and configuration when going to PLAYING.
9642
9643         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9644         (gst_base_sink_query), (gst_base_sink_change_state):
9645         Post new ASYNC_START/ASYNC_DONE messages.
9646
9647         * tests/check/generic/sinks.c: (GST_START_TEST):
9648         Fix test because the bin will not set the async element to PLAYING right
9649         away.
9650
9651         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9652         Make the message check a little stronger.
9653         Handle ASYNC messages.
9654
9655         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9656         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9657         Expect ASYNC_DONE messages.
9658
9659 2007-03-19  Wim Taymans  <wim@fluendo.com>
9660
9661         * docs/gst/gstreamer-sections.txt:
9662         * gst/gstmessage.c: (gst_message_new_async_start),
9663         (gst_message_new_async_done), (gst_message_parse_info),
9664         (gst_message_parse_async_start):
9665         * gst/gstmessage.h:
9666         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9667         support.
9668
9669 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9670
9671         * tools/gst-inspect.c:
9672         (print_plugin_automatic_install_info_codecs):
9673           Now that we don't check for the 'Codec' keyword any longer in the
9674           klass, we shouldn't spew a warning if the klass isn't a decoder or
9675           encoder (since it might be a Source/Network, for example).
9676
9677 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9678
9679         * tools/gst-inspect.c:
9680         (print_plugin_automatic_install_info_codecs):
9681           Don't require decoder/demuxer/depayloader elements or
9682           encoder/muxer/paylader elements to have 'Codec' as part of their
9683           factory class string when introspecting a plugin's capabilities.
9684           draft-klass.txt mentions that it might be removed in future, and
9685           flump3dec doesn't have it as part of its class string, so chances
9686           are others might also not have it.
9687
9688 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9689
9690         * po/af.po:
9691         * po/az.po:
9692         * po/bg.po:
9693         * po/ca.po:
9694         * po/cs.po:
9695         * po/de.po:
9696         * po/en_GB.po:
9697         * po/fr.po:
9698         * po/it.po:
9699         * po/nb.po:
9700         * po/nl.po:
9701         * po/ru.po:
9702         * po/sq.po:
9703         * po/sr.po:
9704         * po/sv.po:
9705         * po/tr.po:
9706         * po/uk.po:
9707         * po/vi.po:
9708         * po/zh_CN.po:
9709         * po/zh_TW.po:
9710           Update translations from translation project
9711
9712 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9713
9714         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9715         (gst_child_proxy_set_property):
9716           Invert precondition check to be alike the ones in the mimiced gobject
9717           api.
9718
9719 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9720
9721         * docs/design/draft-tagreading.txt:
9722         * docs/random/ensonic/audiobaseclasses.txt:
9723           Do some Architect work.
9724
9725         * gst/gstobject.c: (gst_object_set_name):
9726           Add a WARNING.
9727
9728         * gst/gstpad.c:
9729           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9730
9731 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9732
9733         * gst/gstsystemclock.c: (gst_system_clock_init),
9734         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9735         Defer starting the async system clock thread until the first async
9736         wait is scheduled. Fixes #414986.
9737
9738 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9741         (gst_single_queue_free):
9742           Fix small leak (free GstSingleQueue structure too, not only contents).
9743
9744 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9745
9746         * gst/gstbin.c:(gst_bin_add):
9747         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9748         * win32/common/libgstbase.def:
9749         * win32/common/libgstreamer.def:
9750         Add new exported functions.
9751
9752 2007-03-09  Wim Taymans  <wim@fluendo.com>
9753
9754         * docs/plugins/gstreamer-plugins-sections.txt:
9755         Fix GstTee docs.
9756
9757 2007-03-09  Wim Taymans  <wim@fluendo.com>
9758
9759         * docs/gst/gstreamer-sections.txt:
9760         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9761         * gst/gstbuffer.h:
9762         Add metadata copy functions. Fixes #393099.
9763         API: gst_buffer_copy_metadata()
9764
9765         * gst/gstutils.c: (gst_buffer_stamp):
9766         * libs/gst/base/gstbasetransform.c:
9767         (gst_base_transform_prepare_output_buffer):
9768         Use new metadata copy functions.
9769
9770 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9771
9772         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9773         (gst_identity_init), (gst_identity_check_perfect),
9774         (gst_identity_check_imperfect_timestamp),
9775         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9776         (gst_identity_set_property), (gst_identity_get_property):
9777         * plugins/elements/gstidentity.h:
9778         Separate out check-imperfect-timestamp and check-imperfect-offset.
9779         Put back check-perfect as it was to keep compatibility.
9780
9781 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9782
9783         * gst/gstelement.c: (gst_element_dispose):
9784         There's no need to warn if VOID_PENDING is not NONE here, as
9785         long as the state is NULL it's ok, and that's checked immediately
9786         above.
9787
9788 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9789
9790         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9791         Fix check for perfect stream to ignore buffers with -1 
9792         offsets/offset ends when checking data contiguity.
9793
9794 2007-03-08  Wim Taymans  <wim@fluendo.com>
9795
9796         * tools/gst-launch.c: (event_loop):
9797         Print INFO messages.
9798
9799 2007-03-08  Wim Taymans  <wim@fluendo.com>
9800
9801         * libs/gst/base/gstbasetransform.c:
9802         (gst_base_transform_sink_eventfunc),
9803         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9804         (gst_base_transform_activate):
9805         * libs/gst/base/gstbasetransform.h:
9806         Add support for dropping buffers with custom GstFlowReturn.
9807         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9808         buffers or dropped buffers.
9809
9810         * docs/libs/gstreamer-libs-sections.txt:
9811         docs for new custom return code.
9812
9813         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9814         Use drop support in base class to implement drop-probability.
9815
9816 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9817
9818         * gst/gst.c: (load_plugin_func):
9819         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9820         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9821         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9822           Remove newlines at end of debug log strings.
9823
9824 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9825
9826         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9827         Only post bus message at max, once per buffer received.
9828
9829 2007-03-07  Wim Taymans  <wim@fluendo.com>
9830
9831         * docs/design/Makefile.am:
9832         * docs/design/part-synchronisation.txt:
9833         Add doc about synchronisation
9834
9835         * docs/design/draft-latency.txt:
9836         * docs/design/part-TODO.txt:
9837         * docs/design/part-clocks.txt:
9838         * docs/design/part-events.txt:
9839         * docs/design/part-gstbus.txt:
9840         * docs/design/part-gstpipeline.txt:
9841         * docs/design/part-live-source.txt:
9842         * docs/design/part-messages.txt:
9843         * docs/design/part-overview.txt:
9844         * docs/design/part-streams.txt:
9845         * docs/design/part-trickmodes.txt:
9846         Documentation updates.
9847
9848 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9849
9850         * gstreamer.doap:
9851         Update the doap file.
9852
9853 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9854
9855         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9856         Rename non-perfect to imperfect for Mike and for the sanctity of the
9857         language.
9858         Also make sure bus message gets emitted for data-incontiguities.
9859
9860 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9861
9862         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9863         (gst_identity_start):
9864         * plugins/elements/gstidentity.h:
9865         Emit bus message if check-perfect is true and we encounter a
9866         non-perfect stream between 2 consecutive buffers.
9867         Fixes #415394.
9868
9869 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9870
9871         * configure.ac:
9872         Back to CVS
9873
9874 === release 0.10.12 ===
9875
9876 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9877
9878         * configure.ac:
9879           releasing 0.10.12, "Inevitable Demise"
9880
9881 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9882
9883         * configure.ac:
9884          Version 0.10.11.2 (0.10.12 pre-release)
9885          Bump libtool versioning.
9886
9887 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9888
9889         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9890           Log flow-names and not numbers.
9891
9892 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9893
9894         * configure.ac:
9895           Convert to new AG_GST style.
9896
9897 2007-02-28  Wim Taymans  <wim@fluendo.com>
9898
9899         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9900         Don't unref query twice.
9901
9902 2007-02-28  Wim Taymans  <wim@fluendo.com>
9903
9904         * gst/gstvalue.c: (gst_value_transform_object_string),
9905         (_gst_value_initialize):
9906         Implement GstObject -> string transform so we print object names
9907         when serializing GValues containing GstObjects.
9908
9909 2007-02-28  Wim Taymans  <wim@fluendo.com>
9910
9911         * docs/gst/gstreamer-sections.txt:
9912         Add new stuff to docs.
9913
9914 2007-02-28  Wim Taymans  <wim@fluendo.com>
9915
9916         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9917         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9918         (gst_base_sink_change_state):
9919         Improve latency query code.
9920         Don't leak latency events.
9921
9922         * tests/check/gst/gstbin.c: (GST_START_TEST):
9923         Improve debugging.
9924
9925 2007-02-28  Wim Taymans  <wim@fluendo.com>
9926
9927         * gst/gstelement.c: (gst_element_message_full),
9928         (gst_element_get_state_func):
9929         * gst/gstelement.h:
9930         Improve docs a little. Added Since: for new macro.
9931
9932         * gst/gstobject.c: (gst_object_sink):
9933         * gst/gstpipeline.c: (gst_pipeline_change_state),
9934         (gst_pipeline_set_new_stream_time):
9935         * gst/gstpipeline.h:
9936         Improve debugging and docs.
9937
9938         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9939         Improve debugging.
9940
9941 2007-02-28  Wim Taymans  <wim@fluendo.com>
9942
9943         * gst/gstelement.c: (gst_element_message_full),
9944         (gst_element_set_locked_state), (gst_element_get_state_func),
9945         (gst_element_change_state):
9946         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
9947         Documentation updates.
9948         Small code cleanups.
9949
9950         * gst/gstmessage.c: (gst_message_new_info),
9951         (gst_message_parse_info):
9952         * gst/gstmessage.h:
9953         API: gst_message_new_info()
9954         API: gst_message_parse_info()
9955         Add INFO message create and parse code.
9956
9957 2007-02-28  Wim Taymans  <wim@fluendo.com>
9958
9959         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
9960         (bin_query_latency_done):
9961         Also report the live parameter of a latency query.
9962
9963 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9964
9965         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
9966           Copy the current generic/states example from -base and adapt so
9967           we can use the exact same code everywhere.
9968           Check a STATES_IGNORE_ELEMENTS env var which can be used
9969           to ignore certain element factories for this test, which is
9970           what is being done in -base
9971         * tests/check/Makefile.am:
9972           Mention this environment variable.
9973
9974 2007-02-27  Wim Taymans  <wim@fluendo.com>
9975
9976         * docs/gst/gstreamer-sections.txt:
9977         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
9978         (gst_bus_timed_pop), (gst_bus_pop):
9979         * gst/gstbus.h:
9980         API: gst_bus_timed_pop()
9981         Implement gst_bus_timed_pop() to do a blocking timed wait for a
9982         message to arrive on the bus.
9983
9984         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
9985         (gst_bus_suite):
9986         Two unit tests for new _timed_pop() function.
9987
9988 2007-02-23  Wim Taymans  <wim@fluendo.com>
9989
9990         * gst/gstpipeline.c: (gst_pipeline_change_state),
9991         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
9992         Don't ref a NULL clock in _provide_clock_func().
9993         Don't allow an INVALID delay.
9994         Don't try to calculate base_time with an invalid start_time.
9995         Also distribute and notify a NULL clock when it was selected.
9996
9997         * tools/gst-launch.c: (event_loop):
9998         Don't crash when a NULL clock was selected in the pipeline.
9999
10000 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10001
10002         * docs/design/Makefile.am:
10003         * docs/design/draft-missing-plugins.txt:
10004         * docs/random/draft-missing-plugins.txt:
10005           Some small updates: update plugin system identifier prefix
10006           ('gstreamer.net' to 'gstreamer'), mention our new install
10007           API in libgstbaseutils rather than libgimme-codec, add
10008           reference to the online docs.
10009
10010 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10011
10012         * win32/common/config.h:
10013           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10014           use moap cl ci to only check in what is mentioned in the ChangeLog.
10015
10016 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10017
10018         * docs/gst/gstreamer-sections.txt:
10019         * gst/gstelement.h:
10020           Fix up documentation to link to the correct GstGError section.
10021           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10022
10023 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10024
10025         * tools/gst-launch.c: (event_loop):
10026           Make sure that we actually show the important message part of a
10027           warning message.
10028           No need to check if the gerror is not NULL to free; first of all
10029           g_free accepts NULL; and second the default error handler would
10030           segfault if gerror was NULL.
10031
10032 2007-02-21  Wim Taymans  <wim@fluendo.com>
10033
10034         * docs/gst/gstreamer-sections.txt:
10035         Removed docs as well.
10036
10037 2007-02-21  Wim Taymans  <wim@fluendo.com>
10038
10039         * gst/gstmessage.c: (gst_message_parse_duration):
10040         * gst/gstmessage.h:
10041         Remove new messages for release.
10042
10043 2007-02-20  Wim Taymans  <wim@fluendo.com>
10044
10045         * docs/design/part-gstghostpad.txt:
10046         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10047         (gst_ghost_pad_new_full):
10048         Make the ghostpad a parent of the internal pad again for better backward
10049         compatibility. Don't write code that relies on this however.
10050
10051         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10052         (gst_pad_link_check_hierarchy):
10053         Require that parents should be GstElements in the hierarchy check.
10054
10055 2007-02-20  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10058         (gst_bin_change_state_func), (bin_query_min_max_init),
10059         (bin_query_latency_fold), (bin_query_latency_done),
10060         (gst_bin_query):
10061         Improve debug info.
10062         Implement latency query.
10063
10064 2007-02-20  Wim Taymans  <wim@fluendo.com>
10065
10066         * docs/design/part-gstghostpad.txt:
10067         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10068         (gst_ghost_pad_internal_do_activate_push),
10069         (gst_ghost_pad_internal_do_activate_pull),
10070         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10071         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10072         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10073         Do not set the internal pad as a parent anymore so we can avoid
10074         hierarchy linking errors when the ghostpad has no parent yet. This also
10075         fixes failed activation because of unlinked internal pads, which in
10076         turn fixes the impossible case where you have to activate a pad before
10077         you can add it to a running element.
10078         Also fix the docs.
10079
10080         * gst/gstpad.c: (pre_activate), (post_activate),
10081         (gst_pad_set_active), (gst_pad_activate_pull),
10082         (gst_pad_activate_push), (gst_pad_check_pull_range):
10083         Add some more debug info.
10084         Mark activation mode in pre_activate so that we don't try to activate in
10085         endless loops. Fixes #385084.
10086
10087 2007-02-19  Wim Taymans  <wim@fluendo.com>
10088
10089         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10090         (gst_base_transform_check_get_range):
10091         Implement a checkgetrange function instead of relying on the default
10092         core behaviour that assumes we can operate in pull mode if we have a
10093         getrange function. First step at fixing #385084.
10094
10095 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10096
10097         * gst/gstchildproxy.h:
10098         * libs/gst/base/gstbasesink.h:
10099         * libs/gst/base/gstbasesrc.h:
10100         * libs/gst/base/gstbasetransform.h:
10101         More docs coverage and some ChangeLog surgery (add missing names)
10102
10103 2007-02-15  Wim Taymans  <wim@fluendo.com>
10104
10105         * docs/design/part-TODO.txt:
10106         * docs/design/part-activation.txt:
10107         * docs/design/part-block.txt:
10108         * docs/design/part-buffering.txt:
10109         * docs/design/part-clocks.txt:
10110         * docs/design/part-element-source.txt:
10111         * docs/design/part-events.txt:
10112         * docs/design/part-gstbin.txt:
10113         * docs/design/part-gstbus.txt:
10114         * docs/design/part-gstpipeline.txt:
10115         * docs/design/part-live-source.txt:
10116         * docs/design/part-messages.txt:
10117         * docs/design/part-overview.txt:
10118         * docs/design/part-qos.txt:
10119         * docs/design/part-query.txt:
10120         * docs/design/part-states.txt:
10121         * docs/design/part-trickmodes.txt:
10122         Some doc updates. Start renaming from stream_time to running_time where
10123         it was used wrongly.
10124
10125 2007-02-15  Wim Taymans  <wim@fluendo.com>
10126
10127         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10128         Answer LATENCY query.
10129
10130 2007-02-15  Wim Taymans  <wim@fluendo.com>
10131
10132         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10133         (GST_START_TEST):
10134         Improve debugging.
10135
10136 2007-02-15  Wim Taymans  <wim@fluendo.com>
10137
10138         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10139         (gst_pad_dispatcher):
10140         Improve debugging of default pad dispatcher and query functions.
10141
10142 2007-02-15  Wim Taymans  <wim@fluendo.com>
10143
10144         * docs/gst/gstreamer-sections.txt:
10145         Remove old unused method.
10146
10147 2007-02-13  Wim Taymans  <wim@fluendo.com>
10148
10149         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10150         Fix check
10151
10152 2007-02-13  Wim Taymans  <wim@fluendo.com>
10153
10154         * docs/design/part-seeking.txt:
10155         Some small update.
10156
10157         * gst/gstsegment.c: (gst_segment_set_seek):
10158         Revert old bogus change that should make seeking work again.
10159
10160 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10161
10162         * docs/random/ensonic/dynlink.txt:
10163         * docs/random/ensonic/interfaces.txt:
10164         * docs/random/ensonic/receipies.txt:
10165           Possible dynamic reconnection api, plus some type fixes the other two
10166           docs.
10167
10168 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10169
10170         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10171         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10172         Also check for an absolute path following file:// in the filesrc
10173         element. Remove redundant check and call g_path_is_absolute() on the
10174         unescaped location.
10175
10176 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10177
10178         * docs/design/draft-klass.txt:
10179           Add existing category analysis.
10180           
10181         * gst/gstcaps.c:
10182           Fix doc example, framerate is a fraction.
10183
10184 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10185
10186         * configure.ac:
10187         * docs/gst/Makefile.am:
10188         * docs/gst/gstreamer-sections.txt:
10189         * docs/libs/Makefile.am:
10190           Erm, forgot a bunch of --extra-dir.
10191
10192 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10193
10194         * configure.ac:
10195         * docs/gst/Makefile.am:
10196         * docs/libs/Makefile.am:
10197         * docs/plugins/Makefile.am:
10198           Add crossreferences to glib/gobject docs.
10199
10200 2007-02-12  Wim Taymans  <wim@fluendo.com>
10201
10202         * docs/design/draft-latency.txt:
10203         Small update.
10204
10205         * docs/libs/gstreamer-libs-sections.txt:
10206         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10207         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10208         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10209         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10210         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10211         (gst_base_sink_get_position), (gst_base_sink_query),
10212         (gst_base_sink_change_state):
10213         * libs/gst/base/gstbasesink.h:
10214         API: gst_base_sink_query_latency() to let subclasses query the upstream
10215         latency.
10216         API: gst_base_sink_get_latency() to let subclasses query the configured
10217         latency in the sink.
10218         Implement query and set latency.
10219         Update some docs.
10220         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10221         don't continue preroll when we are flushing. Fixes #405284.
10222
10223         * tests/check/pipelines/stress.c: (change_state_timeout),
10224         (quit_timeout), (GST_START_TEST), (stress_suite):
10225         Test for #405284.
10226
10227 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10228
10229         Patch by: René Stadler <mail at renestadler de>
10230
10231         * docs/gst/gstreamer-sections.txt:
10232         * gst/gsttaglist.c: (_gst_tag_initialize):
10233         * gst/gsttaglist.h:
10234           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10235
10236 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10237
10238         * docs/libs/Makefile.am:
10239           Fix path to core docs.
10240
10241         * gst/gstbin.c: (gst_bin_get_by_interface),
10242         (gst_bin_iterate_all_by_interface):
10243           Refix docs by also renaming 'interface' to 'iface' in implementation.
10244
10245         * docs/gst/gstreamer-sections.txt:
10246         * gst/gstcaps.c:
10247         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10248         * gst/gstchildproxy.h:
10249         * gst/gstelementfactory.c:
10250         * gst/gstpadtemplate.h:
10251         * libs/gst/controller/gstcontroller.c:
10252         (gst_controlled_property_new):
10253           Document more.
10254
10255 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10256
10257         * gst/gstbin.h:(gst_bin_get_by_interface),
10258         (gst_bin_iterate_all_by_interface):
10259         Replace interface parameter name by iface as interface is 
10260         a reserved keyword in Visual Studio for C++ projects so it removes
10261         a build error for application developpers using VS.
10262         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10263         Fix a bug on Windows in uri format check. Now the prefix checked
10264         is file:// and next we check if the path after file:// is absolute.
10265         * win32/common/libgstbase.def:
10266         * win32/common/libgstdataprotocol.def:
10267         * win32/common/libgstgstreamer.def:
10268         Add new exported functions.
10269
10270 2007-02-09  Andy Wingo  <wingo@pobox.com>
10271
10272         * tests/check/pipelines/simple-launch-lines.c
10273         (simple_launch_lines_suite, test_tee): Disable tee test until I
10274         have time to fix it :-(
10275
10276         * tests/check/Makefile.am (noinst_HEADERS): 
10277         * tests/check/libs/libsabi.c: 
10278         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10279         * tests/check/gst/gstabi.c: 
10280         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10281
10282         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10283         tests for push and pull tee behavior.
10284
10285         * plugins/elements/gsttee.h: 
10286         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10287         mark as deprecated as well as unimplemented. It was a crack idea.
10288         Add support for tee operating in pull mode, off by default.
10289
10290         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10291         normal-case logs down to LOG, raise errors to WARNING.
10292         (gst_registry_xml_read_cache): Don't log before calling a function
10293         that logs.
10294
10295         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10296         exit (registry finalize).
10297         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10298         DEBUG log when we emit signals that people don't even have the
10299         chance to connect to.
10300         (gst_registry_scan_path_level): Less logging in the normal case.
10301
10302 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10303
10304         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10305
10306         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10307         Correctly generate EOS for non-seekable files. We don't have a total
10308         length for them and would get an unexpected end of file if we only
10309         special-cased for regular files. (Fixes: #404569)
10310
10311 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10312
10313         * tests/check/elements/filesrc.c: (GST_START_TEST),
10314         (filesrc_suite):
10315         Add unit test for the GstURIHandler interface in filesrc. This also
10316         tests the newly added file://localhost/foo/bar support.
10317
10318 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10319
10320         * gst/gstelementfactory.h:
10321           The klass string is not a hierarchy. Add reference to the design doc
10322           for more information and common types.
10323
10324 2007-02-02  Wim Taymans  <wim@fluendo.com>
10325
10326         * gst/gstquery.c: (gst_query_new_latency):
10327         Remove old structure field.
10328
10329 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10330
10331         * tools/gst-launch.1.in:
10332           Give example for network streaming (#351998)
10333
10334 2007-02-02  Wim Taymans  <wim@fluendo.com>
10335
10336         * docs/gst/gstreamer-sections.txt:
10337         Add docs for new methods.
10338
10339         * gst/gstevent.c: (gst_event_new_latency),
10340         (gst_event_parse_latency):
10341         * gst/gstevent.h:
10342         Add new LATENCY event to configure latency in a pipeline.
10343         API: gst_event_new_latency
10344         API: gst_event_parse_latency
10345
10346         * gst/gstmessage.c: (gst_message_new_buffering),
10347         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10348         (gst_message_new_latency), (gst_message_parse_buffering),
10349         (gst_message_parse_lost_preroll):
10350         * gst/gstmessage.h:
10351         Added messages used in draft-latency.
10352         API: gst_message_new_lost_preroll
10353         API: gst_message_parse_lost_preroll
10354         API: gst_message_new_prerolled
10355         API: gst_message_new_latency
10356
10357         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10358         (gst_query_parse_latency):
10359         * gst/gstquery.h:
10360         Implemented new latency query as in design doc.
10361         API: gst_query_new_latency
10362         API: gst_query_set_latency
10363         API: gst_query_parse_latency
10364
10365 2007-02-02  Wim Taymans  <wim@fluendo.com>
10366
10367         * docs/design/draft-latency.txt:
10368         Slight redesign to allow for dynamic latency adjustments.
10369
10370         * docs/design/part-negotiation.txt:
10371         Fix some typos.
10372
10373 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10374
10375         reviewed by: Wim Taymans <wim@fluendo.com>
10376
10377         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10378         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10379         Allow file://localhost/foo/bar URLs and correctly fail for every other
10380         hostname that one sets. This was gnomevfssrc is linked for those if
10381         installed as it can handle it (#403172)
10382
10383 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10384
10385         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10386
10387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10388         (unref_data), (gst_collect_pads_add_pad_full):
10389         * libs/gst/base/gstcollectpads.h:
10390         Don't put the previously added destroy notify in the GstCollectData
10391         struct as all it's padding is already used and we don't want to break
10392         ABI. Instead put in the pad's GObject data for now. This should be
10393         cleaned up for 0.11 (#402393).
10394
10395 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10396
10397         reviewed by: Wim Taymans <wim@fluendo.com>
10398
10399         * docs/libs/gstreamer-libs-sections.txt:
10400         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10401         (unref_data), (gst_collect_pads_add_pad),
10402         (gst_collect_pads_add_pad_full):
10403         * libs/gst/base/gstcollectpads.h:
10404         API: Add function to specify a destroy notification for custom
10405         GstCollectData when adding new pads in GstCollectPads (#402393).
10406
10407 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10408
10409         * po/sv.po:
10410           Update Swedish translation (#378255).
10411
10412 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10413
10414         * docs/design/draft-klass.txt:
10415           Fix the previous change, this is a list of categories and not a hierarchy.
10416
10417 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10418
10419         * docs/design/draft-klass.txt:
10420           Add info about how to get a list of used classes.
10421
10422 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10423
10424         * plugins/elements/gsttypefindelement.c:
10425         (gst_type_find_element_chain_do_typefinding),
10426         (gst_type_find_element_change_state):
10427           Don't leak found caps in chain function (no idea why that never
10428           showed up as a leak anywhere).
10429
10430 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10431
10432         * gst/gstplugin.h:
10433           Fix and expand GstPluginDesc API docs.
10434
10435 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10436
10437         * gst/gstcaps.c:
10438         * gst/gstelementfactory.c:
10439         * gst/gstpadtemplate.h:
10440           api doc fixes
10441
10442         * libs/gst/controller/gstcontroller.c:
10443         (gst_controlled_property_new):
10444         * tests/examples/controller/audio-example.c:
10445           comment fixes
10446
10447 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10448
10449         * configure.ac:
10450           comment about refining the xml deps
10451
10452         * docs/manuals.mak:
10453           comments about moving away from jade for docs
10454         
10455         * gst/gst.c:
10456           recommit the ifdefs to use the binary registry
10457         
10458         * gst/gstbin.c: (gst_bin_change_state_func):
10459           this break is obsolete
10460
10461         * gst/gstelementfactory.h:
10462           better GST_ELEMENT_DETAILS docs, add comment about translation
10463
10464         * gst/gstinfo.h:
10465           remove eol slash
10466
10467         * gst/gstobject.c: (gst_signal_object_get_type):
10468           add G_UNLIKELY as usual
10469
10470         * gst/gstpad.c: (gst_pad_event_default):
10471           add fall trhu comment
10472
10473         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10474         (gst_registry_binary_initialize_magic),
10475         (gst_registry_binary_save_string),
10476         (gst_registry_binary_save_pad_template),
10477         (gst_registry_binary_save_feature),
10478         (gst_registry_binary_save_plugin),
10479         (gst_registry_binary_write_cache),
10480         (gst_registry_binary_check_magic),
10481         (gst_registry_binary_load_pad_template),
10482         (gst_registry_binary_load_feature),
10483         (gst_registry_binary_load_plugin),
10484         (gst_registry_binary_read_cache):
10485           comment typo and formatting
10486
10487         * gst/gstutils.c: (gst_element_state_get_name),
10488         (gst_element_state_change_return_get_name):
10489           remove obsolete breaks
10490
10491         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10492           add FIXME 0.11 and remove cpp comment
10493
10494 2007-01-29  Edward Hervey  <edward@fluendo.com>
10495
10496         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10497         Fix print statement in an even more portable way.
10498
10499 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10500
10501         * docs/gst/gstreamer-sections.txt:
10502         * gst/gstutils.h:
10503           API: add GST_ROUND_DOWN_* macros (#401781).
10504
10505 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10506
10507         * docs/gst/gstreamer.types.in:
10508         * gst/gstregistry.c: (gst_registry_class_init):
10509           Document registry signals and make gtk-doc pick them up (#401381).
10510
10511 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10512
10513         * docs/pwg/building-testapp.xml:
10514           Add some audioconverts and audioresample to the pipeline, and some
10515           more comments and error handling.
10516
10517 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10518
10519         * docs/manual/manual.xml:
10520         * docs/pwg/pwg.xml:
10521           Fix typo (#400987).
10522
10523 2007-01-26  Wim Taymans  <wim@fluendo.com>
10524
10525         * gst/gstcaps.c: (gst_static_caps_get):
10526         Init caps flags too.
10527
10528 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10529
10530         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10531
10532         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10533         If not using mmap'ed files try to seek to the end instead of the
10534         start to determine whether we can seek at all. This fixes the case
10535         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10536         seeks for everything afterwards fail. Fixes #400656
10537
10538 2007-01-25  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10541         Add some refcount debugging.
10542         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10543         in multiple streaming threads.
10544
10545 2007-01-25  Wim Taymans  <wim@fluendo.com>
10546
10547         Patch by: David Schleef <ds at schleef dot org>
10548
10549         * docs/libs/gstreamer-libs-sections.txt:
10550         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10551         * libs/gst/base/gstadapter.h:
10552         API: gst_adapter_copy() that can reduce the amount of memcpy when
10553         getting data from the adapter. Fixes #388201.
10554
10555 2007-01-25  Edward Hervey  <edward@fluendo.com>
10556
10557         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10558         In print statements, "%x" is for guint. Fixes build on macosx.
10559
10560 2007-01-24  Edward Hervey  <edward@fluendo.com>
10561
10562         * plugins/elements/gstmultiqueue.c:
10563         (gst_multi_queue_loop):
10564         Small fix.
10565         (single_queue_overrun_cb), (single_queue_underrun_cb),
10566         (single_queue_check_full), (gst_single_queue_new):
10567         Implement single queue growth system.
10568         This uses the extra-size properties, and will grow single queues by
10569         that much if one goes full whereas there are others empty. This is
10570         called extra-mode in the code.
10571         When a single queue's levels go back below the initial max-size
10572         limits, it is no longer in extra-mode. This is to ensure we don't
10573         consume too much memory.
10574         Fixes #399875
10575
10576 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10577
10578         * gst/gst.c: (gst_init_get_option_group):
10579           Make warning about late g_thread_init() calls a bit more explicit,
10580           so that it's more obvious to application developers what they need
10581           to do if a user files a bug against their application.
10582
10583 2007-01-22  Edward Hervey  <edward@fluendo.com>
10584
10585         * plugins/elements/gstmultiqueue.c:
10586         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10587         Remove previous hack of unsetting the flushing flag for the source pad
10588         instead of activating it. Instead, fix the source pad activate function
10589         so that it no longer depends on having a parent set or not.
10590
10591 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10592
10593         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10594
10595         * docs/manual/basics-bus.xml:
10596           Fix example code, gst_element_unref() doesn't exist any longer.
10597
10598 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10599
10600         Patch by: Mark Nauwelaerts <manauw at skynet be>
10601
10602         * gst/gstpad.c:
10603           Fix two docs typoes (#399094).
10604
10605 2007-01-19  Edward Hervey  <edward@fluendo.com>
10606
10607         * docs/faq/gst-uninstalled:
10608         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10609         depending on libgstbaseutils can work in uninstalled environment.
10610
10611 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10612
10613         * gst/gsttaglist.h:
10614         * gst/gsttagsetter.c:
10615         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10616         statement for new tag.
10617
10618 2007-01-17  Edward Hervey  <edward@fluendo.com>
10619
10620         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10621         When dynamically creating single queues, activate sinkpad before adding
10622         it.
10623         We should be doing the same thing for the source pad, but we can't
10624         since it would call a method which needs the parent to be set in order
10625         to work propertly. Instead of activating the source pad, we just unset
10626         the flushing flag, which is the minimal requirement for adding a pad
10627         to an element in a state greater than READY.
10628
10629 2007-01-17  Edward Hervey  <edward@fluendo.com>
10630
10631         * docs/faq/gst-uninstalled:
10632         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10633         Mac OS X.
10634
10635 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * tests/check/gst/gstabi.c:
10638         * tests/check/gst/struct_hppa.h:
10639         * tests/check/libs/libsabi.c:
10640         * tests/check/libs/struct_hppa.h:
10641           Add ABI structs for HPPA (see #393796).
10642
10643 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10644
10645         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10646           Actually write ABI structs to the file specified in the GST_ABI
10647           environment variable, as the message we print claims we would.
10648
10649 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10650
10651         * tests/check/gst/gsttask.c:
10652           Fix header comment.
10653
10654 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10655
10656         * gst/gsttaglist.c: (_gst_tag_initialize):
10657           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10658           previous two entries.
10659
10660 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10661
10662         * docs/gst/gstreamer-sections.txt:
10663         * gst/gsttaglist.c: (_gst_tag_initialize):
10664         * gst/gsttaglist.h:
10665           Add tag support for beat-per-minute.
10666
10667 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10668
10669         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10670         (gst_registry_binary_initialize_magic),
10671         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10672         (gst_registry_binary_save_pad_template),
10673         (gst_registry_binary_save_feature),
10674         (gst_registry_binary_save_plugin),
10675         (gst_registry_binary_write_cache),
10676         (gst_registry_binary_check_magic),
10677         (gst_registry_binary_load_pad_template),
10678         (gst_registry_binary_load_feature),
10679         (gst_registry_binary_load_plugin),
10680         (gst_registry_binary_read_cache):
10681         * gst/gstregistrybinary.h:
10682           Use glib types, cleanup comments, impement interfaces and uri-types.
10683
10684 2007-01-13  Andy Wingo  <wingo@pobox.com>
10685
10686         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10687         getrange() to return buffers with other caps, while we fix
10688         demuxers and typefind, or otherwise change part-negotiation.txt.
10689
10690 2007-01-12  Andy Wingo  <wingo@pobox.com>
10691
10692         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10693         Factor start/stop into this private function instead of partially
10694         in activate functions and partially in the change_state function.
10695         Fixes setup before the element has changed from READY->PAUSED, as
10696         is the case in pull-mode pipelines.
10697         (gst_base_transform_sink_activate_push)
10698         (gst_base_transform_src_activate_pull): Refactor to use
10699         gst_base_transform_activate().
10700         (gst_base_transform_change_state): Removed, not needed any more.
10701
10702         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10703         Truncate before fixating.
10704         
10705         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10706         Don't set_caps() if the result of fixating is ANY, as it's not
10707         supported, and not necessary in the case of a link with no
10708         template caps on either side. Fixes tests/check/libs/basesrc in
10709         some pull-mode tests.
10710
10711         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10712         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10713         (gst_base_transform_src_activate_pull): 
10714         Track the activation mode.
10715         (gst_base_transform_setcaps): In pull mode, when activating the
10716         src pad, after activating the sink pad, activate the sink pad's
10717         peer, as discussed in part-negotiation.txt.
10718
10719         * libs/gst/base/gstbasesrc.h: 
10720         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10721         vmethod, as in basesink.
10722
10723         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10724
10725         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10726         mode, first proxy the setcaps to the peer pad.
10727         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10728         new fixate vmethod.
10729         (gst_base_sink_default_activate_pull): Rename from
10730         gst_base_sink_activate_pull.
10731         (gst_base_sink_negotiate_pull): New function, performs negotiation
10732         in pull mode before calling ::activate_pull().
10733         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10734         vmethod instead of the default implementation. I have no idea how
10735         this worked before. Negotiate before calling activate_pull.
10736
10737         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10738         sink pads in pull mode. In addition to being correct, fixes
10739         filesrc ! decodebin ! identity ! fakesink.
10740         (gst_pad_get_range, gst_pad_pull_range): Don't call
10741         gst_pad_set_caps() if the caps changes; instead error out with
10742         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10743
10744 2007-01-12  Andy Wingo  <wingo@pobox.com>
10745
10746         * docs/design/part-negotiation.txt: Update with more policy.
10747
10748 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10749
10750         * libs/gst/check/gstbufferstraw.h:
10751         * libs/gst/check/gstcheck.h:
10752           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10753           belongs.
10754
10755 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10756
10757         * tests/check/Makefile.am:
10758         * tests/check/gst/.cvsignore:
10759         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10760         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10761         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10762         (GST_START_TEST), (gst_tag_setter_suite):
10763           Add minimal unit test for beforementioned GstTagSetter bug.
10764
10765 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10766
10767         Patch by: René Stadler <mail at renestadler dot de>
10768
10769         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10770           gst_tag_list_merge() returns a new list, so it's not the best idea
10771           to ingore its return value. Effectively meant that tags could only
10772           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10773           Also add function guard to require a non-NULL taglist as input (has
10774           always been so due to gst_tag_list_copy(), just making it explicit).
10775
10776 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10777
10778         * docs/random/draft-missing-plugins.txt:
10779           Some additions: mention new API that is supposed to be used at the
10780           various stages; short blob about new gst-inspect introspection
10781           option; mention potential future problem with plugins that have
10782           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10783
10784 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10785
10786         * tools/gst-inspect.c:
10787         (print_plugin_automatic_install_info_codecs),
10788         (print_plugin_automatic_install_info_protocols),
10789         (print_plugin_automatic_install_info), (main):
10790         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10791         introspect plugin files and get machine-parsable output that corresponds
10792         to the last bit of the missing-plugin installer string (small gotcha:
10793         doesn't take into account ranks).
10794
10795 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10796
10797         * configure.ac:
10798         * docs/gst/gstreamer-sections.txt:
10799         * gst/Makefile.am:
10800         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10801         (gst_registry_lookup_locked):
10802         * gst/gstregistry.h:
10803         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10804         (gst_registry_binary_initialize_magic),
10805         (gst_registry_binary_save_string),
10806         (gst_registry_binary_save_pad_template),
10807         (gst_registry_binary_save_feature),
10808         (gst_registry_binary_save_plugin),
10809         (gst_registry_binary_write_cache),
10810         (gst_registry_binary_check_magic),
10811         (gst_registry_binary_load_pad_template),
10812         (gst_registry_binary_load_feature),
10813         (gst_registry_binary_load_plugin),
10814         (gst_registry_binary_read_cache):
10815         * gst/gstregistrybinary.h:
10816         * gst/gstregistryxml.c: (load_feature),
10817         (gst_registry_xml_read_cache):
10818           commit binary registry (disabled by default, see #359653)
10819
10820 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10821
10822         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10823           Fix 'make check' too.
10824
10825 2007-01-10  Andy Wingo  <wingo@pobox.com>
10826
10827         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10828         notes.
10829         
10830         * docs/design/part-negotiation.txt: Update with, um, one way that
10831         pull-mode negotiation might work?
10832
10833         * gst/gstpad.h: 
10834         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10835         that the pad must be a src pad; makes sense to call it the other
10836         way in pull mode, and the logic is symmetric anyway.
10837
10838 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10839
10840         * plugins/elements/gstfilesink.c:
10841           Include <stdio.h> for fseeko().
10842
10843 2007-01-10  Wim Taymans  <wim@fluendo.com>
10844
10845         * gst/gstevent.c:
10846         * gst/gstevent.h:
10847         Reserve LATENCY event.
10848
10849 2007-01-09  Wim Taymans  <wim@fluendo.com>
10850
10851         * docs/design/draft-latency.txt:
10852         Updates.
10853
10854 2007-01-09  Wim Taymans  <wim@fluendo.com>
10855
10856         * docs/design/draft-latency.txt:
10857         Updates.
10858
10859         * gst/gstelement.h:
10860         * gst/gststructure.c:
10861         * gst/gsttrace.c:
10862         Small typo fixes.
10863
10864 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10865
10866         * tests/check/.cvsignore:
10867           Ignore test-registry.xml as well.
10868
10869 2007-01-09  Wim Taymans  <wim@fluendo.com>
10870
10871         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10872         unref data at the end when we are done with the pad.
10873
10874 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * docs/gst/gstreamer-sections.txt:
10877         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10878         (init_post), (gst_deinit), (gst_update_registry):
10879         * gst/gst.h:
10880           API: add gst_update_registry() (#391296).
10881
10882         * tests/check/Makefile.am:
10883         * tests/check/gst/gstregistry.c:
10884         * tests/check/gst/.cvsignore:
10885           Simple unit test for the above.
10886
10887 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10888
10889         * gst/gstregistry.c: (gst_registry_scan_path_level):
10890           Plugin extension on HP-UX is .sl, add that to the list of approved
10891           plugin extensions (see #393796).
10892
10893         * tests/check/gst/gstpad.c: (GST_START_TEST):
10894           ulong => gulong. Fixes compilation with HP-UX compiler.
10895
10896         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10897           Fix compilation if valgrind headers are not available.
10898
10899 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10900
10901         * win32/common/libgstreamer.def: 
10902           Add new exported function.
10903         * win32/vs6/libgstbase.dsp: 
10904           Add gstdataqueue.c to the build.
10905         * win32/vs6/libgstcoreelements.dsp:
10906           Add gstmultiqueue.c to the build.
10907         
10908 2007-01-06  Andy Wingo  <wingo@pobox.com>
10909
10910         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10911         activate_pull(), providing for a way to specialize the process of
10912         spawning a thread to pull on the sink pad. There is a default
10913         implementation.
10914
10915         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10916         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10917         (gst_base_sink_init): Renamed pad activation functions (inserting
10918         "_pad" in their names). Refactor to use the new activate_pull
10919         vmethod, as appropriate.
10920         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10921         default activate_pull function to start a task pulling from the
10922         sink pad, as before.
10923
10924         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10925         on the pads if necessary, as in push()/chain(). Update docs.
10926         Shouldn't affect existing pull() usage as it is currently only
10927         being used on buffers without caps.
10928
10929 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10930
10931         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10932         (init_pre):
10933           Call g_thread_init() first thing in gst_init() / gst_check_init().
10934           When initialisation is done via gst_init_get_option_group() and
10935           GOption parsing, issue a warning if the GLib thread system has not
10936           been initialised yet by the time gst_init_get_option_group() is
10937           called, as it's quite likely other GLib functions such as
10938           g_option_context_new() have been called already then, and
10939           g_thread_init() must be called before any other GLib function. The
10940           application in question must be fixed in that case, since memory
10941           corruption might happen otherwise.
10942           We issue the warning because even if the GLib folks decide to work
10943           around the problem on their end in future, this is still an issue
10944           with all GLib versions >= 2.10.0, so we should warn until we depend
10945           on a GLib version we know to be safe.
10946           Update documentation as well.
10947           Closes bug #391278.
10948
10949 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10950
10951         * tools/gst-inspect.c: (main):
10952         * tools/gst-launch.c: (main):
10953         * tools/gst-typefind.c: (main):
10954         * tools/gst-xmlinspect.c: (main):
10955           Call g_thread_init() really really early, before any other GLib
10956           function (see #342564 and recent discussion on gtk-devel-list).
10957
10958 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10959
10960         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
10961
10962         * gst/gst_private.h:
10963         * gst/gstconfig.h.in:
10964         * gst/gstinfo.h:
10965           On win32, all the __declspec stuff for symbol exporting is
10966           apparently only needed with MSVC, but doesn't work with MingW.
10967           Fixes compilation with MingW and #391909.
10968
10969 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10970
10971         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
10972           Change some GST_ERROR_OBJECT that aren't really errors to
10973           GST_WARNING_OBJECT in order to reduce terminal spam.
10974
10975 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10976
10977         * tests/check/Makefile.am:
10978           disable test again, as there seem to be still race problems
10979
10980 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
10981
10982         * tests/check/Makefile.am:
10983         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
10984         (GST_START_TEST), (queue_suite):
10985           enable queue test again, add tests for the leaky behaviour
10986
10987 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
10988
10989         * configure.ac:
10990         * tests/examples/Makefile.am:
10991           Compile adapter test/example only if the required headers are
10992           available (fixes #391915).
10993
10994 2007-01-01  David Schleef  <ds@schleef.org>
10995
10996         * gst/gstplugin.c:
10997           Restore the previous signal handler for SIGSEGV instead of
10998           setting to default, since we may have stolen it away from
10999           someone.  (i.e., Mono)
11000
11001 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11002
11003         * docs/random/draft-missing-plugins.txt:
11004           Some small additions and clarifications.
11005
11006 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11007
11008         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11009           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11010           since that can lead to random memory corruptions and crashes
11011           (may or may not be related to #383244, #386711, and #386711).
11012
11013 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11014
11015         * tests/check/.cvsignore:
11016         * tests/check/Makefile.am:
11017           sync .cvsignome and CLEANFILES
11018
11019 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11020
11021         * tests/check/Makefile.am:
11022           fix distcheck
11023
11024 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11025
11026         * docs/design/part-states.txt:
11027           two tiny additional comments
11028         
11029         * gst/gststructure.c:
11030           doc fixing
11031
11032         * tests/check/Makefile.am:
11033         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11034         (GST_START_TEST):
11035           disable test for now, unless it gets fixed
11036
11037 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11038
11039         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11040         (GST_START_TEST):
11041           fix race in underrun test
11042
11043 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11044
11045         * tests/check/elements/.cvsignore:
11046           ignore more
11047
11048         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11049         (GST_START_TEST):
11050           try to narrow test failure
11051
11052 2006-12-21  David Schleef  <ds@schleef.org>
11053
11054         * plugins/elements/gstfakesrc.c:
11055           Use g_random_int_range(), since it produces better random
11056           numbers in a range than almost-correct floating point code.
11057
11058 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11059
11060         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11061         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11062         (gst_check_teardown_sink_pad):
11063           do not automatically (de)activate pads
11064
11065         * tests/check/Makefile.am:
11066         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11067         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11068           add new, yet simple tests for queue
11069
11070         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11071         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11072         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11073         (GST_START_TEST):
11074         * tests/check/elements/identity.c: (cleanup_identity):
11075           consistent pad (de)activation
11076
11077 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11078
11079         Patch by: Sebastian Dröge  <slomo ubuntu com>
11080
11081         * libs/gst/base/gstcollectpads.c:
11082           Fix two doc typos (#387866).
11083
11084 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11085
11086         * docs/manual/advanced-dparams.xml:
11087           Fix typo (g_object_control_properties() doesn't exist).
11088
11089 2006-12-19  Edward Hervey  <edward@fluendo.com>
11090
11091         * gst/gstsegment.c: (gst_segment_set_seek):
11092         Fine tune the cases where the segment start/stop values are really
11093         updated.
11094         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11095         Add tests for the return values of gst_segment_set_seek().
11096
11097 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11098
11099         * gst/gst.c:
11100           Docs typo fix.
11101
11102         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11103         (gst_queue_init):
11104           Fix incorrect documentation and flesh it out a bit more.
11105           Set default values for the max properties on the GParamSpec as well,
11106           so it shows up correctly in gst-inspect.
11107
11108 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11109
11110         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11111           Correct docs of queue, add more detail and crosslink it more.
11112
11113 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11114
11115         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11116           Print additional debug info when the stream isn't perfectly
11117           timestamped; don't try to use invalid durations.
11118
11119 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11120
11121         * docs/design/Makefile.am:
11122           Dist new design docs.
11123
11124 2006-12-16  Wim Taymans  <wim@fluendo.com>
11125
11126         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11127
11128         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11129         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11130         (gst_collect_pads_stop), (gst_collect_pads_event),
11131         (gst_collect_pads_chain):
11132         * libs/gst/base/gstcollectpads.h:
11133         Add refcounting to the collectpads data so we can track when it's safe
11134         to free the data. Fixes #383382.
11135
11136 2006-12-15  Wim Taymans  <wim@fluendo.com>
11137
11138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11139         (gst_collect_pads_remove_pad):
11140         Automatically activate/deactivate pads when they are added to a
11141         started/stoped collectpads.
11142
11143 2006-12-15  Wim Taymans  <wim@fluendo.com>
11144
11145         * gst/gstelement.c: (gst_element_add_pad):
11146         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11147         * gst/gstpad.c: (gst_pad_init):
11148         Set pads to FLUSHING when they are created. Check, warn and fix when a
11149         demuxer adds an inactive pad to itself when running. Fixes #339326.
11150
11151 2006-12-15  Wim Taymans  <wim@fluendo.com>
11152
11153         * gst/gstelement.c: (gst_element_class_init),
11154         (gst_element_default_send_event), (gst_element_send_event),
11155         (gst_element_default_query), (gst_element_query):
11156         Expose default element send_event and query handling as vmethods that
11157         subclasses can chain up to.
11158
11159 2006-12-15  Wim Taymans  <wim@fluendo.com>
11160
11161         * gst/gstelement.c: (gst_element_set_state_func):
11162         Small documentation fixes.
11163
11164 2006-12-15  Wim Taymans  <wim@fluendo.com>
11165
11166         * docs/design/draft-latency.txt:
11167         Checked in draft for handling latency in pipelines.
11168
11169 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11170
11171         * Makefile.am:
11172         * gstreamer.doap:
11173         * gstreamer.spec.in:
11174           adding .doap file
11175
11176 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11177
11178         * gst/gst.c: (init_pre), (init_post):
11179           init_pre() and init_post() might be called via our GOptionGroup or
11180           from gst_init(), and we should skip both of them if we've already
11181           been initialised, otherwise we will init some things twice or add
11182           two default log functions.
11183
11184 2006-12-13  Edward Hervey  <edward@fluendo.com>
11185
11186         * docs/manual/basics-bus.xml:
11187         No, gst_main_loop does not exist. Its g_main_loop.
11188         Discovered by somebody who abused the copy-paste technique of coding :)
11189
11190 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11191
11192         * gst/gstghostpad.c:
11193           Log ghostpad debug stuff to the GST_PADS category as well rather
11194           than just to the default category.
11195
11196 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11197
11198         * configure.ac:
11199         * gst/gst.c: (init_pre):
11200           Add some basic system details such as OS and architecture
11201           to the debug output if possible, courtesy of uname().
11202
11203 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11204
11205         * docs/gst/running.xml:
11206           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11207           environment variables.
11208
11209 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11210
11211         * tests/check/gst/gstbin.c: (GST_START_TEST):
11212         It is acceptable to have a refcount of 2 or 3 at this point in the
11213         test, because the pipeline might be just posting its state_change
11214         message. The next line then waits for that message to appear using
11215         bus_poll, so that should be fine too.
11216
11217 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11218
11219         * gst/gst.c: (ensure_current_registry_forking):
11220         Ignore EINTR when reading from the child registry pipe.
11221         Explicitly ignore the return value from close, since it makes no
11222         difference.
11223
11224         * gst/gstminiobject.c: (gst_mini_object_ref),
11225         (gst_mini_object_unref):
11226         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11227
11228         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11229         When removing cached plugins, remove their features too, so they're
11230         not visible after they've disappeared.
11231
11232         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11233         In the unlikely case that we are linking pads with no parents, don't
11234         crash trying to get the non-existent parent bin.
11235
11236         * gst/parse/grammar.y:
11237         Output debug in the PIPELINE category
11238
11239 2005-03-08  Wim Taymans  <wim@fluendo.com>
11240
11241         Patch by: René Stadler <mail at renestadler dot de>
11242
11243         * gst/gstclock.c: (gst_clock_new_periodic_id):
11244         Reject invalid clock times for interval of periodic ids.
11245         Fixes ##383506.
11246
11247 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11248
11249         * gst/gstelementfactory.c: (gst_element_factory_create):
11250         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11251         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11252         * tools/gst-inspect.c: (print_element_info):
11253         Fix refcounting of gst_plugin_feature_load to match the docs. 
11254         Fixes: #380129
11255
11256 2006-12-07  Wim Taymans  <wim@fluendo.com>
11257
11258         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11259         (gst_base_sink_get_position):
11260         Improve debugging of events.
11261
11262 2006-12-07  Wim Taymans  <wim@fluendo.com>
11263
11264         Patch by: René Stadler <mail at renestadler dot de>
11265
11266         * gst/gstclock.c: (gst_clock_id_wait):
11267         Make period ids add the interval to the origial requested time instead
11268         of the possibly updated time which can be wrong when there are multiple
11269         waiters for the same id. Fixes #382592.
11270
11271         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11272         (gst_system_clock_id_wait_jitter_unlocked),
11273         (gst_system_clock_id_wait_jitter):
11274         Fix restart in the async notify thread when an async entry is added to
11275         the front of the list. Fixes #381492. 
11276
11277         * tests/check/gst/gstsystemclock.c: (store_callback),
11278         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11279         Added test for multiple async waits.
11280         Added test for async wait order.
11281
11282 2006-12-07  Wim Taymans  <wim@fluendo.com>
11283
11284         * gst/gstbin.c: (gst_bin_query):
11285         Add some more docs about the POSITION query.
11286
11287 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11288
11289         * configure.ac:
11290         Bump version nano - back to CVS.
11291
11292 === release 0.10.11 ===
11293
11294 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11295
11296         * configure.ac:
11297           releasing 0.10.11, "Love never runs on time"
11298
11299 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11300
11301         * win32/common/libgstbase.def:
11302         * win32/common/libgstreamer.def:
11303         * win32/vs8/libgstbase.vcproj:
11304         * win32/vs8/libgstcoreelements.vcproj:
11305         * win32/vs8/libgstreamer.vcproj:
11306         Fix compilation on win32 under VS8
11307         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11308         Partially fixes #381175
11309
11310 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11311
11312         * gst/gstvalue.c: (gst_value_compare_fraction):
11313         If someone is foolish enough to compare 2 fractions with denominator =
11314         0, return UNORDERED rather than aborting.
11315
11316 2006-11-28  Edward Hervey  <edward@fluendo.com>
11317
11318         * libs/gst/base/Makefile.am:
11319         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11320         (gst_data_queue_base_init), (gst_data_queue_class_init),
11321         (gst_data_queue_init), (gst_data_queue_new),
11322         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11323         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11324         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11325         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11326         (gst_data_queue_set_flushing), (gst_data_queue_push),
11327         (gst_data_queue_pop), (gst_data_queue_drop_head),
11328         (gst_data_queue_set_property), (gst_data_queue_get_property):
11329         * libs/gst/base/gstdataqueue.h:
11330         New GstDataQueue object for threadsafe queueing. Most useful for
11331         elements that need some queueing functionnality.
11332         * docs/libs/gstreamer-libs-docs.sgml:
11333         * docs/libs/gstreamer-libs-sections.txt:
11334         Insert documentation for GstDataQueue
11335         * plugins/elements/Makefile.am:
11336         * plugins/elements/gstelements.c:
11337         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11338         (gst_multi_queue_class_init), (gst_multi_queue_init),
11339         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11340         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11341         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11342         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11343         (gst_multi_queue_loop), (gst_multi_queue_chain),
11344         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11345         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11346         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11347         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11348         (wake_up_next_non_linked), (compute_next_non_linked),
11349         (single_queue_overrun_cb), (single_queue_underrun_cb),
11350         (single_queue_check_full), (gst_single_queue_new):
11351         * plugins/elements/gstmultiqueue.h:
11352         New multiqueue element, using GstDataQueue. Used for queuing multiple
11353         streams.
11354         Closes #344639 and #347785
11355
11356 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11357
11358         * docs/pwg/advanced-types.xml:
11359           add more missing type details
11360
11361         * tools/gst-run.c: (main):
11362           remove unused variable
11363
11364 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11365
11366         * docs/libs/Makefile.am:
11367         * docs/libs/gstreamer-libs.types:
11368           add types of base classes to enable gobject specific stuff in the docs
11369
11370         * docs/random/ensonic/embedded.txt:
11371           more ideas about isolating platform specific things
11372
11373 2006-11-20  Wim Taymans  <wim@fluendo.com>
11374
11375         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11376
11377         * libs/gst/check/gstcheck.h:
11378         Fix compilation and running against 0.9.4. Fixes #377332.
11379
11380 2006-11-20  Wim Taymans  <wim@fluendo.com>
11381
11382         * gst/gstsegment.c: (gst_segment_set_seek),
11383         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11384         (gst_segment_to_running_time):
11385         Fix boundary checking in to_running_time() and to_stream_time().
11386         Fixes #377183.
11387
11388         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11389         stream and running time can now be calculated for the complete
11390         clipped segment.
11391
11392 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11393
11394         * gst/gstpad.c: (gst_pad_push_event):
11395           Can't access event structure after giving away ownership of
11396           the event.
11397
11398 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11399
11400         * docs/random/ensonic/embedded.txt:
11401         * docs/random/ensonic/profiling.txt:
11402         * docs/random/ensonic/receipies.txt:
11403           more thinking
11404
11405 2006-11-13  Wim Taymans  <wim@fluendo.com>
11406
11407         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11408
11409         * gst/gstpad.c:
11410         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11411
11412 2006-11-13  Wim Taymans  <wim@fluendo.com>
11413
11414         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11415
11416         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11417         Store new length in segment duration so we don't keep on calling the
11418         potentially expensize get_size() call. Fixes #370865.
11419
11420 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11421
11422         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11423
11424         * win32/common/libgstreamer.def:
11425           Add two missing symbols (#366492).
11426
11427 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11428
11429         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11430         (gst_adapter_take_buffer):
11431         Fix format string to use all its arguments.
11432         Remove useless >= check on a guint
11433
11434 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11435
11436         * tests/examples/adapter/.cvsignore:
11437         Ignore build file as commanded by the build-bot
11438
11439 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11440
11441         * tests/examples/adapter/Makefile.am:
11442         * tests/examples/adapter/adapter_test.c: (run_test_take),
11443         (run_test_take_buffer), (run_tests), (main):
11444
11445         Add new files from the previous commit
11446
11447 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11448
11449         * Makefile.am:
11450         * configure.ac:
11451         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11452         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11453         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11454         * libs/gst/base/gstadapter.h:
11455         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11456         (GST_START_TEST), (gst_adapter_suite):
11457         * tests/examples/Makefile.am:
11458         Do some optimisation work in GstAdapter to avoid copies in more cases.
11459         It could still do slightly better by merging buffers when
11460         gst_buffer_is_span_fast is true, but is already faster. 
11461
11462         Also, avoid traversing a single-linked list to append each incoming 
11463         buffer inside the adapter.
11464
11465         Add simple test app that times the adapter behaviour in different
11466         situations, and extend the unit test to check that bytes enter and
11467         exit the adapter in their original order.
11468
11469 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11470
11471         * docs/random/draft-missing-plugins.txt:
11472           Update: use element message instead of adding a new message
11473           type to the core; don't provide GStreamer API to initiate the
11474           plugin download, just provide API to compose the strings needed
11475           and let an external libgimmestuff handle the rest.
11476
11477 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11478
11479         * tools/gst-inspect.c: (print_element_properties_info):
11480         Print a string instead of 'unknown type' for GValueArray properties
11481
11482 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11483
11484         * docs/random/draft-missing-plugins.txt:
11485         More small fixes.
11486
11487 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11488
11489         * tests/examples/typefind/typefind.c: (type_found), (main):
11490           Make typefind element example work again (#371894); add a
11491           license header.
11492
11493 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         * docs/random/draft-missing-plugins.txt:
11496           Commit initial draft about how to deal with missing plugins,
11497           needs work (API too).
11498
11499 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11500
11501         * docs/pwg/advanced-types.xml:
11502           documents the new caps elements (see #363118)
11503
11504 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11505
11506         * gst/gstplugin.c: (gst_plugin_load_file):
11507         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11508         (gst_file_src_map_region), (gst_file_src_start):
11509         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11510         (gst_file_index_commit):
11511           Use g_strerror() instead of strerror() - we want UTF-8.
11512
11513 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11514
11515         Patch by: Peter Kjellerstedt <pkj at axis com>
11516
11517         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11518           Another printf fix (#371493).
11519
11520 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11521
11522         * tests/check/gst/gsttag.c:
11523           relicence (okay with author=company)
11524
11525 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11526
11527         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11528         (gst_pad_push_event):
11529           Enhance debug and improve docs
11530         
11531         * gst/gsturi.c:
11532           Fix docs
11533
11534 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11535
11536         * docs/random/ensonic/distributed.txt:
11537         * docs/random/ensonic/profiling.txt:
11538           more ideas
11539
11540 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11541
11542         * docs/gst/gstreamer-sections.txt:
11543           add new API and fix the build
11544           
11545         * gst/gstbin.c: (gst_bin_recalc_state):
11546         * gst/gstelement.c: (gst_element_message_full),
11547         (gst_element_get_state_func), (gst_element_set_state_func):
11548           use new API and improve logging
11549         
11550         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11551         * gst/gstutils.h:
11552           API: add function to get StateChangereturn names to improve logs 
11553
11554 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11555
11556         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11557           I'm considering shooting the next person to put strerror stuff
11558           in the translateable part of the message.
11559
11560 2006-11-03  Wim Taymans  <wim@fluendo.com>
11561
11562         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11563         Get the type and printf conversion specifiers right.
11564
11565 2006-11-03  Wim Taymans  <wim@fluendo.com>
11566
11567         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11568
11569         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11570         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11571         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11572         Some small cleanups. Improve debugging.
11573         * gst/gstpad.h:
11574         Signal all waiting threads with a broadcast instead of just one.
11575         Fixes #369942.
11576
11577 2006-11-03  Wim Taymans  <wim@fluendo.com>
11578
11579         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11580         (gst_fd_src_create):
11581         Add some debugging. 
11582         Only update fd when it's different from the old.
11583
11584 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11585
11586         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11587           Printf fixes for PPC/OSX, take two (#369366).
11588
11589 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11590
11591         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11592
11593         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11594         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11595         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11596           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11597           don't cast to long long for portability reasons, but use
11598           GLib's types instead.
11599
11600 2006-10-30  Michael Smith  <msmith@fluendo.com>
11601
11602         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11603           Get the arguments to lseek() the right way around.
11604           Fixes 367677.
11605
11606 2006-10-30  Wim Taymans  <wim@fluendo.com>
11607
11608         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11609
11610         * gst/gstinfo.h:
11611         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11612
11613 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11614
11615         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11616
11617         * docs/design/part-MT-refcounting.txt:
11618         * docs/random/wtay/capsnego2-docs:
11619         * gst/gstclock.c:
11620         * gst/gstxml.c:
11621           Typo fixes (#366212).
11622
11623 2006-10-28  Wim Taymans  <wim@fluendo.com>
11624
11625         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11626
11627         * gst/gst.c:
11628         * win32/common/libgstbase.def:
11629         * win32/common/libgstreamer.def:
11630         * win32/vs8/libgstbase.vcproj:
11631         * win32/vs8/libgstcontroller.vcproj:
11632         Add needed entries in .def files.
11633         Use HAVE_UNISTD_H.
11634         Rearrange def files in vs8 solutions. Fixes #366286.
11635
11636 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11637
11638         * win32/common/gstconfig.h:
11639           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11640           hand-made win32 gstconfig.h. Fixes #366321.
11641
11642 2006-10-27  Wim Taymans  <wim@fluendo.com>
11643
11644         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11645         (gst_ghost_pad_new_full):
11646         Make acceptcaps return TRUE when we don't have a target, just like
11647         setcaps does.
11648
11649 2006-10-27  Wim Taymans  <wim@fluendo.com>
11650
11651         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11652         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11653
11654 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11655
11656         * gst/gststructure.c: (gst_structure_id_set_value):
11657           If someone tries to set a non-UTF8 string field on a structure,
11658           don't just print a warning, but also ignore the request and do
11659           not change/add that field to the structure.
11660
11661         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11662           Test for the above.
11663
11664 2006-10-25  David Schleef  <ds@schleef.org>
11665
11666         * gst/gstinfo.c:
11667           g_hash_table_insert() needs a cast to a non-const pointer duh.
11668
11669 2006-10-25  David Schleef  <ds@schleef.org>
11670
11671         * gst/gstinfo.c:
11672         * gst/gstinfo.h:
11673           Change name parameter of _gst_debug_register_funcptr to const
11674           to reflect the constness of its use in the function as well
11675           as to quiet a gcc warning.
11676
11677 2006-10-25  Edward Hervey  <edward@fluendo.com>
11678
11679         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11680         Don't push the buffer if it's empty.
11681         Closes #363095
11682
11683 2006-10-24  Wim Taymans  <wim@fluendo.com>
11684
11685         * gst/gstevent.h:
11686         Add small comment.
11687
11688         * libs/gst/base/gstbasetransform.c:
11689         (gst_base_transform_sink_eventfunc):
11690         Debug segment values *after* updating them as this is more
11691         interesting.
11692
11693 2006-10-23  Wim Taymans  <wim@fluendo.com>
11694
11695         * docs/design/part-events.txt:
11696         Update some docs.
11697
11698         * docs/design/part-block.txt:
11699         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11700         (gst_pad_push_event):
11701         Revert BLOCKING patch, it tries to be smart without really having a
11702         clear idea what or how. So, now we discard all FLUSHING events again on
11703         a blocking pad. Should fix gnonlin again.
11704
11705 2006-10-23  Wim Taymans  <wim@fluendo.com>
11706
11707         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11708
11709         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11710         (gst_base_src_start), (gst_base_src_activate_push):
11711         Make sure size is always initialized. Fixes #364388.
11712
11713 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11714
11715         * docs/random/ensonic/distributed.txt:
11716           add some ideas about doing distributed processing
11717
11718         * docs/random/ensonic/profiling.txt:
11719           get_rusage look promising
11720
11721 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11722
11723         * docs/manual/basics-helloworld.xml:
11724           Add a cast in example to fix compile warning
11725
11726 2006-10-18  Wim Taymans  <wim@fluendo.com>
11727
11728         * gst/gstsegment.c: (gst_segment_set_last_stop),
11729         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11730         Relax arg checking again, -1 is allowed.
11731
11732 2006-10-18  Wim Taymans  <wim@fluendo.com>
11733
11734         * gst/gstsegment.c: (gst_segment_set_last_stop),
11735         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11736         _set_last_stop() must be with a value != -1
11737         A _TYPE_SET to -1 means seek to 0.
11738         Calc last_stop correctly for negative rates.
11739         Make sure we work with positive durations when updating a segment.
11740
11741 2006-10-18  Wim Taymans  <wim@fluendo.com>
11742
11743         * docs/design/part-live-source.txt:
11744         * gst/gstclock.h:
11745         Small docs fixes.
11746
11747 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11748
11749         * gst/gstbuffer.h:
11750           Add an explicit cast to GstBuffer** to keep old code that added an
11751           explicit cast to GstMiniObject** for gst_mini_object_replace()
11752           compiling without warning.
11753
11754 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11755
11756         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11757           check for validity of dates
11758
11759 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11760
11761         * docs/gst/gstreamer-sections.txt:
11762           Forgot this one, makes gtk-doc shut up.
11763
11764 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11765
11766         Patch by: Peter Kjellerstedt <pkj at axis com>
11767
11768         * gst/gstobject.h:
11769           Don't define xmlNodePtr to gpointer if the core was built with
11770           --disable-loadsave and --disable-registry, this will break
11771           applications that want to use libxml2 but are buildling against a
11772           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11773           instead so we don't have to mess with the libxml2 namespace
11774           (#361675).
11775
11776 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11777
11778         * gst/gstbuffer.h:
11779           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11780           type-punned pointer warnings.
11781
11782 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11783
11784         * gst/gstelement.h:
11785           Add casts to the correct return type to state <=> state transition
11786           macros.
11787
11788 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11789
11790         * docs/design/part-live-source.txt:
11791           describe howto handle latency
11792         
11793         * docs/random/ensonic/profiling.txt:
11794           more ideas
11795
11796         * tools/gst-plot-timeline.py:
11797           fix log parsing for solaris, remove unused function
11798
11799 2006-10-16  Wim Taymans  <wim@fluendo.com>
11800
11801         * docs/design/part-trickmodes.txt:
11802         * gst/gstevent.c:
11803         Update some docs regarding reverse playback.
11804
11805 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11806
11807         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11808
11809         * win32/vs8/grammar.vcproj:
11810           Error out with a warning if glib-genmarshal.exe is not in path,
11811           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11812
11813 2006-10-13  Wim Taymans  <wim@fluendo.com>
11814
11815         * gst/gstsegment.c: (gst_segment_set_seek):
11816         When seeking to stop -1, set last_stop (current position) to the
11817         duration of the segment.
11818
11819 2006-10-13  Wim Taymans  <wim@fluendo.com>
11820
11821         * gst/gstelement.h:
11822         Clarify _NO_PREROLL a bit more.
11823
11824         * gst/gstevent.c:
11825         Fix docs.
11826
11827         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11828         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11829         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11830         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11831         due to wrong locking order. Fixes #361769.
11832         Remove some redundant/misplaced checks in pad_block.
11833
11834         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11835         For negative rates, count backwards from the duration.
11836
11837 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11838
11839         * gst/gsterror.c: (_gst_library_errors_init):
11840           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11841           up with something better).
11842
11843 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11844
11845         * win32/vs6/libgstreamer.dsp:
11846         * win32/vs7/libgstreamer.vcproj:
11847         * win32/vs8/libgstreamer.vcproj:
11848           Don't reference glib-compat.c which is currently not used and not
11849           disted; add gstquark.c which was recently added. Fixes #361730.
11850
11851 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * win32/common/libgstbase.def:
11854         * win32/common/libgstcontroller.def:
11855         * win32/common/libgstreamer.def:
11856           Add gst_caps_merge() and a bunch of other recently-added functions.
11857           Fixes #361732.
11858
11859 2006-10-11  Wim Taymans  <wim@fluendo.com>
11860
11861         * docs/plugins/gstreamer-plugins.args:
11862         * docs/plugins/inspect/plugin-coreelements.xml:
11863         * docs/plugins/inspect/plugin-coreindexers.xml:
11864         Update element args.
11865
11866         * gst/gstsystemclock.c:
11867         Small comment update.
11868
11869         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11870         (gst_tee_request_new_pad), (gst_tee_release_pad),
11871         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11872         (gst_tee_sink_activate_pull):
11873         * plugins/elements/gsttee.h:
11874         Some tee loving:
11875         Add default property defines.
11876         Implement release pad function.
11877         Give properties better blubs etc.
11878         Activate pads before adding them to a running tee.
11879         Do simple buffer_alloc on the first requested pad.
11880         Post error when activation fails.
11881
11882 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         * gst/gst.c: (ensure_current_registry_forking):
11885           Check return value of write() to make compiler happy.
11886
11887 2006-10-11  Wim Taymans  <wim@fluendo.com>
11888
11889         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11890
11891         * plugins/elements/gstqueue.c: (gst_queue_chain):
11892         Recheck queue filledness after signalling the overrun when we're about
11893         to leak downstream because we released the lock when emitting the signal
11894         and the queue could be empty again. Fixes #352345.
11895
11896 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11897
11898         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11899           Fix refcounting here too, just like we did for _new_valist() a few
11900           days ago (#357180) (thanks to René Stadler). Also remove all those
11901           'Since: 0.9' from the gtk-doc blobs.
11902
11903         * tests/check/libs/controller.c: (controller_refcount_new_list),
11904         (gst_controller_suite):
11905           Unit test for the above.
11906
11907 2006-10-10  Wim Taymans  <wim@fluendo.com>
11908
11909         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11910
11911         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11912         (gst_pad_save_thyself):
11913         Update some docs.
11914         Write pad direction in XML output. Fixes #345496.
11915
11916 2006-10-10  Wim Taymans  <wim@fluendo.com>
11917
11918         Patch by: René Stadler <mail at renestadler dot de>
11919
11920         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11921         (gst_controller_new_list), (_gst_controller_dispose),
11922         (_gst_controller_finalize), (_gst_controller_class_init):
11923         Take ref to controlled object so that it cannot disappear. 
11924         Fixes #357432.
11925
11926 2006-10-10  Wim Taymans  <wim@fluendo.com>
11927
11928         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11929         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11930         (gst_check_teardown_sink_pad):
11931         Activate/deactivate pads in setup/teardown respectively.
11932
11933 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11934
11935         Patch by: Josep Torra Valles <josep@fluendo.com>
11936
11937         * gst/Makefile.am:
11938         Cast values when making gstenumtypes.h.  This pacifies Forte
11939         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
11940         in the enumeration.
11941
11942 2006-10-09  Wim Taymans  <wim@fluendo.com>
11943
11944         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
11945         Rename some more @cur to @start to fix docs. 
11946
11947         * gst/gstsegment.c: (gst_segment_set_seek):
11948         Fix typo.
11949         time and start must always stay in sync as defined in design doc.
11950
11951         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11952         Rename param to fix docs.
11953
11954         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11955         Check that start and time are in sync.
11956
11957         * tests/check/pipelines/parse-launch.c:
11958         (gst_parse_test_element_change_state):
11959         Activate pad before adding to the element.
11960
11961 2006-10-09  Wim Taymans  <wim@fluendo.com>
11962
11963         * docs/design/part-qos.txt:
11964         Fix typo.
11965
11966         * gst/gstevent.c:
11967         * gst/gstevent.h:
11968         Update seek event docs regarding negative rates.
11969         Rename @cur to @start. 
11970
11971         * gst/gstsegment.c: (gst_segment_set_seek):
11972         * gst/gstsegment.h:
11973         Update set_seek docs regarding negative rates.
11974         Correctly update last_stop to @stop when dealing with negative
11975         rates.
11976         Rename @cur to @start. 
11977
11978         * tests/check/gst/gstpad.c: (GST_START_TEST):
11979         Activate pads before trying to use them.
11980
11981         * tests/check/gst/gstsegment.c: (GST_START_TEST),
11982         (gst_segment_suite):
11983         Add simple check for segments and negative rates.
11984
11985 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11986
11987         * gst/gsttaglist.c: (gst_tag_list_is_empty):
11988         * gst/gsttaglist.h:
11989         * docs/gst/gstreamer-sections.txt:
11990           API: add gst_tag_list_is_empty() (#360467).
11991
11992         * tests/check/gst/gsttag.c: (GST_START_TEST):
11993           And a test case.
11994
11995 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11996
11997         * gst/gstmessage.h:
11998         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
11999         a value that doesn't fit on enumeration.
12000
12001 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12002
12003         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12004         Remove local debugging system and use Gstreamer's instead.
12005
12006 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12007
12008         Patch by: Josep Torra Valles <josep@fluendo.com>
12009
12010         * common/m4/gst-error.m4:
12011         Disable warning of statement not reached on Forte.
12012         * gst/gstmessage.h:
12013         Fix warning on Forte (value doesn't fit on enumeration).
12014         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12015         Fix warning on Forte (value doesn't fit on enumeration).
12016         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12017         DEBUG macro says it takes minimum of 2 args and so Forte
12018         complains about the use with just 1 arg.
12019         * plugins/elements/gstfdsink.c:
12020         * plugins/elements/gstfdsrc.c:
12021         * plugins/elements/gstfilesink.c:
12022         * plugins/elements/gstfilesrc.c:
12023         Use correct return type for the uri handler implementations.
12024
12025         All these fix warnings in Forte.  Fixes bug #360860.
12026
12027 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gstelement.h:
12030           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12031           format string, so don't use G_GNUC_PRINTF for those versions.
12032
12033 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12034
12035         * gst/gsttaglist.c: (gst_is_tag_list):
12036         * gst/gsttaglist.h:
12037           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12038
12039         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12040           Small test for the above.
12041
12042 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12043
12044         * gst/gsttaglist.h:
12045           Less tabs, more spaces.
12046
12047 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         * gst/gstinfo.h:
12050           Those two function declarations do actually belong there, revert
12051           commit from yesterday that turned them intro macros.
12052
12053 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12054
12055         Patch by: Josep Torra Valles <josep@fluendo.com>
12056
12057         * gst/gst.c: (gst_init_get_option_group):
12058         Fix empty declaration and type mismatch.
12059         * gst/gstbin.c: (gst_bin_change_state_func):
12060         Fix type mismatch.
12061         * gst/gstelement.c: (gst_element_continue_state),
12062         (gst_element_set_state_func), (gst_element_change_state),
12063         (gst_element_change_state_func):
12064         Fix type mismatches.
12065         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12066         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12067         Cast as appropriate.
12068         * gst/gstobject.c: (gst_class_signal_connect):
12069         Cast as appropriate.  The function pointer parameter really
12070         has the wrong type but would break API if we change it.
12071         * gst/gstquery.c:
12072         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12073         order of including string.h.
12074         * gst/gstutils.c: (gst_element_state_get_name):
12075         Remove unreachable line.
12076         * gst/gstxml.c: (gst_xml_parse_doc):
12077         Fix type mismatch.
12078         All these caught by Forte.
12079
12080 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12081
12082         Patch by: Josep Torra Valles <josep@fluendo.com>
12083
12084         * common/m4/gst-error.m4:
12085         Fixed bug #360151.
12086         We need to disable warnings on Forte for empty declarations
12087         due to gst-indent adding ;s to lines that just use macros
12088         where the macro actually doesn't need a ; at end to end
12089         statement.
12090
12091 2006-10-06  Wim Taymans  <wim@fluendo.com>
12092
12093         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12094         (gst_file_sink_close_file), (gst_file_sink_event),
12095         (gst_file_sink_render):
12096         Add some FIXME for the NEWSEGMENT handling.
12097
12098 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12099
12100         * gst/parse/grammar.y:
12101         Remove static function gst_parse_element_lock as all it does
12102         is return.  Looks like cruft from 0.8.
12103
12104 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12105
12106         Patch by: Josep Torra Valles <josep@fluendo.com>
12107
12108         * common/m4/gst-error.m4:
12109         * configure.ac:
12110         * libs/gst/net/Makefile.am:
12111         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12112         libresolv.
12113
12114 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12115
12116         * gst/gstpad.c: (pre_activate):
12117         * gst/gstregistry.c: (gst_registry_scan_path_level):
12118         * gst/gstregistryxml.c: (load_plugin):
12119         * libs/gst/controller/gstcontroller.c:
12120         (gst_controlled_property_set_interpolation_mode):
12121         * libs/gst/dataprotocol/dataprotocol.c:
12122         (gst_dp_packet_from_event_1_0):
12123         * libs/gst/net/gstnetclientclock.c:
12124         (gst_net_client_clock_observe_times):
12125         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12126           Printf fixes.
12127
12128 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12129
12130         * configure.ac:
12131         * docs/gst/gstreamer-sections.txt:
12132         * gst/gstconfig.h.in:
12133         * gst/gstelement.h:
12134         * gst/gstinfo.h:
12135           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12136           whether we can use G_GNUC_PRINTF in other header files and at
12137           least check the printf format/arguments of debug messages and
12138           GST_ELEMENT_ERROR messages when the printf extension is not
12139           being used.
12140           Replace more tabs with spaces in gstinfo.h and remove two spurious
12141           function declarations in GST_DISABLE_DEBUG part with macros.
12142
12143 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12144
12145         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12146           More docs for the sync-message signal (mention that it is not
12147           emitted by default); log message structures of messages posted on
12148           the bus as well.
12149
12150 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12151
12152         * gst/gst.c: (ensure_current_registry_forking):
12153         Use a pipe pair to receive status results from the forked child, and
12154         ignore the result from waitpid. Fixes #355499
12155
12156 2006-10-02  Wim Taymans  <wim@fluendo.com>
12157
12158         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12159         (gst_ghost_pad_suite):
12160         Fix leak in check.
12161
12162 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12163
12164         * gst/gstpad.c:
12165           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12166
12167 2006-10-02  Edward Hervey  <edward@fluendo.com>
12168
12169         * docs/design/part-block.txt:
12170         Further explain the use of flushing on blocked pads.
12171         * docs/gst/gstreamer-sections.txt:
12172         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12173         (gst_pad_push_event):
12174         * gst/gstpad.h:
12175         Added new GstPadFlag : GST_PAD_BLOCKING.
12176         Adds the notion of pads really blocking, which enables to properly
12177         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12178         Fixes #358999
12179         API: gst_pad_is_blocking()
12180         API: GST_PAD_IS_BLOCKING() macro
12181         API: GST_PAD_BLOCKING GstPadFlag
12182         
12183 2006-10-02  Wim Taymans  <wim@fluendo.com>
12184
12185         Patch by: mrcgran <mrc.gran at gmail dot com>
12186
12187         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12188         Filter the proxied caps against the padtemplate if we have one.
12189
12190         * gst/gstquery.c: (gst_query_new_segment):
12191         Add include for gstinfo.h so that compilation with
12192         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12193
12194 2006-10-02  Wim Taymans  <wim@fluendo.com>
12195
12196         Patch by: Alessandro Decina  <alessandro at nnva org>
12197
12198         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12199         (gst_file_sink_set_location), (gst_file_sink_open_file),
12200         (gst_file_sink_close_file), (gst_file_sink_event),
12201         (gst_file_sink_render):
12202         Set file to NULL when closing filesink so that we can set a new filename
12203         in READY. Fixes #358613.
12204
12205 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12206
12207         Patch by: Alessandro Decina  <alessandro at nnva org>
12208
12209         * gst/gstevent.c: (_gst_event_copy):
12210           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12211           with event structures by setting the parent refcount address of the
12212           copied structure to the address of the refcount member of the newly
12213           copied event rather than the address of the refcount member of the
12214           original event. Fixes #358737.
12215
12216         * tests/check/gst/gstevent.c: (GST_START_TEST):
12217           Unit test for the above.
12218
12219 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12220
12221         * docs/design/Makefile.am:
12222           Dist some more files.
12223
12224 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12225
12226         * tests/check/libs/controller.c: (GST_START_TEST),
12227         (gst_controller_suite):
12228           Add test for the previous fix; add some more tests
12229           for correct refcounting behaviour; fix a few leaks
12230           in test cases; call gst_controller_init() at start
12231           of all tests.
12232
12233 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12234
12235         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12236         (gst_controller_set_from_list):
12237           Don't g_return_val_if_fail() on timed values with invalid timestamps
12238           inside a critical section without unlocking the mutex. Spotted by
12239           René Stadler. (#357617)
12240           Also, fix up refcounting properly: when returning an existing
12241           controller, we should increase the reference only once and not
12242           once per property and when trying to control a property again
12243           we should also increase the refcount.
12244
12245 2006-09-29  Wim Taymans  <wim@fluendo.com>
12246
12247         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12248         * libs/gst/net/gstnettimeprovider.c:
12249         (gst_net_time_provider_thread):
12250         Stop reading commands when EOF as well.
12251
12252         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12253         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12254         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12255         Unify description of the dump property.
12256
12257 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12258
12259         * tests/examples/manual/.cvsignore:
12260         OK, so it's actually cvsignore that needs changing. Stop laughing.
12261
12262 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12263
12264         * tests/examples/manual/Makefile.am:
12265         Gah, declare vars *before* using them
12266
12267 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12268
12269         * gst/gst.c: (init_pre), (scan_and_update_registry),
12270         (ensure_current_registry_nonforking),
12271         (ensure_current_registry_forking), (ensure_current_registry),
12272         (init_post), (gst_debug_help), (gst_deinit):
12273         * gst/gst_private.h:
12274         * gst/gstregistry.c: (gst_registry_finalize),
12275         (gst_registry_remove_features_for_plugin_unlocked),
12276         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12277         (gst_registry_scan_path),
12278         (_priv_gst_registry_remove_cache_plugins),
12279         (_priv_gst_registry_cleanup):
12280         * gst/gstregistry.h:
12281         Re-commit the registry changes, along with an extra fix:
12282           When a cached plugin is encountered at a different file path,
12283           update the stored path in the registry cache so that the parent
12284           process knows where it actually is now when it re-reads the registry
12285           cache. Fixes the thing that broke distcheck with the previous commit.
12286
12287         * tests/check/Makefile.am:
12288         Clean up files named 'core' too when running make clean.
12289
12290         * tests/examples/manual/Makefile.am:
12291         Set up a registry path for running these tests, and clean it properly
12292         for distcheck.
12293
12294 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12295
12296         * configure.ac:
12297         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12298         want gmodule-no-export-2.0.pc instead so that we don't drag in
12299         --export-dynamic on every project that links to GStreamer.
12300
12301         Also, make our export regex only match the start of symbols, rather 
12302         than any symbol that contains '_gst' somewhere.
12303
12304         * libs/gst/check/Makefile.am:
12305         The libgstcheck we build does however need export-dynamic, as it
12306         produces some symbols that don't match our _gst... style regex.
12307         Fixes: #318031
12308
12309 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12310
12311         * gst/gst.c: (init_pre), (scan_and_update_registry),
12312         (ensure_current_registry_nonforking),
12313         (ensure_current_registry_forking), (ensure_current_registry),
12314         (init_post), (gst_debug_help), (gst_deinit):
12315         * gst/gst_private.h:
12316         * gst/gstregistry.c: (gst_registry_finalize),
12317         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12318         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12319         (_gst_registry_cleanup):
12320         * gst/gstregistry.h:
12321           Revert previous change until I figure out why it breaks distcheck.
12322
12323 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12324
12325         * gst/gst.c: (init_pre), (scan_and_update_registry),
12326         (ensure_current_registry_nonforking),
12327         (ensure_current_registry_forking), (ensure_current_registry),
12328         (init_post), (gst_debug_help), (gst_deinit):
12329
12330           Make init_pre and init_post take the full complement of GOptionFunc
12331           args so they can return useful GErrors. Make the registry updating
12332           functions do so.
12333
12334           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12335           ensure that the registry we're about to write out doesn't contain
12336           stale information about old-deleted plugin files.
12337
12338           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12339           that deletion of plugin files is considered a registry change.
12340
12341         * gst/gst_private.h:
12342         * gst/gstregistry.c: (gst_registry_finalize),
12343         (gst_registry_remove_features_for_plugin_unlocked),
12344         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12345         (gst_registry_scan_path),
12346         (_priv_gst_registry_remove_cache_plugins),
12347         (_priv_gst_registry_cleanup):
12348         * gst/gstregistry.h:
12349         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12350         by adding _priv prefix, so that they won't appear in the global
12351         symbol table. They still do atm though because of #318031. Move the
12352         prototypes to gst_private.h
12353
12354         When removing a plugin, remove all features for that plugin too. 
12355         Fixes #340878.
12356
12357 2006-09-27  Wim Taymans  <wim@fluendo.com>
12358
12359         * docs/random/moving-plugins:
12360         Make it clear that the "compiled-in descriptions" really mean
12361         the element details.
12362
12363         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12364         (gst_base_sink_wait_preroll):
12365         Update docs.
12366
12367         * docs/libs/gstreamer-libs-sections.txt:
12368         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12369         (gst_base_src_get_range), (gst_base_src_activate_push):
12370         * libs/gst/base/gstbasesrc.h:
12371         Added function to block while waiting for PLAYING, this function
12372         is used by live sources that block on the clock.
12373         API: gst_base_src_wait_playing()
12374
12375 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12376
12377         Patch by: Peter Kjellerstedt <pkj at axis com>
12378
12379         * Makefile.am:
12380           gst-element-check.m4 is generated and should therefore be
12381           copied from the build dir rather than the source dir (#357593).
12382           'make distcheck' hasn't noticed this because we were disting
12383           the file as well, so stop doing that.
12384
12385 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12386
12387         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12388           Add some tests for gst_caps_intersect().
12389
12390         * tools/gst-launch.c: (event_loop):
12391           Print all buffering percentages we get, even the 100% one.
12392
12393 2006-09-26  Wim Taymans  <wim@fluendo.com>
12394
12395         * tools/gst-inspect.c: (print_element_properties_info),
12396         (print_signal_info):
12397         Fix printing of flags to match the look of enums.
12398
12399 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12400
12401         * gst/gstelementfactory.c:
12402           Fix typo in docs blurb.
12403
12404 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12405
12406         * gst/gsturi.c: (search_by_entry):
12407           Don't assert/crash here if a uri handler doesn't return any
12408           supported protocols. The list of protocols could be generated
12409           dynamically at runtime or at plugin registration, and an error
12410           in the underlying library shouldn't be fatal (#353301).
12411
12412 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12413
12414         * gst/gstinfo.c:
12415           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12416           (spotted by Peter Kjellerstedt).
12417
12418 2006-09-23  Wim Taymans  <wim@fluendo.com>
12419
12420         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12421
12422         * libs/gst/base/gstbasesrc.c:
12423         (gst_base_src_default_check_get_range), (gst_base_src_start),
12424         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12425         (gst_base_src_change_state):
12426         Match _start/_stop calls in the activate functions. Remove redundant
12427         _stop call from the state change function. Fixes #356910.
12428         Turn failure DEBUG into ERROR. 
12429
12430 2006-09-22  Wim Taymans  <wim@fluendo.com>
12431
12432         * docs/design/part-buffering.txt:
12433         * gst/gstmessage.c: (gst_message_new_buffering),
12434         (gst_message_parse_buffering):
12435         Update docs about buffering.
12436
12437         * docs/design/part-trickmodes.txt:
12438         Fix typo.
12439
12440 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12441
12442         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12443         (gst_controller_new_list):
12444           Ref instances when returning them again (fixes #357180)
12445
12446 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12447
12448         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12449           Don't forget to release proxy lock when there's an error.
12450
12451 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12452
12453         * gst/gstcaps.h:
12454           Add extra initialisers for Caps things, to fix some plugin warnings
12455           when using -Wextra
12456
12457 2006-09-18  Wim Taymans  <wim@fluendo.com>
12458
12459         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12460           Also set template on the internal pad so that a getcaps from the 
12461           target pad returns the template caps.
12462
12463 2006-09-18  Wim Taymans  <wim@fluendo.com>
12464
12465         * gst/gstelement.c: (gst_element_post_message),
12466         (gst_element_dispose):
12467         Use _DEBUG_OBJECT some more.
12468
12469         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12470         Avoid typechecks.
12471
12472         * tools/gst-launch.c: (main):
12473         If the toplevel element is not a GstPipeline, it must be put in a
12474         pipeline so that a bus and clock is selected.
12475
12476 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12477
12478         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12479           JITTER, RATE, and LATENCY query should be handled by the
12480           default case and not by the CONVERT query code.
12481
12482 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12483
12484         * gst/gstformat.c: (gst_format_register):
12485           Fix locking order (must take lock before using n_values).
12486
12487         * gst/gstvalue.c: (gst_value_serialize_enum),
12488         (gst_value_deserialize_enum_iter_cmp),
12489         (gst_value_deserialize_enum):
12490           Fix serialisation/deserialisation of custom registered GstFormats.
12491
12492         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12493           Unit test for custom format serialisation/deserialisation.
12494
12495 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12496
12497         * docs/pwg/building-boiler.xml:
12498         * plugins/elements/gstcapsfilter.c:
12499         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12500         section.
12501
12502 2006-09-16  Edward Hervey  <edward@fluendo.com>
12503
12504         * libs/gst/base/gstbasetransform.c:
12505         (gst_base_transform_buffer_alloc):
12506         Check if requested caps are the same as the sinks caps IF
12507         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12508         is FALSE.
12509         This fixes the renegotiation issues stated in #352827.
12510
12511 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12512
12513         * configure.ac:
12514         * docs/manual/advanced-autoplugging.xml:
12515         * tests/examples/Makefile.am:
12516         * tests/examples/manual/.cvsignore:
12517         * tests/examples/manual/Makefile.am:
12518         * tests/examples/manual/extract.pl:
12519           Extract the manual examples again like we used to do.
12520           Fix one of them.
12521
12522 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12523
12524         * win32/common/config.h:
12525           update for version
12526
12527 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12528
12529         * gst/gsterror.c:
12530           Documents how to receive errors.
12531
12532 2006-09-15  Wim Taymans  <wim@fluendo.com>
12533
12534         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12535         (event_loop), (main):
12536         Added some comments here and there.
12537         Post an application message when an interrupt is caught instead of doing
12538         an uncontrolled state change.
12539         Clean up the event loop.
12540         Handle buffering messages, pause/resume the pipeline.
12541         Make shutdown because of an interrupt more reliable.
12542
12543 2006-09-15  Wim Taymans  <wim@fluendo.com>
12544
12545         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12546         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12547         (gst_base_sink_preroll_object):
12548         Make sure that our internal state is correct when we commit our state
12549         asynchronously. This solves a race where a state change to PLAYING
12550         could cause the sink to remain blocked in preroll in some situations.
12551
12552 2006-09-15  Wim Taymans  <wim@fluendo.com>
12553
12554         * tools/gst-inspect.c: (print_element_properties_info),
12555         (print_signal_info):
12556         List flags as hex so it's easier to deal with.
12557
12558 2006-09-15  Wim Taymans  <wim@fluendo.com>
12559
12560         * docs/libs/gstreamer-libs-sections.txt:
12561         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12562         (gst_base_sink_do_sync):
12563         * libs/gst/base/gstbasesink.h:
12564         Expose logic to wait for preroll so that subclasses such as audiosink
12565         can also use this method.
12566         API: gst_base_sink_wait_preroll()
12567
12568 2006-09-15  Wim Taymans  <wim@fluendo.com>
12569
12570         * gst/gstobject.c: (gst_object_set_parent):
12571         * gst/gstpipeline.c: (do_pipeline_seek):
12572         Small cleanups in docs and code.
12573
12574         * gst/gstsegment.c: (gst_segment_clip):
12575         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12576         if stop == start and start is in the segment, no clipping should be
12577         done. Also add a test for this.
12578
12579 2006-09-15  Wim Taymans  <wim@fluendo.com>
12580
12581         * docs/design/part-buffering.txt:
12582         * docs/gst/gstreamer-sections.txt:
12583         * gst/gstmessage.c: (gst_message_new_buffering),
12584         (gst_message_parse_buffering):
12585         * gst/gstmessage.h:
12586         Added methods to create and parse BUFFERING messages.
12587         Added preliminary docs about buffering.
12588         API: gst_message_new_buffering
12589         API: gst_message_parse_buffering
12590
12591 2006-09-06  Wim Taymans  <wim@fluendo.com>
12592
12593         * gst/gstbin.c:
12594         Update documentation.
12595
12596         * gst/gstelement.c: (gst_element_class_init),
12597         (gst_element_release_request_pad), (gst_element_set_clock),
12598         (gst_element_get_index), (gst_element_add_pad),
12599         (gst_element_remove_pad), (gst_element_get_random_pad),
12600         (gst_element_send_event), (gst_element_get_query_types),
12601         (gst_element_query), (gst_element_post_message),
12602         (gst_element_message_full), (gst_element_continue_state),
12603         (gst_element_lost_state), (gst_element_save_thyself),
12604         (gst_element_restore_thyself):
12605         Documentation updates.
12606         Rename last bit of the new-pad -> pad-added signal rename.
12607         Fix the case where an element query would only work if the source
12608         pad was linked.
12609         Avoid some useless type checking in message handling.
12610
12611         * gst/gstevent.c:
12612         * gst/gstevent.h:
12613         * gst/gstutils.c:
12614         Documentation updates.
12615
12616 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12617
12618         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12619           add an INFO line for when we actually update the fd
12620
12621 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12622
12623         * configure.ac:
12624           back to TRUNK
12625
12626 === release 0.10.10 ===
12627
12628 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12629
12630         * configure.ac:
12631           releasing 0.10.10, "Pais"
12632
12633 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12634
12635         * docs/manual/advanced-position.xml:
12636           Fix typo in sample code.
12637
12638 2006-09-05  Wim Taymans  <wim@fluendo.com>
12639
12640         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12641         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12642         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12643         * libs/gst/net/gstnetclientclock.h:
12644         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12645         * libs/gst/net/gstnettimepacket.h:
12646         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12647         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12648         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12649         * libs/gst/net/gstnettimeprovider.h:
12650         Make stuff compile on windows. Fixes #345295.
12651
12652 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12653
12654         * gst/gst.c: (ensure_current_registry_forking):
12655           Print better details when child was terminated by signal.
12656
12657 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12658
12659         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12660           Print a warning rather than g_assert() if a plugin feature
12661           is a URI handler but returns no protocols (#353976).
12662
12663 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12664
12665         * docs/random/moving-plugins:
12666         Fix two typos.         
12667
12668 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12669
12670         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12671           Fix locking order, handle NULL function values properly.
12672
12673         * gst/gstinfo.h:
12674           Fix docs.
12675
12676         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12677           Initialise variable before using it and fix debug statement to
12678           print the address of the function rather than the address of the
12679           variable on the stack holding the address of the function.
12680
12681 2006-09-01  Wim Taymans  <wim@fluendo.com>
12682
12683         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12684         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12685         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12686         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12687         (gst_ghost_pad_parent_unset),
12688         (gst_ghost_pad_internal_do_activate_push),
12689         (gst_ghost_pad_internal_do_activate_pull),
12690         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12691         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12692         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12693         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12694         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12695         (gst_ghost_pad_new_no_target_from_template),
12696         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12697         More cleanups.
12698         Avoid needless typechecking in macros.
12699         Since the internal pad is always present and never changes, there is
12700         no need to locking or ref when retrieving it.
12701         Improve debugging a bit.
12702         Handle link errors when setting the target. Fixes #341029.
12703
12704 2006-09-01  Wim Taymans  <wim@fluendo.com>
12705
12706         * docs/libs/gstreamer-libs-sections.txt:
12707         * docs/plugins/gstreamer-plugins-sections.txt:
12708         Fix docs some more.
12709
12710         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12711         (gst_collect_pads_event):
12712         * libs/gst/base/gstcollectpads.h:
12713         Documentation updates.
12714         Free queued buffer when removing a pad.
12715
12716 2006-08-31  Michael Smith  <msmith@fluendo.com>
12717
12718         * gst/gstutils.c: (gst_element_link_pads),
12719         (gst_element_link_pads_filtered):
12720           Ensure that we set a capsfilter to NULL if we failed to link it
12721           when doing filtered linking, to avoid criticals.
12722
12723           No need to check for unreffing srcpad, which is explicly NULLed
12724           above (a trivial code cleanup).
12725
12726 2006-08-31  Wim Taymans  <wim@fluendo.com>
12727
12728         * docs/design/part-gstghostpad.txt:
12729         Update ascii art in documentation.
12730
12731         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12732         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12733         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12734         (gst_ghost_pad_internal_do_activate_push),
12735         (gst_ghost_pad_internal_do_activate_pull),
12736         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12737         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12738         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12739         (gst_ghost_pad_set_target):
12740         Small cleanups and leak fixes.
12741         Remove some checks now that the internal pad is never NULL.
12742         Fix the case where linking pads without a target would create nasty
12743         criticals. Fixes #341029.
12744         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12745         value of _set_target().
12746
12747         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12748         (gst_ghost_pad_suite):
12749         Some more tests for creating and linking untargeted ghostpads.
12750
12751 2006-08-31  Edward Hervey  <edward@fluendo.com>
12752
12753         * docs/gst/gstreamer-sections.txt:
12754         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12755         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12756         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12757         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12758         (gst_ghost_pad_new_from_template),
12759         (gst_ghost_pad_new_no_target_from_template):
12760         * gst/gstghostpad.h:
12761         Refactored *_new() functions.
12762         Templates are now used as a g_object_new() parameter.
12763         Use template in _do_getcaps() if we don't have a target.
12764         Small documentation cleanups.
12765         Added two new constructors:
12766         gst_ghost_pad_new_from_template()
12767         gst_ghost_pad_new_no_target_from_template()
12768         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12769         (gst_ghost_pad_suite):
12770         Added tests for new ghostpad instanciation functions.
12771
12772         API additions: gst_ghost_pad_new_from_template,
12773         gst_ghost_pad_new_no_target_from_template
12774
12775 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12776
12777         * docs/random/ensonic/profiling.txt:
12778           Ideas about qos profiling.
12779
12780 2006-08-29  Wim Taymans  <wim@fluendo.com>
12781
12782         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12783         Code cleanups.
12784         Fix memleak.
12785
12786 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12787
12788         * gst/gstxml.c:
12789           Improve and detypofy docs.
12790
12791         * tests/check/Makefile.am:
12792         * tests/check/gst/.cvsignore:
12793         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12794           Add a basic test suite for GstXML.
12795
12796 2006-08-29  Wim Taymans  <wim@fluendo.com>
12797
12798         * gst/gstelement.c: (activate_pads), (clear_caps),
12799         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12800         Clear the pad caps when the element shut down all of the pads and
12801         is not streaming data that could modify the caps. 
12802         Fixes #352958.
12803
12804 2006-08-28  Michael Smith  <msmith@fluendo.com>
12805
12806         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12807           Revert previous change; I misunderstood single-segment mode.
12808
12809 2006-08-28  Michael Smith  <msmith@fluendo.com>
12810
12811         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12812           Unset DISCONT on buffers when using single-segment mode.
12813
12814 2006-08-28  Wim Taymans  <wim@fluendo.com>
12815
12816         * gst/gstcaps.c: (gst_caps_merge_structure):
12817         * gst/gstcaps.h:
12818         Fix docs and indentation again.
12819
12820         * tests/check/gst/gstquery.c: (GST_START_TEST):
12821         Fix leak in tests and add some more tests.
12822
12823 2006-08-28  Edward Hervey  <edward@fluendo.com>
12824
12825         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12826         Inform GstSegment of the last stop position in order for the current
12827         segment to have a proper duration if it doesn't have a specific stop
12828         position from which a duration could be calculated.
12829         This bug was noticeable when a non-flushing, non-update new segment was
12830         followed by another segment (all buffers from the new segment were being
12831         dropped).
12832
12833 2006-08-28  Wim Taymans  <wim@fluendo.com>
12834
12835         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12836         Small comment update.
12837
12838         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12839         (gst_identity_transform_ip):
12840         Drop-probability is broken, mention this in the code with a 
12841         FIXME and also in the property description.
12842         Make silent also be silent about the drop messages.
12843
12844 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12845
12846         * docs/manual/appendix-win32.xml:
12847           Remove mention of popt, we don't depend on that any
12848           longer (#353136). Add some comments pointing out that
12849           this section is slightly outdated.
12850
12851 2006-08-28  Wim Taymans  <wim@fluendo.com>
12852
12853         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12854
12855         * gst/gstquery.c: (gst_query_new_segment):
12856         * tests/check/gst/gstquery.c: (GST_START_TEST):
12857         Initialize variables when creating a new segment query.
12858         Fixes #353121.
12859
12860 2006-08-28  Wim Taymans  <wim@fluendo.com>
12861
12862         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12863
12864         * gst/gstelement.c: (gst_element_get_bus):
12865         * tests/check/gst/gstelement.c: (GST_START_TEST):
12866         Check for NULL before _reffing the bus. Fixes #353122.
12867
12868 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12869
12870         * docs/manual/basics-bus.xml:
12871           Docs update: fix wrong callback return value explanation; add
12872           some lines about the implicit relationship between main loop
12873           and main context; remove duplicate main loop variable declaration.
12874
12875 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12876
12877         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12878           Don't leak caps in unit test; add a few more simple
12879           checks. 
12880
12881 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12882
12883         * docs/gst/gstreamer-sections.txt:
12884         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12885         (gst_caps_structure_is_subset), (gst_caps_merge),
12886         (gst_caps_merge_structure):
12887         * gst/gstcaps.h:
12888         * libs/gst/base/gstbasetransform.c:
12889         (gst_base_transform_transform_caps):
12890         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12891           implement caps merging (fixes #352580)
12892
12893 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12894
12895         * tools/Makefile.am:
12896         * tools/gst-plot-timeline.py:
12897           add debug-log plotting developer tool (#340674)
12898
12899 2006-08-23  Wim Taymans  <wim@fluendo.com>
12900
12901         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12902         (gst_pad_stop_task):
12903         Improve debugging for task functions.
12904
12905         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12906         (gst_task_start), (gst_task_pause), (gst_task_join):
12907         Make sure that the task function started and finished after a 
12908         join(). 
12909         Don't try to push the task function on the threadpool multiple
12910         times.
12911         Improve the g_warning message with some useful suggestions
12912         about how to fix the problem. 
12913
12914 2006-08-23  Wim Taymans  <wim@fluendo.com>
12915
12916         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12917         Handle RESYNC correctly in _proxy_getcaps.
12918
12919 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12920
12921         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12922         (gst_xml_parse_memory), (gst_xml_get_element):
12923           Chain up to parent class in dispose function and also
12924           unref the elements in the toplevel_elements GList.
12925           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12926           Always return a reference in gst_xml_get_element() rather
12927           than only sometimes.
12928
12929         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12930           Don't leak GstXml object.
12931
12932 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12933
12934         * docs/gst/gstreamer-sections.txt:
12935         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12936         (gst_caps_merge):
12937         * gst/gstcaps.h:
12938         * libs/gst/base/gstbasetransform.c:
12939         (gst_base_transform_transform_caps):
12940           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
12941           in a better way
12942
12943 2006-08-21  Edward Hervey  <edward@fluendo.com>
12944
12945         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
12946         Implement GObject::dispose virtual method in GstXML so we can free the
12947         top_elements GList.
12948
12949 2006-08-21  Wim Taymans  <wim@fluendo.com>
12950
12951         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
12952         (gst_buffer_create_sub):
12953         Copy duration/offset_end/caps when creating a subbuffer of the
12954         complete parent.
12955         Make the subbuffer read-only when we make the metadata writable for
12956         now. Fixes #351768.
12957
12958         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12959         Added check for metadata copy when creating subbuffers.
12960
12961 2006-08-21  Edward Hervey  <edward@fluendo.com>
12962
12963         * libs/gst/base/gstbasetransform.c:
12964         (gst_base_transform_buffer_alloc):
12965         Only call downstream buffer_alloc if transform element is passthrough
12966         or always_in_place. Closes #350449.
12967
12968 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12969
12970         * ChangeLog:
12971           ChangeLog surgery to add comments to previous changes
12972
12973 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12974
12975         * gst/gst.c:
12976           Add comments
12977
12978         * gst/gstpad.c: (gst_pad_set_active):
12979           Be more verbose in the log
12980
12981         * libs/gst/base/gstbasetransform.c:
12982         (gst_base_transform_transform_caps):
12983           Simplify caps to get rid of duplicates, fixes #345444
12984
12985 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12986
12987         * gst/gstvalue.c:
12988         * gst/gstvalue.h:
12989           Use these optimizations only internally.
12990
12991 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
12992
12993         * gst/gstvalue.c: (gst_value_compare_list),
12994         (gst_value_compare_fraction_range),
12995         (gst_value_intersect_fraction_fraction_range),
12996         (gst_value_intersect_fraction_range_fraction_range),
12997         (gst_value_subtract_fraction_fraction_range),
12998         (gst_value_subtract_fraction_range_fraction_range),
12999         (gst_value_get_compare_func), (gst_value_compare),
13000         (gst_value_compare_with_func):
13001         * gst/gstvalue.h:
13002           Saves the expensive lookup of the compare function in many cases
13003          (#345444)
13004
13005 2006-08-18  Edward Hervey  <edward@fluendo.com>
13006
13007         * tests/check/gst/gstinfo.c: (gst_info_suite):
13008         Disable test that require gstdebug if it wasn't built in core.
13009
13010 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13011
13012         * docs/random/ensonic/logging.txt:
13013           update ideas
13014           
13015         * gst/gstinfo.c: (gst_debug_log_default):
13016           reorder fields, save some columns, add optional color codes for log
13017           levels
13018
13019 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13020
13021         * docs/random/ensonic/logging.txt:
13022           add ideas about making the logs a bit more useful
13023
13024 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13025
13026         * docs/pwg/advanced-events.xml:
13027         * docs/pwg/titlepage.xml:
13028           Update for 0.10 API (#340627). Add myself
13029           to authors list.
13030
13031 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13032
13033         * docs/libs/gstreamer-libs-docs.sgml:
13034         * docs/libs/gstreamer-libs-sections.txt:
13035         * libs/gst/check/gstbufferstraw.c:
13036           Make gstcheck stuff show up in docs (still needs to
13037           be documented properly though).
13038
13039 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13040
13041         * docs/gst/gstreamer-sections.txt:
13042         * gst/Makefile.am:
13043         * gst/gst.c: (init_post):
13044         * gst/gst_private.h:
13045         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13046         * gst/gstquark.h:
13047         * gst/gstquery.c: (gst_query_new_position),
13048         (gst_query_set_position), (gst_query_parse_position),
13049         (gst_query_new_duration), (gst_query_set_duration),
13050         (gst_query_parse_duration), (gst_query_new_convert),
13051         (gst_query_set_convert), (gst_query_parse_convert),
13052         (gst_query_new_segment), (gst_query_set_segment),
13053         (gst_query_parse_segment), (gst_query_new_seeking),
13054         (gst_query_set_seeking), (gst_query_parse_seeking):
13055         Add internal helpers for pre-registering quarks from static strings
13056         and using the quark values directly instead of looking them up when
13057         creating and parsing queries. Can be used for event construction too.
13058         Closes #350432.
13059
13060 2006-08-16  Wim Taymans  <wim@fluendo.com>
13061
13062         * gst/gstbin.c:
13063         Fix bogus docs.
13064
13065 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13066
13067         * gst/gstutils.c: (gst_util_set_value_from_string):
13068           Fix memleak (#351502).
13069
13070         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13071           Add unit test for most of gst_util_set_value_from_string()
13072           (not that one would want to encourage use of this function).
13073
13074 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13075
13076         * libs/gst/check/gstcheck.h:
13077           Use const gchar * variables in fail_unless_equals_string
13078           macro to avoid compiler warnings (and don't use tabs for
13079           indenting).
13080
13081 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13082
13083         * tools/gst-launch.c: (print_tag):
13084           More space on the left for the tag names, to cater
13085           for the 'extended comment' tag (not touching the
13086           string for the first line since it's translated).
13087
13088 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * libs/gst/check/gstcheck.h:
13091           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13092           print something when they fail.
13093
13094 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13095
13096         * docs/gst/gstreamer-sections.txt:
13097         * gst/gsttaglist.c: (_gst_tag_initialize):
13098         * gst/gsttaglist.h:
13099           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13100           Also change merge function for GST_TAG_COMMENT to
13101           use_first.
13102
13103 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13104
13105         * gst/gstinfo.c: (gst_debug_print_object):
13106           Make GST_PTR_FORMAT print messages as well.
13107
13108         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13109         (GST_START_TEST), (gst_info_suite):
13110           More tests.
13111
13112 2006-08-14  Edward Hervey  <edward@fluendo.com>
13113
13114         * gst/gstelementfactory.c: (gst_element_register):
13115         If the GstElementClass doesn't have a GstElementDetails with all fields
13116         filled up correctly (longname, description AND author), then error out
13117         nicely instead of crashing.
13118
13119 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13120
13121         * gst/gststructure.c:
13122           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13123
13124         * gst/gstvalue.h:
13125           Expand on the difference between arrays and lists as we use them.
13126           
13127 2006-08-14  Wim Taymans  <wim@fluendo.com>
13128
13129         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13130         If the parent state change function failed, don't assume we can safely
13131         stop the source, this will be done when the pads are deactivated.
13132
13133 2006-08-14  Wim Taymans  <wim@fluendo.com>
13134
13135         * gst/gstbuffer.c:
13136         * gst/gsttask.c: (gst_task_join):
13137         Small doc updates.
13138
13139         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13140         (gst_pad_stop_task):
13141         When pad (de)activation failed for some reason, restore the old
13142         activation mode and set the pad to flushing instead of assuming the
13143         pad is deactivated.
13144         If the _task_join() failed, reinstall the task on the pad so that it can
13145         be stopped later and return an error.
13146
13147 2006-08-11  Andy Wingo  <wingo@pobox.com>
13148
13149         * configure.ac:
13150         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13151         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13152         is only for users of API that don't want to see deprecated
13153         functions in the headers; people that want to compile out
13154         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13155         CFLAGS. Fixes the build of multifdsink, or will soon..
13156
13157 2006-08-11  Wim Taymans  <wim@fluendo.com>
13158
13159         * docs/gst/gstreamer-sections.txt:
13160         Add GstClockClass vmethod docs.
13161
13162         * gst/gstcaps.h:
13163         Mark #endif with comment for associated #if
13164
13165         * gst/gstclock.c: (gst_clock_id_wait):
13166         * gst/gstclock.h:
13167         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13168         most clock implementations.
13169         Document vmethods.
13170         Flesh out docs about resolution methods.
13171         API: GstClockClass::wait_jitter
13172
13173         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13174         (gst_system_clock_async_thread),
13175         (gst_system_clock_id_wait_jitter_unlocked),
13176         (gst_system_clock_id_wait_jitter):
13177         Use base class wait_jitter variant for improved performance
13178         due to less clock polling.
13179
13180 2006-08-11  Edward Hervey  <edward@fluendo.com>
13181
13182         * gst/gst.c: (gst_init_check), (init_post):
13183         Set gst as being initialized before scanning/updating the registry,
13184         since there might be my python plugin loader that calls gst_init() and
13185         we don't want to loop back in.
13186         Closes #350879
13187
13188 2006-08-11  Wim Taymans  <wim@fluendo.com>
13189
13190         * docs/design/part-qos.txt:
13191         Bring docs in line with the code. Mostly the sign of the jitter was
13192         wrong in the docs. Fixes #349943.
13193
13194         * gst/gstclock.c:
13195         Fix the docs for the jitter.
13196
13197         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13198         (gst_event_parse_tag), (gst_event_new_buffer_size),
13199         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13200         (gst_event_new_seek), (gst_event_parse_seek),
13201         (gst_event_new_navigation):
13202         Make sure the GstStructure has no parent when creating custom
13203         events.
13204         Add some more argument checking so that we avoid 0.0 rates.
13205         Flesh out the docs for the QoS event some more.
13206
13207 2006-08-11  Wim Taymans  <wim@fluendo.com>
13208
13209         * docs/gst/gstreamer-sections.txt:
13210         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13211         (ensure_current_registry_forking), (ensure_current_registry),
13212         (parse_one_option), (parse_goption_arg), (gst_deinit),
13213         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13214         * gst/gst.h:
13215         Doc updates.
13216         Added API and command line option to disable registry forking in
13217         addition to the environment variable.
13218         Constify some static arrays.
13219         Added some more debug.
13220         Don't deinit twice.
13221         API: gst_registry_fork_is_enabled()
13222         API: gst_registry_fork_set_enabled()
13223         API: --gst-disable-registry-fork command line option
13224         Fixes #348918.
13225
13226 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13227
13228         * gst/gst.c: (gst_init):
13229           Fix typo in error message.
13230
13231 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13232
13233         * libs/gst/controller/gstcontroller.h:
13234           fix ABI size-correction
13235
13236         * tests/check/libs/gdp.c: (gst_dp_suite):
13237           make tests that use deprecated API conditional
13238
13239 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13240
13241         * docs/libs/gstreamer-libs-sections.txt:
13242         * libs/gst/controller/gstcontroller.c:
13243         (_gst_controller_get_property), (_gst_controller_set_property),
13244         (_gst_controller_init), (_gst_controller_class_init):
13245         * libs/gst/controller/gstcontroller.h:
13246         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13247         (gst_object_set_control_rate):
13248           API: add gst_object_{s,g}et_control_rate(), add private data section,
13249           fix docs
13250
13251         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13252         * libs/gst/dataprotocol/dataprotocol.h:
13253           add deprecation guards to make gtk-doc happy and allow disabling cruft
13254
13255 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13256
13257         * tests/check/Makefile.am:
13258         * tests/check/gst/.cvsignore:
13259           Let's enable the new unit test as well.
13260
13261 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13262
13263         * configure.ac:
13264         * docs/gst/gstreamer-sections.txt:
13265         * gst/gstconfig.h.in:
13266         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13267         (_gst_info_printf_extension_ptr),
13268         (_gst_info_printf_extension_segment):
13269           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13270           register that lets us easily dump GstSegments into debug
13271           logs (#350419).
13272
13273         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13274         (info_segment_format_printf_extension), (gst_info_suite):
13275           Add simple unit test that logs a bunch of different segments (not
13276           valgrinded at the moment because of leaks in
13277           gst_debug_add_log_function).
13278
13279 2006-08-09  Edward Hervey  <edward@fluendo.com>
13280
13281         * libs/gst/base/gstbasetransform.c:
13282         (gst_base_transform_buffer_alloc):
13283         Even if we can't figure out the proper format to request downstream,
13284         call buffer_alloc() downstream with the input parameters without setting
13285         the caps on the srcpad. This will force negotiation in the chain
13286         function.
13287         Closes #350449
13288
13289 2006-08-08  Edward Hervey  <edward@fluendo.com>
13290
13291         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13292         Unlinking from a pad without a target is now a perfectly valid case
13293         which should NOT raise an assertion.
13294         This case would happen if a linked ghostpad its target set to NULL after
13295         it was previously linked.
13296
13297 2006-08-08  Edward Hervey  <edward@fluendo.com>
13298
13299         * tests/check/libs/gdp.c:
13300         Also comment out the test (see below).
13301
13302 2006-08-08  Edward Hervey  <edward@fluendo.com>
13303
13304         * tests/check/libs/gdp.c: (gst_dp_suite):
13305         Use the architecture information from config.h and not gcc macros
13306         in order to properly disable a test that fails on PPC64.
13307
13308 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13309
13310         * gst/gstelement.c: (gst_element_remove_pad):
13311           Don't crash printing the warning if the pad has no parent.
13312
13313 2006-08-02  Wim Taymans  <wim@fluendo.com>
13314
13315         * libs/gst/dataprotocol/dataprotocol.c:
13316         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13317         (gst_dp_crc), (gst_dp_header_payload_length),
13318         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13319         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13320         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13321         (gst_dp_event_from_packet), (gst_dp_validate_header),
13322         (gst_dp_validate_payload):
13323         Make debug category static
13324         Constify the crc table.
13325         Do some more arg checking in public functions.
13326         Fix some docs and do some small cleanups.
13327
13328         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13329         Add some more checks to see if GDP deals with bogus input.
13330
13331 2006-07-31  Wim Taymans  <wim@fluendo.com>
13332
13333         * gst/gstvalue.c: (gst_value_compare_list):
13334         Fix GstValueList comparison code. Fixes #347293.
13335
13336         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13337         Check to test GstValueList comparison.
13338
13339 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13340
13341         * gst/gstelementfactory.c: (gst_element_factory_create):
13342         Remove unnecessary ref/unref pair
13343
13344         * gst/parse/grammar.y:
13345         Make sure to free the parse buffer on all code paths.
13346         Move a g_free up to the error handler where it's easier to see.
13347
13348         * tests/check/gst/gstevent.c: (test_event):
13349         Extending timeout for downstream travelling events to 10 seconds to
13350         hopefully avoid intermittent failure on the buildbots.
13351
13352         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13353         Don't manually set the state of the src element - it will happen as a
13354         natural consequence of the pipeline changing state, and that way it
13355         will do it in the right order too.
13356
13357 2006-07-31  Wim Taymans  <wim@fluendo.com>
13358
13359         * libs/gst/base/gstbasetransform.c:
13360         (gst_base_transform_buffer_alloc):
13361         Use OBJECT_LOCK and refcounting to get the pad caps in the
13362         buffer_alloc function because the caps could change while we are
13363         busy with them. Fixes #349105
13364
13365 2006-07-31  Wim Taymans  <wim@fluendo.com>
13366
13367         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13368         Protect _PAD_CAPS with OBJECT_LOCK.
13369
13370 2006-07-31  Wim Taymans  <wim@fluendo.com>
13371
13372         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13373         (gst_pad_get_property), (gst_pad_activate_pull),
13374         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13375         (gst_pad_set_activate_function),
13376         (gst_pad_set_activatepull_function),
13377         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13378         (gst_pad_set_getrange_function),
13379         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13380         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13381         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13382         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13383         (gst_pad_set_acceptcaps_function),
13384         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13385         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13386         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13387         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13388         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13389         (gst_pad_configure_sink), (gst_pad_configure_src),
13390         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13391         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13392         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13393         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13394         (gst_pad_send_event):
13395         Use _DEBUG_OBJECT when it makes sense.
13396         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13397         Small cleanups and code reflows.
13398         Avoid caps refcounting in _accept_caps.
13399         Refactor alloc_buffer so that the code performed on the peer is in a
13400         separate function. Also if the pad does not implement a buffer alloc
13401         function, we should still check if the pad is flushing before falling
13402         back to the default allocator.
13403
13404 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13405
13406         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13407         Make all uses of identity and fakesink have silent=true to avoid
13408         serialising every passing data structure, which is breaking tests
13409         on FC4 for some unknown reason.
13410
13411 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13412
13413         * gst/parse/Makefile.am:
13414         * gst/parse/grammar.y:
13415         * gst/parse/parse.l:
13416           Reverted previous patch as it required to bump the flex dependency to
13417           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13418
13419 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13420
13421         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13422
13423         * gst/parse/Makefile.am:
13424         * gst/parse/grammar.y:
13425         * gst/parse/parse.l:
13426           push & pop the state of the lexer for reentrant use case
13427           Fixes #349180
13428
13429 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13430
13431         * libs/gst/base/gstbasesrc.h:
13432           Note in the docs that the ::newsegment vfunc is not actually used by
13433           GstBaseSrc.
13434
13435 2006-07-28  Wim Taymans  <wim@fluendo.com>
13436
13437         * libs/gst/base/gstcollectpads.c:
13438         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13439         (gst_collect_pads_clear), (gst_collect_pads_flush),
13440         (gst_collect_pads_event), (gst_collect_pads_chain):
13441         When flushing a pad, also clear the queued buffer so that we don't
13442         accidentally use it when we shouldn't.
13443         Fix leaks by inreffing incomming buffer.
13444         Flush out queued buffers in case of errors.
13445         Fixes #347452.
13446
13447 2006-07-28  Wim Taymans  <wim@fluendo.com>
13448
13449         * docs/random/phonon-gst:
13450         Random notes about a Phonon backend.
13451
13452 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13453
13454         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13455         Extra debug output
13456         * tests/check/libs/gdp.c: (gst_dp_suite):
13457         Take a whack at fixing the ppc compile using a different define to
13458         disable the broken test.
13459
13460         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13461         Remove excess g_print()
13462
13463 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13464
13465         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13466         Oops, meant to uncomment this line too to dampen the noise a bit.
13467
13468 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13469
13470         * gst/parse/grammar.y:
13471         * gst/parse/parse.l:
13472         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13473         (GST_START_TEST), (parse_suite):
13474         Fix some of the leaks exposed by extending the parse-launch testsuite,
13475         and move the 3 I can't figure out into a separate test that won't run
13476         the pipelines unless the appropriate line is uncommented.
13477
13478 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13479
13480         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13481           Requesting 0 bytes before the end of the file should result in
13482           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13483           unit test.
13484
13485 2006-07-27  Wim Taymans  <wim@fluendo.com>
13486
13487         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13488         Fix useless assert, a uint is always positive.
13489
13490         * gst/gststructure.c: (gst_structure_nth_field_name),
13491         (gst_structure_foreach), (gst_structure_map_in_place):
13492         Check input arguments for public functions to avoid obvious crashes.
13493
13494         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13495         * plugins/elements/gstfakesink.h:
13496         Do less useless typechecking.
13497
13498 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13499
13500         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13501           Do not use mmap() by default since there are a number of error
13502           conditions that we would like to handle in a non-fatal way that
13503           will result in a SIGBUS if we use mmap(). Examples: external
13504           devices (USB harddrive, portable music player) being unplugged
13505           while in use; file on mounted CD/DVD that can't be read because
13506           the medium is partly damaged. Fixes #348455 and #348475.
13507
13508 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13509
13510         * gst/gstquery.h:
13511         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13512         rates are a gdouble
13513
13514 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13515
13516         * gst/gstregistry.c:
13517           Move big documentation comment into class section header, so that it
13518           appears in the API docs.
13519
13520 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13521
13522         * docs/gst/gstreamer-sections.txt:
13523         Oops. Commit the docs additions too for new API.
13524         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13525
13526 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13527
13528         * gst/gststructure.c: (gst_structure_id_set),
13529         (gst_structure_id_set_valist):
13530         * gst/gststructure.h:
13531         Add API for setting values into structures without performing
13532         a quark lookup, if the appropriate quark is already known.
13533
13534         API: gst_structure_id_set
13535         API: gst_structure_id_set_valist
13536
13537         * gst/parse/grammar.y:
13538         * gst/parse/parse.l:
13539         Remove some dead code shown by the coverage information.
13540         Don't throw a critical g_warning when encountering a syntax error,
13541         just warn and let the normal error path handle it.
13542
13543         * plugins/elements/gstelements.c:
13544         Bump the rank of filesink up to PRIMARY so that it is preferred over
13545         gnomevfssink for file:// sink uri's
13546
13547         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13548         (GST_START_TEST), (run_delayed_test),
13549         (gst_parse_test_element_base_init),
13550         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13551         (gst_parse_test_element_change_state),
13552         (gst_register_parse_element), (parse_suite):
13553         Beef up the tests for parse syntax to check that more error cases
13554         fail as they are supposed to. Increases the test coverage a bit.
13555
13556 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13557
13558         * docs/manual/basics-elements.xml:
13559           Fix gst_element_link() example.
13560
13561         * gst/gstutils.c:
13562           Mention in API docs that one should usually gst_bin_add()
13563           elements to a bin or pipeline before doing the linking.
13564           
13565 2006-07-26  Wim Taymans  <wim@fluendo.com>
13566
13567         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13568         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13569         Avoid function call for known types by keeping the buffer and
13570         subbuffer GType global.
13571
13572         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13573         Random silly optimisations in read() path.
13574
13575 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13576
13577         * tools/gst-launch.c: (main):
13578           If the top-level of the parse is a normal bin, it doesn't do the
13579           right logic to run as a top-level element, so place it inside a
13580           pipeline.
13581
13582 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13583
13584         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13585           Remove superfluous g_object_notify() calls, GObject does
13586           that for us automatically.
13587
13588 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13589
13590         * gst/gstinfo.h:
13591           on Win32, use dllspec to export the debug category symbols
13592
13593 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13594
13595         * gst/gsttaglist.c: (_gst_tag_initialize):
13596           Allow more than one GST_TAG_IMAGE per taglist.
13597
13598 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13599
13600         * gst/gstminiobject.c:
13601           update docs
13602         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13603         (gst_fd_src_create):
13604           log recurring events at LOG level
13605           add more debug for when the fd gets set
13606
13607 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13608
13609         * gst/gstparse.c: (gst_parse_launch):
13610           Also remove reentrance checks if flex is MT safe (#348179)
13611          Fix my empty ChangeLog entry below
13612
13613 2006-07-21  Andy Wingo  <wingo@pobox.com>
13614
13615         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13616
13617         * libs/gst/check/Makefile.am
13618         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13619         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13620         * libs/gst/check/gstbufferstraw.h:
13621         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13622         functions, thus proving I am still a GStreamer haxor. OK I wrote
13623         them a long time ago, but anyways.
13624
13625 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13626
13627         * configure.ac:
13628         * gst/gstparse.c: (gst_parse_launch):
13629           Check for flex version and omit mutex if we have a MT save flex
13630           (fixes #348179)
13631
13632 2006-07-21  Wim Taymans  <wim@fluendo.com>
13633
13634         * gst/gstparse.c: (gst_parse_launch):
13635         Protect recursive calls to _parse with a recursive mutex
13636         and busy flag.
13637
13638 2006-07-21  Wim Taymans  <wim@fluendo.com>
13639
13640         * tests/check/gst/gstpad.c: (GST_START_TEST):
13641         Fix leak in test.
13642
13643 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13644
13645         * gst/gstparse.c: (gst_parse_launch):
13646           Do not hang on recursive usage of gst_parse_launch()
13647
13648 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13649
13650         * gst/gsttaglist.c:
13651           Add some more docs, comments and FIXME 0.11s here and there
13652           and also fix some typos.
13653
13654 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13655
13656         * gst/gstsegment.h:
13657           Convert tabs to spaces for better readability. 
13658
13659 2006-07-20  Edward Hervey  <edward@fluendo.com>
13660
13661         * tests/check/libs/gdp.c: (gst_dp_suite):
13662         the test_buffer test fails at line 140 on ppc64 at the following
13663         check:
13664         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13665                 GST_BUFFER_FLAG_IN_CAPS),
13666                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13667         See bug #348114 for more details.
13668
13669 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13670
13671         * docs/pwg/advanced-scheduling.xml:
13672         * gst/gstpad.c:
13673           Fix typos (#348000).
13674
13675 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13676
13677         * docs/pwg/intro-basics.xml:
13678           Fix wrong links (#347927).
13679
13680 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13681
13682         * gst/gstregistry.h:
13683         * gst/gstregistryxml.c: (load_feature),
13684         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13685         * win32/common/config.h:
13686           make --disable-index work (#342564)
13687
13688 2006-07-18  Wim Taymans  <wim@fluendo.com>
13689
13690         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13691
13692         * gst/Makefile.am:
13693         * gst/gsttrace.h:
13694         The attached patch adds two missing defines to gsttrace.h when tracing
13695         is disabled.  It also corrects one existing define.
13696         Fixes #347756.
13697
13698 2006-07-17  Wim Taymans  <wim@fluendo.com>
13699
13700         * docs/gst/gstreamer-sections.txt:
13701         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13702         * gst/gst.h:
13703         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13704         Add two functions to check and change the SIGSEGV behaviour
13705         when loading plugins.
13706         Don't mess with the SIGSEGV handler when we were told not to.
13707         Fixes #347794.
13708         API: gst_segtrap_is_enabled
13709         API: gst_segtrap_set_enabled
13710
13711 2006-07-14  Wim Taymans  <wim@fluendo.com>
13712
13713         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13714         * tests/check/elements/filesrc.c: (GST_START_TEST):
13715         Revert fix for regression in #347408 after release.
13716
13717 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13718
13719         Patch by: Antoine Tremblay <hexa00 at gmail com>
13720
13721         * gst/gstutils.c: (gst_element_unlink):
13722           Free iterator when done (#347311).
13723
13724         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13725           And add a test case for this.
13726
13727 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13728
13729         * configure.ac:
13730         Bump nano back to CVS
13731
13732 === release 0.10.9 ===
13733
13734 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13735
13736         * configure.ac:
13737           releasing 0.10.9, "On the road again"
13738
13739 2006-07-13  Wim Taymans  <wim@fluendo.com>
13740
13741         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13742         * tests/check/elements/filesrc.c: (GST_START_TEST):
13743         Revert pull-0 fix for release. Disable check. Fixes #347408.
13744
13745 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13746
13747         * libs/gst/dataprotocol/dataprotocol.c:
13748         (gst_dp_event_from_packet_1_0):
13749           Fixes #347337: failure to deserialize event packets with
13750           empty payload (only event type)
13751
13752 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13753
13754         * gst/Makefile.am:
13755           do not install a .c file in the header directory
13756
13757 2006-07-13  Edward Hervey  <edward@fluendo.com>
13758
13759         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13760         GhostPad no longer implicitely use the padtemplates of the targets.
13761         Fixes #347384
13762
13763 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13764
13765         * gst/gstvalue.c: (gst_value_compare_list),
13766         (gst_value_compare_array), (_gst_value_initialize):
13767         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13768         Make GstValueArray comparison be order dependent as designed.
13769         Add checks for value lists and value array comparisons.
13770         Fixes #347221
13771
13772 2006-07-11  Edward Hervey  <edward@fluendo.com>
13773
13774         * gst/gstbin.c: (activate_pads),
13775         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13776         (gst_bin_change_state_func):
13777         (de)activate src pads before calling state_change on the childs.
13778         This is to avoid the case where a src ghostpad is blocked (holding the
13779         stream lock), which would block the deactivation of the ghostpad's
13780         target pad.
13781         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13782         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13783         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13784         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13785         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13786         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13787         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13788         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13789         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13790         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13791         (gst_ghost_pad_class_init),
13792         (gst_ghost_pad_internal_do_activate_push),
13793         (gst_ghost_pad_internal_do_activate_pull),
13794         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13795         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13796         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13797         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13798         GhostPads now create their internal GstProxyPad at creation (and not
13799         when they're linked, as it was being done previously).
13800         The internal and target pads are linked straight away.
13801         The data will also travel through the other pad in order to make
13802         pad blocking and probes non-hackish (the probe/block now really happens
13803         on the GhostPad and not on the target).
13804         * gst/gstpad.c: (gst_pad_set_blocked_async),
13805         (gst_pad_link_prepare), (gst_pad_push_event):
13806         Remove previous ghostpad cruft.
13807         * gst/gstutils.c: (gst_pad_add_data_probe),
13808         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13809         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13810         (gst_pad_remove_buffer_probe):
13811         Remove previous ghost pad cruft.
13812         Added more detailed debug statements.
13813         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13814         Fix the testsuite for refcounting changes.
13815         The comments about who has references were correct, but the refcount
13816         being checked wasn't the same (!?!).
13817
13818         Fixes #341029
13819
13820 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13821
13822         * docs/gst/gstreamer-sections.txt:
13823         * gst/gstconfig.h.in:
13824         More docs for configuration options, add docs to gtk-doc.
13825
13826 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13827
13828         * gst/Makefile.am:
13829         * gst/gstconfig.h.in:
13830         * win32/common/config.h:
13831         Fix build when disabling tracing (fixes #344016). Also start to document
13832         the defines that disable the sub-systems.
13833
13834 2006-07-10  Edward Hervey  <edward@fluendo.com>
13835
13836         * gst/gst.c: (ensure_current_registry_forking):
13837         let's make valgrind happy...
13838
13839 2006-07-09  Wim Taymans  <wim@fluendo.com>
13840
13841         * gst/gstelement.c: (activate_pads),
13842         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13843         Better pad activation code: Reset the collect value too on resync.
13844         Add some comments.
13845
13846 2006-07-09  Wim Taymans  <wim@fluendo.com>
13847
13848         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13849         (gst_pad_activate_push):
13850         Use some more macros where it makes sense.
13851         Allow pad mode switching instead of asserting. When a pad
13852         is activated in one mode and we activate it in another, 
13853         deactivate it first before activating it in a different mode.
13854         Fixes #329198.
13855
13856 2006-07-08  Andy Wingo  <wingo@pobox.com>
13857
13858         * tools/gst-launch.c (main): Handle err == NULL.
13859
13860         * gst/gst.c (init_post, ensure_current_registry)
13861         (ensure_current_registry_forking)
13862         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13863         factoring out the registry scanning into separate functions. Don't
13864         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13865         Better environment var name/interface suggestions accepted.
13866
13867 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13868
13869         * gst/gstobject.c: (gst_object_set_name_default),
13870         (gst_object_set_name):
13871           Random micro-optimisation: don't use a hash table
13872           with strings as keys and the usual strdup/strcmp
13873           involved, but rather just use the GQuark of the
13874           type name as key, since it needs to be looked up
13875           anyway to get the type name string.
13876
13877         * tests/check/gst/gstobject.c: (GST_START_TEST):
13878           Fix various leaks.
13879
13880 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13881
13882         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13883         (gst_bin_iterate_all_by_interface):
13884           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13885           GTypes are gulongs and thus the top 4 bytes might be cut
13886           off on some platforms when doing GPOINTER_TO_INT, leading
13887           to invalid GTypes and bad things happening (see RH bug #179654).
13888           Also add a check to make sure the type passed in is really
13889           an interface type.
13890
13891 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13892
13893         * .cvsignore:
13894           Ignore more.
13895
13896 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13897
13898         * Makefile.am:
13899         * configure.ac:
13900         * gst-element-check.m4:
13901         * gst-element-check.m4.in:
13902           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13903           instead of the unversioned gst-inspect (#324176, #168659).
13904
13905 2006-07-06  Wim Taymans  <wim@fluendo.com>
13906
13907         * gst/gstmessage.h:
13908         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13909         warnings.
13910
13911 2006-07-06  Wim Taymans  <wim@fluendo.com>
13912
13913         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13914         (gst_base_src_wait), (gst_base_src_update_length),
13915         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13916         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13917         (gst_base_src_loop), (gst_base_src_start),
13918         (gst_base_src_activate_pull):
13919         Update docs.
13920         blocksize == 0 now means the default blocksize when working in push
13921         based mode.
13922         Remove some pointless asserts in _wait function.
13923         Fix offset/length calculations and EOS handling. We can now pull 0
13924         bytes as well, which is allowed.
13925         use _check_get_range() to decide if we can operate in _pull based
13926         mode.
13927         Fix refcounting leak when check_get_range function was not 
13928         implemented.
13929         API GstBaseSrc::blocksize range can be 0 too now (default)
13930
13931         * tests/check/elements/filesrc.c: (GST_START_TEST),
13932         (filesrc_suite):
13933         Added check to test _get_range() behaviour.
13934
13935 2006-07-06  Wim Taymans  <wim@fluendo.com>
13936
13937         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13938         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
13939         (gst_pad_pull_range):
13940         * gst/gstpad.h:
13941         Lots of comments and docs added to the pad functions.
13942         Flesh out the expected behaviour of the get_range() functions.
13943
13944 2006-07-06  Wim Taymans  <wim@fluendo.com>
13945
13946         * gst/gstbus.h:
13947         * gst/gstclock.h:
13948         * gst/gstevent.h:
13949         * gst/gstiterator.h:
13950         * gst/gstpad.h:
13951         * gst/gstplugin.h:
13952         * gst/gsttask.h:
13953         Remove comma at end of enumerator list. 
13954
13955 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
13956
13957         * win32/common/libgstbase.def:
13958         * win32/common/libgstdataprotocol.def:
13959         * win32/common/libsgtreamer.def:
13960         Add new exported functions.
13961
13962 2006-07-05  Wim Taymans  <wim@fluendo.com>
13963
13964         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
13965         Add some more docs here and there.
13966
13967 2006-07-05  Wim Taymans  <wim@fluendo.com>
13968
13969         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
13970         (gst_base_sink_loop), (gst_base_sink_get_position):
13971         When operating in pull mode update the offset so that we
13972         read sequentially.
13973
13974 2006-07-05  Wim Taymans  <wim@fluendo.com>
13975
13976         * gst/gstregistryxml.c: (read_string):
13977         Avoid strdup. (will happen in libxml, but hey!)
13978
13979         * gst/gsturi.c:
13980         Add some more docs.
13981
13982 2006-07-05  Wim Taymans  <wim@fluendo.com>
13983
13984         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
13985         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
13986         (gst_buffer_suite):
13987         No point in checking if the size of the subbuffer > 0, the
13988         code handles it correclty as demonstrated by unit test.
13989         Also add a unit test for the zero sized _new_and_alloc and
13990         _copy. Fixes #346663.
13991
13992 2006-07-05  Wim Taymans  <wim@fluendo.com>
13993
13994         * libs/gst/base/gstbasetransform.c:
13995         (gst_base_transform_prepare_output_buffer),
13996         (gst_base_transform_buffer_alloc),
13997         (gst_base_transform_handle_buffer):
13998         Make sure the buffer we pass to transform_ip has a refcount of
13999         1 and thus is writable. Fixes #343196
14000
14001 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14002
14003         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14004         (gst_file_src_init), (gst_file_src_set_property),
14005         (gst_file_src_get_property), (gst_file_src_map_region):
14006         * plugins/elements/gstfilesrc.h:
14007         Add "sequential" property, off by default, to use madvise and hint
14008         to the kernel that sequential access is desired.
14009         Touch all retrieved pages by default to ensure they are pulled
14010         into memory. (Closes #345720)
14011
14012 2006-07-03  Wim Taymans  <wim@fluendo.com>
14013
14014         * docs/design/part-block.txt:
14015         * docs/design/part-dynamic.txt:
14016         Small docs updates.
14017
14018 2006-07-03  Wim Taymans  <wim@fluendo.com>
14019
14020         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14021         (gst_caps_unref), (gst_static_caps_get),
14022         (gst_caps_append_structure):
14023         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14024         Use GSlice when the glib we build against is >= 2.10
14025
14026 2006-07-03  Wim Taymans  <wim@fluendo.com>
14027
14028         * gst/gstelement.c: (gst_element_pads_activate):
14029         Small cleanup in pad activation code.
14030
14031 2006-07-03  Wim Taymans  <wim@fluendo.com>
14032
14033         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14034
14035         * gst/gst-i18n-app.h:
14036         * gst/gst-i18n-lib.h:
14037         * tools/gst-inspect.c: (print_signal_info):
14038         The attached patch will make the inclusion of gettext.h unconditional in
14039         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14040         libintl.h in tools/gst-inspect.c.
14041         This allows use of --disable-nls again and fixes #344642.
14042
14043 2006-07-03  Edward Hervey  <edward@fluendo.com>
14044
14045         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14046         Implement pad blocking on events according to part-block.txt.
14047         More comments on behaviour.
14048         * tests/check/gst/gstevent.c: (test_event):
14049         Send event to peer pad of blocked pad (else it will block).
14050
14051 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14052
14053         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14054         (gst_check_run_suite):
14055           if we get the wrong message, give us the types as string
14056         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14057           Fix a translatable
14058         * tests/check/elements/filesrc.c: (GST_START_TEST):
14059           add a test for trying to open a non-existing file
14060
14061 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14062
14063         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14064           add a test for adding self
14065
14066 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14067
14068         * libs/gst/check/gstcheck.h:
14069           add some assert_ as alias for fail_unless_*
14070         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14071           increase test coverage
14072
14073 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14074
14075         * Makefile.am:
14076           include lcov.mak for lcov coverage generation
14077         * tools/Makefile.am:
14078           add to CLEANFILES
14079
14080 2006-07-02  Edward Hervey  <edward@fluendo.com>
14081
14082         * tests/check/elements/.cvsignore:
14083         moaping
14084
14085 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14086
14087         * configure.ac:
14088           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14089         * tests/check/Makefile.am:
14090           clean up gcov files
14091
14092 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14093
14094         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14095           remove gst_caps_simplify; it was not declared and not used
14096           and deprecated in 0.8
14097
14098 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14099
14100         * docs/faq/gst-uninstalled:
14101           don't put empty paths on PYTHONPATH
14102         * docs/gst/gstreamer-sections.txt:
14103           remove some symbols that are not there
14104
14105 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14106
14107         * gst/gstcaps.c: (gst_caps_compare_structures):
14108           whitespace fixes
14109         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14110         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14111           add more tests
14112
14113 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14114
14115         * libs/gst/dataprotocol/Makefile.am:
14116           build dataprotocol test by linking to the lib, instead of
14117           compiling the source, so we get coverage
14118         * tests/check/Makefile.am:
14119         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14120         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14121           add a test for filesrc
14122
14123 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14124
14125         * tests/check/gst/gststructure.c: (GST_START_TEST),
14126         (gst_structure_suite):
14127           Push coverage from 59.04% to 70.00%
14128
14129 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14130
14131         * tests/check/Makefile.am:
14132           gst-inspect every element; this makes sure that we also get
14133           coverage on element's get/set functions
14134
14135 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14136
14137         * configure.ac:
14138           set CFLAGS and friends to -O0 if gcov is being used
14139           add GCOV LIBS
14140         * gst/Makefile.am:
14141         * libs/gst/base/Makefile.am:
14142         * libs/gst/check/Makefile.am:
14143         * libs/gst/controller/Makefile.am:
14144         * libs/gst/dataprotocol/Makefile.am:
14145         * libs/gst/net/Makefile.am:
14146         * plugins/elements/Makefile.am:
14147         * plugins/indexers/Makefile.am:
14148           add makefile rules to generate gcov data and clean up
14149         * tests/check/Makefile.am:
14150           add a coverage target that generates an html overview
14151           of coverage data
14152
14153 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14154
14155         * tests/check/elements/fakesink.c:
14156         * tests/check/elements/fakesrc.c:
14157         * tests/check/elements/fdsrc.c:
14158         * tests/check/elements/identity.c:
14159         * tests/check/generic/sinks.c: (gst_sinks_suite):
14160         * tests/check/generic/states.c:
14161         * tests/check/gst/gst.c:
14162         * tests/check/gst/gstabi.c:
14163         * tests/check/gst/gstbin.c:
14164         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14165         * tests/check/gst/gstbus.c: (gst_bus_suite):
14166         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14167         * tests/check/gst/gstelement.c:
14168         * tests/check/gst/gstevent.c: (gst_event_suite):
14169         * tests/check/gst/gstghostpad.c:
14170         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14171         * tests/check/gst/gstmessage.c: (gst_message_suite):
14172         * tests/check/gst/gstminiobject.c:
14173         * tests/check/gst/gstobject.c:
14174         * tests/check/gst/gstpad.c:
14175         * tests/check/gst/gstpipeline.c:
14176         * tests/check/gst/gstplugin.c:
14177         * tests/check/gst/gstquery.c: (gst_query_suite):
14178         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14179         * tests/check/gst/gststructure.c:
14180         * tests/check/gst/gstsystemclock.c:
14181         * tests/check/gst/gsttag.c:
14182         * tests/check/gst/gsttask.c: (gst_task_suite):
14183         * tests/check/gst/gstutils.c:
14184         * tests/check/gst/gstvalue.c:
14185         * tests/check/libs/adapter.c:
14186         * tests/check/libs/basesrc.c:
14187         * tests/check/libs/collectpads.c:
14188         * tests/check/libs/controller.c:
14189         * tests/check/libs/gdp.c: (gst_dp_suite):
14190         * tests/check/libs/gstnetclientclock.c:
14191         * tests/check/libs/gstnettimeprovider.c:
14192         * tests/check/libs/libsabi.c: (libsabi_suite):
14193         * tests/check/libs/typefindhelper.c:
14194         * tests/check/pipelines/cleanup.c:
14195         * tests/check/pipelines/parse-launch.c:
14196         * tests/check/pipelines/simple-launch-lines.c:
14197         * tests/check/pipelines/stress.c: (stress_suite):
14198           use the new macro
14199
14200 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14201
14202         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14203         * libs/gst/check/gstcheck.h:
14204           create a macro and function so that the simple unit test
14205           case can be just one macro to create main()
14206
14207 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14208
14209         * gst/gstbin.c: (gst_bin_restore_thyself):
14210         * gst/gstxml.c: (gst_xml_make_element):
14211           Fix deserialisation from XML. Set parent manually
14212           instead of using gst_bin_add(), since gst_bin_add()
14213           will unlink all pads of the element being added.
14214           Fixes #341667.
14215
14216 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14217
14218         Patch by: Peter Kjellerstedt <pkj at axis com>
14219
14220         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14221           Fix missing g_strdup() and double free when using the
14222           --gst-plugin-load command line option (#346097).
14223
14224 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14225
14226         * gst/gstinfo.c:
14227           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14228
14229         * libs/gst/net/gstnetclientclock.c:
14230         * libs/gst/net/gstnettimeprovider.c:
14231           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14232
14233 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14234
14235         * docs/manual/advanced-dataaccess.xml:
14236           Fix buffer probe example compilation in
14237           ADM (#345708).
14238         
14239 2006-06-22  Edward Hervey  <edward@fluendo.com>
14240
14241         * gst/gstelement.c: (gst_element_pads_activate):
14242         We need to deactivate src pads first and then sink pads.
14243         The reason is the src pads might be blocking while holding the streaming
14244         lock, so we need to deactivate them first so that deactivating the sink
14245         pads doesn't block (since it will require the streaming lock).
14246
14247 2006-06-22  Wim Taymans  <wim@fluendo.com>
14248
14249         * libs/gst/base/gstbasetransform.c:
14250         (gst_base_transform_buffer_alloc):
14251         Forgot to remove two unneeded unrefs.
14252         Simplify a check _is_equal allready checks the obvious case.
14253
14254 2006-06-22  Wim Taymans  <wim@fluendo.com>
14255
14256         * docs/design/part-block.txt:
14257         Some docs about what pad_block should do.
14258
14259 2006-06-22  Wim Taymans  <wim@fluendo.com>
14260
14261         * gst/gstcaps.c: (gst_caps_replace):
14262         Fix crasher when passed NULL. Doc clarification.
14263         Optimize for the trivial case.
14264
14265         * gst/gstpipeline.c: (gst_pipeline_change_state):
14266         Small cleanups.
14267
14268         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14269         Small documentation cleanup.
14270
14271         * libs/gst/base/gstbasetransform.c:
14272         (gst_base_transform_buffer_alloc):
14273         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14274         is what we need and it avoids a whole lot of redundant 
14275         refcount operations.
14276
14277 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14278
14279         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14280
14281         * docs/manual/advanced-dataaccess.xml:
14282           Fix 'Embedding static elements' section to use
14283           GST_PLUGIN_DEFINE_STATIC (#345607).
14284
14285 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14288           Attempt to 'fix' spuriously failing test case: it seems like the
14289           timeout of half a second is simply too small when the system is under
14290           load otherwise, and the timeout doesn't really seem to serve any
14291           particular purpose here. Give the pipeline a few seconds to preroll
14292           first, and then give it another half a second to go from PAUSED to
14293           PLAYING and marshal the message into the main thread.
14294
14295 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14296
14297         * tools/gst-feedback-m.m:
14298           Don't only use unversioned tools, try versioned tools as well
14299           (#345086).
14300
14301 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14302
14303         * gst/gstbus.c: (gst_bus_class_init):
14304           Fix some typos, make docs more explicit.
14305
14306 2006-06-20  Wim Taymans  <wim@fluendo.com>
14307
14308         * tests/check/gst/gstghostpad.c: (block_callback),
14309         (GST_START_TEST), (gst_ghost_pad_suite):
14310         Added some more ghostpad tests, mainly blocking
14311         and probes.
14312
14313 2006-06-16  Wim Taymans  <wim@fluendo.com>
14314
14315         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14316         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14317         (gst_file_sink_event), (gst_file_sink_render):
14318         * plugins/elements/gstfilesink.h:
14319         Check if we can seek in the file instead of assuming
14320         we always can. Post an error when we are asked to seek in a
14321         non-seekable file (like a fifo). Fixes #343312.
14322         Some cleanups.
14323
14324 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14325
14326         * tools/gst-launch.1.in:
14327           Un-garble (fourcc) bit in filtered caps section.
14328
14329 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14330
14331         * docs/manual/advanced-autoplugging.xml:
14332         * docs/manual/basics-helloworld.xml:
14333         * docs/manual/highlevel-components.xml:
14334           Don't leak bus reference in sample code.
14335
14336 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14337
14338         * autogen.sh:
14339           Add default for new --enable-plugin-docs switch.
14340
14341         * configure.ac:
14342           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14343           Fixes #344039.
14344
14345         * docs/Makefile.am:
14346           Use new ENABLE_PLUGIN_DOCS conditional.
14347
14348 2006-06-14  Wim Taymans  <wim@fluendo.com>
14349
14350         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14351         Make it clear with a FIXME and a real define what the #if 0
14352         previously disabled.
14353
14354 2006-06-14  Wim Taymans  <wim@fluendo.com>
14355
14356         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14357         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14358         * libs/gst/base/gstbasetransform.c:
14359         (gst_base_transform_sink_eventfunc):
14360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14361         Don't randomly and silently reset a segment when the format 
14362         changes as this is a bug somewhere upstream. Fixes #330379.
14363
14364 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14365
14366         Patch by: Wouter Paesen  <wouter at kangaroot net>
14367
14368         * libs/gst/controller/gstcontroller.c:
14369         (gst_controlled_property_new):
14370           Fix controlling of float properties (#344849).
14371
14372         * tests/check/libs/controller.c:
14373         (gst_test_mono_source_get_property),
14374         (gst_test_mono_source_set_property),
14375         (gst_test_mono_source_class_init), (GST_START_TEST):
14376           While we're at it, add some float stuff to unit test.
14377
14378 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14379
14380         * docs/README:
14381         * docs/images/gdp-header.svg:
14382           add a gdp image
14383         * docs/libs/Makefile.am:
14384         * docs/libs/gdp-header.png:
14385         * libs/gst/dataprotocol/dataprotocol.c:
14386           add it to the API docs
14387         * docs/manual/intro-motivation.xml:
14388           fix typo
14389
14390 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14391
14392         * gst/gst.c: (scan_and_update_registry), (init_post):
14393           If the fork()'ed child process can't write the updated registry cache
14394           file to disk for some reason, make it exit with a failure exit code,
14395           so that the parent can then re-scan the plugins itself and update the
14396           registry structures in memory and work with that (rather than failing
14397           when creating elements because seemingly no plugins are available).
14398           Refactor registry scanning code into separate function for this and
14399           also separate fork() and non-fork() code paths. Fixes #344748.
14400
14401 2006-06-13  Wim Taymans  <wim@fluendo.com>
14402
14403         * docs/manual/advanced-dataaccess.xml:
14404         Fix wrong PluginDesc. Fixes #344755.
14405
14406 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14407
14408         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14409           Fix silly bug that prevented us from creating
14410           ~/.gstreamer-0.10 and writing the registry in one
14411           go (the first call to g_mkstemp() would overwrite the
14412           placeholder in the template string, so the second call
14413           to g_mkstemp() after creating the missing directory
14414           would then error out with 'invalid argument').
14415
14416 2006-06-13  Edward Hervey  <edward@fluendo.com>
14417
14418         * gst/gst.c: (init_post):
14419         Free string.
14420
14421 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14422
14423         * gst/glib-compat-private.h:
14424         * gst/glib-compat.c:
14425         * gst/glib-compat.h:
14426         * gst/gstvalue.c: (gst_value_serialize_flags):
14427           remove GLib 2.6 compatibility code
14428
14429 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14430
14431         * gst/parse/Makefile.am:
14432           Fix build with 'make -j N' even more (#340016).
14433
14434 2006-06-12  Wim Taymans  <wim@fluendo.com>
14435
14436         * docs/gst/gstreamer-sections.txt:
14437         Fix docs.
14438
14439 2006-06-12  Wim Taymans  <wim@fluendo.com>
14440
14441         * gst/gstsegment.c: (gst_segment_set_duration),
14442         (gst_segment_set_last_stop), (gst_segment_set_seek),
14443         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14444         (gst_segment_to_running_time), (gst_segment_clip):
14445         Use G_UNLIKELY to help the compiler a bit.
14446
14447 2006-06-12  Wim Taymans  <wim@fluendo.com>
14448
14449         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14450
14451         * gst/gstevent.c: (gst_event_get_type):
14452         * gst/gstmessage.c:
14453         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14454         (gst_pad_push):
14455         constify quark registration strings. Fixes #344115
14456         Avoid unneeded type checking is _pad_push() by internally
14457         calling gst_pad_chain_unchecked().
14458
14459 2006-06-12  Wim Taymans  <wim@fluendo.com>
14460
14461         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14462         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14463         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14464         (gst_buffer_is_span_fast), (gst_buffer_span):
14465         Init _type for consistency.
14466         Use _FLAGS macro to avoid type check.
14467         Avoid unneeded type checks in subbufer code.
14468
14469 2006-06-12  Wim Taymans  <wim@fluendo.com>
14470
14471         * gst/gst.c: (gst_debug_help):
14472         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14473         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14474         (gst_plugin_feature_list_free):
14475         * gst/gstregistry.c: (gst_registry_add_plugin),
14476         (gst_registry_add_feature), (gst_registry_plugin_filter),
14477         (gst_registry_feature_filter), (gst_registry_find_plugin),
14478         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14479         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14480         * gst/gstregistryxml.c: (load_feature),
14481         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14482         * gst/gstminiobject.c: (gst_mini_object_unref),
14483         (gst_mini_object_replace), (gst_value_mini_object_free),
14484         (gst_value_mini_object_copy):
14485         Use _CAST macros to avoid unneeded type checking.
14486         Added some more G_UNLIKELY.
14487
14488 2006-06-12  Wim Taymans  <wim@fluendo.com>
14489
14490         * gst/gstbuffer.h:
14491         Avoid unneeded type checking.
14492         API: GST_BUFFER_IS_DISCONT
14493
14494         * gst/gstminiobject.h:
14495         Avoid type check in flag accessor.
14496
14497         * gst/gstelementfactory.h:
14498         * gst/gstplugin.h:
14499         * gst/gstpluginfeature.h:
14500         Add _CAST macros.
14501         API: GST_ELEMENT_FACTORY_CAST
14502         API: GST_PLUGIN_CAST
14503         API: GST_PLUGIN_FEATURE_CAST
14504
14505 2006-06-12  Wim Taymans  <wim@fluendo.com>
14506
14507         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14508         (gst_object_unref):
14509         Add G_UNLIKELY in type registration.
14510         Avoid type check in _ref/_unref since that is also
14511         done in glib.
14512
14513 2006-06-12  Wim Taymans  <wim@fluendo.com>
14514
14515         * gst/gsterror.c: (gst_g_error_get_type):
14516         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14517         (gst_static_pad_template_get_type):
14518         * gst/gsttaglist.c: (gst_tag_list_get_type):
14519         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14520         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14521         * gst/gsturi.c: (gst_uri_handler_get_type):
14522         * gst/gstvalue.c: (gst_date_get_type):
14523         * gst/gstxml.c: (gst_xml_get_type):
14524         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14525         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14526         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14527         Add G_UNLIKELY in type registration.
14528
14529 2006-06-12  Wim Taymans  <wim@fluendo.com>
14530
14531         * tools/gst-inspect.c: (print_signal_info):
14532         Properly print enum values.
14533
14534 2006-06-12  Wim Taymans  <wim@fluendo.com>
14535
14536         * gst/gstinfo.c: (gst_debug_set_active),
14537         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14538         * gst/gstinfo.h:
14539         Add some G_[UN]LIKELY.
14540         Maintain __gst_debug_min to avoid formatting the arguments of
14541         debug messages that will be dropped anyway to avoid a lot of 
14542         overhead from the debugging system.
14543
14544 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14545
14546         * po/POTFILES.in:
14547         * po/POTFILES.skip:
14548           add missing files containing translatable strings, tell intltool about
14549           one exception
14550
14551 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14552
14553         * tests/check/libs/.cvsignore:
14554         add test-binary to ignore list
14555
14556 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14557
14558         * docs/libs/gstreamer-libs-docs.sgml:
14559         reorder (put dp into a chapter) and indent
14560
14561 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14562
14563         * configure.ac:
14564           back to HEAD
14565
14566 === release 0.10.8 ===
14567
14568 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14569
14570         * configure.ac:
14571           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14572
14573 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14574
14575         * gst/gst.c: (init_post):
14576           move pid declaration to declaration block
14577
14578 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14579
14580         * gst/gst.c: (init_post):
14581           use _exit() instead of exit() in our forked child; this ensures
14582           that none of the registered exit handlers from whatever is using
14583           GStreamer get executed.  This fixes gnome-mixer-applet failing
14584           to load, because ORBit would shut down.
14585           Spotted by: Edward Hervey  <edward@fluendo.com>
14586           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14587           Fixes #344474
14588
14589 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14590
14591         * configure.ac:
14592           back to TRUNK
14593
14594 === release 0.10.7 ===
14595
14596 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14597
14598         * configure.ac:
14599           releasing 0.10.7, "Soepeke, ik zie ou"
14600
14601 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14602
14603         * configure.ac:
14604         * po/af.po:
14605         * po/az.po:
14606         * po/bg.po:
14607         * po/ca.po:
14608         * po/cs.po:
14609         * po/de.po:
14610         * po/en_GB.po:
14611         * po/fr.po:
14612         * po/it.po:
14613         * po/nb.po:
14614         * po/nl.po:
14615         * po/ru.po:
14616         * po/sq.po:
14617         * po/sr.po:
14618         * po/sv.po:
14619         * po/tr.po:
14620         * po/uk.po:
14621         * po/vi.po:
14622         * po/zh_CN.po:
14623         * po/zh_TW.po:
14624         * win32/common/config.h:
14625           0.10.6.2 prerelease
14626
14627 2006-06-07  Wim Taymans  <wim@fluendo.com>
14628
14629         * gst/gstindex.c: (gst_index_gtype_resolver):
14630         * tools/gst-xmlinspect.c: (print_plugin_info):
14631         Fix leak spotted by coverity checker. Fixes #343827
14632         Fix another other leak found by paolo borelli.
14633
14634 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14635
14636         * libs/gst/dataprotocol/dataprotocol.c:
14637         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14638         (gst_dp_version_get_type), (gst_dp_init),
14639         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14640         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14641         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14642         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14643         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14644         (gst_dp_packetizer_free):
14645         * libs/gst/dataprotocol/dataprotocol.h:
14646           API: add a GstDPPacketizer object, and create/free functions
14647           API: add GstDPVersion enum
14648           Add 1.0 event function that uses the string serialization
14649           Serialize more useful buffer flags
14650           Fixes #343988
14651
14652 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14653
14654         * tests/check/Makefile.am:
14655         * tests/check/gst/gstabi.c:
14656         * tests/check/gst/struct_ppc64.h:
14657         * tests/check/libs/libsabi.c:
14658         * tests/check/libs/struct_ppc64.h:
14659           add ppc64 structure sizes
14660
14661 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14662
14663         * tests/check/Makefile.am:
14664         * tests/check/gst/gstabi.c:
14665         * tests/check/gst/struct_x86_64.h:
14666         * tests/check/libs/libsabi.c:
14667         * tests/check/libs/struct_x86_64.h:
14668           generate and add structure size lists for x86_64
14669
14670 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14671
14672         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14673         * libs/gst/check/gstcheck.h:
14674           factor out the method from tests that checks size of structures,
14675           and add code to generate the header containing these sizes
14676         * tests/check/gst/gstabi.c: (GST_START_TEST):
14677         * tests/check/gst/struct_i386.h:
14678         * tests/check/libs/libsabi.c: (GST_START_TEST):
14679         * tests/check/libs/struct_i386.h:
14680           use it
14681
14682 2006-06-06  Michael Smith  <msmith@fluendo.com>
14683
14684         * gst/gstsegment.h:
14685           Don't use c++-style comments, fixes #343929
14686
14687 2006-06-05  Edward Hervey  <edward@fluendo.com>
14688
14689         * gst/gst.c:
14690         plugin_paths is not used if we build without registry support.
14691
14692         * gst/gstsegment.c: (gst_segment_copy): 
14693         _copy() was always returning NULL...
14694
14695 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14696
14697         * libs/gst/dataprotocol/dataprotocol.c:
14698         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14699         (gst_dp_packet_from_event):
14700           factor out CRC code
14701
14702 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14703
14704         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14705           make sure we unset caps
14706
14707 2006-06-02  Michael Smith  <msmith@fluendo.com>
14708
14709         * libs/gst/check/gstcheck.c: (gst_check_init),
14710         (gst_check_chain_func):
14711         * libs/gst/check/gstcheck.h:
14712           Add a cond/mutex to the check support lib, signal this whenever we
14713           add to the buffers list. This will allow tests to not busy-wait on
14714           the buffer-list.
14715
14716 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14717
14718         * libs/gst/dataprotocol/dataprotocol.c:
14719         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14720         (gst_dp_packet_from_event):
14721           factor out some common header init code
14722
14723 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14724
14725         * docs/libs/gstreamer-libs-sections.txt:
14726         * docs/libs/tmpl/gstdataprotocol.sgml:
14727         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14728         * libs/gst/dataprotocol/dataprotocol.h:
14729           API: make gst_dp_crc() public
14730
14731 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14732
14733         * plugins/indexers/gstindexers.c: (plugin_init):
14734         conditionally register fileindexer (fixes #343598)
14735
14736 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14737
14738         * gst/gsttagsetter.h:
14739         Can't cast ifaces to a class
14740
14741         * libs/gst/net/gstnetclientclock.h:
14742         * libs/gst/net/gstnettimeprovider.h:
14743         * plugins/elements/gstfakesink.h:
14744         * plugins/elements/gstfakesrc.h:
14745         * plugins/elements/gstfdsink.h:
14746         * plugins/elements/gstfdsrc.h:
14747         * plugins/elements/gstfilesink.h:
14748         * plugins/elements/gstfilesrc.h:
14749         * plugins/elements/gstidentity.h:
14750         * plugins/elements/gstqueue.h:
14751         * plugins/elements/gsttee.h:
14752         * plugins/indexers/gstfileindex.c:
14753         * plugins/indexers/gstmemindex.c:
14754         * tests/old/examples/plugins/example.h:
14755         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14756
14757 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14758
14759         * libs/gst/dataprotocol/dataprotocol.c:
14760         (gst_dp_header_from_buffer):
14761           make sure we zero the whole ABI-compatible area
14762
14763 2006-06-01  Wim Taymans  <wim@fluendo.com>
14764
14765         Patch by: Alessandro Decina <alessandro at nnva dot org>
14766
14767         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14768         Make sure the EOS flag is cleared from pads after a flush
14769         or stop. Fixes #343538.
14770
14771         * tests/check/libs/collectpads.c: (GST_START_TEST),
14772         (gst_collect_pads_suite):
14773         Added test for collectpads reusage after EOS.
14774
14775 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14776
14777         * gst/gst.c:
14778          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14779         * win32/common/libgstbase.def:
14780          export gst_collect_pads_set_flushing
14781         * win32/common/libgstreamer.def:
14782          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14783          gst_value_fraction_multiply
14784         * win32/vs6/gst_inspect.dsp:
14785          add a link to intl.lib
14786
14787 2006-05-30  Wim Taymans  <wim@fluendo.com>
14788
14789         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14790         (gst_collect_pads_chain):
14791         Handle the case where a pad is removed from the collection
14792         that could cause the other pads to become collectable.
14793
14794 2006-05-30  Wim Taymans  <wim@fluendo.com>
14795
14796         * gst/gstelement.c:
14797         Clarify the use of _release_request_pad() and
14798         _get_request_pad() a bit better.
14799
14800         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14801         (gst_adapter_take_buffer):
14802         Fix some doc and comment typos.
14803
14804 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14805
14806         * docs/gst/gstreamer-sections.txt:
14807         * docs/libs/gstreamer-libs-sections.txt:
14808           add declared symbols
14809
14810 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14811
14812         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14813         Add debug that can be enabled using a #define at the top of the file,
14814         for dumping stats about how late/early we were when waking up from
14815         waiting on the clock.
14816
14817 2006-05-30  Wim Taymans  <wim@fluendo.com>
14818
14819         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14820         When rebuilding the pad list, don't leak the previous list.
14821
14822 2006-05-30  Wim Taymans  <wim@fluendo.com>
14823
14824         Patch by: Lutz Mueller <lutz at topfrose dot de>
14825
14826         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14827         (gst_base_src_get_query_types), (gst_base_src_update_length):
14828         Publish supported query types.
14829         Update last_stop field in get_range mode so the position
14830         query works. Fixes #342321.
14831
14832 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14833
14834         * docs/gst/gstreamer-sections.txt:
14835         * gst/gsttaglist.c: (_gst_tag_initialize):
14836         * gst/gsttaglist.h:
14837           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14838
14839 2006-05-30  Wim Taymans  <wim@fluendo.com>
14840
14841         Patch by: Alessandro Decina <alessandro at nnva dot org>
14842
14843         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14844         Unlock mutex when removing an unknown pad.
14845         Fixes #343334.
14846
14847         * tests/check/Makefile.am:
14848         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14849         (push_event), (setup), (teardown), (GST_START_TEST),
14850         (gst_collect_pads_suite), (main):
14851         Added collecpads check, disabled for now as check crashes for
14852         some reason.
14853
14854 2006-05-29  Wim Taymans  <wim@fluendo.com>
14855
14856         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14857         Don't leak pads lists.
14858
14859 2006-05-29  Wim Taymans  <wim@fluendo.com>
14860
14861         * docs/libs/gstreamer-libs-sections.txt:
14862         * libs/gst/base/gstcollectpads.c:
14863         (gst_collect_pads_set_flushing_unlocked),
14864         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14865         (gst_collect_pads_stop):
14866         * libs/gst/base/gstcollectpads.h:
14867         API: gst_collect_pads_set_flushing()
14868         Added api to set the pads to flushing, useful for seeking
14869         code in elements using collectpads.
14870         Clear segment when receiving a flush.
14871
14872 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14873
14874         * gst/gst.c: (add_path_func), (init_post):
14875           Don't scan registry paths passed via --gst-plugin-path immediately
14876           (will crash, because absolutely nothing is set up and no types are
14877           registered etc.); do this later in init_post(). Fixes #343057.
14878
14879 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14880
14881         * gst/gst.c: (init_post):
14882           if we have fork, fork while reading/rebuilding the registry
14883           so the parent doesn't take the hit of having all plugins loaded
14884           in memory.  Fixes #342777.
14885         * configure.ac:
14886           Check if we have fork()
14887         * win32/common/config.h.in:
14888           no fork() on win32
14889
14890 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14891
14892         * plugins/elements/gstelements.c:
14893         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14894         (gst_file_src_init), (gst_file_src_set_property),
14895         (gst_file_src_get_property), (gst_file_src_start):
14896         * plugins/elements/gstfilesrc.h:
14897           API: GstFileSrc::use-mmap
14898
14899         Add a use-mmap property to enable easier testing of all code paths.
14900         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14901         in the absence of gnomevfssrc. (Closes #340501)
14902
14903 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14904
14905         * tools/gst-inspect.c:
14906         Add missing include, removes warning of ngettext not being defined on
14907         some arches.
14908
14909 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14910
14911         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14912         Handle NULL input and output pointers silently as a failed conversion,
14913         rather than g_warnings.
14914
14915 2006-05-25  Wim Taymans  <wim@fluendo.com>
14916
14917         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14918         Initialize variable before using. Fixes #342820.
14919
14920 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14921
14922         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14923           Fix off-by-one bug that would only allow peeks of N-1 bytes
14924           from the start even if the buffer to typefind on contains
14925           in fact N bytes of data (makes vorbis typefinding from a
14926           vorbis identification header buffer work).
14927
14928         * tests/check/Makefile.am:
14929         * tests/check/libs/.cvsignore:
14930         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14931         (gst_typefindhelper_suite), (main), (foobar_typefind),
14932         (plugin_init):
14933           Add very basic unit test for gst_type_find_helper_for_buffer()
14934           that checks for the problem fixed above.
14935
14936 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14937
14938         * tools/gst-inspect.c: (print_interfaces),
14939         (print_element_properties_info), (print_element_list), (main):
14940           add more translatable strings
14941
14942 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
14943
14944         Patch by: Julien Moutte  <julien at moutte net>
14945
14946         * docs/gst/gstreamer-sections.txt:
14947           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
14948           
14949         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
14950         (gst_fake_sink_preroll):
14951         * plugins/elements/gstfakesink.h:
14952           API: Add new GstFakeSink::preroll-handoff signal (#337100).
14953
14954 2006-05-23  Wim Taymans  <wim@fluendo.com>
14955
14956         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
14957         * gst/gstpad.h:
14958         Added _CUSTOM error and success GstFlowReturn that can be
14959         used be elements internally. 
14960         Added macro to check for SUCCESS flowreturns.
14961         API: GST_FLOW_CUSTOM_SUCCESS
14962         API: GST_FLOW_CUSTOM_ERROR
14963         API: GST_FLOW_IS_SUCCESS
14964
14965         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
14966         Added check for GstFlowReturn sanity.
14967
14968 2006-05-23  Wim Taymans  <wim@fluendo.com>
14969
14970         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
14971
14972         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14973         (gst_collect_pads_event):
14974         clear/reset segment info in FLUSH_STOP.
14975         Fixes #336929.
14976
14977 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
14978
14979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
14980         (gst_collect_pads_check_collected):
14981         Flush queued buffer on _stop(), fixes playing again (#342454)
14982
14983 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14984
14985         * tests/check/gst/gststructure.c: (GST_START_TEST),
14986         (gst_structure_suite):
14987           add a test for a complete structure
14988
14989 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
14990
14991         * docs/faq/developing.xml:
14992         * docs/faq/faq.xml:
14993         * docs/faq/troubleshooting.xml:
14994         * docs/faq/using.xml:
14995           Some minor FAQ updates that won't change the fact that
14996           our FAQ is badly structured, full of information hardly
14997           anyone new to GStreamer needs to know and lacking lots
14998           of information people constantly ask for.
14999           
15000 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15001
15002         * gst/gstpad.c: (gst_pad_set_caps):
15003           Short-circuit gst_pad_set_caps if setting the existing
15004           caps pointer again, and avoid printing debug and 
15005           reffing/unreffing the caps.
15006
15007         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15008           There's actually no need to set the caps before pushing -
15009           the acceptcaps method will handle it anyway.
15010
15011 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15012
15013         * docs/gst/gstreamer-sections.txt:
15014         * win32/common/libgstreamer.def:
15015         * gst/gstutils.c: (gst_element_seek_simple):
15016         * gst/gstutils.h:
15017           API: add gst_element_seek_simple() (#342238).
15018
15019 2006-05-18  Edward Hervey  <edward@fluendo.com>
15020
15021         * gst/gsttypefind.c: (gst_type_find_get_type):
15022         * gst/gsttypefind.h:
15023         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15024         registered for GstTypeFind pointers. This allows wrapping the structure
15025         in bindings (i.e. gst-python).
15026
15027 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15028
15029         * gst/gsttagsetter.c:
15030           Docs additions and fixes (see #339918).
15031
15032 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15033
15034         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15035         The caps intersection algorithm can produce multiple copies of the
15036         caps. Until that is fixed, we need to simplify the result to be
15037         sure whether the allowed caps are fixed or not.
15038
15039         * plugins/elements/gstqueue.c: (gst_queue_init),
15040         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15041         (gst_queue_push_one):
15042         Proxied buffer alloc should not set the caps on the source pad.
15043         When pushing buffers, we always accept the caps change that triggers.
15044         This prevents negotiation errors caused by caps changing mid-stream 
15045         and then being refused on our source pad (because upstream is now
15046         refusing those caps).
15047
15048 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15049
15050         * tests/examples/helloworld/helloworld.c: (main):
15051           Must plug audioconvert and audioresample between decoder
15052           and audio sink.
15053
15054 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15055
15056         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15057         (load_feature), (load_plugin):
15058         Allow empty strings for some of the plugin fields so we don't 
15059         drop valid plugin entries that were written out correctly
15060         (Fixes #341479)
15061
15062 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15063         
15064         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15065           Use g_remove and g_rename instead of remove and rename that don't 
15066           handle utf8 characters. rename was failing for users who had specific
15067           characters in their name then the registry was built at each 
15068           gstreamer init.
15069         * win32/vs6/gst_inspect.dsp:
15070         * win32/vs6/gst_launch.dsp:
15071         * win32/vs6/libgstbase.dsp:
15072         * win32/vs6/libgstcoreelements.dsp:
15073         * win32/vs6/libgstreamer.dsp:
15074           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15075           build of libgstreamer and clean unused libraries in projects link 
15076           settings.
15077
15078 2006-05-17  Edward Hervey  <edward@fluendo.com>
15079
15080         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15081         The queue is not responsible for pushing an EOS when receiving a fatal
15082         flow error. It's up to the real element driving the pipeline to do that.
15083
15084 2006-05-16  Edward Hervey  <edward@fluendo.com>
15085
15086         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15087         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15088         buffer returned a fatal error. It should just send an EOS and stop
15089         its task.
15090         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15091         when pushing buffers on the queue and will be able to handle the event.
15092
15093 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15094
15095         * docs/manual/basics-bins.xml:
15096         * docs/manual/basics-init.xml:
15097           Fix typos and minor errors in sample code (#341856).
15098
15099 2006-05-16  Wim Taymans  <wim@fluendo.com>
15100
15101         * docs/design/part-qos.txt:
15102         Fix indexes in formulas to make more sense.
15103
15104 2006-05-15  Wim Taymans  <wim@fluendo.com>
15105
15106         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15107         Don't report POSITION based on clock time if sync is
15108         disabled in a sink.
15109
15110 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15111
15112         * gst/gstobject.h:
15113           Add cast to make compiler happy - refcount variable was a gint
15114           in GstObject but is a guint in GObject and g_atomic_int_get()
15115           wants a gint *.
15116
15117 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15118
15119         * gst/parse/Makefile.am:
15120           chain commands using &&, which also makes parallel make work
15121
15122 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15123
15124         * docs/gst/gstreamer-sections.txt:
15125         * gst/gstevent.c:
15126         * gst/gstevent.h:
15127         * gst/gstmessage.h:
15128           Minor docs fixes.
15129
15130 === release 0.10.6 ===
15131
15132 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15133
15134         * configure.ac:
15135           releasing 0.10.6, "Take the cannoli"
15136
15137 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15138
15139         * tools/gst-launch.c: (print_tag):
15140           Fix use of uninitialized variable in the hypothetical
15141           case that some broken plugin creates a GST_TAG_IMAGE
15142           tag containing a NULL buffer (#341667).
15143
15144 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15145
15146         * tools/gst-launch.c: (print_tag):
15147           Print something more intelligible for image tags when
15148           using the -t switch (#341556).
15149
15150 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15151
15152         * Makefile.am:
15153           updates for win32
15154         * configure.ac:
15155           define GST_MAJORMINOR so we have it available in win32/common/config.h
15156           Possibly remove it from our Makefile.am files later
15157         * win32/common/config.h:
15158         * win32/common/config.h.in:
15159           added GST_MAJORMINOR
15160         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15161         * win32/common/gstversion.h:
15162           updated
15163
15164 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15165
15166         * win32/MANIFEST:
15167           Update win32 files listing.
15168         * win32/common/gstversion.h:
15169           Add GST_MAJORMINOR definition.
15170         * win32/common/libgstreamer.def:
15171           Add new exported functions.
15172           
15173 2006-05-12  Michael Smith  <msmith@fluendo.com>
15174
15175         * gst/gstplugin.c: (gst_plugin_load_file):
15176           If an so file has no plugin entry point, unload the module.
15177
15178 2006-05-11  Wim Taymans  <wim@fluendo.com>
15179
15180         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15181         (gst_queue_set_property):
15182         Don't forget to signal the _chain or _loop function 
15183         when the queue size or thresholds change since that might
15184         cause them to make progres again.
15185
15186 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15187
15188         * gst/gstclock.c: (gst_clock_class_init):
15189         * gst/gstindex.c: (gst_index_class_init):
15190         * gst/gstobject.c: (gst_object_class_init):
15191         * gst/gstpad.c: (gst_pad_class_init):
15192         * gst/gstpipeline.c: (gst_pipeline_class_init):
15193         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15194         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15195         * libs/gst/base/gstbasetransform.c:
15196         (gst_base_transform_class_init):
15197         * libs/gst/net/gstnetclientclock.c:
15198         (gst_net_client_clock_class_init):
15199         * libs/gst/net/gstnettimeprovider.c:
15200         (gst_net_time_provider_class_init):
15201         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15202         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15203         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15204         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15205         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15206         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15207         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15208         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15209         * plugins/elements/gsttee.c: (gst_tee_class_init):
15210         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15211         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15212           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15213
15214 2006-05-11  Wim Taymans  <wim@fluendo.com>
15215
15216         * gst/gstbuffer.c: (_gst_buffer_initialize):
15217         Register subbufer along with the buffer type so that
15218         it does not accidentally gets registered from N
15219         different streaming threads in a non threadsafe way.
15220
15221 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15222
15223         * gst/gstbuffer.h:
15224         * gst/gstevent.h:
15225         * gst/gstmessage.h:
15226           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15227           gst_event_ref() and gst_message_ref() functions again
15228           (ugly hack, please do fix if there's a better way besides
15229           overrides.txt, which doesn't seem to work).
15230
15231 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15232
15233         * libs/gst/check/gstcheck.h:
15234           add an assert for setting state to avoid lots of repetitive code
15235           in the future
15236
15237 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15238
15239         * gst/gstvalue.c: (gst_value_serialize_flags):
15240           fix a leak if no flags are set
15241         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15242           fix leak in tests
15243
15244 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15245
15246         * docs/manual/basics-pads.xml:
15247           Expand a bit on caps and filtered links and update
15248           examples that were still using the no longer existing
15249           gst_pad_link_filtered() (#338206).
15250
15251 2006-05-10  Wim Taymans  <wim@fluendo.com>
15252
15253         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15254         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15255         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15256         (gst_collect_pads_stop):
15257         * libs/gst/base/gstcollectpads.h:
15258         No need to call _stop in _finalize.
15259         Iterate the main pad list in _finalize.
15260         Added some more debug.
15261         Free lists and data in the right order.
15262         Also free data whem doing _remove_pad when stopped for
15263         backward compatibility protect ::started with PAD_LOCK as
15264         well.
15265
15266 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15267
15268         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15269         (gst_structure_parse_value):
15270           add some comments
15271           rename a method so that it actually says what it does better
15272
15273 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15274
15275         * gst/gstevent.c: (_gst_event_initialize):
15276         * gst/gstformat.c: (_gst_format_initialize):
15277           make sure some essential types used by events are registered
15278           as part of gst_init()
15279         * gst/gstvalue.c: (gst_value_serialize_flags):
15280           if no flags are set, serialize them to a value that represents NONE
15281           so that deserializing them works
15282         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15283           add tests for serialization and deserialization of flags
15284
15285 2006-05-10  Wim Taymans  <wim@fluendo.com>
15286
15287         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15288         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15289         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15290         (gst_collect_pads_event), (gst_collect_pads_chain):
15291         Update docs.
15292         Better debug info.
15293         Catch and return errors from the collect function
15294         Refuse data on eos pads.
15295
15296 2006-05-10  Edward Hervey  <edward@fluendo.com>
15297
15298         * gst/gstinterface.h:
15299         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15300         GInterface type checking.
15301         They were previously using non-defined macros.
15302
15303 2006-05-09  Wim Taymans  <wim@fluendo.com>
15304
15305         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15306         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15307         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15308         (gst_collect_pads_start), (gst_collect_pads_stop),
15309         (gst_collect_pads_peek), (gst_collect_pads_pop),
15310         (gst_collect_pads_available), (gst_collect_pads_read),
15311         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15312         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15313         (gst_collect_pads_chain):
15314         * libs/gst/base/gstcollectpads.h:
15315         Clean up the mess that is collectpads, add comments and
15316         FIXMEs where needed.
15317         Maintain a separate pad list so we can add pads while
15318         collecting the other ones. For this we need a new separate 
15319         lock (see comics).
15320         Fix memory leak in finalize.
15321         Refactor some weird code to set/unset pad flushing flags, mark
15322         with comments.
15323         Don't crash in _available, _read, _flush when we're EOS.
15324
15325         * tests/check/libs/.cvsignore:
15326         Ignore adapter check binary.
15327
15328 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * gst/gstindex.c: (gst_index_resolver_get_type):
15331         * plugins/elements/gstfakesink.c:
15332         (gst_fake_sink_state_error_get_type):
15333         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15334         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15335         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15336           Const-ify GEnumValue arrays.
15337
15338 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15339
15340         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15341           Add test case for flags + gst_buffer_make_metadata_writable().
15342
15343 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15344
15345         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15346           gst_buffer_make_metadata_writable() should maintain the
15347           buffer flags (those that make sense at least) (see #340859).
15348
15349 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15350
15351         * tools/gst-inspect.c:
15352         * tools/gst-launch.c:
15353         * tools/gst-typefind.c:
15354         * tools/gst-xmlinspect.c:
15355         * tools/tools.h:
15356           Fix up includes: need to include stdlib.h in tools.h for exit().
15357
15358 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15359
15360         * gst/gsttaglist.c: (_gst_tag_initialize):
15361         * gst/gsttaglist.h:
15362           API: add GST_TAG_IMAGE tag (#340721).
15363
15364 2006-05-08  Wim Taymans  <wim@fluendo.com>
15365
15366         * gst/gstquery.c:
15367         Added some docs for the segment query.
15368
15369 2006-05-08  Wim Taymans  <wim@fluendo.com>
15370
15371         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15372         (gst_base_src_loop), (gst_base_src_change_state):
15373         Always push non-flushing serialized events in the streaming 
15374         thread.
15375
15376 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15377
15378         * gst/gsterror.c: (_gst_stream_errors_init):
15379           Add a missing error string.
15380
15381 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15382
15383         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15384         Add applied_rate to the debug
15385
15386         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15387         Copy applied_rate into the outgoing NEWSEGMENT event
15388
15389 2006-05-08  Wim Taymans  <wim@fluendo.com>
15390
15391         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15392
15393         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15394         (gst_base_sink_change_state):
15395         call ::unlock before taking the PREROLL_LOCK so we can safely
15396         handle elements that lock in ::render.
15397         Fixes #340174.
15398
15399 2006-05-08  Edward Hervey  <edward@fluendo.com>
15400
15401         * autogen.sh: (CONFIGURE_DEF_OPT): 
15402         Darwin's libtoolize is in fact called glibtoolize.
15403         Adding glibtoolize to the list of accepted names for libtoolize.
15404
15405 2006-05-08  Wim Taymans  <wim@fluendo.com>
15406
15407         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15408         Unify error handling, don't post an error message
15409         when a push() returns EOS but perform our normal EOS
15410         handling code. Fixes #340772.
15411
15412 2006-05-08  Wim Taymans  <wim@fluendo.com>
15413
15414         * docs/design/part-overview.txt:
15415         Make upsteam/downstream concepts more clear.
15416         Give an example of serialized/non-serialized events.
15417
15418         * docs/design/part-events.txt:
15419         * docs/design/part-streams.txt:
15420         Mention applied_rate.
15421
15422         * docs/design/part-trickmodes.txt:
15423         Mention applied rate, flesh out some more use cases.
15424
15425         * gst/gstevent.c: (gst_event_new_new_segment),
15426         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15427         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15428         (gst_event_parse_tag), (gst_event_new_buffer_size),
15429         (gst_event_parse_buffer_size), (gst_event_new_qos),
15430         (gst_event_parse_qos), (gst_event_parse_seek),
15431         (gst_event_new_navigation):
15432         * gst/gstevent.h:
15433         Add applied_rate field to NEWSEGMENT event.
15434         API: gst_event_new_new_segment_full()
15435         API: gst_event_parse_new_segment_full()
15436
15437         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15438         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15439         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15440         * gst/gstsegment.h:
15441         Add applied_rate to GstSegment structure.
15442         Make calculation of stream_time and running_time more correct
15443         wrt rate/applied_rate.
15444         Add some more docs.
15445         API: GstSegment::applied_rate field
15446         API: gst_segment_set_newsegment_full();
15447
15448         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15449         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15450         * libs/gst/base/gstbasetransform.c:
15451         (gst_base_transform_sink_eventfunc),
15452         (gst_base_transform_handle_buffer):
15453         Parse and use applied_rate in the GstSegment field.
15454
15455         * tests/check/gst/gstevent.c: (GST_START_TEST):
15456         Add check for applied_rate field.
15457
15458         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15459         (gstsegments_suite):
15460         Add more checks for various GstSegment operations.
15461
15462 2006-05-08  Wim Taymans  <wim@fluendo.com>
15463
15464         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15465         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15466         (gst_base_sink_get_position), (gst_base_sink_change_state):
15467         Store the sync time of the buffer end position separatly in a
15468         new variable eos_rtime so we can properly sync the EOS event.
15469         Fixes #340697.
15470         Fix the docs for gst_base_sink_set_qos_enabled().
15471         Don't set segment start to invalid value when we receive a 
15472         non TIME newsegment.
15473         get closer to handling position reporting for negative rates 
15474         correctly.
15475
15476 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15477
15478         * gst/gstcaps.c:
15479         Docs about how to print caps for debug purposes.
15480
15481         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15482         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15483
15484 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15485
15486         * gst/gstelement.c:
15487           use full enum names and preprend a '%' in docs strings to make recent 
15488           gtk-doc turn that into a link
15489
15490 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15491
15492         * docs/manual/basics-bins.xml:
15493         * docs/manual/basics-bus.xml:
15494         * docs/manual/basics-pads.xml:
15495           Some typo fixes, some additions, some clarifications. 
15496
15497 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15498
15499         * tools/gst-inspect.c: (main):
15500         * tools/gst-launch.c: (main):
15501         * tools/gst-run.c: (main):
15502         * tools/gst-typefind.c: (main):
15503         * tools/gst-xmlinspect.c: (main):
15504           Use the string passed to g_option_context_new() for
15505           what it's intended for - the program name is already
15506           printed elsewhere.
15507
15508 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15509
15510         * tools/Makefile.am:
15511         * tools/gst-inspect.c: (main):
15512         * tools/gst-launch.c: (main):
15513         * tools/gst-xmlinspect.c: (main):
15514         * tools/tools.h:
15515           Add back --version command line option (#340460).
15516
15517         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15518           Add --version option and use GOption for argument parsing; refactor a
15519           bit; accept directories as arguments and recurse into them; lastly,
15520           print a decent error message when things go wrong.
15521
15522 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15523
15524         * docs/manual/basics-bins.xml:
15525         Don't mention GstThread (#340611)
15526         * docs/manual/basics-elements.xml:
15527         Update link to GObject tutorial (#340607)
15528         
15529 2006-05-05  Wim Taymans  <wim@fluendo.com>
15530
15531         * gst/gstbuffer.h:
15532         * gst/gstminiobject.c:
15533         Add note about refcounting and miniobject/buffer writeability
15534         to docs. Fixes #340604
15535
15536         * gst/gstelementfactory.h:
15537         Added some explanation about @klass.
15538
15539 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15540
15541         * docs/manual/intro-motivation.xml:
15542         * docs/manual/manual.xml:
15543         Avoid CORBA & Bonobo references (#340598)
15544
15545 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15546
15547         * docs/manual/basics-bus.xml:
15548         * docs/manual/basics-pads.xml:
15549         Fix up some inaccuracies and omissions (#340609)
15550         
15551 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15552
15553         * gst/gstghostpad.c:
15554           Small typo in docs (#340625)
15555
15556 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15557
15558         * gst/parse/Makefile.am:
15559           Make 'make -j' proof (see #340698).
15560
15561 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15562
15563         * configure.ac:
15564           Require GLib-2.8 here as well.
15565
15566 2006-05-05  Wim Taymans  <wim@fluendo.com>
15567
15568         * gst/glib-compat.c:
15569         * gst/gst.c: (init_pre):
15570         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15571         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15572         (gst_object_dispatch_properties_changed):
15573         * gst/gstobject.h:
15574         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15575         * gst/gststructure.c: (gst_structure_set_valist):
15576         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15577         Remove pre glib2.8 compatibility, fixes #340508
15578
15579 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15580
15581         * gst/gsttaglist.h:
15582           Mention type of tags in doc blurbs.
15583
15584 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15585
15586         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15587         (gst_pad_configure_src), (gst_pad_push):
15588         Restore acceptcaps checking behaviour now that good plugins have
15589         been released.
15590
15591 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15594
15595         * gst/gst.c:
15596         * gst/gstbus.c:
15597         * gst/gstclock.c:
15598         * gst/gstevent.c:
15599         * gst/gstformat.c:
15600         * gst/gstmessage.c:
15601         * gst/gstparse.c:
15602         * gst/gstquery.c:
15603         * gst/gstutils.c:
15604         * gst/parse/Makefile.am:
15605         * libs/gst/base/gstadapter.c:
15606         * libs/gst/base/gstbasesrc.c:
15607         * libs/gst/base/gstpushsrc.c:
15608         * libs/gst/base/gsttypefindhelper.c:
15609         * plugins/elements/gstfakesrc.c:
15610         * plugins/elements/gstidentity.c:
15611           Make sure gstprivate.h and/or config.h are
15612           always included first, otherwise some of our
15613           defines (like _FILE_OFFSET_BITS) might be
15614           redefined in the system headers. Fixes build
15615           on opensolaris (#340016).
15616
15617 2006-05-04  Wim Taymans  <wim@fluendo.com>
15618
15619         * docs/libs/gstreamer-libs-sections.txt:
15620         API: addition: gst_adapter_take_buffer()
15621         
15622         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15623         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15624         (gst_adapter_available_fast):
15625         * libs/gst/base/gstadapter.h:
15626         Prepare for optimizing the hell out of this hugely inefficient
15627         piece of code. 
15628         Added gst_adapter_take_buffer() so we can at least start thinking
15629         about subbuffering and merging.
15630         Added some comments.
15631
15632         * tests/check/Makefile.am:
15633         * tests/check/libs/adapter.c: (GST_START_TEST),
15634         (gst_adapter_suite), (main):
15635         Added GstAdapter check.
15636
15637 2006-05-04  Wim Taymans  <wim@fluendo.com>
15638
15639         * docs/design/part-overview.txt:
15640         Fix some typos, add blurb about buffer flags.
15641
15642 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15643
15644         * docs/libs/gstreamer-libs-sections.txt:
15645           make sure GstBaseTransformClass shows up in the docs
15646         * libs/gst/base/gstbasetransform.c:
15647         * libs/gst/base/gstbasetransform.h:
15648           move docs so gtk-doc picks it up now
15649
15650 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15651
15652         * docs/libs/gstreamer-libs-sections.txt:
15653           add missing symbols to docs
15654
15655 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15656
15657         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15658           back out the newsegment handling change, see #340060 for ongoing
15659           discussion
15660
15661 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15662
15663         * tools/gst-run.c: (get_candidates), (main):
15664           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15665           work); fix typo in error message. Fixes #340079.
15666
15667 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15668
15669         * common/Makefile.am:
15670         * docs/Makefile.am:
15671         * docs/faq/Makefile.am:
15672         * docs/gst/Makefile.am:
15673         * docs/libs/Makefile.am:
15674         * docs/manual/Makefile.am:
15675         * docs/plugins/Makefile.am:
15676         * docs/pwg/Makefile.am:
15677         * docs/slides/Makefile.am:
15678         * docs/upload.mak:
15679         * common/upload.mak:
15680           move upload.mak to common
15681
15682 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15683
15684         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15685           add more asserts on refcounts
15686           do more cleanup at end of tests
15687           fix test leaks showing in FC5
15688
15689 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15690
15691         * plugins/elements/gsttypefindelement.c:
15692         (gst_type_find_element_handle_event):
15693         reverted wrong change and reflowed code to avoid others falling into
15694         this trap
15695
15696 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15697
15698         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15699           fix changelog entry about last collectpads change,
15700           add notes about proper fix
15701
15702 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15703
15704         * gst/gst.c:
15705         * gst/gstregistry.c: (gst_registry_scan_path_level),
15706         (gst_registry_scan_path):
15707         * gst/gstregistry.h:
15708           only write out registry if it has changed, fixes #338339
15709
15710 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15711
15712         * gst/gstbin.c:
15713         * gst/gstpipeline.c:
15714         * plugins/elements/gstcapsfilter.c:
15715         * plugins/elements/gstfakesink.c:
15716         * plugins/elements/gstfakesrc.c:
15717         * plugins/elements/gstfdsink.c:
15718         * plugins/elements/gstfdsrc.c:
15719         * plugins/elements/gstfilesink.c:
15720         * plugins/elements/gstfilesrc.c:
15721         * plugins/elements/gstidentity.c:
15722         * plugins/elements/gstqueue.c:
15723         * plugins/elements/gsttee.c:
15724         * plugins/elements/gsttypefindelement.c:
15725         (gst_type_find_element_handle_event):
15726           make GstElementDetails const
15727
15728 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15729
15730         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15731         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15732         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15733           more detailed debug and formatting cleanup,
15734           forward newsegments to src-pad (so that e.g. adder not eats them)
15735
15736 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15737
15738         * gst/gstutils.c: (gst_element_link_pads):
15739           cleanup double code
15740
15741 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15742
15743         * libs/gst/controller/gstcontroller.c:
15744         (gst_controller_sync_values):
15745           some little tuning
15746         * tests/check/libs/controller.c: (GST_START_TEST),
15747         (gst_controller_suite):
15748           a new test for live value handling
15749
15750 2006-04-28  Wim Taymans  <wim@fluendo.com>
15751
15752         * gst/gstutils.c: (push_and_ref):
15753         Added some more docs.
15754         Fix refcount issue whith gst_element_found_tags() helper 
15755         function. Fixes #338335
15756
15757         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15758         Added testsuite for gst_element_found_tags().
15759
15760 2006-04-28  Michael Smith  <msmith@fluendo.com>
15761
15762         * gst/gstvalue.c: (gst_value_serialize_flags):
15763           Avoid NULL dereference when trying to serialize flags containing
15764           invalid values.
15765
15766 2006-04-28  Michael Smith  <msmith@fluendo.com>
15767
15768         * plugins/elements/gsttypefindelement.c:
15769         (gst_type_find_element_handle_event):
15770           If we get EOS before any data is accumulated, don't use
15771           uninitialised local variables.
15772
15773 2006-04-28  Michael Smith  <msmith@fluendo.com>
15774
15775         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15776         (gst_dp_event_from_packet):
15777           Fixes in reading/writing events over GDP (not currently used?) - 
15778           dereferencing NULL events for unknown/invalid event types, memory
15779           leak, and change g_warning to GST_WARNING.
15780
15781 2006-04-28  Wim Taymans  <wim@fluendo.com>
15782
15783         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15784         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15785         (gst_base_sink_get_position), (gst_base_sink_change_state):
15786         When frame dropping is enabled, we should not ignore frames
15787         without a duration.
15788         Update some documentation.
15789
15790 2006-04-28  Wim Taymans  <wim@fluendo.com>
15791
15792         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15793         (gst_base_src_send_event), (gst_base_src_change_state):
15794         Documentation updates.
15795
15796 2006-04-28  Wim Taymans  <wim@fluendo.com>
15797
15798         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15799         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15800         handle EAGAIN, EINTR and short writes correctly. Also clean
15801         up some error cases, avoid a deadlock on bad file descriptors and
15802         use GST_DEBUG_OBJECT.
15803         Fixes #339843
15804
15805 2006-04-28  Wim Taymans  <wim@fluendo.com>
15806
15807         * gst/gstvalue.c: (gst_value_serialize_buffer),
15808         (gst_value_deserialize_buffer):
15809         Don't try to serialize a GValue with a NULL buffer. 
15810         Fixes #339821.
15811
15812         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15813         Added check for serialisation of NULL buffers.
15814
15815 2006-04-28  Wim Taymans  <wim@fluendo.com>
15816
15817         * gst/gstminiobject.c: (gst_value_take_mini_object):
15818         Taking a NULL miniobject is valid, fix the case where
15819         we try to unref the NULL miniobject.
15820
15821 2006-04-28  Wim Taymans  <wim@fluendo.com>
15822
15823         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15824
15825         * gst/gstbin.c: (gst_bin_handle_message_func):
15826         Update docs.
15827         Don't leak bin refcount when a state recalc is
15828         in progress and we delay another one #339808.
15829
15830 2006-04-28  Wim Taymans  <wim@fluendo.com>
15831
15832         * docs/design/part-TODO.txt:
15833         Mention QoS as an ongoing work item.
15834
15835         * docs/design/part-buffering.txt:
15836         New doc about buffering that needs to be fleshed out
15837         at some point.
15838
15839         * docs/design/part-qos.txt:
15840         More QoS policy for decoders/demuxers/transforms
15841
15842         * docs/design/part-trickmodes.txt:
15843         Small update.
15844
15845 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15846
15847         * configure.ac:
15848           back to HEAD
15849
15850 === release 0.10.5 ===
15851
15852 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15853
15854         * configure.ac:
15855           releasing 0.10.5, "Fogo"
15856
15857 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15858
15859         patch by: Wim Taymans
15860
15861         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15862         (gst_pad_configure_src), (gst_pad_push):
15863         * gst/gstpipeline.c: (gst_pipeline_init):
15864           Fix internal data flow errors.  Fixes #338711.
15865
15866 2006-04-12  Wim Taymans  <wim@fluendo.com>
15867
15868         * tests/check/gst/gstelement.c: (GST_START_TEST):
15869         Don't leak the factory.
15870
15871 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15872
15873         * configure.ac:
15874         * win32/common/config.h:
15875           prerelease
15876
15877 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15878
15879         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15880         (gst_controller_unset_all):
15881           Free allocated GstTimedValues when freeing list nodes.
15882           Should fix leaks 'make check-valgrind' complains about.
15883
15884         * win32/common/libgstcontroller.def:
15885           Add gst_controller_unset_all.
15886
15887 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15888
15889         * docs/libs/gstreamer-libs-sections.txt:
15890         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15891         (gst_controller_unset_all):
15892         * libs/gst/controller/gstcontroller.h:
15893         API: Added new method gst_controller_unset_all()
15894         fixed gst_controller_unset()
15895         * tests/check/libs/controller.c: (GST_START_TEST),
15896         (gst_controller_suite):
15897         Added two testcases for new and fixed method
15898
15899 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15900
15901         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15902           MSG_DONTWAIT is not defined on Cygwin, so work
15903           around that (fixes #317048).
15904           
15905 2006-04-11  Wim Taymans  <wim@fluendo.com>
15906
15907         * gst/gstelementfactory.c: (gst_element_register),
15908         (gst_element_factory_create), (gst_element_factory_make):
15909         Some cleanups.
15910         Fixed a FIXME.
15911         Updated docs (Fixes #131079)
15912
15913         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15914         Small cleanups.
15915
15916         * tests/check/gst/gstelement.c: (GST_START_TEST),
15917         (gst_element_suite):
15918         Added testcase for elementfactory class field.
15919
15920 2006-04-10  Wim Taymans  <wim@fluendo.com>
15921
15922         * gst/gstsegment.c:
15923         Added some more docs.
15924
15925         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15926         (gst_base_sink_reset_qos):
15927         Calculate more accurate rate values.
15928
15929 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15930
15931         * gst/gst_private.h:
15932           add a new #ifdef to use __declspec(dllimport) only for
15933           other modules and not for gstreamer core
15934         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15935           use gst_guint64_to_gdouble for conversion
15936         * win32/common/libgstreamer.def:
15937           add new exported functions
15938         * win32/vs6/gst_inspect.dsp:
15939         * win32/vs6/gst_launch.dsp:
15940         * win32/vs6/libgstbase.dsp:
15941         * win32/vs6/libgstcontroller.dsp:
15942         * win32/vs6/libgstcoreelements.dsp:
15943         * win32/vs6/libgstdataprotocol.dsp:
15944         * win32/vs6/libgstnet.dsp:
15945           update project files
15946
15947 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15948
15949         * gst/gstbuffer.c: (gst_subbuffer_class_init):
15950         * gst/gstclock.c: (gst_clock_class_init):
15951         * gst/gstelement.c: (gst_element_class_init):
15952         * gst/gstindex.c: (gst_index_class_init):
15953         * gst/gstindexfactory.c: (gst_index_factory_class_init):
15954         * gst/gstobject.c: (gst_object_class_init),
15955         (gst_signal_object_class_init):
15956         * gst/gstpad.c: (gst_pad_class_init):
15957         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
15958         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
15959         * gst/gstregistry.c: (gst_registry_class_init):
15960         * gst/gstsystemclock.c: (gst_system_clock_class_init):
15961         * gst/gsttask.c: (gst_task_class_init):
15962         * gst/gstxml.c: (gst_xml_class_init):
15963         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15964         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15965         (gst_base_src_loop):
15966         * libs/gst/controller/gstcontroller.c:/
15967         (_gst_controller_class_init):
15968         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15969         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
15970         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
15971         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15972         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15973         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
15974
15975 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
15976
15977         * gst/gstpad.c: (gst_pad_link):
15978           Must set peer pads before calling the link function, otherwise
15979           a task started from a link function might get a flow-not-linked
15980           result when trying to push because the other thread where the
15981           linking happens hasn't had a chance to set the peers yet. This
15982           might happen for example when a queue gets linked to a downstream
15983           element, as queue starts a streaming task when its source pad
15984           gets linked. Happens in real life when playing back flac/musepack
15985           files in playbin (#332390).
15986           
15987 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
15988
15989         * gst/gstindex.h:
15990         * gst/gstxml.h:
15991         * libs/gst/base/gstadapter.h:
15992         * libs/gst/base/gstbasesink.h:
15993         * libs/gst/base/gstbasesrc.h:
15994         * libs/gst/base/gstbasetransform.h:
15995         * libs/gst/base/gstcollectpads.h:
15996         * libs/gst/base/gstpushsrc.h:
15997         Fix broken GObject macros
15998
15999 2006-04-07  Wim Taymans  <wim@fluendo.com>
16000
16001         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16002         Initialize start and stop times, thanks valgrind.
16003
16004 2006-04-07  Wim Taymans  <wim@fluendo.com>
16005
16006         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16007         Be a bit nicer to badly behaving upstream elements that expect
16008         us to deal with non TIME segments and timestamps (such as fakesrc
16009         in the testsuite).
16010
16011 2006-04-07  Wim Taymans  <wim@fluendo.com>
16012
16013         * gst/gstbus.c:
16014         Small documentation clarification about the signal watch.
16015
16016         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16017         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16018         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16019         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16020         (gst_base_sink_get_position_last),
16021         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16022         Convert and store timestamps in stream time and running time, the
16023         raw timestamps are not useful, also document this better.
16024         Use different window sizes for good and bad QoS observations so
16025         we react to badness a little quicker.
16026         Keep track of the amount of rendered and dropped buffers.
16027         Send QoS timestamps in running time.
16028
16029         * libs/gst/base/gstbasetransform.c:
16030         (gst_base_transform_sink_eventfunc),
16031         (gst_base_transform_handle_buffer):
16032         Compare QoS timestamps against running time.
16033
16034 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16035
16036         * gst/gstpad.c:
16037           Typo fixes in docs.
16038
16039 2006-04-06  Michael Smith  <msmith@fluendo.com>
16040
16041         * gst/gstpad.c: (gst_pad_set_property):
16042           Use g_value_get_object() instead of g_value_dup_gst_object(),
16043           to avoid double-reffing the pad template (which we then sink,
16044           so this worked previously if (and only if) the pad template
16045           was floating.
16046
16047         * gst/gstpadtemplate.c: (gst_pad_template_init),
16048         (gst_pad_template_pad_created):
16049           Never return floating references to pad templates, create
16050           them as initially-sunken.
16051
16052           Document an extra function (and make this stop sinking our
16053           pad template, since that is now guaranteed to do nothing,
16054           since we created it sunken).
16055
16056         * gst/gstghostpad.c:
16057           Fix docs typo.
16058
16059 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16060
16061         * gst/gstinfo.c: (__gst_in_valgrind):
16062           Add some newlines.
16063
16064         * plugins/elements/gsttypefindelement.c:
16065         (gst_type_find_element_chain):
16066           Don't leak buffer caps.
16067
16068 2006-04-06  Michael Smith  <msmith@fluendo.com>
16069
16070         * gst/parse/grammar.y:
16071           Fix a leak in parse-launch for any source-or-sink named element 
16072           references used.
16073
16074         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16075           Unref the pipeline if it exists after we've failed parsing.
16076
16077 2006-04-05  Michael Smith  <msmith@fluendo.com>
16078
16079         * gst/gstpipeline.c: (gst_pipeline_init):
16080           When we create a pipeline bus, initially create it in flushing mode.
16081           Fixes leaks in at least one test, and makes a new pipeline work the
16082           same as one that has gone to READY and then back to NULL.
16083
16084         * gst/gstelement.c:
16085           Typo fix in docs.
16086
16087 2006-04-05  Michael Smith  <msmith@fluendo.com>
16088
16089         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16090           Unref a pad we reffed.
16091         * tests/check/gst/gstutils.c: (GST_START_TEST):
16092           Unref bins
16093
16094 2006-04-05  Michael Smith  <msmith@fluendo.com>
16095
16096         * gst/gstquery.c: (gst_query_set_formats),
16097         (gst_query_set_formatsv):
16098           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16099
16100 2006-04-05  Michael Smith  <msmith@fluendo.com>
16101
16102         * tests/check/generic/sinks.c: (GST_START_TEST):
16103           Fix a variety of memleaks in sinks check, which are only sometimes 
16104           shown by running the tests under valgrind (weird?).
16105
16106 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16107
16108         * docs/version.entities.in:
16109           Fix the substituted entity name after thomas' changes on the
16110           weekend.
16111
16112 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16113
16114         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16115         VALGRIND_PRINTF
16116         
16117 2006-04-05  Andy Wingo  <wingo@pobox.com>
16118
16119         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16120
16121         * libs/gst/base/gstbasetransform.c
16122         (gst_base_transform_sink_eventfunc): When resetting our segment on
16123         FLUSH_STOP, also update the flag saying we haven't seen a
16124         newsegment.
16125
16126 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16127
16128         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16129
16130         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16131         (gst_plugin_check_license):
16132           minor clean-ups: G_DEFINE_TYPE already takes care of the
16133           parent_class stuff, no need to do it twice. Mark array of
16134           license strings as constant. (#337103)
16135           
16136 2006-04-04  Michael Smith  <msmith@fluendo.com>
16137
16138         * tools/gst-inspect.c: (print_element_list):
16139           Free the right plugin list; fixes a memory leak.
16140
16141 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16142
16143         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16144
16145         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16146           Don't error out on empty buffers (#336945).
16147           
16148 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16149
16150         * docs/libs/gstreamer-libs-sections.txt:
16151         * gst/gsttaglist.c:
16152         * libs/gst/base/gstbasesink.c:
16153         * libs/gst/base/gstbasesink.h:
16154         * libs/gst/base/gstbasesrc.c:
16155         * libs/gst/base/gstbasesrc.h:
16156           Documentation updates. Make BaseSink and BaseSrc docs contain the
16157           class structure so that people can actually see the prototypes for
16158           virtual functions they're supposed to be overriding.
16159
16160 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16161
16162         * plugins/elements/gsttypefindelement.c:
16163         (gst_type_find_element_chain):
16164           More debug info; when skipping typefinding, send cached
16165           events in all cases.
16166
16167 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16168
16169         * configure.ac:
16170           use new AS_VERSION and AS_NANO macros
16171         * gst/gst-i18n-lib.h:
16172         * gst/gst.c:
16173         * gst/gsterror.c:
16174         * gst/gstversion.h.in:
16175         * win32/common/config.h:
16176         * win32/common/config.h.in:
16177           update accordingly
16178
16179 2006-03-31  Michael Smith  <msmith@fluendo.com>
16180
16181         * plugins/elements/gsttypefindelement.c:
16182         (gst_type_find_element_chain):
16183           Do not typefind content if the buffers already have caps.
16184           Neccesary for icydemux (#333657), and the right thing to do anyway.
16185
16186 2006-03-30  Wim Taymans  <wim@fluendo.com>
16187
16188         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16189         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16190         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16191         (gst_base_sink_record_qos_observation),
16192         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16193         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16194         (gst_base_sink_change_state):
16195         More QoS measurements as described in the design doc.
16196         Get rid of ringbuffer with observations, running average is
16197         more simple and equally good.
16198         Calculates valid proportion now.
16199         Added beginning of flood measurement.
16200
16201 2006-03-29  Wim Taymans  <wim@fluendo.com>
16202
16203         * docs/design/part-qos.txt:
16204         * gst/gstclock.c:
16205         Small documentation updates and additions.
16206
16207 2006-03-29  Wim Taymans  <wim@fluendo.com>
16208
16209         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16210         (gst_base_src_send_event), (gst_base_src_loop),
16211         (gst_base_src_change_state):
16212         Perform the EOS logic when we reach the segment stop position.
16213         Fix compilation on gcc4.1
16214
16215 2006-03-29  Wim Taymans  <wim@fluendo.com>
16216
16217         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16218
16219         * plugins/elements/gstqueue.c: (gst_queue_init),
16220         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16221         (gst_queue_set_property):
16222         * plugins/elements/gstqueue.h:
16223         In queue, when EOS is received, if minimum threshold > max_size -
16224         current_level, there is chance that queue blocks forever in conditional
16225         item del wait. This is because the queue is not emptied completely due
16226         to minimum threshold.  Here is another approach. Instead of setting
16227         cur_levels to max in EOS, just zero all minimum threshold levels. This
16228         should make sure that queue gives out all data. When going to READY
16229         (stop) state, just reset the original minimum threshold levels.
16230         Fixes #336336.
16231
16232 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16233
16234         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16235         (gst_type_find_element_handle_event),
16236         (gst_type_find_element_send_cached_events),
16237         (gst_type_find_element_change_state):
16238         * plugins/elements/gsttypefindelement.h:
16239           When typefinding is done in push mode, we should cache
16240           events we receive during typefinding instead of just
16241           dropping them (e.g. newsegment, custom events from
16242           dvdreadsrc etc.) and then send them out once we've
16243           determined the type of the stream (and decodebin
16244           has had a chance to plug in a decoder/demuxer).
16245           
16246 2006-03-27  Wim Taymans  <wim@fluendo.com>
16247
16248         * docs/design/part-qos.txt:
16249         First QoS ideas.
16250
16251 2006-03-27  Wim Taymans  <wim@fluendo.com>
16252
16253         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16254
16255         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16256         (gst_base_src_send_event), (gst_base_src_change_state):
16257         Handle element seek correctly when we are streaming.
16258         Fixes #326998.
16259
16260 2006-03-24  Michael Smith  <msmith@fluendo.com>
16261
16262         * docs/faq/gst-uninstalled:
16263           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16264           allow you to correctly run intalled applications built against old 
16265           core, using plugins that require updated core (e.g. running
16266           installed totem against a full uninstalled gstreamer stack)
16267
16268 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16269
16270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16271         more debug details
16272
16273 2006-03-24  Wim Taymans  <wim@fluendo.com>
16274
16275         * docs/gst/gstreamer-sections.txt:
16276         Rearrange the order of the methods so that related methods
16277         are grouped together in sections.
16278
16279 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16280
16281         * gst/gstelement.c:
16282           Little clarification in the docs
16283
16284 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16285
16286         * docs/README:
16287         formatting fix
16288         * plugins/elements/gstidentity.c:
16289         * plugins/elements/gstqueue.c:
16290         * plugins/elements/gsttee.c:
16291         * plugins/elements/gsttypefindelement.c:
16292         GST_ELEMENT_DETAILS formatting
16293
16294 2006-03-24  Wim Taymans  <wim@fluendo.com>
16295
16296         * libs/gst/base/gstbasesink.h:
16297         Only add fields, not insert or we break ABI.
16298
16299 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16300
16301         * win32/common/libgstbase.def:
16302         * win32/common/libgstreamer.def:
16303           Update, add recently added functions.
16304
16305 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16306
16307         * docs/gst/gstreamer-sections.txt:
16308         * gst/gstutils.c: (gst_pad_query_peer_position),
16309         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16310         * gst/gstutils.h:
16311           API: add some new utility functions:
16312            - gst_pad_query_peer_position()
16313            - gst_pad_query_peer_duration()
16314            - gst_pad_query_peer_convert()
16315           
16316 2006-03-23  Wim Taymans  <wim@fluendo.com>
16317
16318         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16319         (gst_base_sink_init), (gst_base_sink_finalize),
16320         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16321         (gst_base_sink_set_property), (gst_base_sink_get_property),
16322         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16323         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16324         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16325         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16326         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16327         (gst_base_sink_preroll_object), (gst_base_sink_event),
16328         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16329         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16330         (gst_base_sink_query), (gst_base_sink_change_state):
16331         Decouple max-lateness and the fact that QoS messages are generated
16332         with a new property (qos).
16333         added API: GstBaseSink::async_play()
16334         Add vmethod so subclasses can be notified of ASYNC playing
16335         state changes.
16336         Collect timestamp start and stop to report better current
16337         position in EOS/PLAYING/PAUSED/READY/NULL.
16338         Refactor QoS/frame dropping and other measurements.
16339         API: GstBaseSrc::qos
16340         Fixes #326311
16341
16342         * libs/gst/base/gstbasesink.h:
16343         Added Private struct.
16344         API: gst_base_sink_set_qos_enabled()
16345         API: gst_base_sink_is_qos_enabled()
16346
16347 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16348
16349         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16350           If compiling against GLib-2.8 or newer, try to read the
16351           registry file using GMappedFile first before falling back
16352           to fopen() + fread() (#332151).
16353
16354 2006-03-22  Wim Taymans  <wim@fluendo.com>
16355
16356         * gst/gstinfo.c: (gst_debug_set_active),
16357         (gst_debug_category_set_threshold):
16358         Disable debugging unless explicitly activated.
16359         Fixes #335480.
16360
16361 2006-03-22  Wim Taymans  <wim@fluendo.com>
16362
16363         * gst/gstelement.c: (gst_element_set_locked_state),
16364         (gst_element_dispose):
16365         Cleanup the error case.
16366
16367         * gst/gstobject.c: (gst_object_dispose):
16368         print a critical when some object was disposed with
16369         a parent, also revive the object since it might
16370         crash the parent.
16371
16372 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16373
16374         * tools/gst-launch.1.in:
16375           Fix another typo.
16376
16377 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16378
16379         * configure.ac:
16380         * tests/check/Makefile.am:
16381           disable some tests when we don't have a registry
16382         * tests/check/gst/gstutils.c: (gst_utils_suite):
16383           don't build the part that needs parsing
16384
16385 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16386
16387         * gst/Makefile.am
16388         * tests/examples/Makefile.am:
16389           fix --disable-parse build
16390
16391 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * tools/gst-feedback.1.in:
16394           Fix typo: s/feeback/feedback/ (#133494).
16395
16396 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16397
16398         * tools/Makefile.am:
16399         * tools/gst-launch.1.in:
16400           Add FILES section and correct entry about GST_REGISTRY_PATH
16401           environment variable (#133495; #133494).
16402
16403 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16404
16405         * tools/Makefile.am:
16406         * tools/gst-md5sum.1.in:
16407         * tools/gst-md5sum.c:
16408           Remove gst-md5sum and man page (the md5sink element
16409           required was removed ages ago)
16410
16411 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16412
16413         * gst/gststructure.c: (gst_structure_id_set_value):
16414           Make sure that string fields in structures/taglists
16415           contain valid UTF-8 - we don't want to pass rubbish to
16416           applications because of a buggy plugin (cp. #334167).
16417
16418 2006-03-21  Edward Hervey  <edward@fluendo.com>
16419
16420         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16421         (gst_bin_handle_message_func):
16422         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16423         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16424         (gst_element_set_bus_func):
16425         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16426         * gst/gstminiobject.c: (gst_value_set_mini_object),
16427         (gst_value_take_mini_object):
16428         * gst/gstpad.c: (gst_pad_set_pad_template):
16429         * gst/gstpipeline.c: (gst_pipeline_dispose),
16430         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16432         (gst_collect_pads_chain):
16433         * libs/gst/net/gstnettimeprovider.c:
16434         (gst_net_time_provider_set_property):
16435         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16436         It's in fact all issues with gst_*object_replace().
16437
16438 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16439
16440         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16441         
16442         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16443         * pkgconfig/gstreamer-check.pc.in:
16444           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16445
16446 2006-03-21  Edward Hervey  <edward@fluendo.com>
16447
16448         * gst/gstbuffer.h:
16449         * gst/gstevent.h:
16450         * gst/gstmessage.h:
16451         gst_[buffer|event|message]_ref() macros are replaced by a static
16452         inline functions because gcc-4.1 will about if the return value
16453         isn't used.
16454         * tests/check/gst/gstevent.c: (event_probe):
16455         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16456
16457 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16458
16459         * gst/gstutils.h:
16460         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16461         the type' case. (Closes: #335195 for now). In the future, when we
16462         depend on GLib 2.10, we could also intern the type name using
16463         g_intern_static_string()
16464
16465 2006-03-20  Wim Taymans  <wim@fluendo.com>
16466
16467         * gst/gstbin.c: (gst_bin_handle_message_func),
16468         (bin_query_max_init), (bin_query_position_fold),
16469         (bin_query_position_done), (gst_bin_query):
16470         Position query should also take max of all streams.
16471
16472 2006-03-20  Wim Taymans  <wim@fluendo.com>
16473
16474         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16475         (gst_fake_src_finalize):
16476         Fix leaks in fakesrc.
16477
16478         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16479         Fix leaks in the testcase.
16480
16481 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16482
16483         * gst/gst_private.h:
16484           add win32 specific import decoration(__declspec(dllimport)) 
16485           for all extern GstDebugCategory * variables
16486         * win32/common/libgstbase.def:
16487         * win32/common/libgstcontroller.def:
16488         * win32/common/libgstreamer.def:
16489           Add some exports, remove empty lines
16490         * win32/common/libgstdataprotocol.def:
16491         * win32/common/libgstdataprotocol.dsp:
16492         * win32/common/libgstnet.def:
16493         * win32/common/libgstnet.dsp:
16494           new project files and exportation files added
16495         
16496 2006-03-19  Wim Taymans  <wim@fluendo.com>
16497
16498         * tests/check/libs/basesrc.c: (eos_event_counter):
16499         Use proper return value for probe.
16500
16501 2006-03-17  Wim Taymans  <wim@fluendo.com>
16502
16503         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16504         (gst_pad_push):
16505         Don't leak buffers, caps and pads on negotiation errors.
16506
16507 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16508
16509         * docs/faq/cvs.xml:
16510         * docs/faq/dependencies.xml:
16511         * docs/faq/developing.xml:
16512         * docs/faq/faq.xml:
16513         * docs/faq/general.xml:
16514         * docs/faq/getting.xml:
16515         * docs/faq/legal.xml:
16516         * docs/faq/troubleshooting.xml:
16517         * docs/faq/using.xml:
16518         Faq review and update.
16519
16520 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16521
16522         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16523         (gst_pad_push):
16524         Don't pound the cpu to pieces by checking get_caps when accept_caps
16525         is called with the same caps as the pad already has.
16526         Use GST_DEBUG_OBJECT when outputting caps change information.
16527
16528 2006-03-15  Wim Taymans  <wim@fluendo.com>
16529
16530         * gst/gstclock.c: (gst_clock_class_init):
16531         Fix docs.
16532
16533 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16534
16535         * gst/gstbuffer.h:
16536         Documentation fix.
16537
16538         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16539         (gst_pad_accept_caps), (gst_pad_configure_sink),
16540         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16541         Make the default acceptcaps behaviour be to check the requested 
16542         caps against the gst_pad_get_caps output. 
16543
16544         Ensure that gst_pad_accept_caps is used to check caps when a pad
16545         doesn't have a setcaps function, so that pads automatically refuse 
16546         caps that they don't allow in their pad template. (Fixes #332986)
16547
16548         When a buffer with attached caps is pushed, ensure that the source 
16549         pad receives those caps even if the element didn't call
16550         gst_pad_set_caps first.
16551
16552 2006-03-15  Wim Taymans  <wim@fluendo.com>
16553
16554         * libs/gst/base/gstadapter.c:
16555         Add some docs.
16556
16557 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16558
16559         * win32/common/libgstbase.def:
16560         * win32/common/libgstcontroller.def:
16561         * win32/common/libgstreamer.def:
16562           Add a whole bunch of missing functions (#334434).
16563
16564 2006-03-14  Wim Taymans  <wim@fluendo.com>
16565
16566         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16567         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16568         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16569         Better debug info when we receive a segment event.
16570         Reorganize a bit so we can pass the get_times() results around.
16571         Use the segment format when calculating the running time.
16572         Don't do QoS is sync is disabled or we have no clock or the
16573         element does not want us to sync to the clock.
16574         Don't drop buffers if QoS is disabled for now.
16575
16576 2006-03-14  Wim Taymans  <wim@fluendo.com>
16577
16578         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16579         Marked the stats property as unimplemented so people don't get
16580         wild ideas.
16581         Add debug message when regression goes wrong.
16582         Added some more docs.
16583
16584 2006-03-14  Wim Taymans  <wim@fluendo.com>
16585
16586         * gst/gstsegment.c: (gst_segment_to_stream_time):
16587         Return correct return type in case of errors.
16588
16589 2006-03-14  Wim Taymans  <wim@fluendo.com>
16590
16591         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16592           Don't segfault on invalid formats.
16593
16594 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16595
16596         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16597           Can't use gst_segment_to_running_time() when the segment
16598           is not in GST_TIME_FORMAT (like with filesink, for example).
16599           Stops flac encoding pipelines from spewing critical warnings
16600           at EOS (#331248).
16601           
16602 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16603
16604         * gst/gstpipeline.c: (gst_pipeline_class_init):
16605           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16606
16607         * plugins/elements/gsttypefindelement.c:
16608         (gst_type_find_element_handle_event):
16609           Don't try to typefind empty streams.
16610
16611 2006-03-14  Wim Taymans  <wim@fluendo.com>
16612
16613         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16614         (gst_base_sink_do_qos):
16615         Separate QoS calculation.
16616         Only drop buffers when lateness is bigger than the 
16617         duration of the buffer.
16618
16619 2006-03-13  Wim Taymans  <wim@fluendo.com>
16620
16621         * gst/gstpipeline.c: (gst_pipeline_set_property),
16622         (gst_pipeline_get_property), (do_pipeline_seek),
16623         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16624         (gst_pipeline_get_delay):
16625         Don't deadlock when reading properties.
16626
16627 2006-03-13  Wim Taymans  <wim@fluendo.com>
16628
16629         * libs/gst/base/gstbasetransform.c:
16630         (gst_base_transform_class_init), (gst_base_transform_init),
16631         (gst_base_transform_sink_event),
16632         (gst_base_transform_sink_eventfunc),
16633         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16634         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16635         (gst_base_transform_set_property),
16636         (gst_base_transform_get_property),
16637         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16638         (gst_base_transform_set_qos_enabled),
16639         (gst_base_transform_is_qos_enabled):
16640         * libs/gst/base/gstbasetransform.h:
16641         Make basetransform virtual method for src events too.
16642         Handle QOS in basetransform.
16643         API: gst_base_transform_update_qos()
16644         API: gst_base_transform_set_qos_enabled()
16645         API: gst_base_transform_is_qos_enabled()
16646
16647 2006-03-13  Wim Taymans  <wim@fluendo.com>
16648
16649         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16650         (gst_base_sink_do_sync):
16651         Small cleanups.
16652         Use QOS debug category.
16653
16654 2006-03-13  Wim Taymans  <wim@fluendo.com>
16655
16656         * plugins/elements/gstqueue.c:
16657         Very small doc update.
16658
16659 2006-03-13  Wim Taymans  <wim@fluendo.com>
16660
16661         * gst/gst_private.h:
16662         * gst/gstinfo.c: (_gst_debug_init):
16663         Added QOS debug category
16664
16665 2006-03-13  Wim Taymans  <wim@fluendo.com>
16666
16667         * docs/gst/gstreamer-sections.txt:
16668         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16669         * gst/gstbin.h:
16670         * gst/gstbus.c: (gst_bus_class_init):
16671         * gst/gstbus.h:
16672         * gst/gstclock.c:
16673         * gst/gstelement.c: (gst_element_set_locked_state):
16674         * gst/gstsegment.c:
16675         Documentation updates.
16676
16677         * gst/gstpipeline.c: (gst_pipeline_get_type),
16678         (gst_pipeline_class_init), (gst_pipeline_init),
16679         (gst_pipeline_dispose), (gst_pipeline_set_property),
16680         (gst_pipeline_get_property), (do_pipeline_seek),
16681         (gst_pipeline_send_event), (gst_pipeline_change_state),
16682         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16683         (gst_pipeline_get_delay):
16684         * gst/gstpipeline.h:
16685         Added methods for setting the delay.
16686         API: gst_pipeline_set_delay()
16687         API: gst_pipeline_get_delay()
16688         Add pipeline debug category
16689         Various cleanups.
16690         Updated docs.
16691         Don't reset stream time when seek failed.
16692
16693 2006-03-13  Wim Taymans  <wim@fluendo.com>
16694
16695         * docs/design/draft-klass.txt:
16696         * docs/design/part-clocks.txt:
16697         * docs/design/part-events.txt:
16698         * docs/design/part-gstbin.txt:
16699         * docs/design/part-gstpipeline.txt:
16700         * docs/design/part-messages.txt:
16701         * docs/design/part-negotiation.txt:
16702         * docs/design/part-overview.txt:
16703         * docs/design/part-preroll.txt:
16704         * docs/design/part-seeking.txt:
16705         * docs/design/part-states.txt:
16706         * docs/design/part-streams.txt:
16707         Documentation updates.
16708
16709 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16710
16711         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16712         us to leak strings...
16713
16714 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16715
16716         * libs/gst/net/gstnettimeprovider.c:
16717           fix docs
16718         * win32/common/config.h:
16719           update
16720
16721 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16722
16723         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16724
16725         * configure.ac:
16726           Don't check for libgnomeui (leftover from old examples
16727           that aren't built or disted any longer) (#334303).
16728           
16729 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16730
16731         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16732         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16733           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16734           there's no space left on the device.
16735
16736 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16737
16738         * gst/gstclock.h:
16739           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16740           to cast the input to GstClockTime before comparing with
16741           another GstClockTime value.
16742
16743 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16744
16745         * configure.ac:
16746           back to trunk
16747
16748 === release 0.10.4 ===
16749
16750 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16751
16752         * configure.ac:
16753           releasing 0.10.4, "Light"
16754
16755 2006-03-10  Michael Smith  <msmith@fluendo.com>
16756
16757         * libs/gst/dataprotocol/dataprotocol.c:
16758           Fix docs for dataprocotol to not get the return types completely
16759           wrong for a few functions.
16760
16761 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16762
16763         * docs/gst/gstreamer-sections.txt:
16764         * gst/gstpipeline.c: (gst_pipeline_class_init),
16765         (gst_pipeline_init), (gst_pipeline_set_property),
16766         (gst_pipeline_get_property), (gst_pipeline_change_state),
16767         (gst_pipeline_set_auto_flush_bus),
16768         (gst_pipeline_get_auto_flush_bus):
16769         * gst/gstpipeline.h:
16770           Add new API: gst_pipeline_set_auto_flush_bus() and
16771           gst_pipeline_get_auto_flush_bus() to disable automatic
16772           flushing of the pipeline's GstBus when going from READY
16773           to NULL state (#332045).
16774
16775 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16776
16777         * docs/gst/gstreamer-sections.txt:
16778         * gst/gsturi.c: (gst_uri_has_protocol):
16779         * gst/gsturi.h:
16780            Add new API: gst_uri_has_protocol() (#333779).
16781
16782 2006-03-09  Wim Taymans  <wim@fluendo.com>
16783
16784         * gst/gstclock.c: (gst_clock_entry_new),
16785         (gst_clock_id_compare_func), (gst_clock_id_wait),
16786         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16787         (gst_clock_init), (gst_clock_get_internal_time),
16788         (gst_clock_set_master), (do_linear_regression),
16789         (gst_clock_add_observation), (gst_clock_set_property):
16790         * gst/gstclock.h:
16791         Review docs.
16792         Small cleanups.
16793         Fix a possible segfault when the window-size is made smaller.
16794         Calculate jitter before performing the clock wait. Ideally
16795         the clock implementation should calculate jitter but we need
16796         API breakage for that.
16797
16798         * gst/gstsystemclock.c: (gst_system_clock_init):
16799         Docs review.
16800         
16801         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16802         Remove leftover else
16803
16804         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16805         (gst_systemclock_suite):
16806         Added check to test GST_CLOCK_DIFF.
16807
16808 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16809
16810         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16811         (gst_type_find_helper_get_range):
16812           If we are provided with the size, we should implement
16813           GstTypeFind::get_length, so that typefind functions who
16814           want to can actually peek at the middle of a file.
16815
16816 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16817
16818         * docs/manual/advanced-dataaccess.xml:
16819           Add some very very basic error checking.
16820
16821         * docs/pwg/appendix-checklist.xml:
16822           Some updates to the list of things to check when writing an element.
16823
16824 2006-03-08  Wim Taymans  <wim@fluendo.com>
16825
16826         * docs/design/part-element-transform.txt:
16827         Added some docs about the design of tranform elements.
16828
16829         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16830         (gst_base_src_loop), (gst_base_src_change_state):
16831         Mark buffers with the DISCONT flag.
16832
16833 2006-03-08  Michael Smith  <msmith@fluendo.com>
16834
16835         * gst/gstregistry.h:
16836         * gst/gstregistryxml.c: (gst_registry_save),
16837         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16838         (gst_registry_xml_save_pad_template),
16839         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16840         (gst_registry_xml_write_cache):
16841           Rewrite registry-saving to avoid race conditions and check for
16842           failed writes.
16843
16844 2006-03-08  Wim Taymans  <wim@fluendo.com>
16845
16846         * libs/gst/base/gstbasetransform.c:
16847         (gst_base_transform_transform_caps),
16848         (gst_base_transform_transform_size),
16849         (gst_base_transform_prepare_output_buffer),
16850         (gst_base_transform_get_unit_size),
16851         (gst_base_transform_buffer_alloc),
16852         (gst_base_transform_handle_buffer),
16853         (gst_base_transform_change_state):
16854         Cleanups, separate normal flow from errors, add sensible
16855         DEBUG lines.
16856         Don't try to renegotiate when allocating an output buffer.
16857         Also copy DISCONT buffer flag when copying a buffer.
16858         Reset the transform after we finish streaming, not during.
16859
16860 2006-03-08  Wim Taymans  <wim@fluendo.com>
16861
16862         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16863         Use last buffer timestamp in qos message.
16864
16865 2006-03-07  Wim Taymans  <wim@fluendo.com>
16866
16867         Patch by: Christophe Fergeau
16868
16869         * docs/pwg/advanced-tagging.xml:
16870         * docs/pwg/building-pads.xml:
16871           fixes #333416
16872
16873 2006-03-07  Wim Taymans  <wim@fluendo.com>
16874
16875         * docs/libs/gstreamer-libs-sections.txt:
16876         Added basesink new methods.
16877
16878         * gst/gstevent.c:
16879         * gst/gstevent.h:
16880         Docs updates. Flesh out the QoS docs.
16881
16882         * libs/gst/base/gstadapter.c:
16883         Small doc clarification about ownership and flushing.
16884
16885         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16886         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16887         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16888         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16889         * libs/gst/base/gstbasesink.h:
16890         API additions: 
16891         Added new methods to allow subclass to control max-lateness 
16892         and sync.
16893         Generate very basic QoS events based on last sync observation.
16894         Updated docs, fix typo, added some QoS blurb.
16895
16896         * libs/gst/base/gstbasesrc.c:
16897         Remove obsolete _get_state() calls from docs.
16898
16899 2006-03-07  Wim Taymans  <wim@fluendo.com>
16900
16901         * docs/libs/gstreamer-libs-sections.txt:
16902         * libs/gst/base/gstbasetransform.h:
16903         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16904         Fix docs for GstBaseSrc.
16905
16906 2006-03-07  Wim Taymans  <wim@fluendo.com>
16907
16908         * docs/gst/gstreamer-sections.txt:
16909         * gst/gstbuffer.h:
16910         * gst/gstvalue.c:
16911         * libs/gst/base/gstbasetransform.h:
16912         Small documentation fixes.
16913
16914 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16915
16916         * gst/gstvalue.c:
16917           Document thread-unsafety of gst_value_register_foo_func()
16918           when used at the same time as gst_value_foo() (#322628).
16919
16920 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16921
16922         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16923         (gst_push_src_check_get_range):
16924           Push sources don't support pull mode by default.
16925
16926 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16927
16928         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16929         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16930         (gst_base_src_default_check_get_range):
16931         * libs/gst/base/gstbasesrc.h:
16932           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16933           provide default implementation, and rename
16934           gst_base_src_check_get_range() to
16935           gst_base_src_pad_check_get_range() for clarity.
16936
16937 2006-03-06  Wim Taymans  <wim@fluendo.com>
16938
16939         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16940         Make property overridable.
16941
16942 2006-03-06  Wim Taymans  <wim@fluendo.com>
16943
16944         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16945         (gst_base_sink_init), (gst_base_sink_set_property),
16946         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16947         * libs/gst/base/gstbasesink.h:
16948         API addition: Make max-lateness a property.
16949
16950 2006-03-06  Wim Taymans  <wim@fluendo.com>
16951
16952         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
16953         (gst_base_sink_do_sync), (gst_base_sink_render_object):
16954         Don't ever draw a frame that is >10ms late.
16955
16956 2006-03-06  Michael Smith  <msmith@fluendo.com>
16957
16958         * gst/gstmessage.c: (_gst_message_copy):
16959           When copying a message, set the parent_refcount of the enclosed
16960           structure to point at the copy, not the original message.
16961
16962 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16963
16964         Patch by: Christophe Fergeau
16965
16966         * gst/gstutils.h:
16967           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
16968           usable in c++ code (#333417)
16969
16970 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16971
16972         * gst/gstclock.h:
16973           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
16974
16975 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
16976
16977         * libs/gst/base/gstbasetransform.c:
16978         (gst_base_transform_transform_caps):
16979           Make sure caps are writable before passing them to
16980           gst_caps_append().
16981
16982 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16983
16984         * gst/gsterror.h:
16985           Fix some minor docs errors.
16986
16987 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
16988
16989           Patch by: Ross Burton <ross at burtonini dot com>
16990
16991         * gst/gsterror.c: (_gst_resource_errors_init):
16992         * gst/gsterror.h:
16993           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
16994
16995 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
16996
16997         * gst/gst.c:
16998         Add a check and output a g_warning when GStreamer is built
16999         against GLib 2.6 but running against 2.8 or higher, and vice 
17000         versa. (Closes: #323542)
17001
17002 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17003
17004         * gst/parse/parse.l:
17005           Commit patch for parse_launch syntax from #331255. Removes 
17006           support for quoted strings and mimetypes when writing filtered 
17007           caps. See the bug report for more details - I'm pretty sure this
17008           obscure feature is not in use by _anyone_ anywhere.
17009
17010           With this simple change, the size of the gstreamer.so here 
17011           drops from 2193KB to 1565KB.
17012
17013 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17014
17015         * plugins/elements/gsttypefindelement.h:
17016         * plugins/elements/gsttypefindelement.c:
17017         (gst_type_find_element_src_event), (start_typefinding),
17018         (stop_typefinding), (gst_type_find_element_handle_event),
17019         (gst_type_find_element_chain),
17020         (gst_type_find_element_chain_do_typefinding):
17021           Use gst_type_find_helper_for_buffer() for chain-based
17022           typefinding.
17023
17024 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17025
17026         * plugins/elements/gsttypefindelement.c:
17027         (gst_type_find_element_class_init),
17028         (gst_type_find_element_set_property),
17029         (gst_type_find_element_get_property):
17030           Deprecate "maximum" property (not only was it only taken into
17031           account for typefinding in push-mode anyway, it also was never
17032           actually possible to set it in the first place because the
17033           property was registered with the numeric property ID for the
17034           "minimum" property). Register "maximum" property correctly,
17035           for the sake of future copy'n'pasters. Remove some cruft
17036           from property get/set functions.
17037
17038 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17039
17040         * plugins/elements/gsttypefindelement.c:
17041         (gst_type_find_element_activate):
17042           Use gst_type_find_helper_get_range() here, so we
17043           can honour the "minimum" property and also emit
17044           the signal with the correct probability of the found caps.
17045
17046 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17047
17048         * docs/libs/gstreamer-libs-sections.txt:
17049         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17050         (helper_find_suggest), (gst_type_find_helper_get_range),
17051         (gst_type_find_helper):
17052         * libs/gst/base/gsttypefindhelper.h:
17053           New API: gst_type_find_helper_get_range() (#333042).
17054
17055 2006-03-02  Michael Smith  <msmith@fluendo.com>
17056
17057         * gst/gstregistryxml.c: (load_feature):
17058           Asserting on a failure to read part of the registry is Not Cool.
17059           Just log a warning and return NULL (which is already handled)
17060
17061 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17062
17063         * win32/common/libgstbase.def:
17064           added export of gst_type_find_helper_for_buffer
17065         * win32/common/libgstbase.def:
17066           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17067           gst_ghost_pad_get_target
17068
17069 2006-02-28  Wim Taymans  <wim@fluendo.com>
17070
17071         * docs/design/draft-klass.txt:
17072         We use Filter now.
17073         Added Connector to mark elements that are only used to
17074         allow pipeline connections.
17075         Moved Debug to extra feature since most of them are 
17076         functionally something else.
17077
17078 2006-02-28  Wim Taymans  <wim@fluendo.com>
17079
17080         * docs/design/draft-klass.txt:
17081         Some updates and clarifications.
17082
17083 2006-02-28  Wim Taymans  <wim@fluendo.com>
17084
17085         * docs/design/draft-klass.txt:
17086         Proposal for klass field values.
17087
17088         * docs/design/part-streams.txt:
17089         Start of a doc describing stream anatomy.
17090
17091 2006-02-28  Wim Taymans  <wim@fluendo.com>
17092
17093         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17094         Help the compiler a bit with type registration.
17095         Use existing forward cod path instead of duplicating it when 
17096         handling a message.
17097         
17098         * gst/gstbus.c: (gst_bus_get_type):
17099         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17100         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17101         * gst/gstclock.c: (gst_clock_get_type):
17102         * gst/gstelement.c: (gst_element_get_type),
17103         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17104         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17105         * gst/gstminiobject.c: (gst_mini_object_get_type):
17106         * gst/gstpad.c: (gst_pad_get_type):
17107         * gst/gstsegment.c: (gst_segment_get_type):
17108         * gst/gststructure.c: (gst_structure_get_type):
17109         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17110         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17111         * gst/gstvalue.c:
17112         Help compiler with type registration.
17113
17114         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17115         Small doc update.
17116
17117 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17118
17119         * plugins/elements/gsttypefindelement.c:
17120         (gst_type_find_element_handle_event):
17121           When we get an EOS event and have not found a type yet
17122           (most likely because we had not yet accumulated
17123           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17124           type given the data we have so far. Fixes typefinding
17125           for very short streams again, most notably quicktime
17126           redirections as used on Apple's trailer site (#331701).
17127
17128 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17129
17130         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17131         (gst_type_find_helper):
17132           Try typefinding factories with the highest rank first.
17133
17134 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17135
17136         * docs/libs/gstreamer-libs-docs.sgml:
17137         * docs/libs/gstreamer-libs-sections.txt:
17138         * libs/gst/base/gsttypefindhelper.c:
17139           Add section for typefind helper and add documentation
17140           for the old and the new function.
17141
17142 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17143
17144         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17145         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17146         (gst_type_find_helper_for_buffer):
17147         * libs/gst/base/gsttypefindhelper.h:
17148           New API: gst_type_find_helper_for_buffer() (#332723).
17149           
17150 2006-02-27  Michael Smith  <msmith@fluendo.com>
17151
17152         Patch by: Loïc Minier
17153
17154         * configure.ac:
17155         * docs/Makefile.am:
17156         * docs/slides/Makefile.am:
17157           prevent CVS directories getting disted.
17158
17159 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17160
17161         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17162           Use the REFCOUNTING category for caps refcounting.
17163           
17164 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17165
17166         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17167           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17168
17169 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17170
17171         * plugins/elements/gsttypefindelement.c:
17172         (gst_type_find_element_activate):
17173           Use gst_pad_check_pull_range() before _activate_pull()
17174           to avoid unnecessary open/close (see #331690).
17175
17176 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17177
17178         * gst/gstutils.c:
17179           Docs enhancement: make it crystal clear what the
17180           gst_pad_add_*_probe() callbacks should look like.
17181
17182 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17183
17184         * libs/gst/base/gstbasesrc.c:
17185           Document how applications can stop recording from
17186           live sources (see #330996).
17187
17188 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17189
17190         * tests/check/Makefile.am:
17191         * tests/check/libs/basesrc.c: (eos_event_counter),
17192         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17193         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17194         (gst_basesrc_suite), (main):
17195           ... and add some tests for the base source EOS stuff.
17196
17197 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17198
17199         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17200           Test case originally showed the problem fixed below,
17201           but was then amended. Add checks back at the place
17202           where they used to be.
17203
17204 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17207         (gst_base_src_init), (gst_base_src_loop),
17208         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17209         (gst_base_src_change_state):
17210         * libs/gst/base/gstbasesrc.h:
17211           Don't unconditionally send EOS when going from PAUSED to
17212           READY state, esp. make sure we don't send two EOS events
17213           in some cases (e.g. one when reaching EOS and one when
17214           going from PAUSED to READY). Also, we don't want to send
17215           EOS events when operating in pull mode. However, we do
17216           want to send an EOS event when shutting down a live
17217           source explicitly, for example (fixes #330996).
17218           
17219 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17220
17221         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17222           Update src->read_position after a seek when not using mmap.
17223           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17224
17225 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17226
17227         * gst/Makefile.am:
17228         * gst/gstparse.h:
17229         * gst/gstutils.c:
17230         * gst/gstutils.h:
17231         Make things work with --disable-parse as they do with 
17232         --disable-load-save - the symbols involved disappear, but the
17233         header is still installed and GST_DISABLE_PARSE is included via
17234         gstconfig.h
17235
17236 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17237
17238         * libs/gst/base/gstbasetransform.c:
17239         (gst_base_transform_change_state): Fix a stupid bug. I was 
17240         sure I compiled that.
17241
17242 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17243
17244         * gst/gstpad.c: (gst_pad_set_blocked_async):
17245         * gst/gstutils.c: (gst_pad_add_data_probe),
17246         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17247         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17248         (gst_pad_remove_buffer_probe): Make those function act on the
17249         ghostpad target when it's a ghostpad. (Closes #331727)
17250
17251 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17252
17253         * libs/gst/base/gstbasetransform.c:
17254         (gst_base_transform_change_state): Make basetransform reusable.
17255         (Closes #331898)
17256
17257 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17258
17259         * docs/random/release:
17260         Move the current documentation of how to do a release to the top
17261         of the file.
17262
17263         * gst/gstbin.c: (gst_bin_class_init),
17264         (gst_bin_handle_message_func):
17265         Allow multiple state-recalculation threads. (Closes #328873)
17266
17267 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17268
17269         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17270         * gst/gstpad.c: (gst_pad_set_event_function),
17271         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17272         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17273         2 strings. You can't use the STR_NULL macro on that.
17274
17275 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17276
17277         * gst/gstpad.c: (gst_pad_set_event_function),
17278         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17279         (gst_pad_set_getcaps_function)
17280         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17281           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17282           So now, we can use --gst-debug-level=5 on Windows
17283         * win32/common/libgstcontroller.def:
17284           Added export of gst_controller_init
17285         * win32/vs6/libgstcontroller.dsp:
17286           Fixed Release post build configuration
17287
17288 2006-02-17  Wim Taymans  <wim@fluendo.com>
17289
17290         * tests/check/gst/gstquery.c: (GST_START_TEST):
17291         Added another check.
17292
17293 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17294
17295         * plugins/elements/gsttypefindelement.c: (find_peek):
17296           We can do peeks at non-zero offsets, as long as they
17297           fall within the buffer we have.
17298
17299 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17300
17301         * tests/check/Makefile.am:
17302         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17303         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17304         (parse_suite), (main):
17305           Add testsuite for parse launch syntax
17306
17307 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17308
17309         * plugins/elements/gsttypefindelement.c:
17310         (gst_type_find_element_chain):
17311           When typefinding is unsuccessful in the chain function, don't
17312           error out immediately. Only error out with NO_CAPS_FOUND if
17313           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17314           otherwise simply wait for more data so we can try typefinding
17315           again with more data later. Also, don't attempt to typefind
17316           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17317           this should improve typefinding from network sources where the
17318           size of the first buffer can be somewhat random.
17319
17320 2006-02-14  Wim Taymans  <wim@fluendo.com>
17321
17322         * docs/gst/gstreamer-sections.txt:
17323         * gst/gstpadtemplate.c:
17324         * gst/gstpadtemplate.h:
17325         Fix padtemplate docs, fixes #328805.
17326
17327 2006-02-14  Wim Taymans  <wim@fluendo.com>
17328
17329         * tools/gst-launch.c: (main):
17330         NO_PREROLL is not an ERROR so don't send confusing messages
17331         to the user.
17332
17333 2006-02-14  Wim Taymans  <wim@fluendo.com>
17334
17335         Patch by: Torsten Schoenfeld
17336
17337         * gst/gstregistry.c: (gst_registry_get_default),
17338         (_gst_registry_cleanup):
17339         Protect default registry with lock and ref/sink it.
17340         Fixes #324818
17341
17342 2006-02-14  Wim Taymans  <wim@fluendo.com>
17343
17344         * gst/gstbuffer.c:
17345         * gst/gstquery.c: (gst_query_list_add_format),
17346         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17347         (gst_query_parse_formats_nth):
17348         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17349         Docs fixes.
17350
17351 2006-02-14  Wim Taymans  <wim@fluendo.com>
17352
17353         * docs/gst/gstreamer-sections.txt:
17354         Reworked query docs.
17355
17356         * gst/gstquery.c: (gst_query_new_formats),
17357         (gst_query_list_add_format), (gst_query_set_formats),
17358         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17359         (gst_query_parse_formats_nth):
17360         * gst/gstquery.h:
17361         Flesh out formats query, added some new methods.
17362         Fix part of #324398.
17363
17364         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17365         Added query creation tests.
17366
17367 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17368
17369         * gst/gstpad.c: (fixate_value):
17370         Add a default fixation for fraction lists.
17371
17372 2006-02-13  Wim Taymans  <wim@fluendo.com>
17373
17374         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17375         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17376         (gst_task_join):
17377         * gst/gsttask.h:
17378         Detect and warn for obvious deadlocks. fixes #320340
17379         Fix error case where lock was not released.
17380
17381         * tests/check/Makefile.am:
17382         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17383         (task_func), (gst_element_suite), (main):
17384         Add task check.
17385
17386 2006-02-13  Wim Taymans  <wim@fluendo.com>
17387
17388         * docs/gst/gstreamer-sections.txt:
17389         * gst/gstbus.c:
17390         Add new functions to docs.
17391
17392 2006-02-13  Wim Taymans  <wim@fluendo.com>
17393
17394         * docs/design/part-TODO.txt:
17395         Updated TODO list, basesrc supports seeking to non-bytes
17396         formats.
17397
17398         * docs/design/part-element-sink.txt:
17399         Update docs.
17400
17401         * gst/gstbin.c: (bin_replace_message),
17402         (gst_bin_handle_message_func):
17403         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17404         * gst/gstevent.c: (gst_event_finalize):
17405         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17406         (gst_pad_send_event):
17407         Use shiny new _TYPE_NAME macros.
17408
17409         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17410         Move debug statement up.
17411
17412         * gst/gstelement.c: (gst_element_set_locked_state):
17413         Add some debugging.
17414
17415 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17416
17417         * docs/gst/gstreamer-sections.txt:
17418         * gst/gstmessage.h:
17419         * gst/gstquery.h:
17420           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17421           macros (#330906). Also, document the already existing
17422           GST_QUERY_TYPE macro.
17423
17424 2006-02-13  Wim Taymans  <wim@fluendo.com>
17425
17426         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17427         (event_probe), (GST_START_TEST):
17428         Only events up to the pipeline EOS are counted, there are
17429         some more when going to NULL currently which we don't care
17430         about for now.
17431
17432 2006-02-13  Wim Taymans  <wim@fluendo.com>
17433
17434         * gst/gstpad.c: (gst_pad_send_event):
17435         Correctly check flushing and emit probes. fixes #330125
17436
17437 2006-02-10  Andy Wingo  <wingo@pobox.com>
17438
17439         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17440         structure.
17441         (gst_bus_init): Cache the location of the private data in the
17442         instance structure.
17443         (gst_bus_enable_sync_message_emission) 
17444         (gst_bus_disable_sync_message_emission): Implement new public
17445         functions.
17446         (gst_bus_post): Emit the sync-message signal if the user asked for
17447         it. Fixes #330684.
17448
17449         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17450         location of the bus-private structure.
17451         (gst_bus_enable_sync_message_emission)
17452         (gst_bus_disable_sync_message_emission): API addition
17453
17454 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17455
17456         Patch by: Vincent Torri
17457
17458         * docs/pwg/building-boiler.xml:
17459         PWG patch from #326800
17460
17461 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17462
17463         * configure.ac:
17464         * docs/Makefile.am:
17465         * docs/design/Makefile.am:
17466           Dist design docs.
17467
17468 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17469
17470         * configure.ac:
17471           back to CVS
17472
17473 === release 0.10.3 ===
17474
17475 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17476
17477         * configure.ac:
17478           releasing 0.10.3, "Like a virgin"
17479
17480 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17481
17482         * configure.ac:
17483           2nd prerelease of 0.10.3
17484           Bump libtool versioning.
17485
17486 2006-02-07  Andy Wingo  <wingo@pobox.com>
17487
17488         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17489         update last_stop if we're in TIME format and the timestamp is
17490         valid.
17491
17492         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17493         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17494         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17495         If we get a new newsegment with a different format, adapt
17496         accordingly.
17497
17498         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17499         of 0. Not a problem, really.
17500
17501         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17502         warn if sync=true.
17503
17504 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17505
17506         * configure.ac:
17507           Prelease of 0.10.3
17508
17509 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17510
17511         * win32/vs7:
17512           project files updated to the default vs7 configuration
17513         * win32/common/libgstbase.def:
17514         * win32/common/libgstreamer.def:
17515           added new symbols,
17516           removed empty lines,
17517           sorted all exported symbols alphabetically
17518         * win32/common/dirent.c:
17519         * win32/common/dirent.h:
17520         * win32/common/gchar.h:
17521           use windows line end.
17522           
17523 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17524
17525         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17526           Send EOS event when stopping.
17527
17528 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17529
17530         * docs/README:
17531           Tell folks what to do if the plugin-foobar.xml file
17532           hasn't been generated for a newly-added plugin.
17533
17534 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17535
17536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17537         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17538         (gst_collect_pads_start), (gst_collect_pads_stop),
17539         (gst_collect_pads_event): Collectpads now holds a reference
17540         to the GstPad that was added. Indeed we don't want to look
17541         at pads that might just go away with no warning...
17542
17543 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17544
17545         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17546         (gst_collect_pads_start), (gst_collect_pads_stop),
17547         (gst_collect_pads_event), (gst_collect_pads_chain):
17548         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17549         Mark Nauwelaerts's patch on bug #328491.
17550
17551 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17552
17553         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17554         (gst_utils_suite):
17555           Add some simple tests for gst_parse_bin_from_description() and
17556           gst_bin_find_unconnected_pad() (#329069).
17557
17558 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17559
17560         * tools/gst-launch.c: (event_loop), (main):
17561           Catch errors during preroll (#320084).
17562
17563 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17564
17565         * plugins/elements/gsttypefindelement.c:
17566         (gst_type_find_element_activate):
17567           Post TYPE_NOT_FOUND error message when typefinding
17568           is unsuccessful in the activate function as well.
17569
17570 2006-02-02  Wim Taymans  <wim@fluendo.com>
17571
17572         * docs/design/part-element-sink.txt:
17573         Updated doc.
17574
17575 2006-02-02  Wim Taymans  <wim@fluendo.com>
17576
17577         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17578         (gst_base_sink_render_object),
17579         (gst_base_sink_queue_object_unlocked):
17580         Only keep track of prerollable items when we are 
17581         prerolling.
17582         Before rendering after preroll, always check if we
17583         have queued items.
17584         Added some more debugging.
17585
17586 2006-02-02  Wim Taymans  <wim@fluendo.com>
17587
17588         * gst/gstelement.c: (gst_element_continue_state),
17589         (gst_element_set_state_func), (gst_element_change_state):
17590         Fixed #326576, been running this for quite some time with
17591         no regressions at all.
17592
17593 2006-02-02  Wim Taymans  <wim@fluendo.com>
17594
17595         * common/gst.supp:
17596         Added more suppressions
17597
17598 2006-02-02  Wim Taymans  <wim@fluendo.com>
17599
17600         * docs/design/part-element-sink.txt:
17601         Updated document.
17602
17603         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17604         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17605         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17606         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17607         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17608         (gst_base_sink_preroll_object),
17609         (gst_base_sink_queue_object_unlocked),
17610         (gst_base_sink_queue_object), (gst_base_sink_event),
17611         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17612         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17613         (gst_base_sink_get_position), (gst_base_sink_change_state):
17614         * libs/gst/base/gstbasesink.h:
17615         Totally refactored matching the design doc.
17616         Use two segments, one to clip incomming buffers and another to
17617         perform sync.
17618         Handle queueing correctly, bypass the queue when playing.
17619         Make EOS cancelable.
17620         Handle errors correctly when operating in pull based mode.
17621
17622         * tests/check/elements/fakesink.c: (GST_START_TEST),
17623         (fakesink_suite):
17624         Added new check for sinks.
17625
17626 2006-02-02  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/gstsegment.c: (gst_segment_clip):
17629         No reason to refuse to clip when start == -1
17630
17631 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17632
17633         * docs/README:
17634         * docs/manual/intro-basics.xml:
17635         * docs/manual/intro-preface.xml:
17636         * docs/manual/manual.xml:
17637         * docs/pwg/advanced-dparams.xml:
17638         * docs/pwg/intro-basics.xml:
17639         * docs/pwg/intro-preface.xml:
17640         * docs/pwg/pwg.xml:
17641           describe dparams (controller) for plugins
17642           unify docs a little more
17643
17644 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17645
17646         * docs/gst/gstreamer-sections.txt:
17647         * gst/gstutils.c: (element_find_unconnected_pad),
17648         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17649         * gst/gstutils.h:
17650           Add new API: gst_parse_bin_from_description() and
17651           gst_bin_find_unconnected_pad() (#329069).
17652
17653 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17654
17655         * docs/manual/README:
17656           uncover a nasty detail of the docs build
17657
17658 2006-01-31  Wim Taymans  <wim@fluendo.com>
17659
17660         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17661         Don't cache duration messages if we're not going to use or
17662         free them.
17663
17664 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17665
17666         * docs/manual/advanced-dparams.xml:
17667         * docs/pwg/advanced-dparams.xml:
17668           more dparam docs
17669         * gst/gstindex.c:
17670           fix docs
17671         * libs/gst/controller/lib.c: (gst_controller_init):
17672           init just once
17673
17674 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17675
17676         * gst/gstelement.c: (gst_element_message_full):
17677           also show file/line/func if no additional debug was given
17678
17679 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17680         
17681         * win32/vs7/grammar.vcproj:
17682           activate copy of autogenerated files for Release mode
17683
17684 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17685         
17686         * win32/common/libgstreamer.def:
17687           export gst_value_compare
17688
17689 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17690
17691         * plugins/elements/Makefile.am:
17692         * plugins/elements/gstelements.c:
17693         * plugins/elements/gstfdsink.c: (_do_init),
17694         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17695         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17696         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17697         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17698         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17699         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17700         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17701         * plugins/elements/gstfdsink.h:
17702         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17703
17704 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17705
17706         * docs/manual/advanced-dparams.xml:
17707           describe controller
17708         * docs/manual/advanced-position.xml:
17709         * docs/manual/basics-init.xml:
17710         * docs/manual/manual.xml:
17711         * docs/manual/titlepage.xml:
17712         * docs/pwg/pwg.xml:
17713         * docs/pwg/titlepage.xml:
17714           cleanup xml (more to come)
17715         * libs/gst/controller/gstcontroller.c:
17716           fix typo
17717
17718 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17719         
17720         * win32/vs6/grammar.dsp:
17721           add autogen of gstmarshal.c,h for Release mode
17722                 
17723 2006-01-30  Wim Taymans  <wim@fluendo.com>
17724
17725         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17726         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17727         (gst_base_sink_handle_object), (gst_base_sink_event),
17728         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17729         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17730         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17731         (gst_base_sink_deactivate), (gst_base_sink_activate),
17732         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17733         (gst_base_sink_query), (gst_base_sink_change_state):
17734         Basesink cleanups, remove some old code.
17735         Handle the case where a subclass can preroll in the render
17736         method (mostly audiosinks).
17737         Handle more events.
17738         Remove some locks around variables that are now protected
17739         with the PREROLL_LOCK (clock_id, flushing, ..).
17740         Optimize position query some more, do correct locking.
17741         Remove old code to push queue in state change, this is not
17742         needed anymore since preroll blocks on all prerollable items 
17743         now.
17744         Almost implemented as described in design doc.
17745
17746 2006-01-30  Wim Taymans  <wim@fluendo.com>
17747
17748         * tests/check/gst/gstbin.c: (GST_START_TEST):
17749         Wait for refcount to settle down before checking.
17750
17751 2006-01-30  Wim Taymans  <wim@fluendo.com>
17752
17753         * docs/design/part-element-sink.txt:
17754         Pseudo code overview of desired sink behaviour regarding
17755         preroll.
17756
17757 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17758         * win32/vs6/grammar.dsp:
17759           fix some bugs in Release mode for autogenerated files
17760                 
17761 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17762         * win32/common/libgstbase.def:
17763         * win32/common/libgstreamer.def:
17764           export some new symbols: gst_base_src_set_format,
17765           gst_iterator_next, gst_structure_set_valist
17766
17767 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17768
17769         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17770         Set pad functions unconditionally. Fixes #329105.
17771
17772 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17773         * win32/vs8:
17774           add vs8 project files created by Sergey Scobich
17775
17776 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17777
17778         * gst/gstutils.c: (gst_element_unlink_pads):
17779         Don't leak pad references.
17780
17781         * tests/check/elements/fakesink.c: (GST_START_TEST):
17782         * tests/check/generic/sinks.c: (GST_START_TEST):
17783         * tests/check/generic/states.c: (GST_START_TEST):
17784         * tests/check/gst/gstbin.c: (GST_START_TEST):
17785         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17786         * tests/check/gst/gstelement.c: (GST_START_TEST):
17787         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17788         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17789         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17790         Fix a bunch of leaks. Make generic/sinks.c
17791         use a bit less cpu by slowing the buffer rate
17792         between fakesrc and fakesink.
17793         
17794 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17795         * gst/gstcaps.c:
17796         * gst/gstelement.c: (gst_element_send_event):
17797         * gst/gstevent.c:
17798         * gst/gstinfo.c:
17799         * gst/gstiterator.c:
17800         * gst/gstiterator.h:
17801         * gst/gstpad.c: (gst_pad_send_event):
17802         * gst/gststructure.c:
17803         * gst/gsturi.c:
17804         * gst/gstutils.c:
17805         * gst/gstvalue.c:
17806         * libs/gst/base/gstadapter.c:
17807           doc fixes, to link to function, just write gst_cool_function(), don't
17808           prefix with '#'
17809
17810 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17811
17812         * plugins/elements/gsttee.c: (gst_tee_do_push),
17813         (gst_tee_handle_buffer):
17814         Always prefer an actual return value from a src
17815         pad in place of NOT_LINKED. This means we return
17816         WRONG_STATE when all src pads are WRONG_STATE
17817         instead of NOT_LINKED.
17818
17819         Lock when replacing the last message to prevent
17820         racing with the get_property method.
17821
17822         Add debug output
17823
17824 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17825
17826         * tests/check/Makefile.am:
17827         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17828         (main):
17829         Add a very simple check that should have caught the memleak I fixed
17830         last night (if not for the slice allocator hiding it)
17831
17832 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17833
17834         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17835         (gst_bin_remove_func), (gst_bin_handle_message_func),
17836         (bin_query_duration_fold), (bin_query_generic_fold):
17837         Clean up references to the clock provider when disposed or when
17838         handling a clock-lost message from it.
17839
17840         Unref sinks when performing a query via gst_iterator_fold, as the
17841         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17842
17843         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17844         (gst_clock_set_master):
17845         Drop our reference to the master clock, if any, when we are disposed.
17846
17847         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17848         Chain up in dispose. 
17849
17850 2006-01-26  Wim Taymans  <wim@fluendo.com>
17851
17852         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17853         Add some debugging.
17854
17855 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17856
17857         * plugins/elements/gsttee.c: (gst_tee_do_push),
17858         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17859         handles pad being NOT_LINKED or in WRONG_STATE.
17860
17861 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17862
17863         * win32/MANIFEST:
17864           more updating
17865
17866 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17867
17868         * win32/MANIFEST:
17869           remove obsolete entry
17870
17871 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17872
17873         * docs/gst/gstreamer-sections.txt:
17874         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17875         (gst_bin_iterate_sources), (gst_bin_send_event):
17876         * gst/gstbin.h:
17877         * gst/gstelement.c: (gst_element_send_event):
17878         * gst/gstevent.c:
17879         * gst/gstpad.c: (gst_pad_send_event):
17880           added code for downstream events, reviewed docs in gstevent.c
17881
17882 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17883
17884         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17885         We only query position using the clock in the playing state.
17886         Query peer in the other cases.
17887         * win32/common/config.h: Updates.
17888
17889 2006-01-24  Wim Taymans  <wim@fluendo.com>
17890
17891         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17892         A clock entry that is scheduled for the exact time of the
17893         clock is still in time.
17894
17895         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17896         (gst_base_sink_do_sync):
17897         Add some more debug info.
17898
17899 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17900
17901         * win32/vs7:
17902           Add new vs7 project files and solution.
17903
17904 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17905
17906         * win32/vs7:
17907           all files removed as they were out-dated.
17908
17909 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17910
17911         * docs/random/release:
17912           update notes
17913         * gst/gstbin.c: (gst_bin_init):
17914         * gst/gstbus.c: (gst_bus_new):
17915         * gst/gstbus.h:
17916         * gst/gstpipeline.c: (gst_pipeline_init):
17917           use gst_bus_new(), improve logging, fix docs
17918         * win32/common/config.h:
17919           update for cvs build
17920
17921 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17922
17923         * autogen.sh:
17924           up required version of automake to 1.7
17925
17926 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17927
17928         * win32/common/libgstreamer.def:
17929           export gst_buffer_is_metadata_writable
17930
17931 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17932
17933         * docs/gst/gstreamer-sections.txt:
17934         * gst/gstevent.h:
17935           Add gst_event_replace() (#327001)
17936
17937 2006-01-20  Wim Taymans  <wim@fluendo.com>
17938
17939         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
17940         Make it actually compile too..
17941
17942 2006-01-20  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/gstcaps.c:
17945         Clarify behaviour of _is_equal() when passing NULL parameters.
17946
17947         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17948         (gst_pad_set_caps):
17949         Cleanups. Don't unref NULL caps.
17950         When setting the same caps, protect caps of the pad with
17951         proper lock.
17952         Use full functionality of _is_equal() when comparing caps.
17953
17954 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17955
17956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
17957         Don't loop infinitely if there are no buffers to present. Partially
17958         fixes #327197, but collectpads is just broken for reusing elements
17959         to do multiple encodes atm.
17960
17961 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
17962
17963         * tools/gst-inspect.c: (print_element_features):
17964         * tools/gst-xmlinspect.c: (main):
17965         URL_HANDLER is not a plugin feature we can search for in
17966         the registry.
17967
17968 2006-01-19  Edward Hervey  <edward@fluendo.com>
17969
17970         * gst/gstelement.c: (gst_element_pads_activate): 
17971         When activating, do src pads first, then sink pads.
17972         When de-activating, do sink pads first, then src pads.
17973
17974 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17975
17976         * docs/gst/gstreamer-sections.txt:
17977         Add gst_index_add_associationv to the docs
17978
17979 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17980
17981         * gst/gstevent.c:
17982           Fix docs typo
17983
17984         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
17985         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
17986           Do some refactoring. Doesn't actually change functionality,
17987           but makes landing the DRAIN event easier later.
17988
17989 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
17990
17991         * docs/pwg/advanced-scheduling.xml:
17992           Update from 0.9.x to 0.10 API and make example a bit
17993           clearer.
17994
17995 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
17996
17997         * docs/gst/gstreamer-sections.txt:
17998         Add gst_buffer_(is|make)_metadata_writable methods.
17999
18000 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18001
18002         * docs/design/part-sparsestreams.txt:
18003         Update sparse streams doc, hopefully for greater clarity
18004
18005 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18006
18007         * docs/design/part-events.txt:
18008         Remove mention of FILLER events.
18009         Add DRAIN event.
18010
18011         * docs/design/part-sparsestreams.txt:
18012         Write some things about using NEWSEGMENT to keep sparse streams
18013         flowing.
18014
18015 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18016
18017         * gst/gstbin.c: (gst_bin_dispose):
18018           Guard gst_object_unref call against a NULL object (dispose
18019           can theoretically be called multiple times).
18020           
18021 2006-01-18  Wim Taymans  <wim@fluendo.com>
18022
18023         * gst/gstbin.c: (gst_bin_element_set_state):
18024         * gst/gstclock.c: (gst_clock_id_wait):
18025         Added some more debug info.
18026
18027         * libs/gst/base/gstadapter.c:
18028         Added more docs.
18029
18030         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18031         (gst_base_sink_do_sync), (gst_base_sink_chain):
18032         Added some comments.
18033
18034 2006-01-18  Wim Taymans  <wim@fluendo.com>
18035
18036         * tests/check/Makefile.am:
18037         * tests/check/elements/fakesink.c: (chain_async_buffer),
18038         (chain_async), (chain_async_return), (GST_START_TEST),
18039         (fakesink_suite), (main):
18040         Added fakesink test that checks prerolling and clipping
18041         behaviour.
18042
18043         * tests/check/gst/gstutils.c: (GST_START_TEST):
18044         Make check run faster so that buildbots don't timeout.
18045
18046 2006-01-18  Wim Taymans  <wim@fluendo.com>
18047
18048         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18049         (gst_base_sink_do_sync):
18050         Some cleanups.
18051         When the sink finishes blocking on the preroll buffer, it can
18052         immediatly render it instead of rendering when the next buffer
18053         arrives.
18054
18055 2006-01-18  Wim Taymans  <wim@fluendo.com>
18056
18057         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18058         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18059         (gst_base_sink_chain):
18060         Small cleanups.
18061         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18062         Don't store _last_stop if the buffer is dropped.
18063
18064 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18065
18066         * plugins/elements/gsttypefindelement.c:
18067         (gst_type_find_element_class_init):
18068           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18069           object method handler that sets the caps on the pad and we want
18070           that to happen before we emit the signal (fixes e.g. feeding a
18071           plain text file to decodebin).
18072
18073 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18074
18075         * gst/gstplugin.c: Add MPL and Proprietary as license options
18076
18077 2006-01-18  Andy Wingo  <wingo@pobox.com>
18078
18079         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18080         symbol was exported before, it appears this was just an oversight.
18081         Fixes #168703.
18082         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18083
18084         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18085         prototype to gint. OK since this prototype was not in the header.
18086
18087 2006-01-17  Andy Wingo  <wingo@pobox.com>
18088
18089         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18090         registry while we remove plugins.
18091
18092         * tools/gst-inspect.c (print_element_info): Don't unref the
18093         factory arg, that should be the responsibility of whatever code
18094         received the ref. Fixes a double-free when called from
18095         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18096         (main): Unref the factory if we have one.
18097         (print_element_list): No change -- relies on the
18098         plugin_feature_list_free to free the list of features.
18099
18100 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18101
18102         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18103         (gst_buffer_make_metadata_writable):
18104         * gst/gstbuffer.h:
18105         * libs/gst/base/gstbasetransform.c:
18106         (gst_base_transform_prepare_output_buf):
18107         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18108         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18109           Replace gst_buffer_(make|is)_metadata_writable patch now
18110           that the release is out.
18111
18112 2006-01-17  Andy Wingo  <wingo@pobox.com>
18113
18114         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18115         in the present tense without reference to versions.
18116
18117         * gst/gstregistry.c (gst_registry_add_plugin)
18118         (gst_registry_remove_plugin, gst_registry_remove_feature)
18119         (gst_registry_find_feature, gst_registry_get_feature_list)
18120         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18121         (gst_registry_lookup, gst_registry_scan_path)
18122         (_gst_registry_remove_cache_plugins)
18123         (gst_registry_get_feature_list_by_plugin): Add argument
18124         validation.
18125
18126 === release 0.10.2 ===
18127
18128 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18129
18130         * configure.ac:
18131           releasing 0.10.2, "If man is five"
18132
18133 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18134
18135         * gst/gstbuffer.c:
18136         * gst/gstbuffer.h:
18137         * libs/gst/base/gstbasetransform.c:
18138         (gst_base_transform_prepare_output_buf):
18139         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18140         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18141           Back out patch until after the release.
18142
18143 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18144
18145         * gst/gstminiobject.c:
18146           Spelling fix in docs.
18147         * ChangeLog - remove conflict indicator
18148
18149 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18150
18151         Reviewed By: Andy Wingo
18152
18153         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18154         (gst_buffer_make_metadata_writable):
18155         * gst/gstbuffer.h:
18156           Add gst_buffer_(is|make)_metadata_writable as analogues of
18157           gst_buffer_(is|make)_writable.
18158
18159         * libs/gst/base/gstbasetransform.c:
18160         (gst_base_transform_prepare_output_buf):
18161         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18162           Use name gst_buffer_(is|make)_metadata_writable functions.
18163
18164         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18165           Test gst_buffer_(is|make)_metadata_writable
18166         
18167           (Closes: #324162)
18168
18169 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18170
18171         * docs/manual/Makefile.am:
18172           don't do parallel make
18173         * configure.ac:
18174           AC_SUBST HOST_CPU
18175         * win32/common/config.h.in:
18176           add generations for HOST_CPU and GST_MAJORMINOR
18177         * win32/common/config.h:
18178           commit generated result
18179
18180 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18181
18182         * docs/manual/appendix-integration.xml:
18183           Update GNOME integration section to use gst_init_get_option_group()
18184           instead of the old popt stuff (#322911). Also, GNOME applications
18185           should  now use gconf*sink and gconf*src instead of the old gconf
18186           helper lib we had.
18187
18188 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18189
18190
18191         * docs/gst/gstreamer-docs.sgml:
18192         * docs/gst/gstreamer-sections.txt:
18193         * docs/libs/gstreamer-libs-sections.txt:
18194           add new API entries to the docs
18195         * libs/gst/controller/Makefile.am:
18196         * libs/gst/controller/gstcontroller.c:
18197         * libs/gst/controller/gstcontroller.h:
18198         * libs/gst/controller/gstcontrollerprivate.h:
18199         * libs/gst/controller/gsthelper.c:
18200         * libs/gst/controller/gstinterpolation.c:
18201           move private structs to private header
18202         * po/README:
18203           gstreamer-0.7 -> gstreamer-0.10
18204         * tests/check/libs/struct_i386.h:
18205           remove private structs
18206
18207 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18208
18209         * plugins/indexers/Makefile.am:
18210           Fixes as part of #317048
18211
18212 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18213
18214         * plugins/indexers/Makefile.am:
18215           fix #316086 - compilation when mmap is missing
18216
18217 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18218
18219         * libs/gst/base/gstbasesink.c:
18220           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18221           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18222         * win32/common/config.h:
18223           added some defines GST_MAJORMINOR and HOST_CPU
18224         * win32/common/libgstbase.def:
18225         * win32/common/libgstreamer.def:
18226           added some exported functions.
18227
18228 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18229
18230         * libs/gst/controller/gstcontroller.c:
18231         (gst_controlled_property_set_interpolation_mode),
18232         (gst_controlled_property_new):
18233         * libs/gst/controller/gstcontroller.h:
18234         * libs/gst/controller/gstinterpolation.c:
18235         (interpolate_none_get_string_value_array):
18236           make G_TYPE_STRING controlable
18237
18238 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18239
18240         * tools/README:
18241         * tools/gst-feedback.1.in:
18242         * tools/gst-inspect.1.in:
18243         * tools/gst-launch.1.in:
18244         * tools/gst-md5sum.1.in:
18245         * tools/gst-typefind.1.in:
18246         * tools/gst-xmlinspect.1.in:
18247         * tools/gst-xmllaunch.1.in:
18248           cleanup man-pages, remove reference to gst-register, document env-vars
18249
18250 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18251
18252         * gst/gstbuffer.c: (gst_buffer_span):
18253           gst_buffer_span should copy the timestamp of the first buffer
18254           if they were both originally overlapping subbuffers of the 
18255           same parent, using the same logic as the 'slow copy' case.
18256
18257 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18258
18259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18260           Need to awaken ALL the pads when we pop a buffer, otherwise
18261           collectpads only works when there is 2 input streams.
18262
18263 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18264
18265         * docs/random/ensonic/media-device-daemon.txt:
18266           more ideas (dbus)
18267         * gst/gstbuffer.c:
18268           fix doc example, add clarification
18269         * tools/gst-launch.1.in:
18270           add initial info about GST_PLUGIN_PATH, needs more work
18271
18272 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18273
18274         * docs/manual/basics-bins.xml:
18275         * docs/manual/basics-elements.xml:
18276         * docs/manual/intro-basics.xml:
18277           Some more minor docs additions and updates.
18278
18279 2006-01-11  Wim Taymans  <wim@fluendo.com>
18280
18281         * docs/manual/basics-bins.xml:
18282         * docs/manual/basics-elements.xml:
18283         Some small fixes as pointed out by Ser-ver on IRC.
18284
18285 2006-01-10  Edward Hervey  <edward@fluendo.com>
18286
18287         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18288         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18289         the single-segment mode.
18290
18291 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18292
18293         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18294
18295         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18296         (gst_base_src_perform_seek), (gst_base_src_send_event),
18297         (gst_base_src_set_property), (gst_base_src_get_property),
18298         (gst_base_src_loop), (gst_base_src_start),
18299         (gst_base_src_activate_push):
18300         * libs/gst/base/gstbasesrc.h:
18301           Name (private) union; makes Sun's Forte compiler happy (#324900).
18302
18303 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18304
18305         * README:
18306           gst-register is gone.
18307
18308 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18309
18310         * gst/gstvalue.c: (_gst_value_initialize):
18311           make the G_TYPE_DATE instantiation work if debug is disabled
18312
18313 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18314
18315         * gst/gstmessage.c: (gst_message_parse_tag),
18316         (gst_message_parse_error), (gst_message_parse_warning):
18317           Don't crash when return location for error/warning debug
18318           string is NULL; add fact that return locations can be
18319           NULL to docs where appropriate.
18320
18321 2006-01-05  Wim Taymans  <wim@fluendo.com>
18322
18323         * gst/gstplugin.c: (gst_plugin_load_file):
18324         Replace strdup by g_strdup.
18325
18326 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18327
18328         * docs/pwg/advanced-types.xml:
18329           fix doc borkage
18330
18331 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18332
18333         submitted by: Abel Cheung
18334
18335         * po/LINGUAS:
18336         * po/zh_TW.po:
18337           Added Chinese (traditional) translation
18338
18339 2006-01-04  Wim Taymans  <wim@fluendo.com>
18340
18341         * docs/manual/basics-pads.xml:
18342         * docs/plugins/Makefile.am:
18343         * docs/plugins/gstreamer-plugins-docs.sgml:
18344         * docs/plugins/gstreamer-plugins-sections.txt:
18345         * docs/pwg/advanced-clock.xml:
18346         * docs/pwg/advanced-scheduling.xml:
18347         * docs/pwg/advanced-types.xml:
18348         * plugins/elements/gstfdsink.c:
18349         * plugins/elements/gstfdsrc.c:
18350         * plugins/elements/gstfdsrc.h:
18351         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18352         * plugins/elements/gstidentity.h:
18353         * plugins/elements/gstqueue.h:
18354         * plugins/elements/gsttee.c:
18355         * plugins/elements/gsttee.h:
18356         * plugins/elements/gsttypefindelement.c:
18357         (gst_type_find_element_class_init):
18358         * plugins/elements/gsttypefindelement.h:
18359         Small updates to various docs.
18360         Added core plugins to docs.
18361
18362 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18363
18364         * common/gst.supp:
18365           add a suppression for liboil's uninitialized variable
18366
18367 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18368
18369         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18370
18371         * gst/gstutils.h:
18372           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18373           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18374           compiler switch is being used (#325429).
18375
18376 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18377
18378         * gst/gstbin.c: (gst_bin_query):
18379           Disable duration query caching in bins until it gets
18380           fixed (see #324807).
18381
18382 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18383
18384         * tools/gst-inspect.c: (print_element_properties_info):
18385           Handle properties of POINTER and BOXED type.
18386
18387 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18388
18389         * gst/gst.c: (init_post):
18390           Init tags stuff and some other things before loading
18391           any static plugins (there may be other static plugins
18392           than just the GStreamer ones, and they may want to
18393           register their own tags or formats or whatever, and
18394           preferably without segfaulting).
18395
18396         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18397           Print at least a warning in the debug logs if we drop a
18398           query just because we don't know how to adjust the value
18399           in the particular format.
18400
18401 2005-12-24  David Schleef  <ds@schleef.org>
18402
18403         * tools/gstreamer-completion:
18404           Replacement for gst-complete written in sh and sed.  Only
18405           completes names of features, but that's 90% of what I want
18406           it for.  Properties are not available in registry.xml.  (Maybe
18407           they should be...)
18408
18409 === release 0.10.1 ===
18410
18411 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18412
18413         * configure.ac:
18414           releasing 0.10.1, "Nollaig chridheil"
18415
18416 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18417
18418         * docs/faq/cvs.xml:
18419           Add missing quote, should be make ERROR_CFLAGS="".
18420
18421 2005-12-20  Wim Taymans  <wim@fluendo.com>
18422
18423         * docs/design/part-trickmodes.txt:
18424         More documentation on trickmodes.
18425
18426 2005-12-20  Edward Hervey  <edward@fluendo.com>
18427
18428         * gst/gstcaps.c: (gst_static_caps_get_type):
18429         * gst/gstcaps.h:
18430           API addition: GST_TYPE_STATIC_CAPS
18431         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18432         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18433         * gst/gstpadtemplate.h:
18434           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18435         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18436         bindings.
18437
18438 2005-12-18  Wim Taymans  <wim@fluendo.com>
18439
18440         * libs/gst/base/gstadapter.c:
18441         * libs/gst/base/gstadapter.h:
18442         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18443         (gst_base_sink_get_position):
18444         * libs/gst/base/gstbasesink.h:
18445         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18446         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18447         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18448         (gst_base_src_send_event), (gst_base_src_update_length),
18449         (gst_base_src_get_range), (gst_base_src_loop),
18450         (gst_base_src_start):
18451         * libs/gst/base/gstbasesrc.h:
18452         * libs/gst/base/gstbasetransform.h:
18453         * libs/gst/base/gstcollectpads.h:
18454         * libs/gst/base/gstpushsrc.c:
18455         * libs/gst/base/gstpushsrc.h:
18456         * libs/gst/dataprotocol/dataprotocol.c:
18457         * libs/gst/dataprotocol/dataprotocol.h:
18458         * libs/gst/net/gstnetclientclock.h:
18459         * libs/gst/net/gstnettimeprovider.h:
18460         Documentation updates.
18461
18462 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18463
18464         * docs/manual/basics-helloworld.xml:
18465           Remove superfluous closing bracket in helloworld example.
18466
18467 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18468
18469         * tools/gst-launch.1.in:
18470           Update gst-launch man page; add a section with useful
18471           environment variables. Fixes #323882.
18472
18473 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18474
18475         * gst/gst.c:
18476         * gst/gst_private.h:
18477           change some char* into char[]
18478
18479 2005-12-16  Wim Taymans  <wim@fluendo.com>
18480
18481         * gst/gstregistryxml.c: (load_feature):
18482         Cleanups.
18483         Don't use g_object_unref on GstObjects so that we avoid
18484         leaks on unsafe glibs.
18485
18486 2005-12-16  Wim Taymans  <wim@fluendo.com>
18487
18488         * gst/gstbin.c: (gst_bin_recalc_state):
18489         Small doc updates.
18490
18491 2005-12-16  Wim Taymans  <wim@fluendo.com>
18492
18493         * common/check.mak:
18494         Added make forever target for check.
18495
18496 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18497
18498         * gst/gst.c: (init_post):
18499           make the registry cache file HOST_CPU-dependent
18500
18501 2005-12-16  Andy Wingo  <wingo@pobox.com>
18502
18503         * plugins/elements/gstbufferstore.c
18504         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18505         return value.
18506
18507         * tests/check/gst/gstobject.c
18508         (test_fake_object_name_threaded_unique): Pay attention to
18509         g_list_sort return value.
18510
18511 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18512
18513         * tools/gst-feedback-m.m:
18514           Update for 0.9/0.10 (fixes #323870).
18515
18516 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18517
18518         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18519           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18520           
18521         * tests/check/gst/gstminiobject.c: (my_foo_init),
18522         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18523         (test_value_collection), (gst_mini_object_suite):
18524           Add test to ensure refcounts end up as expected when passing
18525           GstMiniObjects through g_object_get() and g_object_set().
18526
18527 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18528
18529         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18530         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18531         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18532         of collectpads. This version removes a lot of races without
18533         touching API/ABI. Yay !
18534
18535 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18536
18537         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18538           Don't allow activation of a srcpad in pull_range if it has no
18539           getrange function.
18540           Change some debug statements to be a little clearer
18541
18542         * plugins/elements/gsttypefindelement.c:
18543         (gst_type_find_handle_src_query):
18544           Check that we have a peer before executing queries thereupon.
18545
18546         * tests/examples/metadata/read-metadata.c: (message_loop):
18547           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18548           immediately return us any available message with 0 timeout.
18549
18550 2005-12-12  Michael Smith  <msmith@fluendo.com>
18551
18552         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18553           Don't unref factories after calling them.
18554         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18555         * plugins/elements/gsttypefindelement.c:
18556         (gst_type_find_element_chain):
18557           Free lists of factories after using them. Fixing typefinding memory
18558           leaks.
18559
18560 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18561
18562         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18563         (gst_plugin_feature_load):
18564           more meaningful debug output
18565         * configure.ac:
18566         * tests/Makefile.am:
18567         * tests/old/examples/Makefile.am:
18568           make make distcheck happy again
18569
18570 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18571
18572         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18573           Catch the special case where we are operating chain-based,
18574           but the downstream peer pad has no chain function. Emit a
18575           custom error message in this case instead of letting the
18576           core generate one implying that this is some sort of core
18577           bug. It's not, it just means that whatever got plugged
18578           into the pipeline downstream when we announced the type
18579           can only operate pull-based, while our source can only
18580           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18581           Error string has not been marked for translation yet, as
18582           it probably needs some more work first.
18583
18584         (gst_type_find_element_get_best_possibility):
18585           Add helper function to find the best of all available
18586           found possibilities that qualify given the min. threshold.
18587
18588         (gst_type_find_element_handle_event):
18589           Fix the case where we get an EOS while still in TYPEFIND
18590           mode (we want to chose the best of all possible types,
18591           not just the first type that happens to be in our unsorted
18592           list of possible types).
18593
18594         (gst_type_find_element_chain):
18595           Make sure we return GST_FLOW_ERROR when we errored out
18596           in stop_typefinding(); also, don't just find the best of
18597           all found type entries and then use the last examined
18598           type entry, but actually use the best entry.
18599
18600 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18601
18602         * tests/examples/typefind/typefind.c: (type_found):
18603         * tests/examples/xml/runxml.c: (xml_loaded):
18604           More gcc4 fixes and a mem leak fix.
18605
18606 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18607
18608         * tests/examples/xml/createxml.c: (object_saved):
18609           gcc 4 fixes
18610
18611 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18612
18613         * tests/Makefile.am:
18614           enable the examples even more
18615
18616 2005-12-12  Andy Wingo  <wingo@pobox.com>
18617
18618         * libs/gst/net/gstnettimeprovider.c
18619         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18620         (gst_net_time_provider_set_property)
18621         (gst_net_time_provider_get_property):
18622         API addition: Export "active" as a GObject property.
18623         (gst_net_time_provider_thread): Only respond to time queries if
18624         the time provider is active.
18625
18626         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18627         NetTimeProvider, preserving binary compat.
18628
18629 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18630
18631         * tests/examples/controller/audio-example.c: (main):
18632         * tests/examples/launch/Makefile.am:
18633           convert comments again
18634
18635 2005-12-12  Wim Taymans  <wim@fluendo.com>
18636
18637         * libs/gst/base/gstpushsrc.c:
18638         Fix typo.
18639
18640 2005-12-12  Wim Taymans  <wim@fluendo.com>
18641
18642         * docs/libs/gstreamer-libs-sections.txt:
18643         Added new symbol to docs.
18644
18645         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18646         (gst_base_src_init), (gst_base_src_set_format),
18647         (gst_base_src_default_query), (gst_base_src_query),
18648         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18649         (gst_base_src_perform_seek), (gst_base_src_send_event),
18650         (gst_base_src_default_event), (gst_base_src_event_handler),
18651         (gst_base_src_set_property), (gst_base_src_get_property),
18652         (gst_base_src_wait), (gst_base_src_do_sync),
18653         (gst_base_src_update_length), (gst_base_src_get_range),
18654         (gst_base_src_check_get_range), (gst_base_src_loop),
18655         (gst_base_src_default_negotiate), (gst_base_src_start),
18656         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18657         (gst_base_src_change_state):
18658         * libs/gst/base/gstbasesrc.h:
18659         Implement seeking to other formats than _BYTES.
18660         Implement more seeking methods correctly.
18661         Doc updates.
18662         Added query vmethod.
18663         Added do_seek vmethod to make life easier for subclasses
18664         when seeking.
18665         API addition: gst_base_src_set_format()
18666
18667 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18668
18669         * tests/examples/Makefile.am:
18670           added that too
18671
18672 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18673
18674         * configure.ac:
18675         * docs/random/ensonic/media-device-daemon.txt:
18676         * tests/examples/controller/.cvsignore:
18677         * tests/examples/controller/Makefile.am:
18678         * tests/examples/controller/audio-example.c: (main):
18679         * tests/examples/helloworld/.cvsignore:
18680         * tests/examples/helloworld/Makefile.am:
18681         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18682         * tests/examples/launch/.cvsignore:
18683         * tests/examples/launch/Makefile.am:
18684         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18685         * tests/examples/metadata/.cvsignore:
18686         * tests/examples/metadata/Makefile.am:
18687         * tests/examples/metadata/read-metadata.c: (message_loop),
18688         (make_pipeline), (print_tag), (main):
18689         * tests/examples/queue/.cvsignore:
18690         * tests/examples/queue/Makefile.am:
18691         * tests/examples/queue/queue.c: (event_loop), (main):
18692         * tests/examples/typefind/.cvsignore:
18693         * tests/examples/typefind/Makefile.am:
18694         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18695         (main):
18696         * tests/examples/xml/.cvsignore:
18697         * tests/examples/xml/Makefile.am:
18698         * tests/examples/xml/createxml.c: (object_saved), (main):
18699         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18700         * tests/old/examples/Makefile.am:
18701         * tests/old/examples/TODO:
18702         * tests/old/examples/controller/.cvsignore:
18703         * tests/old/examples/controller/Makefile.am:
18704         * tests/old/examples/controller/audio-example.c:
18705         * tests/old/examples/helloworld/.cvsignore:
18706         * tests/old/examples/helloworld/Makefile.am:
18707         * tests/old/examples/helloworld/helloworld.c:
18708         * tests/old/examples/launch/.cvsignore:
18709         * tests/old/examples/launch/Makefile.am:
18710         * tests/old/examples/launch/mp3parselaunch.c:
18711         * tests/old/examples/launch/mp3play:
18712         * tests/old/examples/manual/Makefile.am:
18713         * tests/old/examples/metadata/Makefile.am:
18714         * tests/old/examples/metadata/read-metadata.c:
18715         * tests/old/examples/queue/.cvsignore:
18716         * tests/old/examples/queue/Makefile.am:
18717         * tests/old/examples/queue/queue.c:
18718         * tests/old/examples/typefind/.cvsignore:
18719         * tests/old/examples/typefind/Makefile.am:
18720         * tests/old/examples/typefind/typefind.c:
18721         * tests/old/examples/xml/.cvsignore:
18722         * tests/old/examples/xml/Makefile.am:
18723         * tests/old/examples/xml/createxml.c:
18724         * tests/old/examples/xml/runxml.c:
18725           applied some simple fixing to some examples
18726           re-enabled the working examples
18727
18728 2005-12-12  Wim Taymans  <wim@fluendo.com>
18729
18730         * gst/gstsegment.c: (gst_segment_init),
18731         (gst_segment_set_last_stop), (gst_segment_set_seek),
18732         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18733         (gst_segment_to_running_time):
18734         Added more documentation.
18735         Make sure the last_pos value is updated properly.
18736         Make sure to_stream_time and to_running_time don't
18737         operate on wrong values.
18738
18739         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18740         Update check.
18741
18742 2005-12-12  Michael Smith  <msmith@fluendo.com>
18743
18744         * plugins/elements/gsttypefindelement.c: (free_entry),
18745         (gst_type_find_element_chain):
18746           Now that we're not leaking factories, make sure we keep references
18747           to them while we need them.
18748
18749 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18750
18751         * tests/check/gst/struct_i386.h:
18752           ifdef out the XML structs
18753
18754 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18755
18756         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18757           floor is not needed, F is always positive; this obviates the
18758           need for adding -lm when building without libxml
18759
18760 2005-12-12  Wim Taymans  <wim@fluendo.com>
18761
18762         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18763         Take current playback rate into account when reporting
18764         the position.
18765
18766 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18767
18768         * docs/manual/mime-world.fig:
18769           Let's try this again, this time with a file that is
18770           actually in XFig format.
18771
18772 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18773
18774         * docs/manual/mime-world.fig:
18775           Add audioconvert element to diagram so that it
18776           matches the text and the code (fixes #319526).
18777
18778 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18779
18780         * docs/pwg/building-chainfn.xml:
18781         * docs/pwg/building-pads.xml:
18782         * docs/pwg/building-state.xml:
18783         * docs/pwg/other-source.xml:
18784           Update state change stuff for 0.10 (fixes #322969).
18785
18786 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18787
18788         * docs/manual/advanced-dataaccess.xml:
18789         * docs/manual/appendix-checklist.xml:
18790         * docs/manual/appendix-programs.xml:
18791         * docs/manual/basics-pads.xml:
18792         * docs/manual/highlevel-components.xml:
18793         * docs/manual/manual.xml:
18794           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18795           add converters in front of pipelines; remove curly
18796           brackets for threads stuff, they no longer exist; use
18797           GST_TYPE_FRACTION for framerates; update some pieces of
18798           code to 0.10, but there's plenty more to do.
18799
18800         * docs/manual/appendix-porting.xml:
18801           Expand on asynchroneous state changes; s/0.9/0.10/;
18802           mention disappearance of gst_init_get_popt_table()
18803           (fixes #322916).
18804
18805 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18806
18807         * docs/faq/using.xml:
18808           Spider no longer exists, and neither does gst-launch-ext.
18809           Update examples to use decodebin and playbin and put
18810           converters in front of sinks (fixes #323726).
18811
18812 2005-12-09  Michael Smith  <msmith@fluendo.com>
18813
18814         * plugins/elements/gsttypefindelement.c: (find_peek),
18815         (gst_type_find_element_chain):
18816           Fix leaking element factories in typefinding.
18817           Fix problem where we forgot about a probable type on non-seekable
18818           files, and thus later mis-typefound it.
18819
18820 2005-12-09  Michael Smith  <msmith@fluendo.com>
18821
18822         * common/m4/gst-makecontext.m4:
18823         * common/m4/gst-mcsc.m4:
18824         * configure.ac:
18825         * win32/common/config.h:
18826         * win32/common/config.h.in:
18827           Remove makecontext stuff; not used in 0.10 and causes problems on
18828           HPUX according to bug #322441
18829
18830 2005-12-07  Wim Taymans  <wim@fluendo.com>
18831
18832         * tests/check/Makefile.am:
18833         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18834         (main):
18835         * tests/check/libs/struct_i386.h:
18836         Added ABI check for libs
18837
18838 2005-12-07  Wim Taymans  <wim@fluendo.com>
18839
18840         * tests/check/Makefile.am:
18841         And add the struct_i386.h to dist.
18842
18843 2005-12-07  Wim Taymans  <wim@fluendo.com>
18844
18845         * tests/check/Makefile.am:
18846         * tests/check/gst/.cvsignore:
18847         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18848         (main):
18849         * tests/check/gst/struct_i386.h:
18850         Added check for ABI compatibility.
18851
18852 2005-12-07  Wim Taymans  <wim@fluendo.com>
18853
18854         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18855         (gst_fake_src_get_times), (gst_fake_src_create):
18856         Fix broken sync option, fixes #323259
18857
18858 2005-12-07  Wim Taymans  <wim@fluendo.com>
18859
18860         * gst/gstbuffer.c:
18861         Small docs update.
18862
18863         * gst/gstcaps.c: (gst_caps_is_equal):
18864         Don't assert on NULL <--> X. Fixes #323260
18865
18866         * gst/gstminiobject.c: (gst_mini_object_replace):
18867         If we're doing atomic operations, we might just as well use
18868         the proper way to get an atomic pointer.
18869
18870         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18871         Clean up debugging.
18872
18873 2005-12-07  Michael Smith  <msmith@fluendo.com>
18874
18875         * gst/parse/grammar.y:
18876           Remove handling of { } for threads.
18877
18878 2005-12-06  David Schleef  <ds@schleef.org>
18879
18880         * libs/gst/base/gstbasetransform.c: speling fix.
18881
18882 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18883
18884         * docs/libs/tmpl/gstdataprotocol.sgml:
18885         * docs/random/omega/testing/gstobject.c:
18886         * gst/gst.c:
18887         * gst/gstclock.c:
18888         * gst/gstelement.c:
18889         * gst/gstelementfactory.c:
18890         * gst/gsterror.c:
18891         * gst/gstevent.c:
18892         * gst/gstghostpad.c:
18893         * gst/gstinfo.c:
18894         * gst/gstpadtemplate.c:
18895         * gst/gstregistryxml.c:
18896         * gst/gsttaglist.c:
18897         * gst/gsttagsetter.c:
18898         * gst/gsttypefind.c:
18899         * gst/gstvalue.c:
18900         * libs/gst/base/gstbasesrc.c:
18901         * libs/gst/net/gstnetclientclock.c:
18902         * libs/gst/net/gstnettimeprovider.c:
18903         * plugins/elements/gstfakesrc.c:
18904         * plugins/elements/gstfdsrc.c:
18905         * plugins/elements/gstfilesrc.c:
18906         * plugins/elements/gstidentity.c:
18907         * plugins/elements/gstqueue.c:
18908         * plugins/elements/gsttypefindelement.c:
18909         * plugins/indexers/gstfileindex.c:
18910         * plugins/indexers/gstmemindex.c:
18911         * tests/check/gst/gsttag.c:
18912         * tests/old/examples/cutter/cutter.c:
18913         * tests/old/examples/mixer/mixer.c:
18914         * tests/old/examples/xml/runxml.c: (main):
18915         * tests/old/testsuite/caps/normalisation.c:
18916         * tests/old/testsuite/debug/global.c:
18917         * tests/old/testsuite/parse/parse1.c:
18918         * tools/gst-xmlinspect.c:
18919         * win32/common/dirent.c:
18920           expand tabs
18921
18922 === release 0.10.0 ===
18923
18924 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18925
18926         * configure.ac:
18927           releasing 0.10.0, "Maroilles"
18928
18929 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18930
18931         submitted by: Funda Wang <fundawang@linux.net.cn>
18932
18933         * po/LINGUAS:
18934         * po/zh_CN.po:
18935           added Chinese (Traditional) translation
18936
18937 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18938
18939         * docs/gst/gstreamer-sections.txt:
18940         * docs/libs/tmpl/gstdataprotocol.sgml:
18941         * docs/random/thomasvs/TODO:
18942         * gst/gstutils.c:
18943         * gst/gstutils.h:
18944           fix docs
18945
18946 2005-12-05  Andy Wingo  <wingo@pobox.com>
18947
18948         patch by: Wim Taymans <wim@fluendo.com>
18949
18950         * libs/gst/base/gstbasetransform.c
18951         (gst_base_transform_prepare_output_buf)
18952         (gst_base_transform_buffer_alloc):
18953         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
18954         alloc_buffer_and_set_caps.
18955
18956         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
18957         set_caps on the source pad.
18958         (gst_pad_alloc_buffer_and_set_caps): New function, does what
18959         alloc_buffer used to do. Fixes #322874.
18960
18961         * docs/gst/gstreamer-sections.txt: 
18962         * docs/design/part-negotiation.txt: 
18963         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
18964         changes.
18965
18966 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18967
18968         patch by: Sebastien Moutte
18969
18970         * win32/MANIFEST:
18971         * win32/common/config.h.in:
18972         * win32/vs6/libgstcontroller.dsp:
18973           win32 build fixes
18974
18975 2005-12-05  Wim Taymans  <wim@fluendo.com>
18976
18977         * gst/gstcaps.c: (gst_caps_is_equal):
18978         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18979         (gst_fake_src_create):
18980         Back out previous code changes, leave doc updates, file bugs 
18981         instead. 
18982
18983 2005-12-05  Wim Taymans  <wim@fluendo.com>
18984
18985         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18986         (gst_fake_src_get_times), (gst_fake_src_create):
18987         * plugins/elements/gstfakesrc.h:
18988         Fix broken sync code.
18989
18990 2005-12-05  Wim Taymans  <wim@fluendo.com>
18991
18992         * gst/gstcaps.c: (gst_caps_is_equal):
18993         Comparing NULL against !NULL yields different caps, not a
18994         failure.
18995
18996 2005-12-05  Wim Taymans  <wim@fluendo.com>
18997
18998         * gst/gstpipeline.c:
18999         Fix small typo in docs.
19000
19001 2005-12-05  Andy Wingo  <wingo@pobox.com>
19002
19003         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19004
19005         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19006         registries/plugins with a MAJORMINOR one.
19007         (plugin_desc): Rename library from gstcoreleements to
19008         staticelements. Fixes #323222.
19009
19010 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19011
19012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19013           Change debug category to 'collectpads' from 'collect_pads'
19014           (fixes #323250).
19015
19016 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19017
19018         patch by: Sebastien Moutte
19019
19020         * libs/gst/controller/gstinterpolation.c:
19021           use convert function for uint64/double
19022         * win32/vs6/libgstcontroller.dsp:
19023           link to GLib
19024
19025 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19026
19027         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19028         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19029         * gst/gstutils.h:
19030         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19031           add tests that seem to show that the guint64/gdouble conversions
19032           are correct.
19033
19034 2005-12-02  Wim Taymans  <wim@fluendo.com>
19035
19036         * gst/gstregistry.c: (gst_registry_add_path):
19037         * gst/gstregistry.h:
19038         * gst/gstregistryxml.c:
19039         Fix docs again.
19040
19041 2005-12-02  Wim Taymans  <wim@fluendo.com>
19042
19043         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19044         (gst_util_uint64_scale_int):
19045         Small cleanup.
19046
19047         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19048         Add debug log line.
19049
19050         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19051         Add FIXME.
19052
19053 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19054
19055         * win32/MANIFEST:
19056         * win32/common/config.h:
19057         * win32/vs6/gstreamer.dsw:
19058         * win32/vs6/libgstcoreelements.dsp:
19059         * win32/vs6/libgstelements.dsp:
19060           renamed core elements plugin
19061
19062 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19063
19064         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19065         (get_candidates):
19066           do piece-wise major/minor comparison so 0.9 < 0.10
19067           also allow .exe extensions for tools
19068
19069 2005-12-02  Michael Smith  <msmith@fluendo.com>
19070
19071         * gst/gst.c:
19072           Escape a % to make gtkdoc happier; bug 322958.
19073
19074 === release 0.9.7 ===
19075
19076 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19077
19078         * configure.ac:
19079           releasing 0.9.7, "My Dog Has No Nose"
19080
19081 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19082
19083         * common/gst-xmlinspect.py:
19084         * configure.ac:
19085         * docs/libs/tmpl/gstdataprotocol.sgml:
19086         * docs/random/release:
19087         * po/af.po:
19088         * po/az.po:
19089         * po/bg.po:
19090         * po/ca.po:
19091         * po/cs.po:
19092         * po/de.po:
19093         * po/en_GB.po:
19094         * po/fr.po:
19095         * po/it.po:
19096         * po/nb.po:
19097         * po/nl.po:
19098         * po/ru.po:
19099         * po/sq.po:
19100         * po/sr.po:
19101         * po/sv.po:
19102         * po/tr.po:
19103         * po/uk.po:
19104         * po/vi.po:
19105         * win32/common/config.h:
19106         * win32/common/config.h.in:
19107         * win32/vs6/gst_inspect.dsp:
19108         * win32/vs6/gst_launch.dsp:
19109         * win32/vs6/libgstbase.dsp:
19110         * win32/vs6/libgstelements.dsp:
19111         * win32/vs6/libgstreamer.dsp:
19112         * win32/vs7/GStreamer.vcproj:
19113         * win32/vs7/gst-inspect.vcproj:
19114         * win32/vs7/gst-launch.vcproj:
19115         * win32/vs7/libgstbase.vcproj:
19116           bump GST_MAJORMINOR to 0.10
19117           reset libtool version
19118
19119 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19120
19121         * po/LINGUAS:
19122         * po/bg.po:
19123           Added Bulgarian translation by (Alexander Shopov)
19124
19125 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19126
19127         * tests/check/gst/gstplugin.c:
19128           fix test
19129
19130 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19131
19132         * common/gst-xmlinspect.py:
19133         * common/gtk-doc-plugins.mak:
19134         * configure.ac:
19135         * docs/Makefile.am:
19136         * docs/gst/Makefile.am:
19137         * docs/gst/gstreamer-docs.sgml:
19138         * docs/gst/gstreamer-sections.txt:
19139         * docs/gst/gstreamer.types:
19140         * docs/gst/gstreamer.types.in:
19141         * docs/plugins/Makefile.am:
19142         * docs/plugins/gstreamer-plugins-docs.sgml:
19143         * docs/plugins/gstreamer-plugins-sections.txt:
19144         * docs/plugins/gstreamer-plugins.types:
19145         * docs/plugins/inspect.stamp:
19146         * docs/plugins/inspect/plugin-coreelements.xml:
19147         * docs/plugins/inspect/plugin-coreindexers.xml:
19148         * docs/plugins/scanobj-build.stamp:
19149         * gstreamer.spec.in:
19150         * plugins/elements/Makefile.am:
19151         * plugins/elements/gstelements.c:
19152         * plugins/elements/gstfakesink.c:
19153         * plugins/elements/gstfakesrc.c:
19154         * plugins/elements/gstfilesink.c:
19155         * plugins/elements/gstfilesrc.c:
19156         * plugins/elements/gstqueue.c:
19157         * plugins/indexers/Makefile.am:
19158         * plugins/indexers/gstindexers.c:
19159           document core plugins in a separate document just like all the
19160           others
19161           rename these plugins to something starting with core
19162
19163 2005-12-01  Andy Wingo  <wingo@pobox.com>
19164
19165         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19166         padding here before, but it missed the commit.
19167
19168 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19169
19170         * libs/gst/controller/gstinterpolation.c:
19171           whitespace prices have crashed, we should feel free to use some now
19172           use gst_guint64_to_gdouble
19173
19174 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19175
19176         * libs/gst/controller/gstcontroller.c:
19177         * libs/gst/controller/gsthelper.c:
19178         * libs/gst/controller/gstinterpolation.c:
19179         * libs/gst/controller/lib.c:
19180           wrap config.h include
19181
19182 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19183
19184         * docs/gst/gstreamer-sections.txt:
19185           update docs
19186
19187 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19188
19189         * plugins/elements/gstelements.c:
19190         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19191         (gst_fd_sink__class_init), (gst_fd_sink__init),
19192         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19193         (gst_fd_sink__get_property):
19194         * plugins/elements/gstfdsink.h:
19195         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19196         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19197         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19198         (gst_fd_src_unlock), (gst_fd_src_set_property),
19199         (gst_fd_src_get_property), (gst_fd_src_create),
19200         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19201         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19202         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19203         (gst_fd_src_uri_handler_init):
19204         * plugins/elements/gstfdsrc.h:
19205         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19206           more anal cleanup
19207
19208 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19209
19210         * docs/gst/Makefile.am:
19211         * docs/gst/gstreamer.types.in:
19212         * gst/Makefile.am:
19213           fix the docs build
19214
19215 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         * configure.ac:
19218         * gst/Makefile.am:
19219         * gst/gst.c:
19220         * gst/gstplugin.h:
19221         * gst/gstregistry.h:
19222         * tests/benchmarks/complexity.c:
19223         * tests/benchmarks/mass-elements.c:
19224         * tests/check/Makefile.am:
19225         * tools/Makefile.am:
19226         * tools/gst-inspect.c:
19227         * tools/gst-xmlinspect.c:
19228           various fixes to make
19229           --disable-nls --disable-registry --disable-loadsave
19230           --disable-parse --disable-gst-debug
19231           work and get the core .so down to 360444 bytes after stripping
19232
19233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19234
19235         * Makefile.am:
19236         * configure.ac:
19237           descend into tests
19238         * docs/random/thomasvs/TODO:
19239         * tests/Makefile.am:
19240         * tests/README:
19241           add a README
19242
19243 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19244
19245         * win32/GStreamer.vcproj:
19246         * win32/MANIFEST:
19247         * win32/Makefile:
19248         * win32/Makefile.inspect:
19249         * win32/Makefile.launch:
19250         * win32/Makefile.register:
19251         * win32/README.txt:
19252         * win32/gst-inspect.vcproj:
19253         * win32/gst-launch.vcproj:
19254         * win32/gst-register.vcproj:
19255         * win32/gstelements.vcproj:
19256         * win32/gstgetbits.def:
19257         * win32/gstgetbits.vcproj:
19258         * win32/gstreamer-dbg.def:
19259         * win32/gstreamer.def:
19260         * win32/libgstbase.def:
19261         * win32/libgstbase.vcproj:
19262         * win32/link_oldruntime.c:
19263         * win32/mman.c:
19264         * win32/mman.h:
19265         * win32/mman.inl:
19266         * win32/msvc71.sln:
19267           move even more stuff, win32/ is nice and clean now
19268
19269 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19270
19271         * libs/gst/control/.cvsignore:
19272         * win32/MANIFEST:
19273         * win32/config.h:
19274         * win32/dirent.c:
19275         * win32/dirent.h:
19276         * win32/gstbytestream.def:
19277         * win32/gstbytestream.vcproj:
19278         * win32/gstconfig.h:
19279         * win32/gstenumtypes.c:
19280         * win32/gstenumtypes.h:
19281         * win32/gstoptimalscheduler.vcproj:
19282         * win32/gstversion.h:
19283         * win32/gtchar.h:
19284         * win32/testsuite/bins.vcproj:
19285         * win32/testsuite/bytestream.vcproj:
19286         * win32/testsuite/caps.vcproj:
19287         * win32/testsuite/cleanup.vcproj:
19288         * win32/testsuite/clock.vcproj:
19289         * win32/testsuite/debug.vcproj:
19290         * win32/testsuite/dlopen.vcproj:
19291         * win32/testsuite/dynparams.vcproj:
19292         * win32/testsuite/elements.vcproj:
19293         * win32/testsuite/ghostpads.vcproj:
19294         * win32/testsuite/indexers.vcproj:
19295         * win32/testsuite/negotiation.vcproj:
19296         * win32/testsuite/parse.vcproj:
19297         * win32/testsuite/plugin.vcproj:
19298         * win32/testsuite/refcounting.vcproj:
19299         * win32/testsuite/schedulers.vcproj:
19300         * win32/testsuite/states.vcproj:
19301         * win32/testsuite/tags.vcproj:
19302         * win32/testsuite/threads.vcproj:
19303           remove old win32 stuff that isn't maintained and should be
19304           reorganized
19305
19306 2005-11-30  Andy Wingo  <wingo@pobox.com>
19307
19308         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19309         loading the gst.interfaces python module bork.
19310
19311         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19312         available since GLib 2.2. Fixes #318031.
19313
19314 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19315
19316         * Makefile.am:
19317         * check/.cvsignore:
19318         * check/Makefile.am:
19319         * check/elements/.cvsignore:
19320         * check/elements/fakesrc.c:
19321         * check/elements/fdsrc.c:
19322         * check/elements/identity.c:
19323         * check/generic/.cvsignore:
19324         * check/generic/states.c:
19325         * check/gst-libs/.cvsignore:
19326         * check/gst-libs/controller.c:
19327         * check/gst-libs/gdp.c:
19328         * check/gst/.cvsignore:
19329         * check/gst/capslist.h:
19330         * check/gst/gst.c:
19331         * check/gst/gstbin.c:
19332         * check/gst/gstbuffer.c:
19333         * check/gst/gstbus.c:
19334         * check/gst/gstcaps.c:
19335         * check/gst/gstelement.c:
19336         * check/gst/gstevent.c:
19337         * check/gst/gstghostpad.c:
19338         * check/gst/gstiterator.c:
19339         * check/gst/gstmessage.c:
19340         * check/gst/gstminiobject.c:
19341         * check/gst/gstobject.c:
19342         * check/gst/gstpad.c:
19343         * check/gst/gstpipeline.c:
19344         * check/gst/gstplugin.c:
19345         * check/gst/gstsegment.c:
19346         * check/gst/gststructure.c:
19347         * check/gst/gstsystemclock.c:
19348         * check/gst/gsttag.c:
19349         * check/gst/gstutils.c:
19350         * check/gst/gstvalue.c:
19351         * check/net/.cvsignore:
19352         * check/net/gstnetclientclock.c:
19353         * check/net/gstnettimeprovider.c:
19354         * check/pipelines/.cvsignore:
19355         * check/pipelines/cleanup.c:
19356         * check/pipelines/simple_launch_lines.c:
19357         * check/pipelines/stress.c:
19358         * check/states/.cvsignore:
19359         * check/states/sinks.c:
19360         * configure.ac:
19361         * examples/Makefile.am:
19362         * examples/appreader/.cvsignore:
19363         * examples/appreader/Makefile.am:
19364         * examples/appreader/appreader.c:
19365         * examples/controller/.cvsignore:
19366         * examples/controller/Makefile.am:
19367         * examples/controller/audio-example.c:
19368         * examples/cutter/.cvsignore:
19369         * examples/cutter/Makefile.am:
19370         * examples/cutter/cutter.c:
19371         * examples/cutter/cutter.h:
19372         * examples/events/Makefile.am:
19373         * examples/events/seek.c:
19374         * examples/helloworld/.cvsignore:
19375         * examples/helloworld/Makefile.am:
19376         * examples/helloworld/helloworld.c:
19377         * examples/helloworld2/.cvsignore:
19378         * examples/helloworld2/Makefile.am:
19379         * examples/helloworld2/helloworld2.c:
19380         * examples/launch/.cvsignore:
19381         * examples/launch/Makefile.am:
19382         * examples/launch/mp3parselaunch.c:
19383         * examples/launch/mp3play:
19384         * examples/manual/.cvsignore:
19385         * examples/manual/Makefile.am:
19386         * examples/manual/extract.pl:
19387         * examples/metadata/Makefile.am:
19388         * examples/metadata/read-metadata.c:
19389         * examples/mixer/.cvsignore:
19390         * examples/mixer/Makefile.am:
19391         * examples/mixer/mixer.c:
19392         * examples/mixer/mixer.h:
19393         * examples/pingpong/.cvsignore:
19394         * examples/pingpong/Makefile.am:
19395         * examples/pingpong/pingpong.c:
19396         * examples/plugins/.cvsignore:
19397         * examples/plugins/Makefile.am:
19398         * examples/plugins/example.c:
19399         * examples/plugins/example.h:
19400         * examples/pwg/.cvsignore:
19401         * examples/pwg/Makefile.am:
19402         * examples/pwg/extract.pl:
19403         * examples/queue/.cvsignore:
19404         * examples/queue/Makefile.am:
19405         * examples/queue/queue.c:
19406         * examples/queue2/.cvsignore:
19407         * examples/queue2/Makefile.am:
19408         * examples/queue2/queue2.c:
19409         * examples/queue3/.cvsignore:
19410         * examples/queue3/Makefile.am:
19411         * examples/queue3/queue3.c:
19412         * examples/queue4/.cvsignore:
19413         * examples/queue4/Makefile.am:
19414         * examples/queue4/queue4.c:
19415         * examples/retag/.cvsignore:
19416         * examples/retag/Makefile.am:
19417         * examples/retag/retag.c:
19418         * examples/retag/transcode.c:
19419         * examples/thread/.cvsignore:
19420         * examples/thread/Makefile.am:
19421         * examples/thread/thread.c:
19422         * examples/typefind/.cvsignore:
19423         * examples/typefind/Makefile.am:
19424         * examples/typefind/typefind.c:
19425         * examples/xml/.cvsignore:
19426         * examples/xml/Makefile.am:
19427         * examples/xml/createxml.c:
19428         * examples/xml/runxml.c:
19429         * tests/Makefile.am:
19430         * tests/check/Makefile.am:
19431         * testsuite/.cvsignore:
19432         * testsuite/Makefile.am:
19433         * testsuite/Rules:
19434         * testsuite/caps/.cvsignore:
19435         * testsuite/caps/Makefile.am:
19436         * testsuite/caps/app_fixate.c:
19437         * testsuite/caps/audioscale.c:
19438         * testsuite/caps/caps.c:
19439         * testsuite/caps/caps.h:
19440         * testsuite/caps/caps_strings:
19441         * testsuite/caps/compatibility.c:
19442         * testsuite/caps/deserialize.c:
19443         * testsuite/caps/enumcaps.c:
19444         * testsuite/caps/eratosthenes.c:
19445         * testsuite/caps/filtercaps.c:
19446         * testsuite/caps/fixed.c:
19447         * testsuite/caps/fraction-convert.c:
19448         * testsuite/caps/fraction-multiply-and-zero.c:
19449         * testsuite/caps/intersect2.c:
19450         * testsuite/caps/intersection.c:
19451         * testsuite/caps/normalisation.c:
19452         * testsuite/caps/random.c:
19453         * testsuite/caps/renegotiate.c:
19454         * testsuite/caps/sets.c:
19455         * testsuite/caps/simplify.c:
19456         * testsuite/caps/string-conversions.c:
19457         * testsuite/caps/structure.c:
19458         * testsuite/caps/subtract.c:
19459         * testsuite/caps/union.c:
19460         * testsuite/debug/.cvsignore:
19461         * testsuite/debug/Makefile.am:
19462         * testsuite/debug/category.c:
19463         * testsuite/debug/commandline.c:
19464         * testsuite/debug/global.c:
19465         * testsuite/debug/output.c:
19466         * testsuite/debug/printf_extension.c:
19467         * testsuite/dlopen/.cvsignore:
19468         * testsuite/dlopen/Makefile.am:
19469         * testsuite/dlopen/dlopen_gst.c:
19470         * testsuite/dlopen/loadgst.c:
19471         * testsuite/elements/.cvsignore:
19472         * testsuite/elements/Makefile.am:
19473         * testsuite/elements/gst-inspect-check.in:
19474         * testsuite/elements/struct_i386.h:
19475         * testsuite/elements/struct_size.c:
19476         * testsuite/indexers/.cvsignore:
19477         * testsuite/indexers/Makefile.am:
19478         * testsuite/indexers/cache1.c:
19479         * testsuite/indexers/indexdump.c:
19480         * testsuite/parse/.cvsignore:
19481         * testsuite/parse/Makefile.am:
19482         * testsuite/parse/parse1.c:
19483         * testsuite/parse/parse2.c:
19484         * testsuite/plugin/.cvsignore:
19485         * testsuite/plugin/Makefile.am:
19486         * testsuite/plugin/README:
19487         * testsuite/plugin/dynamic.c:
19488         * testsuite/plugin/linked.c:
19489         * testsuite/plugin/loading.c:
19490         * testsuite/plugin/registry.c:
19491         * testsuite/plugin/static.c:
19492         * testsuite/plugin/static2.c:
19493         * testsuite/plugin/testplugin.c:
19494         * testsuite/plugin/testplugin2.c:
19495         * testsuite/plugin/testplugin2_s.c:
19496         * testsuite/plugin/testplugin_s.c:
19497         * testsuite/refcounting/.cvsignore:
19498         * testsuite/refcounting/Makefile.am:
19499         * testsuite/refcounting/bin.c:
19500         * testsuite/refcounting/element.c:
19501         * testsuite/refcounting/element_pad.c:
19502         * testsuite/refcounting/mainloop.c:
19503         * testsuite/refcounting/mem.c:
19504         * testsuite/refcounting/mem.h:
19505         * testsuite/refcounting/object.c:
19506         * testsuite/refcounting/pad.c:
19507         * testsuite/refcounting/sched.c:
19508         * testsuite/refcounting/thread.c:
19509         * testsuite/states/.cvsignore:
19510         * testsuite/states/Makefile.am:
19511         * testsuite/states/bin.c:
19512         * testsuite/states/locked.c:
19513         * testsuite/states/parent.c:
19514         * testsuite/threads/.cvsignore:
19515         * testsuite/threads/159566.c:
19516         * testsuite/threads/159852.c:
19517         * testsuite/threads/Makefile.am:
19518         * testsuite/threads/queue.c:
19519         * testsuite/threads/signals.c:
19520         * testsuite/threads/staticrec.c:
19521         * testsuite/threads/thread.c:
19522         * testsuite/threads/threadb.c:
19523         * testsuite/threads/threadc.c:
19524         * testsuite/threads/threadd.c:
19525         * testsuite/threads/threade.c:
19526         * testsuite/threads/threadf.c:
19527         * testsuite/threads/threadg.c:
19528         * testsuite/threads/threadh.c:
19529         * testsuite/threads/threadi.c:
19530           move all of these under tests
19531
19532 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19533
19534         * configure.ac:
19535         * tests/Makefile.am:
19536           fix distcheck
19537
19538 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19539
19540         * docs/gst/gstreamer-sections.txt:
19541         * tests/sched/.cvsignore:
19542         * tests/sched/Makefile.am:
19543         * tests/sched/cases/(fs-fs).xml:
19544         * tests/sched/cases/(fs-i-fs).xml:
19545         * tests/sched/cases/(fs-i-i-fs).xml:
19546         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19547         * tests/sched/dynamic-pipeline.c:
19548         * tests/sched/interrupt1.c:
19549         * tests/sched/interrupt2.c:
19550         * tests/sched/interrupt3.c:
19551         * tests/sched/runtestcases:
19552         * tests/sched/runxml.c:
19553         * tests/sched/sched-stress.c:
19554         * tests/sched/sort.c:
19555         * tests/sched/testcases:
19556         * tests/sched/testcases1.tc:
19557         * tests/seeking/.cvsignore:
19558         * tests/seeking/Makefile.am:
19559         * tests/seeking/seeking1.c:
19560         * tests/threadstate/.cvsignore:
19561         * tests/threadstate/Makefile.am:
19562         * tests/threadstate/test1.c:
19563         * tests/threadstate/test2.c:
19564         * tests/threadstate/threadstate1.c:
19565         * tests/threadstate/threadstate2.c:
19566         * tests/threadstate/threadstate3.c:
19567         * tests/threadstate/threadstate4.c:
19568         * tests/threadstate/threadstate5.c:
19569           remove obsolete tests
19570         * configure.ac:
19571         * tests/bench-complexity.scm:
19572         * tests/bench-mass_elements.scm:
19573         * tests/complexity.c:
19574         * tests/complexity.gnuplot:
19575         * tests/instantiate/.cvsignore:
19576         * tests/instantiate/Makefile.am:
19577         * tests/instantiate/caps.c:
19578         * tests/mass_elements.c:
19579         * tests/network-clock-utils.scm:
19580         * tests/network-clock.scm:
19581         * tests/plot-data:
19582         First pass at cleaning up tests/ dir before moving the rest
19583         Combined with CVS surgery
19584
19585 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19586
19587         * po/POTFILES.in:
19588           queue has moved, update
19589
19590 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * docs/gst/gstreamer-sections.txt:
19593           remove double entries from the docs
19594         * gst/gst_private.h:
19595         * gst/gstinfo.c: (_gst_debug_init):
19596           remove the THREAD debug category
19597         * gst/Makefile.am:
19598         * gst/gstqueue.c:
19599         * gst/gstqueue.h:
19600         * docs/gst/gstreamer.types:
19601         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19602         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19603           completely move queue and fix up debugging categories
19604
19605 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19606
19607         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19608           make initialization portable, using LL is not
19609
19610 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19611
19612         * win32/common/gstconfig.h:
19613           add large padding
19614
19615 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * win32/common/libgstreamer.def:
19618           rename symbols; sort base section
19619
19620 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * gst/gstclock.c: (do_linear_regression):
19623           remove crack non-portable handrolled DEBUG macro
19624
19625 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19626
19627         * docs/random/release:
19628           update notes
19629         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19630         (gst_object_flags_get_type), (register_gst_bin_flags),
19631         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19632         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19633         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19634         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19635         (gst_caps_flags_get_type), (register_gst_clock_return),
19636         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19637         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19638         (gst_clock_flags_get_type), (register_gst_state),
19639         (gst_state_get_type), (register_gst_state_change_return),
19640         (gst_state_change_return_get_type), (register_gst_state_change),
19641         (gst_state_change_get_type), (register_gst_element_flags),
19642         (gst_element_flags_get_type), (register_gst_core_error),
19643         (gst_core_error_get_type), (register_gst_library_error),
19644         (gst_library_error_get_type), (register_gst_resource_error),
19645         (gst_resource_error_get_type), (register_gst_stream_error),
19646         (gst_stream_error_get_type), (register_gst_event_type_flags),
19647         (gst_event_type_flags_get_type), (register_gst_event_type),
19648         (gst_event_type_get_type), (register_gst_seek_type),
19649         (gst_seek_type_get_type), (register_gst_seek_flags),
19650         (gst_seek_flags_get_type), (register_gst_format),
19651         (gst_format_get_type), (register_gst_index_certainty),
19652         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19653         (gst_index_entry_type_get_type),
19654         (register_gst_index_lookup_method),
19655         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19656         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19657         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19658         (gst_index_flags_get_type), (register_gst_debug_level),
19659         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19660         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19661         (gst_iterator_result_get_type), (register_gst_iterator_item),
19662         (gst_iterator_item_get_type), (register_gst_message_type),
19663         (gst_message_type_get_type), (register_gst_mini_object_flags),
19664         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19665         (gst_pad_link_return_get_type), (register_gst_flow_return),
19666         (gst_flow_return_get_type), (register_gst_activate_mode),
19667         (gst_activate_mode_get_type), (register_gst_pad_direction),
19668         (gst_pad_direction_get_type), (register_gst_pad_flags),
19669         (gst_pad_flags_get_type), (register_gst_pad_presence),
19670         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19671         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19672         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19673         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19674         (gst_plugin_flags_get_type), (register_gst_rank),
19675         (gst_rank_get_type), (register_gst_query_type),
19676         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19677         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19678         (gst_tag_flag_get_type), (register_gst_task_state),
19679         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19680         (gst_alloc_trace_flags_get_type),
19681         (register_gst_type_find_probability),
19682         (gst_type_find_probability_get_type), (register_gst_uri_type),
19683         (gst_uri_type_get_type), (register_gst_parse_error),
19684         (gst_parse_error_get_type):
19685         * win32/common/gstenumtypes.h:
19686         * win32/common/gstversion.h:
19687           update visual studio generated files
19688
19689 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19690
19691         * win32/vs6/libgstbase.dsp:
19692         * win32/vs6/libgstelements.dsp:
19693           update project files for new locations
19694
19695 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19696
19697         * Makefile.am:
19698           remove some files
19699         * README:
19700           reinstate and update
19701         * DEVEL:
19702         * REQUIREMENTS:
19703           removed
19704         * LICENSE:
19705         * docs/random/LICENSE:
19706           moved to random
19707
19708 2005-11-30  Edward Hervey  <edward@fluendo.com>
19709
19710         * gst/gsttypefind.c: (gst_type_find_register):
19711         * gst/gsttypefind.h:
19712         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19713         (gst_type_find_factory_dispose):
19714         * gst/gsttypefindfactory.h:
19715         Fix memory leak in GstTypeFindFactory.
19716
19717 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19718
19719         * gst/gst.c:
19720         * plugins/elements/Makefile.am:
19721         * plugins/elements/gstelements.c:
19722         * plugins/elements/gstqueue.c:
19723           move queue from core to the elements plugin
19724
19725 2005-11-29  Andy Wingo  <wingo@pobox.com>
19726
19727         * libs/gst/base/gstbasetransform.h: 
19728         * libs/gst/base/gstbasesrc.h: 
19729         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19730
19731         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19732         of pointers by which to pad very extensible base classes (like the
19733         ones in libs/gst/base).
19734
19735 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19736
19737         * docs/gst/gstreamer-docs.sgml:
19738         * docs/gst/gstreamer-sections.txt:
19739         * docs/libs/gstreamer-libs-docs.sgml:
19740         * docs/libs/gstreamer-libs-sections.txt:
19741           moving documentation from core to lib
19742
19743 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19744
19745         * check/Makefile.am:
19746         * configure.ac:
19747         * docs/gst/Makefile.am:
19748         * gst/Makefile.am:
19749         * gst/base/.cvsignore:
19750         * gst/base/Makefile.am:
19751         * gst/base/README:
19752         * gst/base/gstadapter.c:
19753         * gst/base/gstadapter.h:
19754         * gst/base/gstbasesink.c:
19755         * gst/base/gstbasesink.h:
19756         * gst/base/gstbasesrc.c:
19757         * gst/base/gstbasesrc.h:
19758         * gst/base/gstbasetransform.c:
19759         * gst/base/gstbasetransform.h:
19760         * gst/base/gstcollectpads.c:
19761         * gst/base/gstcollectpads.h:
19762         * gst/base/gstpushsrc.c:
19763         * gst/base/gstpushsrc.h:
19764         * gst/base/gsttypefindhelper.c:
19765         * gst/base/gsttypefindhelper.h:
19766         * gst/check/Makefile.am:
19767         * gst/check/gstcheck.c:
19768         * gst/check/gstcheck.h:
19769         * gst/net/Makefile.am:
19770         * gst/net/gstnet.h:
19771         * gst/net/gstnetclientclock.c:
19772         * gst/net/gstnetclientclock.h:
19773         * gst/net/gstnettimepacket.c:
19774         * gst/net/gstnettimepacket.h:
19775         * gst/net/gstnettimeprovider.c:
19776         * gst/net/gstnettimeprovider.h:
19777         * libs/gst/Makefile.am:
19778         * libs/gst/base/Makefile.am:
19779         * libs/gst/base/gstbasetransform.c:
19780         * libs/gst/check/Makefile.am:
19781         * plugins/elements/Makefile.am:
19782         * po/POTFILES.in:
19783           CVS surgery + support to move base, check, and net out of gst
19784           and into libs/gst
19785
19786 2005-11-29  Andy Wingo  <wingo@pobox.com>
19787
19788         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19789
19790         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19791         padding.
19792
19793         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19794
19795         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19796
19797         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19798
19799         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19800         padding; reduces object size by about 30%. We don't expect
19801         anything else to go into gstobject.
19802
19803         * gst/gstminiobject.h (struct _GstMiniObject)
19804         (struct _GstMiniObjectClass): Only one pointer of padding; the
19805         payload is only a pointer and two ints anyway. For the class there
19806         are only two methods as well.
19807         
19808         * gst/gstelement.h (struct _GstElementClass): Removed
19809         the state_changed signal callback, it is not used.
19810
19811 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19812
19813         * docs/gst/gstreamer.types:
19814           fix includes, though they are a little dinky
19815
19816 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19817
19818         * check/Makefile.am:
19819           look in the right place for elements, a lot more chance of
19820           success
19821         * gst/Makefile.am:
19822           remove indexers and elements subdirs
19823         * plugins/Makefile.am:
19824           make indexers conditional
19825
19826 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19827
19828         * Makefile.am:
19829         * configure.ac:
19830         * plugins/elements/Makefile.am:
19831         * plugins/elements/gstcapsfilter.c:
19832         * plugins/elements/gstfilesink.c:
19833         * plugins/elements/gstfilesrc.c:
19834         * plugins/elements/gstidentity.c:
19835         * plugins/indexers/Makefile.am:
19836           do CVS surgery and related build fixery to move elements
19837           and indexers in a new gstreamer/plugins directory, out of the
19838           gst/ directory
19839
19840 2005-11-29  Andy Wingo  <wingo@pobox.com>
19841
19842         * check/Makefile.am:
19843         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19844         * pkgconfig/gstreamer-net.pc.in:
19845         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19846         #322257.
19847
19848 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19849
19850         * tools/Makefile.am:
19851         * tools/gst-complete.1.in:
19852         * tools/gst-complete.c:
19853         * tools/gst-compprep.1.in:
19854         * tools/gst-compprep.c:
19855           removing -compprep and -complete
19856
19857 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19858
19859         * gst/gstevent.c: (gst_event_new_new_segment),
19860         (gst_event_parse_new_segment):
19861         * gst/gstevent.h:
19862           fix #320529 - clean up new_segment API and structure.
19863           Let's hope everyone was using the methods, and not the structure.
19864
19865 2005-11-29  Edward Hervey  <edward@fluendo.com>
19866
19867         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19868         (gst_base_sink_event), (gst_base_sink_do_sync),
19869         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19870         Properly handle non GST_FORMAT_TIME segment
19871         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19872         Properly handle non GST_FORMAT_TIME segment
19873         * gst/gstsegment.c:
19874         This function is valid if the accumulator is 0 and the format
19875         is different from the requested format.
19876         
19877 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19878
19879         * docs/gst/gstreamer-sections.txt:
19880         Add gst_query_new_seeking and gst_query_parse_seeking to the
19881         docs.
19882
19883 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19884
19885         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19886           Treat a pad alloc with new caps the same as if we were not
19887           negotiated, in order to allow a changing upstream output
19888           to produce a new format of data.
19889
19890 2005-11-29  Edward Hervey  <edward@fluendo.com>
19891
19892         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19893         (gst_base_transform_event), (gst_base_transform_eventfunc):
19894         The event virtual method is now properly implemented, with a default
19895         handler
19896         Sub classes should call the parent_class event method. They should
19897         return FALSE if they had a problem handling the given event, or don't
19898         want GstBaseTransform to send that even downstream
19899         * gst/elements/gstidentity.c: (gst_identity_class_init),
19900         (gst_identity_init), (gst_identity_event),
19901         (gst_identity_transform_ip), (gst_identity_set_property),
19902         (gst_identity_get_property):
19903         * gst/elements/gstidentity.h:
19904         Added the single-segment boolean property.
19905         If set to TRUE, it will output a single segment of data, starting from
19906         0, will eat up all incoming newsegment, and modify the timestamp of the
19907         buffers accordingly
19908
19909 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19910
19911         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19912           Don't ref NULL target pad (#322751). Improve docs.
19913
19914 2005-11-29  Michael Smith  <msmith@fluendo.com>
19915
19916         * gst/gstregistryxml.c: (load_plugin):
19917           Don't crash if we failed to load a feature from a plugin. 
19918
19919 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19920
19921         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19922         (GST_START_TEST):
19923           use more check API and less GLib API
19924
19925 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19926
19927         * Makefile.am:
19928           don't run checks if we don't have check
19929         * common/check.mak:
19930           remove the registry when running make torture
19931         * docs/gst/gstreamer-sections.txt:
19932           remove second multiply
19933         * gst/gstqueue.c: (gst_queue_loop):
19934           fix a compile warning when disabling debug
19935
19936 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19937
19938         * gst/gstinfo.h:
19939         Hey! Let's print the pad name if the pointer != NULL instead
19940         of when it == NULL :-)
19941
19942 2005-11-28  Wim Taymans  <wim@fluendo.com>
19943
19944         * check/gst/gstutils.c: (GST_START_TEST):
19945         Updated check, add some scaling accuracy checking code.
19946
19947         * gst/gstutils.c: (gst_util_div128_64),
19948         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
19949         (gst_util_uint64_scale_int):
19950         Fix 6 times faster division code. Optimize for common 
19951         1/1 and less common X/1 cases.
19952
19953 2005-11-28  Wim Taymans  <wim@fluendo.com>
19954
19955         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19956         More checks.
19957
19958         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
19959         (do_linear_regression), (gst_clock_add_observation):
19960         Cleanups.
19961         Release lock when the clock cannot be slaved.
19962         Catch the case where the regression returned an invalid denominator.
19963
19964         * gst/gstutils.c: (gst_util_div128_64_iterate),
19965         (gst_util_div128_64), (gst_util_uint64_scale_int64),
19966         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
19967         Add protentially more performant non-iterative 128/64 divide function
19968         that unfortunatly does not work yet.
19969         Shortcut the trivial 0/X = 0 case.
19970         Remove the warnings on overflow.
19971
19972 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19973
19974         * gst/gstplugin.c: (gst_plugin_register_func):
19975           everything causing a plugin not to load should be at least a WARNING
19976
19977 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
19978
19979         * docs/random/ensonic/dparams.txt:
19980           some TODOs for the next dev cycle
19981         * libs/gst/controller/gstcontroller.c:
19982         (gst_controlled_property_set_interpolation_mode),
19983         (gst_controlled_property_new):
19984         * libs/gst/controller/gstcontroller.h:
19985           use base type to assign acccessor functions
19986
19987 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19988
19989         * check/Makefile.am:
19990         Oops, that should have been top_srcdir
19991
19992 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19993
19994         * check/Makefile.am:
19995         * check/elements/fdsrc.c: (GST_START_TEST):
19996         Use a cmdline define to specify the location of a file to use for
19997         testing, to avoid breaking distcheck.
19998
19999 2005-11-28  Andy Wingo  <wingo@pobox.com>
20000
20001         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20002
20003 2005-11-28  Edward Hervey  <edward@fluendo.com>
20004
20005         * tools/gst-launch.c: (main):
20006         Clarify the output strings, makes it easier to translate.
20007         Fixes #322626
20008
20009 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20010
20011         * gst/Makefile.am:
20012           don't try and build net if we don't even have <sys/socket.h>
20013
20014 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20015
20016         * check/Makefile.am:
20017         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20018         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20019           Add tests for fdsrc seekability
20020
20021         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20022         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20023         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20024         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20025         * gst/elements/gstfdsrc.h:
20026           fdsrc should not be a 'live' source.
20027           Implement seeking on seekable fd's.
20028
20029         * gst/gstquery.c: (gst_query_new_seeking),
20030         (gst_query_parse_seeking):
20031         * gst/gstquery.h:
20032           Implement SEEKING query functions: 
20033             *_new_seeking and *_parse_seeking
20034
20035 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20036
20037         * gst/gstelement.c: (gst_element_dispose):
20038           don't loop forever
20039
20040         * gst/gstiterator.c:
20041         * gst/gststructure.c:
20042           doc fixes
20043
20044         * libs/gst/controller/gstcontroller.c:
20045         (gst_controlled_property_set_interpolation_mode):
20046         * libs/gst/controller/gstcontroller.h:
20047         * libs/gst/controller/gstinterpolation.c:
20048         (interpolate_none_get_enum_value_array):
20049           support controlling enums
20050
20051 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20052
20053         * gst/gstvalue.c:
20054           Improve documentation for gst_value_union().
20055
20056         * gst/gstvalue.h:
20057           Change return value for union, intersect and subtract functions
20058           from gint to gboolean.
20059
20060 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20061
20062         * gst/gstvalue.c: (gst_value_serialize_any_list),
20063         (gst_value_transform_any_list_string),
20064         (gst_value_deserialize_list), (gst_value_deserialize_array),
20065         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20066         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20067         (gst_value_set_fraction_range_full),
20068         (gst_value_deserialize_fraction_range),
20069         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20070         (gst_value_deserialize_boolean),
20071         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20072         (gst_value_serialize_float), (gst_value_deserialize_float),
20073         (gst_string_wrap), (gst_value_deserialize_string),
20074         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20075         (gst_value_union_int_range_int_range),
20076         (gst_value_intersect_int_range_int_range),
20077         (gst_value_intersect_double_range_double_range),
20078         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20079         (gst_value_subtract_int_range_int_range),
20080         (gst_value_subtract_double_double_range),
20081         (gst_value_subtract_double_range_double_range),
20082         (gst_value_deserialize_fraction):
20083         * gst/gstvalue.h:
20084           Use gint, gdouble and gchar in our API instead of int, double and
20085           char (and make usage in gstvalue.c more consistent).
20086
20087 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20088
20089         * check/Makefile.am:
20090         * libs/gst/controller/Makefile.am:
20091         * libs/gst/dataprotocol/Makefile.am:
20092           fix up Makefile.am and remove GST_ENABLE_NEW
20093
20094 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20095
20096         * configure.ac:
20097         * gst/Makefile.am:
20098         * gst/base/Makefile.am:
20099         * gst/check/Makefile.am:
20100         * gst/elements/Makefile.am:
20101         * gst/net/Makefile.am:
20102           update LDFLAGS use some more
20103
20104 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20105
20106         * common/m4/gst-doc.m4:
20107           Fixes #312589
20108
20109 2005-11-26  Edward Hervey  <edward@fluendo.com>
20110
20111         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20112         This shouldn't issue a g_warning since it returns NULL if it
20113         couldn't find the plugin, and all functions using this behave
20114         properly on a NULL return. Switching to a GST_WARNING.
20115
20116 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20117
20118         * gst/gstbin.c: (gst_bin_handle_message_func):
20119         Don't leak clock messages.
20120
20121 2005-11-25  Wim Taymans  <wim@fluendo.com>
20122
20123         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20124         (gst_util_uint64_scale_int):
20125         Optimisations, remove unneeded vars.
20126
20127 2005-11-25  Wim Taymans  <wim@fluendo.com>
20128
20129         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20130         Added more checks for the high precision uint64 cases.
20131
20132         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20133         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20134         Implement high precision (guint64 * guint64) / guint64.
20135
20136 2005-11-24  Wim Taymans  <wim@fluendo.com>
20137
20138         * gst/base/gstbasesrc.c: (gst_base_src_query):
20139         Fix wrong percentage query.
20140
20141         * gst/gstutils.c: (gst_util_uint64_scale),
20142         (gst_util_uint64_scale_int):
20143         Add some more common cases that can be handled 
20144         efficiently to _scale.
20145
20146 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20147
20148         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20149         (gst_mini_object_suite):
20150           don't use check calls from threads; check probably isn't
20151           threadsafe and using a lock to make it threadsafe would
20152           defeat the purpose of this check
20153         * gst/check/gstcheck.c:
20154         * gst/check/gstcheck.h:
20155           use GST_DEBUG some more
20156
20157 2005-11-24  Wim Taymans  <wim@fluendo.com>
20158
20159         * gst/gstutils.c: (gst_util_uint64_scale),
20160         (gst_util_uint64_scale_int):
20161         Chain trivial case to _scale_int.
20162
20163 2005-11-24  Wim Taymans  <wim@fluendo.com>
20164
20165         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20166         Added test for scaling.
20167
20168         * gst/gstclock.h:
20169         Small doc fix.
20170
20171         * gst/gstutils.c: (gst_util_uint64_scale_int):
20172         Implemented high precision scaling code.
20173
20174 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20175
20176         * gst/gstinfo.h:
20177           do not crash on pad==NULL
20178
20179 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20180
20181         Patch by: Stefan Kost
20182
20183         * common/gtk-doc.mak:
20184         * docs/gst/Makefile.am:
20185         * docs/libs/Makefile.am:
20186           Fix distcheck issues for the libraries docs build
20187           Closes #319599.
20188
20189 2005-11-24  Michael Smith <msmith@fluendo.com>
20190
20191         * docs/manual/basics-helloworld.xml:
20192           Fix bug #315027: memory leak in example code in docs.
20193
20194 2005-11-24  Michael Smith <msmith@fluendo.com>
20195
20196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20197           Unlock the PREROLL_LOCK in a failure case.
20198
20199 2005-11-24  Wim Taymans  <wim@fluendo.com>
20200
20201         * docs/gst/gstreamer-sections.txt:
20202         * gst/base/gstadapter.h:
20203         * gst/base/gstbasesink.h:
20204         * gst/base/gstbasesrc.h:
20205         * gst/base/gstbasetransform.h:
20206         * gst/base/gstpushsrc.h:
20207         * gst/elements/gstfakesink.h:
20208         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20209         * gst/elements/gstfakesrc.h:
20210         * gst/elements/gstfilesink.h:
20211         * gst/elements/gstfilesrc.h:
20212         * gst/gst.c:
20213         * gst/gstbin.c:
20214         * gst/gstbuffer.c: (_gst_buffer_copy):
20215         * gst/gstbus.h:
20216         * gst/gstcaps.c:
20217         * gst/gstchildproxy.c:
20218         * gst/gstclock.c:
20219         * gst/gstelement.c:
20220         * gst/gstelementfactory.c:
20221         * gst/gstelementfactory.h:
20222         * gst/gstevent.c:
20223         * gst/gstghostpad.h:
20224         * gst/gstindex.h:
20225         * gst/gstinterface.h:
20226         * gst/gstminiobject.c:
20227         * gst/gstminiobject.h:
20228         * gst/gstpad.c:
20229         * gst/gstpad.h:
20230         * gst/gstpadtemplate.h:
20231         * gst/gstpipeline.h:
20232         * gst/gstpluginfeature.h:
20233         * gst/gstquery.h:
20234         * gst/gstqueue.h:
20235         * gst/gsttaglist.c:
20236         * gst/gsttaglist.h:
20237         * gst/gsttagsetter.c:
20238         * gst/gsttagsetter.h:
20239         * gst/gsttrace.c:
20240         * gst/gsttrace.h:
20241         * gst/gsttypefind.h:
20242         * gst/gsturi.h:
20243         * gst/gstvalue.c:
20244         * gst/net/gstnetclientclock.c:
20245         * gst/net/gstnetclientclock.h:
20246         * gst/net/gstnettimepacket.c:
20247         * gst/net/gstnettimeprovider.c:
20248         * gst/net/gstnettimeprovider.h:
20249         Doc fixes.
20250
20251 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20252
20253         * configure.ac: back to HEAD
20254
20255 === release 0.9.6 ===
20256
20257 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20258
20259         * configure.ac:
20260           releasing 0.9.6, "Always On Time"
20261
20262 2005-11-23  Wim Taymans  <wim@fluendo.com>
20263
20264         * docs/gst/gstreamer-sections.txt:
20265         * gst/glib-compat.c:
20266         * gst/gsttagsetter.c:
20267         * gst/gstvalue.c:
20268         * gst/net/gstnetclientclock.c:
20269         * gst/net/gstnettimepacket.h:
20270         Doc updates.
20271
20272 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20273
20274         * docs/faq/using.xml:
20275         * docs/libs/tmpl/gstcontrol.sgml:
20276         * docs/manual/advanced-dparams.xml:
20277         * docs/manual/appendix-checklist.xml:
20278         * docs/manual/basics-elements.xml:
20279         * docs/pwg/other-source.xml:
20280         * docs/random/moving-plugins:
20281         * gst/gstpad.c:
20282         * tools/gst-launch.1.in:
20283           remove mentions of sinesrc
20284
20285 2005-11-23  Michael Smith <msmith@fluendo.com>
20286
20287         * docs/gst/gstreamer-sections.txt:
20288           Update for new API and API changes.
20289         * gst/gstobject.h:
20290           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20291         * gst/gstvalue.c:
20292           Documentation typo fix.
20293         * gst/net/gstnettimepacket.c:
20294           Documentation fixes for arguments.
20295
20296 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20297
20298         * gst/gststructure.c: (gst_structure_get_fraction),
20299         (gst_structure_parse_value),
20300         (gst_structure_fixate_field_nearest_fraction):
20301         * gst/gststructure.h:
20302         * gst/gstutils.c: (gst_util_uint64_scale_int):
20303         * gst/gstutils.h:
20304         * scripts/update-funcnames:
20305         API Changes. 
20306         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20307         Make gst_structure_fixate_field_nearest_fraction take a numerator
20308         and denominator argument instead of a GValue
20309         add gst_structure_get_fraction helper function.
20310
20311 2005-11-23  Wim Taymans  <wim@fluendo.com>
20312
20313         * docs/design/part-TODO.txt:
20314         Update TODO.
20315
20316         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20317         * gst/net/gstnetclientclock.h:
20318         Use parent fields for timeout and window_size.
20319
20320 2005-11-23  Andy Wingo  <wingo@pobox.com>
20321
20322         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20323         rate_num/rate_denom change.
20324
20325         * gst/net/gstnetclientclock.c
20326         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20327         OBJECT_LOCK. Don't call add_observation with the lock.
20328
20329         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20330         fraction.
20331         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20332         rate fraction.
20333         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20334         deal with rate as a fraction whose numerator and denominator are
20335         GstClockTime values.
20336         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20337         master; the other fields are protected by the SLAVE_LOCK.
20338         (do_linear_regression): Note that this must be called with the
20339         SLAVE_LOCK.
20340         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20341         OBJECT_LOCK. Call set_calibration instead of touching the
20342         variables directly.
20343         (gst_clock_set_property, gst_clock_get_property): Protect
20344         master/slave parameters with the SLAVE_LOCK.
20345
20346         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20347         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20348         note that all of the instance variables that add_observation and
20349         the set_master functions use are protected by that lock and not
20350         the OBJECT_LOCK.
20351         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20352
20353         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20354         the caller to take the object lock.
20355
20356 2005-11-23  Wim Taymans  <wim@fluendo.com>
20357
20358         * gst/gsterror.c: (_gst_core_errors_init):
20359         * gst/gsterror.h:
20360         Add error for clock stuff.
20361
20362         * gst/gstpipeline.c: (gst_pipeline_change_state),
20363         (gst_pipeline_set_clock):
20364         Post clock error when clock cannot be used in a pipeline.
20365
20366 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20367
20368         * docs/gst/gstreamer-sections.txt:
20369           make two symbols from gstinfo private for the docs
20370         * gst/base/gstcollectpads.h:
20371         * gst/gstutils.c:
20372           fix doc typos, update docs
20373
20374 2005-11-22  Wim Taymans  <wim@fluendo.com>
20375
20376         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20377         (gst_base_sink_wait), (gst_base_sink_do_sync),
20378         (gst_base_sink_handle_event):
20379         * gst/base/gstbasesink.h:
20380         No need to store the clock, the parent element class already
20381         has it.
20382
20383         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20384         Updates for clock_set returning a gboolean
20385
20386         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20387         (gst_clock_id_wait_async), (gst_clock_class_init),
20388         (gst_clock_init), (gst_clock_finalize),
20389         (gst_clock_get_internal_time), (gst_clock_get_time),
20390         (gst_clock_slave_callback), (gst_clock_set_master),
20391         (gst_clock_get_master), (do_linear_regression),
20392         (gst_clock_add_observation), (gst_clock_set_property),
20393         (gst_clock_get_property):
20394         * gst/gstclock.h:
20395         Implement master/slave. When setting a clock as a slave, a
20396         periodic timeout is scheduled to sample master and slave times.
20397         Then the slave clock is recalibrated to match offset and rate
20398         of the master clock.
20399         Update logging a bit.
20400         Add flag so that a clock can state that is cannot be slaved to
20401         another clock.
20402
20403         * gst/gstelement.c: (gst_element_set_clock):
20404         * gst/gstelement.h:
20405         The set clock returns a gboolean for when an element cannot
20406         deal with the selected clock in the pipeline. 
20407
20408         * gst/gstpipeline.c: (gst_pipeline_change_state),
20409         (gst_pipeline_set_clock):
20410         * gst/gstpipeline.h:
20411         Handle the case where the selected clock cannot be set on
20412         the pipeline.
20413
20414         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20415         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20416         (gst_net_client_clock_set_property),
20417         (gst_net_client_clock_get_property),
20418         (gst_net_client_clock_observe_times):
20419         * gst/net/gstnetclientclock.h:
20420         Use regression code in GstClock parent, remove duplicated
20421         functionality.
20422
20423 2005-11-22  Michael Smith <msmith@fluendo.com>
20424
20425         * gst/gstutils.c: (gst_util_clock_time_scale):
20426         * gst/gstutils.h:
20427         * docs/gst/gstreamer-sections.txt:
20428           Rename method to have extra underscore.
20429
20430 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20431
20432         * gst/elements/Makefile.am:
20433         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20434         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20435         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20436         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20437         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20438         * gst/elements/gstfakesrc.h:
20439         * gst/gstqueue.c: (queue_leaky_get_type):
20440           correctly fix GEnumValues so that nick is the short lowercase
20441           dashed tag
20442         * tools/gst-inspect.c: (print_element_properties_info):
20443           also show the nick, since it's useful to use from parse_launch
20444           syntax
20445           Fixes #322139
20446
20447 2005-11-22  Michael Smith <msmith@fluendo.com>
20448
20449         * gst/gstutils.c: (gst_util_clocktime_scale):
20450         * gst/gstutils.h:
20451         * docs/gst/gstreamer-sections.txt:
20452           Add util method for scaling a clocktime by a fraction. Useful 
20453           implementation is left as an exercise for the reader.
20454
20455 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20456
20457         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20458         If needed, allocate storage in the destination value during
20459         collection.
20460
20461 2005-11-22  Edward Hervey  <edward@fluendo.com>
20462
20463         * docs/gst/gstreamer-sections.txt:
20464         * gst/Makefile.am:
20465         * gst/gst.h:
20466         * gst/gsturitype.c:
20467         * gst/gsturitype.h:
20468         * gst/gstutils.c: (gst_util_set_object_arg):
20469         * tools/gst-compprep.c: (main):
20470         * tools/gst-inspect.c: (print_element_properties_info):
20471         Removed GstURI, closes bug #321061
20472
20473 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20474
20475         * check/gst/gststructure.c: (GST_START_TEST):
20476         * gst/gststructure.c: (gst_structure_parse_value):
20477           Oops, broke automatic string type parsing.
20478           Add a test to catch it in future.
20479
20480 2005-11-22  Andy Wingo  <wingo@pobox.com>
20481
20482         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20483         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20484         Actually rename the function implementations. Grr.
20485
20486 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20487
20488         * check/gst/capslist.h:
20489           Comment test cases
20490         * check/gst/gststructure.c: (GST_START_TEST),
20491         (gst_structure_suite):
20492           Test automatic value type detection in gst_structure_from_string.
20493         * gst/gststructure.c: (gst_structure_parse_value):
20494           Add fraction as a type we try and guess automatically in
20495           caps/structure strings.
20496
20497 2005-11-22  Andy Wingo  <wingo@pobox.com>
20498
20499         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20500
20501         * gst/gsttagsetter.h:
20502         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20503         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20504         (gst_tag_setter_add_tag_valist)
20505         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20506         _add_values, _add_valist, and _add_valist_values. Since this is an
20507         interface the function suffixes should be more explicit so
20508         language binding don't end up with element.add_valist ->
20509         gst_tag_setter_add_valist, for example. Fixes #322069.
20510
20511 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20512
20513         * check/gst/gstcaps.c: (GST_START_TEST):
20514           Extend caps string tests to check that a caps to string
20515           conversion is reversible and produces the same caps.
20516
20517         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20518           Output "fraction" as the generic type fraction range, so caps
20519           serialisation and deserialisation works.
20520         * check/gst/capslist.h:
20521         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20522           Support 'MIN' and 'MAX' for deserialising fractions.
20523
20524 2005-11-22  Andy Wingo  <wingo@pobox.com>
20525
20526         * gst/gstevent.h (gst_event_new_new_segment)
20527         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20528         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20529         Renamed from *_newsegment, *_buffersize, *_notarget.
20530
20531         * scripts/update-funcnames: New script, performs the changes
20532         listed above.
20533
20534 2005-11-22  Wim Taymans  <wim@fluendo.com>
20535
20536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20537         Make sure the GstFlowReturn is returned.
20538
20539         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20540         (gst_bus_add_signal_watch):
20541         * gst/gstbus.h:
20542         add gst_bus_add_signal_watch_full.
20543
20544         * gst/gstplugin.c: (gst_plugin_load_file):
20545         Small style cleanup.
20546
20547 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20548
20549         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20550           Block the fakesrc srcpad when we send an event, to avoid
20551           contention on the stream_lock causing random test failures.
20552
20553 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20554
20555         * check/gst/gstvalue.c: (GST_START_TEST):
20556         * gst/gstvalue.c: (gst_value_fraction_subtract):
20557           Fix subtraction.
20558
20559 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20560
20561         * gst/gst.h:
20562           include "gstchildproxy.h"
20563         * gst/gstchildproxy.h:
20564         * libs/gst/controller/gstcontroller.h:
20565           use G_GNUC_NULL_TERMINATED
20566
20567 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20568
20569         * check/gst/capslist.h:
20570         * check/gst/gstcaps.c: (GST_START_TEST):
20571         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20572         * gst/gststructure.c: (gst_structure_parse_range),
20573         (gst_structure_fixate_field_nearest_fraction):
20574         * gst/gststructure.h:
20575         * gst/gstvalue.c: (gst_value_init_fraction_range),
20576         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20577         (gst_value_collect_fraction_range),
20578         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20579         (gst_value_set_fraction_range_full),
20580         (gst_value_get_fraction_range_min),
20581         (gst_value_get_fraction_range_max),
20582         (gst_value_serialize_fraction_range),
20583         (gst_value_transform_fraction_range_string),
20584         (gst_value_compare_fraction_range),
20585         (gst_value_deserialize_fraction_range),
20586         (gst_value_intersect_fraction_fraction_range),
20587         (gst_value_intersect_fraction_range_fraction_range),
20588         (gst_value_subtract_fraction_fraction_range),
20589         (gst_value_subtract_fraction_range_fraction),
20590         (gst_value_subtract_fraction_range_fraction_range),
20591         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20592         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20593         (gst_value_transform_string_fraction), (_gst_value_initialize):
20594         * gst/gstvalue.h:
20595           Implement fraction ranges and extend GstFraction to support
20596           arithmetic subtraction, as well as deserialization from integer
20597           strings such as "100"
20598           Add a testsuite as for int and double range set operations
20599
20600 2005-11-21  Andy Wingo  <wingo@pobox.com>
20601
20602         * gst/gsttaglist.h: 
20603         * gst/gstcaps.h: 
20604         * gst/gststructure.h: Add glib-compat.h.
20605
20606 2005-11-21  Wim Taymans  <wim@fluendo.com>
20607
20608         * gst/gstbin.c: (gst_bin_change_state_func):
20609         Fix for #321595
20610
20611 2005-11-21  Wim Taymans  <wim@fluendo.com>
20612
20613         * gst/gstsegment.h:
20614         And add a nice define too.
20615
20616 2005-11-21  Wim Taymans  <wim@fluendo.com>
20617
20618         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20619         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20620         (gst_segment_set_duration), (gst_segment_set_last_stop),
20621         (gst_segment_set_seek), (gst_segment_set_newsegment),
20622         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20623         (gst_segment_clip):
20624         * gst/gstsegment.h:
20625         Make binding friendly.
20626
20627 2005-11-21  Andy Wingo  <wingo@pobox.com>
20628
20629         * gst/gsttagsetter.h: 
20630         * gst/gsttaglist.h: 
20631         * gst/gststructure.h: 
20632         * gst/gstcaps.h: 
20633         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20634         #319940.
20635
20636         * gst/gsterror.c (_gst_core_errors_init):
20637         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20638         category.
20639
20640         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20641         (noinst_HEADERS): noinst the -private.
20642
20643 2005-11-21  Michael Smith <msmith@fluendo.com>
20644
20645         * gst/gstplugin.h:
20646         * gst/gstregistry.h:
20647           Remove unimplemented declarations for which we can see no sensible
20648           use.
20649
20650 2005-11-21  Andy Wingo  <wingo@pobox.com>
20651
20652         * gst/gst.h: Include glib-compat.h.
20653
20654         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20655
20656         * gst/glib-compat.c: Include the public and the private header.
20657
20658         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20659
20660         * gst/gstvalue.c: 
20661         * gst/gstpad.c: 
20662         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20663
20664         * check/gst/gstevent.c (create_custom_events): Check that
20665         FLUSH_STOP is serialized.
20666
20667         * check/elements/identity.c (event_func): 
20668         * check/elements/fakesrc.c (event_func): No stream lock, the core
20669         takes it.
20670
20671         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20672         stream lock taking, yay.
20673
20674         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20675         ensure that core takes the stream lock.
20676
20677         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20678         lock name change.
20679
20680         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20681         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20682         it already. For the flush start we do take it though so we get the
20683         right preroll state change messages.
20684
20685         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20686         the stream lock here, the core does it for us.
20687
20688         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20689         GST_STREAM_GET_LOCK.
20690         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20691         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20692         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20693         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20694         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20695         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20696
20697         * gst/gstpad.c: Update for stream lock name change.
20698
20699         * gst/base/gstbasesink.c: Update for preroll lock name change.
20700
20701 2005-11-21  Wim Taymans  <wim@fluendo.com>
20702
20703         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20704         (gst_clock_get_master):
20705         * gst/gstclock.h:
20706         * gst/gstsystemclock.c: (gst_system_clock_init):
20707         Convert Clock flags to object flags.
20708         Added methods to manage master/slave clocks.
20709
20710 2005-11-21  Wim Taymans  <wim@fluendo.com>
20711
20712         * check/gst/gstsegment.c: (GST_START_TEST):
20713         * docs/design/part-TODO.txt:
20714         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20715         (gst_base_sink_event), (gst_base_sink_do_sync),
20716         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20717         (gst_base_sink_query), (gst_base_sink_change_state):
20718         * gst/base/gstbasesink.h:
20719         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20720         (gst_base_src_default_newsegment),
20721         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20722         (gst_base_src_get_range), (gst_base_src_loop),
20723         (gst_base_src_change_state):
20724         * gst/base/gstbasesrc.h:
20725         * gst/base/gstbasetransform.c:
20726         (gst_base_transform_prepare_output_buf),
20727         (gst_base_transform_event), (gst_base_transform_change_state):
20728         * gst/base/gstbasetransform.h:
20729         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20730         (gst_collect_pads_event):
20731         * gst/base/gstcollectpads.h:
20732         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20733         (gst_fake_src_create):
20734         * gst/elements/gstfakesrc.h:
20735         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20736         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20737         (gst_segment_set_last_stop), (gst_segment_set_seek),
20738         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20739         (gst_segment_to_running_time), (gst_segment_clip):
20740         * gst/gstsegment.h:
20741         More segment updates, replace code in plugins with segment
20742         helper functions.
20743
20744 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20745
20746         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20747         Don't ignore sscanf results
20748
20749 2005-11-21  Andy Wingo  <wingo@pobox.com>
20750
20751         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20752
20753         * *.h:
20754         * *.c: Ran scripts/update-macros. Oh yes.
20755
20756         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20757         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20758         GST_GET_LOCK, etc.
20759
20760         * scripts/update-macros: New script. Run it on your files to
20761         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20762         well.
20763
20764 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20765
20766         * docs/gst/Makefile.am:
20767         * docs/gst/gstreamer-docs.sgml:
20768         * docs/gst/gstreamer-sections.txt:
20769         * docs/gst/gstreamer.types:
20770         * gst/gstinfo.h:
20771           more docs fixes, add new api to the docs
20772
20773 2005-11-21  Andy Wingo  <wingo@pobox.com>
20774
20775         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20776         state_broadcast call.
20777
20778         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20779
20780 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20781
20782         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20783         function calls for arrays.
20784
20785 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20786
20787         * docs/random/ensonic/media-device-daemon.txt:
20788           wild idea, can this be done?
20789         * docs/gst/gstreamer-sections.txt:
20790         * gst/gsterror.h:
20791         * gst/gstfilter.c:
20792         * gst/gstfilter.h:
20793         * gst/gstplugin.h:
20794         * gst/gstpluginfeature.c:
20795         * gst/gsttrace.c:
20796         * gst/gstvalue.c:
20797         * gst/gstvalue.h:
20798           doc fixes and additions
20799
20800 2005-11-21  Andy Wingo  <wingo@pobox.com>
20801
20802         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20803         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20804         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20805         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20806         private to the basesrc implementation.
20807
20808         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20809         behalf of event function if necessary. It should no longer be
20810         necessary to take the stream lock in pad's event functions. Fixes
20811         #320299.
20812
20813 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20814         * docs/gst/gstreamer-sections.txt:
20815         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20816         (gst_structure_fixate_field_nearest_double),
20817         (gst_structure_fixate_field_boolean):
20818         * gst/gststructure.h:
20819         * win32/common/libgstreamer.def:
20820         * win32/gstreamer.def:
20821
20822         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20823         (#322027)
20824
20825 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20826
20827         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20828         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20829         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20830         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20831         (gst_fdsrc_uri_handler_init):
20832         * gst/elements/gstfdsrc.h:
20833           Port fd:// URI handler from 0.8 to fdsrc
20834
20835 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20836
20837         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20838         (gst_value_serialize_fourcc):
20839         * gst/gstvalue.h:
20840           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20841           consistent with our other format defines (#320324).
20842
20843 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20844
20845         * gst/gstvalue.c: (gst_value_is_fixed):
20846           Revert previous commit. Value lists are by definition
20847           not fixed, as they are a list of possible values.
20848
20849 2005-11-21  Andy Wingo  <wingo@pobox.com>
20850
20851         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20852         during the stable series if we need it. Fixes #319178.
20853
20854         * gst/gstevent.c (gst_event_new_filler): Removed.
20855
20856         * check/gst/gstevent.c: Update comment about filler events.
20857
20858 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20859
20860         * gst/gstvalue.c: (gst_value_is_fixed):
20861           Should handle both value arrays and value lists.
20862
20863 2005-11-21  Andy Wingo  <wingo@pobox.com>
20864
20865         patch by: Alessandro Dessina <alessandro nnva org>
20866
20867         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20868         functions to access arrays. Fixes #321962.
20869
20870 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20871
20872         * docs/gst/gstreamer.types:
20873           gst_collectpads_get_type => gst_collect_pads_get_type.
20874           
20875         * gst/base/gstbasetransform.c:
20876           Remove unused SIGNAL_HANDOFF enum.
20877
20878 2005-11-21  Andy Wingo  <wingo@pobox.com>
20879
20880         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20881         the event type (upstream, downstream, serialized). Renamed
20882         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20883         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20884         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20885
20886         * gst/gstevent.c: Update for new CUSTOM event names.
20887
20888         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20889
20890         * gst/gstevent.h:
20891         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20892         bug #319392.
20893
20894 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20895
20896         * docs/gst/gstreamer-sections.txt:
20897         * win32/common/libgstbase.def:
20898         * win32/libgstbase.def:
20899         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20900         (gst_collect_pads_class_init), (gst_collect_pads_init),
20901         (gst_collect_pads_finalize), (gst_collect_pads_new),
20902         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20903         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20904         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20905         (gst_collect_pads_start), (gst_collect_pads_stop),
20906         (gst_collect_pads_peek), (gst_collect_pads_pop),
20907         (gst_collect_pads_available), (gst_collect_pads_read),
20908         (gst_collect_pads_flush), (gst_collect_pads_event),
20909         (gst_collect_pads_chain):
20910         * gst/base/gstcollectpads.h:
20911           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20912           unimplemented functions as unimplemented. Add padding to
20913           GstCollectData. (#320766, #320423)
20914
20915 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20916
20917         * gst/gstmessage.c:
20918           Improve docs for DURATION message (usage of duration parameter)
20919           (#320113)
20920
20921 2005-11-20  Wim Taymans  <wim@fluendo.com>
20922
20923         * check/Makefile.am:
20924         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20925         (main):
20926         * gst/Makefile.am:
20927         * gst/gst.h:
20928         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20929         (gst_segment_set_seek), (gst_segment_set_newsegment),
20930         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20931         (gst_segment_clip):
20932         * gst/gstsegment.h:
20933         Added segment helper structure and methods. Not fully implemented
20934         yet.
20935         Added segment check.
20936
20937 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
20938
20939         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20940           Add a deserialisation test for fractions
20941         * examples/metadata/read-metadata.c: (message_loop),
20942         (make_pipeline), (main):
20943           Fix up metadata reading sample.
20944         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20945           Debug format fix
20946         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20947           Don't try and fixate empty caps
20948         * gst/gst_private.h:
20949           Wrap in G_BEGIN_DECLS/G_END_DECLS
20950         * gst/gstvalue.c: (gst_value_collect_fraction),
20951         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
20952         (gst_value_transform_string_fraction),
20953         (gst_value_compare_fraction):
20954           Add some extra guards to ensure that we don't end up 
20955           with an invalid denominator of 0 in a gstfraction and
20956           that fractions always get reduced.
20957
20958 2005-11-20  Wim Taymans  <wim@fluendo.com>
20959
20960         * docs/gst/gstreamer-sections.txt:
20961         * gst/gstbuffer.h:
20962         * gst/gstelement.c:
20963         * gst/gstformat.c:
20964         * gst/gstformat.h:
20965         * gst/gstindex.h:
20966         * gst/gstquery.c:
20967         * gst/gstquery.h:
20968         * gst/gstvalue.c:
20969         Doc fixes.
20970
20971 2005-11-20  Wim Taymans  <wim@fluendo.com>
20972
20973         * docs/design/part-TODO.txt:
20974         * gst/gstcaps.h:
20975         Make a proper enum of the flag.
20976
20977 2005-11-19  Wim Taymans  <wim@fluendo.com>
20978
20979         * docs/design/part-TODO.txt:
20980         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
20981         (gst_format_to_quark), (gst_format_register):
20982         * gst/gstformat.h:
20983         * gst/gstquery.c: (_gst_query_initialize),
20984         (gst_query_type_get_name), (gst_query_type_to_quark),
20985         (gst_query_type_register):
20986         * gst/gstquery.h:
20987         Add type to quark and type to string conversions.
20988
20989 2005-11-19  Andy Wingo  <wingo@pobox.com>
20990
20991         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
20992         #320097.
20993
20994 2005-11-19  Wim Taymans  <wim@fluendo.com>
20995
20996         * docs/design/part-TODO.txt:
20997         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20998         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
20999         (gst_bin_handle_message_func):
21000         * gst/gstbin.h:
21001         Make message handling overridable.
21002
21003 2005-11-19  Andy Wingo  <wingo@pobox.com>
21004
21005         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21006
21007         * gst/gstclock.h:
21008         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21009         be a GstClockTime.
21010         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21011         is a GstClockTime. Fixes #321710.
21012
21013         * gst/gstclock.h (GstClock): Remove offset property. Add
21014         internal_calibration and external_calibration. Fix padding. Pad
21015         also by GstClockTime so we don't run into problems.
21016
21017         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21018         (gst_clock_get_rate_offset): Remove.
21019         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21020
21021         * gst/gstutils.h:
21022         * gst/gstutils.c (g_static_rec_cond_wait)
21023         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21024
21025         * gst/gstbin.c: Remove terrible continue_state prototype.
21026
21027         * gst/gstelement.h (gst_element_continue_state): Make public.
21028
21029         * gst/gstelement.h:
21030         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21031         by continue_state. Fixes #319389.
21032
21033         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21034         Really fixes #168438. However I don't see anywhere where the
21035         filter function is called... stupid GStreamer...
21036         
21037         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21038         don't have a dispose function, so it won't get called when the
21039         object is unreffed, but oh well!
21040
21041         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21042         allows a destroy function to be set so user_data can be freed.
21043         Fixes #168438.
21044         (gst_index_set_filter): Call gst_index_set_filter_full.
21045
21046         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21047
21048         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21049         string should produce an error, given the lack of a way to
21050         represent NULL strings. Fixes #165650.
21051         
21052         * gst/gstvalue.h: 
21053         * gst/gstvalue.c (gst_value_array_append_value) 
21054         (gst_value_array_prepend_value, gst_value_array_get_size) 
21055         (gst_value_array_get_value): New API, copied from
21056         gst_value_list_*, only operates on arrays.
21057         (gst_value_list_append_value, gst_value_list_prepend_value) 
21058         (gst_value_list_concat, gst_value_list_get_size) 
21059         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21060
21061         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21062         init_list, because it works on both.
21063         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21064         (gst_value_copy_list_or_array): Renamed from copy_list.
21065         (gst_value_free_list_or_array): Renamed from free_list.
21066         (gst_value_collect_list_or_array): Renamed from collect_list.
21067         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21068         (gst_value_list_or_array_peek_pointer): Renamed from
21069         list_peek_pointer.
21070         (_gst_value_array_value_table, _gst_value_list_value_table):
21071         Update value table functions.
21072         (gst_value_compare_list_or_array): Renamed from compare_list.
21073
21074         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21075         some constness.
21076
21077         * gst/gsttaglist.c:
21078         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21079         GstTagList*. Fixes #143472.
21080
21081         * gst/gststructure.h: Clarify what the foreach/map functions can
21082         or can't do to their arguments.
21083
21084 2005-11-18  Wim Taymans  <wim@fluendo.com>
21085
21086         * gst/gstclock.c: (gst_clock_set_calibration),
21087         (gst_clock_get_calibration):
21088         Doc and API fixes.
21089         Calibration can be set with internal time equal to current
21090         internal time too.
21091
21092 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21093
21094         * gst/gsterror.c:
21095         * gst/gsterror.h:
21096           document
21097
21098 2005-11-18  Andy Wingo  <wingo@pobox.com>
21099
21100         * configure.ac: 
21101         * pkgconfig/gstreamer-net.pc.in:
21102         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21103         * pkgconfig/Makefile.am: Add net pkgconfig files.
21104
21105 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21106
21107         * gst/gstcaps.c:
21108         * gst/gstghostpad.c:
21109         * gst/gsttrace.c:
21110         * gst/gstvalue.c:
21111         * gst/gstvalue.h:
21112           docs fixes
21113
21114 2005-11-18  Andy Wingo  <wingo@pobox.com>
21115
21116         * gst/net/gstnetclientclock.c: Turn off debugging.
21117
21118         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21119         times connverge somewhat. Can't make a real test.
21120
21121         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21122         integer arithmetic. Return the minimum of the domain, which can be
21123         set as "internal" for gst_clock_set_calibration.
21124         (gst_net_client_clock_observe_times): Call _set_calibration.
21125         (gst_net_client_clock_new): Call _set_calibration instead of
21126         rate_offset.
21127
21128         * check/net/gstnetclientclock.c (test_functioning): Use the right
21129         adjustment api.
21130
21131         * gst/gstclock.h:
21132         * gst/gstclock.c (gst_clock_get_calibration) 
21133         (gst_clock_set_calibration): New functions, obsolete the ones I
21134         added yesterday. Doh. Precision issues mean we have to extrapolate
21135         from a point in the more recent past than 1970.
21136         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21137         obsolete.
21138         (gst_clock_adjust_unlocked): Use the right calibration data.
21139
21140 2005-11-18  Edward Hervey  <edward@fluendo.com>
21141
21142         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21143         Also reset the ->current_* values in READY->PAUSED
21144
21145 2005-11-18  Andy Wingo  <wingo@pobox.com>
21146
21147         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21148         Whoops, check the right fd. Also add some debugging.
21149         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21150         (do_linear_regression): Add a crapload of debugging. Subtract off
21151         the minimum values from the input series to discard unneeded bits.
21152         Use only int arithmetic. There is still double arithmetic when
21153         calculating the intercept that needs fixing. Return boolean to
21154         indicate success; FALSE would mean the domain or range is too
21155         great. Still needs fixes.
21156
21157 2005-11-18  Wim Taymans  <wim@fluendo.com>
21158
21159         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21160         For the current position in stream time, we need to subtract
21161         accumulated time.
21162         
21163         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21164         Release lock before calling the callback function of async
21165         entries.
21166
21167 2005-11-18  Andy Wingo  <wingo@pobox.com>
21168
21169         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21170         Port goes all the way to MAXUINT16.
21171
21172         * gst/net/gstnettimeprovider.c: Make the port range the same as
21173         for the kernel: 0 assigns, otherwise ports are less than
21174         MAXUINT16.
21175
21176         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21177         port change.
21178
21179         * check/net/gstnetclientclock.c (test_functioning): Add the start
21180         of another test. 
21181
21182 2005-11-18  Wim Taymans  <wim@fluendo.com>
21183
21184         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21185         (gst_bin_remove_func), (bin_bus_handler):
21186         * gst/gstbin.h:
21187         Removing a clock provider from a bin, triggers a clock lost message
21188         so that a new clock will be selected.
21189         Adding a clock to a bin triggers a clock provider message.
21190         Make sure we reselect a clock when we received a clock lost message.
21191         Keep a reference to the element that provided the clock.
21192
21193 2005-11-18  Andy Wingo  <wingo@pobox.com>
21194
21195         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21196         the clock initially so it produces values around the base time.
21197         (gst_net_client_clock_class_init): Typo fix.
21198         (gst_net_client_clock_thread): Add note on when the socket gets
21199         closed.
21200
21201 2005-11-17  Wim Taymans  <wim@fluendo.com>
21202
21203         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21204         Free remote and local time arrays.
21205
21206 2005-11-17  Wim Taymans  <wim@fluendo.com>
21207
21208         * gst/net/gstnetclientclock.c: (do_linear_regression),
21209         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21210         Fix compilation, uninitialized vars and a forgotten continue.
21211
21212 2005-11-17  Andy Wingo  <wingo@pobox.com>
21213
21214         * check/Makefile.am (check_PROGRAMS): 
21215         * check/net/gstnetclientclock.c: Add a most minimal test for the
21216         net client clock. More to come later.
21217
21218         * gst/net/gstnet.h: 
21219         * gst/net/Makefile.am: Add netclientclock.
21220
21221         * gst/net/gstnetclientclock.h:
21222         * gst/net/gstnetclientclock.c: New files, implement an untested
21223         GstClock that takes its time from a network time provider.
21224         Implements the algorithm in network-clock.scm.
21225
21226         * tests/network-clock.scm (*window-size*): Rename from
21227         *queue-length*.
21228         * tests/network-clock.scm (network-time): 
21229         * tests/network-clock-utils.scm (q-push): Update callers.
21230
21231 2005-11-17  Wim Taymans  <wim@fluendo.com>
21232
21233         * gst/gstbin.c: (gst_bin_provide_clock_func),
21234         (gst_bin_sort_iterator_new):
21235         And unref the child too..
21236
21237 2005-11-17  Wim Taymans  <wim@fluendo.com>
21238
21239         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21240         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21241         Refactor the sort iterator so it can be used while holding the
21242         LOCK too.
21243         Make clock selection select a clock closest to the source.
21244
21245 2005-11-17  Michael Smith <msmith@fluendo.com>
21246
21247         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21248         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21249         * gst/gstclock.h:
21250           Anonymous structs are a gcc (and some other compilers) extension, so
21251           don't use them. Since this is only for ABI-compatibility, and our
21252           API/ABI freeze is over in a few days, this whole thing will only
21253           last a few days, so don't bother trying to think up a meaningful
21254           name for the struct.
21255
21256 2005-11-17  Andy Wingo  <wingo@pobox.com>
21257
21258         * gst/gstclock.h (GstClock): Add rate and offset properties,
21259         preserving ABI stability. Add rate/offset accessors. Will file bug
21260         for the freeze break.
21261
21262         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21263         and offset, trying to keep precision and avoiding
21264         underflow/overflow.
21265         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21266         functions. Make gst_clock_set_time_adjust obsolete.
21267         (gst_clock_set_time_adjust): Note that this function is obsolete.
21268         Will file bug soon.
21269
21270         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21271         greppable by using GST_PADDING-1+1.
21272
21273 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21274
21275         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21276
21277         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21278           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21279
21280         * gst/gstpadtemplate.h:
21281         * gst/gstpluginfeature.h:
21282           Don't use c++ style comments in headers (#321638).
21283
21284 2005-11-16  Andy Wingo  <wingo@pobox.com>
21285
21286         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21287         buffer.
21288
21289         * check/net/gstnettimeprovider.c: Check to see that the time
21290         provider actually provides times. Works, yo!
21291
21292 2005-11-16  Wim Taymans  <wim@fluendo.com>
21293
21294         * check/Makefile.am:
21295         Enable more tests.
21296
21297         * check/elements/fakesrc.c: (GST_START_TEST):
21298         Set element to NULL before disposing it.
21299
21300 2005-11-16  Andy Wingo  <wingo@pobox.com>
21301
21302         * gst/net/Makefile.am:
21303         * gst/net/gstnet.h:
21304         * gst/net/gstnettimeprovider.c: 
21305         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21306         provider, include it from gstnet.h, and add it to the build.
21307
21308         * gst/net/gstnettimepacket.h: 
21309         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21310         sending and receiving.
21311
21312 2005-11-16  Wim Taymans  <wim@fluendo.com>
21313
21314         * check/Makefile.am:
21315         Enable valgrind check.
21316
21317         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21318         (gst_fake_src_alloc_buffer):
21319         Fix memleak.
21320
21321 2005-11-16  Wim Taymans  <wim@fluendo.com>
21322
21323         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21324         Call parent finalize too.
21325
21326 2005-11-16  Wim Taymans  <wim@fluendo.com>
21327
21328         * check/Makefile.am:
21329         Enable valgrind check that should work fine now.
21330
21331         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21332         * gst/gstqueue.c: (gst_queue_init):
21333         Fix memleaks in pad allocation.
21334
21335 2005-11-16  Andy Wingo  <wingo@pobox.com>
21336
21337         * gst/net/Makefile.am:
21338         * gst/net/gstnet.h: New part of core to hold network elements and
21339         objects. Put in core because it exposes API that applications want
21340         to use. The library is named libgstnet-tempname right now because
21341         of the existing libgstnet in gst-plugins-base. Solution is
21342         probably to rename the one in plugins-base; will file a bug for
21343         the freeze break.
21344
21345         * gst/net/gstnettimeprovider.c: 
21346         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21347         get_time call over the network.
21348
21349         * configure.ac: 
21350         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21351
21352         * check/Makefile.am:
21353         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21354         get additions shortly.
21355
21356 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21357
21358         * gst/gstpad.c: (gst_pad_new_from_static_template):
21359         * gst/gstpad.h:
21360           add gst_pad_new_from_static_template functions
21361         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21362         (gst_check_setup_sink_pad):
21363         * gst/elements/gsttee.c: (gst_tee_init):
21364           and use them
21365
21366 2005-11-16  Wim Taymans  <wim@fluendo.com>
21367
21368         * gst/gstpad.c: (gst_pad_pause_task):
21369         Removed warning, it's not really an error either.
21370
21371 2005-11-16  Wim Taymans  <wim@fluendo.com>
21372
21373         * gst/base/gstbasetransform.c:
21374         (gst_base_transform_prepare_output_buf),
21375         (gst_base_transform_event):
21376         Check if the caps are NULL, this can happen if the element
21377         is shutting down and the pad caps are set to NULL.
21378
21379 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21380
21381         * gst/elements/gsttee.c: (gst_tee_init):
21382           fix pad template leak in tee
21383
21384 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21385
21386         * gst/glib-compat.c: (g_value_dup_gst_object):
21387         * gst/glib-compat.h:
21388         * gst/gstpad.c: (gst_pad_set_property):
21389           use gst_object_ref when setting the pad template; this will
21390           trigger the pad template leaks on GLib 2.6 and the slaves
21391
21392 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21393
21394         * gst/glib-compat.c: (gst_flags_get_first_value):
21395         * gst/glib-compat.h:
21396         * gst/gstregistryxml.c:
21397           remove functions copied from GLib 2.6
21398
21399 2005-11-16  Michael Smith <msmith@fluendo.com>
21400
21401         * gst/Makefile.am:
21402           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21403           do, but only breaks with newer valgrind versions. We're not a
21404           valgrind tool, we have no link-time dependencies on libcoregrind.
21405
21406 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21407
21408         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21409           some debug changes
21410         * gst/gstmessage.h:
21411           typo fixes
21412
21413 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21414
21415         * gst/base/gstbasesrc.c: (gst_base_src_init):
21416         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21417         * gst/gstqueue.c: (gst_queue_init):
21418         * gst/gstregistryxml.c: (load_feature):
21419           Revert all these unrefs, they don't even pass make check !
21420
21421 2005-11-15  Johan Dahlin  <johan@gnome.org>
21422
21423         * gst/base/gstbasesrc.c: (gst_base_src_init):
21424         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21425         * gst/gstqueue.c: (gst_queue_init): 
21426         Free pad templates, fixes a couple of leaks.
21427
21428 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21429
21430         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21431
21432         * gst/gstpad.c: (gst_pad_get_property):
21433           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21434           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21435           (#321452)
21436
21437 2005-11-15  Wim Taymans  <wim@fluendo.com>
21438
21439         * gst/gstevent.c:
21440         Small doc update.
21441
21442 2005-11-15  Andy Wingo  <wingo@pobox.com>
21443
21444         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21445
21446         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21447         using GST_CLOCK_TIME_NONE to disable base time management.
21448         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21449         time if it was NONE before.
21450         (gst_pipeline_change_state): Only munge the base time if
21451         stream_time != GST_CLOCK_TIME_NONE.
21452
21453         * check/gst/gstpipeline.c (test_base_time): Punt around the
21454         problem of the probe not being called, because that's not the
21455         issue I'm looking at. Add a check that setting stream_time to NONE
21456         disables base time management.
21457         
21458 2005-11-15  Wim Taymans  <wim@fluendo.com>
21459
21460         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21461         segment_stop == -1 at startup.
21462
21463         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21464         (gst_base_transform_change_state):
21465         Init segment values at start.
21466
21467 2005-11-15  Wim Taymans  <wim@fluendo.com>
21468
21469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21470         0 segment values are 0 in any format.
21471
21472         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21473         * gst/base/gstbasetransform.h:
21474         Parse newsegment correctly in basetransform
21475
21476         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21477         Sync to clock using updated segment values.
21478
21479 2005-11-15  Andy Wingo  <wingo@pobox.com>
21480
21481         * check/gst/gstpipeline.c (test_base_time): Add check that the
21482         base time and stream time are reset correctly.
21483
21484 2005-11-15  Wim Taymans  <wim@fluendo.com>
21485
21486         * docs/design/part-TODO.txt:
21487         Some more TODO items.
21488
21489 2005-11-15  Andy Wingo  <wingo@pobox.com>
21490
21491         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21492         error if the user selected "no clock" as the clocking method.
21493
21494         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21495         timestamps with live capture.
21496
21497         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21498         is 0 but we are a live source, timestamp the buffers using the
21499         element's clock.
21500
21501 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21502
21503         * docs/gst/gstreamer-sections.txt:
21504         * gst/gsterror.c:
21505         * gst/gstghostpad.c:
21506         * gst/gstobject.h:
21507         * gst/gstxml.c:
21508           more section docs
21509
21510 2005-11-14  Wim Taymans  <wim@fluendo.com>
21511
21512         * common/gst.supp:
21513           add suppressions from Wim's Debian machine
21514
21515 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21516
21517         * common/gst.supp:
21518           add suppressions from Andy's AMD64 Ubuntu machine
21519
21520 2005-11-14  Andy Wingo  <wingo@pobox.com>
21521
21522         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21523         STATE_LOCK not necessary. Fixes #311489.
21524
21525         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21526         #305291.
21527
21528         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21529         this function is not implemented.
21530
21531 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21532
21533         * gst/base/gstbasetransform.c:
21534         (gst_base_transform_prepare_output_buf):
21535         Ref the source pad caps while we need them.
21536         Fixes (#321386)
21537
21538 2005-11-11  Wim Taymans  <wim@fluendo.com>
21539
21540         * docs/gst/gstreamer-sections.txt:
21541         Added some docs for GstCollectData.
21542
21543         * gst/base/gstadapter.c:
21544         Some small code example fix.
21545
21546         * gst/base/gstcollectpads.c:
21547         * gst/base/gstcollectpads.h:
21548         Document some more.
21549
21550 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21551
21552         * configure.ac: back to HEAD
21553
21554 === release 0.9.5 ===
21555
21556 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21557
21558         * configure.ac:
21559           releasing 0.9.5, "Bike Lunch Day"
21560
21561 2005-11-11  Wim Taymans  <wim@fluendo.com>
21562
21563         * gst/gstbuffer.c: (_gst_buffer_copy):
21564         Copy more flags.
21565
21566         * gst/gstcaps.c: (gst_caps_is_equal):
21567         Fix some docs.
21568         Make _is_equal fast in the trivial cases.
21569
21570         * gst/gstminiobject.c:
21571         * gst/gstminiobject.h:
21572         More docs. Spifify .h file.
21573
21574         * gst/gstutils.c:
21575         Small doc update.
21576
21577 2005-11-11  Wim Taymans  <wim@fluendo.com>
21578
21579         * gst/base/gstbasetransform.c:
21580         (gst_base_transform_prepare_output_buf),
21581         (gst_base_transform_handle_buffer):
21582         Small cleanups.
21583         If we're processing a buffer and need to allocate an output
21584         buffer, we cannot accept a format change. If we did get a 
21585         format change, we have to alloc a buffer ourselves of the 
21586         right size.
21587
21588 2005-11-11  Wim Taymans  <wim@fluendo.com>
21589
21590         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21591         While checking the flag for reentrancy in the gstcaps function
21592         is nice to detect recursive invocations, it also makes it 
21593         impossible to call getcaps from multiple threads, which must be
21594         possible. So, checking for recursive calls has to go.
21595
21596 2005-11-11  Michael Smith <msmith@fluendo.com>
21597
21598         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21599           Don't sync on buffers that fall partially outside our current
21600           segment. Prevents an assertion failure/abort playing some files.
21601
21602 2005-11-10  Andy Wingo  <wingo@pobox.com>
21603
21604         * check/gst/gstbin.c (test_message_state_changed_children): Style
21605         fix..
21606
21607         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21608         gst_bus_poll with the signal watch. Ensures that poll and a signal
21609         watch see the same messages.
21610
21611         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21612         a poll and a watch at the same time get the same messages.
21613
21614 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21615
21616         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21617         * gst/gstcaps.c: (gst_caps_intersect):
21618           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21619           and it's not needed.
21620
21621 2005-11-10  Wim Taymans  <wim@fluendo.com>
21622
21623         * docs/design/part-TODO.txt:
21624         Updated todo.
21625
21626 2005-11-10  Wim Taymans  <wim@fluendo.com>
21627
21628         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21629         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21630         (gst_base_src_do_sync), (gst_base_src_get_range):
21631         Implement clock sync in base class.
21632
21633 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21634
21635         patch by: Tim-Philipp Müller <tim at centricular dot net>
21636
21637         * gst/gststructure.c: (gst_structure_parse_field),
21638         (gst_structure_from_string):
21639           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21640           so that gst_parse_launch() can deal with spaces in filtered link
21641           caps (fixes #164479)
21642         * check/gst/capslist.h:
21643         * check/gst/gststructure.c: (GST_START_TEST):
21644           add unit tests for this change
21645
21646 2005-11-10  Wim Taymans  <wim@fluendo.com>
21647
21648         * docs/gst/gstreamer-sections.txt:
21649         * gst/gstelement.c:
21650         * gst/gstelement.h:
21651         Fix docs, move some STATE macros to private.
21652
21653 2005-11-10  Wim Taymans  <wim@fluendo.com>
21654
21655         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21656         Added check for bug #317341
21657
21658         * gst/gstbuffer.c:
21659         * gst/gstbuffer.h:
21660         Some more spiffifying.
21661
21662         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21663         Call peer linkfunction if we are a source pad. Totally fixes
21664         #317341
21665
21666         * gst/gstpad.c:
21667         Update docs, source pads should call the peer linkfunction
21668         so they can atomically perform the pad link.
21669
21670 2005-11-09  Wim Taymans  <wim@fluendo.com>
21671
21672         * gst/gstbuffer.c:
21673         * gst/gstbuffer.h:
21674         Uber-spiffy-spiffify some more.
21675
21676 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21677
21678         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21679         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21680         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21681         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21682         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21683         * gst/gstpad.c: (gst_pad_init):
21684           Use GST_DEBUG_FUNCPTR() more extensively.
21685
21686 2005-11-09  Wim Taymans  <wim@fluendo.com>
21687
21688         * gst/gstobject.c: (gst_object_class_init):
21689         * gst/gstobject.h:
21690         Documentation fixes.
21691
21692 2005-11-09  Edward Hervey  <edward@fluendo.com>
21693
21694         * gst/gsttypefindfactory.c:
21695         Fix docs.
21696         
21697 2005-11-09  Edward Hervey  <edward@fluendo.com>
21698
21699         * gst/base/gsttypefindhelper.c:
21700         * gst/gsttypefind.c:
21701         * gst/gsttypefind.h:
21702         Fix docs.
21703
21704 2005-11-09  Wim Taymans  <wim@fluendo.com>
21705
21706         * gst/gstiterator.c:
21707         Fix revision data.
21708
21709         * gst/gsttask.c:
21710         * gst/gsttask.h:
21711         Fix docs.
21712
21713 2005-11-09  Wim Taymans  <wim@fluendo.com>
21714
21715         * gst/gstevent.h:
21716         * gst/gsturi.h:
21717         Fix docs.
21718
21719 2005-11-09  Wim Taymans  <wim@fluendo.com>
21720
21721         * docs/gst/gstreamer-sections.txt:
21722         Moved the message async delivery private lock and cond
21723         to the private section.
21724
21725         * gst/gstmessage.c:
21726         * gst/gstmessage.h:
21727         Fixed docs.
21728
21729 2005-11-09  Edward Hervey  <edward@fluendo.com>
21730
21731         * docs/gst/gstreamer-sections.txt:
21732         * gst/gsturi.c:
21733         * gst/gsturi.h:
21734         Document GstURIHandler
21735
21736 2005-11-09  Wim Taymans  <wim@fluendo.com>
21737
21738         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21739         (gst_iterator_find_custom):
21740         * gst/gstiterator.h:
21741         Fix iterator docs.
21742
21743 2005-11-09  Wim Taymans  <wim@fluendo.com>
21744
21745         * gst/gstbin.h:
21746         Document another field.
21747
21748         * gst/gststructure.c:
21749         * gst/gststructure.h:
21750         Document.
21751
21752 2005-11-09  Wim Taymans  <wim@fluendo.com>
21753
21754         * gst/gstbin.h:
21755         Documented structs.
21756
21757 2005-11-09  Wim Taymans  <wim@fluendo.com>
21758
21759         * docs/gst/gstreamer-sections.txt:
21760         Added some new macros.
21761
21762         * gst/gstclock.c:
21763         * gst/gstclock.h:
21764         * gst/gstobject.h:
21765         Docs updates.
21766
21767 2005-11-09  Wim Taymans  <wim@fluendo.com>
21768
21769         * docs/design/part-TODO.txt:
21770         Some more items for the TODO
21771
21772         * gst/gstcaps.c:
21773         * gst/gstcaps.h:
21774         Document GstCaps.
21775
21776 2005-11-09  Andy Wingo  <wingo@pobox.com>
21777
21778         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21779         to work on something else now tho...
21780
21781         * gst/base/gstadapter.c: More adapter docs.
21782
21783         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21784         (gst_file_sink_stop): New functions, replace the state change
21785         handler.
21786         (gst_file_sink_class_init): Hook up the start and stop functions.
21787         (gst_file_sink_base_init): Don't set the state change handler any
21788         more. It was a bit ugly too, being set from here...
21789         (gst_file_sink_get_property, gst_file_sink_set_property):
21790         Cleanups...
21791         (gst_file_sink_set_location): More robust check that doesn't call
21792         GST_STATE. Ugggggg.
21793
21794 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21795
21796         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21797           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21798
21799 2005-11-08  Wim Taymans  <wim@fluendo.com>
21800
21801         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21802         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21803         (gst_base_sink_chain), (gst_base_sink_change_state):
21804         * gst/base/gstbasesink.h:
21805         * gst/base/gstbasesrc.h:
21806         * gst/gstelement.h:
21807         * gst/gstevent.h:
21808         Avoid excessive typechecking in macros.
21809
21810         * gst/gstminiobject.c: (gst_mini_object_get_type),
21811         (gst_mini_object_init), (gst_mini_object_new),
21812         (gst_mini_object_free):
21813         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21814         (gst_object_finalize):
21815         Remove cruft code, optimize alloc_trace.
21816
21817 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21818
21819         * docs/faq/gst-uninstalled:
21820           fix up PS1 for systems that try to reset it
21821
21822 2005-11-07  Wim Taymans  <wim@fluendo.com>
21823
21824         * gst/base/gstbasesrc.c: (gst_base_src_init),
21825         (gst_base_src_get_range):
21826         Set the segment_end to -1 initially. Fixed typefind.
21827
21828 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21829
21830         * gst/base/gstadapter.c:
21831           Debug category should be 'adapter', not 'GstAdapter'.
21832           
21833         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21834         (gst_collectpads_class_init), (gst_collectpads_init),
21835         (gst_collectpads_peek), (gst_collectpads_pop),
21836         (gst_collectpads_event), (gst_collectpads_chain):
21837           Add debug category and some debugging output. Use boilerplate
21838           macros. Remove some extraneous words from docs.
21839
21840 2005-11-05  Andy Wingo  <wingo@pobox.com>
21841
21842         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21843         macro.
21844
21845 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21846
21847         * docs/gst/gstreamer-sections.txt:
21848         * gst/gstcaps.h:
21849         * gst/gstinfo.c:
21850         * gst/gstminiobject.h:
21851         * gst/gstobject.h:
21852         * gst/gstutils.h:
21853           more docs added
21854
21855 2005-11-04  Wim Taymans  <wim@fluendo.com>
21856
21857         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21858         Small update to stop at the configured segment_end
21859         position.
21860
21861 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21862
21863         * gst/gstregistry.c:
21864         * gst/gstregistry.h:
21865           added missing docs
21866
21867 2005-11-04  Edward Hervey  <edward@fluendo.com>
21868
21869         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21870         Check if we are doing a segment seek and have arrived at the
21871         end of that segment.
21872
21873 2005-11-04  Wim Taymans  <wim@fluendo.com>
21874
21875         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21876         Don't leak a mutex unlock in case of an error.
21877
21878         * gst/gstbus.h:
21879         Doc fixes.
21880
21881 2005-11-04  Wim Taymans  <wim@fluendo.com>
21882
21883         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21884         (gst_bus_post):
21885         Get the context to wake up only once.
21886
21887 2005-11-03  Wim Taymans  <wim@fluendo.com>
21888
21889         * check/states/sinks.c: (GST_START_TEST):
21890         Uncomment fixed check.
21891
21892         * docs/design/part-TODO.txt:
21893         Updated TODO.
21894
21895         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21896         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21897         (gst_base_sink_get_position):
21898         If we are going to PLAYING, post the right pending state
21899         when we post the intermediate paused message.
21900
21901         * gst/gstelement.c: (gst_element_continue_state),
21902         (gst_element_set_state_func), (gst_element_change_state):
21903         Don't post state changes that were between the same state
21904         and were not ASYNC.
21905
21906 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21907
21908         * docs/gst/gstreamer-sections.txt:
21909         * gst/gstcaps.h:
21910         * gst/gstinfo.c:
21911         * gst/gstminiobject.h:
21912         * gst/gstobject.h:
21913         * gst/gstutils.h:
21914           more docs and doc style fixes
21915
21916 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21917
21918         * docs/gst/gstreamer-sections.txt:
21919         * gst/gstelement.c:
21920         * gst/gstminiobject.c:
21921         doc fixes
21922
21923 2005-11-03  Andy Wingo  <wingo@pobox.com>
21924
21925         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21926         state-changed messages actually have the right order and the right
21927         values.
21928
21929 2005-11-03  Wim Taymans  <wim@fluendo.com>
21930
21931         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21932         Added some more checks. Specifically the case where NO_PREROLL
21933         elements are in the pipeline.
21934
21935         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21936         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21937         (gst_base_sink_get_position):
21938         Post READY->PAUSED state change messages too.
21939         Fix bug where VOID was posted as pending state...
21940
21941         * gst/gstbin.c: (gst_bin_recalc_state):
21942         use _element_continue_state() to continue the state change.
21943
21944         * gst/gstelement.c: (gst_element_continue_state),
21945         (gst_element_commit_state), (gst_element_set_state_func),
21946         (gst_element_change_state), (gst_element_change_state_func):
21947         Lots of state change cleanups, assign the STATE_RETURN in
21948         a new continue_state() function that also propagates the
21949         last return value from a state change to the app.
21950         Update some debug statements with proper category.
21951
21952 2005-11-03  Wim Taymans  <wim@fluendo.com>
21953
21954         * docs/design/part-events.txt:
21955         * docs/design/part-gstpipeline.txt:
21956         * docs/design/part-messages.txt:
21957         * docs/design/part-overview.txt:
21958         * docs/design/part-seeking.txt:
21959         * docs/design/part-states.txt:
21960         * docs/design/part-trickmodes.txt:
21961         * docs/manual/advanced-position.xml:
21962         Small docs updates.
21963
21964         * gst/gstobject.h:
21965         People think !! is ugly, this looks better.
21966
21967         * gst/gstpad.c: (gst_pad_set_blocked_async):
21968         Remove !! since it's fixed elsewhere now.
21969
21970 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21971
21972         * gst/gstminiobject.h:
21973         * gst/gstobject.h:
21974           Add !! to _FLAG_IS_SET macros to make the result boolean.
21975
21976 2005-11-03  Edward Hervey  <edward@fluendo.com>
21977
21978         * gst/gstpad.c: (gst_pad_set_blocked_async):
21979         comparing a flag and a gboolean rarely returns coherent results...
21980         Added two characters (!!) to make that work correctly.
21981         
21982 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21983
21984         * gst/gstbus.c: (gst_bus_class_init):
21985           Fix some typos.
21986           
21987         * gst/gstqueue.c: (gst_queue_loop):
21988           Don't assume a miniobject that isn't a buffer is an
21989           event (it could be that there is a refcounting
21990           problem somewhere and the pointer is stale and
21991           refers to an already destroyed miniobject).
21992
21993 2005-11-03  Julien MOUTTE  <julien@moutte.net>
21994
21995         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
21996
21997 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
21998
21999         * docs/manual/advanced-position.xml:
22000           Update seek example and explanations to current 0.9 API.
22001
22002         * gst/elements/gsttypefindelement.c:
22003         (gst_type_find_element_activate):
22004           Remove FIXME comment now that the found caps
22005           are unreffed.
22006
22007 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22008
22009         * gst/gstregistryxml.c: (load_feature):
22010           Add another GST_STR_NULL instance
22011
22012 2005-11-02  Edward Hervey  <edward@fluendo.com>
22013
22014         * gst/gstpad.c: (handle_pad_block):
22015         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22016         
22017 2005-11-02  Wim Taymans  <wim@fluendo.com>
22018
22019         * gst/gstbin.c:
22020         Fix typo in docs.
22021
22022         * gst/gstelement.c: (gst_element_commit_state):
22023         Remove unused value.
22024
22025         * gst/gstiterator.c:
22026         Mention that the returned element is reffed in the docs.
22027
22028 2005-11-02  Wim Taymans  <wim@fluendo.com>
22029
22030         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22031         (gst_pad_push), (gst_pad_push_event):
22032         Unlock blocked pads when they are flushed.
22033
22034 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22035
22036         * docs/README:
22037         * docs/gst/gstreamer-sections.txt:
22038         * gst/gstbin.c:
22039           doc updates
22040         * gst/gstregistry.c: (gst_registry_scan_path_level):
22041           fix for a nasty little missed situation where an installed plug-in
22042           which was in the cache did not get overridden by an uninstalled one
22043           which was earlier in the plugin path because the newly created plugin
22044           for the uninstalled one (not in the registry) didn't get its
22045           ->registered set to TRUE
22046
22047 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22048
22049         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22050         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22051         (gst_collectpads_is_active), (gst_collectpads_collect),
22052         (gst_collectpads_collect_range), (gst_collectpads_start),
22053         (gst_collectpads_stop), (gst_collectpads_peek),
22054         (gst_collectpads_pop), (gst_collectpads_available),
22055         (gst_collectpads_read), (gst_collectpads_flush):
22056           Guard public API with assertions.
22057         
22058         * gst/gstpad.c:
22059           Fix docs for gst_pad_set_link_function().
22060
22061 2005-11-02  Johan Dahlin  <johan@gnome.org>
22062
22063         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22064         Unref found_caps after we used it.
22065
22066 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22067
22068         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22069           Don't try to ref NULL.
22070
22071 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22072
22073         * win32/common/config.h.in:
22074           provide a GST_FUNCTION that just gives a string for now
22075
22076 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22077
22078         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22079         (gst_object_flags_get_type), (register_gst_bin_flags),
22080         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22081         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22082         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22083         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22084         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22085         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22086         (gst_clock_flags_get_type), (register_gst_state),
22087         (gst_state_get_type), (register_gst_state_change_return),
22088         (gst_state_change_return_get_type), (register_gst_state_change),
22089         (gst_state_change_get_type), (register_gst_element_flags),
22090         (gst_element_flags_get_type), (register_gst_core_error),
22091         (gst_core_error_get_type), (register_gst_library_error),
22092         (gst_library_error_get_type), (register_gst_resource_error),
22093         (gst_resource_error_get_type), (register_gst_stream_error),
22094         (gst_stream_error_get_type), (register_gst_event_type),
22095         (gst_event_type_get_type), (register_gst_seek_type),
22096         (gst_seek_type_get_type), (register_gst_seek_flags),
22097         (gst_seek_flags_get_type), (register_gst_format),
22098         (gst_format_get_type), (register_gst_index_certainty),
22099         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22100         (gst_index_entry_type_get_type),
22101         (register_gst_index_lookup_method),
22102         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22103         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22104         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22105         (gst_index_flags_get_type), (register_gst_debug_level),
22106         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22107         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22108         (gst_iterator_result_get_type), (register_gst_iterator_item),
22109         (gst_iterator_item_get_type), (register_gst_message_type),
22110         (gst_message_type_get_type), (register_gst_mini_object_flags),
22111         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22112         (gst_pad_link_return_get_type), (register_gst_flow_return),
22113         (gst_flow_return_get_type), (register_gst_activate_mode),
22114         (gst_activate_mode_get_type), (register_gst_pad_direction),
22115         (gst_pad_direction_get_type), (register_gst_pad_flags),
22116         (gst_pad_flags_get_type), (register_gst_pad_presence),
22117         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22118         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22119         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22120         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22121         (gst_plugin_flags_get_type), (register_gst_rank),
22122         (gst_rank_get_type), (register_gst_query_type),
22123         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22124         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22125         (gst_tag_flag_get_type), (register_gst_task_state),
22126         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22127         (gst_alloc_trace_flags_get_type),
22128         (register_gst_type_find_probability),
22129         (gst_type_find_probability_get_type), (register_gst_uri_type),
22130         (gst_uri_type_get_type), (register_gst_parse_error),
22131         (gst_parse_error_get_type):
22132         * win32/common/gstversion.h:
22133           update win32 copies
22134
22135 2005-11-01  Luca Ognibene  <luogni@tin.it>
22136
22137         * gst/gst.c:
22138           fix docs. popt is dead, long live GOption.
22139
22140 2005-10-31  Wim Taymans  <wim@fluendo.com>
22141
22142         * gst/gstbuffer.h:
22143         Small doc fix.
22144
22145 2005-10-31  Andy Wingo  <wingo@pobox.com>
22146
22147         * Boo!
22148
22149         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22150
22151         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22152         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22153         the possibility of deadlocks here if code calling notify() or
22154         set() has a lock that can be taken in another notify handler (ABBA
22155         with class lock and e.g. python GIL state lock).
22156
22157 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22158
22159         * gst/gstbus.c: Doc updates.
22160
22161 2005-10-28  Wim Taymans  <wim@fluendo.com>
22162
22163         * docs/design/part-TODO.txt:
22164         * gst/gstiterator.c:
22165         * gst/gstsystemclock.c:
22166         * gst/gstsystemclock.h:
22167         Doc updates.
22168
22169 2005-10-28  Edward Hervey  <edward@fluendo.com>
22170
22171         * docs/gst/gstreamer-docs.sgml:
22172         * docs/gst/gstreamer-sections.txt:
22173         the GstURIType documentation page is private, it only defines GstURIType
22174         which should be defined in the GstURIHandler page
22175         
22176 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22177
22178         * gst/gstbin.c: (gst_bin_class_init):
22179         * gst/gstbin.h:
22180         * gst/gstutils.c:
22181         Documentation updates.
22182
22183 2005-10-28  Wim Taymans  <wim@fluendo.com>
22184
22185         * docs/gst/gstreamer-sections.txt:
22186         * gst/gstclock.c:
22187         * gst/gstclock.h:
22188         Documented the clocks.
22189
22190 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22191
22192         * docs/gst/gstreamer-sections.txt:
22193           move some macros to private sections
22194         * gst/gstminiobject.c:
22195         * gst/gstminiobject.h:
22196           add descriptions provided by ds and some more
22197         * gst/gstpad.h:
22198           mark macro as to be removed
22199
22200 2005-10-28  Wim Taymans  <wim@fluendo.com>
22201
22202         * docs/design/part-TODO.txt:
22203         Add an item to TODO.
22204
22205         * gst/gstiterator.c: (gst_iterator_fold),
22206         (gst_iterator_find_custom):
22207         * gst/gstiterator.h:
22208         Add iterator docs.
22209
22210 2005-10-28  Wim Taymans  <wim@fluendo.com>
22211
22212         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22213         (gst_base_transform_init):
22214         Don't leak class.
22215
22216         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22217         An EOS event marks the queue as completely filled.
22218
22219 2005-10-27  Wim Taymans  <wim@fluendo.com>
22220
22221         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22222         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22223         Some more debugging.
22224
22225         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22226         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22227         (gst_base_transform_event), (gst_base_transform_getrange),
22228         (gst_base_transform_chain):
22229         * gst/base/gstbasetransform.h:
22230         Fix debugging,
22231         Protect transform and concurrent buffer alloc with a new lock.
22232         Try not to break ABI/API.
22233
22234 2005-10-27  Wim Taymans  <wim@fluendo.com>
22235
22236         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22237         (gst_base_src_init), (gst_base_src_query),
22238         (gst_base_src_default_newsegment),
22239         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22240         (gst_base_src_send_event), (gst_base_src_event_handler),
22241         (gst_base_src_pad_get_range), (gst_base_src_loop),
22242         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22243         (gst_base_src_start), (gst_base_src_deactivate),
22244         (gst_base_src_activate_push), (gst_base_src_change_state):
22245         Move some stuff around and cleanup things.
22246
22247 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22248
22249         * gst/base/gstbasesrc.c: (gst_base_src_query):
22250           Add missing break statements.
22251
22252 2005-10-27  Wim Taymans  <wim@fluendo.com>
22253
22254         * check/gst/gstbin.c: (GST_START_TEST):
22255         An extra refcount is taken in basesrc.
22256
22257         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22258         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22259         (gst_base_src_loop):
22260         Small cleanups, check for flushing after being unlocked from the 
22261         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22262         Don't send out EOS when going to READY.
22263
22264 2005-10-27  Wim Taymans  <wim@fluendo.com>
22265
22266         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22267         (gst_base_sink_get_position):
22268         Some more debug.
22269
22270         * gst/gstbin.c: (message_check), (bin_replace_message),
22271         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22272         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22273         (bin_query_duration_init), (bin_query_duration_fold),
22274         (bin_query_duration_done), (bin_query_generic_fold),
22275         (gst_bin_query):
22276         * tools/gst-launch.c: (main):
22277         Remove old option.
22278
22279 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22280
22281         * examples/controller/audio-example.c: (main):
22282         * examples/queue/queue.c: (event_loop):
22283         * gst/base/gstbasetransform.h:
22284         * gst/gstelement.c: (gst_element_send_event):
22285         * gst/gstevent.h:
22286         * gst/gstpad.c: (gst_pad_send_event):
22287           fixing examples
22288           fixing docs typos
22289           changing log priority in error situations
22290
22291 2005-10-25  Wim Taymans  <wim@fluendo.com>
22292
22293         * gst/gstbin.c: (message_check), (bin_replace_message),
22294         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22295         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22296         (bin_query_duration_init), (bin_query_duration_fold),
22297         (bin_query_duration_done), (bin_query_generic_fold),
22298         (gst_bin_query):
22299         Some doc and debug updates.
22300         Cache previously requested query DURATION for speed. invalidate
22301         cached duration if element posts a DURATION message.
22302
22303 2005-10-25  Wim Taymans  <wim@fluendo.com>
22304
22305         * docs/design/part-TODO.txt:
22306         Update TODO.
22307
22308         * gst/gstbin.c: (message_check), (bin_replace_message),
22309         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22310         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22311         (bin_query_duration_init), (bin_query_duration_fold),
22312         (bin_query_duration_done), (bin_query_generic_fold),
22313         (gst_bin_query):
22314         Handle SEGMENT_START/DONE messages correctly.
22315         More evolved query algorithm that handles duration queries
22316         correctly.
22317
22318         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22319         (gst_element_get_state_func), (gst_element_abort_state),
22320         (gst_element_commit_state), (gst_element_lost_state):
22321         Some more debugging.
22322
22323         * gst/gstmessage.h:
22324         Added doc.
22325
22326 2005-10-25  Wim Taymans  <wim@fluendo.com>
22327
22328         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22329         Don't use invalid stream_time.
22330
22331         * gst/gstevent.c: (gst_event_new_newsegment):
22332         stream_time in newsegment cannot be undefined.
22333
22334 2005-10-24  Wim Taymans  <wim@fluendo.com>
22335
22336         * gst/gstbus.c:
22337         Doc fix.
22338
22339         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22340         (gst_queue_loop):
22341         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22342
22343 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22344
22345         * docs/libs/tmpl/gstdparam.sgml:
22346         * docs/libs/tmpl/gstdplinint.sgml:
22347         * docs/libs/tmpl/gstdpman.sgml:
22348         * docs/libs/tmpl/gstdpsmooth.sgml:
22349         * docs/libs/tmpl/gstunitconvert.sgml:
22350           these are obsolete
22351
22352 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22353
22354         * configure.ac:
22355           back to HEAD
22356
22357 === release 0.9.4 ===
22358
22359 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22360
22361         * configure.ac:
22362           releasing 0.9.4, "Tyrannosaurus Rex"
22363
22364 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22365
22366         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22367         (gst_file_sink_get_current_offset):
22368           Use fseeko() and ftello() if available. When falling back on
22369           lseek() to get the current offset, fflush() first to make sure
22370           everything is up-to-date and we get the right offset.
22371
22372 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22373
22374         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22375         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22376         * gst/gsterror.c: (_gst_stream_errors_init):
22377         * gst/gsterror.h:
22378         * gst/gstqueue.c: (gst_queue_loop):
22379         * po/POTFILES.in:
22380           remove prematurely added error category and clean up the instances
22381
22382 2005-10-21  Wim Taymans  <wim@fluendo.com>
22383
22384         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22385         (gst_base_sink_get_position), (gst_base_sink_query),
22386         (gst_base_sink_change_state):
22387         Simply set the right flag when going to playing, that's all
22388         we need to do instead of calling a function inside the object
22389         lock (that could take the lock as well and deadlock)
22390
22391 2005-10-21  Wim Taymans  <wim@fluendo.com>
22392
22393         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22394         (gst_base_src_loop):
22395         Don't warn, the peer element knows what to do best when
22396         the seek failed, it might try something else.
22397
22398 2005-10-21  Wim Taymans  <wim@fluendo.com>
22399
22400         * gst/base/gstbasesrc.c: (gst_base_src_init),
22401         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22402         Fix seeking.
22403
22404 2005-10-21  Wim Taymans  <wim@fluendo.com>
22405
22406         * docs/design/part-segments.txt:
22407         More docs.
22408
22409         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22410         Correctly set caps, even on the subbufer.
22411
22412 2005-10-21  Wim Taymans  <wim@fluendo.com>
22413
22414         * docs/gst/gstreamer-docs.sgml:
22415         * docs/gst/gstreamer-sections.txt:
22416         * gst/gstelement.h:
22417         * gst/gstevent.c:
22418         * gst/gstevent.h:
22419         * gst/gstmessage.h:
22420         * gst/gstpad.h:
22421         * gst/gstparse.h:
22422         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22423         * gst/gsttask.h:
22424         * gst/gstutils.c:
22425         * gst/gstutils.h:
22426         And 2% more doc coverage.
22427
22428 2005-10-21  Andy Wingo  <wingo@pobox.com>
22429
22430         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22431         position reporting.
22432
22433 2005-10-20  Wim Taymans  <wim@fluendo.com>
22434
22435         * gst/gsterror.c: (gst_error_get_message):
22436         * gst/gstparse.h:
22437         * gst/gstquery.h:
22438         * gst/gststructure.c:
22439         * gst/gsttrace.c:
22440         * gst/gstutils.c:
22441         More docs.
22442
22443 2005-10-20  Wim Taymans  <wim@fluendo.com>
22444
22445         * gst/gstbuffer.h:
22446         * gst/gstpad.c:
22447         * gst/gstparse.c:
22448         Another 1% more coverage.
22449
22450 2005-10-20  Wim Taymans  <wim@fluendo.com>
22451
22452         * docs/gst/gstreamer-sections.txt:
22453         * gst/gstelement.c: (gst_element_get_state_func),
22454         (gst_element_abort_state), (gst_element_commit_state),
22455         (gst_element_lost_state):
22456         * gst/gstevent.h:
22457         * gst/gstquery.c: (gst_query_set_position),
22458         (gst_query_parse_position), (gst_query_set_duration),
22459         (gst_query_parse_duration), (gst_query_new_convert):
22460         * gst/gstutils.c:
22461         Yay! 1% more docs coverage.
22462
22463 2005-10-20  Wim Taymans  <wim@fluendo.com>
22464
22465         * gst/gstpad.h:
22466         * gst/gstquery.c: (gst_query_set_position),
22467         (gst_query_parse_position), (gst_query_set_duration),
22468         (gst_query_parse_duration), (gst_query_new_convert):
22469         * gst/gstquery.h:
22470         * gst/gstutils.c: (gst_element_query_convert):
22471         * gst/gstutils.h:
22472         Docs and consistency fixes.
22473
22474 2005-10-20  Wim Taymans  <wim@fluendo.com>
22475
22476         * gst/gsttask.c:
22477         * gst/gsttask.h:
22478         More docs.
22479
22480 2005-10-20  Wim Taymans  <wim@fluendo.com>
22481
22482         * gst/gstbin.c: (message_check), (bin_replace_message),
22483         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22484         (update_degree), (gst_bin_sort_iterator_next),
22485         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22486         Reworked the message handling a bit, cache the messages instead of
22487         only the senders. alows us to do more in the future.
22488
22489 2005-10-20  Wim Taymans  <wim@fluendo.com>
22490
22491         * docs/design/part-TODO.txt:
22492         Update TODO
22493
22494         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22495         (gst_base_sink_query):
22496         Don't use clock time to report position when in EOS.
22497
22498 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22499
22500         * tools/gst-inspect.c: (print_interfaces),
22501         (print_element_properties_info), (print_element_info):
22502           Fix interface output with gst-inspect -a; don't print
22503           newlines after double/float properties.
22504
22505 2005-10-20  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22508         (gst_base_sink_query):
22509         Speed up current position calculation.
22510
22511         * gst/base/gstbasesrc.c: (gst_base_src_query),
22512         (gst_base_src_default_newsegment):
22513         Correctly set stream position in newsegment.
22514
22515         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22516         (update_degree), (gst_bin_sort_iterator_next),
22517         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22518         * gst/gstmessage.c: (gst_message_new_custom):
22519         Clean up debugging info
22520
22521         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22522         (gst_queue_loop), (gst_queue_handle_src_query):
22523         Pause task faster.
22524
22525 2005-10-19  Wim Taymans  <wim@fluendo.com>
22526
22527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22528         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22529         Fix query handling again.
22530
22531 2005-10-19  Wim Taymans  <wim@fluendo.com>
22532
22533         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22534         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22535         * gst/base/gstbasesrc.c: (gst_base_src_query):
22536         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22537         * gst/elements/gsttypefindelement.c:
22538         (gst_type_find_handle_src_query), (find_element_get_length),
22539         (gst_type_find_element_activate):
22540         API change fix.
22541
22542         * gst/gstquery.c: (gst_query_new_position),
22543         (gst_query_set_position), (gst_query_parse_position),
22544         (gst_query_new_duration), (gst_query_set_duration),
22545         (gst_query_parse_duration), (gst_query_set_segment),
22546         (gst_query_parse_segment):
22547         * gst/gstquery.h:
22548         Bundling query position/duration is not a good idea since duration
22549         does not change much and we don't want to recalculate it for every
22550         position query, so they are separated again..
22551         Base value in segment query is not needed.
22552
22553         * gst/gstqueue.c: (gst_queue_handle_src_query):
22554         * gst/gstutils.c: (gst_element_query_position),
22555         (gst_element_query_duration), (gst_pad_query_position),
22556         (gst_pad_query_duration):
22557         * gst/gstutils.h:
22558         Updates for query API change.
22559         Added some docs here and there.
22560
22561 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22562
22563         * check/gst/gstbin.c: (GST_START_TEST):
22564         * check/gst/gstghostpad.c: (GST_START_TEST):
22565         * check/pipelines/cleanup.c: (GST_START_TEST):
22566           wait on thread to die so we can check refcount correctly
22567
22568 2005-10-18  Wim Taymans  <wim@fluendo.com>
22569
22570         * check/pipelines/stress.c: (GST_START_TEST):
22571         Make check a little more time consuming.
22572
22573 2005-10-18  Wim Taymans  <wim@fluendo.com>
22574
22575         * check/Makefile.am:
22576         * check/pipelines/stress.c: (GST_START_TEST),
22577         (simple_launch_lines_suite), (main):
22578         Small state change torture test.
22579
22580         * docs/design/part-states.txt:
22581         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22582         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22583         (gst_base_sink_change_state):
22584         Never take state lock from streaming thread, clean up ugly
22585         hacks. Unfortunatly core does not yet support nice ways to
22586         async commit state.
22587         
22588         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22589         (bin_bus_handler):
22590         Start state recalc if a STATE_DIRTY message is posted, but only
22591         on the toplevel bin.
22592
22593         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22594         (gst_element_get_state_func), (gst_element_abort_state),
22595         (gst_element_commit_state), (gst_element_lost_state),
22596         (gst_element_set_state_func), (gst_element_change_state):
22597         * gst/gstelement.h:
22598         State variables are now protected with the LOCK, the state
22599         lock is only used to serialize _set_state().
22600
22601 2005-10-18  Wim Taymans  <wim@fluendo.com>
22602
22603         * check/gst/gstbin.c: (GST_START_TEST):
22604         * check/gst/gstmessage.c: (GST_START_TEST):
22605         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22607         (bin_bus_handler):
22608         * gst/gstelement.c: (gst_element_abort_state),
22609         (gst_element_commit_state), (gst_element_lost_state):
22610         * gst/gstmessage.c: (gst_message_new_state_changed),
22611         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22612         (gst_message_new_segment_done), (gst_message_new_duration),
22613         (gst_message_parse_state_changed),
22614         (gst_message_parse_segment_start),
22615         (gst_message_parse_segment_done), (gst_message_parse_duration):
22616         * gst/gstmessage.h:
22617         * tools/gst-launch.c: (event_loop):
22618         Seriously, this is better than a previous commit as we only need
22619         to notify the fact that an element changed state in a streaming
22620         thread, marking the state of the parents dirty, hence the 
22621         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22622         message.
22623
22624 2005-10-18  Wim Taymans  <wim@fluendo.com>
22625
22626         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22627         (gst_bin_recalc_func):
22628         * gst/gstelement.c: (gst_element_set_clock),
22629         (gst_element_abort_state), (gst_element_lost_state):
22630         Cleanups, prepare for state change fixes.
22631
22632 2005-10-18  Wim Taymans  <wim@fluendo.com>
22633
22634         * gst/gstbin.h:
22635         * gst/gstelement.c: (gst_element_class_init),
22636         (gst_element_set_state), (gst_element_set_state_func):
22637         * gst/gstelement.h:
22638         Pending ABI changes.
22639         GThreadPool in GstBinClass to monitor async state changes.
22640         state_cookie in GstElement to detect concurrent gst/set state.
22641         set_state is now virtual too in case a very complicated element
22642         has to be constructed.
22643
22644 2005-10-18  Wim Taymans  <wim@fluendo.com>
22645
22646         * check/gst/gstbin.c: (GST_START_TEST):
22647         * check/gst/gstmessage.c: (GST_START_TEST):
22648         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22649         * gst/gstbin.c: (bin_bus_handler):
22650         * gst/gstelement.c: (gst_element_commit_state),
22651         (gst_element_lost_state):
22652         * gst/gstmessage.c: (gst_message_new_state_changed),
22653         (gst_message_new_segment_start), (gst_message_new_segment_done),
22654         (gst_message_new_duration), (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         Make messages future proof.
22660         state-change gets a flag if it was a message comming from the
22661         streaming thread.
22662         segment-start/stop can also be specified in other formats.
22663         A message to notify an app that a pipeline changed playback 
22664         duration.
22665         Also fix a GstMessage leak in -launch
22666
22667 2005-10-18  Andy Wingo  <wingo@pobox.com>
22668
22669         * gst/gstelement.c (gst_element_dispose): More helpful message.
22670
22671 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22672
22673         reviewed by: <delete if not using a buddy>
22674
22675         * common/gtk-doc.mak:
22676
22677 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22678
22679         * gst/gstregistry.c: (gst_registry_scan_path_level):
22680           unref a plug-in we get that was already initialized
22681
22682 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22683
22684         * docs/gst/gstreamer-sections.txt:
22685         * docs/libs/gstreamer-libs-sections.txt:
22686         * gst/gstelement.h:
22687           add new api entries
22688           hide internal macro
22689
22690 2005-10-17  Andy Wingo  <wingo@pobox.com>
22691
22692         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22693         cleanup.
22694
22695         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22696
22697         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22698
22699         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22700         (gst_element_get_state_func): Better debug message.
22701         (gst_element_commit_state): s/INFO/DEBUG/.
22702         (gst_element_lost_state, gst_element_change_state): 
22703
22704         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22705         (gst_message_new_custom): s/INFO/LOG/.
22706
22707 2005-10-17  Michael Smith <msmith@fluendo.com>
22708
22709         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22710           Check if end time is valid using end time, not start time.
22711
22712 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22713
22714         * check/gst-libs/controller.c: (GST_START_TEST),
22715         (gst_controller_suite):
22716         * libs/gst/controller/gstcontroller.c:
22717         (gst_controlled_property_set_interpolation_mode):
22718         * libs/gst/controller/gstcontroller.h:
22719         * libs/gst/controller/gstinterpolation.c:
22720         * testsuite/controller/.cvsignore:
22721         * testsuite/controller/Makefile.am:
22722         * testsuite/controller/interpolator.c:
22723           merge controller testsuites
22724           fix broken tests
22725           remove mem-chunk from docs
22726
22727 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22728
22729         * gst/gstmemchunk.c:
22730         * gst/gstmemchunk.h:
22731         * gst/gsttrashstack.c:
22732         * gst/gsttrashstack.h:
22733           out.  get out.  you're fired.  to the Attic !
22734
22735 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22736
22737         * gst/gstcaps.c: (gst_caps_intersect):
22738           fix signedness issues in a (hopefully) correct way
22739         * gst/gstelement.c: (gst_element_pads_activate):
22740           some debugging
22741         * gst/gstobject.c: (gst_object_set_parent):
22742           some debugging
22743
22744 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22745
22746         * gst/gstvalue.h: Fix prototypes.
22747
22748 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22749
22750         * docs/gst/gstreamer-sections.txt:
22751         * gst/gst.c: (gst_version_string):
22752         * gst/gst.h:
22753         * gst/gstversion.h.in:
22754         * win32/common/libgstreamer.def:
22755           add gst_version_string ()
22756
22757 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22758
22759         * configure.ac:
22760           clean up further
22761         * gst/gst.c: (init_post):
22762         * win32/common/config.h.in:
22763           it's PLUGINDIR now
22764         * gst/gstcaps.c: (gst_caps_intersect):
22765           use gint64, the range could be bigger than a guint
22766
22767 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22768
22769         * gst/gstclock.h:
22770           document potential problem in 2038
22771
22772 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22773
22774         * gst/gstcaps.c: (gst_caps_intersect):
22775           Fix guint j diving under 0
22776
22777 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22778
22779         * configure.ac:
22780         * win32/common/config.h:
22781         * win32/common/config.h.in:
22782           check for process.h, declares getpid() on Windows
22783         * gst/gstinfo.c:
22784           include process.h if we have it
22785         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22786         * gst/gstmemchunk.h:
22787           fix signedness issues
22788         * win32/common/libgstreamer.def:
22789           fix get_type's
22790
22791 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22792
22793         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22794         fix. Because of unsigned ints, caps intersection was going nuts and
22795         trying to access structures with G_MAXUINT index. That fixes
22796         videotestsrc ! ffmpegcolorspace ! fakesink
22797         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22798         consistency.
22799
22800 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * configure.ac:
22803           use the gettext macro
22804         * gst/elements/gstelements.c:
22805         * gst/gst.c:
22806         * gst/indexers/gstindexers.c:
22807           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22808         * win32/common/config.h:
22809           updated config.h
22810         * win32/common/config.h.in:
22811           add the template to generate config.h
22812         * win32/common/gstenumtypes.c:
22813         * win32/common/gstversion.h:
22814           updated copies
22815
22816 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22817
22818         * gst/gst.c: (gst_version):
22819         * gst/gstversion.h.in:
22820           add the nano
22821
22822 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22823
22824         * gst/gstevent.h:
22825           Oops, add missing closing bracket.
22826
22827 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22828
22829         * configure.ac:
22830           use common m4's for argument checking
22831
22832 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22833
22834         * docs/gst/gstreamer-sections.txt:
22835         * gst/gstevent.h:
22836           Add GST_EVENT_TYPE_NAME() macro.
22837
22838 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22839
22840         * gst/gstinfo.c:
22841         * gst/gstpluginfeature.c:
22842         * gst/gsttask.c:
22843           privatize more symbols
22844
22845 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22846
22847         * configure.ac:
22848           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22849           everything that uses GStreamer API should have the includes
22850
22851 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22852
22853         * docs/gst/gstreamer-sections.txt:
22854         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22855         * gst/gstvalue.h:
22856           give each value a _get_type, removes the DATA exports
22857
22858 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * gst/gst.c:
22861         * gst/gst.h:
22862           remove _gst_registry_auto_load, not used anymore
22863         * gst/gstbin.c: (gst_bin_get_type):
22864         * gst/gstbin.h:
22865         * gst/gstelement.c: (gst_element_get_type):
22866         * gst/gstelement.h:
22867         * gst/gstobject.c: (gst_object_get_type):
22868         * gst/gstobject.h:
22869         * gst/gstpad.c: (gst_pad_get_type):
22870         * gst/gstpad.h:
22871           make _get_type functions similar, fixes data export from library
22872
22873 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22874
22875         * configure.ac:
22876           correctly make conditionals
22877         * gst/elements/Makefile.am:
22878         * gst/elements/gstelements.c:
22879           fix typo causing fdsrc not to build
22880
22881 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22882
22883         * testsuite/Makefile.am:
22884         * testsuite/bytestream/.cvsignore:
22885         * testsuite/bytestream/Makefile.am:
22886         * testsuite/bytestream/filepadsink.c:
22887         * testsuite/bytestream/gstbstest.c:
22888         * testsuite/bytestream/test1.c:
22889         * testsuite/bytestream/testfile1:
22890         * testsuite/caps/normalisation.c:
22891         * testsuite/caps/random.c: (main):
22892         * testsuite/cleanup/.cvsignore:
22893         * testsuite/cleanup/Makefile.am:
22894         * testsuite/cleanup/cleanup1.c:
22895         * testsuite/cleanup/cleanup2.c:
22896         * testsuite/cleanup/cleanup3.c:
22897         * testsuite/cleanup/cleanup4.c:
22898         * testsuite/cleanup/cleanup5.c:
22899         * testsuite/controller/interpolator.c:
22900         * testsuite/debug/printf_extension.c: (main):
22901         * testsuite/elements/tee.c:
22902         * testsuite/negotiation/.cvsignore:
22903         * testsuite/negotiation/Makefile.am:
22904         * testsuite/negotiation/pad_link.c:
22905         * testsuite/pad/Makefile.am:
22906         * testsuite/pad/chainnopull.c:
22907         * testsuite/pad/getnopush.c:
22908         * testsuite/pad/link.c:
22909         * testsuite/refcounting/sched.c: (create_pipeline):
22910         * testsuite/registry/Makefile.am:
22911         * testsuite/registry/gst-print-formats.c:
22912         * testsuite/schedulers/.cvsignore:
22913         * testsuite/schedulers/142183-2.c:
22914         * testsuite/schedulers/142183.c:
22915         * testsuite/schedulers/143777-2.c:
22916         * testsuite/schedulers/143777.c:
22917         * testsuite/schedulers/147713.c:
22918         * testsuite/schedulers/147819.c:
22919         * testsuite/schedulers/147894-2.c:
22920         * testsuite/schedulers/147894.c:
22921         * testsuite/schedulers/Makefile.am:
22922         * testsuite/schedulers/group_link.c:
22923         * testsuite/schedulers/queue_link.c:
22924         * testsuite/schedulers/relink.c:
22925         * testsuite/schedulers/unlink.c:
22926         * testsuite/schedulers/unref.c:
22927         * testsuite/schedulers/useless_iteration.c:
22928         * testsuite/states/bin.c:
22929           clean out/remove some stuff from the testsuite directories
22930
22931 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22932
22933         * configure.ac:
22934           check for some headers
22935         * gst/elements/Makefile.am:
22936         * gst/elements/gstelements.c:
22937           don't compile fdsrc without sys/socket.h
22938         * gst/indexers/Makefile.am:
22939         * gst/indexers/gstindexers.c: (plugin_init):
22940           don't compile fileindex without mmap
22941
22942 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22943
22944         * configure.ac:
22945           reorganize
22946           clean up
22947           document more
22948           remove cruft
22949         * check/Makefile.am:
22950         * docs/gst/Makefile.am:
22951         * examples/helloworld/Makefile.am:
22952         * gst/Makefile.am:
22953         * gst/base/Makefile.am:
22954         * gst/check/Makefile.am:
22955         * gst/elements/Makefile.am:
22956         * gst/indexers/Makefile.am:
22957         * gst/parse/Makefile.am:
22958         * libs/gst/controller/Makefile.am:
22959         * libs/gst/dataprotocol/Makefile.am:
22960         * examples/helloworld/helloworld.c: (event_loop):
22961           compile fixes, though it's not being compiled currently
22962
22963 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22964
22965         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
22966           Add some simple tests for the new taglist date API.
22967
22968 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22969
22970         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
22971         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
22972           Beautify 'last-message' output: print 'none' for buffer timestamps
22973           and durations if none is set; improve alignment with next messages.
22974
22975 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
22976
22977         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
22978         * gst/gstpluginfeature.h:
22979         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
22980         * gst/gstregistry.h:
22981         * docs/gst/gstreamer-sections.txt:
22982           Add new API to check plugin feature version requirements.
22983
22984         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
22985           Some basic tests for the above.         
22986
22987 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22988
22989         * gst/gststructure.c: (gst_structure_to_string):
22990           guard against NULL printf - happens when for example
22991           a message structure with GstClock gets serialized
22992
22993 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
22994
22995         * gst/base/gstcollectpads.c: (gst_collectpads_event):
22996           Fix presumable copy'n'pasto.
22997
22998 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22999
23000         * gst/elements/gstfakesrc.h:
23001         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23002         * gst/elements/gsttypefindelement.c:
23003           fix some signedness
23004         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23005           I wonder if this could actually write +2GB files before
23006
23007 2005-10-13  Andy Wingo  <wingo@pobox.com>
23008
23009         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23010         Fix Timmeke Waymans bug.
23011         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23012         string of the proper length to gst_caps_from_string. There's a
23013         potential for, before this fix, that this could cause someone
23014         connecting over the network to cause a segfault if the payload is
23015         not NUL-terminated.
23016
23017 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23018
23019         * docs/design/draft-push-pull.txt:
23020         * docs/design/part-overview.txt:
23021         * docs/random/TODO-pre-0.9:
23022         * docs/random/old/ChangeLog.gstreamer:
23023         * gst/base/gstpushsrc.c:
23024         * gst/gstclock.c:
23025           fixed typos
23026
23027 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23028
23029         * gst/glib-compat.c: (gst_flags_get_first_value):
23030         * gst/glib-compat.h:
23031         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23032         (gst_value_compare_double), (gst_value_serialize_flags):
23033           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23034           infinite loop
23035
23036 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23037
23038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23039         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23040           fix up debugging
23041         * tools/gst-launch.c: (event_loop):
23042           print out clock nicely
23043
23044 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23045
23046         * docs/gst/gstreamer-sections.txt:
23047         * gst/gsttaglist.h:
23048         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23049         (gst_tag_list_get_date_index):
23050           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23051           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23052
23053 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23054
23055         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23056         (gst_collectpads_chain):
23057         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23058         in CollectData.
23059
23060 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23061
23062         * docs/gst/gstreamer-sections.txt:
23063         * gst/gst.c:
23064         * gst/gsterror.h:
23065         * tools/gst-inspect.c: (main):
23066         * tools/gst-launch.c: (main):
23067         * tools/gst-run.c: (main):
23068         * tools/gst-xmlinspect.c: (main):
23069           fix GOption context leaks
23070           doc fixes
23071
23072 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23073
23074         * gst/gstbus.c:
23075           use HAVE_UNISTD_H
23076         * win32/common/config.h:
23077           update config
23078         * win32/vs6/grammar.dsp:
23079         * win32/vs6/libgstelements.dsp:
23080         * win32/vs6/libgstreamer.dsp:
23081           update vs6 files
23082
23083 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23084
23085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23086         * gst/base/gstbasesrc.c: (gst_base_src_query):
23087           fix more guint64<->gdouble conversions
23088
23089 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * Makefile.am:
23092           add win32-update target
23093         * win32/common/gstconfig.h:
23094         * win32/common/gstenumtypes.c:
23095         * win32/common/gstenumtypes.h:
23096         * win32/common/gstversion.h:
23097           add files that visual studio can't generate
23098
23099 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23100
23101         * Makefile.am:
23102           add a win32-update target
23103         * configure.ac:
23104
23105 2005-10-12  Wim Taymans  <wim@fluendo.com>
23106
23107         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23108         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23109         * gst/gstelement.c: (gst_element_commit_state),
23110         (gst_element_set_state):
23111         Protect flags with proper lock.
23112         unref provided cached clock in dispose.
23113
23114 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23115
23116         * gst/gst.c:
23117         * gst/gstminiobject.h:
23118         * gst/gstpad.h:
23119         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23120           removed unused flags from miniobject
23121           doc fixes
23122
23123 2005-10-12  Wim Taymans  <wim@fluendo.com>
23124
23125         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23126         (gst_file_sink_event), (gst_file_sink_render):
23127         Flush before seeking.
23128
23129 2005-10-12  Andy Wingo  <wingo@pobox.com>
23130
23131         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23132         always been the case.
23133
23134 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23135
23136         * check/gst/gstbin.c: (GST_START_TEST):
23137         * docs/gst/gstreamer-sections.txt:
23138         * gst/base/gstbasesink.c: (gst_base_sink_init):
23139         * gst/base/gstbasesrc.c: (gst_base_src_init),
23140         (gst_base_src_get_range), (gst_base_src_check_get_range),
23141         (gst_base_src_start), (gst_base_src_stop):
23142         * gst/base/gstbasesrc.h:
23143         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23144         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23145         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23146         (bin_bus_handler):
23147         * gst/gstbin.h:
23148         * gst/gstbuffer.h:
23149         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23150         * gst/gstbus.h:
23151         * gst/gstelement.c: (gst_element_is_locked_state),
23152         (gst_element_set_locked_state), (gst_element_commit_state),
23153         (gst_element_set_state):
23154         * gst/gstelement.h:
23155         * gst/gstindex.c: (gst_index_init):
23156         * gst/gstindex.h:
23157         * gst/gstminiobject.h:
23158         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23159         (gst_object_set_parent):
23160         * gst/gstobject.h:
23161         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23162         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23163         * gst/gstpad.h:
23164         * gst/gstpadtemplate.h:
23165         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23166         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23167         * gst/gstpipeline.h:
23168         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23169         (gst_file_index_commit):
23170         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23171         * testsuite/pad/link.c: (gst_test_src_init),
23172         (gst_test_filter_init), (gst_test_sink_init):
23173         * testsuite/states/locked.c: (main):
23174           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23175           moved bitshift from macro to enum definition
23176
23177 2005-10-12  Wim Taymans  <wim@fluendo.com>
23178
23179         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23180         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23181         (gst_file_sink_render):
23182         Some more debugging info.
23183
23184 2005-10-12  Wim Taymans  <wim@fluendo.com>
23185
23186         * docs/design/part-states.txt:
23187         * tools/gst-launch.c: (main):
23188         Some doc updates.
23189         Revert non-intentional change.
23190
23191 2005-10-12  Wim Taymans  <wim@fluendo.com>
23192
23193         * check/gst/gstbin.c: (GST_START_TEST):
23194         * check/gst/gstelement.c: (GST_START_TEST):
23195         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23196         * check/gst/gstghostpad.c: (GST_START_TEST):
23197         * check/gst/gstpipeline.c: (GST_START_TEST):
23198         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23199         * check/states/sinks.c: (GST_START_TEST):
23200         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23201         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23202         (gst_bin_remove_func), (gst_bin_get_state_func),
23203         (gst_bin_recalc_state), (gst_bin_change_state_func),
23204         (bin_bus_handler):
23205         * gst/gstelement.c: (gst_element_get_state_func),
23206         (gst_element_get_state), (gst_element_abort_state),
23207         (gst_element_commit_state), (gst_element_set_state),
23208         (gst_element_change_state), (gst_element_change_state_func):
23209         * gst/gstelement.h:
23210         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23211         (gst_pipeline_provide_clock_func):
23212         * gst/gstutils.c: (gst_element_link_pads_filtered):
23213         * tools/gst-launch.c: (main):
23214         * tools/gst-typefind.c: (main):
23215         Use GstClockTime in _get_state() instead of GTimeVal.
23216         Remove old code in gstutils.c
23217
23218 2005-10-12  Andy Wingo  <wingo@pobox.com>
23219
23220         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23221         removed.
23222
23223         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23224         there is no task. Shouldn't affect any code, as nothing in our
23225         plugins checks this return value.
23226         (gst_pad_stop_task): Also take the stream lock if the pad has no
23227         task. Docs updated.
23228
23229 2005-10-12  Wim Taymans  <wim@fluendo.com>
23230
23231         * gst/gstpad.c: (pre_activate), (post_activate),
23232         (gst_pad_activate_pull), (gst_pad_activate_push):
23233         Cleanup activation code. Reset old state if
23234         activation failed.
23235
23236 2005-10-12  Wim Taymans  <wim@fluendo.com>
23237
23238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23239         (gst_base_sink_change_state):
23240         No need to prerol after receiving EOS.
23241
23242         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23243         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23244         * gst/elements/gstidentity.c: (gst_identity_event):
23245         Print events more verbosely.
23246
23247 2005-10-12  Wim Taymans  <wim@fluendo.com>
23248
23249         * check/Makefile.am:
23250         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23251         * check/states/sinks2.c:
23252         Moved sinks2 testcode in sinks check.
23253
23254         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23255         (gst_bin_remove_func), (gst_bin_recalc_state),
23256         (gst_bin_change_state_func), (bin_bus_handler):
23257         Fix potential race condition when _get_state() iterated over an
23258         ASYNC element right before it posted a state completion.
23259
23260         * gst/gstclock.h:
23261         Do proper cast here.
23262
23263         * gst/gstevent.c: (gst_event_new_newsegment),
23264         (gst_event_parse_newsegment):
23265         A playback rate of 0.0 is not allowed.
23266
23267 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23268
23269         * win32/common/config.h:
23270         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23271         (_trewinddir), (_ttelldir), (_tseekdir):
23272         * win32/common/dirent.h:
23273         * win32/common/gtchar.h:
23274         * win32/common/libgstbase.def:
23275         * win32/common/libgstreamer.def:
23276         * win32/vs6/grammar.dsp:
23277         * win32/vs6/gst_inspect.dsp:
23278         * win32/vs6/gst_launch.dsp:
23279         * win32/vs6/gstreamer.dsw:
23280         * win32/vs6/libgstbase.dsp:
23281         * win32/vs6/libgstelements.dsp:
23282         * win32/vs6/libgstreamer.dsp:
23283           Visual Studio 6 project files, and a new common directory.
23284           Phear.
23285
23286 2005-10-11  Wim Taymans  <wim@fluendo.com>
23287
23288         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23289         (gst_base_sink_do_sync), (gst_base_sink_query),
23290         (gst_base_sink_change_state):
23291         * gst/base/gstbasesink.h:
23292         Correctly parse newsegment info.
23293
23294 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23295
23296         * gst/gst.c: (init_post):
23297           split plugin paths correctly
23298
23299 2005-10-11  Wim Taymans  <wim@fluendo.com>
23300
23301         * check/gst/gstevent.c: (GST_START_TEST):
23302         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23303         (gst_base_sink_change_state):
23304         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23305         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23306         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23307         * gst/gstevent.c: (gst_event_new_newsegment),
23308         (gst_event_parse_newsegment):
23309         * gst/gstevent.h:
23310         Added extra flag to newsegment for future API freeze.
23311         Updated check and base elements.
23312
23313 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23314
23315         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23316         (gst_collectpads_add_pad), (gst_collectpads_pop),
23317         (gst_collectpads_event), (gst_collectpads_chain):
23318         * gst/base/gstcollectpads.h: Handle EOS correctly.
23319
23320 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23321
23322         * tools/gst-launch.c: (main):
23323           more null protecting
23324
23325 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23326
23327         * gst/gst-i18n-lib.h:
23328           check for ENABLE_NLS, not GETTEXT_PACKAGE
23329         * gst/gstregistry.c: (gst_registry_add_plugin),
23330         (gst_registry_scan_path_level),
23331         (_gst_registry_remove_cache_plugins):
23332           protect possibly NULL strings
23333         * gst/parse/types.h:
23334           config.h already included before
23335         * tools/gst-inspect.c: (main):
23336           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23337           check for ENABLE_NLS, not GETTEXT_PACKAGE
23338         * tools/gst-launch.c: (main):
23339           check for ENABLE_NLS, not GETTEXT_PACKAGE
23340
23341 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23342
23343         * configure.ac:
23344           if we don't have glib, fail before testing 2.8
23345         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23346           fix a leak, should fix plugins-base testsuite
23347
23348 2005-10-11  Andy Wingo  <wingo@pobox.com>
23349
23350         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23351         take the mode we're going to as an arg. Go head and set the mode
23352         and flushing flags now, so that if the activate function starts a
23353         thread all the flags will be in the right state.
23354         (post_activate): Renamed also. Just handle making sure streaming
23355         finishes for the deactivation case, and setting the deactivated
23356         mode.
23357         (gst_pad_set_active): Complain loudly if deactivation fails.
23358         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23359         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23360         remove the terrible hack.
23361
23362 2005-10-11  Wim Taymans  <wim@fluendo.com>
23363
23364         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23365         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23366         (gst_bin_recalc_state), (gst_bin_change_state_func),
23367         (gst_bin_dispose), (bin_bus_handler):
23368         * gst/gstbin.h:
23369         Prepare to make current EOS message queue more generic.
23370         Fix some typos.
23371
23372         * gst/gstevent.c: (gst_event_new_newsegment),
23373         (gst_event_parse_newsegment):
23374         * gst/gstevent.h:
23375         Rename base to stream_time.
23376
23377         * gst/gstmessage.h:
23378         Fix typo in docs.
23379
23380 2005-10-11  Wim Taymans  <wim@fluendo.com>
23381
23382         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23383         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23384         (gst_bin_change_state_func), (bin_bus_handler):
23385         * gst/gstbin.h:
23386         Work on proper clock selection.
23387
23388 2005-10-11  Edward Hervey  <edward@fluendo.com>
23389
23390         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23391         * libs/gst/controller/gstcontroller.h:
23392         Added GList* version of _remove_properties() in order to be able to wrap
23393         it in bindings.
23394
23395 2005-10-11  Wim Taymans  <wim@fluendo.com>
23396
23397         * docs/design/part-states.txt:
23398         Some more docs.
23399
23400         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23401         (gst_bin_change_state_func), (bin_bus_handler):
23402         Doc updates. Don't distribute the same clock over and over again.
23403
23404         * gst/gstclock.c:
23405         * gst/gstclock.h:
23406         Doc updates.
23407
23408         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23409         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23410         (gst_pad_send_event):
23411         * gst/gstpad.h:
23412         Make probe emission threadsafe again.
23413         Register quarks and move _get_name() from utils.
23414         Doc updates.
23415
23416         * gst/gstpipeline.c: (gst_pipeline_class_init),
23417         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23418         Only redistribute the clock of it changed.
23419
23420         * gst/gstsystemclock.h:
23421         Doc updates. 
23422
23423         * gst/gstutils.c:
23424         * gst/gstutils.h:
23425         Moved the _flow_get_name() to GstPad.
23426
23427 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23428
23429         * check/gst-libs/gdp.c: (GST_START_TEST):
23430         * check/gst/gstcaps.c: (GST_START_TEST):
23431         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23432         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23433         (gst_dp_packet_from_caps):
23434           fix more valgrind warnings before turning up the heat
23435
23436 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23437
23438         * gst/parse/grammar.y:
23439           some cleanup before the hacking
23440
23441 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23442
23443         * gst/base/gstbasesrc.c: (gst_base_src_query):
23444           use conversions
23445         * gst/gstutils.c: (gst_guint64_to_gdouble),
23446         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23447         * gst/gstutils.h:
23448           externalize, basesrc uses it
23449           obviously the implementation needs testing
23450
23451 2005-10-10  Wim Taymans  <wim@fluendo.com>
23452
23453         * tests/sched/Makefile.am:
23454         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23455         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23456
23457 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23458
23459         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23460           apparently converting from guint64 to double is not implemented
23461           on MSVC
23462
23463 2005-10-10  Wim Taymans  <wim@fluendo.com>
23464
23465         * check/Makefile.am:
23466         * check/generic/states.c: (GST_START_TEST):
23467         * check/gst/gstbin.c: (GST_START_TEST):
23468         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23469         * check/states/sinks.c: (GST_START_TEST):
23470         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23471         (main):
23472         Check fixes, use API as stated in design docs, remove hacks.
23473
23474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23475         (gst_base_sink_change_state):
23476         Catch stopping our task while we're shutting down.
23477
23478         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23479         (gst_bin_remove_func), (gst_bin_get_state_func),
23480         (gst_bin_recalc_state), (gst_bin_change_state_func),
23481         (bin_bus_handler):
23482         * gst/gstbin.h:
23483         * gst/gstelement.c: (gst_element_init),
23484         (gst_element_get_state_func), (gst_element_abort_state),
23485         (gst_element_commit_state), (gst_element_lost_state),
23486         (gst_element_set_state), (gst_element_change_state),
23487         (gst_element_change_state_func):
23488         * gst/gstelement.h:
23489         New state change algorithm (see #318116)
23490
23491         * gst/gstpipeline.c: (gst_pipeline_class_init),
23492         (gst_pipeline_init), (gst_pipeline_set_property),
23493         (gst_pipeline_get_property), (do_pipeline_seek),
23494         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23495         * gst/gstpipeline.h:
23496         Remove crude state change hacks.
23497
23498         * gst/gstutils.h:
23499         Remove crude hacks.
23500
23501         * tools/gst-launch.c: (main):
23502         Fixes for state change. Needs some more work to fully use the
23503         new stuff.
23504
23505 2005-10-10  Andy Wingo  <wingo@pobox.com>
23506
23507         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23508
23509         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23510         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23511         issue.
23512
23513 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23514
23515         * gst/gstiterator.c: (gst_iterator_new):
23516           Fix my previous commit: GTypes passed to gst_iterator_new()
23517           can be fundamental types.
23518
23519 2005-10-10  Wim Taymans  <wim@fluendo.com>
23520
23521         * gst/gstelement.c: (gst_element_iterate_pad_list),
23522         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23523         (gst_element_iterate_sink_pads):
23524         Use src/sink pads lists for the respective iterators instead
23525         of filtering.
23526
23527 2005-10-10  Andy Wingo  <wingo@pobox.com>
23528
23529         Merged in popt removal + GOption addition patch from Ronald, bug
23530         #169772.
23531
23532         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23533         GstElement macros around, remove popt-related symbols, add goption
23534         stuff.
23535
23536         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23537         
23538         * docs/gst/Makefile.am:
23539         * docs/libs/Makefile.am: No POPT_CFLAGS.
23540         
23541         * examples/manual/Makefile.am:
23542         * docs/manual/basics-init.xml: Doc updates with an example.
23543         
23544         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23545         (gst_init), (parse_one_option), (parse_goption_arg):
23546         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23547         bit of hand merging and debugging to get the GOption stuff working
23548         tho.
23549         
23550         * tests/Makefile.am:
23551         * tools/Makefile.am:
23552         * tools/gst-inspect.c: (main):
23553         * tools/gst-launch.c: (main):
23554         * tools/gst-run.c: (main):
23555         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23556
23557 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23558
23559         * gst/gstiterator.c: (gst_iterator_new):
23560           Add assertions to make sure passed GType is likely to really
23561           be a GType (as the compiler won't catch it if the size and
23562           GType arguments get mixed up, see #318447).
23563
23564 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23565
23566         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23567
23568         * gst/gstbin.c: (gst_bin_iterate_sorted):
23569           Pass GType and size arguments to gst_iterator_new() in the right
23570           order (maybe we should make _new() take the GType as first argument
23571           just like _new_list()?) (#318447).
23572           
23573
23574 2005-10-10  Wim Taymans  <wim@fluendo.com>
23575
23576         * gst/gstelement.c: (gst_element_finalize):
23577         And free the GStaticRecMutex too
23578
23579 2005-10-10  Andy Wingo  <wingo@pobox.com>
23580
23581         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23582         Allocate and free the mutex properly.
23583
23584         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23585         New macros.
23586         (GstElement): The state_lock is now recursive. Rebuild your
23587         plugins, suckers. Old macros adapted.
23588
23589         * docs/gst/gstreamer-sections.txt: Doc updates.
23590
23591         * gst/gstutils.h:
23592         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23593         (g_static_rec_cond_wait): Ported from state changes patch, while
23594         we wait on bug #317802 to be solved in a well-distributed GLib.
23595
23596         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23597         gst_element_change_state, variable name changes.
23598         (gst_element_change_state): Split out of gst_element_set_state in
23599         preparation for the state change merge. Doesn't pay attention to
23600         the 'transition' argument.
23601         (gst_element_set_state): Updates, hopefully purely cosmetic.
23602         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23603         state change patch.
23604         (gst_element_get_state_func): Renamed from get_state, cosmetic
23605         changes.
23606
23607 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23608
23609         * gst/elements/gstelements.c:
23610         * win32/GStreamer.vcproj:
23611         * win32/config.h:
23612         * win32/dirent.c: (_tseekdir):
23613         * win32/gst-inspect.vcproj:
23614         * win32/gst-launch.vcproj:
23615         * win32/gstconfig.h:
23616         * win32/gstelements.vcproj:
23617         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23618         * win32/gstreamer.def:
23619         * win32/msvc71.sln:
23620           updates for the win32 build (patch from Sebastien Moutte)
23621
23622 2005-10-10  Andy Wingo  <wingo@pobox.com>
23623
23624         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23625         gst_bin_get_state, cleaned up (but no logic changes).
23626         (bin_element_is_sink): Comment updates.
23627         (sink_iterator_filter): Remove needless cast.
23628         (gst_bin_iterate_sinks): Doc update.
23629         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23630         cleaned up (but no logic changes).
23631
23632         * check/states/sinks.c (test_src_sink): Cleanups from the state
23633         change patch.
23634         (test_livesrc_sink): Sync on the state.
23635
23636         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23637         the state change patch.
23638
23639         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23640         change patch.
23641
23642         * check/gst/gstbin.c: Merge in some style fixes and additional
23643         checks from Wim's state change patch.
23644
23645 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23646
23647         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23648         (gst_type_find_helper):
23649           Check whether we have the requested data already in our list of
23650           cached buffers before pulling a new buffer; also make the buffer
23651           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23652
23653 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23654
23655         * gst/gstcaps.c:
23656         * gst/gstevent.c:
23657           doc updates
23658         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23659           don't use long long, it's not portable.  Replacing with
23660           gint64 seems to work; let's hope no skeletons fall out of the closet.
23661
23662 2005-10-10  Andy Wingo  <wingo@pobox.com>
23663
23664         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23665
23666 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23667
23668         * docs/gst/gstreamer-sections.txt:
23669         * gst/gstevent.c:
23670         * gst/gstevent.h:
23671         * gst/gstinfo.c:
23672         * gst/gstinfo.h:
23673         * gst/gstmessage.c: (gst_message_parse_state_changed):
23674         * gst/gstpad.c:
23675         * gst/gstpad.h:
23676           more docs, fix compilation
23677
23678 2005-10-09  Philippe Khalaf <burger@speedy.org>
23679         * gst/gstmessage.c:
23680           Fixed a few forgotten variables on previous commit
23681
23682 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23683
23684         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23685           Fix evil typefind crasher: getrange() might return a short
23686           buffer at the end of a file, but gst_type_find_peek() must
23687           either return the full data as requested or NULL, but
23688           never a short buffer.
23689
23690 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23691
23692         * gst/gstmessage.c: (gst_message_new_state_changed),
23693         (gst_message_parse_state_changed):
23694         * gst/gstmessage.h:
23695           don't use "new", it's a C++ keyword
23696
23697 2005-10-08  Wim Taymans  <wim@fluendo.com>
23698
23699         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23700         * gst/gstelement.c: (gst_element_post_message):
23701         * gst/gstpipeline.c: (gst_pipeline_change_state):
23702         Small docs and debug updates.
23703
23704 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23705
23706         * docs/gst/gstreamer-sections.txt:
23707         * gst/gstelementfactory.c:
23708         * gst/gstevent.c:
23709         * gst/gsttaglist.c:
23710           more docs
23711
23712 2005-10-08  Wim Taymans  <wim@fluendo.com>
23713
23714         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23715         (gst_bin_dispose), (bin_bus_handler):
23716         Fix typos, add comments.
23717         Clear EOS list when going to PAUSED from any direction and do it
23718         in a threadsafe way.
23719         Get base time in a threadsafe way too.
23720         Fix confusing debug in the change_state function.
23721         Various other small cleanups.
23722         
23723         * gst/gstelement.c: (gst_element_post_message):
23724         Fix very verbose bus posting code.
23725
23726         * gst/gstpipeline.c: (gst_pipeline_class_init),
23727         (gst_pipeline_set_property), (gst_pipeline_get_property),
23728         (gst_pipeline_change_state):
23729         Small ARG_ -> PROP_ cleanup
23730
23731 2005-10-08  Wim Taymans  <wim@fluendo.com>
23732
23733         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23734         Do a less CPU demanding EOS check because we can.
23735
23736 2005-10-08  Wim Taymans  <wim@fluendo.com>
23737
23738         * libs/gst/dataprotocol/dataprotocol.c:
23739         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23740         (gst_dp_packet_from_event):
23741         * libs/gst/dataprotocol/dataprotocol.h:
23742         * libs/gst/dataprotocol/dp-private.h:
23743         It's about time we bump the version number.
23744         Since event types don't fit in the guint8 anymore describing
23745         the payload type, make payload type 16 bits wide.
23746
23747 2005-10-08  Wim Taymans  <wim@fluendo.com>
23748
23749         * docs/design/part-TODO.txt:
23750         * docs/design/part-clocks.txt:
23751         * docs/design/part-events.txt:
23752         * docs/design/part-gstbin.txt:
23753         * docs/design/part-gstelement.txt:
23754         * docs/design/part-gstpipeline.txt:
23755         * docs/design/part-live-source.txt:
23756         * docs/design/part-messages.txt:
23757         * docs/design/part-overview.txt:
23758         * docs/design/part-states.txt:
23759         Many doc updates.
23760
23761 2005-10-08  Wim Taymans  <wim@fluendo.com>
23762
23763         * gst/gstevent.c:
23764         * gst/gstevent.h:
23765         Fix event quark registration.
23766         Add some space between events so we can insert them in the
23767         right groups.
23768
23769 2005-10-08  Wim Taymans  <wim@fluendo.com>
23770
23771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23772         (gst_base_sink_handle_buffer):
23773         Better log message.
23774
23775         * gst/gstbus.h:
23776         * gst/gstelement.h:
23777         More docs.
23778
23779         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23780         (gst_queue_set_property), (gst_queue_get_property):
23781         * gst/gstqueue.h:
23782         Remove old unused properties.
23783
23784 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23785         * docs/gst/gstreamer-sections.txt:
23786         * gst/gstmessage.c:
23787         * gst/gstmessage.h:
23788         * gst/gstminiobject.c:
23789         * gst/gstminiobject.h:
23790         * gst/gstobject.h:
23791         * gst/gstpad.h:
23792         * gst/gstutils.h:
23793           lots of new docs and doc fixes
23794
23795 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23796
23797         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23798         * gst/gstplugin.h:
23799         * gst/gstregistry.c: (gst_registry_lookup_locked),
23800         (gst_registry_scan_path_level):
23801         * gst/gstregistryxml.c: (load_plugin):
23802           Only ever load one plugin for a given plugin basename.
23803           This ensures correct overriding of GST_PLUGIN_PATH over
23804           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23805           system installed plugins.
23806
23807 2005-10-08  Wim Taymans  <wim@fluendo.com>
23808
23809         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23810         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23811         Prepare for doing QOS.
23812
23813 2005-10-08  Wim Taymans  <wim@fluendo.com>
23814
23815         * check/gst/gstbin.c: (GST_START_TEST):
23816         * check/pipelines/cleanup.c: (GST_START_TEST):
23817         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23818         Allow new clock message too.
23819
23820 2005-10-08  Wim Taymans  <wim@fluendo.com>
23821
23822         * gst/gstmessage.c: (gst_message_new_error),
23823         (gst_message_new_warning), (gst_message_new_tag),
23824         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23825         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23826         (gst_message_new_segment_start), (gst_message_new_segment_done),
23827         (gst_message_parse_state_changed),
23828         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23829         (gst_message_parse_new_clock):
23830         * gst/gstmessage.h:
23831         Also carry the clock in question.
23832
23833 2005-10-08  Wim Taymans  <wim@fluendo.com>
23834
23835         * gst/gstmessage.c: (gst_message_new_custom),
23836         (gst_message_new_eos), (gst_message_new_error),
23837         (gst_message_new_warning), (gst_message_new_tag),
23838         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23839         (gst_message_new_new_clock), (gst_message_new_segment_start),
23840         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23841         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23842         * gst/gstmessage.h:
23843         Clean up.
23844         Added clock related messages.
23845
23846         * gst/gstpipeline.c: (gst_pipeline_change_state):
23847         Post message when the clock changed.
23848
23849         * tools/gst-launch.c: (event_loop):
23850         Print new clock.
23851
23852 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23853
23854         * tools/gst-inspect.c: (print_element_properties_info):
23855           Can't pass NULL strings to g_print() on windows.
23856
23857 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23858
23859         * docs/Makefile.am:
23860         * docs/gst/Makefile.am:
23861         * docs/gst/gstreamer-docs.sgml:
23862         * docs/gst/running.xml:
23863         * docs/version.entities.in:
23864           add a chapter on running GStreamer.
23865           document GST_DEBUG and GST_PLUGIN* env vars
23866
23867 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23868
23869         * Makefile.am:
23870           remove include dir
23871         * configure.ac:
23872           remove PLUGINS_BUILDDIR stuff
23873         * gst/gst.c: (init_post):
23874           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23875         * idiottest.mak:
23876           remove, it was condescending and not needed
23877
23878 2005-10-08  Wim Taymans  <wim@fluendo.com>
23879
23880         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23881         (gst_base_sink_handle_object), (gst_base_sink_event),
23882         (gst_base_sink_wait), (gst_base_sink_handle_event),
23883         (gst_base_sink_change_state):
23884         * gst/base/gstbasesink.h:
23885         Repost EOS message while going to PLAYING if still EOS.
23886         Make sure that when receiving a FLUSH_START we don't attempt
23887         to sync on the clock anymore.
23888
23889 2005-10-08  Wim Taymans  <wim@fluendo.com>
23890
23891         * tools/gst-launch.c: (event_loop):
23892         Better message printout.
23893
23894 2005-10-08  Wim Taymans  <wim@fluendo.com>
23895
23896         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23897         (gst_bin_child_proxy_get_children_count):
23898         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23899         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23900         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23901         (gst_child_proxy_set_valist):
23902         * gst/parse/grammar.y:
23903         Make ChildProxy threadsafe and fix mem leaks.
23904
23905 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23906
23907         * gst/gst.c: (init_post):
23908           debug the GST_PLUGIN_ env vars
23909
23910 2005-10-08  Wim Taymans  <wim@fluendo.com>
23911
23912         * check/gst/gstbin.c: (GST_START_TEST):
23913         * check/gst/gstmessage.c: (GST_START_TEST):
23914         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23915         * gst/gstelement.c: (gst_element_commit_state),
23916         (gst_element_lost_state):
23917         * gst/gstmessage.c: (gst_message_new_state_changed),
23918         (gst_message_parse_state_changed):
23919         * gst/gstmessage.h:
23920         * tools/gst-launch.c: (event_loop):
23921         Added extra field to STATE_CHANGE message with the pending
23922         state, which will be different from the new state soon.
23923
23924 2005-10-08  Wim Taymans  <wim@fluendo.com>
23925
23926         * gst/gstbus.c: (gst_bus_pop):
23927         * gst/gstclock.c:
23928         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23929         Small cleanups and doc updates.
23930
23931 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23932
23933         * gst/gst.c: (init_pre):
23934         * gst/gstbin.c: (gst_bin_add_func):
23935           log distributing clocks and base time
23936         * gst/gstregistry.c: (gst_registry_add_plugin),
23937         (gst_registry_scan_path_level), (gst_registry_scan_path):
23938           clean up the debugging output a little
23939         * gst/gstutils.c: (gst_element_state_get_name):
23940           warn about a memleak (I've actually seen this be used, though
23941           it was probably a bug)
23942
23943 2005-10-07  Wim Taymans  <wim@fluendo.com>
23944
23945         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23946         (gst_base_src_init), (gst_base_src_default_newsegment),
23947         (gst_base_src_newsegment), (gst_base_src_do_seek),
23948         (gst_base_src_loop), (gst_base_src_start):
23949         * gst/base/gstbasesrc.h:
23950         Make the newsegment event customizable by subclasses.
23951
23952 2005-10-07  Wim Taymans  <wim@fluendo.com>
23953
23954         * gst/gstevent.c: (gst_event_new_buffersize),
23955         (gst_event_parse_buffersize):
23956         * gst/gstevent.h:
23957         New event for future idea.
23958
23959 2005-10-07  Andy Wingo  <wingo@pobox.com>
23960
23961         * gst/gstelement.c (gst_element_post_message): Doc update.
23962
23963         * docs/gst/gstreamer-sections.txt: Update.
23964
23965         * gst/gstmessage.c (gst_message_new_application): Made into a
23966         function like honest API calls.
23967         (gst_message_new_element): New message type.
23968
23969         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
23970
23971         * check/elements/fakesrc.c (test_no_preroll): New check, checks
23972         that setting a live fakesrc to PAUSED returns NO_PREROLL both
23973         times.
23974
23975         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
23976         NO_PREROLL from gst_element_change_state to fall through.
23977
23978 2005-10-07  Wim Taymans  <wim@fluendo.com>
23979
23980         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
23981         (gst_ghost_pad_do_activate_push):
23982         Activating a ghostpad with no internal pad in push mode
23983         is ok.
23984
23985 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23986
23987         * gst/gstobject.h:
23988           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
23989           Fixes compilation on Windows.
23990
23991 2005-10-07  Michael Smith <msmith@fluendo.com>
23992
23993         * tools/gst-inspect.c:
23994           Print out feature and plugin count at the end when printing out
23995           all features.
23996
23997 2005-10-04  Michael Smith <msmith@fluendo.com>
23998
23999         * gst/gsterror.c: (_gst_stream_errors_init):
24000           Add another error string used in a few existing plugins.
24001
24002         * gst/gstplugin.c:
24003         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24004         * tools/gst-inspect.c: (print_element_info):
24005           When a feature disappears from a plugin (and the feature exists in
24006           the cached registry file), things went horribly wrong. This isn't a
24007           complete fix, we should actually be removing the 'missing' features
24008           from the features list when we load the actual plugin. That's not
24009           yet implemented. 
24010
24011 2005-10-04  Johan Dahlin  <johan@gnome.org>
24012
24013         * check/gst/gstiterator.c: (GST_START_TEST):
24014         * gst/gstbin.c: (gst_bin_iterate_elements),
24015         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24016         * gst/gstelement.c: (gst_element_iterate_pads):
24017         * gst/gstformat.c: (gst_format_iterate_definitions):
24018         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24019         (gst_iterator_new_list), (gst_iterator_filter):
24020         * gst/gstiterator.h:
24021         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24022         Add a GType to GstIterator, update callsites and tests.
24023
24024 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24025
24026         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24027           give events a chance to be handled by event probes when the pad
24028           is not linked
24029
24030 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24031
24032         * gst/gstevent.c: (gst_event_type_get_name),
24033         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24034         * gst/gstevent.h:
24035           add string representations for event types
24036
24037 2005-10-06  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24040         Don't use NULL pointers.
24041
24042 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24043
24044         * gst/gst_private.h:
24045         * gst/gstbus.c:
24046         * gst/gstelement.c:
24047         * gst/gstinfo.c:
24048         * gst/gstpluginfeature.c:
24049           widen the debug category in output to fit the biggest one we have
24050           add a bus category and use it
24051           play with the colors
24052           fix up some categories
24053
24054 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24055
24056         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24057           add push activation of sink ghost pads.
24058           Andye, please verify
24059
24060 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24061
24062         * gst/gstutils.c: (gst_element_link_pads):
24063           fix a bug in the case where neither element has a pad
24064         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24065           add a test for that case
24066
24067 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24068
24069         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24070           emit have-data before checking for peers.  This allows
24071           for probe handlers to connect elements.  This helps autopluggers.
24072         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24073         (gst_pad_suite):
24074           add six checks, linked/unlinked with no/true/false probe
24075
24076 2005-10-04  Wim Taymans  <wim@fluendo.com>
24077
24078         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24079         (gst_fake_sink_event), (gst_fake_sink_preroll),
24080         (gst_fake_sink_render), (gst_fake_sink_change_state):
24081         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24082         (gst_fake_src_get_property), (gst_fake_src_create),
24083         (gst_fake_src_stop):
24084         * gst/elements/gstidentity.c: (gst_identity_stop):
24085         Protect last_message with lock.
24086
24087 2005-10-04  Edward Hervey  <edward@fluendo.com>
24088
24089         * gst/gstformat.h: 
24090         Added precision in the comments for GST_FORMAT_DEFAULT
24091
24092 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24093
24094         * tools/gst-launch.c: (main):
24095           Don't try to run erroneous pipelines.
24096
24097 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24098
24099         * gst/gstbus.c: We don't need this header.
24100
24101 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24102
24103         * configure.ac:
24104           back to development
24105
24106 === release 0.9.3 ===
24107
24108 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24109
24110         * README:
24111         * configure.ac:
24112           Releasing 0.9.3, "Unregistered"
24113
24114 2005-10-03  Andy Wingo  <wingo@pobox.com>
24115
24116         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24117         whereby calling a pad's activatepush() function can start a thread
24118         that starts to push or pull before the pad gets the FLUSHING flag
24119         unset. Hack around it by holding the stream lock until the flag is
24120         set. Need to replace this with a proper solution. Together with
24121         the ghost pad fixes, this fixes mp3 playing/tagreading.
24122
24123         * docs/design/part-gstghostpad.txt: Add a note about activation of
24124         proxy pads outside of ghost pads.
24125
24126         * gst/gstghostpad.c: Implement the ghost pad activation design.
24127
24128 2005-10-02  Andy Wingo  <wingo@pobox.com>
24129
24130         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24131         It is volatile, after all.
24132
24133         * docs/design/part-gstghostpad.txt: Flesh out activation with
24134         ghost pads.
24135
24136         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24137         GST_DEBUG_FUNCPTR.
24138
24139 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24140
24141         * configure.ac:
24142           Fix (unused) AM_CONDITIONAL tests.
24143
24144 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24145
24146         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24147
24148         * gst/gstutils.c: (gst_pad_query_convert):
24149           Add assertion that makes sure src_val is >=0, just like
24150           gst_query_new_convert() has. (#315895)
24151
24152 2005-09-30  Edward Hervey  <edward@fluendo.com>
24153
24154         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24155         Let's not iterate pads we're not interested in, it avoids getting 
24156         sky-high refcounts on sinkpad.
24157
24158 2005-09-30  Wim Taymans  <wim@fluendo.com>
24159
24160         * gst/gstelement.c: (gst_element_set_state),
24161         (gst_element_change_state):
24162         Small tweak, element in ASYNC remains ASYNC.
24163
24164 2005-09-30  Wim Taymans  <wim@fluendo.com>
24165
24166         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24167         Only error is an error.
24168
24169         * gst/gstbin.c: (gst_bin_change_state):
24170         Better debugging.
24171
24172         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24173         Also call pad_block in pad alloc.
24174
24175         * gst/gstutils.c: (gst_flow_get_name):
24176         Better debugging.
24177
24178 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24179
24180         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24181         (gst_base_src_get_range):
24182           Fix documentation typos. Add some more debug info.
24183
24184 2005-09-29  David Schleef  <ds@schleef.org>
24185
24186         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24187           more end-user friendly.
24188         * tools/gst-inspect.c: (main): Check if command-line argument is
24189           a file and attempt to load that file as a plugin.
24190
24191 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24192
24193         * check/gst/gstbin.c:
24194         * check/states/sinks.c:
24195           fix tests for the new warning
24196         * check/gst/gstpipeline.c:
24197           add a test for pipeline and bus interaction
24198         * gst/gstelement.c:
24199           elements should be NULL if they get disposed; add a warning if not
24200
24201 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24202
24203         * gst/gstobject.c:
24204           for 2.6 refcounting, make debug log more correct by printing
24205           the actual refcounts at the time of swap (Wim)
24206
24207 2005-09-29  Andy Wingo  <wingo@pobox.com>
24208
24209         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24210         removes signal watches previously added via
24211         gst_bus_add_signal_watch.
24212         (gst_bus_add_signal_watch): Don't return the source id, just store
24213         it on the bus if there wasn't an id already.
24214
24215         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24216         add_signal_watch and remove_signal_watch.
24217
24218 2005-09-29  Edward Hervey  <edward@fluendo.com>
24219
24220         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24221         Better if we actually iterate the list :)
24222
24223 2005-09-29  Wim Taymans  <wim@fluendo.com>
24224
24225         * check/gst/gstbin.c: (GST_START_TEST):
24226         Change for new bus API.
24227
24228         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24229         (send_messages), (GST_START_TEST), (gstbus_suite):
24230         Change for new bus signal API.
24231
24232         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24233         (gst_bus_source_prepare), (gst_bus_source_check),
24234         (gst_bus_create_watch), (gst_bus_add_watch_full),
24235         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24236         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24237         * gst/gstbus.h:
24238         Remove support for multiple GSources operating on different
24239         message types as it is too complex and unneeded when using
24240         signals.
24241         Added support for receiving signals from the bus.
24242
24243 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24244
24245         * docs/libs/tmpl/gstdataprotocol.sgml:
24246         * docs/manual/advanced-dataaccess.xml:
24247         * gst/elements/gstcapsfilter.c:
24248         * gst/gstutils.c:
24249           rename filter-caps to caps property
24250
24251 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24252
24253         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24254           More robust fraction string parsing.
24255
24256         * docs/pwg/appendix-porting.xml:
24257           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24258
24259 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24260
24261         * gst/gstcaps.c: (gst_caps_do_simplify):
24262           Thou shalt not free a structure and then continue using it
24263           in the next loop iteration.
24264
24265         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24266         (gst_caps_suite):
24267           Add test case for caps simplification.
24268
24269 2005-09-29  Wim Taymans  <wim@fluendo.com>
24270
24271         * check/gst/gstbin.c: (GST_START_TEST):
24272         Oops.
24273
24274 2005-09-29  Wim Taymans  <wim@fluendo.com>
24275
24276         * check/gst/gstbin.c: (GST_START_TEST):
24277         Add bus to bin.
24278
24279         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24280         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24281         (find_element), (gst_bin_sort_iterator_next),
24282         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24283         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24284         (gst_bin_change_state), (gst_bin_dispose):
24285         A bin does not have a bus, it gets the bus from the parent.
24286
24287         * gst/gstelement.c: (gst_element_requires_clock),
24288         (gst_element_provides_clock), (gst_element_is_indexable),
24289         (gst_element_is_locked_state), (gst_element_change_state),
24290         (gst_element_set_bus_func):
24291         Small cleanups.
24292
24293         * gst/gstpipeline.c: (gst_pipeline_class_init),
24294         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24295         The pipeline provides a bus.
24296
24297 2005-09-28  Johan Dahlin  <johan@gnome.org>
24298
24299         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24300         gst_structure_get_enum instead of gst_structure_get_int
24301
24302         * gst/gststructure.c (gst_structure_get_enum): Impl.
24303
24304         * gst/gststructure.h (gst_structure_get_enum): Add
24305
24306         * docs/gst/gstreamer-sections.txt: Ditto
24307
24308         * gst/gstmessage.c (gst_message_new_state_changed): Use
24309         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24310         which does introspection.
24311         Reviewed by Christian Schaller
24312
24313 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24314
24315         * gst/gstinfo.c: (gst_debug_log_default):
24316           don't do dummy g_strdup()s
24317         * libs/gst/controller/gstcontroller.c:
24318         (on_object_controlled_property_changed),
24319         (gst_controlled_property_new), (gst_controller_new_valist),
24320         (gst_controller_new_list),
24321         (gst_controller_remove_properties_valist), (gst_controller_set),
24322         (gst_controller_get), (gst_controller_sync_values),
24323         (gst_controller_get_value_array), (_gst_controller_class_init),
24324         (gst_controller_get_type):
24325         * libs/gst/controller/gstcontroller.h:
24326         * libs/gst/controller/gstinterpolation.c:
24327         (gst_controlled_property_find_timed_value_node):
24328           convert // to /**/ comments
24329
24330 2005-09-28  Wim Taymans  <wim@fluendo.com>
24331
24332         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24333         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24334         (gst_bus_sync_signal_handler):
24335         * gst/gstbus.h:
24336         Added async-message and sync-message signals to the bus.
24337         Added helper BusFunc to emit signals for all posted messages.
24338
24339         * gst/gstmessage.c: (gst_message_type_get_name),
24340         (gst_message_type_to_quark), (gst_message_get_type):
24341         * gst/gstmessage.h:
24342         Register quarks for message names.
24343
24344 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24345
24346         * docs/libs/gstreamer-libs-sections.txt:
24347         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24348         (gst_controller_new_list):
24349         * libs/gst/controller/gstcontroller.h:
24350           added another constructor for language bindings
24351
24352 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24353
24354         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24355           add another check
24356         * gst/gstbus.c:
24357           add some doc
24358         * gst/gstinfo.c: (_gst_debug_init):
24359           slightly more readable color for refcount debugging
24360
24361 2005-09-28  Wim Taymans  <wim@fluendo.com>
24362
24363         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24364         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24365         (find_element), (gst_bin_sort_iterator_next),
24366         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24367         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24368         (gst_bin_change_state), (gst_bin_dispose):
24369         Small doc fixes. get_clock -> provide_clock.
24370
24371         * gst/gstelement.c: (gst_element_class_init),
24372         (gst_element_provides_clock), (gst_element_provide_clock),
24373         (gst_element_get_clock), (gst_element_commit_state),
24374         (gst_element_lost_state):
24375         * gst/gstelement.h:
24376         Make get/set_clock() symetric. Add provide_clock vmethod since
24377         that is actually what this function does.
24378
24379         * gst/gstpipeline.c: (gst_pipeline_class_init),
24380         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24381         (gst_pipeline_get_clock):
24382         get_clock -> provide_clock.
24383
24384 2005-09-28  Andy Wingo  <wingo@pobox.com>
24385
24386         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24387         lieu of real docs...
24388
24389         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24390
24391 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24392
24393         * gst/elements/gstcapsfilter.c:
24394         * gst/elements/gstfakesink.c:
24395         * gst/elements/gstfakesrc.c:
24396         * gst/elements/gstfdsink.c:
24397         * gst/elements/gstfdsrc.c:
24398         * gst/elements/gstfilesink.c:
24399         * gst/elements/gstfilesrc.c:
24400         * gst/elements/gstidentity.c:
24401         * gst/elements/gsttee.c:
24402         * gst/elements/gsttypefindelement.c:
24403           Make element details static.
24404
24405 2005-09-28  Wim Taymans  <wim@fluendo.com>
24406
24407         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24408         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24409         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24410         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24411         (gst_bin_change_state), (gst_bin_dispose):
24412         Some documentation updates.
24413         Clean up dispose handlers.
24414
24415         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24416         * gst/gstpad.c: (gst_pad_dispose):
24417         Clean up dispose handler.
24418
24419         * gst/gstpipeline.c: (gst_pipeline_change_state):
24420         Removed spurious UNLOCK.
24421
24422 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24423
24424         * docs/gst/gstreamer-sections.txt:
24425         * gst/base/gstbasesrc.h:
24426         * gst/gstelement.h:
24427         * gst/gstevent.h:
24428         * gst/gstobject.h:
24429         * gst/gstpad.h:
24430         * gst/gstpipeline.c:
24431         * gst/gstpipeline.h:
24432         * gst/gstutils.h:
24433         * gst/gstxml.h:
24434           added two new functions to the docs
24435                 documents all undocumented GstXXXFlags
24436                 completed some incomplete docs 
24437
24438 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24439
24440         * gst/gstbin.c: (gst_bin_dispose):
24441         * gst/gstelement.c: (gst_element_dispose):
24442           remove now useless and leaky resurrection code in dispose
24443         * gst/base/gstbasesrc.c: (gst_base_src_init):
24444         * gst/gstelementfactory.c: (gst_element_factory_create):
24445         * gst/gstobject.c: (gst_object_set_parent):
24446           add some debugging
24447
24448 2005-09-27  Wim Taymans  <wim@fluendo.com>
24449
24450         * docs/design/part-TODO.txt:
24451         Update TODO.
24452
24453         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24454         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24455         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24456         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24457         (gst_bin_change_state):
24458         * gst/gstelement.h:
24459         Remove element variable, we keep element info in the iterator now.
24460
24461 2005-09-27  Andy Wingo  <wingo@pobox.com>
24462
24463         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24464         values.
24465
24466 2005-09-27  Wim Taymans  <wim@fluendo.com>
24467
24468         * check/gst/gstbin.c: (GST_START_TEST):
24469         Enable check that works now.
24470
24471         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24472         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24473         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24474         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24475         (gst_bin_change_state):
24476         * gst/gstbin.h:
24477         Redid the state change algorithm using a topological sort algo.
24478         Handles all cases correctly.
24479         Exposed iterator for state change order.
24480
24481         * gst/gstelement.h:
24482         Temp storage for state changes. Need to get rid of this soon.
24483
24484 2005-09-27  Wim Taymans  <wim@fluendo.com>
24485
24486         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24487         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24488         (link_fold_func), (gst_pad_proxy_setcaps):
24489         Leak fixes, the fold functions need to unref the passed object and
24490         _get_parent_*() returns ref to parent.
24491
24492 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24493
24494         * check/gst/gstbuffer.c: (test_make_writable):
24495           Plug leak in test case and fix 'make check-valgrind'
24496
24497 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24498
24499         * gst/gstbuffer.c: (gst_subbuffer_init):
24500           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24501           works correctly in all circumstances (we could have just copied
24502           the parent buffer's readonly flag, but conceptually it seems
24503           cleaner to mark all subbuffers as read-only). (based on patch
24504           by Alessandro Decina, #314710).
24505         
24506         * check/gst/gstbuffer.c: (create_read_only_buffer),
24507         (test_make_writable), (test_subbuffer_make_writable),
24508         (gst_test_suite):
24509           Add some tests for gst_buffer_make_writable().
24510
24511 2005-09-27  Wim Taymans  <wim@fluendo.com>
24512
24513         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24514         use gst_object_has_ancestor().
24515
24516         * gst/gstobject.c: (gst_object_has_ancestor):
24517         * gst/gstobject.h:
24518         gst_object_has_ancestor() copied from gstbin.c as it is a
24519         useful function.
24520
24521         * tests/instantiate/create.c: (create_all_elements):
24522         * tests/lat.c: (handoff_src), (handoff_sink):
24523         * tests/sched/runxml.c: (main):
24524         * tests/seeking/seeking1.c: (main):
24525         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24526         (main):
24527         Fix compilation of some tests.
24528
24529 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24530
24531         * gst/gsterror.h:
24532           Remove comment. GST_TYPE_G_ERROR is here to stay,
24533           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24534           (#316961, #300610).
24535
24536 2005-09-26  Wim Taymans  <wim@fluendo.com>
24537
24538         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24539         Added check that shows error in state change order.
24540
24541 2005-09-26  Wim Taymans  <wim@fluendo.com>
24542
24543         * gst/gstbin.c: (gst_bin_change_state):
24544         Make state change function use 3 queues again, we were
24545         adding elements in the wrong order.
24546
24547         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24548         Some debug info,
24549
24550         * gst/gstpad.c: (gst_pad_dispose):
24551         Added some debug info first.
24552
24553 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24554
24555         * docs/design/draft-push-pull.txt:
24556         * docs/design/part-events.txt:
24557         * docs/design/part-overview.txt:
24558         * docs/design/part-scheduling.txt:
24559           Replace all _pull_region() with _pull_range()
24560           
24561 2005-09-26  Andy Wingo  <wingo@pobox.com>
24562
24563         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24564
24565         * check/gst-libs/controller.c: Update for controller api change.
24566
24567         * configure.ac: 
24568         * tests/Makefile.am:
24569         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24570         over by GLib bug 118439.
24571         
24572         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24573         routines to a function.
24574
24575         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24576
24577         * libs/gst/controller/gsthelper.c:
24578         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24579         (gst_object_sync_values): Renamed from sink_values. Ugh.
24580
24581         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24582
24583         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24584         Renamed from controller_key, as it is exported.
24585
24586         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24587
24588 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24589
24590         * gst/Makefile.am:
24591         * gst/gst.h:
24592         * gst/gstpad.h:
24593         * gst/gstpadtemplate.h:
24594         * gst/gstquery.c:
24595         * gst/gstquery.h:
24596         * gst/gstqueryutils.c:
24597         * gst/gstqueryutils.h:
24598           remove queryutils headers after moving the two used functions
24599           to gstquery.  also fixes build problem for gstsiddec
24600
24601 2005-09-26  Michael Smith <msmith@fluendo.com>
24602
24603         * tools/gst-launch.1.in:
24604         Correct documentation in manpage of debug syntax
24605
24606 2005-09-26  Wim Taymans  <wim@fluendo.com>
24607
24608         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24609         (gst_base_src_is_seekable), (gst_base_src_change_state):
24610         Some more debugging info.
24611
24612 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24613
24614         * docs/gst/gstreamer-sections.txt:
24615         * gst/base/gstbasetransform.h:
24616         * gst/gstindex.h:
24617           added more docs
24618
24619 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24620
24621         * docs/gst/.cvsignore:
24622         * docs/gst/tmpl/.cvsignore:
24623         * docs/gst/tmpl/gstpipeline.sgml:
24624         * docs/gst/tmpl/gstplugin.sgml:
24625         * gst/gstpipeline.c:
24626         * gst/gstplugin.c:
24627         * gst/gstplugin.h:
24628           inlined the last two docs files
24629           removed the tmpl directory from cvs (no more conflicts here!)
24630
24631 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24632
24633         * docs/gst/gstreamer-sections.txt:
24634         * docs/gst/tmpl/.cvsignore:
24635         * docs/gst/tmpl/gstpad.sgml:
24636         * docs/gst/tmpl/gstpadtemplate.sgml:
24637         * gst/Makefile.am:
24638         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24639         (gst_pad_finalize), (gst_pad_set_pad_template):
24640         * gst/gstpad.h:
24641         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24642         (gst_pad_template_class_init), (gst_pad_template_init),
24643         (gst_pad_template_dispose), (name_is_valid),
24644         (gst_static_pad_template_get), (gst_pad_template_new),
24645         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24646         (gst_pad_template_pad_created):
24647         * gst/gstpadtemplate.h:
24648           inlined two more docs
24649           factored gstpadtemplate out of gstpad
24650
24651 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24652
24653         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24654         (test_children_state_change_order_semi_sink):
24655           Fix test case: we can't rely on a fixed state change order when
24656           going from READY => PAUSED because the sink might commit its 
24657           new state first when the first buffer created by the source 
24658           reaches the sink before the source has finished its change state.
24659           (Test case still fails at times, see #316856, comment 5 onwards)
24660
24661 2005-09-24  Wim Taymans  <wim@fluendo.com>
24662
24663         * docs/design/part-events.txt:
24664         * docs/design/part-gstbus.txt:
24665         * docs/design/part-gstpipeline.txt:
24666         * docs/design/part-messages.txt:
24667         * docs/design/part-overview.txt:
24668         * docs/design/part-segments.txt:
24669         * gst/gstbin.c:
24670         * gst/gstbuffer.c:
24671         * gst/gstclock.c:
24672         * gst/gstelement.c:
24673         * gst/gstevent.c:
24674         * gst/gstfilter.c:
24675         * gst/gstiterator.c:
24676         Various documentation updates.
24677
24678 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24679
24680         * gst/gstclock.h:
24681           Well, that's embarassing.  Luckily we weren't using
24682           GST_CLOCK_DIFF anywhere.
24683
24684 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24685
24686         * common/gtk-doc.mak:
24687           don't fail on building XML, FC4 slave shows a bunch of doc
24688           missing bits that I don't get
24689         * gst/gstpad.c:
24690         * gst/gstpipeline.c:
24691         * gst/gststructure.c:
24692           some doc updates
24693
24694 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24695
24696         * docs/design/part-gstbin.txt:
24697         * docs/design/part-gstbus.txt:
24698         * gst/gstbus.c:
24699           Add blurb about how the bus goes into flushing mode and
24700           drops all messages when its bin goes from READY into NULL 
24701           state.
24702
24703 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24704
24705         * docs/gst/gstreamer-sections.txt:
24706         * gst/gststructure.c: (gst_structure_get_clock_time):
24707         * gst/gststructure.h:
24708           add a method to get a GstClockTime out of a structure
24709
24710 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24711
24712         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24713         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24714           Added test to check state change order in bins (can still be made
24715           to fail here under heavy disk load; bails out with 'Push on pad
24716           fakesink:sink0, but it was not activated in push mode').
24717
24718         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24719           Fix state change order when there is only a semi sink (#316856)
24720
24721         * gst/gstbus.c: (gst_bus_class_init):
24722           Use _class_peek_parent(), not _class_ref(); fix docs to say
24723           'default main context' instead of 'mainloop' where that is
24724           what's meant.
24725
24726         * gst/gstelement.c: (gst_element_commit_state),
24727         (gst_element_set_state):
24728           Fix typos in debug messages
24729
24730 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24731
24732         * docs/README:
24733         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24734         * gst/gstpluginfeature.c:
24735         * gst/gstutils.c:
24736           various doc updates
24737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24738           change an assert into an error until it gets fixed properly
24739
24740 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24741
24742         * docs/gst/gstreamer-sections.txt:
24743         * docs/gst/tmpl/.cvsignore:
24744         * docs/gst/tmpl/gstelement.sgml:
24745         * docs/gst/tmpl/gstinfo.sgml:
24746         * docs/gst/tmpl/gstobject.sgml:
24747         * gst/gstelement.c:
24748         * gst/gstelement.h:
24749         * gst/gstinfo.c:
24750         * gst/gstinfo.h:
24751         * gst/gstobject.c: (gst_object_class_init):
24752         * gst/gstobject.h:
24753           inlined 3 more biiiig doc files and added some missing docs on the fly
24754
24755 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24756
24757         * check/gst/.cvsignore:
24758         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24759         * gst/gstregistryxml.c: (load_plugin),
24760         (gst_registry_xml_save_plugin):
24761           put back source in registry.  add checks for find_plugin.
24762         * testsuite/states/bin.c: (assert_state), (empty_bin),
24763         (test_adding_one_element), (main):
24764         * testsuite/states/locked.c: (main):
24765           some compile/run fixes
24766
24767 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24768
24769         * check/gst/gstvalue.c: (GST_START_TEST):
24770           fix leaks in the test itself
24771
24772 2005-09-22  Wim Taymans  <wim@fluendo.com>
24773
24774         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24775         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24776         (gst_base_sink_query):
24777         Prepare for more accurate position reporting and query
24778         handling.
24779
24780         * gst/gstelement.c: (gst_element_send_event),
24781         (gst_element_set_state):
24782         Add some comment.
24783
24784 2005-09-22  Wim Taymans  <wim@fluendo.com>
24785
24786         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24787         (gst_query_parse_segment):
24788         * gst/gstquery.h:
24789         More documentation.
24790         Add segment query for future use.
24791
24792 2005-09-22  Wim Taymans  <wim@fluendo.com>
24793
24794         * gst/gstbin.c: (gst_bin_add_func):
24795         Some more debug info.
24796
24797         * gst/gstelement.c: (gst_element_send_event):
24798         Simplify send_event
24799
24800         * gst/gstelement.h:
24801         Don't know how flags got broken.
24802
24803         * gst/gstquery.h:
24804         Added new query.
24805
24806 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24807
24808         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24809           Add simplistic test suite for GST_TYPE_DATE serialisation and
24810           deserialisation.
24811
24812 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24813
24814         * docs/gst/gstreamer-sections.txt:
24815         * gst/gststructure.c: (gst_structure_set_valist),
24816         (gst_structure_get_date):
24817         * gst/gststructure.h:
24818         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24819         (gst_date_copy), (gst_value_compare_date),
24820         (gst_value_serialize_date), (gst_value_deserialize_date),
24821         (gst_value_transform_date_string),
24822         (gst_value_transform_string_date), (_gst_value_initialize):
24823         * gst/gstvalue.h:
24824           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24825           bunch of utility functions along with a hack that checks that
24826           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24827           is required. Part of the grand scheme in #170777.
24828
24829 2005-09-22  Andy Wingo  <wingo@pobox.com>
24830
24831         * gst/gstconfig.h.in: Psych out gtk-doc.
24832
24833         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24834
24835         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24836
24837         * tools/gst-inspect.c (print_element_list): Plug some
24838         inconsequential leaks.
24839
24840         * gst/gstregistry.c (gst_registry_get_default): Doc.
24841
24842         * check/gst/gstplugin.c: 
24843         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24844         * gst/gstelementfactory.c (gst_element_factory_create): 
24845         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24846         refcount changes.
24847
24848         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24849         (gst_plugin_feature_load): Doc, don't eat refs.
24850
24851         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24852         (gst_plugin_list_free): Doc.
24853         (gst_plugin_load_file): Doc updates.
24854
24855         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24856         accessors returning refcounted objects, return a ref.
24857
24858         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24859         accessor for caps. IDEMPOTENCE. Oh yes.
24860
24861 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24862
24863         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24864
24865         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24866         (_gst_debug_register_funcptr):
24867           Add mutex to serialise access to the hash table with
24868           the function pointer => function name string mapping;
24869           make that hash table static scope (#316809).
24870
24871         * gst/registries/.cvsignore:
24872           Remove left-over file.
24873
24874 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24875
24876         * docs/pwg/appendix-porting.xml:
24877           And something about newsegment events and caps-on-buffers to
24878           the porting guide (feel free to improve).
24879
24880 2005-09-21  Andy Wingo  <wingo@pobox.com>
24881
24882         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24883         data and event probes on the same pad.
24884         (test_buffer_probe_once): Test that removing probes from within
24885         the probe functions works.
24886
24887 2005-09-21  Andy Wingo  <wingo@pobox.com>
24888
24889         * check/gst/gstutils.c: New file.
24890         (test_buffer_probe_n_times): A simple buffer probe test. More to
24891         come, foolios.
24892
24893         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24894         have-data::buffer, not have-data.
24895         (gst_pad_add_event_probe): Likewise for have-data::event.
24896         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24897         peer' isn't quite right yet though.
24898         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24899         (gst_pad_remove_data_probe): Change to take the guint handler_id
24900         as their arg, not the function+data, which is more glib-like.
24901
24902         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24903         the signal emission to indicate if the data is a buffer or an
24904         event.
24905         (gst_pad_get_type): Initialize buffer and event quarks.
24906         (gst_pad_class_init): have-data is now a detailed signal, yes it
24907         is.
24908
24909 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24910
24911         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24912         * gst/gstutils.c: (gst_util_set_value_from_string),
24913         (gst_util_set_object_arg):
24914           Don't put functional code in g_return_if_fail() or
24915           g_return_val_if_fail() statements, otherwise things will 
24916           break when G_DISABLE_CHECKS is defined during compilation.
24917
24918 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24919
24920         * docs/gst/tmpl/.cvsignore:
24921         * docs/gst/tmpl/gstvalue.sgml:
24922         * gst/gstvalue.c:
24923         * gst/gstvalue.h:
24924           inlied another one and added  some obvious docs
24925
24926 2005-09-21  Wim Taymans  <wim@fluendo.com>
24927
24928         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24929         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24930         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24931         (gst_fdsrc_get_property), (gst_fdsrc_create):
24932         * gst/elements/gstfdsrc.h:
24933         Properly implement fdsrc. Removed signal and timeout,
24934         better implemented somewhere else.
24935
24936 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24937
24938         * docs/gst/tmpl/.cvsignore:
24939         * docs/gst/tmpl/gstimplementsinterface.sgml:
24940         * gst/gstinterface.c:
24941           inlined more docs
24942
24943 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24944
24945         * docs/gst/gstreamer-sections.txt:
24946         * docs/gst/tmpl/.cvsignore:
24947         * docs/gst/tmpl/gstenumtypes.sgml:
24948           remove obsolete doc file
24949
24950 2005-09-21  David Schleef  <ds@schleef.org>
24951
24952         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
24953         little beer, fix a little leak.
24954
24955 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24956
24957         * docs/gst/gstreamer-docs.sgml:
24958         * docs/gst/gstreamer-sections.txt:
24959         * docs/gst/tmpl/.cvsignore:
24960         * gst/Makefile.am:
24961         * gst/gst.h:
24962         * gst/gstbin.c:
24963         * gst/gstelement.h:
24964         * gst/gstindex.c: (gst_index_class_init):
24965         * gst/gstindex.h:
24966         * gst/gstindexfactory.c: (gst_index_factory_get_type),
24967         (gst_index_factory_class_init), (gst_index_factory_init),
24968         (gst_index_factory_finalize), (gst_index_factory_new),
24969         (gst_index_factory_destroy), (gst_index_factory_find),
24970         (gst_index_factory_create), (gst_index_factory_make):
24971         * gst/gstindexfactory.h:
24972         * gst/gstpluginfeature.c:
24973         * gst/gstpluginfeature.h:
24974         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24975           more docs inlined, splitted gstindex.{c,h}
24976
24977 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24978
24979         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
24980           fix a leak
24981
24982 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
24983
24984         * gst/elements/gstfilesink.c: (gst_file_sink_init):
24985           Set sync to FALSE by default.
24986
24987 2005-09-20  Wim Taymans  <wim@fluendo.com>
24988
24989         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24990         (gst_base_sink_init):
24991         Make sync property settable from subclass.
24992
24993         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24994         (gst_fake_sink_change_state):
24995         Set sync to FALSE by default.
24996
24997 2005-09-20  Wim Taymans  <wim@fluendo.com>
24998
24999         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25000         * tools/gst-launch.c: (main):
25001         The timeout handler should have lower priority than the source
25002         so we don't timeout before popping a message with 0 timeout.
25003         Dump error messages after failed state change.
25004
25005 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25006
25007         * tools/gst-inspect.c: (print_element_properties_info):
25008           Fix two typos.
25009
25010 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25011
25012         * check/gst/gstevent.c:
25013         * gst/elements/gstfakesink.c:
25014         * gst/elements/gstfakesink.h:
25015           remove the sync property from fakesink.
25016           has the side effect of setting sync TRUE
25017           for fakesink, which is a change.  Anyone who knows how
25018           to fix this nicely in a GObject-y way, feel free.
25019
25020 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25021
25022         * docs/gst/gstreamer-docs.sgml:
25023           remove probe refsection
25024
25025 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25026
25027         * check/Makefile.am:
25028           disable valgrinding the controller test again
25029         * docs/gst/gstreamer-sections.txt:
25030           update for api-changes
25031
25032 2005-09-20  Wim Taymans  <wim@fluendo.com>
25033
25034         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25035         (gst_base_sink_set_property), (gst_base_sink_get_property),
25036         (gst_base_sink_do_sync):
25037         * gst/base/gstbasesink.h:
25038         Added sync property to basesink to disable clock sync.
25039
25040 2005-09-20  Andy Wingo  <wingo@pobox.com>
25041
25042         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25043         eating the caller's refcount.
25044
25045         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25046         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25047         refcount.
25048
25049         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25050         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25051         of GLib 2.8 public, so we can know which refcount to check in
25052         tests.
25053
25054         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25055         (gst_object_init): Only set the gst refcount if we're going ahead
25056         with the refcount hack.
25057
25058 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25059
25060         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25061         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25062           more leaks plumbed, added more debug-logging
25063         * gst/gstmacros.h:
25064           whitespace fix
25065
25066 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25067
25068         * gst/gstmessage.c:
25069           remove include of gstmemchunk.h
25070
25071 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25072
25073         * gst/gstclock.c: (_gst_clock_id_free):
25074           Commit from the Political Party For More Atomic CVS Commits,
25075           so that people don't waste too much of their day fishing
25076           out obvious leaks out of massive commits.
25077           Oh, and fix a pretty damn obvious leak in the memchunk
25078           removal code.
25079
25080 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25081
25082         * check/Makefile.am:
25083         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25084           plug mem-leak, re-add to valgrindable tests
25085
25086 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25087
25088         * gst/gstplugin.h:
25089           unbreak the build for those who have chronic arthritis
25090           and typing "make check" is just too taxing on the hands
25091
25092 2005-09-20  Andy Wingo  <wingo@pobox.com>
25093
25094         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25095         really want it out, you should fix plugins at the same time.
25096
25097 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25098
25099         * configure.ac:
25100         * docs/gst/gstreamer-sections.txt:
25101         * gst/gstobject.c:
25102           added missing symbols to api docs
25103           disable ref-count hack if we have glib >= 2.8
25104
25105 2005-09-19  David Schleef  <ds@schleef.org>
25106
25107         * docs/gst/Makefile.am: Ignore a few more internal headers
25108         * docs/gst/gstreamer-docs.sgml: Remove old sections
25109         * docs/gst/gstreamer-sections.txt: Remove old sections
25110         * docs/gst/tmpl/gstobject.sgml: update
25111         * docs/gst/tmpl/gstplugin.sgml: update
25112         * docs/gst/tmpl/gstpluginfeature.sgml: update
25113         * docs/random/ds/0.9-suggested-changes: update.
25114         * gst/Makefile.am: remove memchunk and trashstack, since they're
25115           not used.
25116         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25117         * gst/gst.h: don't include some headers
25118         * gst/gstchildproxy.c: add gstmarshal.h
25119         * gst/gstclock.c: Don't use memchunks
25120         * gst/gstminiobject.c: Add some docs
25121         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25122         * gst/gstobject.h: same
25123         * gst/gstplugin.c: include gstmacros.h
25124         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25125         * gst/gstquery.c: don't use memchunks
25126         * gst/gstregistry.c: rename gst_registry_deinit()
25127         * gst/gstregistry.h: same
25128
25129 2005-09-19  David Schleef  <ds@schleef.org>
25130
25131         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25132         * docs/libs/gstreamer-libs-sections.txt:
25133         * docs/libs/tmpl/gstgetbits.sgml:
25134         * docs/libs/tmpl/gstputbits.sgml:
25135
25136 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25137
25138         * win32/gstenumtypes.c:
25139         * win32/gstenumtypes.h:
25140           Update.
25141
25142 2005-09-19  Wim Taymans  <wim@fluendo.com>
25143
25144         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25145         Automatically PAUSE and RESUME a pipeline when a flushing seek
25146         is performed.
25147
25148 2005-09-19  Andy Wingo  <wingo@pobox.com>
25149
25150         * gst/gstregistry.h: Spacing fixen.
25151
25152 2005-09-19  Wim Taymans  <wim@fluendo.com>
25153
25154         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25155         Handle state change failure more correctly.
25156
25157 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25158
25159         * check/Makefile.am:
25160         * check/pipelines/cleanup.c: (run_pipeline):
25161         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25162         (GST_START_TEST):
25163           enable cleanup again after fixing the leak
25164         * docs/README:
25165           some more info on docs
25166
25167 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25168
25169         * check/Makefile.am:
25170           re-enable tests now that leaks are plugged
25171         * check/gst/gst.c:
25172         * check/gst/gstbin.c:
25173         * check/gst/gstpipeline.c:
25174           add some more tests while fixing leaks
25175         * common/check.mak:
25176           make sure binaries are uptodate when valgrinding/gdbing
25177         * gst/gst.c:
25178         * gst/gstelementfactory.c:
25179           remove a ref too many, and add a FIXME for when we get
25180           round to disposing of classes
25181         * gst/gstplugin.c:
25182           fix the refcounting when loading a plugin from a file and
25183           the code pretends that the pointer is the same even though
25184           of course it can change
25185         * gst/gstpluginfeature.c:
25186           unref plugins marked cached (a bit confusing as a name)
25187           as the docs state should be done
25188           various doc additions to explain refcounting
25189         * gst/gstregistry.c:
25190         * gst/gstregistryxml.c:
25191           debugging
25192
25193 2005-09-19  Wim Taymans  <wim@fluendo.com>
25194
25195         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25196         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25197         (send_messages), (GST_START_TEST), (gstbus_suite):
25198         * check/gst/gstpipeline.c: (GST_START_TEST):
25199         * check/pipelines/cleanup.c: (run_pipeline):
25200         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25201         (GST_START_TEST):
25202         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25203         (gst_bus_source_check), (gst_bus_source_dispatch),
25204         (gst_bus_create_watch), (gst_bus_add_watch_full),
25205         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25206         * gst/gstbus.h:
25207         * tools/gst-launch.c: (event_loop):
25208         * tools/gst-md5sum.c: (event_loop):
25209         GstBusHandler -> GstBusFunc, return value has the same meaning as
25210         any other GSource (FALSE == remove source).
25211         _add_watch() and _add_watch_full() now take a MessageType mask to
25212         only handle specific types of messages.
25213         _poll() returns the GstMessage instead of the message type to avoid
25214         race conditions.
25215         _have_pending() takes a MessageType mask now too.
25216         Added testsuite for multiple bus watches.
25217         Fix testsuites and applications for new bus API.
25218
25219 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25220
25221         * check/Makefile.am:
25222           mark a bunch of the tests as to fix until we fix them
25223
25224 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25225
25226         * common/check.mak:
25227           use GST_PLUGIN settings for valgrind tests as well, so we're
25228           valgrinding the correct thing
25229         * gst/gst.c: (init_post):
25230           plug another leak
25231
25232 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25233
25234         * gst/gst.c: (init_post), (gst_deinit):
25235         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25236         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25237         * gst/gstindex.c: (gst_index_factory_class_init),
25238         (gst_index_factory_finalize):
25239         * gst/gstobject.c: (gst_object_dispose):
25240         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25241         (gst_plugin_load_file), (gst_plugin_desc_free):
25242         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25243         (gst_plugin_feature_finalize):
25244         * gst/gstregistry.c: (gst_registry_class_init),
25245         (gst_registry_init), (gst_registry_finalize),
25246         (gst_registry_get_default), (gst_registry_deinit):
25247         * gst/gstregistry.h:
25248         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25249           various cleanups and memleak plugging.  make valgrind is happy now.
25250
25251 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25252
25253         * common/check.mak:
25254           add a check-valgrind target
25255
25256 2005-09-18  David Schleef  <ds@schleef.org>
25257
25258         * tools/gst-inspect.c: Revert the GOption code.
25259
25260 2005-09-17  David Schleef  <ds@schleef.org>
25261
25262         * check/Makefile.am: Fix environment variables.
25263         * check/gst/gstplugin.c: Fix for API changes.
25264         * tools/gst-inspect.c: Fix for API changes.
25265         * tools/gst-xmlinspect.c: Fix for API changes.
25266         * gst/gstelementfactory.c:
25267         * gst/gstplugin.c:
25268         * gst/gstplugin.h:
25269         * gst/gstpluginfeature.c:
25270         * gst/gstpluginfeature.h:
25271         * gst/gstregistry.c:
25272         * gst/gstregistry.h:
25273         * gst/gstregistryxml.c:
25274         * gst/gsttypefind.c:
25275         * gst/gsttypefindfactory.c:
25276         * gst/indexers/gstfileindex.c:
25277         * gst/indexers/gstmemindex.c:
25278         * gst/schedulers/Makefile.am:
25279           Change registry to keep track of both plugins and features,
25280           removing the feature tracking from plugins themselves.
25281
25282 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25283
25284         * check/Makefile.am:
25285         * tools/gst-register.1.in:
25286           remove gst-register
25287
25288 2005-09-15  David Schleef  <ds@schleef.org>
25289
25290         * check/gst/gstplugin.c:
25291         * gst/gstelementfactory.c:
25292         * gst/gstplugin.c:
25293         * gst/gstpluginfeature.c:
25294         * gst/gstregistry.c:
25295           Getting tired of debugging.  Disabled all the unreffing of
25296           plugins and features, which fixes the segfaults, but of
25297           course leaks like crazy.  At least playbin works.
25298
25299 2005-09-15  David Schleef  <ds@schleef.org>
25300
25301         * check/gst/gstplugin.c: (register_check_elements),
25302         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25303         More testing
25304         * gst/elements/gsttypefindelement.c: Fix refcounting.
25305         * gst/gsttypefind.c:
25306         * gst/gsttypefindfactory.c:
25307         * gst/gsttypefindfactory.h:
25308
25309 2005-09-15  David Schleef  <ds@schleef.org>
25310
25311         * gst/gstindex.c: get refcounting correct.
25312         * gst/gstregistry.c: Handle the case where a feature/plugin is
25313           not found.
25314
25315 2005-09-15  David Schleef  <ds@schleef.org>
25316
25317         * check/Makefile.am:
25318         * check/gst/gstplugin.c: Add test
25319         * gst/gstplugin.c: Fix problems noticed by testsuite
25320         * gst/gstplugin.h:
25321         * gst/gstregistry.c: 
25322         * gst/gstregistry.h:
25323
25324 2005-09-15  David Schleef  <ds@schleef.org>
25325
25326         * gst/gstplugin.c: Implement semi-decent recounting and locking
25327           in plugins and plugin features.
25328         * gst/gstplugin.h:
25329         * gst/gstpluginfeature.c:
25330         * gst/gstpluginfeature.h:
25331         * gst/gstregistry.c:
25332
25333 2005-09-15  Michael Smith <msmith@fluendo.com>
25334
25335         * gst/gstregistry.c: (gst_registry_get_feature_list):
25336           Implement this. Makes oggdemux work; decodebin still broken.
25337
25338 2005-09-14  David Schleef  <ds@schleef.org>
25339
25340         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25341           #316076)
25342         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25343         * gst/check/Makefile.am:
25344         * libs/gst/controller/Makefile.am:
25345         * libs/gst/dataprotocol/Makefile.am:
25346
25347 2005-09-14  David Schleef  <ds@schleef.org>
25348
25349         * configure.ac: Remove getbits library.  Nothing uses it, and
25350           it should be in something like liboil if someone did want
25351           to use it.
25352         * libs/gst/Makefile.am:
25353         * libs/gst/getbits/Makefile.am:
25354         * libs/gst/getbits/gbtest.c:
25355         * libs/gst/getbits/getbits.c:
25356         * libs/gst/getbits/getbits.h:
25357         * libs/gst/getbits/gstgetbits_generic.c:
25358         * libs/gst/getbits/gstgetbits_i386.s:
25359         * libs/gst/getbits/gstgetbits_inl.h:
25360
25361 2005-09-14  David Schleef  <ds@schleef.org>
25362
25363         * gst/Makefile.am: Dist glib-compat.h
25364
25365 2005-09-14  David Schleef  <ds@schleef.org>
25366
25367         * configure.ac: Remove gst/registries, since it's no longer used.
25368         * gst/registries/Makefile.am:
25369         * gst/registries/gstlibxmlregistry.c:
25370         * gst/registries/gstlibxmlregistry.h:
25371         * gst/registries/gstxmlregistry.c:
25372         * gst/registries/gstxmlregistry.h:
25373         * gst/registries/registrytest.c:
25374
25375 2005-09-14  David Schleef  <ds@schleef.org>
25376
25377         * gst/glib-compat.h:
25378         * gst/gstregistryxml.c:
25379           Convergence is near.  Seriously.
25380
25381 2005-09-14  David Schleef  <ds@schleef.org>
25382
25383         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25384         * gst/glib-compat.h:
25385           Attempt #4 to appease the buildbots.
25386
25387 2005-09-14  David Schleef  <ds@schleef.org>
25388
25389         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25390           Attempt #3.
25391
25392 2005-09-14  David Schleef  <ds@schleef.org>
25393
25394         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25395         Attempt #2.
25396
25397 2005-09-14  David Schleef  <ds@schleef.org>
25398
25399         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25400           the new functions.
25401
25402 2005-09-14  David Schleef  <ds@schleef.org>
25403
25404         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25405         * gst/glib-compat.h: Add some functions that are in newer versions
25406           of glib than we care to require.
25407         * gst/gstregistryxml.c: Use them.
25408
25409 2005-09-14  David Schleef  <ds@schleef.org>
25410
25411         * po/POTFILES.in: remove gst-register.c
25412
25413 2005-09-14  David Schleef  <ds@schleef.org>
25414
25415         * docs/gst/gstreamer-docs.sgml:
25416         * docs/gst/gstreamer-sections.txt:
25417         * docs/gst/gstreamer.types:
25418         * docs/gst/tmpl/gstelement.sgml:
25419         * docs/gst/tmpl/gstplugin.sgml:
25420         * docs/gst/tmpl/gstpluginfeature.sgml:
25421           Documentation updates for registry changes.
25422
25423 2005-09-14  David Schleef  <ds@schleef.org>
25424
25425         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25426           because we don't require glib-2.8.
25427
25428 2005-09-14  David Schleef  <ds@schleef.org>
25429
25430         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25431           registries directory.
25432
25433 2005-09-14  David Schleef  <ds@schleef.org>
25434
25435         * check/Makefile.am:
25436         * check/generic/states.c:
25437         * gst/Makefile.am:
25438         * gst/gst.c:
25439         * gst/gst.h:
25440         * gst/gst_private.h:
25441         * gst/gstelementfactory.c:
25442         * gst/gstindex.c:
25443         * gst/gstinfo.c:
25444         * gst/gstplugin.c:
25445         * gst/gstplugin.h:
25446         * gst/gstpluginfeature.c:
25447         * gst/gstpluginfeature.h:
25448         * gst/gstregistry.c:
25449         * gst/gstregistry.h:
25450         * gst/gstregistrypool.c: remove
25451         * gst/gstregistrypool.h: remove
25452         * gst/gsttypefind.c:
25453         * gst/gsttypefindfactory.c:
25454         * gst/gsturi.c:
25455         * tools/Makefile.am:
25456         * tools/gst-compprep.c:
25457         * tools/gst-inspect.c:
25458         * tools/gst-register.c: remove
25459         * tools/gst-xmlinspect.c:
25460           Registry rewrite.  Changes registry from being a file created
25461           by a tool into a simple cache file created automatically by 
25462           libgstreamer.  Removed gst-register (because it's no longer
25463           needed).  Remove registry pools, because we only have one
25464           registry implementation (XML).  Fix up other subsystems as
25465           necessary.
25466
25467 2005-09-13  Michael Smith <msmith@fluendo.com>
25468
25469         * gst/gstconfig.h.in:
25470           Don't Use windows linking attributes for MinGW. Fixes #316157
25471
25472 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25473
25474         * gst/gstutils.c: (set_state_async_thread_func),
25475         (gst_element_set_state_async):
25476           Apparently people think it's better if this function doesn't
25477           try to set the state to whatever state was asked for on the first
25478           call to this function for any object.  Seriously.
25479
25480 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25481
25482         * check/gst/gstpipeline.c: (GST_START_TEST):
25483         * docs/gst/gstreamer-sections.txt:
25484         * gst/gstutils.c: (set_state_async_thread_func),
25485         (gst_element_set_state_async):
25486         * gst/gstutils.h:
25487           add a "gst_element_set_state_async" method that
25488           sets the state and starts a thread to make sure the state
25489           change completes as best as it can
25490
25491 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25492
25493         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25494           codify design+behaviour in testsuite after discussion
25495
25496 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25497
25498         * docs/gst/tmpl/gstelement.sgml:
25499         * docs/manual/appendix-quotes.xml:
25500           add a quote
25501         * gst/gstelement.c: (gst_element_set_state):
25502           add some debug
25503
25504 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25505
25506         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25507         (gst_base_transform_prepare_output_buf),
25508         (gst_base_transform_handle_buffer):
25509         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25510         (gst_capsfilter_prepare_buf):
25511           Remove the requirement for sub-classes to call the parent
25512           implementation of prepare_output_buffer with a wrapper function.
25513           
25514         * gst/gsttaglist.h:
25515         * gst/gsttagsetter.h:
25516           Fix #define wrapper
25517
25518 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25519
25520         * docs/gst/gstreamer-sections.txt:
25521           more doc cleanups
25522
25523 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25524
25525         * docs/gst/gstreamer-sections.txt:
25526         * docs/gst/tmpl/gstelement.sgml:
25527         * docs/gst/tmpl/gstplugin.sgml:
25528         * gst/gstminiobject.c:
25529         * gst/gstvalue.h:
25530           docs now stop throwing warnings
25531
25532 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25533
25534         * docs/gst/gstreamer-sections.txt:
25535         * docs/gst/gstreamer.types:
25536         * docs/gst/tmpl/gstpad.sgml:
25537         * docs/gst/tmpl/gsttypes.sgml:
25538         * gst/base/gstadapter.h:
25539         * gst/base/gstbasesink.h:
25540         * gst/base/gstbasesrc.h:
25541         * gst/gstbin.h:
25542         * gst/gstbuffer.h:
25543         * gst/gstbus.h:
25544         * gst/gstcaps.h:
25545         * gst/gstclock.h:
25546         * gst/gstelement.h:
25547         * gst/gstevent.h:
25548         * gst/gstmessage.h:
25549         * gst/gstpad.h:
25550         * gst/gststructure.c:
25551         * gst/registries/gstlibxmlregistry.h:
25552           various documentation fixes
25553
25554 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25555
25556         * docs/gst/gstreamer-sections.txt:
25557         * docs/gst/tmpl/gstvalue.sgml:
25558           rearrange gstvalue section
25559         * gst/gstutils.c: (gst_element_state_get_name):
25560           NONE -> VOID
25561         * gst/gstvalue.c: (_gst_value_initialize):
25562         * gst/gstvalue.h:
25563           doc updates
25564
25565 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25566
25567         * check/gst-libs/controller.c:
25568           Header include fix.
25569         * gst/base/gstbasetransform.c:
25570         (gst_base_transform_default_prepare_buf),
25571         (gst_base_transform_handle_buffer):
25572         * gst/base/gstbasetransform.h:
25573           Some more basetransform changes and fixes to enable sub-classes
25574           that modify buffer metadata only.
25575         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25576         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25577         (gst_capsfilter_prepare_buf):
25578           If the output pad has fixed allowed caps and input buffers 
25579           don't have any, set the fixed caps on outgoing buffers.
25580
25581 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25582         * check/elements/identity.c: (GST_START_TEST):
25583           Make the error a little clearer when the test fails because
25584           identity made a copy of the buffer.
25585         * docs/gst/gstreamer-sections.txt:
25586           New symbols in gstbasetransform.h
25587         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25588         (gst_base_transform_init), (gst_base_transform_transform_size),
25589         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25590         (gst_base_transform_default_prepare_buf),
25591         (gst_base_transform_get_unit_size),
25592         (gst_base_transform_buffer_alloc),
25593         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25594         (gst_base_transform_change_state),
25595         (gst_base_transform_set_passthrough),
25596         (gst_base_transform_set_in_place),
25597         (gst_base_transform_is_in_place):
25598         * gst/base/gstbasetransform.h:
25599           Change BaseTransform to separate in_place operate from same_caps
25600           output. in_place implies that the element can perform the transform
25601           on incoming buffers in-place, even if the caps on the output are
25602           different.
25603           Sub-class elements can now implement special buffer allocation
25604           methods for outgoing buffers if they wish to.
25605           Big documentation addition.
25606         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25607         * gst/elements/gstelements.c:
25608           Changes for basetransform modifications.
25609         * gst/elements/Makefile.am:
25610         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25611           Compile fix. Extra debug output.
25612
25613 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25614
25615         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25616         (gst_pad_suite):
25617           add tests for valid pad naming
25618         * gst/check/gstcheck.c: (gst_check_log_message_func),
25619         (gst_check_log_critical_func):
25620           add ASSERT_WARNING
25621           remove printing of code, it is fragile when the code contains
25622           % and the line number is enough info
25623         * gst/check/gstcheck.h:
25624         * gst/gstpad.c: (gst_pad_template_new):
25625           fix memleaks
25626
25627 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25628
25629         * configure.ac:
25630           say what CHECK flags we use
25631         * docs/libs/gstreamer-libs.types:
25632         * libs/gst/controller/Makefile.am:
25633         * libs/gst/controller/gst-controller.c:
25634         * libs/gst/controller/gst-controller.h:
25635         * libs/gst/controller/gst-helper.c:
25636         * libs/gst/controller/gst-interpolation.c:
25637         * libs/gst/controller/gstcontroller.c:
25638         * libs/gst/controller/gsthelper.c:
25639         * libs/gst/controller/gstinterpolation.c:
25640         * tools/gst-inspect.c: (print_plugin_info):
25641           we don't use dashes in header names
25642
25643 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25644
25645         * check/Makefile.am:
25646         * check/gst/.cvsignore:
25647         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25648         (gst_pipeline_suite), (main):
25649           adding a test for pipelines and state changes
25650         * gst/gstutils.c: (get_state_func):
25651           add some debugging
25652         * gstreamer.spec.in:
25653           fix up spec file
25654
25655 2005-09-08  Michael Smith <msmith@fluendo.com>
25656
25657         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25658         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25659         (gst_file_src_is_seekable), (gst_file_src_get_size),
25660         (gst_file_src_start):
25661         * gst/elements/gstfilesrc.h:
25662           Various fixes for unseekable, unmmapable, and non-normal files, so
25663           that fallback to read() rather than mmap() works.
25664         * gst/gstevent.c: (gst_event_new_newsegment):
25665           Allow newsegment events with segment_start == segment_end, as will
25666           correctly happen if you use filesrc on a zero-size file, for
25667           example.
25668
25669 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25670
25671         * gst/gstplugin.c: (gst_plugin_load_file):
25672           Call g_module_close when we don't load the module
25673
25674         * gst/registries/gstlibxmlregistry.c:
25675         (gst_xml_registry_get_property):
25676           Port leak fix from 0.8
25677
25678 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25679
25680         * docs/gst/gstreamer-docs.sgml:
25681         * docs/gst/tmpl/.cvsignore:
25682         * docs/gst/tmpl/gsttrace.sgml:
25683         * docs/gst/tmpl/gsttrashstack.sgml:
25684         * gst/Makefile.am:
25685         * gst/gst.h:
25686         * gst/gstelement.h:
25687         * gst/gstevent.h:
25688         * gst/gstmessage.c:
25689         * gst/gstmessage.h:
25690         * gst/gsttag.c:
25691         * gst/gsttag.h:
25692         * gst/gsttaginterface.c:
25693         * gst/gsttaginterface.h:
25694         * gst/gsttaglist.c:
25695         * gst/gsttaglist.h:
25696         * gst/gsttagsetter.c:
25697         * gst/gsttagsetter.h:
25698         * gst/gsttrace.c:
25699         * gst/gsttrace.h:
25700         * gst/gsttrashstack.c:
25701           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25702           inlined docs for gsttrace, gsttrashstack
25703
25704 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25705
25706         * gst/Makefile.am:
25707         * gst/elements/gstbufferstore.h:
25708         * gst/elements/gsttypefindelement.c:
25709         * gst/elements/gsttypefindelement.h:
25710         * gst/gst.h:
25711         * gst/gsttypefind.c:
25712         * gst/gsttypefind.h:
25713         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25714         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25715         (gst_type_find_factory_dispose),
25716         (gst_type_find_factory_unload_thyself),
25717         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25718         (gst_type_find_factory_get_caps),
25719         (gst_type_find_factory_get_extensions),
25720         (gst_type_find_factory_call_function):
25721         * gst/gsttypefindfactory.h:
25722         * gst/registries/gstlibxmlregistry.c:
25723         * gst/registries/gstxmlregistry.c:
25724           splitted gsttypefind into gsttypefind, gsttypefindfactory
25725
25726 2005-09-07  Andy Wingo  <wingo@pobox.com>
25727
25728         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25729         condition whereby the pad's task function is entered before the
25730         pad_mode variable was set.
25731
25732 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25733
25734         * gst/gstpad.c: (gst_pad_alloc_buffer):
25735           Catch misbehaving pad_alloc functions that don't
25736           set up caps and do it for them.
25737
25738 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25739
25740         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25741           test for pipe!=NULL
25742         * docs/gst/tmpl/.cvsignore:
25743         * docs/gst/tmpl/gstmemchunk.sgml:
25744         * docs/gst/tmpl/gstparse.sgml:
25745         * docs/gst/tmpl/gsttaglist.sgml:
25746         * docs/gst/tmpl/gsttagsetter.sgml:
25747         * docs/gst/tmpl/gsttypefind.sgml:
25748         * docs/gst/tmpl/gsttypefindfactory.sgml:
25749         * gst/gstmemchunk.c:
25750         * gst/gstparse.c:
25751         * gst/gsttag.c:
25752         * gst/gsttaginterface.c:
25753         * gst/gsttypefind.c:
25754         * gst/gsttypefind.h:
25755           inlined more docs
25756
25757 === release 0.9.2 ===
25758
25759 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25760
25761         * NEWS:
25762         * RELEASE:
25763         * configure.ac:
25764           releasing 0.9.2, "South"
25765
25766 2005-09-05  Andy Wingo  <wingo@pobox.com>
25767
25768         * gst/registries/gstxmlregistry.h:
25769         * gst/registries/gstxmlregistry.c: Um... resurrect...
25770         
25771         * gst/registries/gstxmlregistry.h:
25772         * gst/registries/gstxmlregistry.c: and update to newer API.
25773         Incidentally they should be a bit faster now that they don't have
25774         to parse the caps.
25775         
25776 2005-09-05  Andy Wingo  <wingo@pobox.com>
25777
25778         * gst/registries/gstxmlregistry.h:
25779         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25780         replaced by the libxml registry a while back
25781
25782 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25783
25784         * docs/gst/tmpl/gstplugin.sgml:
25785         * gst/elements/gstelements.c:
25786         * gst/gst.c:
25787         * gst/gstplugin.c: (gst_plugin_register_func),
25788         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25789         (gst_plugin_get_source):
25790         * gst/gstplugin.h:
25791         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25792         (gst_xml_registry_save_plugin):
25793         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25794         (gst_xml_registry_save_plugin):
25795         * tools/gst-inspect.c: (print_plugin_info):
25796           add a "source" plugin description field, to represent the source
25797           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25798           will set it to PACKAGE, which is automake's idea of the name of
25799           the source project.
25800
25801 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25802
25803         * Makefile.am:
25804         * autogen.sh:
25805         * configure.ac:
25806         * docs/Makefile.am:
25807         * docs/faq/Makefile.am:
25808         * docs/gst/tmpl/gstelement.sgml:
25809         * docs/gst/tmpl/gsttypes.sgml:
25810         * docs/htmlinstall.mak:
25811         * docs/manual/Makefile.am:
25812         * docs/pwg/Makefile.am:
25813           reorganize doc build a little
25814           split out docbook and gtk-doc stuff
25815           have two separate --enable's and enable them through autogen
25816           but disable by default in configure (to be similar to other
25817           projects)
25818         * gstreamer.spec.in:
25819           clean up docs install
25820         * po/af.po:
25821         * po/az.po:
25822         * po/ca.po:
25823         * po/cs.po:
25824         * po/de.po:
25825         * po/en_GB.po:
25826         * po/fr.po:
25827         * po/it.po:
25828         * po/nb.po:
25829         * po/nl.po:
25830         * po/ru.po:
25831         * po/sq.po:
25832         * po/sr.po:
25833         * po/sv.po:
25834         * po/tr.po:
25835         * po/uk.po:
25836         * po/vi.po:
25837           translation updates
25838
25839 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25840
25841         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25842           Add comment.
25843           
25844         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25845         (gst_fake_sink_change_state):
25846           Make state change function thread-safe.
25847           
25848         * gst/gstpad.c: (gst_pad_alloc_buffer):
25849           Set offset on generic buffer allocated by fallback.
25850
25851 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25852
25853         * docs/gst/gstreamer-sections.txt:
25854         * docs/gst/tmpl/gstelement.sgml:
25855         * gst/gstpad.c:
25856         * libs/gst/controller/gst-controller.c:
25857         (gst_controlled_property_set_interpolation_mode),
25858         (gst_controlled_property_new),
25859         (gst_controller_find_controlled_property):
25860          run the wingo-magic script against the docs
25861
25862 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25863
25864         * docs/gst/gstreamer-docs.sgml:
25865         * docs/gst/gstreamer-sections.txt:
25866         * docs/gst/tmpl/.cvsignore:
25867         * docs/gst/tmpl/gstelementdetails.sgml:
25868         * docs/gst/tmpl/gstelementfactory.sgml:
25869         * gst/gst.c:
25870         * gst/gstbus.c:
25871         * gst/gstelementfactory.c:
25872         * gst/gstelementfactory.h:
25873           merged elementdetails docs into elementfactory docs
25874           inlined both
25875
25876 2005-09-02  Andy Wingo  <wingo@pobox.com>
25877
25878         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25879         consider this enum an enum and not a flags.
25880
25881 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25882
25883         * docs/gst/gstreamer-docs.sgml:
25884         * docs/gst/tmpl/.cvsignore:
25885         * docs/gst/tmpl/gstghostpad.sgml:
25886         * docs/gst/tmpl/gstiterator.sgml:
25887         * docs/gst/tmpl/gstmacros.sgml:
25888         * docs/gst/tmpl/gstrealpad.sgml:
25889         * docs/gst/tmpl/gstregistry.sgml:
25890         * docs/gst/tmpl/gstregistrypool.sgml:
25891         * docs/gst/tmpl/gststructure.sgml:
25892         * docs/gst/tmpl/gstsystemclock.sgml:
25893         * docs/gst/tmpl/gsttrace.sgml:
25894         * gst/gstghostpad.c:
25895         * gst/gstmacros.h:
25896         * gst/gstmemchunk.c:
25897         * gst/gstmemchunk.h:
25898         * gst/gstqueue.c:
25899         * gst/gstregistry.c:
25900         * gst/gstregistrypool.c:
25901         * gst/gststructure.c:
25902         * gst/gstsystemclock.c:
25903           more docs inlined
25904
25905 2005-09-02  Andy Wingo  <wingo@pobox.com>
25906
25907         * gst/gstelement.h (GstState): Renamed from GstElementState,
25908         changed to be a normal enum instead of flags.
25909         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25910         munged to be GST_STATE_CHANGE_*.
25911         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25912         work with the new state representation.
25913         (GstStateChange): New enumeration of possible state transitions.
25914         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25915         (GstElementClass::change_state): Pass the GstStateChange along as
25916         an argument. Helps language bindings, so they don't have to use
25917         tricky lock-needing macros like GST_STATE_CHANGE ().
25918
25919         * scripts/update-states (file): New script. Run it on a file to
25920         update it for state naming and API changes. Updates files in
25921         place.
25922
25923         * All files updated for the new API.
25924
25925 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25926
25927         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25928         * gst/gstutils.c: (gst_util_set_value_from_string),
25929         (gst_util_set_object_arg):
25930           fix a bunch of unchecked return values
25931         * tools/gst-complete.c: (main):
25932         * gstreamer.spec.in:
25933           clean up a little
25934
25935 2005-09-01  Wim Taymans  <wim@fluendo.com>
25936
25937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25938         (gst_base_sink_event), (gst_base_sink_do_sync),
25939         (gst_base_sink_handle_event):
25940         * gst/base/gstbasesink.h:
25941         Handle newsegments more correctly.
25942
25943         * gst/gstbus.c:
25944         Fix docs.
25945
25946         * gst/gstevent.c: (gst_event_new_newsegment):
25947         A newsegment cannot have a start_time of -1
25948
25949 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
25950
25951         * win32/gstenumtypes.c:
25952         * win32/gstenumtypes.h:
25953           Update
25954
25955 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25956
25957         * libs/gst/controller/gst-controller.c:
25958         (gst_controlled_property_set_interpolation_mode),
25959         (gst_controlled_property_new):
25960          fixed boolean again
25961
25962 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
25963
25964         * docs/faq/gst-uninstalled:
25965           add -good
25966         * gst/gstevent.c:
25967         * gst/gstevent.h:
25968           remove wrong docs
25969         * gst/gstutils.c: (gst_element_link_filtered):
25970         * gst/gstutils.h:
25971           add gst_element_link_filtered
25972
25973 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
25974
25975         * docs/gst/gstreamer-docs.sgml:
25976         * docs/gst/gstreamer-sections.txt:
25977         * docs/gst/tmpl/.cvsignore:
25978         * docs/gst/tmpl/gsterror.sgml:
25979         * docs/gst/tmpl/gstfilter.sgml:
25980         * docs/gst/tmpl/gsturihandler.sgml:
25981         * docs/gst/tmpl/gsturitype.sgml:
25982         * docs/gst/tmpl/gstutils.sgml:
25983         * docs/gst/tmpl/gstxml.sgml:
25984         * gst/gsterror.c:
25985         * gst/gsterror.h:
25986         * gst/gstfilter.c:
25987         * gst/gsturi.c:
25988         * gst/gsturitype.c:
25989         * gst/gstutils.c:
25990         * gst/gstxml.c:
25991           inlined more docs, fixed double id-ref
25992
25993 2005-08-31  Wim Taymans  <wim@fluendo.com>
25994
25995         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25996         (gst_base_transform_handle_buffer):
25997         Passthrough elements don't need the caps as they don't care.
25998
25999 2005-08-31  Wim Taymans  <wim@fluendo.com>
26000
26001         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26002         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26003         Don't leak refcounts on buffers.
26004
26005 2005-08-31  Wim Taymans  <wim@fluendo.com>
26006
26007         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26008         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26009         (gst_base_transform_chain), (gst_base_transform_change_state):
26010         * gst/base/gstbasetransform.h:
26011         Handle the case where we are not negotiated more gracefully.
26012
26013 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26014
26015         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26016         (gst_file_src_map_region):
26017           Set READONLY flag on mmap'ed buffers, otherwise
26018           gst_buffer_make_writable() won't work properly (#314708).
26019
26020 2005-08-31  Wim Taymans  <wim@fluendo.com>
26021
26022         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26023         passthrough elements can even do inplace on non writable
26024         buffers (as they don't touch them).
26025
26026 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26027
26028         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26029         (gst_test_mono_source_set_property),
26030         (gst_test_mono_source_class_init), (GST_START_TEST),
26031         (gst_controller_suite):
26032           more tests (hehe I have the most)
26033         * gst/gstbus.c:
26034           describe popping messages whenusing mulltiple sources
26035         * libs/gst/controller/gst-controller.c:
26036         (gst_controlled_property_set_interpolation_mode),
26037         (gst_controlled_property_new):
26038         * libs/gst/controller/gst-controller.h:
26039         * libs/gst/controller/gst-interpolation.c:
26040           implement boolean properties
26041
26042 2005-08-31  Wim Taymans  <wim@fluendo.com>
26043
26044         * gst/gstminiobject.c: (gst_mini_object_ref):
26045         Cannot assert that the refcount has to be positive
26046         since a disposed object can be resurrected.
26047
26048 2005-08-31  Wim Taymans  <wim@fluendo.com>
26049
26050         * gst/gstpad.c: (gst_pad_init):
26051         Revert change, need to first fix badly behaving 
26052         apps.
26053
26054 2005-08-30  Wim Taymans  <wim@fluendo.com>
26055
26056         * check/elements/fakesrc.c: (setup_fakesrc):
26057         * check/elements/identity.c: (setup_identity):
26058         Activate pads before using them.
26059
26060 2005-08-30  Wim Taymans  <wim@fluendo.com>
26061
26062         * gst/base/gstadapter.c: (gst_adapter_flush):
26063         Flushing out 0 bytes is ok for this function.
26064
26065         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26066         no newsegment gives a warning and sets the start/stop to 
26067         invalid.
26068
26069         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26070         (gst_base_transform_set_passthrough):
26071         Some debug info.
26072
26073         * gst/gstminiobject.c: (gst_mini_object_ref):
26074         Check refcount here too.
26075
26076         * gst/gstpad.c: (gst_pad_init):
26077         Pads are initially flushing and refusing data.
26078
26079         * gst/gstutils.c: (gst_element_link_pads_filtered):
26080         When adding a capsfilter element make sure it has the
26081         same state as the parent bin.
26082
26083 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26084
26085         * docs/gst/tmpl/.cvsignore:
26086         * docs/gst/tmpl/gstformat.sgml:
26087         * docs/gst/tmpl/gstversion.sgml:
26088         * gst/gstbus.h:
26089         * gst/gstformat.c:
26090         * gst/gstformat.h:
26091         * gst/gstversion.h.in:
26092           more docs and two more inlined
26093
26094 2005-08-30  Wim Taymans  <wim@fluendo.com>
26095
26096         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26097         Don't sync to clock.
26098
26099 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26100
26101         * docs/gst/gstreamer-sections.txt:
26102           ultral33t func10ns deserve to appear in the docs actually
26103         * docs/gst/tmpl/.cvsignore:
26104         * docs/gst/tmpl/gstcompat.sgml:
26105         * docs/gst/tmpl/gstconfig.sgml:
26106         * gst/check/gstcheck.c:
26107         * gst/gstcompat.h:
26108         * gst/gstconfig.h.in:
26109           inlined more docs
26110
26111 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26112
26113         * docs/gst/tmpl/.cvsignore:
26114         * docs/gst/tmpl/gstquery.sgml:
26115         * docs/gst/tmpl/gstutils.sgml:
26116         * gst/gstquery.c:
26117         * gst/gstquery.h:
26118           inlined and extended docs
26119
26120 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26121
26122         * check/gst-libs/controller.c: (GST_START_TEST),
26123         (gst_controller_suite):
26124           more tests
26125         * docs/gst/tmpl/gstutils.sgml:
26126         * docs/libs/gstreamer-libs-sections.txt:
26127         * docs/libs/tmpl/gstdataprotocol.sgml:
26128           include path fixes
26129         * examples/controller/audio-example.c: (main):
26130           controller example works now
26131         * gst/gstclock.h:
26132           doc fixes
26133         * tools/gst-inspect.c: (print_element_properties_info):
26134           show param spec flags
26135
26136 2005-08-29  Andy Wingo  <wingo@pobox.com>
26137
26138         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26139
26140 2005-08-28  Andy Wingo  <wingo@pobox.com>
26141
26142         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26143         as having two arguments instead of just one. Allows superclasses
26144         to access information on subclasses -- see the terrible for() loop
26145         in gtype.c:g_type_create_instance for the reason why. All callers
26146         changed.
26147
26148 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26149
26150         * docs/design/part-messages.txt:
26151           update info
26152         * docs/gst/tmpl/.cvsignore:
26153         * docs/gst/tmpl/gstcaps.sgml:
26154         * docs/gst/tmpl/gstclock.sgml:
26155         * gst/gstbus.c:
26156         * gst/gstcaps.c:
26157         * gst/gstcaps.h:
26158         * gst/gstclock.c:
26159         * gst/gstclock.h:
26160         * gst/gstmessage.c:
26161           added descriptions for bus and message
26162           inline caps and clock docs
26163
26164 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26165
26166         * gst/gstmessage.c:
26167         * gst/gstmessage.h:
26168           doc fixes
26169
26170 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26171
26172         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26173           fix div-by-zero
26174
26175 2005-08-26  Andy Wingo  <wingo@pobox.com>
26176
26177         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26178         element_set_state's return val.
26179         (test_2_elements): Add test that's been disabled for months.
26180
26181         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26182         can-activate-pull properties.
26183
26184         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26185         can-activate-pull properties. Implement is_seekable so fakesrc can
26186         operate in pull mode.
26187
26188         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26189         properties.
26190         (gst_base_sink_activate, gst_base_sink_activate_pull)
26191         (gst_base_sink_activate_push): Make activation mode choosing work.
26192         Cleanups.
26193         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26194         is right. Make pull mode work. Post an eos before pausing in pull
26195         mode.
26196         (gst_base_sink_change_state): Pay attention to the core's
26197         change_state() return val.
26198         
26199         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26200         has-getrange properties. Cleanups.
26201         
26202         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26203         has_getrange and replace with can_activate_pull and
26204         can_activate_push.
26205
26206         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26207         locking comments. Remove has_loop, has_chain and replace with
26208         can_activate_pull and can_activate_push.
26209
26210 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26211
26212         * configure.ac:
26213         * examples/Makefile.am:
26214         * examples/metadata/Makefile.am:
26215         * examples/metadata/read-metadata.c: (message_loop),
26216         (have_pad_handler), (make_pipeline), (print_tag), (main):
26217           Add metadata reading example that loops over a list of filenames,
26218           dumping any tags found.
26219
26220         * gst/gstbus.c: (gst_bus_dispose):
26221         * gst/gstelement.c: (gst_element_dispose):
26222           Release a few potentially-held references in dispose.
26223
26224 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26225
26226         * docs/gst/tmpl/gstminiobject.sgml:
26227           do *not* add tmpl/*.sgml files to CVS!
26228
26229 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26230
26231         * libs/gst/bytestream/.cvsignore:
26232         * libs/gst/bytestream/Makefile.am:
26233         * libs/gst/bytestream/adapter.c:
26234         * libs/gst/bytestream/adapter.h:
26235         * libs/gst/bytestream/bytestream.c:
26236         * libs/gst/bytestream/bytestream.h:
26237         * libs/gst/bytestream/filepad.c:
26238         * libs/gst/bytestream/filepad.h:
26239           removing obsolete files
26240
26241 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26242
26243         * docs/gst/gstreamer-docs.sgml:
26244         * docs/libs/gstreamer-libs-docs.sgml:
26245           disabed additional index entries again, as this makes docs-gen just
26246           slow and they aren't useful yet
26247         * docs/libs/gstreamer-libs-sections.txt:
26248           little -section.txt cleanup for libs
26249
26250 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26251
26252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26253         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26254           fix up some debugging
26255         (gst_base_transform_get_unit_size),
26256         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26257         (gst_base_transform_handle_buffer):
26258         * gst/base/gstbasetransform.h:
26259           handle and store timed NEWSEGMENT events so that subclasses that
26260           calculate time by counting samples have a segment_start time they
26261           need to add to their timestamps - see audioresample
26262
26263 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26264
26265         * gst/gstbin.h:
26266           removed ';' from the end of macro defs
26267         * docs/gst/gstreamer-docs.sgml:
26268         * docs/gst/gstreamer-sections.txt:
26269         * docs/gst/tmpl/.cvsignore:
26270         * gst/gstbus.h:
26271         * gst/gstelement.c: (gst_element_class_init),
26272         (gst_element_set_state), (activate_pads),
26273         (gst_element_save_thyself):
26274         * gst/gstevent.c: (gst_event_new_newsegment):
26275         * gst/gstevent.h:
26276         * gst/gstiterator.c:
26277         * gst/gstiterator.h:
26278         * gst/gstpad.c:
26279         * gst/gstprobe.h:
26280         * gst/gstutils.c: (gst_pad_query_convert):
26281         * gst/gstutils.h:
26282           fixed parameter name mismatches between source, header and docs
26283           added some more docs, resolved the last batch of unused elements in
26284           docs (now someone needs to doc them)
26285
26286 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26287
26288         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26289         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26290           don't walk through the plugins backwards.  Where is all this
26291           reversed logic coming from ?
26292
26293 2005-08-25  Wim Taymans  <wim@fluendo.com>
26294
26295         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26296         (gst_base_transform_transform_size),
26297         (gst_base_transform_configure_caps),
26298         (gst_base_transform_get_unit_size),
26299         (gst_base_transform_buffer_alloc),
26300         (gst_base_transform_change_state):
26301         * gst/base/gstbasetransform.h:
26302         Cache caps unit_size.
26303         Make sure we cannot negotiate up and downstream at the
26304         same time.
26305
26306 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26307
26308         * gst/gst.c: (init_pre), (init_post):
26309           register the installed plugin path after the env var
26310         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26311         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26312           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26313           directories, so the tests can prefer uninstalled over installed
26314
26315 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26316
26317         * gst/base/gstbasetransform.h:
26318           comment
26319         * gst/gstpad.c:
26320           add to docs
26321
26322 2005-08-25  Wim Taymans  <wim@fluendo.com>
26323
26324         * gst/gstbin.c: (bin_bus_handler):
26325         Be a bit more conservative about the posted message.
26326         
26327         * gst/gstbus.c: (gst_bus_post):
26328         Some cleanups, warn wrong return values.
26329
26330 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26331
26332         * check/gst/gstbin.c: (GST_START_TEST):
26333         * gst/gstbin.c: (bin_bus_handler):
26334         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26335         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26336         (gst_message_new_warning), (gst_message_new_tag),
26337         (gst_message_new_state_changed), (gst_message_new_segment_start),
26338         (gst_message_new_segment_done), (gst_message_new_custom):
26339         * gst/gstmessage.h:
26340         * tools/gst-launch.c: (event_loop):
26341         * tools/gst-md5sum.c: (event_loop):
26342           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26343
26344 2005-08-25  Wim Taymans  <wim@fluendo.com>
26345
26346         * check/generic/states.c: (GST_START_TEST):
26347         Cleanup can be done at the end.
26348
26349         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26350         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26351         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26352         Oh boy.. Thanks for finding this, Thomas. 
26353
26354 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26355
26356         * docs/gst/gstreamer.types:
26357           added missing types
26358
26359 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26360
26361         * docs/gst/gstreamer-docs.sgml:
26362         * docs/gst/gstreamer-sections.txt:
26363         * docs/gst/tmpl/.cvsignore:
26364         * gst/gstbin.c:
26365         * gst/gstiterator.c:
26366         * gst/gstutils.c:
26367         * gst/registries/gstxmlregistry.h:
26368           added missing classes and symbols (123 more to go)
26369           removed removed symbols from section file
26370           fixed many doc-comments
26371
26372 2005-08-24  Wim Taymans  <wim@fluendo.com>
26373
26374         * check/generic/states.c: (GST_START_TEST):
26375         Make sure all tasks are stopped.
26376
26377         * check/gst/gstbin.c: (GST_START_TEST):
26378         Unref after usage for proper valgrinding.
26379
26380         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26381         Really wait for the task to stop before destroying the
26382         mutex.
26383
26384         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26385         (gst_queue_src_activate_push):
26386         Small cleanups. Don't stop the task when we did not start
26387         it.
26388
26389         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26390         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26391         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26392         (gst_task_join):
26393         * gst/gsttask.h:
26394         Protect the stream lock with the object lock.
26395         Disallow setting the stream lock when running.
26396         Add cleanup_all to wait for the threadpool to finish.
26397         Remove code to autoallocate a mutex if none was provided.
26398         Add _join() to wait for a task to stop.
26399         Protect the thread pool with a global lock.
26400
26401 2005-08-24  Wim Taymans  <wim@fluendo.com>
26402
26403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26404         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26405         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26406         * gst/base/gstbasesink.h:
26407         Handle newsegment events correctly.
26408         Drop buffers out of the segment range.
26409
26410 2005-08-22  Andy Wingo  <wingo@pobox.com>
26411
26412         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26413         macro, implements an interface and gstimplementsinterface for a
26414         new type.
26415
26416 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26417
26418         * check/Makefile.am:
26419         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26420           add a test that does a bunch of state changes on elements
26421           needs some fixing for valgrind
26422         * check/states/sinks.c: (gst_object_suite):
26423           whitespace
26424         * gst/gstcaps.h:
26425           add prototype for gst_caps_is_equal_fixed
26426         * gst/gstplugin.c:
26427         * gst/gstregistrypool.c:
26428           doc fixes
26429
26430 2005-08-24  Andy Wingo  <wingo@pobox.com>
26431
26432         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26433         convert a negative value. Doesn't make much sense. Mostly this is
26434         here to force callers to ensure -1 maps to -1.
26435
26436 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26437
26438         * docs/pwg/advanced-types.xml:
26439           Well done to Michael for catching my deliberate introduction
26440           of this spelling mistake. 
26441         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26442         * gst/gstelement.h:
26443           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26444           unlink pads before removing the element from the bin.
26445
26446 2005-08-24  Andy Wingo  <wingo@pobox.com>
26447
26448         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26449         the same thing as GST_DEBUG=*:4.
26450         (parse_debug_level, parse_debug_category): New helper parsers.
26451
26452 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26453
26454         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26455         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26456         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26457         (gst_base_transform_buffer_alloc),
26458         (gst_base_transform_handle_buffer):
26459           use gboolean return values and pointers to size so we can use the
26460           full GST_BUFFER_SIZE range (guint) for buffer sizes
26461           use GstPadDirection for transform_caps
26462         * gst/base/gstbasetransform.h:
26463           rename get_size to get_unit_size since that's what it is
26464         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26465           use GstPadDirection for transform_caps
26466         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26467         * gst/gstutils.h:
26468           cleanup and debugging
26469
26470 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26471
26472         * gst/gstelement.c: (gst_element_class_init),
26473         (gst_element_set_state), (activate_pads),
26474         (gst_element_save_thyself):
26475         * tools/gst-compprep.c: (main):
26476         * tools/gst-inspect.c: (print_element_properties_info):
26477         * tools/gst-xmlinspect.c: (print_element_properties):
26478           Fixed long standing mem-leak
26479
26480 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26481
26482         * check/gst/gstbin.c: (GST_START_TEST):
26483         * gst/gstbin.c: (bin_bus_handler):
26484         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26485         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26486         (gst_message_new_warning), (gst_message_new_tag),
26487         (gst_message_new_state_changed), (gst_message_new_segment_start),
26488         (gst_message_new_segment_done), (gst_message_new_custom):
26489         * gst/gstmessage.h:
26490         * tools/gst-launch.c: (event_loop):
26491         * tools/gst-md5sum.c: (event_loop):
26492           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26493           that applications can sensibly post custom messages with references
26494           to their own objects.
26495
26496 2005-08-24  Andy Wingo  <wingo@pobox.com>
26497
26498         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26499         already.
26500
26501 2005-08-24  Wim Taymans  <wim@fluendo.com>
26502
26503         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26504         (gst_base_transform_transform_caps),
26505         (gst_base_transform_transform_size),
26506         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26507         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26508         (gst_base_transform_handle_buffer):
26509         * gst/base/gstbasetransform.h:
26510         Many fixes and new features added by Thomas. Can now also do
26511         transforms with variable sizes and a custom fixate_caps function.
26512
26513 2005-08-24  Wim Taymans  <wim@fluendo.com>
26514
26515         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26516         Some debugging.
26517
26518         * gst/gstclock.h:
26519         Cast to ClockTime before formatting to time.
26520
26521         * gst/gstutils.h:
26522         Cleanups.
26523
26524 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26525
26526         * check/gst-libs/controller.c: (GST_START_TEST),
26527         (gst_controller_suite):
26528         * docs/gst/tmpl/gstcaps.sgml:
26529         * docs/gst/tmpl/gstghostpad.sgml:
26530         * docs/gst/tmpl/gstquery.sgml:
26531         * docs/gst/tmpl/gstutils.sgml:
26532         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26533         (gst_object_sink_values), (gst_object_get_value_arrays),
26534         (gst_object_get_value_array):
26535           gracefully handle helper method calls to objects that are not beeing
26536           controlled, added test case for that          
26537
26538 2005-08-23  Wim Taymans  <wim@fluendo.com>
26539
26540         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26541         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26542         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26543         (gst_event_parse_qos), (gst_event_new_seek),
26544         (gst_event_parse_seek):
26545         * gst/gstevent.h:
26546         Some more debugging output and doc cleanups.
26547
26548         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26549         Fix possible deadlock.
26550
26551 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26552
26553         * docs/gst/gstreamer-docs.sgml:
26554         * docs/gst/gstreamer-sections.txt:
26555         * docs/gst/gstreamer.types:
26556         * docs/gst/tmpl/.cvsignore:
26557         * gst/gstbin.h:
26558         * gst/gstbus.c:
26559         * gst/gstelement.c:
26560         * gst/gstevent.h:
26561           added 100 symbols from gstreamer-unused.txt to the right sections
26562           fixed more broken comments
26563           added GstBus to docs
26564
26565 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26566
26567         * docs/gst/gstreamer-sections.txt:
26568         * docs/gst/tmpl/.cvsignore:
26569         * docs/gst/tmpl/gstbin.sgml:
26570         * docs/gst/tmpl/gstbuffer.sgml:
26571         * gst/base/gstbasesrc.c:
26572         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26573         * gst/gstbuffer.c:
26574         * gst/gstbuffer.h:
26575         * tools/gst-launch.1.in:
26576           inlined more doc comments, added missing comments and fixed comments
26577           fixed typos
26578
26579 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26580
26581         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26582           some debugging
26583         * gst/gstcaps.h:
26584           whitespace fixes
26585         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26586           more debugging
26587         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26588         * gst/gststructure.h:
26589           add a fixate function for booleans; add a FIXME that these func
26590           names should probably be gst_structure_fixate_*
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         * gst/Makefile.am:
26597         * gst/gstbin.c: (gst_bin_get_type),
26598         (gst_bin_child_proxy_get_child_by_index),
26599         (gst_bin_child_proxy_get_children_count),
26600         (gst_bin_child_proxy_init):
26601         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26602         (gst_child_proxy_get_child_by_index),
26603         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26604         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26605         (gst_child_proxy_get), (gst_child_proxy_set_property),
26606         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26607         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26608         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26609         * gst/gstchildproxy.h:
26610         * gst/parse/grammar.y:
26611         * tools/gst-inspect.c: (print_interfaces),
26612         (print_element_properties_info), (print_element_info):
26613           ported gstchildproxy over from 0.8
26614           ported gst-inspect fixes and enhancements over from 0.8
26615
26616 2005-08-22  Wim Taymans  <wim@fluendo.com>
26617
26618         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26619         (gst_base_transform_handle_buffer):
26620         Also call the transform function if we have ANY caps.
26621
26622         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26623         Fix debug info.
26624
26625 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26626
26627         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26628           Don't pretend to handle seek events if the source is not seekable
26629
26630 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26631
26632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26633           Remove extra parameter to debug output
26634
26635         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26636         (gst_base_src_do_seek), (gst_base_src_activate_push):
26637           Fix seek event handling.
26638
26639         * gst/gstpipeline.c: (gst_pipeline_change_state):
26640         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26641         (gst_queue_src_activate_push):
26642           Don't start the src pad task on FLUSH_STOP if the pad
26643           isn't linked.
26644           Debug changes.
26645
26646 2005-08-22  Wim Taymans  <wim@fluendo.com>
26647
26648         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26649         Added check for gst_static_caps_get() refcounting.
26650
26651 2005-08-22  Wim Taymans  <wim@fluendo.com>
26652
26653         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26654         Make _static_caps_get() refcounting sane.
26655         
26656         * gst/gstelement.c: (gst_element_set_state):
26657         Add g_return_val_if_fail() to protect against segfaults.
26658
26659 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26660
26661         * docs/gst/tmpl/gstevent.sgml:
26662         * gst/gstevent.c:
26663         * gst/gstevent.h:
26664           inlined remaining docs, added missing doc comments
26665
26666 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26667
26668         * check/gst/gstbin.c: (GST_START_TEST):
26669           since we don't know when preroll is done, use refcount range
26670           check for the sink
26671         * gst/check/gstcheck.h:
26672           add macro for checking refcount range
26673
26674 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26675
26676         * check/Makefile.am:
26677           clean up environment for when registry gets built versus
26678           when actual tests are run; valgrind seems to not report
26679           leaks if GST_PLUGIN_PATH is set to some specific values
26680         * check/gst/gstbin.c: (GST_START_TEST):
26681           add more refcounting checks; maybe this exposes a
26682           preroll lock bug ?
26683         * common/check.mak:
26684         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26685         * gst/check/gstcheck.h:
26686         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26687         (gst_bin_change_state):
26688         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26689           add/fix debugging/whitespace
26690
26691 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26692
26693         * check/gst/gstevent.c: (event_probe), (test_event),
26694         (GST_START_TEST):
26695          Er, don't call gst_bin_watch_for_state_change you idiot.
26696
26697 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26698
26699         * check/Makefile.am:
26700           Use CHECK_CFLAGS and CHECK_LIBS
26701         * check/gst/gstevent.c: (event_probe), (test_event),
26702         (GST_START_TEST):
26703           Don't leak events.
26704         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26705         (gst_base_src_start), (gst_base_src_stop),
26706         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26707         (gst_base_src_change_state):
26708           Sprinkle gst_base_src_stop liberally around error paths to fix
26709           problems reusing a source after failed state changes.
26710         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26711         (helper_find_suggest), (gst_type_find_helper):
26712           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26713         * gst/gstevent.h:
26714         * docs/gst/tmpl/gstevent.sgml:
26715           Migrate part of the docs from the SGML file. Wait for ensonic to
26716           tell me how I did it wrong ;)
26717         * tools/gst-typefind.c: (main):
26718           Extra robustness to state changes between files.
26719
26720 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26721
26722         * check/Makefile.am:
26723           don't valgrind the controller test - it's leaking - Stefan, HELP
26724         * gst/check/gstcheck.c: (gst_check_message_error),
26725         (gst_check_chain_func), (gst_check_setup_element),
26726         (gst_check_teardown_element), (gst_check_setup_src_pad),
26727         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26728         (gst_check_teardown_sink_pad):
26729         * gst/check/gstcheck.h:
26730           add a bunch of methods to set up elements, and src and sink pads
26731         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26732         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26733         (GST_START_TEST):
26734           use them
26735         * gst/gstmessage.c:
26736         * gst/gsttag.h:
26737           whitespace/doc fixes
26738
26739 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26740
26741         * gst/gstelement.h:
26742           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26743           be handled by the application and not always printed as well
26744
26745 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26746
26747         * check/Makefile.am:
26748           set GST_TOOLS_DIR
26749         * gst/check/gstcheck.c: (gst_check_message_error):
26750         * gst/check/gstcheck.h:
26751           add a fail_unless_equals_int
26752           add fail_unless for error messages
26753
26754 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26755
26756         * check/Makefile.am:
26757         * check/gst.supp:
26758         * common/Makefile.am:
26759         * common/check.mak:
26760         * common/gst.supp:
26761           factor out some of the common stuff so we can use it
26762
26763 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26764
26765         * check/Makefile.am:
26766         * check/gst/gstiterator.c: (GST_START_TEST):
26767         * check/gst/gstsystemclock.c: (GST_START_TEST),
26768         (gst_systemclock_suite):
26769         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26770         * gst/gstclock.c:
26771           valgrind more tests
26772
26773 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26774
26775         * check/elements/.cvsignore:
26776         * check/elements/gstfakesrc.c:
26777           rename to name of element
26778         * check/elements/identity.c: (chain_func), (event_func),
26779         (setup_identity), (cleanup_identity), (GST_START_TEST),
26780         (identity_suite), (main):
26781           add a test for identity
26782         * check/Makefile.am:
26783         * pkgconfig/Makefile.am:
26784         * pkgconfig/gstreamer-check.pc.in:
26785         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26786         * gst/check:
26787         * gst/Makefile.am:
26788         * configure.ac:
26789           move the check stuff to a library that gets installed
26790         * check/gst-libs/controller.c: (GST_START_TEST):
26791         * check/gst-libs/gdp.c:
26792         * check/gst/gst.c: (GST_START_TEST):
26793         * check/gst/gstbin.c:
26794         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26795         * check/gst/gstbus.c:
26796         * check/gst/gstcaps.c: (GST_START_TEST):
26797         * check/gst/gstelement.c:
26798         * check/gst/gstghostpad.c:
26799         * check/gst/gstiterator.c:
26800         * check/gst/gstmessage.c:
26801         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26802         * check/gst/gstobject.c:
26803         * check/gst/gstpad.c: (GST_START_TEST):
26804         * check/gst/gststructure.c: (GST_START_TEST):
26805         * check/gst/gstsystemclock.c: (GST_START_TEST),
26806         (gst_systemclock_suite):
26807         * check/gst/gsttag.c: (gst_tag_suite):
26808         * check/gst/gstvalue.c:
26809         * check/pipelines/cleanup.c:
26810         * check/pipelines/simple_launch_lines.c:
26811         * check/states/sinks.c:
26812           change include statement
26813
26814         * docs/gst/gstreamer-sections.txt:
26815         * docs/gst/tmpl/gstpad.sgml:
26816           document more pad stuff
26817         * gst/gstminiobject.c: (gst_mini_object_ref),
26818         (gst_mini_object_unref):
26819           debug refcounting
26820
26821 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26822
26823         * docs/gst/tmpl/gst.sgml:
26824         * gst/gst.c:
26825           eliminate another tmpl file, fix spelling in the long-description
26826
26827 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26828
26829         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26830         (test_event), (timediff), (gstevents_suite):
26831           Should fix build on 64-bit arch's
26832
26833 2005-08-18  Andy Wingo  <wingo@pobox.com>
26834
26835         Make sure that when a pipeline goes to PLAYING, that data has
26836         actually hit the sink.
26837
26838         * check/states/sinks.c (test_sink): A sink that doesn't get any
26839         data shouldn't return SUCCESS for going to either PLAYING or
26840         PAUSED. Test also the return values on the way back down.
26841
26842         * gst/gstelement.c (gst_element_set_state): When changing the
26843         state of an element currently changing state asynchronously, go to
26844         lost-state after commiting the pending state. Makes future calls
26845         to get_state continue to return ASYNC.
26846
26847         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26848         ASYNC when going to PLAYING if we still don't have preroll, as can
26849         happen with live sources.
26850
26851 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26852
26853         * docs/pwg/advanced-types.xml:
26854           Hack long paragraph into 2 chunks as a workaround for buggy
26855           jadetex version in sid and breezy that loops infinitely and
26856           eats all RAM.
26857
26858 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26859
26860         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26861         (test_event), (timediff), (gstevents_suite):
26862           Provide more error margin in clock measurements to allow for 
26863           g_get_current_time inaccuracies.
26864
26865 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26866
26867         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26868         (test_event), (timediff), (gstevents_suite):
26869            Fix error message output so I might be able to tell why the
26870            test works here but fails on the build farm.
26871
26872 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26873
26874         * check/Makefile.am:
26875         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26876         (test_event), (timediff), (gstevents_suite), (main):
26877           I wrote a test!
26878
26879         * docs/design/part-seeking.txt:
26880           Spelling correction
26881
26882         * docs/gst/tmpl/gstevent.sgml:
26883         * docs/gst/tmpl/gstfakesrc.sgml:
26884           Docs updates.
26885
26886         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26887           Treat a buffer-without-newsegment the same as a receiving 
26888           a newsegment not in time format, and disable syncing to the clock
26889           with a warning.
26890
26891         * gst/gstbus.c: (gst_bus_set_sync_handler):
26892           Assert if anyone tries to replace the existing sync_handler for bus, 
26893           as only the owner should be setting it.
26894
26895         * gst/gstevent.h:
26896           Have a fixed set of custom event enums with events identified by
26897           their structure name (as in 0.8), rather than a free-for-all
26898           allowing collisions between enum values from different plugins.
26899
26900         * gst/gstpad.c: (gst_pad_class_init):
26901           Docs change.
26902           
26903         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26904           Handle out-of-band downstream events from the sending thread.
26905
26906 2005-08-17  Andy Wingo  <wingo@pobox.com>
26907
26908         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26909         play-timeout==0 to mean no timeout at all. In that case, don't
26910         bother with a get_state or a warning, just return directly, even
26911         if it's ASYNC.
26912
26913         * gst/base/gstbasetransform.c: Debug changes.
26914
26915         * gst/gstutils.h:
26916         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26917         ensure bins post state change messages. A bit of a hack but I can't
26918         think of a way to avoid it.
26919
26920         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26921
26922 2005-08-16  Andy Wingo  <wingo@pobox.com>
26923
26924         * gst/base/gstadapter.h:
26925         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26926         peek() but you own the data. Not terribly efficient atm.
26927
26928 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26929
26930         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26931         (gst_element_found_tags):
26932         * gst/gstutils.h:
26933           Add two utility functions for tag handling.
26934
26935 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26936
26937         * docs/manual/advanced-dataaccess.xml:
26938         * docs/manual/basics-helloworld.xml:
26939           Fix docs to use _bin_add() before _link(), which fixes the examples
26940           with recent core versions (reported by Madhan Raj M
26941           <raj_madan@rediffmail.com>, #313199).
26942
26943 2005-08-16  Wim Taymans  <wim@fluendo.com>
26944
26945         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26946         Added subtract checks.
26947
26948         * docs/design/part-events.txt:
26949         Some more docs about newsegment
26950
26951         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26952         Fix FIXME
26953
26954         * gst/gstcaps.c: (gst_caps_to_string):
26955         Add comments, cleanups.
26956         
26957         * gst/gstelement.c: (gst_element_save_thyself):
26958         cleanups
26959         
26960         * gst/gstvalue.c: (gst_value_collect_int_range),
26961         (gst_string_unwrap), (gst_value_union_int_int_range),
26962         (gst_value_union_int_range_int_range),
26963         (gst_value_intersect_int_int_range),
26964         (gst_value_intersect_int_range_int_range),
26965         (gst_value_intersect_double_double_range),
26966         (gst_value_intersect_double_range_double_range),
26967         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
26968         (gst_value_subtract_int_range_int),
26969         (gst_value_subtract_double_range_double),
26970         (gst_value_subtract_double_range_double_range),
26971         (gst_value_subtract_from_list), (gst_value_subtract_list),
26972         (gst_value_can_compare), (gst_value_compare_fraction):
26973         Cleanups, add comments, remove unneeded asserts.
26974
26975 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
26976
26977         * tools/gst-launch.c: (event_loop):
26978           don't convert NULL structures to strings
26979
26980 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
26981
26982         * docs/gst/gstreamer-sections.txt:
26983           made some defines private
26984         * docs/gst/tmpl/gstconfig.sgml:
26985         * docs/gst/tmpl/gstqueue.sgml:
26986         * docs/gst/tmpl/gsttaglist.sgml:
26987         * docs/gst/tmpl/gsttypes.sgml:
26988         * docs/gst/tmpl/gstutils.sgml:
26989         * docs/pwg/appendix-porting.xml:
26990         * gst/base/gstbasesink.h:
26991         * gst/base/gstbasesrc.c:
26992         * gst/base/gstbasesrc.h:
26993         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
26994         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
26995         * gst/gstelement.c: (gst_element_class_init):
26996         * gst/gstpad.c: (gst_pad_class_init):
26997         * gst/gstqueue.c: (gst_queue_class_init):
26998         * gst/gstxml.c: (gst_xml_class_init):
26999           documented all undocumented signal inline
27000         * libs/gst/controller/gst-controller.h:
27001           added padding
27002
27003 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27004
27005         * docs/pwg/appendix-porting.xml:
27006           Document _set_link_function -> _set_setcaps_function.
27007
27008 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27009
27010         * check/Makefile.am:
27011           add a .check target for running the check
27012         * check/gst-libs/controller.c: (GST_START_TEST):
27013           cosmetic fixups
27014         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27015           complete checks for gstbuffer; would be nice if I could get the
27016           gcov stuff to work so I can see if I actually completed gstbuffer.c
27017         * check/gstcheck.h:
27018           add ASSERT_BUFFER_REFCOUNT
27019
27020 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27021
27022         * docs/gst/gstreamer-sections.txt:
27023         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27024         * gst/gsttag.h:
27025           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27026           spew out a warning if a tag that is already registered
27027           is re-registered, unless it is re-registered with a 
27028           different type (#308438).
27029
27030 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27031
27032         * docs/pwg/appendix-porting.xml:
27033         * docs/pwg/building-state.xml:
27034           Add some paragraphs about state changes in 0.9 to the PWG
27035           and the porting guide, in particular about the new meaning
27036           of GST_STATE_PAUSED and how to write state change functions
27037           with concurrent access by multiple threads in mind.
27038
27039 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27040
27041         * docs/gst/gstreamer-docs.sgml:
27042         * docs/libs/gstreamer-libs-docs.sgml:
27043           added deprecation and since indexes
27044         * libs/gst/controller/gst-controller.c:
27045         * libs/gst/controller/gst-helper.c:
27046           added since tags
27047
27048
27049 2005-08-11  Wim Taymans  <wim@fluendo.com>
27050
27051         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27052         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27053         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27054         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27055         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27056         (gst_ghost_pad_set_target):
27057         Actually implement (re)setting the target on a ghostpad
27058         as described in the docs.
27059
27060 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27061
27062         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27063           Check whether GST_DEBUG_NO_COLOR environment variable is
27064           set and disable coloured debug output if that is the case.
27065
27066 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27067
27068         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27069         (gst_type_find_helper):
27070           The memory returned by gst_type_find_peek() needs to
27071           stay valid until the end of a typefind function, and
27072           typefind functions may keep results from different 
27073           offsets around, so we can't just unref the buffer from
27074           the previous _peek(), but have to save all buffers 
27075           returned by _peek() until typefinding is done and only
27076           free them then.
27077
27078 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27079
27080         * docs/gst/gstreamer-sections.txt:
27081         * gst/gstutils.h:
27082           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27083
27084 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27085
27086         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27087           Fix a pretty good memleak.
27088
27089 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27090
27091         * gst/gstiterator.h:
27092           Fix wrong include and 'make distcheck'.
27093
27094 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27095
27096         * gst/gstbin.c: (bin_bus_handler):
27097           Use gst_element_post_message() instead.
27098
27099 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27100
27101         * gst/base/gstadapter.h:
27102         * gst/base/gstbasesink.h:
27103         * gst/base/gstbasesrc.h:
27104         * gst/base/gstbasetransform.h:
27105         * gst/base/gstcollectpads.h:
27106         * gst/base/gstpushsrc.h:
27107         * gst/gstiterator.h:
27108           Add padding to our base elements' class and instance structs and
27109           to GstIterator (you will need to rebuild all plugins and apps!)
27110
27111 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27112
27113         * gst/gstbin.c: (bin_bus_handler):
27114           Make default message forwarding from child->bus to bin->bus
27115           threadsafe and make it not emit warnings if the parent has no bus.
27116
27117 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27118
27119         * gst/gstelement.c: (activate_pads):
27120           On paused->ready, set pad->caps to NULL, as is the documented
27121           behaviour in this state change. Fixes playback of series of
27122           media files when visualization is enabled in Totem.
27123
27124 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27125
27126         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27127           Allow NULL as filter-caps (which means "any").
27128
27129 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27130
27131         * docs/libs/gstreamer-libs-sections.txt:
27132         * libs/gst/controller/gst-controller.c:
27133         * libs/gst/controller/gst-controller.h:
27134         * libs/gst/controller/gst-helper.c:
27135           adding more entries to the docs and fix small doc-bugs
27136
27137 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27138
27139         * docs/gst/gstreamer-docs.sgml:
27140         * docs/gst/gstreamer-sections.txt:
27141         * docs/gst/gstreamer.types:
27142         * docs/gst/tmpl/gstbasesink.sgml:
27143         * docs/gst/tmpl/gstbasesrc.sgml:
27144         * docs/gst/tmpl/gstbasetransform.sgml:
27145         * docs/gst/tmpl/gstfakesrc.sgml:
27146         * gst/base/gstcollectpads.c:
27147         * gst/base/gstcollectpads.h:
27148         * libs/gst/controller/gst-controller.c:
27149         * libs/gst/controller/gst-controller.h:
27150         * libs/gst/controller/gst-helper.c:
27151         * libs/gst/controller/gst-interpolation.c:
27152         * libs/gst/controller/lib.c:
27153           added long/short desc for controller docs
27154           added collectpads base class docs
27155           added correct includes to base-class docs
27156
27157 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27158
27159         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27160         (gst_test_mono_source_set_property),
27161         (gst_test_mono_source_class_init), (GST_START_TEST),
27162         (gst_controller_suite):
27163         * docs/gst/gstreamer-docs.sgml:
27164         * docs/gst/gstreamer-sections.txt:
27165         * docs/gst/gstreamer.types:
27166         * docs/libs/gstreamer-libs-docs.sgml:
27167         * docs/libs/gstreamer-libs-sections.txt:
27168         * gst/base/gstadapter.c:
27169         * libs/gst/controller/gst-controller.c:
27170         (gst_controlled_property_new), (gst_controlled_property_free),
27171         (gst_controller_new_valist),
27172         (gst_controller_remove_properties_valist),
27173         (gst_controller_sink_values), (_gst_controller_finalize):
27174         * libs/gst/controller/gst-controller.h:
27175         * libs/gst/controller/gst-helper.c:
27176         (gst_object_control_properties), (gst_object_uncontrol_properties),
27177         (gst_object_get_controller), (gst_object_set_controller),
27178         (gst_object_sink_values), (gst_object_get_value_arrays),
27179         (gst_object_get_value_array):
27180           more tests (and fixes) for the controller
27181           more docs for the controller
27182           integrated companies docs for the adapter 
27183
27184 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27185
27186         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27187         (GST_START_TEST), (fakesrc_suite):
27188           add tests for sizetype
27189
27190 2005-08-04  Andy Wingo  <wingo@pobox.com>
27191
27192         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27193         fixes buffer_alloc proxying among other things.
27194
27195         * gst/base/gstbasetransform.c:
27196         * gst/base/gstbasetransform.h:
27197         Revert patch to gstbasetransform from 7-28 removing
27198         delay_configure.
27199
27200         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27201         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27202         Semantics changed, should return not the size of the output buffer
27203         but the byte size of a buffer with a given caps.
27204
27205         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27206         debug object.
27207         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27208         out) are not the pad caps until setcaps finishes.
27209         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27210         not-in-place case as well. Deal with changing from in-place to
27211         not-in-place within calling pad_alloc_buffer. Still a bit
27212         concerned about the overhead here...
27213
27214 2005-08-03  Andy Wingo  <wingo@pobox.com>
27215
27216         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27217         fixating is an error.
27218
27219 2005-08-04  Edward Hervey  <edward@fluendo.com>
27220
27221         * gst/base/gstadapter.h: 
27222         Added gst_adapter_get_type() to the header
27223
27224 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27225
27226         * check/Makefile.am:
27227         * check/gst-libs/controller.c:
27228         * libs/gst/controller/gst-controller.c:
27229         (gst_controller_new_valist):
27230           added check test suite for the controller
27231         * gst/base/gstpushsrc.c:
27232           fixed a doc typo
27233
27234 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27235
27236         * docs/gst/Makefile.am:
27237         * docs/gst/gstreamer-docs.sgml:
27238         * docs/gst/gstreamer-sections.txt:
27239         * docs/gst/gstreamer.types:
27240         * docs/gst/tmpl/gstfakesrc.sgml:
27241         * gst/base/README:
27242         * gst/base/gstbasesink.c:
27243         * gst/base/gstbasesink.h:
27244         * gst/base/gstbasesrc.c:
27245         * gst/base/gstbasesrc.h:
27246         * gst/base/gstbasetransform.c:
27247         * gst/base/gstpushsrc.c:
27248         * gst/base/gstpushsrc.h:
27249           add short/long description docs to base classes
27250           add pushsrc to the docs
27251           remove consolidated doc fragments
27252
27253 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27254
27255         * configure.ac:
27256         * docs/libs/Makefile.am:
27257         * docs/libs/gstreamer-libs-docs.sgml:
27258         * docs/libs/gstreamer-libs-sections.txt:
27259         * docs/libs/gstreamer-libs.types:
27260         * examples/Makefile.am:
27261         * examples/controller/.cvsignore:
27262         * examples/controller/Makefile.am:
27263         * examples/controller/audio-example.c: (main):
27264         * libs/gst/Makefile.am:
27265         * libs/gst/controller/.cvsignore:
27266         * libs/gst/controller/Makefile.am:
27267         * libs/gst/controller/gst-controller.c:
27268         (on_object_controlled_property_changed), (gst_timed_value_compare),
27269         (gst_timed_value_find),
27270         (gst_controlled_property_set_interpolation_mode),
27271         (gst_controlled_property_new), (gst_controlled_property_free),
27272         (gst_controller_find_controlled_property),
27273         (gst_controller_new_valist), (gst_controller_new),
27274         (gst_controller_remove_properties_valist),
27275         (gst_controller_remove_properties), (gst_controller_set),
27276         (gst_controller_set_from_list), (gst_controller_unset),
27277         (gst_controller_get), (gst_controller_get_all),
27278         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27279         (gst_controller_get_value_array),
27280         (gst_controller_set_interpolation_mode),
27281         (_gst_controller_finalize), (_gst_controller_init),
27282         (_gst_controller_class_init), (gst_controller_get_type):
27283         * libs/gst/controller/gst-controller.h:
27284         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27285         (g_object_uncontrol_properties), (g_object_get_controller),
27286         (g_object_set_controller), (g_object_sink_values),
27287         (g_object_get_value_arrays), (g_object_get_value_array):
27288         * libs/gst/controller/gst-interpolation.c:
27289         (gst_controlled_property_find_timed_value_node),
27290         (interpolate_none_get), (interpolate_trigger_get),
27291         (interpolate_trigger_get_value_array):
27292         * libs/gst/controller/lib.c: (gst_controller_init):
27293         * pkgconfig/Makefile.am:
27294         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27295         * pkgconfig/gstreamer-control.pc.in:
27296         * testsuite/Makefile.am:
27297         * testsuite/controller/.cvsignore:
27298         * testsuite/controller/Makefile.am:
27299         * testsuite/controller/interpolator.c: (main):
27300           added controller code
27301           removed dparam pc files
27302
27303 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27304         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27305         (gst_collectpads_stop):
27306           Broadcast the condition when shutting down, to make sure we wake all
27307           threads up. Shut down pads on finalize, for safety.
27308
27309 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27310         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27311         (gst_base_transform_handle_buffer),
27312         (gst_base_transform_change_state):
27313           Handle PAUSED->READY->PAUSED transition after negotiation
27314           occurred already.
27315         * gst/gstmessage.c: (gst_message_init):
27316           Extra piece of debug for new messages.
27317
27318 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27319
27320         * configure.ac:
27321         * docs/gst/tmpl/gstbasesrc.sgml:
27322         * docs/gst/tmpl/gstelement.sgml:
27323         * docs/gst/tmpl/gstevent.sgml:
27324         * docs/gst/tmpl/gstfakesrc.sgml:
27325         * docs/gst/tmpl/gstformat.sgml:
27326         * docs/gst/tmpl/gstghostpad.sgml:
27327         * docs/gst/tmpl/gstpad.sgml:
27328         * docs/gst/tmpl/gstquery.sgml:
27329         * docs/gst/tmpl/gststructure.sgml:
27330         * docs/gst/tmpl/gsttaglist.sgml:
27331         * docs/gst/tmpl/gstvalue.sgml:
27332         * docs/libs/gstreamer-libs-docs.sgml:
27333         * docs/libs/gstreamer-libs-sections.txt:
27334         * docs/libs/gstreamer-libs.types:
27335         * libs/gst/Makefile.am:
27336         * libs/gst/control/.cvsignore:
27337         * libs/gst/control/Makefile.am:
27338         * libs/gst/control/control.c:
27339         * libs/gst/control/control.h:
27340         * libs/gst/control/dparam.c:
27341         * libs/gst/control/dparam.h:
27342         * libs/gst/control/dparam_smooth.c:
27343         * libs/gst/control/dparam_smooth.h:
27344         * libs/gst/control/dparamcommon.h:
27345         * libs/gst/control/dparammanager.c:
27346         * libs/gst/control/dparammanager.h:
27347         * libs/gst/control/dplinearinterp.c:
27348         * libs/gst/control/dplinearinterp.h:
27349         * libs/gst/control/unitconvert.c:
27350         * libs/gst/control/unitconvert.h:
27351         * testsuite/Makefile.am:
27352         * testsuite/dynparams/.cvsignore:
27353         * testsuite/dynparams/Makefile.am:
27354         * testsuite/dynparams/dparamstest.c:
27355         * tools/Makefile.am:
27356         * tools/gst-inspect.c: (print_element_info), (main):
27357         * tools/gst-xmlinspect.c: (print_element_info), (main):
27358           deactivate and remove dparams (libgstcontrol)
27359
27360 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27361
27362         * gst/elements/gsttypefindelement.c:
27363         (gst_type_find_element_have_type), (gst_type_find_element_init),
27364         (stop_typefinding), (gst_type_find_element_handle_event),
27365         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27366         * gst/elements/gsttypefindelement.h:
27367           Set caps on all outgoing buffers, not just the first one.
27368
27369 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27370
27371         * gst/elements/gsttypefindelement.c:
27372         (gst_type_find_element_have_type),
27373         (gst_type_find_element_check_set_buffer_caps),
27374         (gst_type_find_element_init), (stop_typefinding),
27375         (gst_type_find_element_handle_event),
27376         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27377         * gst/elements/gsttypefindelement.h:
27378           Set caps on first outgoing buffer when we've found the type.
27379
27380 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27381
27382         * docs/gst/gstreamer-docs.sgml:
27383         * docs/gst/gstreamer-sections.txt:
27384         * docs/gst/tmpl/gstscheduler.sgml:
27385         * docs/gst/tmpl/gstschedulerfactory.sgml:
27386           Remove some old cruft from docs.
27387
27388 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27389
27390         * gst/gstpad.h:
27391           Fix inline docs for GstPadLinkReturn.
27392           
27393         * gst/gststructure.c: (gst_structure_has_name):
27394         * gst/gststructure.h:
27395         * docs/gst/gstreamer-sections.txt:
27396           New API: gst_structure_has_name().
27397
27398 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27399
27400         * configure.ac:
27401           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27402           and _LARGEFILE_SOURCE in config.h as required. Do not 
27403           export those flags in our .pc files any longer (#142209).
27404
27405           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27406
27407         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27408         (gst_file_sink_do_seek), (gst_file_sink_event),
27409         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27410           Redo seek/tell calls with large file support in mind; add some
27411           debugging messages; add log message that tells us when large
27412           file support is unavailable or not enabled for some reason.
27413
27414         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27415           Add log message that tells us when large file support 
27416           is unavailable or not enabled for some reason.
27417
27418 2005-07-29  Wim Taymans  <wim@fluendo.com>
27419
27420         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27421         Added test for removing an element with ghostpad from a bin.
27422         Fixed test as current implementation does the right thing.
27423
27424         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27425         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27426         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27427         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27428         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27429         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27430         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27431         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27432         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27433         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27434         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27435         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27436         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27437         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27438         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27439         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27440         * gst/gstghostpad.h:
27441         Clean up ghostpads, remove properties for internal stuff.
27442         Make threadsafe.
27443         Fix refcounting.
27444         Prepare for switching targets, not all use cases work yet.
27445
27446 2005-07-29  Wim Taymans  <wim@fluendo.com>
27447
27448         * docs/design/part-gstghostpad.txt:
27449         Small update.
27450
27451         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27452         (gst_bin_remove_func):
27453         Unlinking pads while holding the bin LOCK is not a good
27454         idea.
27455
27456         * gst/gstpad.c: (gst_pad_class_init),
27457         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27458         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27459         No prob setting template after creating the pad.
27460
27461 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27462
27463         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27464         (gst_bus_peek), (gst_bus_source_dispatch),
27465         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27466         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27467           gst_bus_poll may be called from other threads. Handle
27468           this nicely by not making poll_data disappear off the
27469           stack once gst_bus_poll returns.
27470           gst_bus_peek now increments the refcount on the returned
27471           message.
27472
27473 2005-07-29  Wim Taymans  <wim@fluendo.com>
27474
27475         * docs/design/part-gstghostpad.txt:
27476         Overview of current GhostPad datastructures and use
27477         cases for changing the target.
27478
27479 2005-07-28  Wim Taymans  <wim@fluendo.com>
27480
27481         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27482         Added checks for hierarchy consistency whan adding linked
27483         elements to bins.
27484
27485         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27486         Added check to test element scheduling without bin/pipeline.
27487
27488         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27489         First add elements to bin, then link.
27490         
27491         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27492         (gst_bin_remove_func):
27493         Unlink pads from elements added/removed from bin to maintain
27494         hierarchy consistency.
27495
27496 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27497
27498         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27499         (gst_base_transform_handle_buffer):
27500         * gst/base/gstbasetransform.h:
27501           Remove broken delay_configure (fixes renegotiation of software
27502           scaling pipelines); remove some leftover printf()s.
27503
27504 2005-07-28  Wim Taymans  <wim@fluendo.com>
27505
27506         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27507         Added some more tests for wrong hierarchy
27508
27509         * docs/design/part-overview.txt:
27510         Some updates.
27511
27512         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27513         Cleanups.
27514
27515         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27516         (gst_element_dispose):
27517         Some more cleanups.
27518
27519         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27520         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27521         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27522         (gst_pad_set_caps), (gst_pad_send_event):
27523         Check for correct hierarchy when linking pads. Moving to
27524         strict requirement for ghostpads when linking elements in
27525         different bins.
27526
27527         * gst/gstpad.h:
27528         Clean ups. Added WRONG_HIERARCHY return value.
27529
27530 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27531
27532         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27533           Better debug if no transform is possible.
27534
27535 2005-07-27  Wim Taymans  <wim@fluendo.com>
27536
27537         * docs/random/wtay/network-transp:
27538         Some old doc I had.
27539
27540 2005-07-27  Wim Taymans  <wim@fluendo.com>
27541
27542         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27543         (gst_dp_event_from_packet):
27544         Fix serialization of seek events.
27545
27546 2005-07-27  Wim Taymans  <wim@fluendo.com>
27547
27548         * check/gst-libs/gdp.c: (GST_START_TEST):
27549         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27550         Fix compilation and fix event serialization.
27551
27552 2005-07-27  Wim Taymans  <wim@fluendo.com>
27553
27554         * CHANGES-0.9:
27555         * docs/design/part-TODO.txt:
27556         * docs/design/part-events.txt:
27557         Some docs updates
27558
27559         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27560         (gst_base_sink_event), (gst_base_sink_do_sync),
27561         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27562         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27563         (gst_base_src_do_seek), (gst_base_src_event_handler),
27564         (gst_base_src_loop):
27565         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27566         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27567         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27568         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27569         (gst_base_transform_set_passthrough),
27570         (gst_base_transform_is_passthrough):
27571         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27572         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27573         Event updates.
27574
27575         * gst/gstbuffer.h:
27576         Use faster casts.
27577
27578         * gst/gstelement.c: (gst_element_seek):
27579         * gst/gstelement.h:
27580         Update gst_element_seek.
27581
27582         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27583         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27584         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27585         (gst_event_new_eos), (gst_event_new_newsegment),
27586         (gst_event_parse_newsegment), (gst_event_new_tag),
27587         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27588         (gst_event_parse_qos), (gst_event_new_seek),
27589         (gst_event_parse_seek), (gst_event_new_navigation):
27590         * gst/gstevent.h:
27591         Make GstEvent use GstStructure. Add parsing code, make sure the
27592         API is sufficiently generic.
27593         Mark possible directions of events and serialization.
27594
27595         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27596         (_gst_message_copy), (gst_message_new_segment_start),
27597         (gst_message_new_segment_done), (gst_message_new_custom),
27598         (gst_message_parse_segment_start),
27599         (gst_message_parse_segment_done):
27600         Small cleanups.
27601
27602         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27603         (gst_pad_set_caps), (gst_pad_send_event):
27604         Update for new events. 
27605         Catch events sent in wrong directions.
27606
27607         * gst/gstqueue.c: (gst_queue_link_src),
27608         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27609         (gst_queue_handle_src_query):
27610         Event updates.
27611
27612         * gst/gsttag.c:
27613         * gst/gsttag.h:
27614         Remove event code from this file.
27615
27616         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27617         (gst_dp_event_from_packet):
27618         Event updates.
27619
27620 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27621
27622         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27623         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27624         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27625           Make debugging actually useful.
27626
27627 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27628
27629         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27630         (gst_pad_fixate_caps):
27631           Implement default fixation once again, so that gst_pad_fixate()
27632           actually does anything at all. This probably needs to be some
27633           sort of a last resort, and use profile-based fixation first, but
27634           since that doesn't exist yet, this is the best we have. Fixes
27635           visualization in Totem.
27636
27637 2005-07-22  Wim Taymans  <wim@fluendo.com>
27638
27639         * docs/design/part-events.txt:
27640         Small update.
27641
27642         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27643         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27644         (gst_base_sink_activate_pull):
27645         Some more comments.
27646
27647         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27648         (gst_fake_src_create):
27649         Fix handoff marshall.
27650
27651         * gst/elements/gstidentity.c: (gst_identity_class_init),
27652         (gst_identity_transform_ip):
27653         We're a real inplace element.
27654
27655         * gst/gstbus.c: (gst_bus_post):
27656         Added some comments.
27657
27658         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27659         * tests/muxing/case1.c: (main):
27660         * tests/sched/dynamic-pipeline.c: (main):
27661         * tests/sched/interrupt1.c: (main):
27662         * tests/sched/interrupt2.c: (main):
27663         * tests/sched/interrupt3.c: (main):
27664         * tests/sched/runxml.c: (main):
27665         * tests/sched/sched-stress.c: (main):
27666         * tests/seeking/seeking1.c: (event_received), (main):
27667         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27668         (main):
27669         * tests/threadstate/threadstate3.c: (main):
27670         * tests/threadstate/threadstate4.c: (main):
27671         * tests/threadstate/threadstate5.c: (main):
27672         Fix the tests.
27673
27674 2005-07-21  Wim Taymans  <wim@fluendo.com>
27675
27676         * docs/design/part-seeking.txt:
27677         Some small additions.
27678
27679         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27680         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27681         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27682         * gst/base/gstbasesink.h:
27683         discont values are gint64, handle the math correctly.
27684
27685         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27686         Make the basesrc report error if the source pad is not linked.
27687
27688         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27689         (gst_queue_loop), (gst_queue_handle_src_query),
27690         (gst_queue_src_activate_push):
27691         Make queue collect data even if the srcpad is not linked.
27692         Start pushing out data as soon as it is linked.
27693
27694         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27695         * gst/gstutils.h:
27696         Added gst_flow_get_name() to ease error reporting.
27697
27698 2005-07-20  Wim Taymans  <wim@fluendo.com>
27699
27700         * gst/gstmessage.c: (gst_message_new_segment_start),
27701         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27702         (gst_message_parse_segment_done):
27703         * gst/gstmessage.h:
27704         Added a bunch of messages for advanced seeking.
27705
27706         * gst/parse/grammar.y:
27707         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27708         (gst_dpman_state_changed):
27709         Fix some new-pad -> pad-added signals
27710
27711 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27712
27713         * docs/manual/appendix-porting.xml:
27714         * docs/pwg/appendix-porting.xml:
27715           Document new-pad/state-change signal renames and the FixedList
27716           type rename.
27717
27718 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27719
27720         * docs/manual/advanced-autoplugging.xml:
27721         * docs/manual/basics-helloworld.xml:
27722         * docs/manual/basics-pads.xml:
27723         * docs/random/ds/0.9-suggested-changes:
27724         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27725         * gst/gstelement.h:
27726         * gst/gstevent.h:
27727         * gst/gstformat.h:
27728         * gst/gstquery.h:
27729         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27730         (gst_structure_parse_array), (gst_structure_parse_value):
27731         * gst/gstvalue.c: (gst_type_is_fixed),
27732         (gst_value_list_prepend_value), (gst_value_list_append_value),
27733         (gst_value_list_get_size), (gst_value_list_get_value),
27734         (gst_value_transform_array_string), (gst_value_serialize_array),
27735         (gst_value_deserialize_array), (gst_value_intersect_array),
27736         (gst_value_is_fixed), (_gst_value_initialize):
27737         * gst/gstvalue.h:
27738           GstElement::new-pad -> pad-added, GstElement::state-change ->
27739           state-changed, GstValueFixedList -> GstValueArray, add format and
27740           flags as their own arguments in gst_element_seek() (should improve
27741           "bindeability"), remove function generators since they don't work
27742           under a whole bunch of compilers (they were deprecated already
27743           anyway).
27744
27745 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27746
27747         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27748         (_gst_debug_register_funcptr):
27749         * gst/gstinfo.h:
27750           Fix illegal cast on some platforms (#309253).
27751
27752 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27753
27754         * gst/gstmessage.c: (gst_message_new_custom):
27755         * gst/gstmessage.h:
27756           Add _new_custom, make _new_application a macro to _new_custom.
27757
27758 2005-07-20  Wim Taymans  <wim@fluendo.com>
27759
27760         * gst/base/gstbasesrc.c: (gst_base_src_init),
27761         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27762         * gst/base/gstbasesrc.h:
27763         Add a gboolean to decide when to push out a discont.
27764
27765         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27766         (gst_queue_loop), (gst_queue_handle_src_query),
27767         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27768         (gst_queue_set_property), (gst_queue_get_property):
27769         Some cleanups.
27770
27771         * tests/threadstate/threadstate1.c: (main):
27772         Make a thread test compile and run... very silly..
27773
27774
27775 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27776
27777         * docs/manual/appendix-porting.xml:
27778           Mention removal of libgstgconf-0.9.la and existence of gconf
27779           elements.
27780
27781 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27782
27783         * docs/pwg/advanced-clock.xml:
27784         * docs/pwg/appendix-porting.xml:
27785         * docs/pwg/intro-preface.xml:
27786         * docs/pwg/other-base.xml:
27787         * docs/pwg/other-manager.xml:
27788         * docs/pwg/other-nton.xml:
27789         * docs/pwg/other-ntoone.xml:
27790         * docs/pwg/other-oneton.xml:
27791         * docs/pwg/pwg.xml:
27792           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27793           demuxer), remove n-to-n (was never written), fix some code examples
27794           and links and update the porting section to include all this.
27795
27796 2005-07-19  Wim Taymans  <wim@fluendo.com>
27797
27798         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27799         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27800         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27801         (gst_queue_src_activate_push), (gst_queue_change_state),
27802         (gst_queue_get_property):
27803         * gst/gstqueue.h:
27804         Propagate GstFlowReturn more intelligently upstream and output
27805         an ERROR/EOS when streaming stopped due to fatal error.
27806
27807 2005-07-19  Wim Taymans  <wim@fluendo.com>
27808
27809         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27810         Don't block forever for the state change to complete, the
27811         pipeline already did with a sensible timeout.
27812
27813 2005-07-19  Wim Taymans  <wim@fluendo.com>
27814
27815         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27816         Make sure we never call the create function is we
27817         got deactivated.
27818
27819 2005-07-19  Andy Wingo  <wingo@pobox.com>
27820
27821         * gst/parse/parse.l: Attempt to solve bug #172815.
27822
27823 2005-07-19  Wim Taymans  <wim@fluendo.com>
27824
27825         * docs/design/part-clocks.txt:
27826         * docs/design/part-events.txt:
27827         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27828         Small docs updates.
27829         Only update the seeking values when we are not
27830         busy streaming.
27831
27832 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27833
27834         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27835           Oops, ignore the result of gst_pad_push_event here.
27836
27837 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27838
27839         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27840         (gst_base_src_activate_push):
27841           Send discont event from the loop function, as pads
27842           aren't activated yet in the activate_push handler.
27843
27844         * gst/gstbin.c: (bin_bus_handler):
27845           Don't leak element name.
27846
27847 2005-07-18  Andy Wingo  <wingo@pobox.com>
27848
27849         * configure.ac: Use AS_LIBTOOL_TAGS.
27850
27851 2005-07-18  Wim Taymans  <wim@fluendo.com>
27852
27853         * docs/gst/gstreamer.types:
27854         Remove deleted types.
27855
27856 2005-07-18  Wim Taymans  <wim@fluendo.com>
27857
27858         * check/elements/gstfakesrc.c: (GST_START_TEST):
27859         * configure.ac:
27860         * gst/Makefile.am:
27861         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27862         (init_popt_callback):
27863         * gst/gst.h:
27864         * gst/gst_private.h:
27865         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27866         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27867         * gst/gstbin.h:
27868         * gst/gstbus.h:
27869         * gst/gstconfig.h.in:
27870         * gst/gstelement.c: (gst_element_class_init),
27871         (gst_element_set_base_time), (gst_element_get_base_time),
27872         (iterator_fold_with_resync), (gst_element_change_state),
27873         (gst_element_dispose), (gst_element_get_bus):
27874         * gst/gstelement.h:
27875         * gst/gstelementfactory.h:
27876         * gst/gsterror.c: (_gst_core_errors_init):
27877         * gst/gsterror.h:
27878         * gst/gstevent.h:
27879         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27880         * gst/gstindex.c:
27881         * gst/gstinfo.c: (_gst_debug_init):
27882         * gst/gstmessage.c: (_gst_message_copy):
27883         * gst/gstmessage.h:
27884         * gst/gstminiobject.h:
27885         * gst/gstobject.c:
27886         * gst/gstobject.h:
27887         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27888         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27889         * gst/gstpad.h:
27890         * gst/gstparse.h:
27891         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27892         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27893         (gst_pipeline_get_last_stream_time):
27894         * gst/gstpipeline.h:
27895         * gst/gstpluginfeature.h:
27896         * gst/gstquery.h:
27897         * gst/gstscheduler.c:
27898         * gst/gstscheduler.h:
27899         * gst/gststructure.h:
27900         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27901         (gst_task_finalize), (gst_task_func), (gst_task_create),
27902         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27903         (gst_task_stop), (gst_task_pause):
27904         * gst/gsttask.h:
27905         * gst/gsttypefind.h:
27906         * gst/gsttypes.h:
27907         * gst/registries/gstlibxmlregistry.c: (load_feature),
27908         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27909         * gst/registries/gstxmlregistry.c:
27910         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27911         * gst/schedulers/threadscheduler.c:
27912         * libs/gst/control/dparammanager.h:
27913         * tools/gst-inspect.c: (print_element_list),
27914         (print_plugin_features), (print_element_features):
27915         * tools/gst-xmlinspect.c: (print_element_list),
27916         (print_plugin_info), (main):
27917         Removed plugable schedulers.
27918         Removed Scheduler/Manager from elements.
27919         Removed gsttypes.h, rearranged includes.
27920         Removed dependency pad<->element, element<>pipeline, and
27921         various others,  fix includes.
27922         implement gst_pad_get_parent() with gst_object_get_parent()
27923         Make GstTask sefcontained.
27924         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27925         timeout.
27926         Fix endless loop in iterator_fold_with_resync.
27927
27928
27929 2005-07-18  Wim Taymans  <wim@fluendo.com>
27930
27931         * gst/Makefile.am:
27932         * gst/gstarch.h:
27933         Remove old file.
27934
27935 2005-07-18  Wim Taymans  <wim@fluendo.com>
27936
27937         * gst/Makefile.am:
27938         No more cothreads.h
27939
27940 2005-07-18  Wim Taymans  <wim@fluendo.com>
27941
27942         * gst/cothreads.c:
27943         * gst/cothreads.h:
27944         Let's remove these.
27945
27946 2005-07-18  Wim Taymans  <wim@fluendo.com>
27947
27948         * docs/design/part-dynamic.txt:
27949         * docs/design/part-events.txt:
27950         * docs/design/part-seeking.txt:
27951         Some more docs in the works.
27952
27953         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27954         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
27955         (gst_base_transform_setcaps), (gst_base_transform_get_size),
27956         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
27957         (gst_base_transform_handle_buffer),
27958         (gst_base_transform_sink_activate_push),
27959         (gst_base_transform_src_activate_pull),
27960         (gst_base_transform_set_passthrough),
27961         (gst_base_transform_is_passthrough):
27962         Refcounting fixes.
27963
27964         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
27965         Cleanups.
27966
27967         * gst/gstevent.c: (gst_event_finalize):
27968         Set SRC to NULL.
27969
27970         * gst/gstutils.c: (gst_element_unlink),
27971         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
27972         (gst_pad_proxy_setcaps):
27973         * gst/gstutils.h:
27974         Add _get_parent_element() to get a pads parent as an element.
27975
27976 2005-07-18  Wim Taymans  <wim@fluendo.com>
27977
27978         * check/gst/gstbin.c: (GST_START_TEST):
27979         Remove bogus test.
27980
27981 2005-07-18  Wim Taymans  <wim@fluendo.com>
27982
27983         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27984         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27985         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27986         (gst_base_sink_event), (gst_base_sink_do_sync),
27987         (gst_base_sink_chain), (gst_base_sink_loop),
27988         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
27989         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
27990         Refcounting fixes.
27991         Fix logic for returning ASYNC when not prerolled.
27992
27993 2005-07-18  Wim Taymans  <wim@fluendo.com>
27994
27995         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27996         Fix nasty refcount bug.
27997
27998 2005-07-16 Philippe Khalaf <burger@speedy.org>
27999
28000         * gst/elements/gstfdsrc.c:
28001         * gst/elements/gstfdsrc.h:
28002         * gst/elements/gstelements.c:
28003         * gst/elements/Makefile.am:
28004         Ported fdsrc to 0.9.
28005
28006 2005-07-16  Wim Taymans  <wim@fluendo.com>
28007
28008         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28009         (gst_base_sink_do_sync):
28010         Fix compile error.
28011
28012 2005-07-16  Wim Taymans  <wim@fluendo.com>
28013
28014         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28015         (gst_base_sink_event), (gst_base_sink_get_times),
28016         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28017         * gst/base/gstbasesink.h:
28018         Store and use discont values when syncing buffers as described
28019         in design docs.
28020         
28021         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28022         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28023         (gst_base_src_activate_push):
28024         Push discont event when starting.
28025
28026         * gst/elements/gstidentity.c: (gst_identity_transform):
28027         Small cleanups.
28028
28029         * gst/gstbin.c: (gst_bin_change_state):
28030         Small cleanups in base_time  distribution.
28031
28032         * gst/gstelement.c: (gst_element_set_base_time),
28033         (gst_element_get_base_time), (gst_element_change_state):
28034         * gst/gstelement.h:
28035         Added methods for the base_time of the element.
28036         Some MT fixes.
28037
28038         * gst/gstpipeline.c: (gst_pipeline_send_event),
28039         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28040         (gst_pipeline_get_last_stream_time):
28041         * gst/gstpipeline.h:
28042         MT fixes.
28043         Handle seeking as described in design doc, remove stream_time
28044         hack.
28045         Cleanups clock and stream_time selection code. Added accessors
28046         for the stream_time.
28047         
28048
28049 2005-07-16  Andy Wingo  <wingo@pobox.com>
28050
28051         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28052         (#305291).
28053
28054 2005-07-16  Wim Taymans  <wim@fluendo.com>
28055
28056         * check/gst/gstbin.c: (GST_START_TEST):
28057         Make elements silent as the deep_notify refs the
28058         parent, which might make the test fail.
28059
28060         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28061         Don't hold the lock for too long.
28062
28063 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28064
28065         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28066           Don't unref the caps we passed to gst_caps_make_writable() after
28067           passing them. gst_caps_make_writable() will do that for us.
28068
28069 2005-07-15  Andy Wingo  <wingo@pobox.com>
28070
28071         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28072         (#157311).
28073
28074         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28075         own marshalling function for the handoff signal. Properly type the
28076         buffer as a buffer. Fixes some warnings. Should do a more general
28077         solution.
28078         (gst_identity_class_init): Plug into the right marshaller.
28079
28080 2005-07-15  Wim Taymans  <wim@fluendo.com>
28081
28082         * docs/design/part-TODO.txt:
28083         * docs/design/part-clocks.txt:
28084         * docs/design/part-element-sink.txt:
28085         * docs/design/part-events.txt:
28086         * docs/design/part-gstpipeline.txt:
28087         Updated docs, mostly DISCONT related.
28088
28089 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28090
28091         * docs/pwg/building-pads.xml:
28092           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28093
28094 2005-07-15  Andy Wingo  <wingo@pobox.com>
28095
28096         * tools/gst-typefind.c: Update, add copyright block.
28097
28098         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28099         Normalize and truncate caps before fixation.
28100
28101         * gst/gstcaps.h:
28102         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28103         discards all but the first structure from its argument.
28104
28105 2005-07-15  Wim Taymans  <wim@fluendo.com>
28106
28107         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28108         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28109         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28110         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28111         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28112         (gst_base_transform_chain), (gst_base_transform_change_state),
28113         (gst_base_transform_set_passthrough),
28114         (gst_base_transform_is_passthrough):
28115         * gst/base/gstbasetransform.h:
28116         Make passthrough work using the bufferpools.
28117         Changed API a bit, subclasses have to write into a buffer
28118         provided by the base class.
28119         More debug info in nego functions.
28120         
28121         * gst/elements/gstidentity.c: (gst_identity_init),
28122         (gst_identity_transform):
28123         Port to new base class.
28124
28125 2005-07-15  Wim Taymans  <wim@fluendo.com>
28126
28127         * gst/gstmessage.c: (gst_message_new_state_changed):
28128         * tools/gst-launch.c: (event_loop), (main):
28129         Totally dump messages in -launch with the -m option.
28130         Fix message name for State messages,
28131
28132 2005-07-14  Wim Taymans  <wim@fluendo.com>
28133
28134         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28135         Post error messages on errors.
28136
28137 2005-07-14  Wim Taymans  <wim@fluendo.com>
28138
28139         * gst/gstcaps.c: (gst_caps_do_simplify):
28140         Remove debug info.
28141
28142         * gst/gsterror.h:
28143         Define error for stream stopped.
28144
28145         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28146         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28147         Do proper return values.
28148
28149         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28150         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28151         (gst_pad_get_range):
28152         Better return values.
28153
28154         * gst/gstpad.h:
28155         Reorganise return values, add macro to check for fatal errors.
28156
28157         * gst/gstqueue.c: (gst_queue_chain):
28158         Return proper GstFlowReturn values,
28159
28160 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28161
28162         * docs/gst/gstreamer-sections.txt:
28163         * docs/gst/gstreamer.types:
28164         * docs/gst/tmpl/gst.sgml:
28165         * docs/gst/tmpl/gstbasesink.sgml:
28166         * docs/gst/tmpl/gstbasesrc.sgml:
28167         * docs/gst/tmpl/gstbasetransform.sgml:
28168         * docs/gst/tmpl/gstbin.sgml:
28169         * docs/gst/tmpl/gstbuffer.sgml:
28170         * docs/gst/tmpl/gstcaps.sgml:
28171         * docs/gst/tmpl/gstclock.sgml:
28172         * docs/gst/tmpl/gstcompat.sgml:
28173         * docs/gst/tmpl/gstconfig.sgml:
28174         * docs/gst/tmpl/gstelement.sgml:
28175         * docs/gst/tmpl/gstelementdetails.sgml:
28176         * docs/gst/tmpl/gstelementfactory.sgml:
28177         * docs/gst/tmpl/gstenumtypes.sgml:
28178         * docs/gst/tmpl/gsterror.sgml:
28179         * docs/gst/tmpl/gstevent.sgml:
28180         * docs/gst/tmpl/gstfakesink.sgml:
28181         * docs/gst/tmpl/gstfakesrc.sgml:
28182         * docs/gst/tmpl/gstfilesink.sgml:
28183         * docs/gst/tmpl/gstfilesrc.sgml:
28184         * docs/gst/tmpl/gstfilter.sgml:
28185         * docs/gst/tmpl/gstformat.sgml:
28186         * docs/gst/tmpl/gstghostpad.sgml:
28187         * docs/gst/tmpl/gstimplementsinterface.sgml:
28188         * docs/gst/tmpl/gstindex.sgml:
28189         * docs/gst/tmpl/gstindexfactory.sgml:
28190         * docs/gst/tmpl/gstinfo.sgml:
28191         * docs/gst/tmpl/gstiterator.sgml:
28192         * docs/gst/tmpl/gstmacros.sgml:
28193         * docs/gst/tmpl/gstmemchunk.sgml:
28194         * docs/gst/tmpl/gstminiobject.sgml:
28195         * docs/gst/tmpl/gstobject.sgml:
28196         * docs/gst/tmpl/gstpad.sgml:
28197         * docs/gst/tmpl/gstpadtemplate.sgml:
28198         * docs/gst/tmpl/gstparse.sgml:
28199         * docs/gst/tmpl/gstpipeline.sgml:
28200         * docs/gst/tmpl/gstplugin.sgml:
28201         * docs/gst/tmpl/gstpluginfeature.sgml:
28202         * docs/gst/tmpl/gstquery.sgml:
28203         * docs/gst/tmpl/gstqueue.sgml:
28204         * docs/gst/tmpl/gstregistry.sgml:
28205         * docs/gst/tmpl/gstregistrypool.sgml:
28206         * docs/gst/tmpl/gstscheduler.sgml:
28207         * docs/gst/tmpl/gstschedulerfactory.sgml:
28208         * docs/gst/tmpl/gststructure.sgml:
28209         * docs/gst/tmpl/gstsystemclock.sgml:
28210         * docs/gst/tmpl/gsttaglist.sgml:
28211         * docs/gst/tmpl/gsttagsetter.sgml:
28212         * docs/gst/tmpl/gsttrace.sgml:
28213         * docs/gst/tmpl/gsttrashstack.sgml:
28214         * docs/gst/tmpl/gsttypefind.sgml:
28215         * docs/gst/tmpl/gsttypefindfactory.sgml:
28216         * docs/gst/tmpl/gsttypes.sgml:
28217         * docs/gst/tmpl/gsturihandler.sgml:
28218         * docs/gst/tmpl/gsturitype.sgml:
28219         * docs/gst/tmpl/gstutils.sgml:
28220         * docs/gst/tmpl/gstvalue.sgml:
28221         * docs/gst/tmpl/gstversion.sgml:
28222         * docs/gst/tmpl/gstxml.sgml:
28223         * docs/libs/tmpl/gstcontrol.sgml:
28224         * docs/libs/tmpl/gstdataprotocol.sgml:
28225         * docs/libs/tmpl/gstdparam.sgml:
28226         * docs/libs/tmpl/gstdplinint.sgml:
28227         * docs/libs/tmpl/gstdpman.sgml:
28228         * docs/libs/tmpl/gstdpsmooth.sgml:
28229         * docs/libs/tmpl/gstgetbits.sgml:
28230         * docs/libs/tmpl/gstunitconvert.sgml:
28231         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28232         (gst_push_src_base_init), (gst_push_src_class_init),
28233         (gst_push_src_init), (gst_push_src_create):
28234         * gst/base/gstpushsrc.h:
28235         * gst/elements/gstelements.c:
28236         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28237         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28238         (gst_fake_sink_init), (gst_fake_sink_set_property),
28239         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28240         (gst_fake_sink_event), (gst_fake_sink_preroll),
28241         (gst_fake_sink_render), (gst_fake_sink_change_state):
28242         * gst/elements/gstfakesink.h:
28243         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28244         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28245         (gst_fake_src_base_init), (gst_fake_src_class_init),
28246         (gst_fake_src_init), (gst_fake_src_event_handler),
28247         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28248         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28249         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28250         (gst_fake_src_create_buffer), (gst_fake_src_create),
28251         (gst_fake_src_start), (gst_fake_src_stop):
28252         * gst/elements/gstfakesrc.h:
28253         * gst/elements/gstfilesink.c: (_do_init),
28254         (gst_file_sink_base_init), (gst_file_sink_class_init),
28255         (gst_file_sink_init), (gst_file_sink_dispose),
28256         (gst_file_sink_set_location), (gst_file_sink_set_property),
28257         (gst_file_sink_get_property), (gst_file_sink_open_file),
28258         (gst_file_sink_close_file), (gst_file_sink_query),
28259         (gst_file_sink_event), (gst_file_sink_render),
28260         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28261         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28262         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28263         * gst/elements/gstfilesink.h:
28264         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28265         (gst_file_src_class_init), (gst_file_src_init),
28266         (gst_file_src_finalize), (gst_file_src_set_location),
28267         (gst_file_src_set_property), (gst_file_src_get_property),
28268         (gst_file_src_map_region), (gst_file_src_map_small_region),
28269         (gst_file_src_create_mmap), (gst_file_src_create_read),
28270         (gst_file_src_create), (gst_file_src_is_seekable),
28271         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28272         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28273         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28274         (gst_file_src_uri_handler_init):
28275         * gst/elements/gstfilesrc.h:
28276           more autistic cleanliness in functions/names/defines
28277
28278 2005-07-13  Andy Wingo  <wingo@pobox.com>
28279
28280         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28281         source couldn't negotiate.
28282
28283         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28284         connections again.
28285
28286         * gst/gstutils.h:
28287         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28288         function. I am channeling Hades. Put your boots on suckers!!!
28289
28290 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28291
28292         * testsuite/caps/Makefile.am:
28293         * testsuite/caps/value_compare.c:
28294         * testsuite/caps/value_intersect.c:
28295         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28296           move two testsuite apps over to the check dir
28297
28298 2005-07-12  Wim Taymans  <wim@fluendo.com>
28299
28300         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28301         Added more debug info in the negotiate process.
28302
28303         * gst/gstmessage.h:
28304         Prepare for segment playback.
28305
28306         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28307         Better debugging.
28308
28309         * gst/gstutils.c:
28310         Some more docs.
28311
28312         * tools/gst-launch.c: (main):
28313         NULL pipeline on errors.
28314
28315 2005-07-12  Andy Wingo  <wingo@pobox.com>
28316
28317         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28318         not it comes from a malloc region. Make sure our copy gets freed.
28319
28320 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28321
28322         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28323         * check/gst/gstmessage.c: (GST_START_TEST):
28324         * check/gst/gststructure.c: (GST_START_TEST),
28325         (gst_structure_suite), (main):
28326           more testing
28327         * gst/gstelement.c: (gst_element_message_full):
28328           clean up GError and debug string now that they get copied
28329         * gst/gstmessage.c: (gst_message_new_error),
28330         (gst_message_new_warning), (gst_message_parse_error),
28331         (gst_message_parse_warning):
28332           use GST_TYPE_G_ERROR for structure_new, and take copies of
28333           arguments, so that we don't mess up refcounting
28334
28335 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28336
28337         * check/Makefile.am:
28338           add per-test valgrind targets
28339         * check/gst-libs/gdp.c: (GST_START_TEST),
28340         (gst_data_protocol_suite), (main):
28341           clean up
28342
28343 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28344
28345         * check/Makefile.am:
28346           instate more valgrindable tests
28347         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28348         (GST_START_TEST), (fakesrc_suite):
28349         * check/gst/gstpad.c: (GST_START_TEST):
28350         * check/gst/gststructure.c: (GST_START_TEST):
28351           fix test leaks
28352         * docs/gst/tmpl/gstminiobject.sgml:
28353         * gst/gstpad.c: (gst_pad_finalize):
28354           fix the static mutex leak
28355
28356 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28357
28358         * check/Makefile.am:
28359           add two more tests for valgrinding
28360         * check/gst/gstvalue.c: (GST_START_TEST):
28361           test refcount of deserialized buffer, found a leak
28362         * docs/gst/gstreamer-docs.sgml:
28363         * docs/gst/gstreamer-sections.txt:
28364         * docs/gst/gstreamer.types:
28365         * docs/gst/tmpl/gstminiobject.sgml:
28366           add miniobject to docs
28367         * gst/gstminiobject.c:
28368           add some docs
28369         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28370         (gst_string_unwrap):
28371           fix a hard-to-find invalid write for one of the tests
28372           fix a leak for deserialized buffers
28373
28374 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28375
28376         * docs/pwg/advanced-events.xml:
28377         * docs/pwg/advanced-request.xml:
28378         * docs/pwg/advanced-scheduling.xml:
28379         * docs/pwg/appendix-porting.xml:
28380         * docs/pwg/building-boiler.xml:
28381         * docs/pwg/intro-preface.xml:
28382         * docs/pwg/other-ntoone.xml:
28383           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28384           of example code and explanation for pad activation, loop() and
28385           getrange() functions and a bit more. Remove old comments pointing
28386           to loop-functions.
28387         * examples/pwg/Makefile.am:
28388           Add loop/getrange examples.
28389
28390 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28391
28392         * configure.ac:
28393           check for valgrind binary + some fixes
28394         * check/gst.supp:
28395           valgrind suppressions for the tests
28396         * check/Makefile.am:
28397           add a valgrind: target that valgrinds the unit tests
28398         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28399         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28400         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28401         * check/gst/gstghostpad.c:
28402           added some cleanup
28403         * check/gst/gstdata.c:
28404           removed
28405         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28406         (thread_unref), (gst_mini_object_suite), (main):
28407           added
28408         * gst/gst.c: (gst_deinit):
28409         * gst/gst.h:
28410           add a method to clean up.
28411         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28412         (gst_system_clock_obtain):
28413           allow for disposing the system clock.
28414         * tools/gst-launch.c: (main):
28415           deinit
28416
28417 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28418
28419         * docs/gst/tmpl/gstbasesrc.sgml:
28420         * docs/gst/tmpl/gstfakesrc.sgml:
28421         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28422         (gst_base_src_init), (gst_base_src_set_property),
28423         (gst_base_src_get_property), (gst_base_src_get_range),
28424         (gst_base_src_start):
28425         * gst/base/gstbasesrc.h:
28426           add num-buffers property
28427         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28428         (gst_fakesrc_init), (gst_fakesrc_set_property),
28429         (gst_fakesrc_get_property), (gst_fakesrc_create),
28430         (gst_fakesrc_start):
28431           remove num-buffers property
28432
28433 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28434
28435         * docs/gst/gstreamer-sections.txt:
28436         * docs/gst/tmpl/gstbasesink.sgml:
28437         * docs/gst/tmpl/gstbasesrc.sgml:
28438         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28439         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28440         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28441         (gst_base_sink_set_property), (gst_base_sink_get_property),
28442         (gst_base_sink_handle_object), (gst_base_sink_event),
28443         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28444         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28445         (gst_base_sink_loop), (gst_base_sink_deactivate),
28446         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28447         (gst_base_sink_change_state):
28448         * gst/base/gstbasesink.h:
28449         * gst/base/gstbasesrc.h:
28450         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28451         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28452         (gst_filesink_init):
28453           more macro splitting
28454
28455 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28456
28457         * gst/gstelement.c: (gst_element_get_bus):
28458           add debug
28459         * tools/gst-launch.c: (check_intr), (event_loop):
28460           fix bus leaks
28461
28462 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28463
28464         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28465           fix a caps leak
28466
28467 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28468
28469         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28470         (gst_base_src_finalize):
28471           add finalize method and clean up properly
28472         * gst/gstpipeline.c: (gst_pipeline_dispose):
28473           add debug
28474
28475 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28476
28477         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28478         (gst_bin_suite):
28479           add more things to check
28480         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28481         * gst/gstelement.c:
28482           more debug
28483
28484 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28485
28486         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28487         (GST_START_TEST), (fakesrc_suite):
28488         * check/gst-libs/gdp.c: (GST_START_TEST):
28489         * check/gst/gst.c: (GST_START_TEST):
28490         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28491         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28492         * check/gst/gstbus.c: (GST_START_TEST):
28493         * check/gst/gstcaps.c: (GST_START_TEST):
28494         * check/gst/gstdata.c: (GST_START_TEST):
28495         * check/gst/gstelement.c: (GST_START_TEST):
28496         * check/gst/gstghostpad.c: (GST_START_TEST):
28497         * check/gst/gstiterator.c: (GST_START_TEST):
28498         * check/gst/gstmessage.c: (GST_START_TEST):
28499         * check/gst/gstobject.c: (GST_START_TEST):
28500         * check/gst/gstpad.c: (GST_START_TEST):
28501         * check/gst/gststructure.c: (GST_START_TEST):
28502         * check/gst/gstsystemclock.c: (GST_START_TEST),
28503         (gst_systemclock_suite):
28504         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28505         * check/gst/gstvalue.c: (GST_START_TEST):
28506         * check/pipelines/cleanup.c: (GST_START_TEST):
28507         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28508         * check/states/sinks.c: (GST_START_TEST):
28509         * check/gstcheck.c: (gst_check_init):
28510         * check/gstcheck.h:
28511           add debugging category
28512           use GST_START_TEST now, so we add a debug line
28513
28514 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28515
28516         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28517           add test for state change message on a bin
28518         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28519           add another test
28520         * gst/gstbin.c: (gst_bin_init):
28521         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28522         * gst/gstelement.c: (gst_element_post_message),
28523         (gst_element_set_state):
28524         * gst/gstelementfactory.c: (gst_element_factory_create):
28525         * gst/gstmessage.c: (gst_message_new):
28526         * gst/gstscheduler.c:
28527           various debugging additions and cleanups
28528
28529 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28530
28531         * check/Makefile.am:
28532         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28533         (main):
28534           adding tests for elements
28535         * gst/gstelement.c: (gst_element_dispose):
28536
28537 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28538
28539         * gst/registries/gstlibxmlregistry.c: (load_feature):
28540           plug more leaks.  A simple gst_init() now is leakfree, yay.
28541
28542 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28543
28544         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28545         (gst_xml_registry_load):
28546           plug another memleak
28547
28548 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28549
28550         * configure.ac:
28551           use GST_SET_ERROR_CFLAGS
28552         * docs/faq/cvs.xml:
28553           change to ERROR_CFLAGS
28554
28555 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28556
28557         * configure.ac:
28558           make GST_ERROR_CFLAGS overridable and re-enable Werror
28559         * docs/faq/cvs.xml:
28560           add a note about error CFLAGS
28561         * docs/gst/tmpl/gstfakesrc.sgml:
28562         * gst/elements/gstfakesrc.c:
28563           comment out some unused code
28564         * gst/gst.c: (split_and_iterate):
28565         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28566         (load_feature):
28567           plug some memleaks
28568
28569 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28570
28571         * common/Makefile.am:
28572         * common/gtk-doc.mak:
28573         * docs/gst/Makefile.am:
28574           factor out gtk-doc.mak
28575
28576 2005-07-07  Wim Taymans  <wim@fluendo.com>
28577
28578         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28579         (gst_thread_scheduler_dispose):
28580         Unlock the STREAM_LOCK completely.
28581
28582 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28583
28584         * check/Makefile.am:
28585         * check/elements/.cvsignore:
28586         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28587         (START_TEST), (fakesrc_suite), (main):
28588         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28589         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28590         (gst_fakesrc_create), (gst_fakesrc_start):
28591         * gst/elements/gstfakesrc.h:
28592           adding a first element test
28593
28594 2005-07-07  Andy Wingo  <wingo@pobox.com>
28595
28596         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28597         debug message.
28598
28599 2005-07-07  Wim Taymans  <wim@fluendo.com>
28600
28601         * gst/gstquery.c:
28602         * gst/gstquery.h:
28603         Remove old types
28604
28605 2005-07-07  Wim Taymans  <wim@fluendo.com>
28606
28607         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28608         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28609         Allow subclasses to implement their own negotiation.
28610
28611 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28612
28613         * docs/design/part-gstbin.txt:
28614         * docs/design/part-gstpipeline.txt:
28615           Update design notes to reflect the movement of
28616           responsibility for bus handling from GstPipeline to
28617           GstBin
28618
28619 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28620
28621         * configure.ac:
28622           Remove unnecessary queue2/3/4 examples.
28623
28624 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28625
28626         * examples/Makefile.am:
28627         * examples/helloworld/helloworld.c: (event_loop), (main):
28628         * examples/queue/queue.c: (event_loop), (main):
28629         * examples/queue2/queue2.c: (main):
28630           Update a couple of the examples to work again.
28631
28632         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28633         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28634          Spelling corrections and extra debug.
28635         
28636         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28637         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28638         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28639         * gst/gstbin.h:
28640         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28641         (gst_pipeline_change_state):
28642         * gst/gstpipeline.h:
28643           Move the bus handler for children to the GstBin, and create a
28644           separate bus for receiving messages from children to the one the
28645           bus sends 'upwards' on.
28646
28647 2005-07-06  Wim Taymans  <wim@fluendo.com>
28648
28649         * gst/base/README:
28650         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28651         (gst_base_sink_handle_object), (gst_base_sink_loop),
28652         (gst_base_sink_change_state):
28653         * gst/base/gstbasesink.h:
28654         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28655         (gst_base_src_init), (gst_base_src_setcaps),
28656         (gst_base_src_getcaps), (gst_base_src_loop),
28657         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28658         (gst_base_src_start), (gst_base_src_change_state):
28659         * gst/base/gstbasesrc.h:
28660         Make basesrc negotiate.
28661         Handle the case where preroll fails in basesink.
28662         Update README.
28663
28664 2005-07-06  Wim Taymans  <wim@fluendo.com>
28665
28666         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28667         Implement the fixate function.
28668         Clean up acceptcaps.
28669
28670 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28671
28672         * docs/pwg/building-filterfactory.xml:
28673         * docs/pwg/pwg.xml:
28674           Remove never-written filter-factory chapter; I'll add the various
28675           base classes to part 4 ("other element types") later on.
28676
28677 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28678
28679         * docs/pwg/advanced-negotiation.xml:
28680         * docs/pwg/building-boiler.xml:
28681         * docs/pwg/building-pads.xml:
28682         * docs/pwg/pwg.xml:
28683         * examples/pwg/Makefile.am:
28684           Add a chapter on caps negotiation, simplify the original code
28685           samples a bit w.r.t. caps negotiation, add link to the advanced
28686           section. Add a bunch of examples showing different use cases of
28687           different types of caps negotiation. Upstream renegotiation isn't
28688           fully documented yet since nobody knows how that works.
28689
28690 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28691
28692         * check/gst/gstpad.c:
28693         * check/gstcheck.c:
28694         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28695           if pad has no parent, return NULL as list of internal links
28696
28697 2005-07-05  Andy Wingo  <wingo@pobox.com>
28698
28699         * gst/elements/gstfilesrc.c:
28700         * gst/elements/gstfakesrc.c: 
28701         * gst/base/gstpushsrc.c:
28702         * gst/base/gstbasesrc.h: 
28703         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28704         
28705 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28706
28707         * Makefile.am:
28708           better report generation target (lcov needs a patch)
28709
28710 2005-07-05  Andy Wingo  <wingo@pobox.com>
28711
28712         * gst/elements, testsuite: Null if we got it...
28713
28714 2005-07-05  Wim Taymans  <wim@fluendo.com>
28715
28716         * configure.ac:
28717         * libs/gst/dataprotocol/Makefile.am:
28718         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28719         * libs/gst/dataprotocol/dataprotocol.h:
28720         * pkgconfig/Makefile.am:
28721         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28722         * pkgconfig/gstreamer-dataprotocol.pc.in:
28723         Ported dataprotol to 0.9. 
28724         Added pkgconfig files.
28725
28726 2005-07-05  Andy Wingo  <wingo@pobox.com>
28727
28728         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28729         Default to returning TRUE for the case when tranform_caps returns
28730         a fixed caps, like for identity or volume.
28731
28732         * check/gst/gstbus.c (pound_bus_with_messages): 
28733         * check/gst/gstmessage.c (START_TEST): 
28734         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28735         message API change.
28736
28737         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28738         logic weaks here: always run transform_caps, trying passthrough
28739         operation only if the original caps intersects with the transform.
28740
28741         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28742         source and sink caps.
28743
28744         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28745         Intersect the peer caps with the pad template before going into
28746         transform_caps.
28747         (gst_base_transform_transform_caps): More debugging.
28748
28749         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28750         src argument.
28751
28752 2005-07-04  Edward Hervey  <edward@fluendo.com>
28753
28754         * gst/gstutils.c:
28755         * gst/gstutils.h:
28756         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28757         in bindings.
28758
28759 2005-07-04  Andy Wingo  <wingo@pobox.com>
28760
28761         * check/gst/gstpad.c: Only set explicit caps on pads.
28762
28763 2005-07-01  Andy Wingo  <wingo@pobox.com>
28764
28765         * tests/network-clock.scm: Commentary update.
28766
28767         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28768         Didn't really make sense, not implementable with basetransform,
28769         etc.
28770         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28771         attempt at implementing the sync property, needs an unlock method.
28772
28773         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28774         New func, by default returns the same caps (the identity
28775         transformation).
28776         (gst_base_transform_getcaps): Uses transform_caps to return
28777         something sensible.
28778         (gst_base_transform_setcaps): Complicated logic to get caps on
28779         both pads, even if they are different, and to call set_caps once
28780         for every time both pads get their caps set.
28781         (gst_base_transform_handle_buffer): Give the ref to the transform
28782         function. Allows in-place modification of the buffer.
28783
28784         * gst/base/gstbasetransform.h (transform_caps): New class method.
28785         Given caps on one side, what can I do on the other.
28786         (set_caps): Take two caps, one for each side of the element.
28787
28788         * gst/gstpad.h:
28789         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28790         caps in place. This is safe because we can check the mutability of
28791         the caps, and a good idea because fixate functions are just called
28792         as a matter of last resort. (Not actually implemented.)
28793         (gst_pad_set_caps): If the caps we're setting is actually the same
28794         as the existing pad caps, just update the pointer without calling
28795         setcaps. Assert that caps is either NULL or fixed, as per the
28796         docs.
28797
28798         * gst/gstghostpad.c: Update for fixate changes.
28799
28800 2005-07-02  Andy Wingo  <wingo@pobox.com>
28801
28802         * gst/gstcaps.c:
28803         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28804         two refcounts makes it immutable, which is enough. Doc more.
28805
28806 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28807
28808         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28809           Put the mini_object into GValue as a mini_object,
28810           not a gpointer, since that's how we declared
28811           the signal.
28812
28813 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28814
28815         * examples/pwg/Makefile.am:
28816           Fix buildbot again.
28817
28818 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28819
28820         * docs/pwg/building-testapp.xml:
28821           Add extra check.
28822         * examples/pwg/Makefile.am:
28823           Fix buildbot.
28824
28825 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28826
28827         * configure.ac:
28828         * examples/Makefile.am:
28829         * examples/pwg/Makefile.am:
28830         * examples/pwg/extract.pl:
28831           Enable building the PWG examples.
28832         * docs/pwg/advanced-interfaces.xml:
28833           Add URI interface stub.
28834         * docs/pwg/advanced-types.xml:
28835         * docs/pwg/other-autoplugger.xml:
28836         * docs/pwg/appendix-porting.xml:
28837         * docs/pwg/pwg.xml:
28838           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28839         * docs/pwg/building-boiler.xml:
28840         * docs/pwg/building-chainfn.xml:
28841         * docs/pwg/building-pads.xml:
28842         * docs/pwg/building-props.xml:
28843         * docs/pwg/building-state.xml:
28844         * docs/pwg/building-testapp.xml:
28845           Update the building-*.xml parts for 0.9 changes. All examples
28846           code blocks compile in examples/pwg/*.
28847
28848 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28849
28850         * docs/manual/advanced-autoplugging.xml:
28851         * docs/manual/appendix-checklist.xml:
28852         * docs/manual/appendix-integration.xml:
28853         * docs/manual/highlevel-components.xml:
28854           Fix playbin/decodebin examples, update docs a bit, mention bus
28855           instead of signals in various places, mention kmplayer and
28856           kaffeine since they have a working GStreamer backend in the KDE
28857           section.
28858
28859 2005-06-30  Wim Taymans  <wim@fluendo.com>
28860
28861         * CHANGES-0.9:
28862         * docs/design/draft-ghostpads.txt:
28863         * docs/design/draft-push-pull.txt:
28864         * docs/design/draft-query.txt:
28865         * docs/design/part-TODO.txt:
28866         * docs/design/part-query.txt:
28867         Added CHANGES-0.9 doc, updated status of other docs.
28868         
28869         * gst/gstquery.h:
28870         Remove "hmm" macro
28871
28872 2005-06-30  Wim Taymans  <wim@fluendo.com>
28873
28874         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28875         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28876         (gst_base_sink_change_state):
28877         * gst/base/gstbasesink.h:
28878         Some tweaks, only EOS and a buffer complete a preroll.
28879
28880 2005-06-30  Andy Wingo  <wingo@pobox.com>
28881
28882         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28883         activate_push down to the internal pad as well.
28884
28885 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28886
28887         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28888
28889         * gst/gsttaginterface.c:
28890           Some documentation fixes (#307394 and #307397).
28891
28892 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28893
28894         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28895
28896         * gst/gstvalue.c: (gst_value_intersect_list):
28897           Fix memleak (#309125).
28898
28899 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28900
28901         * docs/manual/advanced-dataaccess.xml:
28902           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28903         * docs/manual/basics-pads.xml:
28904           Add reference for filtered caps to above chapter.
28905
28906 2005-06-30  Wim Taymans  <wim@fluendo.com>
28907
28908         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28909         (gst_bin_change_state):
28910         Probes are gone.
28911         Lame attempt at making the state change function a bit
28912         more readable.
28913
28914 2005-06-30  Wim Taymans  <wim@fluendo.com>
28915
28916         * docs/design/part-clocks.txt:
28917         * docs/design/part-element-sink.txt:
28918         * docs/design/part-events.txt:
28919         * docs/design/part-preroll.txt:
28920         * docs/design/part-states.txt:
28921         Some more tweeks and additions to the docs.
28922
28923 2005-06-30  Wim Taymans  <wim@fluendo.com>
28924
28925         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28926         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28927         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28928         (gst_pad_check_pull_range), (gst_pad_get_range),
28929         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28930         * gst/gstpad.h:
28931         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28932         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28933         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28934         (gst_pad_remove_buffer_probe):
28935         Removed atomic operations, use existing LOCK.
28936         Move exception handling out of main code path.
28937
28938 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28939
28940         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28941         (silly_return_true_function), (gst_pad_class_init),
28942         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28943         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
28944         (gst_pad_send_event):
28945           Fix accumulator, add default value by using _emitv() instead
28946           of _emit() for signal emission.
28947
28948 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28949
28950         * docs/manual/advanced-dataaccess.xml:
28951         * examples/manual/Makefile.am:
28952           Add probe example.
28953         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
28954           Make work (??).
28955
28956 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
28957
28958         * gst/elements/gstfilesink.c: (gst_filesink_render):
28959           Simplify code so that we don't have to handle short
28960           writes and return GST_FLOW_ERROR if an error occured.
28961
28962 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28963
28964         * docs/gst/gstreamer-docs.sgml:
28965           Remove probes more.
28966
28967 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28968
28969         * docs/gst/gstreamer-sections.txt:
28970         * docs/gst/tmpl/gstpad.sgml:
28971         * docs/gst/tmpl/gstprobe.sgml:
28972         * gst/Makefile.am:
28973         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28974         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
28975         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28976         (gst_pad_push_event), (gst_pad_send_event):
28977         * gst/gstpad.h:
28978         * gst/gstutils.c: (gst_pad_add_data_probe),
28979         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28980         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28981         (gst_pad_remove_buffer_probe):
28982         * gst/gstutils.h:
28983           Remove old probes, add new g-signal-based probes and some utility
28984           functions.
28985
28986 2005-06-29  Edward Hervey  <edward@fluendo.com>
28987
28988         * gst/gstelementfactory.c:
28989         * gst/gstutils.h:
28990         * gst/gstutils.c:
28991         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
28992         the definition to the header file.
28993
28994 2005-06-29  Andy Wingo  <wingo@pobox.com>
28995
28996         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
28997         plugins from the source directory.
28998
28999 2005-06-29  Wim Taymans  <wim@fluendo.com>
29000
29001         * docs/gst/tmpl/gstbuffer.sgml:
29002         * docs/gst/tmpl/gstclock.sgml:
29003         Some fixings for blantently wrong text.
29004
29005 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29006
29007         * check/Makefile.am:
29008         * gst/gst.c: (add_path_func), (init_pre):
29009         * gst/gstregistry.c: (gst_registry_add_path):
29010           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29011           only scan the GST_PLUGIN_PATH locations, and not add
29012           system locations
29013
29014 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29015
29016         * docs/gst/gstreamer-sections.txt:
29017         * docs/gst/tmpl/gstbasesrc.sgml:
29018         * gst/gstelement.c:
29019         * gst/gstelement.h:
29020         * gst/gstevent.c:
29021         * gst/gstutils.c:
29022           doc fixes
29023
29024 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29025
29026         * docs/manual/advanced-autoplugging.xml:
29027           Fix autoplugging example.
29028
29029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29030
29031         * docs/manual/advanced-autoplugging.xml:
29032         * docs/manual/mime-world.fig:
29033           Try to get autoplugging working, fix type detection. Fix text
29034           in hello-world image.
29035
29036 2005-06-29  Wim Taymans  <wim@fluendo.com>
29037
29038         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29039         (gst_base_sink_change_state):
29040         Small debug line.
29041
29042         * gst/gstclock.h:
29043         map SIGNAL and BROADCAST to the right function.
29044
29045         * gst/gstobject.h:
29046         Remove redundant braces.
29047
29048         * gst/gstpad.c: (gst_pad_set_caps):
29049         Don't call setcaps function when reseting caps to NULL.
29050
29051         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29052         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29053         (gst_system_clock_id_unschedule):
29054         Use BROADCAST as this is what we do.
29055
29056 2005-06-29  Wim Taymans  <wim@fluendo.com>
29057
29058         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29059         We are actually prerolling before commiting the state
29060         change. 
29061
29062 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29063
29064         * docs/manual/advanced-clocks.xml:
29065         * docs/manual/advanced-interfaces.xml:
29066         * docs/manual/advanced-metadata.xml:
29067         * docs/manual/advanced-position.xml:
29068         * docs/manual/advanced-schedulers.xml:
29069         * docs/manual/advanced-threads.xml:
29070         * docs/manual/appendix-porting.xml:
29071         * docs/manual/basics-bins.xml:
29072         * docs/manual/basics-bus.xml:
29073         * docs/manual/basics-elements.xml:
29074         * docs/manual/basics-helloworld.xml:
29075         * docs/manual/basics-pads.xml:
29076         * docs/manual/highlevel-components.xml:
29077         * docs/manual/manual.xml:
29078         * docs/manual/thread.fig:
29079           Update (until threads/scheduling) Application Development Manual;
29080           remove GstThread, add GstBus, add simple porting checklist, add
29081           documentation for tag writing, clocks, make all examples until this
29082           part compile and run.
29083         * examples/manual/Makefile.am:
29084           Update from changes to Application Development Manual; add bus
29085           example, remove thread example.
29086
29087 2005-06-28  Wim Taymans  <wim@fluendo.com>
29088
29089         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29090         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29091         (gst_bus_source_dispatch):
29092         Add debugging messages.
29093         Make internal methods static.
29094         Handle the case where the bus is flushed in the handler.
29095         
29096         * gst/gstelement.c: (gst_element_get_bus):
29097         Fix refcount in _get_bus();
29098
29099         * gst/gstpipeline.c: (gst_pipeline_change_state),
29100         (gst_pipeline_get_clock_func):
29101         Clock refcounting fixes.
29102         Handle the case where preroll timed out more gracefully.
29103         
29104         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29105         Clean up the internal thread in dispose. This is needed
29106         for subclasses that actually get disposed.
29107         
29108         * gst/schedulers/threadscheduler.c:
29109         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29110         (gst_thread_scheduler_dispose):
29111         Free thread pool in dispose.
29112
29113 2005-06-28  Andy Wingo  <wingo@pobox.com>
29114
29115         * tests/network-clock-utils.scm (debug, print-event): New utils.
29116
29117         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29118         (*packet-loss*): Unified loss probability.
29119         (network-time): Report out-of-band events.
29120
29121         * tests/plot-data: Add support for out-of-band events. Hack it
29122         into this script instead of passing it down the pipe; should fix
29123         this later.
29124
29125 2005-06-28  Wim Taymans  <wim@fluendo.com>
29126
29127         * docs/gst/gstreamer.types:
29128         * docs/gst/tmpl/gstbasesrc.sgml:
29129         * docs/gst/tmpl/gstpad.sgml:
29130         Docs fixes.
29131
29132 2005-06-28  Wim Taymans  <wim@fluendo.com>
29133
29134         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29135         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29136         (gst_proxy_pad_do_fixatecaps):
29137         Correctly proxy the check_pull_range function.
29138
29139 2005-06-28  Andy Wingo  <wingo@pobox.com>
29140
29141         * tests/network-clock.scm: Removed need for slib.
29142         
29143 2005-06-28  Wim Taymans  <wim@fluendo.com>
29144
29145         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29146         (gst_basesink_preroll_queue_flush):
29147         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29148         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29149         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29150         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29151         (gst_proxy_pad_set_property):
29152         * gst/gstpad.c:
29153         * gst/gstpad.h:
29154         * gst/gstqueue.c: (gst_queue_init):
29155         The deprecated pad loop function is removed now.
29156
29157 2005-06-28  Andy Wingo  <wingo@pobox.com>
29158
29159         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29160         New parameters, simulate network packet loss.
29161
29162         * tests/network-clock-utils.scm: Initialize the RNG.
29163
29164 2005-06-28  Wim Taymans  <wim@fluendo.com>
29165
29166         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29167         (gst_basesink_event), (gst_basesink_deactivate):
29168         Flushing the preroll queue always needs to unlock the waiters.
29169
29170 2005-06-28  Edward Hervey  <edward@fluendo.com>
29171
29172         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29173         Wheen a seek was successful on a pipeline, set the stream_time to the
29174         seek offset in order to have a synchronized stream_time.
29175
29176 2005-06-28  Wim Taymans  <wim@fluendo.com>
29177
29178         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29179         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29180         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29181         (gst_proxy_pad_do_fixatecaps):
29182         Call wrapper function instead of just calling the function
29183         pointers. This takes care of any locking and whatmore.
29184
29185 2005-06-28  Wim Taymans  <wim@fluendo.com>
29186
29187         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29188         (gst_pad_pull_range):
29189         * gst/gstpad.h:
29190         CONNECTED -> LINKED.
29191
29192 2005-06-28  Andy Wingo  <wingo@pobox.com>
29193
29194         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29195         source-munging commit!!!
29196
29197         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29198         (gst_object_sink): Take gpointer arguments, not GstObject --
29199         avoids casts. Like GLib.
29200
29201         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29202         activate.
29203
29204 2005-06-27  Andy Wingo  <wingo@pobox.com>
29205
29206         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29207         remaining buffer.
29208
29209         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29210         returns a sorted copy of the trace list.
29211         (gst_alloc_trace_print_live): New API, only prints traces with
29212         live objects. Sort the list.
29213         (gst_alloc_trace_print_all): Sort the list.
29214         (gst_alloc_trace_print): Align columns.
29215
29216         * gst/elements/gstttypefindelement.c:
29217         * gst/elements/gsttee.c:
29218         * gst/base/gstbasesrc.c:
29219         * gst/base/gstbasesink.c:
29220         * gst/base/gstbasetransform.c:
29221         * gst/gstqueue.c: Adapt for pad activation changes.
29222
29223         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29224         sched.
29225         (gst_pipeline_dispose): Drop ref on sched.
29226
29227         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29228         (gst_pad_activate_default): Push mode by default.
29229         (pre_activate_switch, post_activate_switch): New stubs, things to
29230         do before and after switching activation modes on pads.
29231         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29232         the pad's activate function to choose which mode to activate.
29233         Shortcut on deactivation and call the right function directly.
29234         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29235         mode.
29236         (gst_pad_activate_push): New API, same for push mode.
29237         (gst_pad_set_activate_function) 
29238         (gst_pad_set_activatepull_function) 
29239         (gst_pad_set_activatepush_function): Setters for new API.
29240
29241         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29242         Trace all miniobjects.
29243         (gst_mini_object_make_writable): Unref the arg if we copy, like
29244         gst_caps_make_writable.
29245
29246         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29247
29248         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29249         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29250         Adapt for new pad API.
29251
29252         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29253
29254         * gst/gstelement.h:
29255         * gst/gstelement.c (gst_element_iterate_src_pads) 
29256         (gst_element_iterate_sink_pads): New API functions.
29257         
29258         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29259         should fold into gstiterator.c in some form.
29260         (gst_element_pads_activate): Simplified via use of fold and
29261         delegation of decisions to gstpad->activate.
29262
29263         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29264         help in debugging.
29265
29266         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29267         class once in init, like gstmessage. Didn't run into this issue
29268         but it seems correct. Don't initialize a trace, gstminiobject does
29269         that.
29270
29271         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29272         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29273         to the bus.
29274         (assert_live_count): New util function, uses alloc traces to check
29275         cleanup.
29276
29277         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29278         To be modified when unlink drops the internal pad.
29279
29280 2005-06-27  Wim Taymans  <wim@fluendo.com>
29281
29282         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29283         (gst_bin_change_state):
29284         Cleanup the get_state() function a little, make sure it
29285         iterates the same set of elements.
29286         Added stub iterate_state_order().
29287
29288 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29289
29290         * docs/gst/gstreamer-docs.sgml:
29291         * docs/gst/gstreamer-sections.txt:
29292         * docs/gst/gstreamer.types:
29293         * docs/gst/tmpl/gstbasesink.sgml:
29294         * docs/gst/tmpl/gstbasesrc.sgml:
29295         * docs/gst/tmpl/gstbasetransform.sgml:
29296         * docs/gst/tmpl/gstelement.sgml:
29297         * docs/gst/tmpl/gstiterator.sgml:
29298         * gst/base/gstbasesrc.c:
29299         * gst/base/gstbasesrc.h:
29300         * gst/base/gstbasetransform.h:
29301         * gst/gstelement.c:
29302         * gst/gstiterator.h:
29303           adding basetransform and iterator docs
29304
29305 2005-06-27  Andy Wingo  <wingo@pobox.com>
29306
29307         * docs/design/part-activation.txt: Notes on how activation should
29308         work -- not quite implemented yet.
29309
29310 2005-06-25  Wim Taymans  <wim@fluendo.com>
29311
29312         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29313         At least get the chain function correct, needs more
29314         fixing.
29315
29316 2005-06-25  Wim Taymans  <wim@fluendo.com>
29317
29318         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29319         (gst_basesink_handle_object), (gst_basesink_event),
29320         (gst_basesink_do_sync), (gst_basesink_handle_event),
29321         (gst_basesink_change_state):
29322         * gst/gsttask.h:
29323         Right, two problems here: ghostpads don't take locks and
29324         glib _rec_mutex_lock_full() with depth==0 still locks.
29325         Catch illegal locking and g_warn them.
29326
29327 2005-06-25  Wim Taymans  <wim@fluendo.com>
29328
29329         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29330         Have to check for completion now...
29331
29332 2005-06-25  Wim Taymans  <wim@fluendo.com>
29333
29334         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29335         (gst_basesink_handle_object), (gst_basesink_event),
29336         (gst_basesink_do_sync), (gst_basesink_handle_event),
29337         (gst_basesink_change_state):
29338         * gst/gstpad.h:
29339         Unlock STREAM_LOCK whatever the recursion was.
29340
29341 2005-06-25  Wim Taymans  <wim@fluendo.com>
29342
29343         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29344         (gst_basesink_preroll_queue_empty),
29345         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29346         (gst_basesink_event), (gst_basesink_do_sync),
29347         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29348         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29349         (gst_basesink_change_state):
29350         Reworked the base sink, handle event and buffer serialisation
29351         correctly and removed possible deadlock.
29352         Handle EOS correctly.
29353
29354 2005-06-25  Wim Taymans  <wim@fluendo.com>
29355
29356         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29357         (gst_pipeline_change_state):
29358         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29359         Allow elements to post EOS in the state change function.
29360         Fix up -launch, make it exit the poll loop when the
29361         pipeline actually changed state.
29362         Fix up warning parsing in -launch.
29363
29364 2005-06-25  Wim Taymans  <wim@fluendo.com>
29365
29366         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29367         (gst_tee_sink_activate):
29368         Core takes STREAM_LOCK for us now.
29369
29370 2005-06-25  Wim Taymans  <wim@fluendo.com>
29371
29372         * gst/gstelement.c: (gst_element_get_state_func),
29373         (gst_element_set_state):
29374         * gst/gstelement.h:
29375         * gst/gstmessage.c: (gst_message_parse_error),
29376         (gst_message_parse_warning):
29377         Keep track of current target state while performing a state
29378         change so that subclasses can do something interesting.
29379         Fix parsing of warning/error messages when GError is NULL.
29380
29381 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29382
29383         * docs/gst/Makefile.am:
29384         * docs/gst/gstreamer-docs.sgml:
29385         * docs/gst/gstreamer-sections.txt:
29386         * docs/gst/gstreamer.types:
29387         * docs/gst/tmpl/gstbasesink.sgml:
29388         * docs/gst/tmpl/gstbasesrc.sgml:
29389         * docs/gst/tmpl/gstbin.sgml:
29390         * docs/gst/tmpl/gstcompat.sgml:
29391         * docs/gst/tmpl/gstfakesink.sgml:
29392         * docs/gst/tmpl/gstfakesrc.sgml:
29393         * docs/gst/tmpl/gstfilesink.sgml:
29394         * docs/gst/tmpl/gstfilesrc.sgml:
29395         * docs/gst/tmpl/gstindex.sgml:
29396         * docs/manual/appendix-quotes.xml:
29397         * gst/base/gstbasesrc.h:
29398         * gst/elements/gstfakesrc.h:
29399         * gst/gstmessage.h:
29400           start pulling in base classes and elements in our docs
29401
29402 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29403
29404         * docs/gst/Makefile.am:
29405         * docs/libs/Makefile.am:
29406           fixed make distcheck with gtk-doc 1.3
29407
29408 2005-06-23  Wim Taymans  <wim@fluendo.com>
29409
29410         * gst/gstelement.c: (gst_element_get_state_func),
29411         (gst_element_set_state), (gst_element_change_state):
29412         When the state did not change, also report NO_PREROLL
29413         when it matters.
29414
29415 2005-06-23  Wim Taymans  <wim@fluendo.com>
29416
29417         * gst/gstpad.c: (gst_pad_event_default):
29418         * gst/gstqueue.c: (gst_queue_loop):
29419         No unsafe task pausing please.
29420
29421 2005-06-23  Wim Taymans  <wim@fluendo.com>
29422
29423         * gst/schedulers/threadscheduler.c:
29424         (gst_thread_scheduler_task_start),
29425         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29426         Ref the task before pushing it on the threadpool. This
29427         makes sure that we have a ref when the threadfunction is
29428         actually called.
29429
29430 2005-06-23  Andy Wingo  <wingo@pobox.com>
29431
29432         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29433         offset is greater than the file's size.
29434
29435         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29436         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29437         * gst/gstobject.c (gst_object_class_init): Make the class lock
29438         recursive. Wim won't let me drop deep_notify. Decodebin works
29439         again, whoopdy doo.
29440
29441         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29442         internal pad, and hacks accordingly. Doesn't do it on the target
29443         pad because we change its caps. Probably catches all cases of
29444         interest tho.
29445         (gst_ghost_pad_set_property): Connect to notify::caps as
29446         appropritate.
29447
29448         * tests/network-clock.scm (plot-simulation): Pipe data to the
29449         elite python skript.
29450
29451         * tests/network-clock-utils.scm (define-parameter): New macro,
29452         defines a parameter that can be set via the command line.
29453         (set-parameter!, parse-parameter-arguments): Command line args
29454         parser.
29455
29456         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29457         stdin.
29458
29459 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29460
29461         * gst/elements/gsttypefindelement.c:
29462         (gst_type_find_element_handle_event):
29463           Don't restart typefinding on a discont.
29464         * gst/gstelement.c: (gst_element_set_state):
29465           Debug spelling fix.
29466         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29467           Allow changing mode of an active pad.
29468           Debug output fixes.
29469         * gst/registries/gstlibxmlregistry.c: (load_feature):
29470           Don't cast a static pad template to a normal pad template.
29471
29472 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29473
29474         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29475         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29476           remove gst_strtoll completely, since it didn't actually do
29477           anything more than what g_ascii_strtoull already does.
29478           check for range errors when deserializing
29479           do a cast for the unsigned cases; but further fixing needs
29480           a decision on what the interpretation of "(int)" and
29481           deserialization should be for values that fall outside the
29482           type's boundaries (ie, refuse, or interpret as casting)
29483
29484 2005-06-23  Wim Taymans  <wim@fluendo.com>
29485
29486         * check/Makefile.am:
29487         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29488         * docs/design/part-live-source.txt:
29489         * docs/design/part-states.txt:
29490         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29491         (gst_basesrc_set_live), (gst_basesrc_is_live),
29492         (gst_basesrc_get_range), (gst_basesrc_activate),
29493         (gst_basesrc_change_state):
29494         * gst/base/gstbasesrc.h:
29495         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29496         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29497         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29498         * gst/gstelement.c: (gst_element_get_state_func),
29499         (gst_element_set_state):
29500         * gst/gstelement.h:
29501         * gst/gsttypes.h:
29502         * tools/gst-launch.c: (event_loop), (main):
29503         Added support for live sources and other elements that
29504         cannot do preroll.
29505         Updated design docs, added live-source design doc.
29506         Implemented live source functionality in basesrc
29507         Fix error condition in _bin_get_state()
29508         Implement live source handling in -launch.
29509         Added check for live sources.
29510         Fixed case in GstBin where elements were changed state
29511         multiple times.
29512
29513
29514 2005-06-23  Andy Wingo  <wingo@pobox.com>
29515
29516         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29517         borken refcounting.
29518
29519         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29520         gst_caps_replace takes care of this for us.
29521
29522         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29523         gst_pad_set_caps on the target, not just its setcaps() function.
29524
29525         * tests/network-clock.scm: 
29526         * tests/network-clock-utils.scm: A network clock simulator.
29527         Something of an algorithmic testbed before doing something in C.
29528
29529 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29530
29531         * check/Makefile.am:
29532         * check/gst/capslist.h:
29533           copy over from 0.8, and add two with bitmasks specified with
29534           (int) 0xFF...
29535         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29536           add test to parse everything from capslist.h
29537         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29538         (main):
29539           add test for structure deserialization
29540         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29541           add tests for deserialization of strings to int types
29542         * gst/gststructure.c: (gst_structure_nth_field_name):
29543         * gst/gststructure.h:
29544           add a way to get the name of a field referenced by index
29545         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29546           instead of checking if the resulting long long lies between
29547           min and max, we check if the long long would fit into
29548           a number of bytes for the final type.
29549           This fixes cases where a string represents 2^32 - 1, which
29550           when cast to int would be the (valid) -1, but is bigger than
29551           G_MAXINT
29552
29553 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29554
29555         * gst/parse/grammar.y:
29556           add a log line for type deserialization
29557
29558 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29559
29560         * check/gst/gstvalue.c: (START_TEST):
29561         * gst/gstvalue.c: (gst_value_deserialize):
29562           return long long, not int, so gint64 deserialization actually
29563           works.  Is there any flag that makes the compiler check this ?
29564           Fixes #308559
29565
29566 2005-06-22  Wim Taymans  <wim@fluendo.com>
29567
29568         * gst/gstbuffer.h:
29569         Added convenience macros for setting buffers in GValue.
29570
29571 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29572
29573         * check/gst/.cvsignore:
29574         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29575           add a test deserializing int64, and comment part out because
29576           it fails, yay !
29577
29578 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29579
29580         * check/Makefile.am:
29581         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29582         * testsuite/Makefile.am:
29583         * testsuite/caps/Makefile.am:
29584         * testsuite/caps/value_serialize.c:
29585         * testsuite/test_gst_init.c:
29586           move a value_serialize test over
29587
29588 2005-06-20  Wim Taymans  <wim@fluendo.com>
29589
29590         * gst/gstpad.c:
29591         Small doc updates.
29592         
29593         * gst/gstvalue.c: (gst_value_compare_buffer),
29594         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29595         (gst_value_compare_flags), (gst_value_serialize_flags),
29596         (gst_value_deserialize_flags), (_gst_value_initialize):
29597         Fix serialisation of buffers, they are not boxed types anymore
29598
29599 2005-06-20  Wim Taymans  <wim@fluendo.com>
29600
29601         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29602         Testcase to show error in buffer-on-caps serialisation.
29603
29604 2005-06-20  Andy Wingo  <wingo@pobox.com>
29605
29606         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29607         will be adding to later.
29608
29609         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29610         if its socks fill with rocks.
29611         (gst_system_clock_obtain): Set the name on object construction.
29612         Avoid double-checked locking.
29613
29614 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29615
29616         * gst/gsturi.c: (gst_element_make_from_uri):
29617           Fix potential endless loop.
29618
29619 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29620
29621         * check/Makefile.am:
29622           add gsttag
29623         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29624         (main):
29625           move over from testsuite dir and clean up
29626         * configure.ac:
29627         * gst/gsttag.c:
29628         * testsuite/Makefile.am:
29629         * testsuite/tags/.cvsignore:
29630         * testsuite/tags/Makefile.am:
29631         * testsuite/tags/merge.c:
29632           remove testsuite/tags
29633
29634 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29635
29636         * docs/gst/gstreamer-sections.txt:
29637         * docs/gst/tmpl/gstenumtypes.sgml:
29638         * win32/gstenumtypes.c:
29639           clean up documentation build a little
29640
29641 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29642
29643         * check/gstcheck.h:
29644           add macros for checking refcounts on objects and caps
29645         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29646           add some more unit tests
29647         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29648         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29649           fix leaked refcounts (I hope :)) so unittest works
29650         * gst/gstpad.h:
29651           whitespace removal
29652
29653 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29654
29655         * configure.ac: back to HEAD
29656
29657 === release 0.9.1 ===
29658
29659 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29660
29661         * NEWS:
29662         * RELEASE:
29663           updated
29664
29665 2005-06-17  Andy Wingo  <wingo@pobox.com>
29666
29667         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29668         assert; it's always possible that the pad gets deactivated in
29669         between the checks in gstpad.c and the implementation. Rely on
29670         finish_preroll() to return a FLUSHING or similar instead of on the
29671         assert.
29672         
29673         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29674         clock and post an EOS message if we come out of finish_preroll in
29675         the playing state.
29676
29677 2005-06-16  David Schleef  <ds@schleef.org>
29678
29679         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29680         (gst_capsfilter_set_property): Allow NULL as possible value
29681         for filter_caps property, indicating GST_CAPS_ANY.
29682
29683 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29684
29685         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29686           fix debug output
29687         * gst/schedulers/Makefile.am:
29688           use libgst prefix
29689         * gstreamer.spec.in:
29690           fix spec for it
29691
29692 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29693
29694         * gstreamer.spec.in:
29695           clean up
29696
29697 2005-06-08  Andy Wingo  <wingo@pobox.com>
29698
29699         * gst/gstutils.c: RPAD fixes all around.
29700         (gst_element_link_pads): Refcounting fixes.
29701
29702         * tools/gst-inspect.c:
29703         * tools/gst-xmlinspect.c:
29704         * parse/grammar.y:
29705         * gst/base/gsttypefindhelper.c:
29706         * gst/base/gstbasesink.c:
29707         * gst/gstqueue.c: RPAD fixes.
29708
29709         * gst/gstghostpad.h:
29710         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29711         pads. The tricky thing is they provide both source and sink
29712         interfaces, since they proxy the internal pad for the external
29713         pad, and vice versa. Implement with lower-level ProxyPad objects,
29714         with the interior proxy pad as a child of the exterior ghost pad.
29715         Should write a doc on this.
29716         
29717         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29718         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29719         gst_object API.
29720         
29721         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29722         pads are real pads. No ghost pads in this file. Not documenting
29723         the myriad s/RPAD/PAD/ and REALIZE fixes.
29724         (gst_pad_class_init): Add properties for "direction" and
29725         "template". Both are construct-only, so they can't change during
29726         the life of the pad. Fixes properly deriving from GstPad.
29727         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29728         derived objects, just set properties when creating the objects via
29729         g_object_new.
29730         (gst_pad_get_parent): Implement as a function, return NULL if the
29731         parent is not an element.
29732         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29733         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29734         
29735         * gst/gstobject.c (gst_object_class_init): Make name a construct
29736         property. Don't set it in the object init.
29737
29738         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29739         with UNKNOWN direction.
29740         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29741         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29742         (gst_element_remove_pad): Remove ghost-pad special cases.
29743         (gst_element_pads_activate): Remove rpad cruft.
29744
29745         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29746         catch the pad's-parent-not-an-element case.
29747
29748         * gst/gst.h: Include gstghostpad.h.
29749
29750         * gst/gst.c (init_post): No more real, ghost pads.
29751
29752         * gst/Makefile.am: Add gstghostpad.[ch].
29753
29754         * check/Makefile.am:
29755         * check/gst/gstbin.c:
29756         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29757         into a bin creates ghost pads, and that the refcounts are right.
29758         Partly moved from gstbin.c.
29759
29760 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29761
29762         * check/gst-libs/.cvsignore:
29763         * check/gst/.cvsignore:
29764         * check/pipelines/.cvsignore:
29765           ignore more
29766         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29767         (START_TEST), (cleanup_suite), (main):
29768           add some tests related to cleanup after running pipelines
29769
29770 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29771
29772         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29773           add a testsuite for GstBuffer
29774
29775 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29776
29777         * gst/gstminiobject.h:
29778           add defines for accessing the refcount
29779
29780 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29781
29782         * Makefile.am: added support for html unit test coverage reports
29783
29784 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29785
29786         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29787           Free existing caps if the capsfilter changes. Add a FIXME about
29788           setting those caps on the pads.
29789
29790         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29791           Before adding a ghost pad to a parent bin, check that there isn't
29792           already one for the element on the bin. Prevents infinite recursion
29793           when using decodebin in parse pipelines. Andy says he'll rewrite the
29794           way this works anyway, so ignore the hack.
29795
29796 2005-06-02  Andy Wingo  <wingo@pobox.com>
29797
29798         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29799         file size, pass it on to the type find helper.
29800
29801         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29802         segment_start and segment_end properly according to the seek
29803         method. Segment_end is still a bit flaky because offset can be
29804         negative for CUR and END cases, but it takes -1 as an "unset"
29805         value.
29806
29807 2005-06-02  Wim Taymans  <wim@fluendo.com>
29808
29809         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29810         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29811         (gst_basesink_activate):
29812         * gst/base/gstbasesink.h:
29813         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29814         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29815         (gst_pad_query), (gst_pad_start_task):
29816         * gst/gstpad.h:
29817         * gst/gstqueue.c: (gst_queue_bufferalloc),
29818         (gst_queue_handle_sink_event), (gst_queue_chain):
29819         Bufferalloc: return GstFlowReturn to more accuratly report
29820         why allocation failed.
29821
29822 2005-06-02  Wim Taymans  <wim@fluendo.com>
29823
29824         * gst/gstpipeline.c: (gst_pipeline_send_event):
29825         Take snapshot of state without blocking.
29826
29827 2005-06-02  Wim Taymans  <wim@fluendo.com>
29828
29829         * docs/design/part-TODO.txt:
29830         * docs/design/part-caps.txt:
29831         * docs/design/part-clocks.txt:
29832         * docs/design/part-negotiation.txt:
29833         * docs/design/part-preroll.txt:
29834         Small doc updates 
29835
29836 2005-05-30  Wim Taymans  <wim@fluendo.com>
29837
29838         * gst/elements/gstidentity.c: (gst_identity_event),
29839         (gst_identity_transform), (gst_identity_get_property):
29840         Protect last_message property as it is accessed from
29841         multiple threads.
29842
29843 2005-05-30  Wim Taymans  <wim@fluendo.com>
29844
29845         * gst/gstelement.c: (gst_element_init),
29846         (gst_element_pads_activate), (gst_element_change_state):
29847         Slicker pad activation code.
29848
29849 2005-05-30  Wim Taymans  <wim@fluendo.com>
29850
29851         * gst/Makefile.am:
29852         * gst/gstelement.h:
29853         * gst/gstelementfactory.h:
29854         * gst/gsttypes.h:
29855         Move elementfactory methods to separate .h file.
29856
29857 2005-05-30  Wim Taymans  <wim@fluendo.com>
29858
29859         * docs/design/part-overview.txt:
29860         * gst/gstsystemclock.h:
29861         Small typo fixes, doc updates.
29862
29863 2005-05-30  Wim Taymans  <wim@fluendo.com>
29864
29865         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29866         (init_popt_callback):
29867         Remove cpu-opt flag.
29868
29869 2005-05-30  Wim Taymans  <wim@fluendo.com>
29870
29871         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29872         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29873         * gst/gstbuffer.h:
29874         Avoid typechecking in places where not needed.
29875         Added accessor for malloc_data.
29876
29877 2005-05-30  Wim Taymans  <wim@fluendo.com>
29878
29879         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29880         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29881         (gst_pad_configure_sink), (gst_pad_configure_src),
29882         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29883         (gst_pad_start_task):
29884         Propagate errors from _set_caps() in configure_src/sink
29885         functions instead of returning TRUE.
29886         FLUSH events can travel up and downstream
29887
29888
29889 2005-05-30  Wim Taymans  <wim@fluendo.com>
29890
29891         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29892         (gst_basesink_activate):
29893         Handle EOS in preroll.
29894
29895 2005-05-30  Wim Taymans  <wim@fluendo.com>
29896
29897         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29898         (gst_queue_loop), (gst_queue_handle_src_event):
29899         Remove old pieces of code
29900         Flushing the queue in an upstream event is a very bad idea.
29901
29902 2005-05-26  Andy Wingo  <wingo@pobox.com>
29903
29904         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29905         gst_value_set_mini_object so as to add a ref on the object (which
29906         will be removed when the value is unset).
29907
29908         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29909         arg type in ::handoff.
29910
29911         * gst/gstelement.c (gst_element_change_state): Also deactivate
29912         pads in READY->NULL, just in case the element didn't make it to
29913         PAUSED. Wingo tested, Wim approved.
29914
29915 2005-05-26  Wim Taymans  <wim@fluendo.com>
29916
29917         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29918         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29919         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29920         A flushing pad cannot be used to alloc_buffer from.
29921
29922 2005-05-26  Wim Taymans  <wim@fluendo.com>
29923
29924         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29925         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29926         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29927         (gst_bus_create_watch), (gst_bus_add_watch_full):
29928         * gst/gstbus.h:
29929         Implement a real GSource and use g_main_context_wakeup() to
29930         signal new messages instead of the socketpair.
29931
29932 2005-05-25  Wim Taymans  <wim@fluendo.com>
29933
29934         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29935         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29937         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29938         (gst_pad_send_event), (gst_pad_start_task):
29939         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
29940         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
29941         (gst_queue_sink_activate), (gst_queue_src_activate),
29942         (gst_queue_change_state):
29943         * gst/gstqueue.h:
29944         Fix state changes for non sinks. We now change sinks, then elements
29945         with unconnected srcpads, then the rest.
29946         More efficient queue unlocking in flush and state changes.
29947         Set the pad activate mode even if it does not have an activate
29948         function.
29949
29950 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29951
29952         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
29953           Don't go in pull mode for non-seekable sources.
29954         * gst/elements/gsttypefindelement.h:
29955         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29956         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
29957         (free_entry), (stop_typefinding),
29958         (gst_type_find_element_handle_event), (find_peek),
29959         (gst_type_find_element_chain), (do_pull_typefind),
29960         (gst_type_find_element_change_state):
29961           Allow typefinding (w/o seeking) in push-mode, simplified version
29962           of what was in 0.8.
29963         * gst/gstutils.c: (gst_buffer_join):
29964         * gst/gstutils.h:
29965           gst_buffer_join() from 0.8.
29966
29967 2005-05-25  Wim Taymans  <wim@fluendo.com>
29968
29969         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29970         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
29971         (gst_pad_send_event), (gst_pad_start_task):
29972         Disable attempt at mode switching until it is figured out.
29973
29974 2005-05-25  Wim Taymans  <wim@fluendo.com>
29975
29976         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
29977         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29978         (gst_basesink_finish_preroll), (gst_basesink_chain),
29979         (gst_basesink_loop), (gst_basesink_activate),
29980         (gst_basesink_change_state):
29981         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
29982         (gst_basesrc_get_range), (gst_basesrc_loop),
29983         (gst_basesrc_activate):
29984         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29985         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29986         (gst_real_pad_init), (gst_real_pad_set_property),
29987         (gst_real_pad_get_property), (gst_pad_set_active),
29988         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
29989         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
29990         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
29991         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
29992         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29993         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
29994         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
29995         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29996         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
29997         (gst_pad_stop_task):
29998         * gst/gstpad.h:
29999         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30000         (gst_queue_loop), (gst_queue_src_activate):
30001         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30002         (gst_task_get_state):
30003         * gst/gsttask.h:
30004         * gst/schedulers/threadscheduler.c:
30005         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30006         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30007         in task function.
30008         Remove ACTIVE pad flag, use FLUSHING everywhere
30009         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30010         functions.
30011         Add locks around IS_FLUSHING when reading.
30012         Take STREAM lock in chain(), get_range() functions so plugins
30013         don't need to take it anymore.
30014         
30015
30016
30017 2005-05-25  Wim Taymans  <wim@fluendo.com>
30018
30019         * tools/gst-launch.c: (event_loop):
30020         Unref message after using its contents instead of
30021         before.
30022
30023 2005-05-24  Wim Taymans  <wim@fluendo.com>
30024
30025         * docs/design/draft-ghostpads.txt:
30026         * docs/design/draft-push-pull.txt:
30027         * docs/design/draft-query.txt:
30028         * docs/design/part-overview.txt:
30029         Docs updates, added general overview doc.
30030
30031 2005-05-21  David Schleef  <ds@schleef.org>
30032
30033         * docs/gst/tmpl/old/GstBin.sgml:
30034         * docs/gst/tmpl/old/GstBuffer.sgml:
30035         * docs/gst/tmpl/old/GstCaps.sgml:
30036         * docs/gst/tmpl/old/GstClock.sgml:
30037         * docs/gst/tmpl/old/GstCompat.sgml:
30038         * docs/gst/tmpl/old/GstData.sgml:
30039         * docs/gst/tmpl/old/GstElement.sgml:
30040         * docs/gst/tmpl/old/GstEvent.sgml:
30041         * docs/gst/tmpl/old/GstIndex.sgml:
30042         * docs/gst/tmpl/old/GstStructure.sgml:
30043         * docs/gst/tmpl/old/GstTag.sgml:
30044         * docs/gst/tmpl/old/cothreads.sgml:
30045         * docs/gst/tmpl/old/cothreads_compat.sgml:
30046         * docs/gst/tmpl/old/gettext.sgml:
30047         * docs/gst/tmpl/old/gobject2gtk.sgml:
30048         * docs/gst/tmpl/old/grammar.tab.sgml:
30049         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30050         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30051         * docs/gst/tmpl/old/gst_private.sgml:
30052         * docs/gst/tmpl/old/gstaggregator.sgml:
30053         * docs/gst/tmpl/old/gstarch.sgml:
30054         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30055         * docs/gst/tmpl/old/gstbufferstore.sgml:
30056         * docs/gst/tmpl/old/gstdata_private.sgml:
30057         * docs/gst/tmpl/old/gstdisksink.sgml:
30058         * docs/gst/tmpl/old/gstdisksrc.sgml:
30059         * docs/gst/tmpl/old/gstelementfactory.sgml:
30060         * docs/gst/tmpl/old/gstextratypes.sgml:
30061         * docs/gst/tmpl/old/gstfakesink.sgml:
30062         * docs/gst/tmpl/old/gstfakesrc.sgml:
30063         * docs/gst/tmpl/old/gstfdsink.sgml:
30064         * docs/gst/tmpl/old/gstfdsrc.sgml:
30065         * docs/gst/tmpl/old/gstfilesink.sgml:
30066         * docs/gst/tmpl/old/gstfilesrc.sgml:
30067         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30068         * docs/gst/tmpl/old/gstidentity.sgml:
30069         * docs/gst/tmpl/old/gstindexfactory.sgml:
30070         * docs/gst/tmpl/old/gstmarshal.sgml:
30071         * docs/gst/tmpl/old/gstmd5sink.sgml:
30072         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30073         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30074         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30075         * docs/gst/tmpl/old/gstpipefilter.sgml:
30076         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30077         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30078         * docs/gst/tmpl/old/gstshaper.sgml:
30079         * docs/gst/tmpl/old/gstspider.sgml:
30080         * docs/gst/tmpl/old/gstspideridentity.sgml:
30081         * docs/gst/tmpl/old/gststatistics.sgml:
30082         * docs/gst/tmpl/old/gsttee.sgml:
30083         * docs/gst/tmpl/old/gsttimecache.sgml:
30084         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30085         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30086         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30087         * docs/gst/tmpl/old/types.sgml:
30088           I didn't intend to add these or check them in.
30089
30090 2005-05-19  David Schleef  <ds@schleef.org>
30091
30092         * configure.ac: Use -no-common everywhere.  In a sane world, it
30093           would be the default in libtool, because without it, you can't
30094           build DLLs on Windows.
30095         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30096         * docs/gst/gstreamer-sections.txt:
30097         * docs/gst/tmpl/gstcpu.sgml:
30098         * docs/gst/tmpl/gstdata.sgml:
30099         * docs/gst/tmpl/gstthread.sgml:
30100
30101 2005-05-19  David Schleef  <ds@schleef.org>
30102
30103         * gst/gstminiobject.c: (gst_value_set_mini_object),
30104         (gst_value_take_mini_object), (gst_value_get_mini_object):
30105         * gst/gstminiobject.h: Add GValue set/get functions.
30106
30107 2005-05-19  Wim Taymans  <wim@fluendo.com>
30108
30109         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30110         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30111         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30112         * gst/gstbuffer.h:
30113         * gst/gstbus.c: (gst_bus_post):
30114         * gst/gstelement.c: (gst_element_get_random_pad):
30115         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30116         Make subbufer unref the parent in finalize.
30117         some more debugging info.
30118
30119
30120 2005-05-19  Wim Taymans  <wim@fluendo.com>
30121
30122         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30123         (gst_basesink_init), (gst_basesink_finalize),
30124         (gst_basesink_activate), (gst_basesink_change_state):
30125         Don't free preroll queue too early.
30126
30127 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30128
30129         * gst/Makefile.am:
30130         * gst/ROADMAP:
30131           Hi, I'm outdated. Please shoot me.
30132
30133 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30134
30135         * gst/gstpipeline.c: (gst_pipeline_send_event):
30136           Do not access variables after they have been deleted.
30137
30138 2005-05-19  Wim Taymans  <wim@fluendo.com>
30139
30140         * tools/gst-inspect.c: (print_plugin_features):
30141         A plugin feature does unfortunatly not use the
30142         object name yet...
30143
30144 2005-05-18  Wim Taymans  <wim@fluendo.com>
30145
30146         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30147         Port _span() functions to new subbuffers.
30148
30149 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30150
30151         * gst/gstbin.c: (gst_bin_add_func):
30152           Fix clock settery in bins when adding kids after the clock has
30153           been selected.
30154
30155 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30156
30157         * gst/elements/gstidentity.c: (gst_identity_class_init):
30158           Workaround until signals support GstMiniObject.
30159
30160 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30161
30162         * gst/gstbuffer.c:
30163         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30164
30165 2005-05-18  Wim Taymans  <wim@fluendo.com>
30166
30167         * gst/base/Makefile.am:
30168         * gst/base/gstadapter.c: (gst_adapter_base_init),
30169         (gst_adapter_class_init), (gst_adapter_init),
30170         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30171         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30172         (gst_adapter_flush), (gst_adapter_available),
30173         (gst_adapter_available_fast):
30174         * gst/base/gstadapter.h:
30175         Ported and added adapter to the base classes.
30176
30177 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30178
30179         * gst/gst.c:
30180         * gst/gstmessage.c:
30181           Make sure the class is reffed/unreffed once before threads can be
30182           used.  Fixes #304551.
30183
30184 2005-05-17  Wim Taymans  <wim@fluendo.com>
30185
30186         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30187         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30188         * gst/gstminiobject.c: (gst_mini_object_get_type),
30189         (gst_mini_object_free):
30190         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30191         (gst_pad_push), (gst_pad_push_event):
30192         * gst/gstqueue.c: (gst_queue_change_state):
30193         Don't queue buffers in basesink when we are flushing.
30194         Unref buffer when flushing in basesink.
30195         Flush queue when going to READY
30196         Unref buffer when _push() returns an error.
30197         Don't free MiniObject instance when refcount is incremented
30198         in _finalize() so that we can recover objects.
30199
30200 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30201
30202         * docs/manual/advanced-schedulers.xml:
30203         * docs/manual/appendix-checklist.xml:
30204         * docs/pwg/advanced-clock.xml:
30205         * docs/pwg/advanced-interfaces.xml:
30206         * docs/pwg/advanced-request.xml:
30207         * docs/pwg/advanced-types.xml:
30208         * docs/pwg/intro-preface.xml:
30209         * examples/plugins/example.c: (gst_example_get_type),
30210         (gst_example_class_init), (gst_example_chain),
30211         (gst_example_set_property), (gst_example_get_property),
30212         (gst_example_change_state), (plugin_init):
30213         * examples/plugins/example.h:
30214           small doc fixes
30215
30216 2005-05-17  Wim Taymans  <wim@fluendo.com>
30217
30218         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30219         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30220         * gst/gstqueue.c: (gst_queue_change_state):
30221         Clear queue when going to READY.
30222         Remove IN_SETCAPS flag too.
30223
30224 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30225
30226         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30227           Remove implicit cast from gboolean to GstElementStateReturn;
30228           make sure we still return failure in paused => ready case if
30229           the parent class fails to change state and our own stop 
30230           vfunc succeeds.
30231
30232 2005-05-17  Wim Taymans  <wim@fluendo.com>
30233
30234         * tools/gst-launch.c: (event_loop):
30235         Message was unreffed too soon.
30236
30237 2005-05-16  Andy Wingo  <wingo@pobox.com>
30238
30239         * gst/gstbin.c (sink_iterator_filter): Err... um...
30240
30241         * check/gst/gstbin.c (test_ghost_pads): New test for the
30242         ghosting-if-elements-not-in-same-bin behavior.
30243
30244 2005-05-16  David Schleef  <ds@schleef.org>
30245
30246         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30247         accessing refcount directly.
30248
30249 2005-05-15  David Schleef  <ds@schleef.org>
30250
30251         * check/Makefile.am: remove GstData checks
30252         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30253         * gst/Makefile.am: add miniobject, remove data
30254         * gst/gst.h: add miniobject, remove data
30255         * gst/gstdata.c: remove
30256         * gst/gstdata.h: remove
30257         * gst/gstdata_private.h: remove
30258         * gst/gsttypes.h: remove GstEvent and GstMessage
30259         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30260         * gst/gstmarshal.list: change BOXED -> OBJECT
30261
30262         Implement GstMiniObject.
30263         * gst/gstminiobject.c:
30264         * gst/gstminiobject.h:
30265
30266         Modify to be subclasses of GstMiniObject.
30267         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30268         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30269         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30270         (gst_subbuffer_get_type), (gst_subbuffer_init),
30271         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30272         (gst_buffer_span):
30273         * gst/gstbuffer.h:
30274         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30275         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30276         (_gst_event_copy), (gst_event_new):
30277         * gst/gstevent.h:
30278         * gst/gstmessage.c: (_gst_message_initialize),
30279         (gst_message_get_type), (gst_message_class_init),
30280         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30281         (gst_message_new), (gst_message_new_error),
30282         (gst_message_new_warning), (gst_message_new_tag),
30283         (gst_message_new_state_changed), (gst_message_new_application):
30284         * gst/gstmessage.h:
30285         * gst/gstprobe.c: (gst_probe_perform),
30286         (gst_probe_dispatcher_dispatch):
30287         * gst/gstprobe.h:
30288         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30289         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30290         (_gst_query_copy), (gst_query_new):
30291
30292         Update elements for GstData -> GstMiniObject changes
30293         * gst/gstquery.h:
30294         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30295         (gst_queue_chain), (gst_queue_loop):
30296         * gst/elements/gstbufferstore.c:
30297         (gst_buffer_store_add_buffer_func),
30298         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30299         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30300         (gst_fakesink_render):
30301         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30302         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30303         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30304         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30305         (gst_filesrc_create_read):
30306         * gst/elements/gstidentity.c: (gst_identity_class_init):
30307         * gst/elements/gsttypefindelement.c:
30308         (gst_type_find_element_src_event), (free_entry_buffers),
30309         (gst_type_find_element_handle_event):
30310         * libs/gst/dataprotocol/dataprotocol.c:
30311         (gst_dp_header_from_buffer):
30312         * libs/gst/dataprotocol/dataprotocol.h:
30313         * libs/gst/dataprotocol/dp-private.h:
30314
30315 2005-05-15  David Schleef  <ds@schleef.org>
30316
30317         * gst/elements/gstelements.c: Don't include headers that were
30318         just removed.
30319
30320 2005-05-15  David Schleef  <ds@schleef.org>
30321
30322         * gst/elements/Makefile.am: Remove some elements that don't
30323         need to be in the core (or even exist at all).
30324         * gst/elements/gstaggregator.c:
30325         * gst/elements/gstaggregator.h:
30326         * gst/elements/gstmd5sink.c:
30327         * gst/elements/gstmd5sink.h:
30328         * gst/elements/gstmultifilesrc.c:
30329         * gst/elements/gstmultifilesrc.h:
30330         * gst/elements/gstpipefilter.c:
30331         * gst/elements/gstpipefilter.h:
30332         * gst/elements/gstshaper.c:
30333         * gst/elements/gstshaper.h:
30334         * gst/elements/gststatistics.c:
30335         * gst/elements/gststatistics.h:
30336         * po/POTFILES.in: Remove above files.
30337
30338 2005-05-14  Andy Wingo  <wingo@pobox.com>
30339
30340         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30341         so as to get the refs right.
30342         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30343         unreffing objects that don't pass the filter.
30344
30345         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30346         gst_element_set_bus.
30347         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30348         normal cases, this will destroy the bus.
30349
30350         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30351         object.
30352
30353         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30354         has no sinks.
30355
30356 2005-05-13  Andy Wingo  <wingo@pobox.com>
30357
30358         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30359         gst_pad_link, call pad_link_maybe_ghosting,
30360         (pad_link_maybe_ghosting): Links pads, making sure that the
30361         elements being linked are in the same bin.
30362         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30363         Helpers for pad_link_maybe_ghosting.
30364
30365 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30366
30367         * configure.ac:
30368           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30369
30370 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30371
30372         * docs/design/part-element-source.txt:
30373           Mention GstPushSrc
30374
30375 2005-05-12  Wim Taymans  <wim@fluendo.com>
30376
30377         * gst/base/gstbasesink.c: (gst_basesink_init),
30378         (gst_basesink_activate):
30379         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30380         (gst_basesrc_is_seekable):
30381         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30382         (bin_element_is_sink), (gst_bin_change_state):
30383         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30384         * gst/gstelement.h:
30385         Identify sinks by their flag to avoid overly complicated
30386         checks (fow now).
30387         Do state changes even for elements not reachable from the
30388         sinks.
30389         BaseSink is a sink now :)
30390         Some more debugging info in the basesrc.
30391
30392
30393 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30394
30395         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30396           Implement _query on a bin, similar to _send_event.
30397
30398 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30399
30400         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30401           Discont event offset format should be GST_FORMAT_BYTES,
30402           not GST_FORMAT_TIME.
30403
30404 2005-05-12  Wim Taymans  <wim@fluendo.com>
30405
30406         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30407         Same fix as Ronald's but without the signal. 
30408
30409 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30410
30411         * gst/gstutils.c: (gst_element_query_position):
30412           No, an element is not a pad.
30413
30414 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30415
30416         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30417         (gst_bin_get_state):
30418           If a child is removed from a bin while we remove the child from
30419           the bin and while we're retrieving its state, signal this to the
30420           get_state function so we abort the wait (instead of waiting for
30421           a timeout) and can immediately re-iterate over all other elements.
30422
30423 2005-05-12  Wim Taymans  <wim@fluendo.com>
30424
30425         * gst/base/Makefile.am:
30426         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30427         (gst_basesrc_start):
30428         * gst/base/gstbasesrc.h:
30429         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30430         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30431         (gst_pushsrc_init), (gst_pushsrc_create):
30432         * gst/base/gstpushsrc.h:
30433         Added is_seekable to BaseSrc
30434         Added simple PushSrc.
30435
30436 2005-05-11  Wim Taymans  <wim@fluendo.com>
30437
30438         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30439         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30440         (gst_element_link_pads), (gst_element_query_position),
30441         (gst_element_query_convert), (intersect_caps_func),
30442         (gst_pad_query_position), (gst_pad_query_convert):
30443         Fix refcounting in utils function.
30444         No point in trying to activate a pad when it's added, it could
30445         be added from the state change function and then we deadlock, the
30446         element has to decide what to do.
30447
30448 2005-05-10  Andy Wingo  <wingo@pobox.com>
30449
30450         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30451         *all* the arguments.
30452
30453         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30454         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30455         lock (according to the docs -- if this is wrong change the docs).
30456
30457         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30458         flush messages in the NULL state.
30459
30460         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30461         message immediately and return.
30462         (gst_bus_set_flushing): New function. If a bus is flushing, it
30463         flushes out any queued messages and immediately unrefs new
30464         messages. This is so when an element goes to NULL, all of the
30465         unhandled messages coming from it can be freed, and their
30466         references to the element dropped. In other words: message source
30467         ref considered harmful :P
30468
30469         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30470         we're finished with it.
30471
30472         * gst/gstmessage.c (gst_message_new_state_changed): 
30473
30474 2005-05-10  Wim Taymans  <wim@fluendo.com>
30475
30476         * gst/gstvalue.c: (gst_value_compare_flags),
30477         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30478         (_gst_value_initialize):
30479         Added flags serialize/deserialize/compare code.
30480
30481 2005-05-09  Andy Wingo  <wingo@pobox.com>
30482
30483         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30484         Intersect the peer's caps with our caps.
30485
30486 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30487
30488         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30489         * gst/elements/gsttypefindelement.c: (find_peek):
30490           Handle negative offsets better. Fixes decodebin.
30491
30492 2005-05-09  Wim Taymans  <wim@fluendo.com>
30493
30494         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30495         (gst_base_transform_event):
30496         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30497         Implement accept_caps.
30498         Fix silly lock/unlock mismatch in base class.
30499
30500 2005-05-09  Wim Taymans  <wim@fluendo.com>
30501
30502         * docs/design/draft-push-pull.txt:
30503         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30504         * gst/elements/gstfilesink.c: (gst_filesink_init),
30505         (gst_filesink_query):
30506         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30507         (gst_type_find_handle_src_query), (find_element_get_length):
30508         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30509         * gst/gstelement.h:
30510         * gst/gstmessage.c:
30511         * gst/gstmessage.h:
30512         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30513         (gst_real_pad_get_caps_unlocked),
30514         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30515         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30516         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30517         (gst_real_pad_dispose), (gst_real_pad_finalize),
30518         (gst_pad_load_and_link), (gst_pad_save_thyself),
30519         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30520         (gst_pad_check_pull_range), (gst_pad_pull_range),
30521         (gst_pad_template_get_type), (gst_pad_template_class_init),
30522         (gst_pad_template_init), (gst_pad_template_dispose),
30523         (name_is_valid), (gst_static_pad_template_get),
30524         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30525         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30526         (gst_pad_get_element_private), (gst_pad_start_task),
30527         (gst_pad_pause_task), (gst_pad_stop_task),
30528         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30529         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30530         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30531         (gst_ghost_pad_new):
30532         * gst/gstpad.h:
30533         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30534         (gst_query_new_position), (gst_query_set_position),
30535         (gst_query_parse_position), (gst_query_new_convert),
30536         (gst_query_set_convert), (gst_query_parse_convert):
30537         * gst/gstquery.h:
30538         * gst/gstqueryutils.c:
30539         * gst/gstqueryutils.h:
30540         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30541         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30542         (gst_queue_handle_src_query):
30543         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30544         (gst_element_query_position), (gst_element_query_convert),
30545         (intersect_caps_func), (gst_pad_query_position),
30546         (gst_pad_query_convert):
30547         * gst/gstutils.h:
30548         * tools/gst-inspect.c: (print_pad_info):
30549         * tools/gst-xmlinspect.c: (print_element_info):
30550         Remove old query functions. Ported old code.
30551         Added position/convert helper functions to gstutils.
30552         Reordered gstpad.c code, grouping relevant things.
30553         Remove gst_message_new(), always need to speficy a specific
30554         message.
30555
30556
30557 2005-05-09  Andy Wingo  <wingo@pobox.com>
30558
30559         * gst/gstiterator.h: Add some includes.
30560
30561         * gst/gstqueryutils.h: Include more headers.
30562
30563         * gst/gstpad.h:
30564         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30565         some uses of gst_pad_query.
30566
30567         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30568         NULL out parameters.
30569         (gst_query_new_position): New proc, allocates a new position
30570         query.
30571
30572         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30573         gstqueryutils.c to the build.
30574
30575         * gst/gststructure.c (gst_structure_set_valist): Implement with
30576         the generic G_VALUE_COLLECT.
30577         
30578 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30579
30580         * gst/Makefile.am: (gst_headers):
30581         Added gstqueryutils.h to the list of headers to install, that was
30582         a 'nachty' move wingo :)
30583
30584 2005-05-06  Andy Wingo  <wingo@pobox.com>
30585
30586         * gst/gstquery.h
30587         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30588         GstData, init a memchunk.
30589         (standard_definitions): Add a few query types, deprecate a few.
30590         (gst_query_get_type): New proc.
30591         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30592         implementation.
30593         (gst_query_new_application, gst_query_get_structure): New public
30594         procs.
30595
30596         * docs/design/draft-query.txt: Removed LINKS from the query types,
30597         because all the rest can be dispatched to other pads -- seemed
30598         ugly to have a query that couldn't be dispatched. internal_links
30599         is fine as a pad method.
30600
30601         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30602         in gstpad.c, but maintain binary compatibility for the moment.
30603         Will fix before 0.9 is out.
30604
30605         * gst/gstqueryutils.c: 
30606         * gst/gstqueryutils.h: New files, implement 3 methods for each
30607         query type: parse_query, parse_response, and set. Probably need an
30608         allocator as well.
30609
30610         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30611
30612         * gst/elements/gstfilesink.c (gst_filesink_query2):
30613         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30614         query_types, and formats methods.
30615
30616         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30617         (gst_pad_set_query2_function): New functions.
30618         (gst_real_pad_init): Set query2_default as the default query2
30619         function. Basically just dispatches to internally linked pads.
30620
30621         Needs review!
30622         
30623         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30624         without using the atomic operations. Only one thread can possibly
30625         be accessing the data at this point. Changed so as to avoid
30626         gst_atomic operations.
30627
30628 2005-05-06  Wim Taymans  <wim@fluendo.com>
30629
30630         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30631         Also set caps if we use the fallback buffer alloc.
30632
30633 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30634
30635         * docs/gst/Makefile.am:
30636         * docs/gst/gstreamer-docs.sgml:
30637         * docs/gst/gstreamer-sections.txt:
30638         * docs/gst/tmpl/gstatomic.sgml:
30639         * docs/gst/tmpl/gstmemchunk.sgml:
30640         * testsuite/elements/struct_i386.h:
30641         * win32/GStreamer.vcproj:
30642         * win32/Makefile:
30643           Purge GstAtomic stuff from docs and win32 makefiles as well
30644
30645 2005-05-06  Wim Taymans  <wim@fluendo.com>
30646
30647         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30648         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30649         * gst/gstpad.c: (gst_pad_peer_get_caps):
30650         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30651         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30652         (gst_queue_src_activate), (gst_queue_change_state):
30653         * gst/gstqueue.h:
30654         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30655         (intersect_caps_func):
30656         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30657         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30658         Some fixes for the peer_get_caps() change.
30659
30660 2005-05-06  Wim Taymans  <wim@fluendo.com>
30661
30662         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30663         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30664         (gst_basesink_activate):
30665         Actually do something with error codes returned from the push
30666         functions.
30667
30668 2005-05-06  Wim Taymans  <wim@fluendo.com>
30669
30670         * docs/design/part-element-sink.txt:
30671         * docs/design/part-element-source.txt:
30672         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30673         (gst_basesink_event), (gst_basesink_activate):
30674         * gst/base/gstbasesink.h:
30675         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30676         (gst_basesrc_activate):
30677         * gst/base/gstbasesrc.h:
30678         * gst/gstelement.c: (gst_element_pads_activate):
30679         Some more documentation.
30680         Fixed scheduling decision in _pads_activate().
30681
30682 2005-05-05  Andy Wingo  <wingo@pobox.com>
30683
30684         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30685         the test suite.
30686
30687 2005-05-05  Wim Taymans  <wim@fluendo.com>
30688
30689         * gst/base/Makefile.am:
30690         * gst/base/gstbasesink.h:
30691         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30692         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30693         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30694         (gst_collectpads_class_init), (gst_collectpads_init),
30695         (gst_collectpads_finalize), (gst_collectpads_new),
30696         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30697         (find_pad), (gst_collectpads_remove_pad),
30698         (gst_collectpads_is_active), (gst_collectpads_collect),
30699         (gst_collectpads_collect_range), (gst_collectpads_start),
30700         (gst_collectpads_stop), (gst_collectpads_peek),
30701         (gst_collectpads_pop), (gst_collectpads_available),
30702         (gst_collectpads_read), (gst_collectpads_flush),
30703         (gst_collectpads_chain):
30704         * gst/base/gstcollectpads.h:
30705         * gst/elements/Makefile.am:
30706         * gst/elements/gstelements.c:
30707         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30708         (gst_fakesink_get_times), (gst_fakesink_event),
30709         (gst_fakesink_preroll), (gst_fakesink_render):
30710         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30711         (gst_filesink_init), (gst_filesink_set_location),
30712         (gst_filesink_open_file), (gst_filesink_close_file),
30713         (gst_filesink_pad_query), (gst_filesink_event),
30714         (gst_filesink_render), (gst_filesink_change_state):
30715         * gst/elements/gstfilesink.h:
30716         Added object to help in making collect pad based elements.
30717         Ported filesink.
30718         Make event function in sink baseclass return gboolean.
30719
30720 2005-05-05  Wim Taymans  <wim@fluendo.com>
30721
30722         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30723         (gst_bin_get_by_name):
30724         * gst/gstbuffer.h:
30725         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30726         (gst_clock_finalize):
30727         * gst/gstdata.c: (gst_data_replace):
30728         * gst/gstdata.h:
30729         * gst/gstelement.c: (gst_element_request_pad),
30730         (gst_element_pads_activate):
30731         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30732         (gst_object_unref):
30733         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30734         (gst_pad_set_checkgetrange_function),
30735         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30736         (gst_pad_check_pull_range), (gst_pad_pull_range),
30737         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30738         (gst_pad_pause_task), (gst_pad_stop_task):
30739         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30740         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30741         Fix name lookup in GstBin.
30742         Added _data_replace() function and _buffer_replace()
30743         Use finalize method to clean up clock.
30744         Fix refcounting on request pads.
30745         Fix pad schedule mode error.
30746         Some more object refcounting debug info,
30747
30748
30749 2005-05-04  Andy Wingo <wingo@pobox.com>
30750
30751         * check/Makefile.am:
30752         * docs/gst/tmpl/gstatomic.sgml:
30753         * docs/gst/tmpl/gstplugin.sgml:
30754         * gst/base/gstbasesink.c: (gst_basesink_activate):
30755         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30756         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30757         (gst_basesrc_query), (gst_basesrc_set_property),
30758         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30759         (gst_basesrc_activate):
30760         * gst/base/gstbasesrc.h:
30761         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30762         (gst_base_transform_src_activate):
30763         * gst/elements/gstelements.c:
30764         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30765         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30766         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30767         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30768         (gst_type_find_element_checkgetrange),
30769         (gst_type_find_element_activate):
30770         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30771         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30772         (gst_caps_load_thyself):
30773         * gst/gstelement.c: (gst_element_pads_activate),
30774         (gst_element_save_thyself), (gst_element_restore_thyself):
30775         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30776         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30777         * gst/gstpad.h:
30778         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30779         (gst_xml_parse_file), (gst_xml_parse_memory),
30780         (gst_xml_get_element), (gst_xml_make_element):
30781         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30782         (_file_index_id_save_xml), (gst_file_index_commit):
30783         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30784         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30785         (load_paths):
30786         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30787         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30788         * tools/gst-complete.c: (main):
30789         * tools/gst-compprep.c: (main):
30790         * tools/gst-inspect.c: (print_element_properties_info):
30791         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30792         * tools/gst-xmlinspect.c: (print_element_properties):
30793         GCC 4 fixen.
30794         
30795 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30796
30797         * gst/gstplugin.c: (gst_plugin_check_module),
30798         (gst_plugin_check_file), (gst_plugin_load_file):
30799             apply patch from #172526 to make register work on MacOSX
30800
30801 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30802
30803         * docs/gst/tmpl/gstconfig.sgml:
30804         * gst/gstconfig.h.in:
30805           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30806         * testsuite/debug/printf_extension.c: (main):
30807           Do not use GST_PTR_FORMAT on pointers to types with
30808           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30809         * testsuite/elements/property.h:
30810           use correct printf format
30811
30812 2005-05-02  Wim Taymans  <wim@fluendo.com>
30813
30814         * docs/design/draft-push-pull.txt:
30815         * docs/design/draft-query.txt:
30816         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30817         (gst_basesrc_start):
30818         Added draft for new query API.
30819         Added draft for better selecting scheduling methods.
30820         Make basesrc ignore length if the subclass does not support
30821         it.
30822
30823 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30824
30825         * gst/Makefile.am:
30826           possible fixes for automake-1.5 - _LIBADD is reserved
30827
30828 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30829
30830         * docs/faq/Makefile.am:
30831         * docs/manual/Makefile.am:
30832         * docs/manuals.mak:
30833         * docs/pwg/Makefile.am:
30834         * gst/Makefile.am:
30835           possible fixes for automake-1.5
30836
30837 2005-04-28  Wim Taymans  <wim@fluendo.com>
30838
30839         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30840         (gst_basesink_pad_getcaps), (gst_basesink_init),
30841         (gst_basesink_do_sync):
30842         * gst/gstclock.c: (gst_clock_entry_new):
30843         * gst/gstevent.c: (gst_event_discont_get_value):
30844         * gst/gstpipeline.c: (pipeline_bus_handler),
30845         (gst_pipeline_change_state):
30846         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30847         Better debugging of clocking info.
30848         Allow NULL values when getting discont values.
30849
30850 2005-04-27  Wim Taymans  <wim@fluendo.com>
30851
30852         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30853         * check/gst/gstpad.c: (gst_pad_suite):
30854         Increase timeout for checks.
30855
30856 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30857
30858         * check/Makefile.am:
30859           fix the broken rule for cleanup.  Apparently this rule is
30860           only needed on FC2, so maybe this warrants further autotool
30861           inspection.
30862
30863 2005-04-26  Wim Taymans  <wim@fluendo.com>
30864
30865         * gst/gsttrashstack.h:
30866         Ooohh. a nasty one! After having a failed pop() from the stack,
30867         it's possible that the stack is empty. In that case, don't
30868         follow the NULL pointer.
30869
30870 2005-04-25  Wim Taymans  <wim@fluendo.com>
30871
30872         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30873         (gst_pad_set_checkgetrange_function),
30874         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30875         (gst_pad_check_pull_range), (gst_pad_pull_range),
30876         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30877         (gst_pad_pause_task), (gst_pad_stop_task):
30878         * gst/gstplugin.c: (gst_plugin_load):
30879         * gst/gstplugin.h:
30880         Remove gst_library_load as it does more harm than good with
30881         the new g_module flags.
30882         Revert bogus caps template check in pad linking, pad caps
30883         are important when linking not the template, which is more
30884         general than the current caps.
30885
30886 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30887
30888         * gst/autoplug/.cvsignore:
30889         * gst/autoplug/Makefile.am:
30890         * gst/autoplug/gstsearchfuncs.c:
30891         * gst/autoplug/gstsearchfuncs.h:
30892         * gst/autoplug/gstspider.c:
30893         * gst/autoplug/gstspider.h:
30894         * gst/autoplug/gstspideridentity.c:
30895         * gst/autoplug/gstspideridentity.h:
30896         * gst/autoplug/spidertest.c:
30897           Die, spider, die.
30898
30899 2005-04-25  Wim Taymans  <wim@fluendo.com>
30900
30901         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30902         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30903         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30904         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30905         * gst/gstpad.h:
30906         Added stubs for unimplemented functions. 
30907
30908 2005-04-24  David Schleef  <ds@schleef.org>
30909
30910         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30911         please fix.
30912
30913 2005-04-24  David Schleef  <ds@schleef.org>
30914
30915         Convert everything from GstAtomicInt to g_atomic_int_*, and
30916         remove gstatomic.
30917         * gst/Makefile.am:
30918         * gst/gstatomic.c:
30919         * gst/gstatomic.h:
30920         * gst/gstatomic_impl.h:
30921         * gst/gstbuffer.c:
30922         * gst/gstcaps.c:
30923         * gst/gstcaps.h:
30924         * gst/gstclock.c:
30925         * gst/gstclock.h:
30926         * gst/gstdata.c:
30927         * gst/gstdata.h:
30928         * gst/gstdata_private.h:
30929         * gst/gstevent.c:
30930         * gst/gstinfo.c:
30931         * gst/gstinfo.h:
30932         * gst/gstmessage.c:
30933         * gst/gstobject.c:
30934         * gst/gstobject.h:
30935         * gst/gststructure.c:
30936         * gst/gststructure.h:
30937         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
30938         * gst/gstutils.h:
30939
30940 2005-04-24  David Schleef  <ds@schleef.org>
30941
30942         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
30943         make the regressions tests work.  Remove some code that is no
30944         longer true.
30945         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
30946         Disable warning for pads without templates.
30947
30948 2005-04-24  David Schleef  <ds@schleef.org>
30949
30950         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
30951         functions that handle filtered links.
30952         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
30953         removed functions.
30954         * gst/gstutils.c: Fix/remove utility functions that handle
30955         filtered caps.
30956         * gst/gstutils.h:
30957         * gst/gstvalue.c: Add serialization/deserialization of caps
30958         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
30959         requires fixing so that the filter caps notation creates
30960         a capsfilter element and sets the filter_caps property.  I
30961         think everyone probably wants to keep the shorthand notation.
30962         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
30963         * docs/gst/tmpl/gstpad.sgml:
30964
30965         * gst/elements/gstelements.c: Register capsfilter element.
30966         * gst/Makefile.am: fix spacing
30967         * docs/random/ds/0.9-suggested-changes: random
30968
30969 2005-04-23  David Schleef  <ds@schleef.org>
30970
30971         * gst/elements/Makefile.am:
30972         * gst/elements/gstcapsfilter.c: New element that acts like an
30973         identity, but filters caps.  Will eventually replace filtered
30974         caps in pad linking.
30975         * gst/gstutils.c: (gst_element_create_all_pads): New function
30976         to create all the ALWAYS pads that are registered with an
30977         element class.  This functionality should eventually be
30978         merged in with GstElement initialization.
30979         * gst/gstutils.h:
30980         * testsuite/trigger/README: part of trigger test code that should
30981         have been checked in a long time ago.
30982
30983 2005-04-23  David Schleef  <ds@schleef.org>
30984
30985         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
30986         needed with new versions of libtool (nobody will confirm this),
30987         and hard to carry around.
30988         * gst/autoplug/Makefile.am:
30989         * gst/base/Makefile.am:
30990         * gst/elements/Makefile.am:
30991         * gst/indexers/Makefile.am:
30992         * gst/schedulers/Makefile.am:
30993         * libs/gst/bytestream/Makefile.am:
30994         * libs/gst/control/Makefile.am:
30995         * libs/gst/dataprotocol/Makefile.am:
30996         * libs/gst/getbits/Makefile.am:
30997
30998 2005-04-21  Wim Taymans  <wim@fluendo.com>
30999
31000         * docs/design/draft-push-pull.txt:
31001         * docs/design/part-MT-refcounting.txt:
31002         * docs/design/part-TODO.txt:
31003         * docs/design/part-caps.txt:
31004         * docs/design/part-events.txt:
31005         * docs/design/part-gstbus.txt:
31006         * docs/design/part-gstpipeline.txt:
31007         * docs/design/part-messages.txt:
31008         * docs/design/part-push-pull.txt:
31009         * docs/design/part-query.txt:
31010         Some more docs.
31011
31012 2005-04-21  Wim Taymans  <wim@fluendo.com>
31013
31014         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31015         (gst_message_new), (gst_message_new_error),
31016         (gst_message_new_warning), (gst_message_new_tag),
31017         (gst_message_new_state_changed), (gst_message_new_application),
31018         (gst_message_get_structure):
31019         * gst/gstmessage.h:
31020         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31021         (gst_structure_copy_conditional):
31022         Use parent refcount in GstMessage to ensure GstStructure
31023         consistency.
31024         Cleaned up headers a bit.
31025         
31026
31027 2005-04-20  Wim Taymans  <wim@fluendo.com>
31028
31029         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31030         (gst_basesink_pad_getcaps), (gst_basesink_init),
31031         (gst_basesink_chain_unlocked):
31032         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31033         (gst_type_find_helper):
31034         * gst/elements/gsttypefindelement.c:
31035         (gst_type_find_element_have_type), (gst_type_find_element_init),
31036         (stop_typefinding), (gst_type_find_element_handle_event),
31037         (find_suggest), (gst_type_find_element_chain),
31038         (gst_type_find_element_checkgetrange),
31039         (gst_type_find_element_getrange), (do_typefind),
31040         (gst_type_find_element_activate):
31041         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31042         (gst_buffer_default_free), (gst_buffer_default_copy),
31043         (gst_buffer_set_caps):
31044         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31045         (gst_caps_replace):
31046         * gst/gstmessage.c: (gst_message_new),
31047         (gst_message_new_state_changed):
31048         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31049         (gst_pad_set_checkgetrange_function),
31050         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31051         (gst_pad_set_caps), (gst_pad_check_pull_range),
31052         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31053         * gst/gstpad.h:
31054         * gst/gsttypefind.c: (gst_type_find_register):
31055         Make gst_caps_replace() work like other _replace() functions.
31056         Use _caps_replace() where possible.
31057         Make sure _message_new() initialises its field.
31058         Add gst_static_pad_template_get_caps()
31059
31060
31061 2005-04-18  Andy Wingo  <wingo@pobox.com>
31062
31063         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31064         on the peer, not the pad. I think that was a typo. Pass an extra
31065         arg to see if random access is possible. Activate the pads as
31066         PULL_RANGE if possible.
31067
31068         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31069
31070         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31071         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31072         to PROP_....
31073
31074 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31075
31076         * docs/faq/using.xml:
31077           Add note on gstreamer-properties (#154996).
31078
31079 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31080
31081         * docs/random/bbb/optional-properties:
31082           Some analysis on optional properties.
31083
31084 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31085
31086         * docs/gst/tmpl/gstelementfactory.sgml:
31087         * gst/gstelement.h:
31088         * gst/gstelementfactory.c: (gst_element_factory_init),
31089         (gst_element_factory_cleanup), (gst_element_register),
31090         (__gst_element_factory_add_static_pad_template),
31091         (gst_element_factory_get_static_pad_templates),
31092         (gst_element_factory_can_src_caps),
31093         (gst_element_factory_can_sink_caps):
31094         * gst/registries/Makefile.am:
31095         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31096         (gst_xml_registry_class_init), (gst_xml_registry_init),
31097         (gst_xml_registry_new), (gst_xml_registry_set_property),
31098         (gst_xml_registry_get_property), (get_time), (make_dir),
31099         (gst_xml_registry_get_perms_func),
31100         (plugin_times_older_than_recurse), (plugin_times_older_than),
31101         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31102         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31103         (add_to_char_array), (read_string), (read_uint), (read_enum),
31104         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31105         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31106         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31107         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31108         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31109         (gst_xml_registry_rebuild):
31110         * gst/registries/gstlibxmlregistry.h:
31111         * tools/gst-compprep.c: (main):
31112         * tools/gst-inspect.c: (print_pad_templates_info):
31113         * tools/gst-xmlinspect.c: (print_element_info):
31114           Use libxml2 for registry parsing, use staticpadtemplates in
31115           elementfactories. Makes gst_init() +/- 10x faster.
31116
31117 2005-04-12  Wim Taymans  <wim@fluendo.com>
31118
31119         * gst/base/Makefile.am:
31120         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31121         (gst_basesink_pad_getcaps), (gst_basesink_init),
31122         (gst_basesink_event), (gst_basesink_change_state):
31123         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31124         (gst_basesrc_init), (gst_basesrc_query),
31125         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31126         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31127         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31128         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31129         (gst_basesrc_stop), (gst_basesrc_activate),
31130         (gst_basesrc_change_state):
31131         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31132         (helper_find_suggest), (gst_type_find_helper):
31133         * gst/base/gsttypefindhelper.h:
31134         * gst/elements/Makefile.am:
31135         * gst/elements/gstelements.c:
31136         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31137         (gst_fakesink_get_times), (gst_fakesink_event),
31138         (gst_fakesink_preroll), (gst_fakesink_render):
31139         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31140         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31141         (gst_fakesrc_get_property), (gst_fakesrc_create),
31142         (gst_fakesrc_start), (gst_fakesrc_stop):
31143         * gst/elements/gstfakesrc.h:
31144         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31145         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31146         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31147         (gst_filesrc_create_read), (gst_filesrc_create),
31148         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31149         (gst_filesrc_start):
31150         * gst/elements/gsttypefindelement.c:
31151         (gst_type_find_element_have_type), (gst_type_find_element_init),
31152         (start_typefinding), (stop_typefinding), (push_buffer_store),
31153         (gst_type_find_element_handle_event),
31154         (gst_type_find_element_chain),
31155         (gst_type_find_element_checkgetrange),
31156         (gst_type_find_element_getrange), (do_typefind),
31157         (gst_type_find_element_activate),
31158         (gst_type_find_element_change_state):
31159         * gst/elements/gsttypefindelement.h:
31160         * gst/gstpipeline.c: (pipeline_bus_handler):
31161         Added typefind helper.
31162         Small preroll fix in the base sink.
31163         Disable typefind code in basesrc.
31164         Crude port of typefindelement.
31165         Fakesrc cleanups.
31166
31167
31168 2005-04-11  Wim Taymans  <wim@fluendo.com>
31169
31170         * check/gst/gstbus.c: (gstbus_suite):
31171         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31172         * check/gstcheck.h:
31173           Fix up the timeout so that the test does not fail.
31174
31175 2005-04-06  Wim Taymans  <wim@fluendo.com>
31176
31177         * gst/base/README:
31178         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31179         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31180         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31181         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31182         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31183         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31184         (gst_basesrc_stop), (gst_basesrc_activate),
31185         (gst_basesrc_change_state), (basesrc_find_peek),
31186         (basesrc_find_suggest), (gst_basesrc_type_find):
31187         * gst/base/gstbasesrc.h:
31188         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31189         (gst_filesrc_class_init), (gst_filesrc_init),
31190         (gst_filesrc_finalize), (gst_filesrc_set_location),
31191         (gst_filesrc_set_property), (gst_filesrc_get_property),
31192         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31193         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31194         (gst_filesrc_create_read), (gst_filesrc_create),
31195         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31196         * gst/elements/gstfilesrc.h:
31197         * gst/gstelement.c: (gst_element_get_state_func),
31198         (gst_element_lost_state), (gst_element_pads_activate):
31199         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31200         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31201         (gst_pad_pull_range):
31202         * gst/gstpad.h:
31203         More work on the generic source base class, implement seeking,
31204         query.
31205         Make filesrc extend the base source class.
31206         Added gst_pad_set_checkgetrange_function to GstPad.
31207
31208 2005-04-06  Andy Wingo  <wingo@pobox.com>
31209
31210         * pkgconfig/gstreamer-base.pc.in:
31211         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31212
31213         * pkgconfig/Makefile.am:
31214         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31215
31216 2005-04-04  Wim Taymans  <wim@fluendo.com>
31217
31218         * gst/base/Makefile.am:
31219         * gst/base/README:
31220         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31221         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31222         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31223         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31224         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31225         (gst_basesrc_base_init), (gst_basesrc_class_init),
31226         (gst_basesrc_init), (gst_basesrc_get_formats),
31227         (gst_basesrc_get_query_types), (gst_basesrc_query),
31228         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31229         (gst_basesrc_set_property), (gst_basesrc_get_property),
31230         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31231         (gst_basesrc_loop), (gst_basesrc_activate),
31232         (gst_basesrc_change_state):
31233         * gst/base/gstbasesrc.h:
31234         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31235         (gst_fakesrc_class_init), (gst_fakesrc_init),
31236         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31237         (gst_fakesrc_get_property), (gst_fakesrc_create):
31238         * gst/elements/gstfakesrc.h:
31239         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31240         (gst_filesrc_open_file), (gst_filesrc_loop),
31241         (gst_filesrc_activate), (filesrc_find_peek),
31242         (gst_filesrc_type_find):
31243         Made base source class, make fakesrc extend it.
31244         Add comments to basesink class.
31245         Some filesrc cleanup.
31246
31247 2005-03-31  David Schleef  <ds@schleef.org>
31248
31249         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31250         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31251         expected to link against libgstreamer.
31252         * gst/base/Makefile.am: link against libgstreamer
31253         * gst/elements/Makefile.am: same
31254
31255 2005-03-31  Andy Wingo  <wingo@pobox.com>
31256
31257         * tests/instantiate/Makefile.am:
31258         * tests/instantiate/caps.c: Add test to test speed of caps copy
31259         and free.
31260
31261         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31262         GMemChunk to be fair.
31263
31264         * gst/gsttrashstack.h: Remove warning about using the fallback
31265         trash stack implementation, it's still faster than malloc.
31266
31267 2005-03-30  Andy Wingo  <wingo@pobox.com>
31268
31269         * tests/complexity.c: Add a copyright.
31270
31271 2005-03-31  Wim Taymans  <wim@fluendo.com>
31272
31273         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31274         (gst_base_transform_class_init), (gst_base_transform_init),
31275         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31276         (gst_base_transform_get_property),
31277         (gst_base_transform_sink_activate),
31278         (gst_base_transform_src_activate),
31279         (gst_base_transform_change_state):
31280         * gst/base/gstbasetransform.h:
31281         * gst/elements/gstidentity.c: (gst_identity_class_init),
31282         (gst_identity_event), (gst_identity_check_perfect),
31283         (gst_identity_transform), (gst_identity_start),
31284         (gst_identity_stop):
31285         Added start/stop methods to transform base class so subclasses 
31286         don't need to deal with state changes even.
31287
31288 2005-03-31  Wim Taymans  <wim@fluendo.com>
31289
31290         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31291         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31292         * gst/gstevent.h:
31293         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31294         (gst_pad_pull_range):
31295         Added rate to the discont event to prepare for variable speed
31296         and reverse playback.
31297
31298 2005-03-29  David Schleef  <ds@schleef.org>
31299
31300         * configure.ac:
31301         * testsuite/trigger/Makefile.am:
31302         * testsuite/trigger/trigger.c: A little example program to show
31303         how trigger-based elements can work.
31304
31305 2005-03-29  Wim Taymans  <wim@fluendo.com>
31306
31307         * gst/base/Makefile.am:
31308         * gst/base/README:
31309         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31310         (gst_basesink_base_init), (gst_basesink_class_init),
31311         (gst_basesink_pad_getcaps), (gst_basesink_init),
31312         (gst_basesink_activate), (gst_basesink_change_state):
31313         * gst/base/gstbasesink.h:
31314         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31315         (gst_base_transform_base_init), (gst_base_transform_finalize),
31316         (gst_base_transform_class_init), (gst_base_transform_init),
31317         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31318         (gst_base_transform_event), (gst_base_transform_getrange),
31319         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31320         (gst_base_transform_set_property),
31321         (gst_base_transform_get_property),
31322         (gst_base_transform_sink_activate),
31323         (gst_base_transform_src_activate),
31324         (gst_base_transform_change_state):
31325         * gst/base/gstbasetransform.h:
31326         * gst/elements/gstidentity.c: (gst_identity_finalize),
31327         (gst_identity_class_init), (gst_identity_init),
31328         (gst_identity_event), (gst_identity_check_perfect),
31329         (gst_identity_transform), (gst_identity_set_property),
31330         (gst_identity_get_property), (gst_identity_change_state):
31331         * gst/elements/gstidentity.h:
31332         * gst/gstelement.c: (gst_element_get_state_func),
31333         (gst_element_lost_state), (gst_element_pads_activate):
31334         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31335         (gst_pad_check_pull_range), (gst_pad_pull_range):
31336         * gst/gstpad.h:
31337         Simplify pad activation.
31338         Added function to check if pull_range can be performed.
31339         Error out when pulling inactive or flushing pads.
31340         Removed const from refcounted types as it does not make sense.
31341         Simplify pad templates in basesink
31342         Added base class for simple 1-to-1 transforms.
31343         Make identity subclass the base transform.
31344
31345 2005-03-29  Andy Wingo  <wingo@pobox.com>
31346
31347         * docs/libs/gstreamer-libs-overrides.txt: 
31348         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31349         really don't understand what's going on, but like whatever. I want
31350         green buildbot!
31351
31352         * docs/gst/Makefile.am:
31353         * docs/libs/Makefile.am: Dist the overrides files.
31354
31355         * check/Makefile.am (clean-local): Remove .libs directories.
31356
31357         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31358         elements to EXTRA_DIST, so po/ files are happy.
31359
31360         * po/POTFILES.in: Er, remove it here.
31361
31362         * po/POTFILES: Remove gstspider.c.
31363
31364         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31365
31366         * docs/libs/gstreamer-libs-docs.sgml: 
31367         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31368         bytestream.
31369
31370         * tests/complexity.c (main): Set the length of the preroll queue
31371         on the sinks to prevent a lockup.
31372
31373         * libs/gst/dataprotocol/Makefile.am: 
31374         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31375         the same as the one in check/gst-libs/gdp.c.
31376
31377         * po/, docs/gst/: Commit automatic changes to docs and po files.
31378
31379         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31380         the versioned libgstbase.
31381
31382         * check/Makefile.am: Depend on an unversioned gst-register, seems
31383         to make autoconf happier.
31384
31385         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31386
31387 2005-03-28  Wim Taymans  <wim@fluendo.com>
31388
31389         * configure.ac:
31390         * docs/design/part-gstelement.txt:
31391         * docs/design/part-negotiation.txt:
31392         * docs/design/part-preroll.txt:
31393         * docs/design/part-scheduling.txt:
31394         * docs/design/part-states.txt:
31395         * gst/Makefile.am:
31396         * gst/base/Makefile.am:
31397         * gst/base/README:
31398         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31399         (gst_basesink_base_init), (gst_basesink_class_init),
31400         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31401         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31402         (gst_basesink_set_pad_functions),
31403         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31404         (gst_basesink_set_property), (gst_basesink_get_property),
31405         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31406         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31407         (gst_basesink_preroll_queue_push),
31408         (gst_basesink_preroll_queue_empty),
31409         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31410         (gst_basesink_event), (gst_basesink_get_times),
31411         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31412         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31413         (gst_basesink_loop), (gst_basesink_activate),
31414         (gst_basesink_change_state):
31415         * gst/base/gstbasesink.h:
31416         * gst/elements/Makefile.am:
31417         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31418         (gst_fakesink_class_init), (gst_fakesink_init),
31419         (gst_fakesink_set_property), (gst_fakesink_get_property),
31420         (gst_fakesink_get_times), (gst_fakesink_event),
31421         (gst_fakesink_preroll), (gst_fakesink_render),
31422         (gst_fakesink_change_state):
31423         * gst/elements/gstfakesink.h:
31424         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31425         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31426         * gst/gstelement.c: (gst_element_add_pad),
31427         (gst_element_get_state_func), (gst_element_abort_state),
31428         (gst_element_commit_state), (gst_element_lost_state),
31429         (gst_element_set_state), (gst_element_pads_activate):
31430         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31431         * gst/gstpipeline.c: (gst_pipeline_send_event),
31432         (gst_pipeline_change_state):
31433         Added state change code.
31434         Added/updated docs.
31435         Added sink base class, make fakesink extend the base class.
31436         Small cleanups in GstPipeline.
31437
31438 2005-03-26  David Schleef  <ds@schleef.org>
31439
31440         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31441         is broken and should be implemented in a different library.
31442         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31443         * gst/gst.h: remove gstcpu.h
31444         * gst/gstcpu.c: remove
31445         * gst/gstcpu.h: remove
31446         * gst/Makefile.am.future: Remove this file.  It's ancient.
31447
31448 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31449
31450         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31451         (gst_bin_send_event):
31452           Add default event/set_manager handlers. The set_manager handler
31453           takes care that the manager is distributed over kids that were
31454           already in the bin before the manager was set. The event handler
31455           is a utility virtual function that sends the event over all sinks,
31456           so that gst_element_send_event (bin, event); has the expected
31457           behaviour.
31458         * gst/gstpad.c: (gst_pad_event_default):
31459           Re-install default event handling for discontinuities, so that
31460           seeking works without requiring hacks in applications or extra
31461           code in sinks.
31462         * gst/gstpipeline.c: (gst_pipeline_class_init),
31463         (gst_pipeline_send_event):
31464           Half hack, half utility: set a pipeline to PAUSED for seek events,
31465           since that is the only way we can guarantee a/v sync. Means that
31466           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31467           and it "just works".
31468
31469 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31470
31471         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31472           Lock/unlock mismatch.
31473
31474 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31475
31476         * docs/faq/gst-uninstalled:
31477           add gst-plugins-base
31478         * docs/gst/Makefile.am:
31479           don't error out until docs are fixed
31480         * docs/gst/gstreamer.types:
31481           remove thread
31482
31483 2005-03-22  Wim Taymans  <wim@fluendo.com>
31484
31485         * check/Makefile.am:
31486         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31487         * gst/gststructure.c: (gst_structure_set_valist),
31488         (gst_structure_copy_conditional):
31489         Activated more tests.
31490         Added message test.
31491         Added G_TYPE_POINTER to GstStructure.
31492         
31493
31494 2005-03-22  Wim Taymans  <wim@fluendo.com>
31495
31496         * docs/design/part-TODO.txt:
31497         * docs/design/part-events.txt:
31498         * docs/design/part-gstbin.txt:
31499         * docs/design/part-gstbus.txt:
31500         * docs/design/part-gstpipeline.txt:
31501         * docs/design/part-messages.txt:
31502         * gst/gstbus.c:
31503         * gst/gstmessage.c:
31504         Docs updates
31505
31506 2005-03-21  Wim Taymans  <wim@fluendo.com>
31507
31508         * gst/gstbus.c: (gst_bus_post):
31509         Fix copy-and-paste error.
31510
31511 2005-03-21  Wim Taymans  <wim@fluendo.com>
31512
31513         * check/Makefile.am:
31514         * gst/Makefile.am:
31515         * gst/elements/Makefile.am:
31516         * gst/elements/gstelements.c:
31517         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31518         (gst_fakesink_event), (gst_fakesink_chain):
31519         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31520         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31521         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31522         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31523         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31524         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31525         (gst_fakesrc_loop), (gst_fakesrc_activate),
31526         (gst_fakesrc_change_state):
31527         * gst/elements/gstfakesrc.h:
31528         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31529         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31530         (gst_filesrc_open_file), (gst_filesrc_loop),
31531         (gst_filesrc_activate), (gst_filesrc_change_state),
31532         (filesrc_find_peek), (filesrc_find_suggest),
31533         (gst_filesrc_type_find):
31534         * gst/elements/gstidentity.c: (gst_identity_finalize),
31535         (gst_identity_class_init), (gst_identity_init),
31536         (gst_identity_proxy_getcaps), (identity_queue_push),
31537         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31538         (gst_identity_getrange), (gst_identity_chain),
31539         (gst_identity_sink_loop), (gst_identity_src_loop),
31540         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31541         (gst_identity_set_property), (gst_identity_get_property),
31542         (gst_identity_change_state):
31543         * gst/elements/gstidentity.h:
31544         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31545         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31546         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31547         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31548         (gst_tee_sink_activate):
31549         * gst/elements/gsttee.h:
31550         * gst/gst.c: (gst_register_core_elements), (init_post):
31551         * gst/gst.h:
31552         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31553         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31554         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31555         (gst_bin_change_state):
31556         * gst/gstbin.h:
31557         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31558         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31559         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31560         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31561         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31562         (bus_watch_callback), (bus_watch_destroy),
31563         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31564         (poll_timeout), (gst_bus_poll):
31565         * gst/gstbus.h:
31566         * gst/gstcaps.h:
31567         * gst/gstdata.h:
31568         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31569         (gst_element_post_message), (gst_element_message_full),
31570         (gst_element_get_state_func), (gst_element_get_state),
31571         (gst_element_abort_state), (gst_element_commit_state),
31572         (gst_element_lost_state), (gst_element_set_state),
31573         (gst_element_pads_activate), (gst_element_change_state),
31574         (gst_element_dispose), (gst_element_set_manager_func),
31575         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31576         (gst_element_set_manager), (gst_element_get_manager),
31577         (gst_element_set_bus), (gst_element_get_bus),
31578         (gst_element_set_scheduler), (gst_element_get_scheduler):
31579         * gst/gstelement.h:
31580         * gst/gstevent.c: (gst_event_new_segment_seek),
31581         (gst_event_new_flush):
31582         * gst/gstevent.h:
31583         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31584         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31585         (gst_message_new_eos), (gst_message_new_error),
31586         (gst_message_new_warning), (gst_message_new_tag),
31587         (gst_message_new_state_changed), (gst_message_new_application),
31588         (gst_message_get_structure), (gst_message_parse_tag),
31589         (gst_message_parse_state_changed), (gst_message_parse_error),
31590         (gst_message_parse_warning):
31591         * gst/gstmessage.h:
31592         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31593         (gst_real_pad_set_property), (gst_pad_set_active),
31594         (gst_pad_is_active), (gst_pad_set_blocked_async),
31595         (gst_pad_set_blocked), (gst_pad_is_blocked),
31596         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31597         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31598         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31599         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31600         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31601         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31602         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31603         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31604         (gst_pad_set_caps), (gst_pad_configure_sink),
31605         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31606         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31607         (gst_real_pad_dispose), (gst_real_pad_finalize),
31608         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31609         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31610         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31611         * gst/gstpad.h:
31612         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31613         (pipeline_bus_handler), (gst_pipeline_change_state),
31614         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31615         * gst/gstpipeline.h:
31616         * gst/gstprobe.h:
31617         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31618         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31619         (gst_queue_link_src), (gst_queue_bufferalloc),
31620         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31621         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31622         (gst_queue_loop), (gst_queue_handle_src_event),
31623         (gst_queue_handle_src_query), (gst_queue_src_activate),
31624         (gst_queue_change_state):
31625         * gst/gstqueue.h:
31626         * gst/gstscheduler.c: (gst_scheduler_init),
31627         (gst_scheduler_dispose), (gst_scheduler_create_task),
31628         (gst_scheduler_factory_create):
31629         * gst/gstscheduler.h:
31630         * gst/gststructure.c: (gst_structure_get_type),
31631         (gst_structure_copy_conditional):
31632         * gst/gststructure.h:
31633         * gst/gsttaginterface.h:
31634         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31635         (gst_task_init), (gst_task_dispose), (gst_task_create),
31636         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31637         (gst_task_pause):
31638         * gst/gsttask.h:
31639         * gst/gstthread.c:
31640         * gst/gstthread.h:
31641         * gst/gsttypes.h:
31642         * gst/schedulers/Makefile.am:
31643         * gst/schedulers/cothreads_compat.h:
31644         * gst/schedulers/entryscheduler.c:
31645         * gst/schedulers/faircothreads.c:
31646         * gst/schedulers/faircothreads.h:
31647         * gst/schedulers/fairscheduler.c:
31648         * gst/schedulers/gstbasicscheduler.c:
31649         * gst/schedulers/gstoptimalscheduler.c:
31650         * gst/schedulers/gthread-cothreads.h:
31651         * gst/schedulers/threadscheduler.c:
31652         (gst_thread_scheduler_task_get_type),
31653         (gst_thread_scheduler_task_class_init),
31654         (gst_thread_scheduler_task_init),
31655         (gst_thread_scheduler_task_start),
31656         (gst_thread_scheduler_task_stop),
31657         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31658         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31659         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31660         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31661         (plugin_init):
31662         * libs/gst/Makefile.am:
31663         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31664         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31665         (gst_file_pad_parent_set):
31666         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31667         (gst_dp_event_from_packet):
31668         * tests/complexity.c: (main):
31669         * tests/mass_elements.c: (main):
31670         * testsuite/states/locked.c: (message_received), (main):
31671         * testsuite/states/parent.c: (main):
31672         * tools/gst-inspect.c: (print_element_flag_info),
31673         (print_implementation_info), (print_pad_info):
31674         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31675         (main):
31676         * tools/gst-md5sum.c: (event_loop), (main):
31677         * tools/gst-typefind.c: (main):
31678         * tools/gst-xmlinspect.c: (print_element_info):
31679         Next big merge.
31680         Added GstBus for mainloop integration.
31681         Added GstMessage for sending notifications on the bus.
31682         Added GstTask as an abstraction for pipeline entry points.
31683         Removed GstThread.
31684         Removed Schedulers.
31685         Simplified GstQueue for multithreaded core.
31686         Made _link threadsafe, removed old capsnego.
31687         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31688         Added pad blocking functions.
31689         Reworked scheduling functions in GstPad to prepare for
31690         scheduling updates soon.
31691         Moved events out of data stream.
31692         Simplified GstEvent types.
31693         Added return values to push/pull.
31694         Removed clocking from GstElement.
31695         Added prototypes for state change function for next merge.
31696         Removed iterate from bins and state change management.
31697         Fixed some elements, disabled others for now.
31698         Fixed -inspect and -launch.
31699         Added check for GstBus.
31700
31701 2005-03-10  Wim Taymans  <wim@fluendo.com>
31702
31703         * docs/design/part-MT-refcounting.txt:
31704         * docs/design/part-clocks.txt:
31705         * docs/design/part-gstelement.txt:
31706         * docs/design/part-gstobject.txt:
31707         * docs/design/part-standards.txt:
31708         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31709         (gst_bin_remove_func), (gst_bin_remove):
31710         * gst/gstbin.h:
31711         * gst/gstbuffer.c:
31712         * gst/gstcaps.h:
31713         * testsuite/clock/clock1.c: (main):
31714         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31715         (main):
31716         * testsuite/dlopen/loadgst.c: (do_test):
31717         * testsuite/refcounting/bin.c: (add_remove_test1),
31718         (add_remove_test2), (main):
31719         * testsuite/refcounting/element.c: (main):
31720         * testsuite/refcounting/element_pad.c: (main):
31721         * testsuite/refcounting/pad.c: (main):
31722         * tools/gst-launch.c: (sigint_handler_sighandler):
31723         * tools/gst-typefind.c: (main):
31724         Doc updates.
31725         Added doc about clock.
31726         removed gst_bin_iterate_recurse_up(), marked methods
31727         for removal.
31728         Fix more testsuites.
31729
31730 2005-03-09  Wim Taymans  <wim@fluendo.com>
31731
31732         * gst/gstpad.c: (gst_pad_get_direction),
31733         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31734         (gst_pad_collect_valist):
31735         * testsuite/bins/interface.c: (main):
31736         * testsuite/caps/audioscale.c: (test_caps):
31737         * testsuite/caps/caps.c: (test1), (test2), (test3):
31738         * testsuite/caps/deserialize.c: (main):
31739         * testsuite/caps/enumcaps.c: (main):
31740         * testsuite/caps/filtercaps.c: (main):
31741         * testsuite/caps/intersect2.c: (main):
31742         * testsuite/caps/random.c: (main):
31743         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31744         * testsuite/caps/sets.c: (check_caps):
31745         * testsuite/caps/simplify.c: (check_caps), (main):
31746         * testsuite/caps/subtract.c: (check_caps):
31747         Fix _pad_get_direction wrt ghostpads.
31748         Fix caps testsuite.
31749
31750 2005-03-09  Wim Taymans  <wim@fluendo.com>
31751
31752         * check/Makefile.am:
31753         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31754         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31755         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31756         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31757         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31758         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31759         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31760         (bin_element_is_sink), (gst_bin_iterate_sinks),
31761         (gst_bin_iterate_all_by_interface):
31762         * gst/gstbin.h:
31763         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31764         (gst_element_change_state), (gst_element_dispose),
31765         (gst_element_finalize), (gst_element_set_loop_function):
31766         * gst/gstelement.h:
31767         * gst/gstiterator.c: (find_custom_fold_func):
31768         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31769         (gst_pad_collectv), (gst_pad_collect_valist),
31770         (gst_pad_template_new):
31771         * gst/gstpipeline.c: (gst_pipeline_class_init),
31772         (gst_pipeline_dispose), (gst_pipeline_set_property),
31773         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31774         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31775         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31776         * gst/gstutils.h:
31777         * gst/schedulers/entryscheduler.c:
31778         * gst/schedulers/gstbasicscheduler.c:
31779         (gst_basic_scheduler_cothreaded_chain),
31780         (gst_basic_scheduler_chain_add_element):
31781         * testsuite/bins/interface.c: (main):
31782         Added GstBin test.
31783         Added GstSystemClock test.
31784         Implemented clock distribution code in GstBin.
31785         Implemented iterate sinks method for future use.
31786         Rearranged gstelement.h
31787         Fix GstIterator comparison bug.
31788         Moved some code to GstPipeline, mostly clocking related.
31789
31790 2005-03-09  Wim Taymans  <wim@fluendo.com>
31791
31792         * configure.ac:
31793         * gst/gst_private.h:
31794         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31795         (gst_bin_remove_func), (gst_bin_remove),
31796         (gst_bin_get_by_name_recurse_up):
31797         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31798         (gst_clock_id_compare_func), (gst_clock_id_wait),
31799         (gst_clock_id_wait_async), (gst_clock_init),
31800         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31801         * gst/gstelement.h:
31802         * gst/gstinfo.c: (_gst_debug_init):
31803         * gst/gstobject.h:
31804         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31805         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31806         * gst/gstpad.h:
31807         Bump version number, we're now 0.9.0
31808         Add future debugging category.
31809         Fix NULL _unref() in _get_by_name_recurse_up
31810         Rearrange gstpad.h.
31811         Update some docs.
31812
31813 2005-03-08  Wim Taymans  <wim@fluendo.com>
31814
31815         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31816         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31817         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31818         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31819         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31820         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31821         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31822         * gst/elements/gstidentity.c: (gst_identity_class_init):
31823         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31824         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31825         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31826         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31827         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31828         (gst_tee_link):
31829         * gst/gstelement.c: (gst_element_class_init),
31830         (gst_element_base_class_init), (gst_element_init),
31831         (gst_element_get_random_pad), (gst_element_wait_state_change),
31832         (gst_element_change_state), (gst_element_dispose),
31833         (gst_element_finalize), (gst_element_set_loop_function):
31834         * gst/gstelement.h:
31835         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31836         * gst/gstthread.c: (gst_thread_class_init),
31837         (gst_thread_release_children_locks), (gst_thread_change_state):
31838         * gst/schedulers/gstbasicscheduler.c:
31839         (gst_basic_scheduler_loopfunc_wrapper),
31840         (gst_basic_scheduler_chain_wrapper),
31841         (gst_basic_scheduler_src_wrapper),
31842         (gst_basic_scheduler_remove_element):
31843         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31844         Remove threadsafe properties. Fix elements because GObject
31845         complains when installing a property before declaring a
31846         set/get_property handler.
31847         Rearrange gstelement.h file, use STATE macros for state locks.
31848         Free mutexes in the finalize method instead of dispose.
31849
31850 2005-03-08  Wim Taymans  <wim@fluendo.com>
31851
31852         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31853         * gst/gstthread.c: (gst_thread_release_children_locks):
31854         Added parentage check.
31855         Fix build og GstThread again.
31856
31857 2005-03-08  Wim Taymans  <wim@fluendo.com>
31858
31859         * docs/design/part-MT-refcounting.txt:
31860         * docs/design/part-conventions.txt:
31861         * docs/design/part-gstobject.txt:
31862         * docs/design/part-relations.txt:
31863         * docs/design/part-standards.txt:
31864         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31865         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31866         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31867         (gst_bin_iterate_all_by_interface):
31868         * gst/gstbuffer.h:
31869         * gst/gstclock.h:
31870         * gst/gstelement.c: (gst_element_class_init),
31871         (gst_element_change_state), (gst_element_set_loop_function):
31872         * gst/gstelement.h:
31873         * gst/gstiterator.c:
31874         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31875         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31876         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31877         (gst_object_set_parent), (gst_object_unparent),
31878         (gst_object_check_uniqueness):
31879         * gst/gstobject.h:
31880         Docs updates, clean up some headers.
31881
31882 2005-03-07  Wim Taymans  <wim@fluendo.com>
31883
31884         * check/.cvsignore:
31885         * check/Makefile.am:
31886         * check/gst-libs/.cvsignore:
31887         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31888         * check/gst/.cvsignore:
31889         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31890         (START_TEST), (gstbus_suite), (main):
31891         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31892         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31893         (gst_data_suite), (main):
31894         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31895         (add_fold_func), (gstiterator_suite), (main):
31896         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31897         (thread_name_object), (thread_name_object_default),
31898         (gst_object_name_compare), (gst_object_suite), (main):
31899         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31900         (gst_pad_suite), (main):
31901         * check/gstcheck.c: (gst_check_log_message_func),
31902         (gst_check_log_critical_func), (gst_check_init):
31903         * check/gstcheck.h:
31904         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31905         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31906         Added checks.
31907
31908 2005-03-07  Wim Taymans  <wim@fluendo.com>
31909
31910         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31911         (gst_list_iterator_next), (gst_list_iterator_resync),
31912         (gst_list_iterator_free), (gst_iterator_new_list),
31913         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31914         (gst_iterator_free), (gst_iterator_push), (filter_next),
31915         (filter_resync), (filter_uninit), (filter_free),
31916         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31917         (gst_iterator_foreach), (find_custom_fold_func),
31918         (gst_iterator_find_custom):
31919         * gst/gstiterator.h:
31920         Added missing files.
31921
31922 2005-03-07  Wim Taymans  <wim@fluendo.com>
31923
31924         * Makefile.am:
31925         * configure.ac:
31926         * docs/design/part-MT-refcounting.txt:
31927         * docs/design/part-conventions.txt:
31928         * docs/design/part-gstobject.txt:
31929         * docs/design/part-relations.txt:
31930         * examples/mixer/mixer.c: (main):
31931         * examples/thread/thread.c: (eos), (main):
31932         * gst/Makefile.am:
31933         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31934         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31935         (gst_spider_plug_from_srcpad):
31936         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31937         (gst_spider_identity_change_state),
31938         (gst_spider_identity_sink_loop_type_finding):
31939         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
31940         * gst/elements/gstidentity.c: (gst_identity_init):
31941         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
31942         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
31943         * gst/elements/gsttypefindelement.c: (free_entry):
31944         * gst/gst.c:
31945         * gst/gst.h:
31946         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
31947         (gst_bin_set_clock_func), (gst_bin_auto_clock),
31948         (gst_bin_set_index), (gst_bin_set_element_sched),
31949         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
31950         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
31951         (gst_bin_iterate_elements), (iterate_child_recurse),
31952         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
31953         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
31954         (compare_interface), (gst_bin_get_by_interface),
31955         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
31956         * gst/gstbin.h:
31957         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
31958         (gst_buffer_default_free), (gst_buffer_default_copy),
31959         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
31960         (gst_buffer_create_sub):
31961         * gst/gstbuffer.h:
31962         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
31963         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
31964         (gst_caps_unref), (gst_static_caps_get),
31965         (gst_caps_remove_and_get_structure), (gst_caps_append),
31966         (gst_caps_append_structure), (gst_caps_remove_structure),
31967         (gst_caps_copy_nth), (gst_caps_set_simple),
31968         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
31969         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
31970         (gst_caps_structure_intersect_field), (gst_caps_intersect),
31971         (gst_caps_structure_subtract_field), (gst_caps_subtract),
31972         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
31973         (gst_caps_structure_figure_out_union),
31974         (gst_caps_switch_structures), (gst_caps_do_simplify),
31975         (gst_caps_replace), (gst_caps_from_string),
31976         (gst_caps_copy_conditional):
31977         * gst/gstcaps.h:
31978         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
31979         (_gst_clock_id_free), (gst_clock_id_unref),
31980         (gst_clock_id_compare_func), (gst_clock_id_wait),
31981         (gst_clock_id_wait_async), (gst_clock_class_init),
31982         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
31983         (gst_clock_get_time), (gst_clock_set_time_adjust),
31984         (gst_clock_set_property), (gst_clock_get_property):
31985         * gst/gstclock.h:
31986         * gst/gstcompat.h:
31987         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
31988         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
31989         * gst/gstdata.h:
31990         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31991         (gst_element_requires_clock), (gst_element_provides_clock),
31992         (gst_element_set_clock), (gst_element_clock_wait),
31993         (gst_element_wait), (gst_element_set_time_delay),
31994         (gst_element_is_indexable), (gst_element_add_pad),
31995         (gst_element_add_ghost_pad), (gst_element_remove_pad),
31996         (pad_compare_name), (gst_element_get_static_pad),
31997         (gst_element_request_pad), (gst_element_get_request_pad),
31998         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
31999         (gst_element_class_get_pad_template_list),
32000         (gst_element_class_get_pad_template), (gst_element_error_func),
32001         (gst_element_get_random_pad), (gst_element_get_event_masks),
32002         (gst_element_send_event), (gst_element_seek),
32003         (gst_element_get_query_types), (gst_element_query),
32004         (gst_element_get_formats), (gst_element_convert),
32005         (gst_element_is_locked_state), (gst_element_set_locked_state),
32006         (gst_element_sync_state_with_parent), (gst_element_change_state),
32007         (gst_element_finalize), (gst_element_yield),
32008         (gst_element_interrupt), (gst_element_set_scheduler),
32009         (gst_element_get_scheduler), (gst_element_set_loop_function):
32010         * gst/gstelement.h:
32011         * gst/gstevent.h:
32012         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32013         (gst_format_get_by_nick), (gst_format_get_details),
32014         (gst_format_iterate_definitions):
32015         * gst/gstformat.h:
32016         * gst/gstindex.c: (gst_index_gtype_resolver):
32017         * gst/gstinfo.c:
32018         * gst/gstinfo.h:
32019         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32020         (gst_mem_chunk_free):
32021         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32022         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32023         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32024         (gst_object_dispatch_properties_changed),
32025         (gst_object_set_name_default), (gst_object_set_name),
32026         (gst_object_get_name), (gst_object_set_name_prefix),
32027         (gst_object_get_name_prefix), (gst_object_set_parent),
32028         (gst_object_get_parent), (gst_object_unparent),
32029         (gst_object_check_uniqueness), (gst_object_save_thyself),
32030         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32031         (gst_object_set_property), (gst_object_get_property),
32032         (gst_object_get_path_string):
32033         * gst/gstobject.h:
32034         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32035         (gst_real_pad_init), (gst_real_pad_get_property),
32036         (gst_pad_custom_new), (gst_pad_get_direction),
32037         (gst_pad_set_active), (gst_pad_is_active),
32038         (gst_pad_set_event_function), (gst_pad_is_linked),
32039         (gst_pad_link_free), (gst_pad_link_intersect),
32040         (gst_pad_link_fixate), (gst_pad_set_caps),
32041         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32042         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32043         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32044         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32045         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32046         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32047         (gst_pad_realize), (gst_pad_get_allowed_caps),
32048         (gst_real_pad_dispose), (gst_real_pad_finalize),
32049         (gst_pad_collectv), (gst_pad_collect_valist),
32050         (gst_pad_template_dispose), (gst_pad_template_new),
32051         (gst_pad_get_internal_links):
32052         * gst/gstpad.h:
32053         * gst/gstpipeline.c: (gst_pipeline_dispose),
32054         (gst_pipeline_change_state):
32055         * gst/gstpipeline.h:
32056         * gst/gstplugin.c:
32057         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32058         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32059         * gst/gstpluginfeature.h:
32060         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32061         * gst/gstquery.c: (_gst_query_type_initialize),
32062         (gst_query_type_register), (gst_query_type_get_by_nick),
32063         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32064         * gst/gstquery.h:
32065         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32066         * gst/gstscheduler.c: (gst_scheduler_add_element),
32067         (gst_scheduler_factory_create):
32068         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32069         (gst_structure_free), (gst_structure_set_name),
32070         (gst_structure_id_set_value), (gst_structure_set_value),
32071         (gst_structure_set_valist), (gst_structure_remove_field),
32072         (gst_structure_remove_fields),
32073         (gst_structure_remove_fields_valist),
32074         (gst_structure_remove_all_fields), (gst_structure_foreach),
32075         (gst_structure_map_in_place),
32076         (gst_caps_structure_fixate_field_nearest_int),
32077         (gst_caps_structure_fixate_field_nearest_double):
32078         * gst/gststructure.h:
32079         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32080         (gst_system_clock_init), (gst_system_clock_dispose),
32081         (gst_system_clock_async_thread),
32082         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32083         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32084         * gst/gstsystemclock.h:
32085         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32086         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32087         * gst/gsttaginterface.c:
32088         * gst/gstthread.c: (gst_thread_dispose),
32089         (gst_thread_release_children_locks), (gst_thread_change_state),
32090         (gst_thread_main_loop):
32091         * gst/gsttrashstack.h:
32092         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32093         * gst/gsttypes.h:
32094         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32095         (gst_element_request_pad), (gst_element_get_pad_from_template),
32096         (gst_element_request_compatible_pad),
32097         (gst_element_get_compatible_pad_filtered),
32098         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32099         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32100         (gst_element_link_many), (gst_element_link),
32101         (gst_element_link_pads), (gst_element_unlink_pads),
32102         (gst_element_unlink_many), (gst_element_unlink),
32103         (gst_pad_can_link_filtered), (gst_pad_can_link),
32104         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32105         (gst_object_default_error), (gst_bin_add_many),
32106         (gst_bin_remove_many), (gst_element_populate_std_props),
32107         (gst_element_class_install_std_props), (gst_buffer_merge),
32108         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32109         (link_fold_func), (gst_pad_proxy_setcaps):
32110         * gst/gstutils.h:
32111         * gst/gstvalue.c: (gst_value_deserialize_string):
32112         * gst/parse/grammar.y:
32113         * gst/schedulers/gstbasicscheduler.c:
32114         (gst_basic_scheduler_cothreaded_chain),
32115         (gst_basic_scheduler_chain_recursive_add),
32116         (gst_basic_scheduler_pad_link):
32117         * gst/schedulers/gstoptimalscheduler.c:
32118         (get_group_schedule_function),
32119         (gst_opt_scheduler_state_transition),
32120         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32121         * libs/gst/bytestream/bytestream.c:
32122         * libs/gst/dataprotocol/dataprotocol.c:
32123         (gst_dp_header_from_buffer):
32124         * po/nb.po:
32125         * po/ru.po:
32126         * tests/threadstate/threadstate2.c: (eos):
32127         * tools/gst-compprep.c: (main):
32128         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32129         (print_pad_info), (print_children_info):
32130         * tools/gst-launch.c: (idle_func), (main):
32131         * tools/gst-md5sum.c: (idle_func), (main):
32132         * tools/gst-xmlinspect.c: (print_element_info):
32133         First THREADED backport attempt, focusing on adding locks and
32134         making sure the API is threadsafe. Needs more work. More docs
32135         follow this week.
32136
32137 2005-02-24  Andy Wingo  <wingo@pobox.com>
32138
32139         * tests/bench-complexity.scm:
32140         * tests/complexity.gnuplot: New files, good for running complexity
32141         benchmarks.
32142
32143         * tests/Makefile.am:
32144         * tests/complexity.c: New test, sets up N elements, at each level
32145         teeing into M streams per element. Eeeenteresting.
32146
32147         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32148         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32149         running bench-mass_elements.scm.
32150
32151         * tests/bench-mass_elements.scm: New script, runs mass_elements
32152         for various numbers of identities, outputting the results to a
32153         file. Requires guile 1.6. Just for testing.
32154
32155 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32156
32157         * gst/schedulers/fairscheduler.c:
32158           compile with debug disabled
32159
32160 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32161
32162         * configure.ac:
32163           hunting season on 0.9 is now OPEN