API: Add URI query type. This is useful to query the URI of a sink/source element...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gstquark.c:
5         * gst/gstquark.h:
6         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
7         (gst_query_parse_uri):
8         * gst/gstquery.h:
9         API: Add URI query type. This is useful to query the URI
10         of a sink/source element and can be used by demuxers that
11         need to get data from other files.
12         This query should go upstream by default.
13         Fixes bug #562949.
14         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
15         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
16         (gst_fd_src_query):
17         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
18         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
19         (gst_file_src_query):
20         Implement URI query.
21
22 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
23
24         * gst/gstghostpad.c:
25         * tests/check/gst/gstghostpad.c:
26         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
27         That would cause the ghostpad to emit notify::caps two times (fist
28         from gst_pad_set_caps() and after from on_src_target_notify()).
29
30 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
33         (GST_START_TEST):
34         Add some more unit-tests for the ghostpad notify signal, one of which
35         currently fails.
36
37 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
38
39         * win32/common/libgstreamer.def:
40         Add gst_tag_setter_reset_tags to the list of exported symbols.
41
42 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
43
44         * gst/gstghostpad.c:
45         * tests/check/gst/gstghostpad.c:
46         In a source ghostpad, when caps are changed in the target pad, the
47         change needs to be reflected in the ghostpad.
48         Fixes #564863.
49
50 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
51
52         * gst/gstutils.c: (gst_element_found_tags_for_pad):
53         Add FIXME for 0.11 to set the pad as message source and not
54         the element. Otherwise it's impossible to detect for which
55         pad the tags were found without adding an event probe
56         or something similar to the pad.
57
58 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
59
60         * docs/faq/general.xml:
61         Update the faq.
62
63 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
64
65         * docs/gst/gstreamer-sections.txt:
66         * gst/gsttagsetter.c:
67         * gst/gsttagsetter.h:
68           Rename api added in previous commit and add since tag to docs.
69           API: gst_tag_setter_reset_tags()
70
71 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
72
73         * docs/gst/gstreamer-sections.txt:
74         * gst/gsttagsetter.c:
75         * gst/gsttagsetter.h:
76           Add function to reset tagsetter for element reuse.
77
78 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
79
80         * gst/gsttaglist.c:
81           Avoid copy of empty taglist.
82
83 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
84
85         * gst/gsttaglist.c:
86         * tests/check/gst/gsttag.c:
87           More complete unit tests. Fix handling of empty taglists (they were
88           not merged before).
89
90 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
91
92         * gst/gsttaglist.h:
93         * gst/gsttagsetter.c:
94           Update GstTagSetter and GstTagMergeMode documentation. Mention
95           that tags can come from events and from application. Fix example.
96
97 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
98
99         * docs/design/part-TODO.txt:
100         Remove the seqnum entry that we implemented in 0.10 already.
101         Add entry about removing the format return value for queries.
102
103 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
104
105         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
106         (gst_base_sink_init), (gst_base_sink_set_property),
107         (gst_base_sink_get_property):
108         Expose the render-delay as a property so things like appsink can use it
109         to tweak the synchronisation.
110
111 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
112
113         * libs/gst/check/gstcheck.h: Allow check tests to use
114         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
115         CK_FORK=no to be used with multiple check test that use threads.
116
117 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
118
119         * gst/gstutils.c: (gst_element_get_compatible_pad):
120         Fix a caps memory leak introduced by the last change.
121
122 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
123
124         * gst/gstutils.c: (gst_element_get_compatible_pad):
125         Check if the caps of the pads are compatible before returning
126         a pad and claiming it is compatible. This, among other things,
127         fixes a bug with gst-launch where an incompatible pad is chosen
128         and linking fails. Fixes bug #544003.
129
130 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
131
132         * libs/gst/check/gstcheck.c: (gst_check_init):
133         Revert accidentially commited patch for bug #404631 which
134         tries to print a backtrace if a testcase is terminated by
135         a signal. This code was never activated as the corresponding
136         configure.ac change wasn't committed.
137
138 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
139
140         * tests/check/libs/controller.c: (GST_START_TEST):
141         This test should return TRUE now as syncing an uncontrolled
142         object will succeed now (there's nothing to sync).
143
144 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
145
146         * libs/gst/controller/gstcontroller.c:
147           Aggregate return value for gst_controller_sync_values(). More info in
148           logging. Always set values on first sync-call.
149
150         * libs/gst/controller/gstcontrolsource.c:
151           Microoptimizations.
152
153         * libs/gst/controller/gsthelper.c:
154           Fix return code and comment.
155
156 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
157
158         * tools/gst-launch.1.in:
159           Fix description of how to specify a type in caps. Fixes #553873.
160           Also ranges and list contain values and not property-assignments.
161
162 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
163
164         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
165         Check for changed pads-list before checking the last returned
166         GstFlowReturn because the pad could have been removed and we
167         need to ignore the value in that case.
168
169 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
170
171         * libs/gst/base/gstbasetransform.c:
172         (gst_base_transform_prepare_output_buffer),
173         (gst_base_transform_getrange), (gst_base_transform_chain):
174         * libs/gst/base/gstbasetransform.h:
175         Add vmethod that is called before we start the transform and which can
176         be used to configure the transform, such as dynamic properties.
177
178 2008-12-05  David Schleef  <ds@schleef.org>
179
180         * gst/gst.c:
181         Search for plugins on win32 based on the location of the
182         gstreamer DLL.  Fixes #548786
183
184 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
185
186         * configure.ac:
187         Apparently AC_CONFIG_MACRO_DIR breaks when using more
188         than one macro directory, reverting last change.
189
190 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
191
192         * configure.ac:
193         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
194         our M4 macros.
195
196 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
197
198         Patch by: Cygwin Ports maintainer
199                   <yselkowitz at users dot sourceforge dot net>
200
201         * autogen.sh:
202         * configure.ac:
203         Require gettext 0.17 because older versions don't mix with libtool
204         2.2. At build time an older gettext version will still work.
205         Fixes bug #556091.
206
207 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
208
209         Patch by: 이문형 <iwings at gmail dot com>
210
211         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
212         Adds support for FD_CONNECT event (win32). See #562258.
213
214 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
215
216         * libs/gst/base/gstbasesink.c:
217           Turn comment into gtk-doc comment.
218
219 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
220
221         * libs/gst/base/gstbasetransform.c:
222         (gst_base_transform_acceptcaps):
223         Revert quick accepcaps attempt, it's not fully equivalent to the old
224         behaviour and thus causes regressions.
225
226 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
227
228         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
229         Fix memory leak.
230
231 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
232
233         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
234
235         * gst/gstregistry.c: (gst_registry_scan_path_level):
236         Reduce the number of stat() calls for every file from three times
237         to one time. Fixes bug #560360.
238
239 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
240
241         * libs/gst/base/gstbasetransform.c:
242         (gst_base_transform_acceptcaps):
243         Rename a variable to make the code clearer.
244
245 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
246
247         * plugins/elements/gstidentity.c:
248         Don't warning on offset==-1. Taken from _check_imperfect_offset().
249
250 2008-11-21  Michael Smith <msmith@songbirdnest.com>
251
252         * plugins/elements/gstfilesrc.c:
253           Check for localhost in URI was backwards, fix it. Fixes unit test.
254
255 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
256
257         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
258         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
259         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
260         Add beginnings of a more optimized acceptcaps function than the default
261         core one.
262
263 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
264
265         * gst/gstpad.c: (gst_pad_accept_caps):
266         Avoid getting the acceptcaps function too early.
267
268 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
269
270         * tools/gst-launch.c: (event_loop):
271         Make gst-launch handle LATENCY messages and make it recalculate the
272         latency.
273
274 2008-11-20  Michael Smith <msmith@songbirdnest.com>
275
276         * plugins/elements/gstfilesrc.c:
277           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
278           out own slightly incorrect version. Fixes use of some paths on
279           win32.
280
281 2008-11-20  Michael Smith <msmith@songbirdnest.com>
282
283         * gst/gstregistrybinary.c:
284           In win32 codepath, if we fail to write the registry, create the
285           directory for it and try again, matching the behaviour in non-win32
286           codepaths.
287
288 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
289
290         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
291         Changing the render delay changes the latency and so we must post a
292         latency message.
293
294 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
295
296         * gst/gstquery.c:
297         * gst/gstquery.h:
298         Add GstQueryType for custom queries instead of having to use the
299         not-so-very-convenient registration infrastructure to register new
300         types.
301
302 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
303
304         Patch by: Andrew Feren <acferen at yahoo dot com>
305
306         * gst/gstobject.c: (gst_object_default_deep_notify):
307         Unref the GEnumClass after usage again. Fixes bug #561501.
308
309 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
310
311         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
312         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
313         (gst_bin_change_state_func):
314         * gst/gstbin.h:
315         Add do-latency signal with the old default fallback implementation. This
316         allows for custom latency calculations for when the default is not
317         sufficient.
318         API: GstBin::do-latency signal.
319
320 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * win32/common/libgstreamer.def:
323         Add new symbols to .def file.
324
325 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
326
327         * docs/gst/gstreamer-sections.txt:
328         * gst/gstbin.c: (gst_bin_recalculate_latency),
329         (gst_bin_change_state_func):
330         * gst/gstbin.h:
331         Add method to recalculate and redistribute the latency on a bin.
332         API: gst_bin_recalculate_latency().
333
334 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
335
336         * gst/gstbuffer.h:
337         Document the free_func.
338
339 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
340
341         * libs/gst/controller/gstinterpolation.c:
342         * libs/gst/controller/gstlfocontrolsource.c:
343         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
344         as it is mapped to a cast on non-win32 platforms.
345
346 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
347
348         * libs/gst/controller/gstcontroller.c:
349         * libs/gst/controller/gstcontrollerprivate.h:
350           Keep last-value and only call set_property if value has changed. This
351           supresses all the g_object_notifies we would trigger otherwise. It
352           also allows the user to chage the value while there is no controller
353           change.
354
355 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
356
357         * gst/gstvalue.c:
358           Don't crash if either of the string GValues is empty.
359
360 2008-11-17  Andy Wingo  <wingo@pobox.com>
361
362         * tools/gst-inspect.c (print_all_uri_handlers): New function,
363         prints a summary of what URI schemes are supported by what
364         elements.
365         (main): Plumb in support for --uri-handlers or -u, and fix the
366         argc check for -a and -u.
367
368 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
369
370         * gst/gstutils.h:
371         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
372         conversion functions.
373
374 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
375
376         * gst/gstbuffer.c: (gst_buffer_finalize):
377         Avoid costly typechecking for trivially correct pointers.
378
379         * gst/gstpoll.c: (gst_poll_wait):
380         Add some G_LIKELY here and there.
381
382         * libs/gst/base/gstadapter.c: (gst_adapter_push):
383         Add some debug info.
384
385 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
386
387         * docs/random/wtay/poll-timeout:
388         Small tweaks.
389
390 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * tests/old/testsuite/caps/intersection.c: (main):
393         * tests/old/testsuite/plugin/loading.c: (main):
394         Remove references to deprecated API g_mem_chunk*.
395         Fixes #560442.
396
397 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
398
399         * tools/gst-inspect.c: (main):
400         Add --plugin option. Fixes #560301.
401
402 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
403
404         * docs/random/wtay/poll-timeout:
405         Quick braindump for a possible (not totally verified) atomic case.
406
407 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
408
409         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
410         (gst_registry_binary_initialize_magic),
411         (gst_registry_binary_write_cache),
412         (gst_registry_binary_check_magic):
413         * gst/gstregistrybinary.h:
414         Don't write and check a CRC for the binary registry file. It's
415         guaranteed that the registry is completely written (it's first written
416         to a temporary file and then moved) and if the registry was corrupted
417         by some hardware failure we would have bigger problems.
418
419         Bump binary registry version to 0.10.21.1 for this as it's an
420         incompatible change and to ensure that the registry gets rebuild
421         after the update.
422
423         This saves some milliseconds for reading/writing the registry.
424         Fixes bug #560399.
425
426 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
427
428         * docs/random/wtay/poll-timeout:
429         Some pseudo code for how we could implement clock timeouts with GstPoll.
430
431 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
432
433         * plugins/elements/gstfilesink.c:
434           Update Author string to match others.
435
436 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
437
438         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
439         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
440         being fixed and inline the trivial check.
441
442 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
445         (gst_caps_merge_structure), (gst_caps_get_structure),
446         (gst_caps_copy_nth), (gst_caps_set_simple),
447         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
448         (gst_caps_is_equal_fixed), (gst_caps_intersect),
449         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
450         (gst_caps_to_string):
451         Callgrind micro optimisations.
452         Avoid array bounds checks and force inline of trivial function.
453
454         * gst/gstobject.c: (gst_object_set_name_default):
455         -1 is equivalent to letting glib to the strlen but then there is more
456         room for optimisations and it's not our fault.
457
458         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
459         no need to clear the array, we're cool.
460
461         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
462         The most common _is_fixed() check is done on fundamental glib base
463         types so we check this first instead of doing a huge amount of
464         useless GST_TYPE_ARRAY calls.
465
466 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * gst/gstevent.h:
469         Add a SKIP seek flag for use with advanced trickmodes.
470         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
471
472 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
473
474         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
475         No need to memset, we can clear the value ourselves.
476
477         * gst/gstvalue.c: (gst_type_is_fixed),
478         (gst_value_get_compare_func):
479         Some optimisations from a few callgrind sessions:
480         When checking if a type is fixed, check for trivial fundamental types
481         first before checking types for which we need to get the type followed
482         by the heavy duty type checks, this reduces the amount of
483         g_type_fundamental() calls a lot.
484         When getting the compare function, first check for our registered types.
485         If that fails, do the heavy duty g_type_is_a() checks, reduces the
486         amount of g_type_is_a() considerably.
487
488 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
489
490         * docs/design/part-TODO.txt:
491         Mumble something about removing GstXML.
492
493 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
494
495         * gst/gstbin.c: (gst_bin_handle_message_func):
496         Get the seqnum before we dispose the message.
497
498 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
499
500         * docs/design/part-TODO.txt:
501         Refer to the framestepping document.
502
503 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
504
505         * gst/gstbin.c: (bin_handle_async_start),
506         (gst_bin_handle_message_func), (gst_bin_query):
507         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
508         (gst_base_sink_event), (gst_base_sink_change_state):
509         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
510         (gst_base_src_loop), (gst_base_src_change_state):
511         Copy seqnums from events to messages so that they can all be related
512         back to eachother.
513
514 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
515
516         * tools/gst-launch.c: (event_loop):
517         Print the message seqnums.
518
519 2008-11-04  Andy Wingo  <wingo@pobox.com>
520
521         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
522
523 2008-11-04  Andy Wingo  <wingo@pobox.com>
524
525         Add sequence numbers to events and messages. See #559250.
526
527         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
528         API: New functions.
529
530         * gst/gstevent.h:
531         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
532         events with a new sequence number, and copy it when copying.
533         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
534         an event's sequence number.
535
536         * gst/gstmessage.h:
537         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
538         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
539         so with messages.
540
541         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
542
543 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
544
545         * docs/manual/advanced-position.xml:
546         * docs/manual/basics-bins.xml:
547         * docs/manual/basics-bus.xml:
548         * docs/manual/basics-pads.xml:
549         * docs/manual/intro-gstreamer.xml:
550         * docs/manual/intro-preface.xml:
551         Some Application Development Manual fixes thanks to
552         Andrew Feren. Fixes #558459.
553
554 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
555
556         * gst/gstregistrybinary.c:
557           Don't bother with the GTimer if we don't output the results.
558
559 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
560
561         Patch by: David Schleef  <ds@schleef.org>
562
563         * libs/gst/net/Makefile.am:
564         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
565
566 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
567
568         * gst/gstregistrybinary.c:
569           Oh my, studip, stupid me. Remove double stat() call.
570
571 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
572
573         * gst/gstpreset.c:
574           Use g_unlink instead of unlink.
575
576         * gst/gststructure.c:
577           Use glib type.
578
579         * gst/gstutils.c:
580           Add a FIXME:.
581
582         * gst/gsttaglist.c:
583         * gst/gsttypefind.c:
584         * gst/gstvalue.c:
585           Formatting & whitespaces.
586
587 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
588
589         * plugins/elements/gstidentity.c:
590           Doc typo. Use return value of parent_class->event.
591   
592         * plugins/elements/gsttypefindelement.c:
593           Chain up at the end for consistency.
594   
595 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
596
597         * docs/Makefile.am:
598         * docs/gst/gstreamer-docs.sgml:
599         * docs/gst/gstreamer-sections.txt:
600         * docs/gst/running.xml:
601         * docs/libs/gstreamer-libs-docs.sgml:
602           Change to xinclude based build - its faster and easier to maintain.
603
604 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
605
606         * gst/gstregistrybinary.c:
607         * gst/gstregistryxml.c:
608           Use g_unlink() as none of these are directories.
609
610 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
611
612         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
613         Some more comments.
614
615 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
616
617         * libs/gst/base/gstbasetransform.c:
618         (gst_base_transform_find_transform), (gst_base_transform_getrange):
619         If we have a fixate function, call it even if we already have fixed caps
620         because the subclass might add some caps. Makes audioconvert add a
621         default channel layout.
622
623 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
624
625         * libs/gst/base/gstbasetransform.c:
626         (gst_base_transform_prepare_output_buffer),
627         (gst_base_transform_getrange):
628         Clear the output buffer variable.
629         Cleanups to the error path in the getrange function.
630         Fixes #557649.
631
632 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
633
634         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
635         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
636         Use gst_buffer_try_new_and_alloc() and handle errors instead of
637         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
638         be allocated.
639
640 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
641
642         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
643         Set the last_stop to a more meaningful position when configuring the
644         segment. ie. the start/stop of the segment or clipped against the
645         updated segment boundaries.
646
647         * tests/check/gst/gstsegment.c: (GST_START_TEST):
648         Add some unit tests for the last_stop.
649
650 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
651
652         * libs/gst/base/gstbytereader.c:
653         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
654         copies of them.
655
656 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
657
658         * docs/gst/gstreamer-sections.txt:
659         * gst/gstutils.h:
660         API: Move float endianness conversion macros from libgstfloatcast
661         to core as it's useful in general, even in core. Fixes bug #555196.
662         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
663         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
664         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
665
666         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
667         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
668         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
669         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
670
671 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
672
673         * docs/libs/gstreamer-libs-sections.txt:
674         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
675         (gst_byte_reader_peek_data):
676         * libs/gst/base/gstbytereader.h:
677         * win32/common/libgstbase.def:
678         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
679         to get a pointer to the data at the current position and have
680         a guaranteed size.
681
682 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
683
684         * configure.ac:
685         Fix a bug in the output of the configure script summary
686         when --gst-disable-registry is supplied
687
688 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
689
690         * libs/gst/base/gstbitreader.c:
691         * libs/gst/base/gstbytereader.c:
692         Fix the names of 2 functions in the docs strings.
693
694 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
695
696         * libs/gst/base/gstbasetransform.c:
697         (gst_base_transform_prepare_output_buffer),
698         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
699         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
700         refcount problems as seen in banshee and maybe also in farsight2.
701         Remove atomic int now that we need to take the lock anyways.
702
703 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
704
705         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
706         (gst_base_sink_default_prepare_seek_segment),
707         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
708         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
709         (gst_base_sink_query):
710         Implement more seeking in pull mode.
711         Use pad convert functions to convert position to the requested format.
712         Fix position/duration reporting in pull mode.
713         Implement position and duration reporting in other formats than time.
714
715         * libs/gst/base/gstbasesink.h:
716         Add member to keep track of when the segment is playing.
717
718 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
719
720         * gst/gstpad.c: (gst_pad_configure_src):
721         When we use gst_pad_alloc_buffer() without wanting to set the caps we
722         also don't need to check if the caps are compatible because the caller
723         presumably is going to perform its own custom checks. Fixes some cases
724         where basetransform elements would error out when it was not needed.
725
726 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
727
728         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
729         Update comment.
730
731         * libs/gst/base/gstbasetransform.c:
732         (gst_base_transform_handle_buffer),
733         (gst_base_transform_reconfigure):
734         Add some debug info.
735
736         * win32/common/libgstbase.def:
737         Add new method.
738
739 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
740
741         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
742           Remove duplicated assignment and log a message in failure case.
743
744 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
745
746         Patch by: Dig Ge <dig.ge.cn at gmail com>
747
748         * tests/examples/helloworld/helloworld.c: (main):
749           Fix copy'n'paste bug in hello world example (#556900).
750
751 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
752
753         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
754         (gst_base_sink_query):
755         Query the total number of bytes when activating the pad in pull mode.
756         Implement duration query in pull mode by using the installed pad convert
757         function to convert from bytes to the requested format.
758
759 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
760
761         * docs/libs/gstreamer-libs-sections.txt:
762         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
763         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
764         (gst_base_sink_event), (gst_base_sink_perform_seek),
765         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
766         (gst_base_sink_send_event), (gst_base_sink_change_state):
767         * libs/gst/base/gstbasesink.h:
768         Add method to commit the state in subclasses.
769         Refactor the flush_start and flush_stop code because we need it for
770         flushing while seeking too.
771         Implement the beginnings of seeking in pull mode.
772         Use the segment last_stop field for the pulling offset.
773         Fix the pause method in pull mode.
774         Configure the segment to BYTES for pull mode.
775         API: GstBaseSink::gst_base_sink_do_preroll()
776
777 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
778
779         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
780         Update some docs.
781
782 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
783
784         * gst/gstquark.c: (_priv_gst_quarks_initialize):
785           Fix printf format warning.
786
787 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
788
789         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
790         Fix flow aggregation of tee. Error out immediately for all flow returns
791         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
792         and return OK if at least one pad is linked.
793
794         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
795         and otherwise returned the flow return of the last pad, which is wrong.
796         
797         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
798         (GST_START_TEST), (tee_suite):
799         Add unit tests for the flow aggregation.
800
801 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
802
803         * docs/design/part-TODO.txt:
804         Remove item from the todo list because it was fixed with the latency
805         state change rewrites.
806
807         * docs/design/part-seeking.txt:
808         * docs/design/part-segments.txt:
809         Update some docs.
810
811         * gst/gstevent.c: (gst_event_new_new_segment_full),
812         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
813         (gst_event_parse_buffer_size), (gst_event_new_qos),
814         (gst_event_parse_qos), (gst_event_new_seek),
815         (gst_event_parse_seek), (gst_event_new_latency),
816         (gst_event_parse_latency):
817         Use quarks to construct and parse events.
818
819         * gst/gstquark.c: (_priv_gst_quarks_initialize):
820         * gst/gstquark.h:
821         Add some more quarks to the table.
822         Emit a warning when the quark tables are not in sync.
823
824         * tests/check/gst/gstbus.c: (GST_START_TEST):
825         Add an assert.
826
827 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
828
829         * plugins/elements/Makefile.am:
830         * plugins/indexers/Makefile.am:
831           Don't install static libs for plugins. Fixes #550851 for core.
832
833 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
834
835         * gst/gstbus.c: (gst_bus_source_finalize),
836         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
837         (gst_bus_enable_sync_message_emission),
838         (gst_bus_disable_sync_message_emission),
839         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
840         Fix deadlock, g_source_get_id() cannot be called in finalize.
841         Keep track of the watch source by keeping a pointer to the source object
842         instead.
843         Use the bus lock to protect access to the pointer to the current
844         watch source.
845
846 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
847
848         Base on Patch by: Olivier Crete <tester at tester dot ca>
849
850         * gst/gstbus.c: (gst_bus_source_finalize),
851         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
852         Only allow one bus watch to be set at a time. This is necessary
853         because the dispatcher pops the message from the bus and the second
854         watcher will then get NULL or the next message (and the first won't
855         get this next message then, etc). If more than one "watcher" is
856         required signal watches should be used. Fixes bug #526044.
857
858 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
859
860         * tools/gst-launch.c:
861         Change the printing of the 'buffering...' output to avoid putting
862         a \r in a translateable string (flagged by the TP).
863
864 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
865
866         * gst/gstxml.c:
867         Clarify that the save_thyself() and restore_thyself() virtual
868         functions of GstObject need to be overriden, not
869         gst_object_(save|restore)_thyself() which is impossible.
870         Fixes bug #555700.
871
872 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
873
874         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
875         Revert a patch from 21 months ago that broke caps negotiation in pull
876         mode. Basically, having a buffer pass over a pad will trigger the
877         setcaps function when caps change, just like in push mode.
878
879 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
880
881         * docs/design/part-negotiation.txt:
882         Update the docs some more.
883
884         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
885         If we pull a buffer with non-trivial caps, suggest those caps with the
886         max probability.
887
888 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
889
890         * docs/design/part-TODO.txt:
891         Add another limitation of pad-blocking with segment seeks not pushing
892         EOS events.
893
894 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
895
896         * win32/common/libgstbase.def:
897         * win32/common/libgstreamer.def:
898         Add new symbols to the win32 defs files
899
900 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
901
902         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
903         (gst_bin_handle_message_func):
904         The message src can be NULL, don't try to print the object names in that
905         case.
906
907         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
908         Add some more debug info.
909
910         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
911         (GST_START_TEST):
912         Add some debug.
913         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
914         scheduling modes.
915
916 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
917
918         * docs/design/part-negotiation.txt:
919         Small doc update.
920
921         * docs/libs/gstreamer-libs-sections.txt:
922         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
923         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
924         (gst_base_sink_init), (gst_base_sink_set_blocksize),
925         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
926         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
927         (gst_base_sink_loop), (gst_base_sink_pad_activate),
928         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
929         (gst_base_sink_change_state):
930         * libs/gst/base/gstbasesink.h:
931         Add blocksize property and methods to control the amount of data
932         to pull.
933         Negotiate first before activating upstream in pull mode so that they can
934         negotiate themselves.
935         When we operate in pull mode, we only accept the caps that we
936         negotiated.
937         Make the sink go ASYNC to PAUSED, like all other sinks.
938         API: GstBaseSink::gst_base_sink_set_blocksize()
939         API: GstBaseSink::gst_base_sink_get_blocksize()
940         API: GstBaseSink::blocksize
941
942         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
943         (gst_base_src_set_live), (gst_base_src_is_live),
944         (gst_base_src_set_format), (gst_base_src_query_latency),
945         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
946         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
947         (gst_base_src_set_property), (gst_base_src_get_property):
948         * libs/gst/base/gstbasesrc.h:
949         Add typechecking in public API functions.
950         Add methods to control the blocksize in subclasses.
951         API: GstBaseSrc::gst_base_src_set_blocksize()
952         API: GstBaseSrc::gst_base_src_get_blocksize()
953
954 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
955
956         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
957         (buffer_probe), (event_probe), (GST_START_TEST):
958         We now see 3 events go through our pad, since basesink now sends
959         upstream latency events.
960
961 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
962
963         * gst/gstpipeline.c: (gst_pipeline_change_state):
964         Release the object lock before trying to flush the bus.
965
966 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
967
968         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
969         Forward LATENCY events upstreams so that elements know about the total
970         pipeline latency. Fixes #555307.
971
972 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
973
974         * plugins/elements/gstqueue.c:
975         Allow through queries when we don't know how
976         to adjust them (not TIME or BYTES), as otherwise it's
977         not possible to query the current position in order
978         to seek in other formats at all.
979
980 2008-10-08  Andy Wingo  <wingo@pobox.com>
981
982         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
983
984 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
985
986         * gst/gstghostpad.c:
987         * gst/gstghostpad.h:
988         Unbreak -good build, private is a reserved c++ keyword.
989
990 2008-10-08  Andy Wingo  <wingo@pobox.com>
991
992         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
993         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
994         removal: re-add GST_GHOST_PAD_CAST to the header.
995
996         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
997         (GstGhostPadClass): Publically expose these structures so as to
998         allow easy subclassing from C. Hide the member data behind a
999         private opaque data pointer.
1000
1001         * gst/gstghostpad.c: Adapt to store instance data in the type
1002         instance's private data region, not in the public struct.
1003
1004 2008-10-08  Andy Wingo  <wingo@pobox.com>
1005
1006         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1007         template via g_object_get(), be sure to unref it.
1008
1009         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1010
1011 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1012
1013         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1014         If we can't get a cache file don't try to save something to it.
1015         Dereferencing NULL pointers usually isn't a good idea.
1016
1017 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1018
1019         * tests/check/Makefile.am:
1020         * tests/check/gst/gstabi.c:
1021         * tests/check/gst/struct_sparc.h:
1022         * tests/check/libs/libsabi.c:
1023         * tests/check/libs/struct_sparc.h:
1024         Add Sparc ABI checks
1025
1026         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1027         Cast signed integer to unsigned to avoid a compiler warning.
1028
1029 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1030
1031         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1032         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1033         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1034         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1035         (gst_byte_reader_peek_int24_be):
1036         Use new GST_READ_UINT24_(LE|BE) macros.
1037
1038 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1039
1040         * docs/gst/gstreamer-sections.txt:
1041         * gst/gstutils.h:
1042         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1043         as it's too easy to break the ISO C strict aliasing rules with simple
1044         casts to the corresponding type and this would introduce hard to debug
1045         bugs. Fixes bug #545714.
1046
1047         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1048
1049 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1050
1051         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1052         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1053           Add 'Since' bits to gtk-doc chunks for new API.
1054
1055 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1056
1057         * docs/gst/gstreamer-sections.txt:
1058         Fix documentation
1059
1060 2008-10-06  Andy Wingo  <wingo@pobox.com>
1061
1062         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1063         that will be called on the malloc_data to free it. Basically a way
1064         to avoid subclassing when all you need is a different free
1065         function, i.e. free() instead of g_free().
1066
1067         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1068         calling the free function.
1069         (gst_buffer_init): Initialize the free function to g_free.
1070
1071 2008-10-06  Andy Wingo  <wingo@pobox.com>
1072
1073         * gst/gstghostpad.h:
1074         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1075         finishes the initialization of ghost pad. Useful for language
1076         bindings and subclassers of GstGhostPad. Fixes #539108.
1077         (gst_ghost_pad_new_full): Use the new constructor.
1078
1079 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1080
1081         Base on Patch by: Olivier Crete <tester at tester dot ca>
1082
1083         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1084         (gst_bin_remove_func), (update_degree),
1085         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1086         Keep track of pads that are being linked/unlinked and resync the state
1087         changes.
1088
1089         * gst/gstpad.c: (gst_pad_get_direction),
1090         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1091         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1092         (gst_pad_link_prepare), (gst_pad_link),
1093         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1094         (gst_pad_check_pull_range), (gst_pad_get_range),
1095         (gst_pad_pull_range):
1096         Some code cleanups, use macros to check pad direction.
1097         Don't need to take the lock on the pad direction.
1098         Post structure change when pads are linked/unlinked.
1099         Change some checks into _return_if_fail().
1100
1101         * tests/check/gst/gstbin.c:
1102         (test_link_structure_change_state_changed_sync_cb),
1103         (GST_START_TEST), (gst_bin_suite):
1104         Add testcase for pad link/unlinke resync during a state change.
1105         Fixes #510354.
1106
1107 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1108
1109         * docs/gst/gstreamer-sections.txt:
1110         * gst/gstmessage.c: (gst_message_new_structure_change),
1111         (gst_message_parse_structure_change):
1112         * gst/gstmessage.h:
1113         Implement STRUCTURE_CHANGED messages. These messages will be used to
1114         signal the parent bin of link/unlink operations that could require a
1115         resync when doing a state change. See ##510354.
1116         API: gst_message_new_structure_change()
1117         API: gst_message_parse_structure_change()
1118
1119 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1120
1121         * gst/gstquark.c:
1122         * gst/gstquark.h:
1123         Add some more quarks for new message. See #510354.
1124
1125 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1126
1127         * docs/libs/gstreamer-libs-docs.sgml:
1128         * docs/libs/gstreamer-libs-sections.txt:
1129         * libs/gst/base/Makefile.am:
1130         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1131         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1132         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1133         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1134         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1135         (gst_bit_reader_skip_to_byte):
1136         * libs/gst/base/gstbitreader.h:
1137         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1138         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1139         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1140         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1141         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1142         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1143         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1144         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1145         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1146         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1147         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1148         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1149         * libs/gst/base/gstbytereader.h:
1150         * tests/check/Makefile.am:
1151         * tests/check/libs/bitreader.c: (GST_START_TEST),
1152         (gst_bit_reader_suite):
1153         * tests/check/libs/bytereader.c: (GST_START_TEST),
1154         (gst_byte_reader_suite):
1155         API: Add bit reader and byte reader classes, including documentation
1156         and an extensive unit test suite. Fixes bug #553554.
1157
1158 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1159
1160         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1161         (gst_base_sink_query):
1162         Improve position reporting while flushing and other intermediate state
1163         changes. Fixes #553874.
1164
1165 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1166
1167         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1168
1169         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1170         Original patch by : Simon Descaries
1171         Fix small refount leak in caps compatibility check.
1172         Fixes #551676.
1173
1174 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1175
1176         * docs/pwg/advanced-request.xml:
1177           Fix 0.8 api usage in example. Fixes #554561
1178
1179         * docs/pwg/appendix-porting.xml:
1180           Change 0.9 to 0.10 here.
1181
1182 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1183
1184         * docs/manual/basics-data.xml:
1185           Change "event-event interaction" to "element-element interaction".
1186           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1187           updates.
1188
1189 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1190
1191         * configure.ac:
1192         Back to development -> 0.10.21.1
1193
1194 === release 0.10.21 ===
1195
1196 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1197
1198         * configure.ac:
1199           releasing 0.10.21, "Take These Things From Me"
1200
1201 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1202
1203         * configure.ac:
1204         0.10.20.4 pre-release
1205
1206 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1207
1208         * libs/gst/base/gstbasetransform.c:
1209         * plugins/elements/gstcapsfilter.c:
1210         * tests/check/Makefile.am:
1211         * tests/check/elements/.cvsignore:
1212         * tests/check/elements/capsfilter.c:
1213         Fix assertion in basetransform when the subclass chooses not to
1214         allocate a buffer in prepare_buffer(), and make capsfilter error out
1215         cleanly if requested to apply caps that don't completely specify the
1216         buffer. Fixes #551509
1217
1218 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1219
1220         * libs/gst/base/gstbasetransform.c:
1221         (gst_base_transform_prepare_output_buffer):
1222         Take new caps ref because our old one might have been gone when the
1223         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1224
1225 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1226
1227         * configure.ac:
1228           Do not probe availability of check unit test library when cross
1229           compiling, as test would not work anyway. Also cleanup verbose output
1230           of the check test. Fixes #551952.
1231
1232 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1233
1234         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1235
1236         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1237         Avoid leaking the parent ref when we fail changing the state of the
1238         element using gst_element_sync_state_with_parent(). Fixes #551978.
1239
1240 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1241
1242         * docs/manual/intro-motivation.xml::
1243           Remove some bits that no longer apply, update others (#551642).
1244
1245 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1246
1247         * configure.ac:
1248         0.10.20.2 pre-release
1249
1250         * po/LINGUAS:
1251         * po/id.po:
1252         * po/pt_BR.po:
1253
1254         New translations.
1255
1256 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1257
1258         * win32/common/config.h.in:
1259           Add GST_DATADIR, hard-code cpu to x86.
1260
1261         * win32/common/libgstreamer.def:
1262           Spaces to tabs.
1263
1264 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1265
1266         * gst/gsttaglist.h:
1267           Fix Since: markers for new geo tags.
1268
1269 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1270
1271         * gst/gsttaglist.h:
1272           Fix actual tag name define after renaming from altitude to elevation.
1273
1274 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1275
1276         * gst/gstpad.c: (add_unref_pad_to_list),
1277         (gst_pad_get_internal_links_default):
1278         Add fallback when calling the deprecated function on an element that
1279         implements the new internal_link handler.
1280
1281 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1282
1283         * docs/gst/gstreamer-sections.txt:
1284         * gst/gsttaglist.c:
1285         * gst/gsttaglist.h:
1286           Add new tags for geo location and clarify purpose of existing location
1287           tag. Fixes #481169
1288
1289 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1290
1291         Patch by: Olivier Crete <tester at tester dot ca>
1292
1293         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1294         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1295         Use thread-safe internal links iterator. Fixes #549504.
1296
1297 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1298
1299         Based on patch by: Olivier Crete <tester at tester dot ca>
1300
1301         * docs/gst/gstreamer-sections.txt:
1302         * win32/common/libgstreamer.def:
1303         * gst/gstpad.c: (gst_pad_init),
1304         (gst_pad_set_iterate_internal_links_function),
1305         (int_link_iter_data_free), (iterate_pad),
1306         (gst_pad_iterate_internal_links_default),
1307         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1308         * gst/gstpad.h:
1309         Add threadsafe replacement functions for getting internal links of an
1310         element. Deprecate the old internal links functions.
1311         API:GstPad::gst_pad_set_iterate_internal_links_function()
1312         API:GstPad::GstPadIterIntLinkFunction
1313         API:GstPad::gst_pad_iterate_internal_links()
1314         API:GstPad::gst_pad_iterate_internal_links_default()
1315
1316         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1317         (gst_proxy_pad_init):
1318         Implement threadsafe internal links.
1319
1320         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1321         Unit test for internal links on tee. See #549504.
1322
1323 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1324
1325         * tests/check/Makefile.am:
1326         libs/transform1 test requires libs/test_transform.c
1327
1328 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1329
1330         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1331         Die evil deadlock, die !
1332
1333 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1334
1335         * gst/gstutils.c: (gst_element_get_compatible_pad):
1336         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1337         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1338         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1339         not steal the refcount of the given caps as stated.
1340
1341         REVERT THIS COMMIT ONCE FIXED !
1342         REVERT THIS COMMIT ONCE FIXED !
1343         REVERT THIS COMMIT ONCE FIXED !
1344         REVERT THIS COMMIT ONCE FIXED !
1345         REVERT THIS COMMIT ONCE FIXED !
1346         REVERT THIS COMMIT ONCE FIXED !
1347
1348 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1349
1350         * gst/gstiterator.c:
1351         * gst/gstiterator.h:
1352         After 3 years it's about time to revise the documentation of the
1353         iterator objects.
1354
1355 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1356
1357         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1358         Make the internal links function less thread-unsafe and add some
1359         comments, dunno why.
1360
1361 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1362
1363         * gst/gst_private.h:
1364           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1365           build with --disable-gst-debug.
1366
1367 2008-08-28  David Schleef  <ds@schleef.org>
1368
1369         * gst/gstpadtemplate.c: Revert last change, since it breaks
1370           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1371           but shouldn't be enabled until we've released fixed versions
1372           of -good and -ffmpeg.
1373
1374 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1375
1376         * gst/gstobject.c:
1377           Put the gst_object_get_name() back in.
1378
1379 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1380
1381         * gst/gstpadtemplate.c:
1382           The old behaviour was that gst_pad_template_new() takes ownership of
1383           the caps. As we now call g_object_new() which calls g_object_set() and
1384           which copies the caps, we have to unref them to not leak them. Fixes
1385           make valgrid for me.
1386
1387 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1388
1389         * gst/gsturi.c:
1390           Don't segfault on input like "tel:+1-123-555-1234".
1391
1392 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1393
1394         * gst/gstobject.c:
1395           Due to popular request also include ObjectType in
1396           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1397
1398 2008-08-26  David Schleef  <ds@schleef.org>
1399
1400         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1401           src_val must be positive, because that's not a requirement.
1402           This causes problems with converting negative granulepos
1403           values for Dirac.
1404         * gst/gstquery.c: Same, gst_query_new_convert().
1405
1406 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1407
1408         * gst/gstclock.c: (gst_clock_add_observation):
1409         Add some more debugging to the clock slaving code.
1410
1411         * win32/common/libgstbase.def:
1412         Add new basetransform method.
1413
1414 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1415
1416         * gst/gstbin.c: (gst_bin_element_set_state):
1417         Take the (recursive) state lock between getting the locked state of an
1418         element and changing the element state. This allows the application to
1419         lock an element's state and then change its state without races.
1420
1421 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1422
1423         * gst/gstbin.c: (gst_bin_element_set_state):
1424         When an element is in the locked state we still want to update the
1425         base_time of the element.
1426
1427 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1428
1429         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1430         Use the result from gst_pad_set_caps() instead of assuming the element
1431         always accepted the caps computed by the default negotiate function.
1432
1433 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1434
1435         * docs/libs/gstreamer-libs-sections.txt:
1436         * libs/gst/base/gstbasetransform.c:
1437         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1438         (gst_base_transform_chain), (gst_base_transform_suggest),
1439         (gst_base_transform_reconfigure):
1440         * libs/gst/base/gstbasetransform.h:
1441         Implement method for reconfiguring basetransform.
1442         API: GstBaseTransform::gst_base_transform_reconfigure()
1443
1444 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1445
1446         patch by: Murray Cumming <murrayc@murrayc.com>
1447
1448         * gst/gstutils.c:
1449           Mention that this is just like gst_buffer_merge() but with extra
1450           unreffing for C coders. Advise language bindings not to wrap it.
1451           Fixes Bug #533856.
1452           
1453           Also fix file comment.
1454
1455 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1456
1457         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1458
1459         * plugins/elements/gstfakesink.c:
1460         * plugins/elements/gstfakesrc.c:
1461           Call super::event() when not handling it. Fixes #544855.
1462
1463 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1464
1465         Patch by: Alessandro Decina <alessandro@nnva.org>
1466         * plugins/elements/gstfilesrc.c:
1467           Use 64 bit variants of stat functions on win32, to enable support
1468           of large files there.
1469           Fixes #547277.
1470
1471 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1472
1473         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1474         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1475         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1476         (gst_base_sink_get_position), (gst_base_sink_change_state):
1477         Improve position reporting in the flushing state.
1478         Also report the position when we are not yet prerolled but we
1479         have a newsegment event. Fixes #543444.
1480         Improve the pull-based negotiation code.
1481
1482         * tests/check/elements/fakesink.c: (GST_START_TEST),
1483         (fakesink_suite):
1484         Add testcase for position reporting while flushing in PAUSED and
1485         PLAYING.
1486
1487         * tests/check/generic/sinks.c: (GST_START_TEST):
1488         Update unit-test, we can now query the position as soon as we receive a
1489         NEWSEGMENT event.
1490
1491 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1492
1493         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1494
1495         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1496         When the subclass event handler releases the PREROLL_LOCK, we could be
1497         in the flushing state and we have to ignore the event. Fixes #548394.
1498
1499 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1500
1501         * tools/gst-launch.1.in:
1502           Document GST_REGISTRY_UPDATE environment variable.
1503
1504 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1505
1506         * libs/gst/base/gstbasetransform.c:
1507         (gst_base_transform_prepare_output_buffer):
1508         If the element is configured in passthrough mode but the
1509         prepare_output_buffer gave us a new output buffer, discard that buffer
1510         and reuse the input buffer.
1511
1512 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1513
1514         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1515
1516         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1517         (gst_tee_request_new_pad), (gst_tee_release_pad),
1518         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1519         * plugins/elements/gsttee.h:
1520         Protect pad_alloc with a new lock so that we can be sure that nothing is
1521         performing a pad_alloc when removing the pad. Fixes #547835.
1522
1523         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1524         (buffer_alloc_harness_teardown), (app_thread_func),
1525         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1526         Added testcase for shutdown race.
1527
1528 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1529
1530         * gst/gstpad.h:
1531         Add doc
1532
1533 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1534
1535         * libs/gst/base/gstbasetransform.c:
1536         (gst_base_transform_prepare_output_buffer),
1537         (gst_base_transform_buffer_alloc):
1538         Go over the buffer_alloc function again and make sure we always end up
1539         allocating a buffer.
1540         Add some more docs.
1541         Avoid doing pad alloc when we have a pending suggestion because we
1542         cannot yet deal with changing caps in that case. Fixes #547728
1543
1544 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1545
1546         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1547
1548         * docs/manual/advanced-clocks.xml:
1549         * docs/manual/clocks.png:
1550         * docs/manual/diagrams-clocks.svg:
1551           Add one more image showing different times together with a describing
1552           paragraph. Fixes #547729.
1553
1554 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1555
1556         * win32/common/libgstbase.def:
1557         Add new method.
1558
1559 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1560
1561         * libs/gst/base/gstbasetransform.c:
1562         (gst_base_transform_transform_caps),
1563         (gst_base_transform_prepare_output_buffer),
1564         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1565         Don't overwrite the outsize when calculating the expected size of a new
1566         buffer because we still need it in case we cannot process the new
1567         buffer.
1568         When converting the size of the new buffer to an upstream size, actually
1569         use the expected size of the buffer, not some other random value.
1570         Use an atomic int to signal that a new upstream caps suggestion is
1571         available.
1572         When we can convert the current buffer to a new format, check if the
1573         buffer size is of the expected size and allocate a new buffer of the
1574         expected size when this is not the case. Fixes #546883.
1575
1576         * tests/check/libs/transform1.c: (GST_START_TEST):
1577         remove ifdeffed code from the unit test.
1578
1579 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1580
1581         * pkgconfig/gstreamer-uninstalled.pc.in:
1582         * pkgconfig/gstreamer.pc.in:
1583           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1584           called gstcontroller-0.10.
1585
1586 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1587
1588         * gst/gstchildproxy.h:
1589         * gst/gstpreset.h:
1590           Remove double interface from doc-string.        
1591
1592 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1593
1594         * libs/gst/base/gstbasesrc.c:
1595         * libs/gst/base/gstbasetransform.c:
1596           Fix headings in docs and gtk-doc warnings.
1597
1598 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1599
1600         * gst/gstregistrybinary.c:
1601           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1602           libc.
1603           Fixes #544776.
1604
1605 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1606
1607         * libs/gst/base/gstbasetransform.c:
1608         (gst_base_transform_buffer_alloc):
1609         Fix a "may be used unitialized" warning.
1610
1611 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1612
1613         * docs/gst/gstreamer-sections.txt:
1614         * gst/gstpreset.h:
1615           Document preset-iface vmethods.
1616
1617 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1618
1619         * docs/manual/advanced-interfaces.xml:
1620           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1621           only used to discover devices.
1622
1623 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1624
1625         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1626
1627         * gst/gst.c: (init_pre):
1628         Make sure gettext returns translations in UTF-8 encoding rather
1629         than in the current locale encoding (#546822).
1630
1631 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1632
1633         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1634         Fix subset test.
1635
1636         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1637         Improve unit test subset tests and add a testcase for the subset failure
1638         cases.
1639
1640         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1641         Improve subtraction unit test.
1642
1643 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1644
1645         * plugins/elements/gsttee.c:
1646           Unlock, instead of locking again.
1647
1648 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1649
1650         * gst/gstpad.h:
1651         Clarify the docs a bit more.
1652
1653 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1654
1655         * tests/examples/metadata/read-metadata.c:
1656           Don't leak old taglist.
1657
1658 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1659
1660         Patch by: Olivier Crete <tester at tester dot ca>
1661
1662         * gst/gststructure.c:
1663         (gst_structure_fixate_field_nearest_fraction):
1664         Avoid overflows in fixation code when dealing with MAXINT values, which
1665         v4l2src seems to do.
1666         Fixes #546328.
1667
1668         * tests/check/gst/gststructure.c: (GST_START_TEST):
1669         Make a unit test to check the fix. 
1670
1671 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1672
1673         * plugins/elements/gstcapsfilter.c: (copy_func),
1674         (gst_capsfilter_set_property):
1675         Use new caps suggestion feature of basetransform to request a caps
1676         negotiation upstream.
1677
1678 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1679
1680         * docs/libs/gstreamer-libs-sections.txt:
1681         Add new function:
1682         API: GstBaseTransform::gst_base_transform_suggest()
1683
1684         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1685         (gst_base_transform_init), (gst_base_transform_transform_caps),
1686         (gst_base_transform_transform_size),
1687         (gst_base_transform_configure_caps),
1688         (gst_base_transform_can_transform),
1689         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1690         (gst_base_transform_prepare_output_buffer),
1691         (gst_base_transform_buffer_alloc),
1692         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1693         (gst_base_transform_chain), (gst_base_transform_activate),
1694         (gst_base_transform_set_passthrough),
1695         (gst_base_transform_is_passthrough),
1696         (gst_base_transform_set_in_place),
1697         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1698         (gst_base_transform_set_qos_enabled),
1699         (gst_base_transform_is_qos_enabled),
1700         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1701         (gst_base_transform_reconfigure):
1702         * libs/gst/base/gstbasetransform.h:
1703         Rewrite of basetransform to perform negotiation outside of the
1704         buffer_alloc functions.  Fixes #545853.
1705
1706         * tests/check/libs/transform1.c: (GST_START_TEST),
1707         (buffer_alloc_ct2):
1708         Update unit test.
1709
1710 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1711
1712         * tests/check/gst/gstpreset.c:
1713           Only run preset tests when $HOME is writable. Preliminary fix for
1714           #545433.
1715
1716 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1717
1718         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1719         (gst_bin_change_state_func), (bin_handle_async_done),
1720         (gst_bin_handle_message_func):
1721         Fix race for bins that simulate ASYNC state changes by inserting
1722         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1723         pending ASYNC messages even when the bin does not have ASYNC children.
1724         We note detect this behaviour because we will receive an ASYNC message
1725         that is originating from the bin itself. 
1726         Fixes races with decodebin2 state changes.
1727
1728         * tests/check/gst/gstbin.c: (GST_START_TEST):
1729         Add some more debug.
1730
1731 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1732
1733         * gst/gsttaglist.c: (_gst_tag_initialize):
1734           Fix typo.
1735
1736 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * gst/gsttaglist.c:
1739           Argh. actually save the text before committing. Now adds
1740           gst_tag_merge_strings_with_comma() to gst_tag_register().
1741
1742 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1743
1744         * gst/gsttaglist.c:
1745         * gst/gsttaglist.h:
1746           Do as tim pointed out and actually register the new tag. Also improve
1747           te docs and use gst_tag_merge_strings_with_comma() method to allow
1748           retriving all keywords merged in one list.
1749
1750 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1751
1752         * configure.ac:
1753         * docs/gst/gstreamer.types:
1754           Revert 'accidential' change of the configure option removal. We still
1755           need to generate the types file in configure --disable-load-save.
1756
1757 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * docs/gst/gstreamer-sections.txt:
1760         * gst/gsttaglist.h:
1761           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1762
1763 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1764
1765         * gst/gstpadtemplate.c:
1766           (gst_pad_template_class_init), (gst_static_pad_template_get),
1767           (gst_pad_template_new), (gst_pad_template_pad_created),
1768           (gst_pad_template_set_property), (gst_pad_template_get_property):
1769           Add "name-template", "direction", "presence" and "caps" properties,
1770           so that gst_pad_template_new() is just a thin wrapper around
1771           g_object_new(), which is better for bindings. (Fixes: #539772)
1772
1773 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1774
1775         * gst/gsturi.c:
1776           Be more liberal in what URIs we accept.
1777           Do not unescape bits of the URI for no apparent reason before passing to
1778           the element. Fixes #545352.
1779
1780 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1781
1782         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1783
1784         * gst/gst.c:
1785         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1786
1787 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1788
1789         * configure.ac:
1790         * docs/gst/gstreamer-sections.txt:
1791         * docs/gst/gstreamer.types:
1792         * docs/gst/gstreamer.types.in:
1793         * gst/Makefile.am:
1794         * gst/gst.c:
1795         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1796         * gst/gstconfig.h.in:
1797         * gst/gstelement.c: (gst_element_get_index):
1798         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1799         (gst_registry_binary_load_feature),
1800         (gst_registry_binary_read_cache):
1801         * gst/gstregistryxml.c: (load_feature),
1802         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1803         * plugins/Makefile.am:
1804         * tools/gst-indent:
1805         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1806         (print_plugin_features), (print_element_features):
1807         * tools/gst-xmlinspect.c: (print_event_masks),
1808         (print_element_info):
1809         * win32/common/gstconfig.h:
1810         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1811
1812         Disabling the indexers and URI handler code will only reduce the
1813         required amount of memory by a very small amount but on the other hand
1814         requires much more maintaince work. Apart from that many places of
1815         code are broken when disabling them.
1816
1817         Disabling the enum types doesn't reduce the required amount of memory
1818         by more than a few bytes and makes it hard to fix bugs like #539772,
1819         i.e. use the enums as GObject properties.
1820
1821 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1822
1823         * docs/design/part-TODO.txt:
1824         Add some thoughts and problems with upstream renegotiation.
1825
1826 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1827
1828         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1829         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1830         Remove silly redundant debug.
1831         Add some more debug info.
1832         Clarify the docs regarding new caps received from pad_alloc.
1833
1834 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1835
1836         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1837         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1838         Make setting the caps more threadsafe.
1839
1840 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1841
1842         * docs/design/part-element-transform.txt:
1843         Update docs.
1844
1845 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1846
1847         * plugins/elements/gstqueue.c: (gst_queue_init),
1848         (gst_queue_acceptcaps):
1849         Add and use a custom acceptcaps function instead of falling back to the
1850         potentially less optimized default implementation.
1851
1852 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1853
1854         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1855           Only sanity-check the buffer size if requested_caps == buffer_caps
1856           (ie. don't take pad caps into account, they're not relevant here)
1857
1858 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1859
1860         * plugins/elements/gsttee.c:
1861         * plugins/elements/gsttee.h:
1862           Reverting as not everything is clear yet. Needs some general design
1863           work.
1864
1865 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1866
1867         * ChangeLog:
1868           ChangeLog surgery for tee commit.
1869
1870 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1871
1872         * docs/gst/gstreamer-sections.txt:
1873           Cleanup section-file.
1874
1875 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1876
1877         * plugins/elements/gsttee.c:
1878         * plugins/elements/gsttee.h:
1879           Relay tag events in tee. Fixes parts of #474016.
1880           Downgrades 3 reoccurring debugs to log.
1881
1882 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1883
1884         * configure.ac:
1885         * libs/gst/Makefile.am:
1886           Build the net library if we have winsock2.
1887
1888 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1889
1890         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1891
1892         * docs/manual/advanced-threads.xml:
1893         * docs/manual/diagrams-pipelines.svg:
1894         * docs/manual/hello-world.png:
1895         * docs/manual/linked-elements.png:
1896         * docs/manual/mime-world.png:
1897         * docs/manual/queue.png:
1898         * docs/manual/thread-buffering.png:
1899         * docs/manual/thread-synchronizing.png:
1900           Replace one diagram with two separate ones and updates others.
1901           Fixes #542401.
1902
1903 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1904
1905         * gst/gstelement.h:
1906         Fix link in documentation.
1907
1908 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1909
1910         * gst/gstmessage.c:
1911         Fix confusing documentation.
1912
1913 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1914
1915         * libs/gst/base/gstbasesrc.h:
1916         revert the changes to the header file for the ABI.
1917
1918 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1919
1920         * libs/gst/base/gstbasesrc.c:
1921         * libs/gst/base/gstbasesrc.h:
1922         Don't cache the seekable status.
1923         Fixes bug #544174
1924
1925 2008-07-24  Rene Stadler  <mail@renestadler.de>
1926
1927         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1928         code to close the pipeline graph.  This prevents the program from
1929         printing internal data flow errors.
1930
1931 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1932
1933         * docs/manual/basics-bus.xml:
1934         Correct typo. Fixes bug #544320.
1935
1936 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1937
1938         * configure.ac:
1939           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
1940           Add check (taken from -base) for winsock, adds WIN32_LIBS
1941         * gst/Makefile.am:
1942           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
1943           winsock.
1944           Define GST_EXPORTS when building libgstreamer (only used on win32)
1945         * gst/gst_private.h:
1946         * gst/gstinfo.h:
1947           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
1948           for symbols that we need to export in both these files.
1949         * gst/gstpoll.c:
1950           Include gst_private.h higher up to avoid some compile problems on win32.
1951
1952 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1953
1954         * gst/gstvalue.c:
1955         Fix typos.
1956
1957 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1958
1959         * gst/gstcaps.c:
1960         Previous commit was wrong NULL caps does not exist
1961         and indicate an error, so also add a FIXME to
1962         gst_caps_is_equal where NULL caps are accepted.
1963
1964 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
1965
1966         * gst/gstcaps.c:
1967         Allow passing of NULL to gst_caps_union
1968
1969 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
1970
1971         * gst/gstghostpad.c:
1972         Add in doc that gst_ghost_pad_set_target can accept
1973         NULL to clear target
1974
1975 2008-07-15  Michael Smith <msmith@songbirdnest.com>
1976
1977         * gst/gstplugin.c:
1978         * gst/gstregistry.c:
1979           GstRegistryPool doesn't exist; don't refer to it in docs.
1980           Don't refer to functions that don't exist in docs, it's
1981           unhelpful.
1982
1983 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1984
1985         * gst/gst.c:
1986         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
1987
1988 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1989
1990         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
1991
1992         * docs/pwg/building-testapp.xml:
1993         Don't use an undeclared variable in the example program.
1994         Fixes bug #542573.
1995
1996 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
1997
1998         * gst/gstdebugutils.c:
1999           Squeeze ghost-pad links and remove <> from classname labels to save
2000           more horizontal space.
2001
2002 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2003
2004         * gst/gstdebugutils.c:
2005           Give request and sometimes pads a different shpe style. Condense the
2006           graphs a little more.
2007
2008 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2009
2010         * configure.ac:
2011           Don't require flex and bison if the parser is disabled.
2012
2013 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2014
2015         * libs/gst/controller/gstinterpolationcontrolsource.c:
2016         (_list_find_sorted_custom):
2017         Don't use declarations after statements.
2018
2019 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2020
2021         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2022         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2023         of the the child-added / -removed signals as GstChildProxy
2024         only supports GstObjects.
2025
2026 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2027
2028         * gst/gstdebugutils.c:
2029         Fix memleak
2030
2031 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2032
2033         Patch by: Alessandro Decina <alessandro at nnva dot org>
2034
2035         * gst/gstpoll.c:
2036         Fix "ignored return value" compiler warning with newer glibc.
2037
2038 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2039
2040         * gst/gstchildproxy.c:
2041         Fix copy&paste error in gst_child_proxy_removed() documentation.
2042
2043 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2044
2045         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2046           Print error debug message if plugin description fields that should
2047           be set are NULL.
2048
2049         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2050           Don't crash if the string to serialise is NULL (it really should
2051           not be, but apparently this used to work with the xml registry ...).
2052
2053 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2054
2055         * tools/gst-plot-timeline.py:
2056         Fix parsing of log messages
2057
2058 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2059
2060         * win32/common/libgstbase.def::
2061           Sort alphabetically so make check-exports doesn't barf.
2062
2063 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2064
2065         * gst/gstevent.c:
2066           Use gst_format_get_name() to improve debug output.
2067
2068         * gst/gstpreset.c:
2069           Remove #ifdef'ed code. Add TODO comment.
2070
2071         * gst/gstsegment.c:
2072           Add debug output to ease spotting format != segment.format assertions.
2073
2074 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2075
2076         * tests/check/libs/gdp.c: (gst_dp_suite):
2077         Also enable the GDP unit test again on PPC now that the bug
2078         is fixed.
2079
2080 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2081
2082         * libs/gst/dataprotocol/dataprotocol.c:
2083         Don't write to the same region of memory as a uint64 and uint16
2084         as this breaks strict aliasing rules and apparantly breaks on PPC
2085         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2086
2087 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2088
2089         * libs/gst/controller/gstinterpolationcontrolsource.c:
2090           Optimize list handling. Use own find function. Exploit that fact that
2091           the list is sorted. Also pass back the node before, so that we can
2092           insert quickly. Have a fast path for append.
2093
2094 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2095
2096         * docs/design/draft-framestep.txt:
2097         * docs/design/part-negotiation.txt:
2098           Fix two typos.
2099
2100 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2101
2102         * configure.ac:
2103           Show configuration sumary after configure run. Based on patch by
2104           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2105
2106 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2107
2108         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2109
2110         * docs/manual/advanced-autoplugging.xml:
2111         * docs/manual/advanced-threads.xml:
2112         * docs/manual/basics-bins.xml:
2113         * docs/manual/basics-elements.xml:
2114         * docs/manual/basics-helloworld.xml:
2115         * docs/manual/basics-pads.xml:
2116           Add scale factor for pdf output.
2117
2118         * docs/manual/intro-basics.xml:
2119           Switched sections "pads" and "bins" and added a pipeline diagram.
2120
2121         * docs/manual/intro-gstreamer.xml:
2122           Added more info on gstreamer.
2123
2124         * docs/manual/intro-motivation.xml:
2125           Commented out the whole section "current problem", which sounds
2126           historical and somehow osolete; it could be turned in a positive
2127           way and reused to improve the design principles.
2128
2129         * docs/manual/intro-preface.xml:
2130           - Update URLs to library.gnome.org. 
2131           - Do not mention GTK+ in preliminary reading (irrelevant). 
2132           - Mention Plugin Writer's Manual and further reading only in the
2133             previous section.
2134           - Added a list of most relevant GObject/glib topics.
2135
2136         * docs/manual/Makefile.am:
2137         * docs/manual/bin-element-ghost.fig:
2138         * docs/manual/bin-element-ghost.png:
2139         * docs/manual/bin-element-noghost.fig:
2140         * docs/manual/bin-element-noghost.png:
2141         * docs/manual/bin-element.fig:
2142         * docs/manual/bin-element.png:
2143         * docs/manual/filter-element-multi.fig:
2144         * docs/manual/filter-element-multi.png:
2145         * docs/manual/filter-element.fig:
2146         * docs/manual/filter-element.png:
2147         * docs/manual/gstreamer-overview.png:
2148         * docs/manual/hello-world.fig:
2149         * docs/manual/hello-world.png:
2150         * docs/manual/linked-elements.fig:
2151         * docs/manual/linked-elements.png:
2152         * docs/manual/mime-world.fig:
2153         * docs/manual/mime-world.png:
2154         * docs/manual/queue.fig:
2155         * docs/manual/queue.png:
2156         * docs/manual/simple-player.png:
2157         * docs/manual/sink-element.fig:
2158         * docs/manual/sink-element.png:
2159         * docs/manual/src-element.fig:
2160         * docs/manual/src-element.png:
2161         * docs/manual/diagrams-general.svg:
2162         * docs/manual/diagrams-pipelines.svg:
2163           Removed .fig, added .png counterpart.
2164           
2165           Fixes: #539137
2166
2167 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2168
2169         * plugins/elements/gstmultiqueue.c:
2170         * plugins/elements/gstmultiqueue.h:
2171         revert extra-size-buffers stuff, caused some race conditions
2172         and extra-size-buffers is not used anymore. Docs needs some updates
2173
2174 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2175
2176         * win32/common/config.h:
2177         * win32/common/gstenumtypes.c:
2178         * win32/common/gstenumtypes.h:
2179         * win32/common/gstversion.h:
2180           Update win32 files.
2181
2182 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2183
2184         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2185           (GST_DEBUG_BIN_TO_DOT_FILE):
2186           Add missing Since' markers to gtk-doc blurbs.
2187
2188 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2189
2190         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2191         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2192         (set_caps_1), (set_caps_ct1), (transform_ct1),
2193         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2194         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2195         (transform_size_ct2), (buffer_alloc_ct2):
2196         Add some more tests with switching caps in buffer_alloc.
2197
2198 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2199
2200         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2201         (gst_test_trans_class_init), (result_sink_chain),
2202         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2203         (gst_test_trans_push), (gst_test_trans_pop):
2204         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2205         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2206         (set_caps_1), (set_caps_ct1), (transform_ct1),
2207         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2208         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2209         (transform_size_ct2), (buffer_alloc_ct2),
2210         (gst_basetransform_suite):
2211         More tests, prepare for tests with switching caps in buffer_alloc.
2212
2213 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2214
2215         * plugins/elements/gstmultiqueue.c:
2216         * plugins/elements/gstmultiqueue.h:
2217         Fix dead-lock in underrun_cb
2218
2219 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2220
2221         * docs/design/part-states.txt:
2222         Fix device open/close docs.
2223
2224 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2225
2226         * ChangeLog:
2227           Mention bugnumber for last commit.
2228
2229 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2230
2231         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2232
2233         * docs/manual/manual.xml:
2234         - Reorganised the previous "introduction" bundle into Foreword,
2235         Introduction, and About GStreamer. The two first are <preface>
2236         docbook elements. The later is the first part of the book.
2237         - added intro-gstreamer.xml (content partially from
2238         intro-preface.xml)
2239         - moved appendix-win32.xml into appendix-integration.xml
2240
2241         * docs/manual/intro-preface.xml: gstreamer section moved...
2242         * docs/manual/intro-gstreamer.xml: ...here. new file.
2243
2244         * docs/manual/appendix-win32.xml: removed file. Content moved...
2245         * docs/manual/appendix-integration.xml: ...here.
2246         
2247         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2248         * docs/manual/appendix-checklist.xml: ...here.
2249         
2250         Fixes: 538764
2251
2252 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2253
2254         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2255
2256         * docs/manual/basics-helloworld.xml:
2257         * docs/manual/hello-world.fig:
2258           - Explicitely include glib.h.
2259           - Do not use global variables.
2260           - Use g_printerr() instead of g_print().
2261           - Minor formating/renaming to increase readibility.
2262           - Renamed new_pad() to on_pad_added()
2263           - Improved explenatory comments.
2264           - renamed ogg parser to ogg demuxer
2265           - Use "autoaudiosink" instead of "alsasink".
2266           Fixes: #538619
2267
2268 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2269
2270         * ChangeLog:
2271           Remove cvs conflict marker.
2272
2273 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2274
2275         * docs/README:
2276           Document that for plgin-docs we extraxt he short-desc from the element
2277           details.
2278
2279         * docs/design/part-states.txt:
2280           Tell that devices should be closed in PAUSED -> READY.
2281
2282         * docs/manual/README:
2283           Document how tests in the manual are handled.
2284
2285         * docs/manuals.mak:
2286           Typo in comment.
2287
2288 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2289
2290         * gst/gstbin.c: (bin_query_latency_fold):
2291         Only care about latency min and max when the sink is actually a live
2292         sink.
2293
2294 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2295
2296         * docs/design/part-block.txt:
2297         Fix typo.
2298
2299         * docs/design/part-element-transform.txt:
2300         Add notes about why transform needs to know input/output sizes.
2301         Add some issues that need to be solved.
2302         Add some more use cases.
2303
2304         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2305         (gst_test_trans_class_init), (result_sink_chain),
2306         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2307         (gst_test_trans_push), (gst_test_trans_pop):
2308         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2309         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2310         (set_caps_1), (set_caps_ct1), (transform_ct1),
2311         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2312         (gst_basetransform_suite):
2313         Add suport for different pad templates and buffer-alloc.
2314         Add more checks for caps and buffer-alloc.
2315         Add checks for proxy buffer alloc.
2316         Add unit test for copy transform.
2317
2318 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2319
2320         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2321
2322         * docs/manual/appendix-integration.xml:
2323         * docs/manual/appendix-licensing.xml:
2324         * docs/manual/basics-elements.xml:
2325         * docs/manual/basics-helloworld.xml:
2326         * docs/manual/basics-pads.xml:
2327         * docs/manual/highlevel-components.xml:
2328         * docs/manual/highlevel-xml.xml:
2329         * docs/manual/intro-basics.xml:
2330         * docs/manual/intro-preface.xml:
2331           Typo and formatting fixes (#538594).
2332
2333 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2334
2335         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2336         Fix some memory leaks and uses of object instances that we don't
2337         actually own.
2338
2339 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2340
2341         * plugins/elements/gstmultiqueue.c:
2342         Add functionality to extra-size-buffers property.
2343
2344 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2345
2346         * plugins/elements/gstmultiqueue.c:
2347         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2348         activate the pads if they are added in STATE_NULL.
2349
2350 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2351
2352         * docs/libs/gstreamer-libs-sections.txt:
2353         Add new API to doc
2354         * libs/gst/check/gstcheck.c:
2355         * libs/gst/check/gstcheck.h:
2356         API: gst_check_teardown_pad_by_name
2357
2358 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2359
2360         * libs/gst/check/gstcheck.c:
2361         * libs/gst/check/gstcheck.h:
2362         Also setup request pads and allow setup pads by name (#537812)
2363         API: gst_check_setup_src_pad_by_name
2364         API: gst_check_setup_sink_pad_by_name
2365
2366 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2367
2368         * tests/check/gst/gstbuffer.c:
2369         * tests/check/pipelines/parse-launch.c:
2370           Use HAVE_VALGRIND_H some more.
2371
2372 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2373
2374         * scripts/cvs-update.sh:
2375           Pass arguments to make.
2376           Run autoregen.sh if Makefile is not there.
2377
2378 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2379
2380         * configure.ac:
2381         * gst/gstinfo.c:
2382           Don't assume that <valgrind/valgrind.h> exists just because
2383           the binary is there.
2384
2385 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2386
2387         * tests/check/Makefile.am:
2388         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2389         (gst_test_trans_class_init), (gst_test_trans_init),
2390         (gst_test_trans_set_data), (result_sink_chain),
2391         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2392         (gst_test_trans_pop):
2393         * tests/check/libs/transform1.c: (GST_START_TEST),
2394         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2395         Add some test basetransform element and the beginnings of various
2396         unit tests for it.
2397
2398 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2399
2400         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2401         Increase code readability.
2402         Don't try to compare buffer offsets when ther are invalid.
2403
2404 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2405
2406         * docs/design/Makefile.am:
2407           Dist some more design docs.
2408
2409         * docs/random/moving-plugins:
2410           Small addition: good plugins mustn't have functional code
2411           within assertion macros.
2412
2413 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2414
2415         * docs/design/draft-framestep.txt:
2416         Some ideas about a framestep API
2417
2418         * docs/design/part-element-transform.txt:
2419         Start design and use cases for basetransform in order to get it
2420         fixed soon.
2421
2422 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2423
2424         * gst/gsttaglist.h:
2425           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2426           be in UTF-8 encoding.
2427
2428 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2429
2430         * gst/gstbus.c:
2431           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2432
2433 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2434
2435         * plugins/elements/gstcapsfilter.c:
2436         * plugins/elements/gstfakesink.c:
2437         * plugins/elements/gstfakesrc.c:
2438         * plugins/elements/gstfdsink.c:
2439         * plugins/elements/gstfdsrc.c:
2440         * plugins/elements/gstfilesink.c:
2441         * plugins/elements/gstfilesrc.c:
2442         * plugins/elements/gstidentity.c:
2443         * plugins/elements/gstmultiqueue.c:
2444         * plugins/elements/gstqueue.c:
2445         * plugins/elements/gsttee.c:
2446         * plugins/elements/gsttypefindelement.c:
2447           Remove short_description. Add basic docs for gsttypefindelement.
2448           Simplify markup for fakesrc/fdsrc.
2449
2450 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2451
2452         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2453         Added Since doc.
2454
2455 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2456
2457         Patch by: Joel Larsson <tilljoel at gmail dot com>
2458
2459         * docs/plugins/gstreamer-plugins.args:
2460         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2461         (gst_fd_src_init), (gst_fd_src_update_fd),
2462         (gst_fd_src_set_property), (gst_fd_src_get_property),
2463         (gst_fd_src_create):
2464         * plugins/elements/gstfdsrc.h:
2465         Add timeout property like udpsrc. Fixes #538628.
2466         Add some more docs and example pipelines.
2467
2468 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2469
2470         * docs/libs/gstreamer-libs-sections.txt:
2471         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2472         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2473         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2474         (gst_base_sink_do_sync):
2475         * libs/gst/base/gstbasesink.h:
2476         * win32/common/libgstbase.def:
2477         Add method to allow sinks to specify additional delay between the sync
2478         times and the actual rendering of the data.
2479         API: gst_base_sink_set_render_delay()
2480         API: gst_base_sink_get_render_delay()
2481
2482 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2483
2484         * configure.ac:
2485         Bump version number back to dev -> 0.10.20.1
2486
2487 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2488
2489         * docs/gst/gstreamer-sections.txt:
2490         * gst/gsttaglist.c: (_gst_tag_initialize):
2491         * gst/gsttaglist.h:
2492         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2493         Fixes bug #538568.
2494
2495 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2496
2497         * libs/gst/controller/gstcontroller.c:
2498           Revert one change, that make ret value possible uninitialized.
2499
2500 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2501
2502         * libs/gst/controller/gstcontroller.c:
2503           Use freeze/thaw notify to sync notify emission a bit (its also more
2504           efficient). Move debug output to LOG (is called a lot in a loop).
2505           Always unset g_values if the have been initialized.
2506
2507 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2508
2509         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2510         (gst_base_sink_wait_eos), (gst_base_sink_event):
2511         If we have not seen a buffer before EOS, use the segment values to
2512         report the current position instead of invalid positions.
2513
2514 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * docs/plugins/tmpl/.cvsignore:
2517         * tests/check/gst/.cvsignore:
2518           Ignore more.
2519
2520 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2521
2522         * libs/gst/controller/gstinterpolation.c:
2523         * libs/gst/controller/gstinterpolationcontrolsource.c:
2524         * tests/check/libs/controller.c:
2525           Rewrite handling of default values. Fix overflow with unsigned types
2526           in linear interpolation. Remove now obsolete _first_value() function.
2527           Add more tests. Fixes #538201.
2528
2529 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2530
2531         * libs/gst/base/gstbasetransform.c:
2532         (gst_base_transform_class_init), (gst_base_transform_init),
2533         (gst_base_transform_transform_caps),
2534         (gst_base_transform_prepare_output_buffer):
2535         Add debug info.
2536         When a buffer is writable, its metadata is also writable so we don't
2537         need to subbuffer (which then makes the buffer not-writable anymore).
2538
2539 === release 0.10.20 ===
2540
2541 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2542
2543         * configure.ac:
2544           releasing 0.10.20, "You Crazy Diamond"
2545
2546 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2547
2548         * configure.ac:
2549         0.10.19.3 pre-release
2550
2551 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2552
2553         * configure.ac:
2554         * gst/gstpreset.c:
2555         Rename DATADIR to GST_DATADIR to avoid build problems
2556         on win32. Patch By: David Schleef <ds@schleef.org>
2557         Fixes: #536857
2558
2559 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2560
2561         * configure.ac:
2562         Explicitely link with -ldl if dladdr() is found there. Before it was
2563         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2564         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2565
2566 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2567
2568         * gst/gsterror.c: (_gst_stream_errors_init):
2569           Fix typo (spotted by Fabricio Godoy, #536723).
2570
2571 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2572
2573         * configure.ac:
2574         0.10.19.2 pre-release
2575
2576 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2577
2578         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2579         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2580         Add some debug.
2581         Make sure we don't generate invalid QoS messages.
2582
2583 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2584
2585         * gst/gstevent.c: (gst_event_new_qos):
2586         Add some assert and docs for invalid input to the qos function.
2587
2588 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2589
2590         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2591         (gst_base_sink_get_position):
2592         The reported position must always be smaller than the last seen
2593         timestamps (or timestamp + duration for reverse).
2594
2595 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2596
2597         Patch by: Rob Bradford <rob at robster dot org dot uk>
2598
2599         * gst/gstregistry.c: (gst_registry_scan_path_level):
2600         Don't recurse into .debug directories as some distros install
2601         the debugging symbols next to the plugins in .debug directories
2602         and dlopen() crashes on them sometimes. Fixes bug #508070.
2603
2604         Add FIXME for 0.11 to not recurse into directories at all because
2605         it's very inconsistent to the behaviour of other PATH environment
2606         variables.
2607
2608 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2609
2610         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2611         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2612         Fix position query range checks in reverse playback.
2613
2614 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2615
2616         * gst/gstelement.c:
2617         * gst/gstelement.h:
2618         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2619         clear of the reference to the resulting pad must be released later
2620         or not, resulting in possible leaks. Fixes bug #533865.
2621
2622 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2623
2624         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2625
2626         * gst/gstelementfactory.c:
2627         Small doc fix. Fixes #535285.
2628
2629 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2630
2631         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2632
2633         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2634         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2635         (gst_base_src_loop), (gst_base_src_set_flushing),
2636         (gst_base_src_change_state):
2637         Make sending an EOS event to the basesrc non-blocking even if the
2638         implementation does blocking waits in the create function. This is done
2639         by unlocking the create function when EOS is sent.
2640         Fixes #535218.
2641
2642 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2643
2644         * tools/gst-inspect.c: (print_element_properties_info):
2645         If possible print the element type of GValueArray properties.
2646
2647 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2648
2649         * gst/gstiterator.c:
2650         Remove an unused field from the private GstListIterator struct.
2651
2652 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2653
2654         * libs/gst/controller/gstcontroller.c:
2655           Add parameter guards.
2656
2657 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2658
2659         * tests/check/gst/gstpipeline.c:
2660           Revert test change and add comment why it should not work.
2661
2662 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2663
2664         * tests/check/gst/gstpipeline.c:
2665           Extending the test a little to verify that we also get the NULL state-
2666           change message.
2667
2668 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2669
2670         * gst/gstpreset.c: (gst_preset_default_get_meta),
2671           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2672           (gst_preset_load_preset), (gst_preset_save_preset),
2673           (gst_preset_rename_preset), (gst_preset_delete_preset),
2674           (gst_preset_set_meta):
2675           Add Since: markers to docs blurbs.
2676
2677         * win32/common/libgstreamer.def:
2678           Add recently-added API.
2679
2680 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2681
2682         Patch by: Stefan Kost  <ensonic@users.sf.net>
2683
2684         * configure.ac:
2685         Add DATADIR for storing presets.
2686
2687         * docs/gst/gstreamer-docs.sgml:
2688         * docs/gst/gstreamer-sections.txt:
2689         * docs/gst/gstreamer.types.in:
2690         Add GstPreset to docs.
2691
2692         * gst/Makefile.am:
2693         * gst/gst.h:
2694         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2695         (preset_open_and_parse_header), (preset_parse_version),
2696         (preset_merge), (preset_get_keyfile),
2697         (gst_preset_default_get_preset_names),
2698         (gst_preset_default_get_property_names),
2699         (gst_preset_default_load_preset),
2700         (gst_preset_default_save_presets_file),
2701         (gst_preset_default_save_preset),
2702         (gst_preset_default_rename_preset),
2703         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2704         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2705         (gst_preset_default_reset), (gst_preset_get_preset_names),
2706         (gst_preset_get_property_names), (gst_preset_load_preset),
2707         (gst_preset_save_preset), (gst_preset_rename_preset),
2708         (gst_preset_delete_preset), (gst_preset_set_meta),
2709         (gst_preset_get_meta), (gst_preset_class_init),
2710         (gst_preset_base_init), (gst_preset_get_type):
2711         * gst/gstpreset.h:
2712         Add GstPreset to core. Fixes #396779
2713
2714         * tests/check/Makefile.am:
2715         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2716         (gst_preset_test_set_property), (gst_preset_test_class_init),
2717         (gst_preset_test_base_init), (gst_preset_test_get_type),
2718         (gst_preset_test_plugin_init), (GST_START_TEST),
2719         (remove_preset_file), (test_setup), (test_teardown),
2720         (gst_preset_suite):
2721         Add GstPreset unit tests.
2722
2723 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2724
2725         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2726         The default event function on a sinkpad should return TRUE when
2727         there are no internal links but should collect the return values from
2728         the internal links otherwise.
2729
2730 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2731
2732         * plugins/elements/gsttypefindelement.c:
2733         (gst_type_find_element_src_event),
2734         (gst_type_find_element_handle_event):
2735         Use faster and safer _pad_push_event().
2736
2737 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2738
2739         * docs/gst/gstreamer-sections.txt:
2740         * gst/gstutils.c: (element_find_unlinked_pad),
2741           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2742         * gst/gstutils.h:
2743           API: add gst_bin_find_unlinked_pad()
2744           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2745
2746 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2747
2748         * gst/gstclock.c:
2749         * gst/gstclock.h:
2750         * gst/gsttask.c:
2751         * gst/gsttask.h:
2752         Fixed a bunch of typos.
2753
2754 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2755
2756         * gst/gstpad.h:
2757         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2758           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2759           (gst_parse_bin_from_description_full):
2760         * gst/gstutils.h:
2761           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2762
2763 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2764
2765         * docs/pwg/advanced-tagging.xml:
2766           Small docs update, can't be bothered to rewrite the nonsensical
2767           examples right now.
2768
2769 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2770
2771         * gst/gstevent.h:
2772           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2773
2774 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2775
2776         * gst/parse/grammar.y:
2777           Remove unneeded casts.
2778
2779 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2780
2781         * gst/parse/grammar.y:
2782         * tests/check/pipelines/parse-launch.c:
2783           Get all missing elements from a parse launch string if possible
2784           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2785
2786 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2787
2788         * tests/check/Makefile.am:
2789         * tests/check/pipelines/parse-launch.c:
2790           Add some unit tests for the new gst_parse_launch*_full() API.
2791           (Exposes a previously-existing memory leak in the error code
2792           path, so adding to VALGRIND_TO_FIX for now).
2793
2794 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2795
2796         * docs/gst/gstreamer-sections.txt:
2797         * gst/gst.c: (init_post):
2798         * gst/gst_private.h: (_GstParseContext):
2799         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2800           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2801           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2802           (gst_parse_launch_full):
2803         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2804           (GstParseFlags), (GstParseContext):
2805         * gst/gstutils.c: (gst_parse_bin_from_description),
2806           (gst_parse_bin_from_description_full):
2807         * gst/gstutils.h:
2808         * gst/parse/grammar.y:
2809         * gst/parse/types.h:
2810         * win32/common/libgstreamer.def:
2811           Add new gst_parse_*_full API (#528178):
2812           API: gst_parse_launch_full()
2813           API: gst_parse_launchv_full()
2814           API: gst_parse_bin_from_description_full()
2815           API: gst_parse_context_new()
2816           API: gst_parse_context_free()
2817           API: gst_parse_context_get_missing_elements()
2818
2819 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2820
2821         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2822
2823         * docs/faq/gst-uninstalled:
2824           Also support ffmpeg in gst-uninstalled.
2825
2826 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2827
2828         * configure.ac:
2829         After discussion on IRC use the binary registry as default
2830         but allow to disable it with --disable-binary-registry.
2831
2832         * win32/common/libgstreamer.def:
2833         Add the two new symbols for the binary registry.
2834
2835 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2838         * gst/gstutils.c: (gst_parse_bin_from_description):
2839         * gst/parse/grammar.y: (graph):
2840           More guards against bad input; typo fix; some minor clean-ups.
2841
2842 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2843
2844         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2845
2846         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2847         If nothing else can be used, use the last buffer's start time as
2848         the segment's last stop. Fixes bug #534258.
2849
2850 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2851
2852         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2853           Move size sanity check to the right place: downstream may return
2854           a buffer with a smaller size if the buffer caps are different than
2855           the requested ones, as may happen when doing reverse negotiation.
2856
2857 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2858
2859         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2860         (gst_file_sink_render):
2861         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2862         (gst_file_src_start):
2863         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2864         use it yet.
2865
2866 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2867
2868         * gst/gstpad.c: (gst_pad_load_and_link):
2869         * gst/gstutils.c: (gst_element_link_pads),
2870         (gst_element_unlink_pads):
2871         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2872         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2873         (gst_check_teardown_sink_pad),
2874         (gst_check_element_push_buffer_list):
2875         * tests/check/elements/fakesink.c: (GST_START_TEST):
2876         * tests/check/elements/filesink.c:
2877         * tests/check/elements/filesrc.c: (GST_START_TEST):
2878         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2879         (mq_sinkpad_to_srcpad):
2880         * tests/check/elements/tee.c: (GST_START_TEST):
2881         * tests/check/generic/sinks.c: (GST_START_TEST):
2882         * tests/check/gst/gstbin.c: (GST_START_TEST):
2883         * tests/check/gst/gstevent.c: (GST_START_TEST):
2884         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2885         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2886         * tests/check/gst/gstquery.c: (GST_START_TEST):
2887         * tests/check/gst/gstutils.c: (GST_START_TEST):
2888         * tests/check/libs/basesrc.c: (GST_START_TEST):
2889         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2890         (gst_parse_test_element_change_state):
2891         Don't use gst_element_get_pad().
2892
2893 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2894
2895         * docs/Makefile.am:
2896         Fix installing plugin documentation when gtk-doc is disabled.
2897
2898 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2899
2900         * docs/manual/advanced-autoplugging.xml:
2901         * docs/manual/basics-helloworld.xml:
2902         * docs/manual/basics-pads.xml:
2903         * docs/manual/highlevel-components.xml:
2904         Avoid using a bad function in the example code.
2905
2906 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2907
2908         * gst/gstclock.c: (gst_clock_set_calibration):
2909         Fix debug of the new clock rate.
2910
2911 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2912
2913         * win32/common/libgstbase.def:
2914         Add gst_base_sink_wait_clock() to the exported symbols.
2915
2916 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2917
2918         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2919
2920         * libs/gst/base/gstbasetransform.c:
2921         (gst_base_transform_sink_event):
2922         Unref events that the GstBaseTransform::event vfunc didn't want to
2923         have forwarded by the base class. Closes a leak in identity.
2924         Fixes bug #446763.
2925
2926 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2927
2928         * docs/libs/gstreamer-libs-sections.txt:
2929         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2930         * libs/gst/base/gstbasesink.h:
2931         Expose a method that was previously used internally to synchronize
2932         against the clock because it can be useful for subclasses too.
2933         API: GstBaseSink::gst_base_sink_wait_clock()
2934
2935 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2936
2937         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2938           Add sanity check to make sure we don't get smaller buffers
2939           than requested (and fallback to normal buffer alloc if we do).
2940
2941 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2942
2943         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
2944         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
2945         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
2946         Refactor adjusting the running_time with latency and offset into a
2947         separate method.
2948         When doing clipping, we still want to use the subclass get_times method,
2949         just in case the DURATION or TIMESTAMP are not set.
2950
2951 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2952
2953         * docs/gst/gstreamer-sections.txt:
2954         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
2955         * gst/gsttypefind.h:
2956         * win32/common/libgstreamer.def:
2957           API: add gst_type_find_suggest_simple(), #533740.
2958
2959 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2960
2961         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
2962           Use right error code when typefinding fails, so we can use
2963           the default (translated) error messages.
2964
2965 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2966
2967         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
2968         (gst_base_src_start):
2969         When the subclass did not set caps on outgoing buffers, configure the
2970         caps we negotiated on the source pad.
2971         When the typefind helper does not find caps, error out properly instead
2972         of doing things with NULL caps.
2973
2974 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2975
2976         * gst/gsttypefind.h:
2977           Tabs to spaces, oh yes!
2978
2979 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2980
2981         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
2982           Add David's and Benjamin's tests for array intersection to the
2983           unit test suite (#147931).
2984
2985 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
2986
2987         * gst/gstevent.c:
2988           Document that gst_event_new_tag() and gst_event_new_navigation()
2989           take ownership of the taglist/structure passed to them. (#533635).
2990
2991 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
2992
2993         * docs/Makefile.am:
2994         Don't descend into the plugins dir if plugin docs building
2995         is disabled.
2996
2997         * docs/README:
2998         Add a note about the new type:GTypeName syntax for the plugin
2999         documentation .types file.
3000
3001 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3002
3003         * gst/gstmessage.c: (gst_message_new_error),
3004         (gst_message_new_warning), (gst_message_new_info):
3005         * gst/gstmessage.h:
3006         Mark the debug string parameters as const. Fixes bug #533490.
3007
3008 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3009
3010         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3011         Sort buffer cache list by end offsets. This makes sure that we don't
3012         stop to search for a cached buffer that contains the requested data
3013         too early.
3014         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3015         more efficient. Fixes bug #459862.
3016
3017 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3018
3019         * gst/gstinfo.c:
3020           Explain why we copy the list.
3021
3022         * gst/gstpipeline.c:
3023           Improve docs.
3024
3025         * gst/gstutils.c:
3026           Add one debug-log statement to help tracing probelms with linking pads.
3027
3028 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3029
3030         * tests/check/gst/gstinfo.c:
3031         Add a test for removing the default log handler. Seems to fail under
3032         windows.
3033
3034 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3035
3036         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3037         Release pad lock before calling out to avoid a possible deadlock.
3038
3039 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3040
3041         * gst/parse/grammar.y:
3042         Remove unneeded value unset.
3043
3044         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3045         Add unit test for de/serialization of caps.
3046
3047 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3048
3049         * plugins/elements/gstfakesink.c:
3050         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3051         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3052         (gst_fake_src_class_init):
3053         Use custom marshalers that take GstMiniObject as first parameter.
3054         Using OBJECT as parameter while a GstMiniObject is given will lead
3055         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3056
3057 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3058
3059         * plugins/elements/gsttypefindelement.c:
3060         (gst_type_find_element_handle_event),
3061         (gst_type_find_element_send_cached_events),
3062         (gst_type_find_element_change_state):
3063         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3064         immediately.
3065
3066 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3067
3068         * plugins/elements/gsttypefindelement.c:
3069         (gst_type_find_handle_src_query), (stop_typefinding),
3070         (gst_type_find_element_handle_event),
3071         (gst_type_find_element_send_cached_events),
3072         (gst_type_find_element_change_state):
3073         Forward FLUSH_START events immediately and clean up instead of
3074         caching them.
3075
3076 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3077
3078         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3079
3080         * libs/gst/base/gstbasetransform.c:
3081         (gst_base_transform_buffer_alloc):
3082         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3083         fall back to default negotiation in the chain function if the caps
3084         are different from what was requested. Fixes bug #526768.
3085
3086 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3087
3088         * gst/gstsegment.c:
3089         * tests/check/gst/gstsegment.c:
3090           No, let's not use g_slice_{dup|copy} here, since they only exist
3091           since GLib 2.14 and we still depend only on >= 2.12. Also add
3092           unit test for gst_segment_copy().
3093
3094 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3095
3096         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3097           Try to fix 'dereferencing type-punned pointer will break strict
3098           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3099           changed the default GType typedef from gulong to gsize at some point,
3100           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3101           g_once_* functions all take a gsize * though, so work around the type
3102           mismatch for C++ by doing everything in gsize and casting to GType
3103           later.
3104
3105 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3106
3107         * plugins/elements/gstmultiqueue.c:
3108         Add documentation for the signals to push our core plugin docs
3109         coverage back up to 100%.
3110
3111 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3112
3113         * gst/gstinfo.h (GST_FUNCTION):
3114           Reverted GST_FUNCTION to the old version as we don't want the
3115           full signature in C++ code. Also added support for MSVC.
3116
3117 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3118
3119         * gst/gstutils.h:
3120         Intern the type name string, similar to what G_DEFINE_TYPE does.
3121
3122 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3123
3124         * gst/gstutils.h:
3125         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3126
3127 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3128
3129         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3130
3131         * libs/gst/base/gstbasetransform.c:
3132         (gst_base_transform_buffer_alloc):
3133         Don't passthrough buffer allocation too easily if the caps change.
3134         This breaks when working in passthrough mode and upstream changes
3135         it's caps. Fixes bug #526768.
3136
3137 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3138
3139         * gst/gstinfo.c (gst_debug_log_valist):
3140           Improved the __FILE__ part of debug output for MSVC.
3141
3142 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3143
3144         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3145           Declaration after statement fix for compilers like MSVC.
3146
3147 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3148
3149         * win32/common/config.h.in:
3150           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3151           use the real thing than having "???" unconditionally.
3152
3153 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3154
3155         * gst/gstinfo.h (GST_FUNCTION):
3156           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3157
3158 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3159
3160         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3161         Small code cleanup.
3162
3163         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3164         (gst_base_sink_set_flushing):
3165         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3166         Fix some comments.
3167
3168 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3169
3170         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3171         (gst_fake_src_init), (gst_fake_src_set_property),
3172         (gst_fake_src_get_property), (gst_fake_src_start):
3173         * plugins/elements/gstfakesrc.h:
3174         Added format property to control the format of the newsegment events.
3175         API: GstFakeSrc:format
3176
3177 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3178
3179         * win32/common/libgstreamer.def:
3180         Add gst_pad_has_name() to the exported symbols.
3181
3182 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3183
3184         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3185         * libs/gst/base/gstbasetransform.c:
3186         (gst_base_transform_prepare_output_buffer):
3187         Don't allow negative sizes when allocating new buffers.
3188         Fixes bug #461253.
3189
3190 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3191
3192         Patch by: Sjoerd Simons <sjoerd at luon net>
3193
3194         * gst/gstbus.c: (gst_bus_source_dispatch):
3195           Don't print a warning if the queue is empty when we try to pop
3196           here. That could happen if another thread or callback set the
3197           bus to flushing between the source's check/prepare and the
3198           dispatch being called (#531538).
3199
3200 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3201
3202         * plugins/elements/gstmultiqueue.c:
3203           Small docs fix.
3204         
3205 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3206
3207         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3208         Add unit test for deserializing uint64s and check some really large
3209         numbers in the int64 test.
3210
3211 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3212
3213         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3214         (print_interfaces), (print_element_properties_info),
3215         (print_signal_info):
3216         Use "%s" as format string instead of printing strings directly.
3217
3218 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3219
3220         * gst/gstclock.c: (gst_clock_set_calibration):
3221         Make some checks actually useful.
3222
3223         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3224         Remove some unused code. Unsigned integers tend to be >= 0.
3225
3226 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3227
3228         * gst/gstminiobject.c: (gst_value_get_mini_object):
3229           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3230           function was not in the unscheduled 0.10.19 release.
3231
3232 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3233
3234         * gst/gstregistry.c: (gst_registry_scan_path_level):
3235           Only print one log message per non-plugin file.
3236
3237 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3238
3239         * gst/gstinfo.c: (gst_debug_log_default):
3240           Fix alignment of debug log columns on 64-bit.
3241
3242 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3243
3244         * docs/libs/Makefile.am:
3245         * docs/libs/gstreamer-libs-sections.txt:
3246           Ignore private controller headers for docs.
3247
3248 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3249
3250         * libs/gst/controller/gstcontrollerprivate.h:
3251         * libs/gst/controller/gsthelper.c:
3252         * libs/gst/controller/gstinterpolation.c:
3253         * libs/gst/controller/gstinterpolationcontrolsource.c:
3254         (gst_interpolation_control_source_set_interpolation_mode):
3255         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3256         * libs/gst/controller/lib.c:
3257         Move some private declarations into private headers.
3258
3259 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         * gst/gstdebugutils.c: (debug_dump_element_pad):
3262         Remove some code that is unused after Stefan's refactoring and uses
3263         uninitialized variables now, resulting in a compiler warning.
3264
3265 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3266
3267         * gst/gstregistry.c: (gst_registry_scan_path_level):
3268           Run g_str_has_suffix() only on the file name, not the
3269           entire file path.
3270
3271 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3272
3273         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3274           Since we're not called only from the chain function any longer,
3275           we can't assume that there's always data in the queue, so move
3276           the is_full check to the beginning of the loop (otherwise we'd
3277           hit the assert when changing the limit properties while the
3278           queue is empty or not running yet).
3279           Also, only set a discont if items were actually removed from
3280           the queue.
3281
3282         * tests/check/elements/queue.c: (test_leaky_downstream):
3283           Test case for the above.
3284
3285 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3286
3287         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3288
3289         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3290         (gst_queue_chain), (queue_capacity_change),
3291         (gst_queue_set_property):
3292         When changing thr max capacity of a leaky queue, immediatly drop buffers
3293         instead of waiting for a push on the sinkpad. Fixes #530637.
3294
3295 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * gst/gstdebugutils.c:
3298           Refactor code and fix handling of ghostpads and their proxypads.
3299
3300 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3301
3302         * docs/gst/gstreamer-sections.txt:
3303         * gst/gstevent.c: (gst_event_has_name):
3304         * gst/gstevent.h:
3305         * tests/check/gst/gstevent.c: (GST_START_TEST):
3306         Add method to conveniently check the name of a custom event with
3307         gst_event_has_name().
3308         Reformat the event docs so that related methods are put together instead
3309         of the default alphabetical sort.
3310         Update unit test with new method.
3311         API: GstEvent::gst_event_has_name()
3312
3313 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3314
3315         * libs/gst/check/Makefile.am:
3316           Don't add an explicit link to libgstreamer-0.10.la; it's already
3317           included in GST_OBJ_LIBS.
3318
3319 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3320
3321         * gst/gst.c:
3322         Register GstClock type from a type-safe context. Fixes bug #530317.
3323
3324 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3325
3326         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3327         * tools/gst-run.c:
3328           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3329
3330 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3331
3332         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3333         (gst_bin_dispose):
3334         Use the GLib stuff to create a private structure.
3335         Add some locking around some dispose methods to make them a little
3336         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3337
3338 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3339
3340         * libs/gst/base/gstbasesink.h:
3341         * libs/gst/base/gstbasesrc.h:
3342         * libs/gst/base/gstbasetransform.h:
3343         * libs/gst/base/gstcollectpads.h:
3344           Fix doc typos and unify caps a bit.
3345
3346 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3347
3348         * tools/gst-launch.1.in:
3349           Forgot to also add the envvar docs here.
3350
3351 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3352
3353         * gst/gst.c: (init_post), (gst_deinit):
3354         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3355           (test_concurrent_create), (gst_pipeline_suite):
3356           Ref some more classes in gst_init() to work around thread-safety
3357           issues in pre-2.16 GLibs, and add basic unit test.
3358
3359 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3360
3361         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3362         (gst_base_sink_send_event):
3363         Rearrange the latency query code. We always want to do the upstream
3364         query, even if we are not live so that the upstream elements can get the
3365         latency results too. If we fail doing the query and we are live, we
3366         return TRUE afterwards.
3367
3368 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3369
3370         patch by: Jason Zhao <e3423c@motorola.com>
3371
3372         * docs/gst/running.xml:
3373         * gst/gst.c:
3374           Enable/disable scan_and_update_registry() based on commandline switch
3375           or environment variable. Fixes #520468.
3376           
3377         * ChangeLog:
3378           Fix typo in my previous commit.
3379
3380 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3381
3382         * gst/gstregistrybinary.c:
3383           Add a warning if we hit unhandled factories when saving.
3384           More debug logging detail, but move to LOG category.
3385
3386 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3387
3388         * gst/gstregistry.c:
3389           Tell the *truth* when improving the documentation.
3390
3391 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3392
3393         * gst/gstelementfactory.c: (gst_element_factory_make):
3394         Unref the factory after it was used the last time, not before.
3395
3396         * gst/gstindexfactory.c: (gst_index_factory_make):
3397         Improve debugging a bit and don't leak a ref to the index factory with
3398         each call.
3399
3400 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * gst/gstregistry.c:
3403           Improve the documentation.
3404
3405 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * gst/gstsegment.c:
3408           The glib macro seems to be borked. Use g_slice_copy directly and cast
3409           in the hope that this fixes the warning on 64bit.
3410
3411 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3412
3413         * gst/gstsegment.c:
3414           Document the new function. Use g_slice_dup() (no need for
3415           gst_segment_init()).    
3416
3417 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3418
3419         * docs/gst/gstreamer-sections.txt:
3420           Move GParamSepc macros to standart section.
3421   
3422         * gst/gstbin.c:
3423           Dn't document _get_type - its in private section in docs anyway and
3424           this doc-blob was incomplete.
3425
3426         * gst/gstclock.h:
3427           Fix wrong symbol names in docs.
3428
3429         * gst/gstmacros.h:
3430           Add once doc sentence.
3431
3432         * tests/check/gst/.cvsignore:
3433           Ignore more.
3434
3435 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3436
3437         * docs/gst/Makefile.am:
3438           And remove those libs here.
3439
3440 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * docs/libs/Makefile.am:
3443           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3444
3445 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3446
3447         Patch by: Olivier Crete <tester at tester dot ca>
3448
3449         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3450         Add the min-threshold to the min latency if possible. Fixes #529148.
3451
3452 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3453
3454         * docs/gst/gstreamer.types.in:
3455           Stupid editor, I removed that line as it should go in yet.
3456
3457 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3458
3459         * docs/gst/gstreamer.types.in:
3460         * docs/libs/gstreamer-libs.types:
3461           Remove library types fro core docs and have them in libs docs.
3462           Reformat and cleanup. Add comment for miniobject types.
3463
3464 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3465
3466         * gst/gsturi.c: (gst_uri_get_protocol):
3467           Fix leak: g_strdown operates on the string in place, while
3468           g_ascii_strdown() returns a newly-allocated string.
3469
3470 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3471
3472         * tools/gst-inspect.c: (print_uri_handler_info),
3473         (print_element_info):
3474         Print the URI protocols and the URI type supported by the element.
3475
3476 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3477
3478         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3479         Use g_value_take_string() instead of the deprecated
3480         g_value_set_string_take_ownership().
3481
3482 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3483
3484         * gst/gstregistrybinary.c: (_gst_crc32):
3485         Return the old CRC instead of 0 if we give a NULL buffer
3486         or a buffer with a length of 0.
3487
3488 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3489
3490         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3491         (gst_uri_get_protocol), (gst_uri_has_protocol),
3492         (gst_uri_construct), (gst_uri_handler_set_uri):
3493         A valid URI scheme can also include '+', '-' and '.' additional
3494         to alphanumeric characters as per RFC 3986 Section 3.1.
3495
3496         Handle URI schemes case insensitive in all places and convert
3497         to lower-case when constructing an URI or setting an URI with
3498         the GstURIHandler interface. Fixes bug #528868.
3499         All elements can still assume (as before) that they will
3500         get passed URIs with a lower-case URI scheme by the GstURIHandler
3501         interface.
3502
3503 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3504
3505         * gst/gstcaps.c: (gst_static_caps_get):
3506         * gst/gstclock.c: (gst_clock_entry_new):
3507           Don't use g_atomic_set_int where it's not needed.
3508
3509 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3510
3511         * gst/gstvalue.c: (gst_value_deserialize_caps):
3512         * gst/parse/grammar.y:
3513         Fix 2 caps leaks.
3514
3515 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3516
3517         * gst/gstutils.c: (gst_atomic_int_set):
3518         Use g_atomic_int_set() here too instead of assignment +
3519         g_atomic_int_get().
3520
3521 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3522         
3523         * gst/gstutils.c:
3524         * gst/gstutils.h:
3525         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3526         now that we depend on new enough GLib.
3527
3528         * gst/gstcaps.c: (gst_static_caps_get):
3529         * gst/gstclock.c: (gst_clock_entry_new):
3530         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3531         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3532         (gst_debug_category_set_threshold):
3533         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3534         (gst_base_sink_set_qos_enabled):
3535         * libs/gst/net/gstnettimeprovider.c:
3536         (gst_net_time_provider_set_property):
3537         Use g_atomic_int_set() instead of gst_atomic_int_set().
3538
3539 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3540
3541         * gst/gstquery.c:
3542           Also use G_GINT64_CONSTANT for the queries.
3543
3544 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3545
3546         * gst/gstmessage.c:
3547           Use G_GINT64_CONSTANT in varargs function.
3548
3549 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3550
3551         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3552         Initialize the registry magic with zeroes.
3553
3554 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3555
3556         * gst/gstregistrybinary.c: (_gst_crc32),
3557         (gst_registry_binary_write),
3558         (gst_registry_binary_initialize_magic),
3559         (gst_registry_binary_write_cache),
3560         (gst_registry_binary_check_magic),
3561         (gst_registry_binary_read_cache):
3562         * gst/gstregistrybinary.h:
3563         Add crc32 checksum to the binary registry file and check this before
3564         accepting a registry file.
3565
3566         Also free the data list when writing to the registry file fails.
3567
3568 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3569
3570         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3571         (gst_registry_binary_load_feature),
3572         (gst_registry_binary_load_plugin):
3573         If an element supports the Uri interface, returns a valid pointer
3574         to the supported URI protocols but this pointer contains nothing
3575         don't try to save that as it will corrupt the registry.
3576
3577         Don't unref the plugin if we added it to the registry already but
3578         fail to load a feature as gst_registry_add_plugin() takes ownership
3579         of the plugin.
3580
3581         Improve debugging a bit.
3582
3583 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3584
3585         * gst/gsttaglist.h:
3586           Clarify some tag item docs after discussion on irc.
3587
3588 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3589
3590         * docs/gst/gstreamer-docs.sgml:
3591           Remove commented out plugins (they have their own docs). Update
3592           comments.
3593
3594 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3595
3596         * docs/gst/gstreamer-docs.sgml:
3597         * docs/gst/gstreamer-sections.txt:
3598         * gst/gstparamspecs.c:
3599         * gst/gstparamspecs.h:
3600           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3601           docs to own section.
3602
3603         * gst/gstvalue.c:
3604           This now only documents GValue.
3605           
3606         * docs/libs/gstreamer-libs-sections.txt:
3607         * libs/gst/controller/gstcontroller.h:
3608           Remove GST_PARAM_CONTROLLABLE.
3609
3610 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3611
3612         * docs/README:
3613           Correct file path. Tell about how to use -overrides.txt.
3614         * docs/design/draft-tagreading.txt:
3615           Small design update.
3616
3617 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3618
3619         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3620         (gst_registry_binary_load_plugin):
3621         Fix a typo in a debug message and revert change from yesterday as
3622         gst_registry_add_plugin() will only fail if something is really wrong
3623         already and we can't survive it anyway.
3624
3625 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3626
3627         * gst/gst.c: (init_post), (gst_deinit):
3628           Pre-register GstGError GType from a thread-safe context
3629           (fixes #527967); unref enum type classes in deinit.
3630
3631 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3632
3633         Patch by: Rene Stadler <mail at renestadler de>
3634
3635         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3636           Merging an empty list with another list in KEEP_ALL mode should
3637           yield an empty list as result and not the second list (#512578).
3638
3639         * tests/check/gst/gsttagsetter.c:
3640           Add unit test for tag merge modes and the aforementioned bug.
3641
3642 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         Patch by: Rene Stadler <mail at renestadler de>
3645
3646         * gst/gsttaglist.h:
3647           Fix description to match the order in the table (#512577).
3648   
3649 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3650
3651         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3652
3653         * libs/gst/net/gstnettimepacket.h:
3654         * docs/libs/gstreamer-libs-sections.txt:
3655           Define socklen_t as int if it's not defined yet. Fixes compilation
3656           with MSVC6 and other versions where socklen_t is not defined in
3657           the windows headers (#518022).
3658
3659 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3660
3661         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3662         If gst_registry_add_plugin() fails our reference to the plugin is
3663         invalid so don't try to use it anymore and instead error out.
3664
3665 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3666
3667         * tools/gst-xmlinspect.c: (print_element_info), (main):
3668           De-cruft a bit. If no argument is specified, print all elements in
3669           XML syntax rather than a freestyle list of elements like gst-inspect.
3670           Also, don't print XML header chunk unless we actually have something
3671           to print (ie. don't print it before an error message); print error
3672           message to stderr not stdout. Remove support for printing plugin
3673           info (it would just output something freestyle along the lines of
3674           gst-inspect so far), which fixes #514507. Also add license header.
3675
3676 2008-04-11  Julien Moutte  <julien@fluendo.com>
3677
3678         Mac OS X love...
3679         * configure.ac: Merge platform specific defines, introduce a new
3680         define on OS X to remember that forking when updating registry is
3681         unsafe.
3682         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3683         module.
3684         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3685         is defined.
3686         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3687         condition that leads to absolutely no plugins being registered on
3688         OS X.
3689
3690 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3693
3694         * gst/gstutils.c: (gst_pad_add_data_probe),
3695           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3696           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3697           (gst_pad_add_buffer_probe_full):
3698         * gst/gstutils.h:
3699         * docs/gst/gstreamer-sections.txt:
3700         * win32/common/libgstreamer.def:
3701           Add gst_pad_add_*_probe_full() functions with a notify callback that
3702           lets the caller free the data it passes to the probe functions. This
3703           is useful for bindings such as gst-python or gstreamermm (#526814).
3704           API: gst_pad_add_data_probe_full
3705           API: gst_pad_add_buffer_probe_full
3706           API: gst_pad_add_event_probe_full
3707
3708         * tests/check/gst/gstutils.c:
3709           Add minimal unit test to make sure freeing the data actually works
3710           as expected.
3711
3712         * tests/benchmarks/.cvsignore:
3713           Random cvsignore addendum.
3714
3715 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3716
3717         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3718           (GST_DEBUG_BIN_TO_DOT_FILE):
3719           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3720           to it in the docs (since these are macros the types of the arguments
3721           won't be shown in the docs otherwise).
3722
3723 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3724
3725         * gst/gstpad.c:
3726           Do not abort on out of memory for pad_alloc_buffer.
3727
3728 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3729
3730         * libs/gst/check/gstcheck.c:
3731           Remove blank line between symbol name ad parameters to fix gtkdoc
3732           warning.
3733
3734 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3735
3736         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3737
3738         * docs/gst/gstreamer-sections.txt:
3739         * gst/gstsegment.c:
3740         * gst/gstsegment.h:
3741         * win32/common/libgstreamer.def:
3742           Expose gst_segment_copy() to make things easier for the c++ bindings.
3743           Fixes #518932.
3744           API: gst_segment_copy()
3745
3746 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3747
3748         * gst/gst.c: (gst_init_get_option_group), (init_post):
3749           Fix const position; ref GType classes for enum types to work
3750           around thread-safety issues in GLib versions < 2.16.
3751
3752 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3753
3754         * docs/design/part-buffering.txt:
3755         Fix some typos and set the estimated total for push mode to -1.
3756
3757         * gst/gstquery.c: (gst_query_new_buffering):
3758         Set buffering-left to 0 as we're not buffering by default.
3759
3760         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3761         Implement BUFFERING query.
3762
3763 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3764
3765         Based on patch by: Milosz Derezynski <internalerror gmail com>
3766
3767         * gst/gsterror.c: (_gst_stream_errors_init):
3768         * gst/gsterror.h:
3769           Add two new error codes for encrypted content. Fixes #524659.
3770           API: GST_STREAM_ERROR_DECRYPT
3771           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3772
3773 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         * gst/gstquery.h:
3776           Fix typo.
3777
3778         * win32/common/libgstreamer.def:
3779           Add new functions.
3780
3781 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3782
3783         * plugins/elements/gstidentity.c: (gst_identity_event),
3784         (gst_identity_start):
3785         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3786         event after processing some data. Fixes bug #526042.
3787
3788 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3789
3790         * docs/gst/gstreamer-sections.txt:
3791         * gst/gstquery.c: (gst_query_parse_latency),
3792         (gst_query_set_buffering_percent),
3793         (gst_query_parse_buffering_percent),
3794         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3795         * gst/gstquery.h:
3796         Rename _avail -> _range
3797         API: gst_query_set_buffering_range
3798         API: gst_query_parse_buffering_range
3799
3800 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3801
3802         * docs/design/part-buffering.txt:
3803         * gst/gstquark.c:
3804         * gst/gstquark.h:
3805         * gst/gstquery.c: (gst_query_parse_latency),
3806         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3807         (gst_query_parse_buffering_percent):
3808         * gst/gstquery.h:
3809         Add busy field and quark for the buffering query so that the app can
3810         only use the query to see if buffering is in progress.
3811
3812 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3813
3814         * docs/gst/gstreamer-sections.txt:
3815         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3816         (gst_message_parse_buffering_stats):
3817         * gst/gstmessage.h:
3818         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3819         (gst_query_parse_latency), (gst_query_new_buffering),
3820         (gst_query_set_buffering_percent),
3821         (gst_query_parse_buffering_percent),
3822         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3823         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3824         * gst/gstquery.h:
3825         Reorder the message docs and headers for clarity.
3826         Add aditional buffering stats API for messages.
3827         Add buffering query.
3828         Convert some leftover queries to use GstQuark.
3829         API: gst_message_set_buffering_stats
3830         API: gst_message_parse_buffering_stats
3831         API: GST_QUERY_BUFFERING
3832         API: GstBufferingMode
3833         API: gst_query_new_buffering
3834         API: gst_query_set_buffering_percent
3835         API: gst_query_parse_buffering_percent
3836         API: gst_query_set_buffering_stats
3837         API: gst_query_parse_buffering_stats
3838
3839 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3840
3841         * gst/gstmessage.c: (gst_message_new_error),
3842         (gst_message_new_warning), (gst_message_new_info),
3843         (gst_message_new_buffering), (gst_message_new_state_changed),
3844         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3845         (gst_message_new_new_clock), (gst_message_new_segment_start),
3846         (gst_message_new_segment_done), (gst_message_new_duration),
3847         (gst_message_new_async_start), (gst_message_parse_buffering),
3848         (gst_message_parse_state_changed),
3849         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3850         (gst_message_parse_new_clock), (gst_message_parse_error),
3851         (gst_message_parse_warning), (gst_message_parse_info),
3852         (gst_message_parse_segment_start),
3853         (gst_message_parse_segment_done), (gst_message_parse_duration),
3854         (gst_message_parse_async_start):
3855         Use GstQuark for messages.
3856
3857 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3858
3859         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3860         * gst/gstquark.h:
3861         Add some more quarks needed for messages and queries.
3862
3863 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3864
3865         * docs/design/part-buffering.txt:
3866         Remove the "none" buffering mode, STREAM is a good default.
3867         Move estimated-time to the avail query, that's when it will be needed.
3868         Other small typo fixes and updates.
3869
3870 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3871
3872         * gst/gstindex.c: (gst_index_resolver_get_type):
3873           Don't put descriptions into the nick field of a GEnumValue: it's not
3874           meant for that and some language bindings rely on the nick field to
3875           construct constants and the like. Fixes #526705.
3876
3877 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3878
3879         * NEWS:
3880         * RELEASE:
3881         * gstreamer.doap:
3882           Merge other changes from 0.10.19 release branch.
3883
3884 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3885
3886         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3887
3888         * configure.ac:
3889         Actually build dlls when cross-compiling with mingw32.
3890         Fixes bug #526247.
3891
3892 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3893
3894         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3895
3896         * gst/gstpoll.c:
3897         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3898
3899 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3900
3901         * docs/design/draft-latency.txt:
3902         Fix typo.
3903
3904         * docs/design/part-buffering.txt:
3905         Update design docs with more buffering ideas.
3906
3907 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3908
3909         * configure.ac:
3910           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3911
3912 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3913
3914         * configure.ac:
3915           Revert part that belongs to the preset patch.
3916
3917 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3918
3919         * configure.ac:
3920           Add qoutes to the define. Fixes # 525961.
3921
3922 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3923
3924         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3925         (gst_file_index_load), (gst_file_index_add_id),
3926         (gst_file_index_get_assoc_entry):
3927         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3928         (gst_mem_index_free_id), (gst_mem_index_add_id),
3929         (gst_mem_index_index_format):
3930         Use GSlice when possible.
3931
3932 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3933
3934         * libs/gst/controller/gstinterpolationcontrolsource.c:
3935         (gst_control_point_free),
3936         (gst_interpolation_control_source_set_internal):
3937         Use GSlice for allocating the control points.
3938
3939 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
3940
3941         * plugins/elements/gsttypefindelement.c:
3942         (gst_type_find_element_class_init),
3943         (gst_type_find_element_set_property),
3944         (gst_type_find_element_get_property),
3945         (gst_type_find_element_activate):
3946         * plugins/elements/gsttypefindelement.h:
3947         Cleanup properties.
3948         Fix pad leak when peer query fails.
3949         We can still typefind when the peer returns -1.
3950         Add property to force caps and bypass typefinding. This will be used in
3951         uridecodebin.
3952         API::force-caps
3953
3954 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3955
3956         * configure.ac:
3957         Require GLib 2.12.
3958
3959         * gst/glib-compat-private.h:
3960         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
3961         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
3962         Unconditionally use GSlice for allocation.
3963
3964         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
3965         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
3966         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
3967         (gst_structure_free):
3968         Use GSlice for allocation.
3969
3970 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
3971
3972         * gst/parse/Makefile.am:
3973         * gst/parse/grammar.tab.pre.c:
3974         * gst/parse/grammar.tab.pre.h:
3975         * gst/parse/lex._gst_parse_yy.pre.c:
3976         Require a new enough flex and bison and remove the parser hacks to use
3977         a pre-regenerated version.
3978
3979 2008-04-01  Julien Moutte  <julien@fluendo.com>
3980
3981         patch by: Jason Zhao <E3423C@motorola.com>
3982
3983         * configure.ac: Add a configure switch to disable option parsing
3984         in gst_init.
3985         Fixes #522882.
3986
3987 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
3988
3989         * configure.ac:
3990         * gst/gstregistry.c:
3991           MacOS has plugins under .so or under .dylib. Add detection for MacOS
3992           and handle this case.
3993
3994         * gst/gst.c:
3995           Add a comment here describing, why we stat each plugin and not try to
3996           be smart.
3997
3998 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
3999
4000         * libs/gst/base/gstbasetransform.c:
4001         (gst_base_transform_prepare_output_buffer):
4002         Also unset the GAP flag on buffers if we're working inplace but
4003         the element is not GAP-aware.
4004
4005         Mark a comment as FIXME 0.11.
4006
4007 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4008
4009         * gst/gst.c:
4010           Fix type in log message and add one to ease seeing how long registry
4011           cache verification takes.
4012
4013         * gst/gstregistry.c:
4014           Only test plugin filenames against G_MODULE_SUFFIX.
4015
4016 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4017
4018         * gst/gstdebugutils.c:
4019           Improve handling ghost/proxy pads.
4020
4021 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4022
4023         * docs/gst/gstreamer-sections.txt:
4024         * gst/gstpad.c:
4025         * gst/gstpad.h:
4026           Expose macro to docs and fix link to it.
4027
4028 2008-03-27  Michael Smith <msmith@fluendo.com>
4029
4030         * libs/gst/dataprotocol/dataprotocol.c:
4031         (gst_dp_packet_from_event_1_0):
4032           When calculating GDP body CRC, use the correct pointer. 
4033           Fixes part of #522401.
4034
4035 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4036
4037         Patch by: Mark Nauwelaerts <manauw at skynet be>
4038
4039         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4040         (gst_identity_init), (gst_identity_prepare_output_buffer):
4041         Identity is not always a passthrough element, it can modify the buffer
4042         timestamps when it has a datarate and operates in single-segment mode.
4043         We therefore make it an in_place filter with a custom buffer prepare
4044         function that conditionally makes the input buffer metadata writable
4045         when needed.  Fixes #523985.
4046
4047 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4048
4049         Patch by: Mark Nauwelaerts <manauw at skynet be>
4050
4051         * gst/gstclock.h:
4052         * libs/gst/base/gstbasesrc.h:
4053         * libs/gst/base/gstbasetransform.c:
4054         * libs/gst/check/gstcheck.c:
4055         Small documentation fixes. Fixes #523978.
4056
4057 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4058
4059         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4060         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4061         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4062
4063 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4064
4065         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4066         (single_queue_underrun_cb):
4067         When trying to make room in the queue, bump the max allowed buffers
4068         bigger than the current amount of buffers in the queue. this fixes some
4069         nasty deadlocks in multiqueue when dynamically changing the limits of
4070         the queue.
4071
4072 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4073
4074         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4075
4076         * gst/gstcaps.c: (gst_caps_set_simple),
4077         (gst_caps_set_simple_valist), (gst_caps_intersect):
4078         * gst/gstcaps.h:
4079         Constify the field gchar * params in set_simple and friends.
4080         Fixes #522326.
4081
4082 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4083
4084         * gst/gstvalue.c: (gst_value_transform_object_string):
4085         Transform a GstObject to a more meaningfull string that includes the
4086         object type in addition to its name.
4087
4088 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4089
4090         * ChangeLog:
4091           ChangeLog surgery to add bugnumber to commit.
4092
4093 2008-03-23  Rene Stadler  <mail@renestadler.de>
4094
4095         * libs/gst/base/gstbasetransform.c:
4096         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4097
4098 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4099
4100         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4101         Rename constant everywhere and don't forget one occurence.
4102
4103 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4104
4105         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4106         Align memory to the pointer size even if the architecture allows
4107         unaligned memory access. Unaligned memory access usually comes with
4108         performance penality.
4109
4110 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4111
4112         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4113         (gst_registry_binary_check_magic),
4114         (gst_registry_binary_load_pad_template),
4115         (gst_registry_binary_load_feature),
4116         (gst_registry_binary_load_plugin):
4117         Align memory to the pointer size instead of always 32 bit. Fixes
4118         unaligned memory accesses on ia64 and friends.
4119
4120         * gst/gstregistrybinary.h:
4121         Bump binary registry format version for this as it changes the
4122         format on those architectures that don't have unaligned access
4123         and 64 bit pointers.
4124
4125 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4126
4127         * docs/pwg/advanced-dparams.xml:
4128         * docs/pwg/building-props.xml:
4129         * docs/pwg/other-source.xml:
4130         * gst/glib-compat.h:
4131         * gst/gstbin.c: (gst_bin_class_init):
4132         * gst/gstclock.c: (gst_clock_class_init):
4133         * gst/gstindex.c: (gst_index_class_init):
4134         * gst/gstobject.c: (gst_object_class_init):
4135         * gst/gstpad.c: (gst_pad_class_init):
4136         * gst/gstpipeline.c: (gst_pipeline_class_init):
4137         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4138         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4139         * libs/gst/base/gstbasetransform.c:
4140         (gst_base_transform_class_init):
4141         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4142         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4143         (_gst_check_fault_handler_sighandler),
4144         (_gst_check_fault_handler_setup), (gst_check_init):
4145         * libs/gst/controller/gstcontroller.c:
4146         (_gst_controller_class_init):
4147         * libs/gst/controller/gstlfocontrolsource.c:
4148         (gst_lfo_control_source_class_init):
4149         * libs/gst/net/gstnetclientclock.c:
4150         (gst_net_client_clock_class_init):
4151         * libs/gst/net/gstnettimeprovider.c:
4152         (gst_net_time_provider_class_init):
4153         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4154         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4155         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4156         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4157         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4158         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4159         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4160         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4161         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4162         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4163         * plugins/elements/gsttee.c: (gst_tee_class_init):
4164         * plugins/elements/gsttypefindelement.c:
4165         (gst_type_find_element_class_init):
4166         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4167         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4168         use it everywhere for GParamSpecs that use static strings (i.e. all).
4169         This gives us less memory usage, fewer allocations and thus less
4170         memory defragmentation. Fixes bug #523806.
4171
4172 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4173
4174         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4175         (gst_param_spec_mini_object):
4176         * gst/gstminiobject.h:
4177         * win32/common/libgstreamer.def:
4178         * docs/gst/gstreamer-sections.txt:
4179         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4180         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4181         GstParamSpecMiniObject into a public header for this.
4182
4183         This make GstMiniObject a bit more consistent with GObject and makes
4184         it possible to extend the param specs.
4185
4186         gst_value_dup_mini_object is mainly useful for set_property methods.
4187
4188         Fixes bug #523798.
4189
4190         * tools/gst-inspect.c: (print_element_properties_info):
4191         Print something useful for GstMiniObject properties and not just
4192         "unknown type".
4193
4194 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4195
4196         * docs/gst/gstreamer-sections.txt:
4197         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4198         (gst_registry_binary_check_magic):
4199         * gst/gstregistrybinary.h:
4200         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4201         and add it to the (private part) of the docs to fix the build.
4202
4203 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4204
4205         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4206         (gst_registry_binary_check_magic),
4207         (gst_registry_binary_read_cache):
4208         * gst/gstregistrybinary.h:
4209         Don't use GST_MAJORMINOR for the binary registry version. Instead
4210         hardcode a value that must be changed whenever the format changes
4211         in an incompatible way.
4212         Also don't GST_ERROR when there is a version mismatch, just
4213         regenerate the registry silently.
4214
4215 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4216
4217         * configure.ac:
4218         Back to development - 0.10.18.1
4219
4220 === release 0.10.18 ===
4221
4222 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4223
4224         * configure.ac:
4225           releasing 0.10.18, "So far away"
4226
4227 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4228
4229         * configure.ac:
4230         * win32/common/config.h:
4231         0.10.17.4 pre-release
4232
4233 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4234
4235         Patch by: Ole André Vadla Ravnås
4236             <ole dot andre dot ravnas at tandberg dot com>
4237
4238         * docs/gst/gstreamer-sections.txt:
4239         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4240         (gst_poll_update_winsock_event_mask),
4241         (gst_poll_prepare_winsock_active_sets),
4242         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4243         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4244         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4245         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4246         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4247         * gst/gstpoll.h:
4248         * win32/common/libgstreamer.def:
4249         Add new function gst_poll_fd_ignored() for improved Windows
4250         compatibility.
4251         Various minor fixes and cleanups. See #520808.
4252
4253 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * gst/gstindex.c: (gst_index_entry_free):
4256         * gst/gstindex.h:
4257           Don't free key strings which we don't own. Fixes crash in
4258           gst_index_entry_free() (#522741).
4259
4260         * tests/check/Makefile.am:
4261         * tests/check/gst/.cvsignore:
4262         * tests/check/gst/gstindex.c: (test_index_entries),
4263           (gst_index_suite), (gst_index):
4264           Add unit test for the above.
4265
4266 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4267
4268         * win32/common/libgstreamer.def:
4269         Remove symbols that were removed recently. Fixes bug #521740.
4270
4271 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4272
4273         * configure.ac:
4274         * win32/common/config.h:
4275         0.10.17.3 pre-release
4276
4277 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4278
4279         Patch by: Ole André Vadla Ravnås
4280             <ole dot andre dot ravnas at tandberg dot com>
4281
4282         * docs/gst/gstreamer-sections.txt:
4283         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4284         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4285         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4286         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4287         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4288         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4289         (gst_poll_fd_can_write), (gst_poll_wait),
4290         (gst_poll_set_controllable), (gst_poll_restart),
4291         (gst_poll_set_flushing):
4292         * gst/gstpoll.h:
4293         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4294         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4295         (gst_net_time_provider_new):
4296         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4297         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4298         * tests/benchmarks/gstpollstress.c: (main):
4299         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4300         Remove GstPollMode from the API, it does not make sense to let the
4301         application control this.
4302         Add support for Win32.
4303         Fix the testsuite. Fixes #520671.
4304
4305 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4306
4307         Patch by: Ole André Vadla Ravnås
4308             <ole dot andre dot ravnas at tandberg dot com>
4309
4310         * gst/gstregistrybinary.c:
4311         Include io.h for write() and close() when building with MSVC. Fixes
4312         bug #520877.
4313
4314 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4315
4316         * configure.ac:
4317         * gst/gst_private.h:
4318         * gst/gstconfig.h.in:
4319         * gst/gstregistry.h:
4320         * gst/gstregistrybinary.c:
4321         * win32/common/gstconfig.h:
4322           Move registry backend API to private headers where we can. Add
4323           fixme-0.11 comments for the others. Add stubs for the xml backend when
4324           using the binary to ensure they functions exists (they should not be
4325           used though). Fixes #520756.
4326
4327 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4328
4329         * configure.ac:
4330         * win32/common/config.h:
4331         0.10.17.2 prelease
4332
4333 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4334
4335         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4336         (gst_registry_binary_read_cache):
4337         * gst/gstregistryxml.c: (gst_registry_save):
4338         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4339         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4340         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4341         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4342         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4343         Fixes #520152
4344
4345 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4346
4347         * gst/gstminiobject.c:
4348         Import gst_private.h before any other header that might include other
4349         glib headers. This fixes the build on windows using native compilers.
4350
4351 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4352
4353         * win32/common/gstconfig.h:
4354           Add here too, just for completeness.
4355
4356 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4357
4358         * configure.ac:
4359         * gst/gstconfig.h.in:
4360         * gst/gstregistry.h:
4361           Fix broken use of config.h-defined preprocessor directive in a public
4362           header file. Add a corresponding define to gstconfig.h, since we can't
4363           really remove those function declarations from the header file now
4364           (or can we? and why are they there in the first place?).
4365
4366 2008-03-03  Andy Wingo  <wingo@pobox.com>
4367
4368         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4369         the new warning.
4370
4371         * gst/gststructure.c (gst_structure_from_string): Warn if
4372         structure_from_string didn't consume the whole string, but the
4373         caller did not provide an end pointer.
4374
4375 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4376
4377         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4378
4379         * gst/gstregistryxml.c: (read_string), (load_feature):
4380           Strings allocated by libxml2 should be freed with xmlFree(), not
4381           with g_free(). Fixes issues on windows in certain contexts (#519698).
4382
4383 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4384
4385         * gst/gstinterface.c: (gst_element_implements_interface):
4386           Don't crash if the element supports the interface queried, but does
4387           not implement GstImplementsInterface. Fixes #519584.
4388
4389         * tests/check/Makefile.am:
4390         * tests/check/gst/.cvsignore:
4391         * tests/check/gst/gstinterface.c:
4392           Add unit test for the above.
4393
4394 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4395
4396         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4397         Small doc update.
4398
4399 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4400
4401         * gst/gstsegment.c: (gst_segment_set_seek),
4402         (gst_segment_to_stream_time):
4403         Improve some comment.
4404         Update variables where it makes more sense.
4405
4406 2008-02-29  Rene Stadler  <mail@renestadler.de>
4407
4408         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4409         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4410         URIHandlers implemented using language bindings.
4411
4412 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4413
4414         * gst/gstelementfactory.h:
4415         * tests/check/elements/fakesink.c:
4416         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4417         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4418         * tests/check/elements/filesink.c: (setup_filesink):
4419         * tests/check/elements/filesrc.c: (setup_filesrc):
4420         * tests/check/elements/identity.c: (setup_identity):
4421         * tests/check/elements/tee.c:
4422         * tests/check/generic/sinks.c:
4423         * tests/check/generic/states.c: (setup), (teardown):
4424         * tests/check/gst/gst.c:
4425         * tests/check/gst/gstabi.c:
4426         * tests/check/gst/gstbin.c:
4427         * tests/check/gst/gstbus.c: (pull_messages):
4428         * tests/check/gst/gstcaps.c:
4429         * tests/check/gst/gstelement.c:
4430         * tests/check/gst/gstevent.c:
4431         * tests/check/gst/gstghostpad.c:
4432         * tests/check/gst/gstiterator.c:
4433         * tests/check/gst/gstmessage.c:
4434         * tests/check/gst/gstminiobject.c: (my_foo_init):
4435         * tests/check/gst/gstobject.c: (thread_name_object),
4436         (gst_object_suite):
4437         * tests/check/gst/gstpad.c:
4438         * tests/check/gst/gstplugin.c:
4439         * tests/check/gst/gstpoll.c:
4440         * tests/check/gst/gstquery.c:
4441         * tests/check/gst/gstsegment.c:
4442         * tests/check/gst/gststructure.c:
4443         * tests/check/gst/gstsystemclock.c:
4444         * tests/check/gst/gsttask.c:
4445         * tests/check/gst/gstutils.c:
4446         * tests/check/gst/gstvalue.c:
4447         * tests/check/gst/struct_hppa.h:
4448         * tests/check/gst/struct_i386.h:
4449         * tests/check/gst/struct_ppc32.h:
4450         * tests/check/gst/struct_ppc64.h:
4451         * tests/check/gst/struct_x86_64.h:
4452         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4453         * tests/check/libs/basesrc.c:
4454         * tests/check/libs/controller.c: (GST_START_TEST):
4455         * tests/check/libs/gdp.c:
4456         * tests/check/libs/gstnetclientclock.c:
4457         * tests/check/libs/gstnettimeprovider.c:
4458         * tests/check/libs/libsabi.c:
4459         * tests/check/libs/struct_hppa.h:
4460         * tests/check/libs/struct_i386.h:
4461         * tests/check/libs/struct_ppc32.h:
4462         * tests/check/libs/struct_ppc64.h:
4463         * tests/check/libs/struct_x86_64.h:
4464         * tests/check/pipelines/cleanup.c:
4465         * tests/check/pipelines/simple-launch-lines.c:
4466         * tests/check/pipelines/stress.c:
4467         And correct even more valid sparse warnings.
4468
4469         * win32/common/libgstreamer.def:
4470         Add gst_poll_fd_init to the list of symbols.
4471
4472 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4473
4474         * gst/gstconfig.h.in:
4475         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4476         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4477         (gst_check_log_critical_func), (gst_check_drop_buffers),
4478         (gst_check_element_push_buffer_list):
4479         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4480         (gst_controller_get_type):
4481         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4482         (gst_object_get_controller), (gst_object_get_control_source):
4483         * libs/gst/controller/gstinterpolationcontrolsource.c:
4484         (gst_interpolation_control_source_new):
4485         * libs/gst/controller/gstlfocontrolsource.c:
4486         (gst_lfo_control_source_new):
4487         * libs/gst/dataprotocol/dataprotocol.c:
4488         (gst_dp_event_from_packet_0_2):
4489         * plugins/elements/gstfdsrc.c:
4490         * plugins/elements/gstmultiqueue.c:
4491         * plugins/elements/gsttee.c:
4492         * plugins/elements/gsttypefindelement.c:
4493         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4494         (gst_file_index_add_association):
4495         * plugins/indexers/gstmemindex.c:
4496         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4497         * tests/check/elements/queue.c: (setup_queue):
4498         * tests/check/gst/gstpipeline.c:
4499         * tests/check/libs/collectpads.c: (setup), (teardown),
4500         (gst_collect_pads_suite):
4501         * tests/examples/adapter/adapter_test.c:
4502         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4503         * tests/examples/xml/createxml.c:
4504         * tests/examples/xml/runxml.c:
4505         * tools/gst-inspect.c:
4506         * tools/gst-run.c:
4507         Correct all relevant warnings found by the sparse semantic code
4508         analyzer. This include marking several symbols static, using
4509         NULL instead of 0 for pointers, not using variable sized arrays
4510         on the stack, moving variable declarations to the beginning of
4511         a block and using "foo (void)" instead of "foo ()" for declarations.
4512
4513 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4514
4515         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4516         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4517         Don't reset GstPollFDs, this is not necessary at all.
4518
4519         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4520         (delayed_restart), (delayed_control):
4521         Use GST_POLL_FD_INIT.
4522
4523 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4524
4525         * gst/gstpoll.c: (gst_poll_fd_init):
4526         * gst/gstpoll.h:
4527         Added Since tags.
4528
4529         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4530         Use some more init macros.
4531
4532 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4533
4534         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4535         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4536         Use init macros and functions.
4537
4538 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4539
4540         * docs/gst/gstreamer-sections.txt:
4541         * gst/gstpoll.c: (gst_poll_fd_init):
4542         * gst/gstpoll.h:
4543         Add INIT macro and _init method for initializing the GstPollFD.
4544
4545 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4546
4547         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4548         (gst_fd_sink_update_fd):
4549         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4550         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4551         (delayed_restart), (delayed_control):
4552         Initialize some uninitialized variables as spotted by valgrind.
4553
4554 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4555
4556         * tests/benchmarks/Makefile.am:
4557         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4558         (main):
4559         Add poll stress test.
4560
4561 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4562
4563         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4564
4565         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4566         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4567         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4568         * plugins/elements/gstfdsink.h:
4569         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4570         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4571         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4572         (gst_fd_src_uri_set_uri):
4573         * plugins/elements/gstfdsrc.h:
4574         Port to GstPoll. See #505417.
4575
4576 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4577
4578         * win32/common/libgstreamer.def:
4579         Add new gst_poll_ symbols to win32 defs.
4580
4581 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4582
4583         * docs/libs/gstreamer-libs-sections.txt:
4584         * libs/gst/net/gstnetclientclock.c:
4585         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4586         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4587         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4588         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4589         * libs/gst/net/gstnetclientclock.h:
4590         * libs/gst/net/gstnettimeprovider.c:
4591         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4592         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4593         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4594         (gst_net_time_provider_new):
4595         * libs/gst/net/gstnettimeprovider.h:
4596         Use a private stuct to not break ABI.
4597
4598 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4599
4600         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4601
4602         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4603         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4604         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4605         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4606         * libs/gst/net/gstnetclientclock.h:
4607         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4608         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4609         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4610         (gst_net_time_provider_new):
4611         * libs/gst/net/gstnettimeprovider.h:
4612         Massive code removal and cleanups because of GstPoll.
4613         Fixes #505417.
4614
4615 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4616
4617         * configure.ac:
4618         Add checks for poll, ppoll and pselect.
4619
4620         * docs/gst/gstreamer-docs.sgml:
4621         * docs/gst/gstreamer-sections.txt:
4622         Add docs for GstPoll.
4623
4624         * gst/Makefile.am:
4625         * gst/gst.h:
4626         * gst/gstpoll.c: (find_index), (selectable_fds),
4627         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4628         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4629         (gst_poll_set_mode), (gst_poll_get_mode),
4630         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4631         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4632         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4633         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4634         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4635         (gst_poll_fd_can_write), (gst_poll_wait),
4636         (gst_poll_set_controllable), (gst_poll_restart),
4637         (gst_poll_set_flushing):
4638         * gst/gstpoll.h:
4639         Add generic poll abstraction. We ideally don't want to have this in core
4640         here but in glib intead...
4641         This code will be used in various network elements and ultimately for
4642         the nanosecond precision monotonic clock (that's why it's here in core).
4643         It'll allow us to implement cancelable socket operations for windows too.
4644
4645         * tests/check/Makefile.am:
4646         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4647         (delayed_stop), (delayed_restart), (delayed_flush),
4648         (delayed_control), (gst_poll_suite):
4649         Add GstPoll unit test.
4650
4651 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4652
4653         * gst/gstfilter.c:
4654           Improve documentation of gst_filter_run(). Fixes #518627.
4655
4656 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4657
4658         * docs/README:
4659           Add a few lines about the new 'check-inspected-versions' target.
4660
4661 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4662
4663         * tests/check/gst/gstevent.c:
4664           Add qos to the event test. Rename tcase/tsuite; is not only about
4665           custom events.
4666
4667 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4668
4669         * plugins/elements/gstqueue.c:
4670           Ensure that buffer metadata is writeable, before modifying. Spotted by
4671           Mike.
4672
4673 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4674
4675         * plugins/elements/gstqueue.c:
4676         * plugins/elements/gstqueue.h:
4677           When dropping buffers in leaky modes, mark next buffers we sent as
4678           DISCONT.
4679
4680 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4681
4682         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4683           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4684
4685 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4686
4687         * plugins/elements/Makefile.am:
4688         * plugins/elements/gstbufferstore.c:
4689         * plugins/elements/gstbufferstore.h:
4690         * plugins/elements/gsttypefindelement.h:
4691           Remove GstBufferStore, no idea why we were still building it.
4692           It's not used anywhere and superseded by GstAdapter.
4693
4694         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4695           (gst_file_src_create_mmap):
4696         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4697           Printf format fixes for 64-bit integers.
4698
4699 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4700
4701         * configure.ac:
4702         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4703         We're not in 0.8 times anymore.
4704
4705 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4706
4707         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4708         (gst_check_element_push_buffer_list):
4709         * libs/gst/check/gstcheck.h:
4710         Make the declaration in the header for
4711         gst_check_element_push_buffer_list match the implementation.
4712
4713         Fix up spelling, grammar and wording of the documentation in a few
4714         places, and add the Since keyword to new API functions.
4715         Use g_list_delete_link instead of g_list_remove in
4716         gst_check_drop_buffers, since it's immeasurably more efficient.
4717
4718         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4719         Use new gst_check_drop_buffers function where appropriate.
4720
4721         * win32/common/libgstbase.def:
4722         * win32/common/libgstreamer.def:
4723         Add new symbols gst_collect_pads_take_buffer, 
4724         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4725         exports
4726
4727         Changelog surgery to add API keyword to new gst_check API.
4728
4729 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4730
4731         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4732         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4733         Update pre-generated flex files with flex 2.3.34.
4734
4735 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4736
4737         * gst/gstminiobject.c:
4738           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4739           friendly to subclasses and not require them to know all internals
4740           of their parent class.
4741
4742 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4743
4744         * docs/libs/gstreamer-libs-sections.txt:
4745         * libs/gst/base/gstcollectpads.c:
4746         * libs/gst/base/gstcollectpads.h:
4747           Add sub-buffer functions to collectpads. Fixes #516187.
4748           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4749
4750 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4751
4752         * gst/gstbuffer.c:
4753           Copy selected buffer-flags when creating subbuffers.
4754           Fixes #516395.
4755
4756 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4757
4758         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4759         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4760         * gst/gstmessage.c: (gst_message_class_init),
4761         (gst_message_finalize):
4762         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4763         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4764         (gst_mmap_buffer_finalize):
4765         Properly chain up finalize functions to the parent class.
4766
4767 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4768
4769         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4770
4771         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4772         (gst_index_set_resolver_full):
4773         * gst/gstindex.h:
4774         Add new function with option to dispose of user_data in resolver.
4775         Actually call the dispose function when finalizing the object and not
4776         just when changing the resolver/filter.
4777         API: GstIndex::gst_index_set_resolver_full()
4778
4779         * docs/gst/gstreamer-sections.txt:
4780         Add new function to docs. Fixes #515469.
4781
4782 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4783
4784         * gst/gstindex.c: (gst_index_finalize):
4785         Chain up finalize to the parent class. Fixes leaking the GstObject
4786         name and other things.
4787
4788 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4789
4790         * configure.ac:
4791         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4792         pre-releases or releases.
4793
4794         * docs/faq/gst-uninstalled:
4795         Add gst-plugins-gl
4796
4797         * docs/random/release:
4798         Change one of the steps - we only upload core & base to Gnome FTP
4799
4800 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4801
4802         * gst/gstconfig.h.in:
4803           Add 'id' for example.
4804
4805         * gst/gstpad.c:
4806         * gst/gstutils.c:
4807         * plugins/elements/gstfdsink.c:
4808           Link to signals. Doc and comment fixes.
4809
4810 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4811
4812         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4813         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4814           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4815           unused and unimplemented; finally, it is plugin features, not
4816           plugins, that have ranks.
4817           
4818 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4819
4820         * gst/gstpluginfeature.h:
4821           Clarify GstRank range docs.
4822
4823 2008-02-05  David Schleef  <ds@schleef.org>
4824
4825         * gst/gst.c: Add a separate gst_deinitialized that prevents
4826           gst_init() from being called after gst_deinit().  Fixes #509559
4827
4828 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4829
4830         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4831         (gst_bin_class_init):
4832         * gst/gstelement.c: (gst_element_base_class_init),
4833         (gst_element_class_add_pad_template):
4834         * gst/gstpadtemplate.c: (gst_pad_template_init):
4835         * gst/gstpipeline.c: (gst_pipeline_get_type),
4836         (gst_pipeline_base_init), (gst_pipeline_class_init):
4837         * libs/gst/base/gstbasesink.c:
4838         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4839         (gst_base_src_base_init), (gst_base_src_class_init):
4840         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4841         (gst_capsfilter_class_init):
4842         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4843         (gst_fake_sink_class_init):
4844         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4845         (gst_fake_src_class_init):
4846         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4847         (gst_fd_sink_class_init):
4848         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4849         (gst_fd_src_class_init):
4850         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4851         (gst_file_sink_class_init):
4852         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4853         (gst_file_src_class_init):
4854         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4855         (gst_identity_class_init):
4856         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4857         (gst_multi_queue_class_init):
4858         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4859         (gst_queue_class_init):
4860         * plugins/elements/gsttee.c: (gst_tee_base_init),
4861         (gst_tee_class_init):
4862         * plugins/elements/gsttypefindelement.c:
4863         (gst_type_find_element_base_init),
4864         (gst_type_find_element_class_init):
4865         * tests/check/gst/gstelement.c: (gst_element_suite):
4866         Revert previous changes to the behaviour of GstPadTemplates, etc
4867         and the possiblity to call them in class_init as it breaks too
4868         many elements. Reopens bug #491501.
4869
4870         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4871         several places.
4872
4873 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4874
4875         * tools/gst-launch.c:
4876         Dump one graph per pipeline state-change and state change name
4877         (if GST_DEBUG_DUMP_DOT_DIR is set).
4878
4879 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4880
4881         * gst/gstpad.c:
4882         * tests/check/gst/gstpad.c:
4883         Be sure that we have a new copy of the caps and not
4884         reffed caps from a template
4885
4886 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4887
4888         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4889         * gst/gstpipeline.c: (gst_pipeline_get_type),
4890         (gst_pipeline_class_init):
4891         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4892         (gst_base_sink_class_init):
4893         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4894         (gst_base_src_class_init):
4895         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4896         (gst_base_transform_class_init):
4897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4898         (gst_collect_pads_class_init):
4899         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4900         * libs/gst/net/gstnettimeprovider.c:
4901         (gst_net_time_provider_base_init),
4902         (gst_net_time_provider_class_init):
4903         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4904         (gst_capsfilter_class_init):
4905         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4906         (gst_fake_sink_class_init):
4907         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4908         (gst_fake_src_class_init):
4909         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4910         (gst_fd_sink_class_init):
4911         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4912         (gst_fd_src_class_init):
4913         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4914         (gst_file_sink_class_init):
4915         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4916         (gst_file_src_class_init):
4917         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4918         (gst_identity_class_init):
4919         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4920         (gst_multi_queue_class_init):
4921         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4922         (gst_queue_class_init):
4923         * plugins/elements/gsttee.c: (gst_tee_base_init),
4924         (gst_tee_class_init):
4925         * plugins/elements/gsttypefindelement.c:
4926         (gst_type_find_element_base_init),
4927         (gst_type_find_element_class_init):
4928         Don't use base_init where not absolutely necessary. For example it's
4929         not necessary anymore for adding pad templates or setting element
4930         details.
4931
4932         Leave empty base_init functions in several places as GST_BOILERPLATE
4933         still defines and uses them.
4934
4935 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4936
4937         * gst/gstelement.c: (gst_element_base_class_init),
4938         (gst_element_class_add_pad_template):
4939         * gst/gstpadtemplate.c:
4940         Make it possible (and recommended) to set element details and add
4941         pad templates in the class_init functions by copying the details/pad
4942         templates in GstElement's base_init.
4943
4944         Also make it possible to replace existing pad templates by adding
4945         a new one with the same name. This was done in a hackish fashion
4946         in same elements before already.
4947
4948         Don't reference pad templates that are added a second time. A
4949         new pad template has a refcount of one and is not floating anymore
4950         and to be owned by the element's class. Make this more explicit by
4951         mentioning it in the docs of gst_element_class_add_pad_template().
4952
4953         These changes are backwards compatible. Fixes bug #491501.
4954
4955         * tests/check/gst/gstelement.c:
4956         Add unit test for setting element details, adding pad templates and
4957         replacing them in a subclass.
4958
4959 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
4960
4961         * tools/gst-inspect.c: (print_interfaces),
4962         (print_element_properties_info), (print_pad_info),
4963         (print_signal_info), (print_element_info):
4964         Fix a few memory leaks.
4965
4966 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
4967
4968         * docs/libs/gstreamer-libs-sections.txt:
4969         * libs/gst/check/gstcheck.c:
4970         * libs/gst/check/gstcheck.h:
4971         Add more functions for unit testing: gst_check_drop_buffers,
4972         gst_check_caps_equal, gst_check_element_push_buffer_list,
4973         gst_check_element_push_buffer
4974         API: gst_check_drop_buffers
4975         API: gst_check_caps_equal
4976         API: gst_check_element_push_buffer_list
4977         API: gst_check_element_push_buffer
4978
4979 2008-02-01  Julien Moutte  <julien@fluendo.com>
4980
4981         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
4982         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
4983         (gst_index_finalize), (gst_index_entry_free),
4984         (gst_index_add_association): Fix memory leaks.
4985         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
4986         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
4987         (gst_mem_index_free_format), (gst_mem_index_free_id),
4988         (gst_mem_index_finalize): Fix memory leaks.
4989         * win32/common/config.h: Updated to CVS HEAD.
4990
4991 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
4992
4993         * docs/README:
4994           Some more details about how the plugin docs works.
4995
4996         * docs/plugins/gstreamer-plugins-sections.txt:
4997           Whitespace cleanup.
4998
4999 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5000
5001         * gst/parse/grammar.tab.pre.c:
5002         * gst/parse/grammar.tab.pre.h:
5003         * gst/parse/grammar.y:
5004         * gst/parse/lex._gst_parse_yy.pre.c:
5005           Add delayed set-property. This allows to set properties on dynamicaly
5006           created objects (pads in videomxer). Fixes #509391.
5007
5008 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5009
5010         * gst/gstutils.c:
5011         Check if caps are not NULL (fix bug #510194)
5012
5013 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5014
5015         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5016         (gst_base_sink_get_position_paused):
5017         Add fixme regarding EOS in pull mode.
5018         Fix position reporting in PAUSED for negative rates.
5019
5020 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5021
5022         * gst/gstminiobject.c: (gst_mini_object_replace):
5023         When replacing a miniobject, do a quick equality check first so that we
5024         can avoid a ref/unref pair.
5025
5026 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5027
5028         * docs/design/part-synchronisation.txt:
5029         Update some docs.
5030
5031         * docs/plugins/Makefile.am:
5032         * docs/plugins/gstreamer-plugins-docs.sgml:
5033         * docs/plugins/gstreamer-plugins-sections.txt:
5034         * plugins/elements/gstmultiqueue.c:
5035         Add multiqueue to the docs.
5036
5037 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5038
5039         * configure.ac:
5040           Back to CVS
5041
5042 === release 0.10.17 ===
5043
5044 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5045
5046         * configure.ac:
5047           releasing 0.10.17, "Due Negligence"
5048
5049 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5050
5051         * gst/gstutils.c:
5052         Revert caps != NULL check temporarily for 0.10.17 release.
5053
5054 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5055
5056         * gst/gstutils.c:
5057         Check if caps are not NULL (fix bug #510194)
5058
5059 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5060
5061         * gst/gstutils.c:
5062         Fix compilation on systems that have posix timers but no
5063         monotonic clock.
5064         Fixes: #512715
5065         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5066         dot net>
5067
5068 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5069
5070         * tools/gst-inspect.c:
5071         Revert previous commit in preparation for an impromptu 0.10.17 release
5072
5073 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5074
5075         * tools/gst-inspect.c: (print_interfaces),
5076         (print_element_properties_info), (print_pad_info),
5077         (print_signal_info), (print_element_info):
5078         Fix a few memory leaks.
5079
5080 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5081
5082         * configure.ac:
5083         Back to CVS
5084
5085 === release 0.10.16 ===
5086
5087 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5088
5089         * configure.ac:
5090           releasing 0.10.16, "Special Dispensation"
5091
5092 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5093
5094         * configure.ac:
5095           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5096           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5097           not fail when trying to crosscompile on OpenEmbedded (#511750).
5098
5099 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5100
5101         * docs/manuals.mak:
5102         Use $(MAKE) instead of make to fix the build if GNU make is
5103         called different. Fixes bug #510747.
5104
5105 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5106
5107         * gst/gstplugin.c: (_gst_plugin_initialize):
5108           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5109           again, which I broke two commits ago when changing the API
5110           of gst_plugin_register_static(): the g_list_foreach() in
5111           _gst_plugin_register_static still assumed the old function
5112           signature and would therefore fail (re-fixes #510187).
5113
5114         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5115           (_gst_plugin_register_static), (gst_plugin_register_static):
5116           Revert the (technically correct) change to call g_thread_init() from
5117           the pre-main() constructor. This will break programs which call
5118           g_thread_init() without an if (!g_thread_supported()) guard in their
5119           main function. We could just blame it on GLib or the application, but
5120           it's probably best to just avoid this altogether and simply not use
5121           any GLib functions here and use plain old malloc() with a simple
5122           array to store the plugins to register later when gst_init() is
5123           finally called (re-fixes #510187).
5124
5125         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5126           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5127           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5128           (GST_START_TEST), (gst_plugin_suite):
5129           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5130           works.
5131
5132 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5133
5134         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5135           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5136           This makes gtk-doc complain, but results in slightly better
5137           compiler errors. The old _gst_plugin_register_static() is
5138           still guarded, so there'll be a compiler warning about that
5139           instead. Fixes #510187 too.
5140
5141 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5142
5143         * gst/gst.c: (init_post):
5144         * gst/gstplugin.c: (_gst_plugin_register_static),
5145           (gst_plugin_register_static), (_gst_plugin_initialize):
5146         * gst/gstplugin.h: (GstPluginFilter):
5147           Change API of gst_plugin_register_static() to not take
5148           a GstPluginDesc, but rather just take all the arguments
5149           in a GstPluginDesc directly. This is more intuitive and
5150           avoids certain mistakes when porting code from
5151           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5152           Fixes #510187.
5153
5154         * tests/check/gst/gstplugin.c:
5155           Fix up for changed API.
5156
5157 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5158
5159         * docs/faq/legal.xml:
5160           Update FAQ, Totem actually has an exception these days.
5161
5162 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5163
5164         * win32/common/libgstreamer.def:
5165         Add new API declarations
5166
5167 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5168
5169         * gst/gstminiobject.c:
5170           Spelling fixes for the API docs.
5171
5172 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5173
5174         * libs/gst/base/gstbasetransform.c:
5175           Fix long property description for QoS.
5176
5177 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5178
5179         * gst/gst.c:
5180         _gst_trace_on is already provided by gsttrace.h, no need to declare
5181         it ourselves.
5182
5183         * docs/libs/gstreamer-libs-sections.txt:
5184         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5185         and remove strange tcase_add_test which is outputting a warning.
5186
5187         * libs/gst/check/gstcheck.c:
5188         * libs/gst/check/gstcheck.h:
5189         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5190         and define them in gstcheck.c instead of having every .c file whcih
5191         includes gstcheck.h be defining its own copy and relying on symbol
5192         interposing to marry them all, which doesn't work on Solaris.
5193
5194         * tests/check/elements/identity.c: (GST_START_TEST):
5195         Don't define 'buffers' locally, it comes from libgstcheck.
5196
5197         * tests/check/generic/sinks.c: (send_buffer):
5198         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5199
5200         * tests/check/gst/gststructure.c: (GST_START_TEST):
5201         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5202         * tests/check/gst/gstutils.c: (GST_START_TEST):
5203         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5204         Add a bunch of casts to make various constants fit the types
5205         they're being assigned to.
5206
5207 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5208
5209         * gst/gstchildproxy.c:
5210           Improve docs and add some ideas for making this more general-purpose.
5211
5212 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5213
5214         * gst/gst_private.h: (GST_CAT_TYPES):
5215           Add GST_CAT_TYPES, for consistency, and so that the other
5216           debug categories don't make fun of it. Spotted by Saur on IRC.
5217
5218 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5219
5220         * gst/parse/Makefile.am:
5221           Move types.h from EXTRA_DIST to noinst_HEADERS.
5222
5223 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5224
5225         * autogen.sh:
5226           Add -Wno-portability to the automake parameters to stop warnings
5227           about GNU make extensions being used. We require GNU make in almost
5228           every Makefile anyway.
5229
5230         * configure.ac:
5231           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5232           at the same time is required for per target flags.
5233
5234 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5235
5236         * gst/gstmacros.h:
5237           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5238           __GNUC__ is defined before using it.
5239
5240 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5241
5242         * docs/gst/gstreamer-sections.txt:
5243         * gst/gst.c: (init_post):
5244         * gst/gstplugin.c: (_gst_plugin_register_static),
5245           (gst_plugin_register_static), (_gst_plugin_initialize),
5246           (gst_plugin_register_func):
5247         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5248           API: add gst_plugin_register_static() and deprecate
5249           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5250           (#498924).
5251           Also, in _gst_plugin_register_static(), make sure to call
5252           g_thread_init() before calling GLib functions such as
5253           g_list_append() if we're not initialised yet, since that
5254           may lead to random crashes with older GSlice/GLib versions.
5255
5256         * tests/check/gst/gstplugin.c:
5257           Adapt unit test to above changes.
5258
5259 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5260
5261         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5262         * gst/gstcaps.c: (gst_caps_to_string):
5263         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5264           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5265           Yet another gratuitous GString micro-optimisation: add a (private)
5266           function that serialises a structure appending to an existing
5267           GString, so that when we serialise caps we don't need to alloc+free
5268           a throwaway GString for each structure (each of which also entailing
5269           multiple reallocs on the way); also use g_string_sized_new() in
5270           various places with an approximate string length to avoid reallocs
5271           within GString. See #500143.
5272
5273 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5274
5275         * gst/gststructure.c: (gst_structure_id_set_value):
5276           Always check UTF-8 conformance of structure strings and not only
5277           if the debugging system is enabled; reasoning: the behaviour of
5278           the actual code shouldn't really change depending on whether the
5279           debugging system is enabled or not (#508291).
5280
5281 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5282
5283         * Makefile.am:
5284           Remove old coverage target in favour of "make lcov".
5285
5286 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5287
5288         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5289         (gst_base_src_loop):
5290         The start segment for reverse playback goes from start to last_stop.
5291
5292 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5293
5294         Patch by: Peter Kjellerstedt <pkj axis com>
5295
5296         * gst/gstclock.h:
5297         Cast the results from the timeval/spec_to_time macros to what the
5298         docs say it casts to, a GstClockTime. fixes #508175.
5299
5300 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5301
5302         * gst/gstbuffer.c:
5303         Update some comments.
5304
5305         * tools/gst-inspect.c: (print_element_properties_info):
5306         Improve printing of flags.
5307
5308 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5309
5310         * libs/gst/base/gstbasetransform.c:
5311           (gst_base_transform_transform_size):
5312           Print element name with g_warning() if there's a problem
5313           with the unit size.
5314
5315 2008-01-07  David Schleef  <ds@schleef.org>
5316
5317         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5318
5319         * libs/gst/controller/gstcontroller.h:
5320         * libs/gst/controller/gstcontrolsource.h:
5321         * libs/gst/controller/gstinterpolationcontrolsource.h:
5322         * libs/gst/controller/gstlfocontrolsource.h:
5323         * libs/gst/dataprotocol/dataprotocol.h:
5324           Fix empty prototypes.  Fixes bug #507957.
5325
5326 2008-01-07  David Schleef  <ds@schleef.org>
5327
5328         * docs/faq/dependencies.xml: Fix typo.
5329
5330 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5331
5332         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5333         (gst_base_src_loop):
5334         Don't update the last_stop position in do_seek, that's the position we
5335         did a seek to.
5336         Read backwards when we have a negative rate.
5337
5338         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5339         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5340         (filesrc_suite):
5341         Add check for reverse reading.
5342
5343 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5344
5345         Patch by: Alexis Ballier <aballier at gentoo org>
5346
5347         * tests/check/gst/gstabi.c:
5348         * tests/check/gst/struct_ppc64.h:
5349         * tests/check/libs/libsabi.c:
5350         * tests/check/libs/struct_ppc64.h:
5351           Decide which header to include based on the userland ABI target
5352           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5353           for 64-bit userland (#503590).  Might need something similar for
5354           x86 too.
5355
5356 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5359           Log the reason why fopen fails in addition to the fact that it failed.
5360           
5361 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5362
5363         * gst/parse/parse.l:
5364         Use "%option never-interactive" to prevent useless calls to isatty()
5365         on every input when parsing. Also use "%option noinput" to not define
5366         the static input/yyinput functions which we don't use anyway. This
5367         removes a compiler warning with gcc 4.3 and saves some bytes in the
5368         library.
5369         
5370         * gst/parse/lex._gst_parse_yy.pre.c:
5371         Regenerated for the above change.
5372
5373 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5374
5375         * gst/gstpad.c: (fixate_value):
5376         Don't crash when trying to fixate and empty list.
5377         Fixes #506643.
5378
5379 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5380
5381         * docs/faq/gst-uninstalled:
5382         Clarify the comments to make the usage of this script and what it
5383         does easier to understand.
5384
5385 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5386
5387         * tools/gst-plot-timeline.py:
5388         Add more options to gst-plot-timeline
5389
5390 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5391
5392         * docs/design/part-synchronisation.txt:
5393         Some more info on how the stream_time in GstBaseSink is done.
5394
5395 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5396
5397         * tests/check/generic/sinks.c: (gst_sinks_suite):
5398           Put back the tcase_set_timeout(), apparently it's needed after
5399           all; fix it up in a way that makes things work with valgrind too.
5400
5401 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5402
5403         * gst/gstdebugutils.c:
5404           Add warning when failed to open file for writing.
5405
5406 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5407
5408         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5409
5410         * gst/gstvalue.c: (gst_value_is_fixed):
5411           Optimisation: bail out of the loop as early as possible (#500143).
5412
5413 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5414
5415         * gst/gstcaps.c: (gst_caps_to_string):
5416         * gst/gstinfo.c: (gst_debug_construct_term_color):
5417         * gst/gstparse.c: (gst_parse_launchv):
5418         * gst/gstutils.c: (gst_util_dump_mem):
5419         * gst/gstvalue.c: (gst_value_serialize_any_list),
5420           (gst_value_transform_any_list_string):
5421           Bunch of gratuitous nano-optimisations.
5422
5423 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5424
5425         * tests/check/generic/sinks.c: (async_done_func),
5426           (async_done_eos_func):
5427           Fix leak in unit test (bus sync handler must unref the message
5428           if it returns GST_BUS_DROP). Don't fiddle with the default test
5429           timeout, this is smaller than the current preconfigured value
5430           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5431           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5432
5433 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5434
5435         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5436
5437         * configure.ac:
5438         Check for stdio_ext.h for the filesink changes.
5439
5440         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5441         (gst_file_sink_class_init), (gst_file_sink_init),
5442         (gst_file_sink_dispose), (gst_file_sink_set_property),
5443         (gst_file_sink_get_property), (gst_file_sink_open_file),
5444         (gst_file_sink_close_file):
5445         * plugins/elements/gstfilesink.h:
5446         Add two properties to control the buffering mode and size.
5447         API: GstFileSink::buffer-mode
5448         API: GstFileSink::buffer-size
5449         Fixes #500150.
5450
5451 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5452
5453         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5454         Add some more docs to explain why a FIXME was wrongly added. 
5455
5456 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5457
5458         * gst/gstobject.c:
5459           Fix typo in the gst_object_{ref,unref} documentation.
5460
5461 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5462
5463         * tests/check/libs/controller.c:
5464         * tests/check/libs/typefindhelper.c:
5465         * tests/check/pipelines/parse-launch.c:
5466           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5467           going to be deprecated (see #498924).
5468
5469 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5470
5471         * gst/gsttypefind.c: (gst_type_find_register):
5472           Make gst_type_find_register work for static typefind functions,
5473           ie. allow passing plugin == NULL (prerequisite for #498924).
5474
5475         * gst/gstelementfactory.c: (gst_element_register):
5476           Small docs addition.
5477
5478 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5479
5480         * gst/gstpad.c: (gst_pad_dispose):
5481         Really unlink the peer pad instead of setting the peer pointer to NULL
5482         when we dispose the pad.
5483         This correctly calls the unlink functions and makes sure that the peer
5484         does not have a handle to invalid memory. See #504671.
5485
5486         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5487         Add testsuite for above case.
5488
5489 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         Patch by: Peter Kjellerstedt <pkj axis com>
5492
5493         * libs/gst/check/gstcheck.h:
5494           Fix detection of the check version we're compiling against (would
5495           otherwise break if check goes v0.10.0); correctly report the
5496           name of the failed test again in case of failure, instead of
5497           just 'tf' (fixes #504499).
5498
5499 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5500
5501         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5502         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5503         (gst_base_src_loop), (gst_base_src_set_flushing),
5504         (gst_base_src_change_state):
5505         Allow sending EOS to the source to make it send out an EOS event from
5506         the streaming thread.
5507         Update docs and deprecate the old NULL/READY shutdown method.
5508
5509         * tests/check/libs/basesrc.c: (GST_START_TEST),
5510         (gst_basesrc_suite):
5511         Add unit test for controlled shutdown.
5512
5513 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5514
5515         * docs/design/part-synchronisation.txt:
5516         Small updates.
5517
5518         * gst/gstsegment.c: (gst_segment_set_seek),
5519         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5520         (gst_segment_to_running_time):
5521         The seek format can be different from the segment format when the start
5522         and stop values are not to be updated, when we only do a rate change for
5523         example.
5524
5525         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5526         (gst_segment_suite):
5527         Add a testcase for the rate-only seeks, checking that the format is
5528         correctly ignored when start and stop are not updated.
5529
5530 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5531
5532         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5533
5534         * win32/vs8/grammar.vcproj:
5535         * win32/vs8/libgstcontroller.vcproj:
5536         * win32/vs8/libgstreamer.vcproj:
5537         Fix compilation with VS8 and include some missing files.
5538
5539 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5540
5541         * gst/gsttaglist.c:
5542           Small docs addition: mention that the strings returned by
5543           gst_tag_list_get_string*() are in UTF-8 encoding.
5544
5545 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5546
5547         * Makefile.am:
5548           The check-exports stuff moved to common/win32.mak, so include that.
5549
5550 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5551
5552         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5553         (gst_base_src_perform_seek), (gst_base_src_get_range),
5554         (gst_base_src_set_playing), (gst_base_src_change_state):
5555         Make _wait_playing() not check any variables so that we can call this
5556         function from subclasses. Move the checks elsewhere similar to
5557         _wait_preroll() in basesink.
5558         Add some debugging.
5559         Only signal the LIVE cond when we are going back to PLAYING.
5560
5561 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5562
5563         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5564           Use g_remove() and g_rename(). Check result of g_rename(), and
5565           don't leak the open file descriptor if we error out when writing.
5566
5567         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5568           Must check the return value of close() after writing out the new
5569           registry file.  Sometimes write problems such as out-of-diskspace
5570           are only reported when the file is closed and not already during
5571           the write.  This may have caused partial/broken registry files in
5572           some rare circumstances. Should fix #503675.
5573
5574 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5575
5576         * docs/gst/.cvsignore:
5577         * docs/libs/.cvsignore:
5578         * docs/plugins/.cvsignore:
5579         Ignore files generated by new common/* modifications
5580
5581 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5582
5583         * win32/common/libgstbase.def:
5584           Yes, you can also have a <TAB> if you want.
5585
5586 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5587
5588         * win32/common/libgstbase.def:
5589           Add new basetransform API to win export file.
5590
5591 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5592
5593         * tests/check/gst/gstbin.c:
5594           Adjust the test to the refcount change two days ago.
5595
5596 2007-12-14  David Schleef  <ds@schleef.org>
5597
5598         * docs/faq/getting.xml: Fix typo.
5599
5600 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5601
5602         * docs/libs/gstreamer-libs-sections.txt:
5603         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5604           (gst_base_transform_prepare_output_buffer),
5605           (gst_base_transform_set_gap_aware):
5606         * libs/gst/base/gstbasetransform.h:
5607           API: Add gst_base_transform_set_gap_aware() to control whether
5608           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5609           get buffers with this flag at all. Fixes #503231.
5610
5611 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5612
5613         * libs/gst/base/gstbasesink.c:
5614         * libs/gst/base/gstbasesrc.c:
5615         * libs/gst/base/gstbasetransform.c:
5616           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5617           thread. Correct log message in gstbasesrc.c.
5618
5619 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5620
5621         * gst/gstutils.c: (element_find_unconnected_pad):
5622           Fix possible compiler warning (#503417).
5623
5624 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5625
5626         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5627           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5628
5629 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5630
5631         * tools/gst-inspect.c: (print_element_properties_info):
5632           Add support for GstFraction properties.
5633
5634 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5635
5636         * Makefile.am:
5637           Add check-exports target and run it as part of 'make check'
5638           (see #499140 and #493983).
5639
5640         * gst/gst_private.h:
5641         * gst/gstelementfactory.h:
5642         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5643         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5644           (_priv_gst_in_valgrind):
5645         * gst/gstinfo.h: (GstLogFunction):
5646         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5647           (gst_type_find_register):
5648         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5649           (gst_type_find_factory_get_type):
5650         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5651           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5652           (gst_controller_new_valist), (gst_controller_new_list),
5653           (_gst_controller_dispose), (_gst_controller_class_init):
5654         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5655         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5656           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5657           (gst_object_get_controller), (gst_object_set_controller),
5658           (gst_object_suggest_next_sync), (gst_object_sync_values),
5659           (gst_object_set_control_source), (gst_object_get_control_source),
5660           (gst_object_get_value_arrays), (gst_object_get_value_array),
5661           (gst_object_get_control_rate), (gst_object_set_control_rate):
5662         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5663         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5664           Make some functions that should be static static; rename some
5665           private symbols so that they don't get exported; add some FIXME
5666           comments so we can move accidentally exported functions into
5667           our private section in 0.11.
5668
5669         * win32/common/libgstreamer.def:
5670           Add gst_utils_get_timestamp().
5671
5672 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5673
5674         * gst/gstvalue.c:
5675         * gst/gstvalue.h:
5676           Add more missing "Since:" tags to docs.
5677
5678 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5679
5680         * gst/gstutils.c:
5681           Add mising "Since:" to docs.
5682
5683 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5684
5685         * gst/gstplugin.c:
5686           Include "glib-compat-private.h" to fix the build on system with
5687           glib < 2.10. Fixes #503131.
5688
5689 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5690
5691         * gst/gstutils.c:
5692         * gst/gstutils.h:
5693           Actually its not PURE as it gets the time from elsewhere.
5694
5695 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5696
5697         * docs/gst/gstreamer-sections.txt:
5698         * gst/gstclock.h:
5699         * gst/gstdebugutils.c:
5700         * gst/gstinfo.c:
5701         * gst/gstutils.c:
5702         * gst/gstutils.h:
5703         * libs/gst/base/gstbasesink.c:
5704         * tools/gst-launch.c:
5705           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5706           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5707           Thanks Tim for spotting.
5708           API: gst_util_get_timestamp
5709
5710 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5711
5712         * configure.ac:
5713           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5714
5715 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * gst/gststructure.c: (gst_structure_validate_name),
5718           (gst_structure_new_valist), (gst_structure_parse_value),
5719           (gst_structure_from_string):
5720           Don't crash in _from_string() if the structure name is not valid
5721           (fixes #501560).  Allow structure names to start with a number
5722           again (this apparently broke the ubuntu codec installer).
5723
5724         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5725           (GST_START_TEST):
5726           Add unit test for the crash; update unit tests for new behaviour.
5727
5728 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5729
5730         * gst/gstutils.c:
5731         Clarify gst_element_get_compatible_pad() documentation.
5732         Fixes #500919.
5733
5734 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5735
5736         * tests/check/Makefile.am:
5737           Don't forget to dist {gst,libs}/struct_hppa.h.
5738
5739 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * libs/gst/base/gstbasesink.c:
5742           Use new API to get elapsed time.
5743
5744 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * gst/gstdebugutils.c:
5747         * gst/gstinfo.c:
5748           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5749
5750         * tools/gst-launch.c:
5751           Use new API to get elapsed time.
5752
5753 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5754
5755         * docs/gst/gstreamer-sections.txt:
5756         * gst/gstclock.h:
5757         * gst/gstdebugutils.c:
5758         * gst/gstinfo.c:
5759           Rename new API + ChangeLog surgery to remove old name from last entry..
5760
5761 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * docs/gst/gstreamer-sections.txt:
5764         * gst/gstclock.h:
5765         * gst/gstdebugutils.c:
5766         * gst/gstinfo.c:
5767           Now hide the different clock stuff behind a macro.
5768
5769 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5770
5771         * configure.ac:
5772         * gst/gstdebugutils.c:
5773         * gst/gstinfo.c:
5774           Apply the posix-timer check from #361155. Conditionally use the posix
5775           timer for logging. This gives better timestamp precission, less
5776           overhead and no ntp jitter.
5777
5778 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5779
5780         * gst/gstminiobject.c: (gst_mini_object_get_type),
5781         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5782         (gst_mini_object_finalize), (gst_mini_object_copy),
5783         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5784         (gst_mini_object_replace), (param_mini_object_validate),
5785         (gst_param_spec_mini_object_get_type):
5786         Some cleanup and checking against invalid function parameters.
5787
5788 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5789
5790         * docs/gst/gstreamer-sections.txt:
5791         * gst/gstclock.h:
5792         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5793         (gst_systemclock_suite):
5794         Start merging in the easy bits of #361155, the monotonic clock patch.
5795         This one adds a few handy macros with docs and a testsuite.
5796
5797 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5798
5799         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5800         Be a bit smarter when seeking, like, don't try to do a seek when it's
5801         not needed. This avoids errors when the file is not seekable.
5802         Fixes #499771.
5803
5804 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5805
5806         * docs/gst/gstreamer-docs.sgml:
5807         * docs/gst/gstreamer-sections.txt:
5808         * docs/gst/gstreamer.types.in:
5809         * gst/Makefile.am:
5810         * gst/gst.h:
5811         * gst/gstpreset.c:
5812         * gst/gstpreset.h:
5813         * plugins/elements/gstqueue.c:
5814           Due to popular request remove preset interface again. :-(.
5815
5816 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5817
5818         * tools/gst-inspect.c:
5819           Print 'default value' for enums and flags too.
5820
5821 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5822
5823         * docs/random/ensonic/profiling.txt:
5824           More ideas.
5825
5826         * gst/gstbin.c:
5827           Fix typo and give better log output.
5828
5829         * gst/gstdebugutils.c:
5830         * gst/gstdebugutils.h:
5831           More ideas, make graphs a bit smaller and fix param name in macro.
5832
5833 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5834
5835         * gst/gstpreset.c:
5836           Try harder to use the return value from fgets().
5837
5838 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5839
5840         * gst/gstpreset.c:
5841           For theses two fgets we handle the error below.
5842
5843 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5844
5845         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5846         Only send upstream events upstream. Fixes #498746.
5847
5848 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5849
5850         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5851
5852         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5853         (gst_identity_init), (gst_identity_transform_ip),
5854         (gst_identity_set_property), (gst_identity_get_property):
5855         * plugins/elements/gstidentity.h:
5856         Add property to disable handoff signal emission. Fixes #498694.
5857         API: GstIdentity::signal-handoffs
5858
5859 2007-11-21  Julien Moutte  <julien@fluendo.com>
5860
5861         * docs/faq/gst-uninstalled: Yet another missing library for the
5862         uninstalled script (fft)
5863
5864 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5865
5866         * docs/faq/developing.xml:
5867         Add a question about how to submit new translations.
5868
5869         * docs/random/release:
5870         Update the contact email address for the Translation Project
5871
5872         * plugins/elements/gstfdsrc.c:
5873         The parent_class for fdsrc is pushsrc, not GstElement.
5874
5875 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5876
5877         * gst/gstpreset.c:
5878           Plug a leak and fix saving.
5879
5880 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5881
5882         * docs/gst/gstreamer-sections.txt:
5883         Add new gst_preset__get_property_names() function to the docs
5884         to fix the build.
5885
5886 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5887
5888         * gst/gstpreset.c:
5889         * gst/gstpreset.h:
5890           Change _get_preset_names API to return a strv with copies. Add
5891           _get_property_names to allow implementations to filter and provide
5892           good default implementation.
5893
5894 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5895
5896         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5897         script (sdp).
5898
5899 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * gst/gstpreset.c:
5902           More cleanups, docs, and TODOs from comments that now slowly come in.
5903
5904 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5905
5906         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5907         search path.
5908
5909 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5910
5911         * gst/gstpreset.c:
5912           Fix bogus warning and make the property type specific code more
5913           similar.
5914
5915 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5916
5917         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5918         it build on OS X.
5919
5920 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5921
5922         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5923         (gst_bin_add_func), (gst_bin_remove_func),
5924         (gst_bin_change_state_func), (gst_bin_continue_func):
5925         Change email, cleanups add some more debug and comments.
5926         Also set bus and clock on new elements when the pipeline was in error.
5927
5928 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5929
5930         * gst/gstbin.c:
5931         * gst/gstdebugutils.c:
5932           Fix build with --disable-gst-debug. Fixes #497859.
5933           Spotted by Sameer Naik.
5934
5935 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5936
5937         * gst/gstevent.c:
5938           Little documentation improvment.
5939
5940         * gst/gstpreset.c:
5941           More TODO cleanups. Remove c++ comments.
5942
5943         * libs/gst/controller/gstcontroller.c:
5944           Add TODO and use quark from static string.
5945
5946         * tests/check/gst/gstmessage.c:
5947         * tests/check/gst/gststructure.c:
5948           Use quark from static string.
5949
5950 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5951
5952         * gst/gstpreset.c:
5953           Add some comments and TODOs.
5954
5955         * gst/gstpreset.h:
5956           Add padding for future changes.
5957
5958         * plugins/elements/gstqueue.c:
5959           Implement the iface.    
5960
5961 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5962
5963         * docs/gst/gstreamer-docs.sgml:
5964         * docs/gst/gstreamer-sections.txt:
5965         * docs/gst/gstreamer.types.in:
5966         * gst/Makefile.am:
5967         * gst/gst.h:
5968         * gst/gstpreset.c:
5969         * gst/gstpreset.h:
5970           Add the preset interface (Fixes #396779). Do some doc cleanups along.
5971
5972 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
5973
5974         * configure.ac:
5975
5976         Back to CVS
5977
5978 === release 0.10.15 ===
5979
5980 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
5981
5982         * configure.ac:
5983           releasing 0.10.15, "October"
5984
5985 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
5986
5987         * win32/vs6/libgstreamer.dsp:
5988         Convert line endings back to DOS.
5989
5990 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
5991
5992         * docs/design/draft-tagreading.txt:
5993         * docs/random/ensonic/profiling.txt:
5994         Update fast tagreading draft and performance profiling ideas.
5995
5996 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
5997
5998         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
5999         Don't hold the object lock when unreffing a buffer because it could
6000         cause a deadlock when the finalize function wants to grab the object
6001         lock too. Fixes #495133.
6002
6003 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6004
6005         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6006         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6007         Also accumulate time correctly when doing reverse playback. Fixes
6008         #488201,
6009         When converting to running and stream time, use default values for
6010         start/stop/time/accum when comparing different formats. Fixes #494245.
6011
6012         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6013         Do running/stream time in TIME format.
6014
6015         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6016         (gst_segment_suite):
6017         2 new unit tests for segment accumulation.
6018
6019 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6020
6021         * gst/gst.c: (init_pre):
6022         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6023           (_gst_debug_bin_to_dot_file):
6024           Move getenv() back into gst_init, so everyone can live happily
6025           ever after. Make sure the symbol isn't exported though.
6026
6027 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6028
6029         Patch by: Sebastien Moutte  <sebastien moutte net>
6030
6031         * win32/common/gstenumtypes.c:
6032         * win32/common/gstenumtypes.h:
6033           Update enum types.
6034
6035         * win32/vs6/libgstreamer.dsp:
6036           Update vs6 project files (#494343).
6037
6038 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6039
6040         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6041         (gst_base_src_perform_seek), (gst_base_src_default_event),
6042         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6043         (gst_base_src_activate_pull):
6044         Unify flushing code, remove some old unlock code that is no longer used.
6045         Take the streaming lock when seeking to avoid races. Fixes #492729.
6046         Added some more comments.
6047
6048 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         * gst/gst.c: (_gst_disable_segtrap):
6051           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6052           we can use gst_segtrap_is_enabled() there now that we have that API.
6053           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6054           to do the getenv here (and export the variable).
6055
6056         * gst/gstdebugutils.c: (debug_dump_element),
6057           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6058           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6059
6060         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6061           (gst_debug_log_default):
6062           Rename _gst_info_start_time to priv_gst_info_start_time so it
6063           doesn't get exported (was never in any header).
6064
6065         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6066           (gst_plugin_loading_mutex):
6067           Make static mutex gst_plugin_loading_mutex really static (was never
6068           in any header), and use gst_segtrap_is_enabled() instead of
6069           _gst_disable_segtrap.
6070
6071         * gst/gsttrace.c: (_gst_trace_default):
6072           Make local _gst_trace_default static (was never in any header).
6073
6074 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6075
6076         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6077
6078         * win32/common/libgstbase.def:
6079         * win32/common/libgstcontroller.def:
6080         * win32/common/libgstdataprotocol.def:
6081         * win32/common/libgstnet.def:
6082         * win32/common/libgstreamer.def:
6083           Add more missing symbols, remove some duplicates, and sort
6084           as the 'sort' command sorts it (partially fixes #493983).
6085
6086 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6087
6088         * gst/gstelement.c: (gst_element_set_state_func):
6089         Only change the state cookie if a different state was set on the
6090         element. See #492729.
6091
6092 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6093
6094         * gst/gstvalue.c:
6095           Remove unused and uninitialised type variables that were still
6096           exported for some reason (they were never in any header files
6097           though).
6098
6099 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6100
6101         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6102         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6103         (gst_base_sink_event), (gst_base_sink_get_position_last),
6104         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6105         (gst_base_sink_change_state):
6106         Don't try to report a 0 position when we don't know, return -1 and FALSE
6107         instead. This mostly happens when we are prerolling.
6108         Make sure we can report the right position before we post the ASYNC_DONE
6109         message so that a message handler can query position without races.
6110
6111         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6112         (async_done_handoff), (async_done_func), (send_buffer),
6113         (async_done_eos_func), (gst_sinks_suite):
6114         Add two tests for the above.
6115
6116 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6117
6118         * MAINTAINERS:
6119         Update with new email address.
6120
6121         * docs/design/part-TODO.txt:
6122         Add some more info about future pad-block and negotiation changes.
6123
6124         * docs/design/part-buffering.txt:
6125         Add some ideas about buffering reporting.
6126
6127 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6128
6129         * tests/check/gst/gstobject.c:
6130         Disable silly racy test that always fails on this combination of CPU
6131         and kernel.
6132
6133 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6134
6135         Patch by: Murray Cumming  <murrayc@murrayc.com>
6136
6137         * gst/gstobject.c:
6138           Corrected the registration of the parent-set and parent-unset
6139           signals: The parameter is a GstObject, not a GObject (#493134).
6140
6141 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * gst/gst_private.h:
6144         * gst/gstbuffer.h:
6145         * gst/gstevent.h:
6146         * gst/gstformat.h:
6147         * gst/gstmessage.h:
6148         * gst/gstplugin.h:
6149         * gst/gstquery.h:
6150         * gst/gsttaglist.h:
6151         * gst/gstvalue.h:
6152           Move declaration of private _gst_foo_initialize() functions into
6153           our private header file where they should have been all along.
6154
6155 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         * docs/plugins/gstreamer-plugins-sections.txt:
6158         * gst/gstdebugutils.h:
6159         * gst/gstxml.h:
6160         * plugins/elements/gstqueue.c:
6161           gtk-doc fixes; trailing-comma-in-enum fix.
6162
6163 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6164
6165         * gst/gst.c: (gst_deinit):
6166           Clean up on deinit (not the external ones though, doesn't seem to be
6167           needed for some reason).
6168
6169 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6172           Remove __declspec(dllimport) for MSVC that was copied over into core
6173           from a plugin, obviously without ever having been tested (note the
6174           single underscore in _declspec in the initial commit), and that doesn't
6175           really make sense.  See #492077.
6176
6177 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6178
6179         * gst/gst.c: (init_post):
6180         * gst/gstevent.c: (_gst_event_initialize):
6181         * gst/gstquery.c: (_gst_query_initialize):
6182         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6183           g_type_class_ref() other types as well, see #349410 and #64764.
6184
6185         * gst/gstbuffer.c: (_gst_buffer_initialize):
6186         * gst/gstmessage.c: (_gst_message_initialize):
6187           Simplify existing g_type_class_ref().
6188
6189 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6190
6191         * gst/gstformat.c: (_gst_format_initialize):
6192           g_type_class_ref() our GstFormat type to make sure we avoid the
6193           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6194           bug #64764. Should fix intermittent tee unit test failures (#474823).
6195
6196 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6197
6198         * tests/check/elements/tee.c: (test_num_buffers):
6199           Simplify, simplify, simplify - or not.  Rewrite unit test
6200           not to use gst_parse_launch(); allow N sub-streams. Increasing
6201           the number of sub-streams seems to reproduce #474823 more easily.
6202
6203 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6204
6205         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6206
6207         * gst/gsttrace.c:
6208         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6209         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6210         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6211           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6212           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6213           so use _pipe() directly (#492077).
6214
6215         * win32/common/dirent.c: (_treaddir):
6216           Add a couple of casts to make it build without warnings with MSVC.
6217
6218         * win32/common/libgstreamer.def:
6219           Add some more symbols that need to be exported.
6220
6221 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6222
6223         * tests/examples/metadata/read-metadata.c: (message_loop):
6224           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6225           arriving in a second or third tag message are added to
6226           the tag list as well.
6227
6228 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6229
6230         * libs/gst/base/gstbasesrc.c:
6231           Its "Since:" and not "@Since:". And remove an superflous cast.
6232
6233 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6234
6235         * docs/libs/gstreamer-libs-sections.txt:
6236         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6237         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6238         (gst_base_sink_get_property), (gst_base_sink_render_object),
6239         (gst_base_sink_preroll_object),
6240         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6241         (gst_base_sink_change_state):
6242         * libs/gst/base/gstbasesink.h:
6243         Add a new last-buffer property that contains the last buffer used in
6244         basesink for preroll or rendering. useful for making snapshots.
6245         API: gst_base_sink_get_last_buffer()
6246         API: GstBaseSink::last-buffer
6247
6248 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6249
6250         * docs/gst/running.xml:
6251         * gst/gst.c:
6252         * gst/gstdebugutils.c:
6253         * gst/gstdebugutils.h:
6254         * tools/gst-launch.c:
6255           Improve bin graph dumping, by using the envvar to specify a path.
6256           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6257
6258 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6259
6260         * plugins/elements/gsttypefindelement.c:
6261           (gst_type_find_element_handle_event),
6262           (gst_type_find_element_activate):
6263           Post special error message if we can't determine the type of a stream
6264           because it's empty.
6265
6266 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6267
6268         * docs/gst/running.xml:
6269         * gst/gstdebugutils.c:
6270           Document new env-var. Add one log-line after dumpng a graph.
6271
6272 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6273
6274         * configure.ac:
6275           Ugly hack to put the (recently removed and non-portable, apparently)
6276           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6277           GNU ld, because without that 'make check' fails miserably on my debian
6278           stable box.  Someone with more knowledge of linker intricacies and
6279           portability issues than me fix this properly please.
6280
6281 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6282
6283         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6284         Reset last seen position after flushing so that we don't report the old
6285         position anymore.
6286
6287 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6288
6289         * gst/gstelementfactory.c: (gst_element_register):
6290         * gst/gsturi.h:
6291         Patch from Alessandro Decina adding get_type_full and
6292         get_protocols_full private vfuncs to the URIHandler interface
6293         to allow bindings to support creating URI handlers. 
6294         Partially fixes: #339279
6295         API: GstURIHandlerInterface::get_type_full
6296         API: GstURIHandlerInterface::get_protocols_full
6297
6298 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6299
6300         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6301         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6302         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6303         Make it so that pads are considered linked until a buffer is pushed
6304         and discovered otherwise. This avoids problems with decodebin2 hanging
6305         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6306         case.
6307
6308         Make sure we lock the multiqueue when updating the max-size properties.
6309         
6310         Fix a crash on Solaris in a debug statement in get_request_pad that
6311         passes a NULL string to GST_DEBUG. 
6312
6313         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6314         (run_output_order_test):
6315         Fix the test to allow the first buffer on not-linked pads to come out
6316         of sequence while multiqueue discovers that they are not-linked.
6317
6318 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6319
6320         * configure.ac:
6321         * libs/gst/check/Makefile.am:
6322         Use a custom export symbol regex for libgstcheck, as it needs
6323         to export symbols that don't match the standard GStreamer gst_*
6324         pattern, and  --export-dynamic is not portable (only works on 
6325         GNU ld)
6326
6327         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6328         (gst_check_setup_sink_pad):
6329         Make sure to pass a message parameter to the fail_* macros.
6330
6331         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6332         Fix some compiler warnings.
6333
6334 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6335
6336         * tests/check/gst/gststructure.c: (test_to_string):
6337           Disable test that checks that white spaces are not allowed
6338           in structure names or field names, since we need to
6339           support that for now for backwards compatibility reasons.
6340
6341 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6342
6343         * docs/gst/gstreamer-sections.txt:
6344         * gst/gsttaglist.c:
6345         * gst/gsttaglist.h:
6346           API: add GST_TAG_ARTIST_SORTNAME
6347           API: add GST_TAG_ALBUM_SORTNAME
6348           API: add GST_TAG_TITLE_SORTNAME
6349           Add tag variants for sorting (#414539).
6350
6351 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6352
6353         * gst/gststructure.c:
6354           Also allow white space for names so we don't break
6355           backwards compatibility.
6356
6357 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6358
6359         * docs/design/part-TODO.txt:
6360         * docs/design/part-segments.txt:
6361         * docs/design/part-streams.txt:
6362         Small updates.
6363
6364 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6365
6366         * docs/gst/gstreamer-sections.txt:
6367          Fixed documentation from my previous commit (added new API add
6368          gst_value_set_structure(), add gst_value_get_structure() and
6369          GST_VALUE_HOLDS_STRUCTURE).
6370
6371 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6372
6373         * gst/gstdebugutils.c:
6374           Reflow code to fix uninitialized variable warning.
6375
6376 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6377
6378         * gst/gstcaps.c: (gst_caps_to_string),
6379         (gst_caps_from_string_inplace):
6380         * gst/gststructure.c: (gst_structure_get_abbrs),
6381         (gst_structure_to_string), (gst_structure_from_string):
6382         * gst/gstvalue.c: (gst_value_set_structure),
6383         (gst_value_get_structure), (gst_value_serialize_structure),
6384         (gst_value_deserialize_structure), (_gst_value_initialize):
6385         * gst/gstvalue.h:
6386         * tests/check/gst/gststructure.c: (GST_START_TEST),
6387         (gst_structure_suite):
6388         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6389          Added GstStructure to gst_value_table and its related functions.
6390          Changed gst_structure_to_string to print ';' in the end.
6391          Changed gst_caps_to_string to not print ';' beteween its
6392          fields (structures) anymore and remove the lastes ';' from latest
6393          structure. Now it is possible to have nested structures.
6394          In addition, backward compatibilty is assured by accepting '\0' as
6395          end delimiter. Fixes: #487969.
6396          API: add gst_value_set_structure()
6397          API: add gst_value_get_structure()
6398          API: add GST_VALUE_HOLDS_STRUCTURE
6399
6400 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6401
6402         * gst/gstbus.c:
6403           When no GSource callback has been set up, tell developer
6404           to use a function that actually exists.
6405
6406 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6407
6408         * docs/gst/gstreamer-sections.txt:
6409         * gst/Makefile.am:
6410         * gst/gst.c:
6411         * gst/gst.h:
6412         * gst/gstdebugutils.c:
6413         * gst/gstdebugutils.h:
6414         * gst/gstinfo.c:
6415         * gst/gstinfo.h:
6416         * tools/gst-launch.c:
6417           Allow dumping pipelines as dot graphs. Fixes #456573.
6418
6419 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6420
6421         * gst/gststructure.c:
6422           Allow '+' as well, it can be part of media or mime types
6423           such as image/svg+xml.
6424
6425 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6426
6427         * docs/gst/gstreamer-sections.txt:
6428         * gst/gstbus.c:
6429         * gst/gstbus.h:
6430           API: add gst_bus_pop_filtered
6431           API: add gst_bus_timed_pop_filtered
6432           Two new functions for waiting for specific message types on the
6433           bus for a specified amount of time without iterating any main
6434           loops or main contexts.
6435
6436         * tests/check/gst/gstbus.c:
6437           Some tests for the new functions.
6438
6439 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6440
6441         * docs/libs/gstreamer-libs-sections.txt:
6442           Make gtk-doc ignore stuff it should ignore.
6443
6444 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6445
6446         * libs/gst/check/gstcheck.c:
6447         * libs/gst/check/gstcheck.h:
6448           Allow runtime selection of unit tests to run via the GST_CHECKS
6449           environment variable (test case function names, comma-separated).
6450
6451 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6452
6453         * gst/gststructure.c:
6454         * tests/check/gst/gststructure.c:
6455           Revert serialisation change and constrain structure-names after
6456           consensus on irc. Update api documentation to reflect the change.
6457
6458 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6459
6460         * gst/gststructure.c:
6461           Improve serialization and fix tests.
6462
6463         * tests/check/gst/gststructure.c:
6464           Add another test that covers why I actually did the previous structure
6465           change.
6466
6467 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6468
6469         * tools/gst-inspect.c: (print_element_info):
6470         Don't crash when inspecting an element.
6471
6472 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6473
6474         * tests/check/gst/gststructure.c:
6475           Add unit test for escaping of structure name when serialising
6476           and deserialising to/from strings.
6477
6478 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6479
6480         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6481         (gst_single_queue_new):
6482         * plugins/elements/gstqueue.c: (gst_queue_init),
6483         (gst_queue_push_one):
6484         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6485         upstream is tricked into thinking it can suggest a format downstream
6486         while downstream does not support that format. The real problem is that
6487         core calls acceptcaps when pushing a buffer with new caps, for which we
6488         do a little workaround by setting the caps on the srcpad ourselves
6489         before pushing the buffer (until this is figured out). Fixes #486758.
6490
6491 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6492
6493         * gst/gststructure.c:
6494         * gst/gstvalue.c:
6495           Add some more comments and debug output. Quote structure name to fix
6496           deserialisation of some strings.
6497
6498 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6499
6500         * gst/gstbuffer.h:
6501           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6502           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6503
6504 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6505
6506         * tools/gst-inspect.c:
6507           Save approx. 400 1 byte allocs when printing. Use API to acces element
6508           details.
6509
6510         * tools/gst-run.c:
6511           Avoid a strdup.
6512
6513         * tools/gst-xmlinspect.c:
6514           Use API to acces element details.
6515
6516 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6517
6518         * gst/gstinfo.c:
6519           Fix some spelling errors.
6520
6521 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6522
6523         * gst/gstbin.c: (bin_handle_async_done):
6524         Correctly set the next state if all of our async children commited their
6525         state. This makes sure we can actually cancel the state change in
6526         progress. Fixes a regression in Rhythmbox when seeking.
6527
6528 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6529
6530         * gst/gstbin.c:
6531           Don't shadow local variable.
6532
6533         * gst/gstinfo.c:
6534           Don't shadow global function name.
6535
6536 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6537
6538         * gst/gstelementfactory.c:
6539         * gst/gstpluginfeature.c:
6540         * gst/gstpluginfeature.h:
6541         * gst/gstregistrybinary.c:
6542         * gst/gstregistryxml.c:
6543         * gst/gsttypefind.c:
6544           Use already-interned string for the private GstPluginFeature
6545           plugin_name field.
6546
6547 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * docs/libs/gstreamer-libs-sections.txt:
6550           Add new API to docs; fixes the build.
6551
6552 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6553         
6554         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6555
6556         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6557         (gst_base_sink_event):
6558         * libs/gst/base/gstbasesink.h:
6559         Add function to wait for EOS, subclasses can use this to correctly wait
6560         for devices to drain before performing the EOS logic. Fixes #485343.
6561         API: gst_base_sink_wait_eos()
6562
6563 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6564
6565         * gst/gstplugin.h:
6566           Cast description string constants in GST_PLUGIN_DEFINE macros
6567           to a (gchar*) to make C++ code using these macros compile
6568           without warning with g++-4.2 (see #462737).  Even if slightly
6569           ugly, this seems preferable to putting the description strings
6570           into the GLib quark table or making the structure member a
6571           const gchar * and doing casts in core code that allocs and
6572           frees these strings, or requiring a cast in the C++ code.
6573
6574 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6575
6576         * gst/gstinfo.h:
6577           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6578           to print the entire class/function signature into the log
6579           file for C++ code.  This only affects C++ code, for C code
6580           everything remains the same.
6581
6582 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6583
6584         * gst/gstbin.c: (remove_from_queue):
6585         Work around a problem with pipelines containing (semi)loops until a
6586         proper, more complicated solution is ready. See #475455.
6587
6588 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6589
6590         * gst/gstplugin.c:
6591         * gst/gstplugin.h:
6592         * gst/gstregistrybinary.c:
6593         * gst/gstregistryxml.c:
6594           Put more strings into the GLib quark table. No need to keep
6595           a hundred-something copies of identical version strings,
6596           license strings, package name strings and package origin
6597           strings around. 
6598
6599 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6600
6601         * docs/manual/advanced-dataaccess.xml:
6602           Don't imply that it's okay to unconditionally change
6603           buffer data or buffer metadata in a pad probe callback,
6604           and a bunch of other comments. Fixes #430031.
6605
6606 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * win32/common/gstenumtypes.c:
6609         * win32/common/gstenumtypes.h:
6610         * win32/common/gstversion.h:
6611           Update generated files.
6612
6613 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6614
6615         * docs/manual/advanced-autoplugging.xml:
6616           Prefix section with broken code with a warning (see #342432).
6617
6618 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6619
6620         * docs/manual/appendix-integration.xml:
6621         * docs/manual/basics-init.xml:
6622           Call g_thread_init() before g_option_context_new() to
6623           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6624
6625 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6626
6627         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6628         (gst_base_sink_queue_object_unlocked),
6629         (gst_base_sink_queue_object), (gst_base_sink_event),
6630         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6631         When we received EOS and are waiting for when to post the EOS message,
6632         our state is prerolled and we should not return ASYNC.
6633         Reorganize some code paths to implement this behavior.
6634
6635         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6636         (gst_sinks_suite):
6637         Add unit test to verify above EOS fix.
6638
6639 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6640
6641         * plugins/elements/gsttypefindelement.c:
6642         (gst_type_find_element_have_type), (gst_type_find_element_init),
6643         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6644         Move detecting the input caps of the sinkpad to the setcaps function.
6645         This allows us to update the output caps when we receive new input caps
6646         instead of always using the first detected caps.
6647
6648 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6649
6650         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6651         (gst_base_sink_get_position):
6652         Don't try to preroll non-async elements after a flush.
6653         Subtract latency form clock times when reporting position.
6654
6655 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6656
6657         * gst/gstpad.c: (gst_pad_pause_task):
6658         * gst/gstutils.c:
6659         Small comment and documentation update.
6660
6661 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6662
6663         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6664         (gst_base_src_set_live), (gst_base_src_is_live),
6665         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6666         (gst_base_src_default_event), (gst_base_src_wait),
6667         (gst_base_src_do_sync), (gst_base_src_get_range),
6668         (gst_base_src_pad_get_range), (gst_base_src_loop),
6669         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6670         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6671         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6672         (gst_base_src_change_state):
6673         Rework the locking of basesrc in a similar fashion to basesink. We
6674         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6675         us to handle live sources and semi live ones much better.
6676         Simplify flushing.
6677         Fix unlocking when seeking, shutting down and pausing in live sources.
6678
6679 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6680
6681         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6682         Fix compilation again.
6683
6684 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6685
6686         * gst/gstelement.c:
6687           Use meaningful categories for the logs to clean the default one.
6688
6689 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6690
6691         * tests/check/pipelines/cleanup.c:
6692           Print message name and not just number.
6693
6694 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6695
6696         * docs/design/draft-tagreading.txt:
6697           Add some more thoughts.
6698
6699 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6700
6701         * tests/check/pipelines/simple-launch-lines.c:
6702           Print message name and not just number.
6703
6704 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6705
6706         * libs/gst/base/gsttypefindhelper.c:
6707           Speedup typefinding. This is work in progress (see #459862).
6708
6709 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6710
6711         * gst/gstplugin.c:
6712           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6713           Spotted by Josep Torra Valles <josep@fluendo.com>.
6714
6715 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * gst/gstclock.h:
6718           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6719           field has moved to GstObject.
6720
6721 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6722
6723         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6724         (gst_base_src_get_range), (gst_base_src_change_state):
6725         Call unlock for live sources so that they can't get stuck in _create and
6726         produce a buffer before they are set back to PLAYING.
6727
6728 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6729
6730         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6731         (gst_queue_locked_dequeue):
6732         Comment the segment-related code... in the PROPER function.
6733         See #482147 and my commit from yesterday.
6734
6735 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6736
6737         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6738         Also initialize the counter that calculates the first timestamp on a
6739         buffer correctly for non-live sources.
6740
6741 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6742
6743         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6744         Disable code that's breaking the current-time-level reporting.
6745         See #482147
6746
6747 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6748
6749         * docs/gst/gstreamer-sections.txt:
6750         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6751         as they shouldn't show up. Fixes the docs build.
6752
6753 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6754         
6755         * gst/gstinfo.h:
6756         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6757         Define M_PI which is used in files which are including gstinfo.h. 
6758         VS6 includes doesn't define it.
6759         * win32/common/libgstbase.def:
6760         * win32/common/libgstcontroller.def:
6761         * win32/common/libgstreamer.def:
6762         Add new exported functions and variables.
6763         * win32/vs6/libgstcontroller.dsp:
6764         * win32/vs6/libgstreamer.dsp:
6765         Update the list of files to build.
6766         
6767 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6768
6769         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6770
6771         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6772         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6773         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6774         Improve debugging. Fixes #480858.
6775
6776 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6777
6778         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6779
6780         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6781         First patch of code cleanups, use the macros and right arguments in the
6782         macros to signal and lock the queue. See #480858.
6783
6784 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6785
6786         * gst/gstbus.c: (poll_func):
6787         Improve debugging when dealing with _poll().
6788
6789 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         * gst/gstregistryxml.c:
6792           Fix memory leak I introduced a few days ago.
6793
6794 2007-09-26  Michael Smith <msmith@fluendo.com>
6795
6796         * gst/gstbuffer.c: (gst_buffer_finalize):
6797           Make it once again possible to free GstBuffers in the default
6798           build.
6799           The poisoning scribbles on parts of the miniobject we need in
6800           order to free it.
6801           Fixes #480341
6802
6803 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6804
6805         * docs/gst/gstreamer-sections.txt:
6806         * gst/gsttaglist.c:
6807         * gst/gsttaglist.h:
6808         API: add GST_TAG_COMPOSER, fixes #459809.
6809
6810 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6811
6812         * gst/gstplugin.c:
6813         * gst/gstplugin.h:
6814         Add the 3-clause BSD license and the MIT/X11 license to the license
6815         list. Fixes #479784.
6816
6817 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6818
6819         * docs/faq/getting.xml:
6820           Add Q+A about different GStreamer versions (#364056).
6821
6822 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6823
6824         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6825         (gst_base_sink_event), (gst_base_sink_change_state):
6826         Return correct gboolean from query function.
6827
6828 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6829
6830         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6831         (gst_base_sink_event), (gst_base_sink_query),
6832         (gst_base_sink_change_state):
6833         Simplify latency query.
6834         When not synchronizing, we can report latency without querying the peer
6835         element.
6836
6837 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         * gst/gstobject.h:
6840         * gst/gstvalue.c:
6841         Fix small typos in the docs.
6842
6843 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6844
6845         * docs/design/draft-latency.txt:
6846         * docs/design/draft-push-pull.txt:
6847         * docs/design/draft-tagreading.txt:
6848         * docs/design/part-MT-refcounting.txt:
6849         * docs/design/part-activation.txt:
6850         * docs/design/part-block.txt:
6851         * docs/design/part-element-source.txt:
6852         * docs/design/part-events.txt:
6853         * docs/design/part-gstbin.txt:
6854         * docs/design/part-gstelement.txt:
6855         * docs/design/part-gstobject.txt:
6856         * docs/design/part-gstpipeline.txt:
6857         * docs/design/part-messages.txt:
6858         * docs/design/part-preroll.txt:
6859         * docs/design/part-push-pull.txt:
6860         * docs/design/part-qos.txt:
6861         * docs/design/part-query.txt:
6862         * docs/design/part-scheduling.txt:
6863         * docs/design/part-seeking.txt:
6864         * docs/design/part-segments.txt:
6865         * docs/design/part-states.txt:
6866         Documentation updates and typo fixes.
6867
6868 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6869
6870         * plugins/elements/gstfakesink.c:
6871           Add some debug text to error message to indicate that
6872           we errored out on request.
6873
6874         * tools/gst-launch.c:
6875           When the state change to PLAYING fails, check for an
6876           error message on the bus and print it.
6877
6878 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6879
6880         translated by: Jorge González González <aloriel@gmail.com>
6881
6882         * po/LINGUAS:
6883         * po/es.po:
6884           Added Spanish translation.
6885
6886 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6887
6888         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6889         Fix printf arguments.
6890
6891 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6892
6893         * tests/check/generic/states.c:
6894           Improved state change unit test.
6895
6896 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6897
6898         * gst/gstbin.h:
6899           Move priv to the right place.
6900
6901         * gst/gstsystemclock.c:
6902           Add FIXME: and improve log.
6903
6904         * tests/check/Makefile.am:
6905         * tests/examples/manual/Makefile.am:
6906           Work with all types of registries.
6907
6908 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6909
6910         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6911         Don't unref the event after pushing it. Fixes #478401.
6912
6913 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6914
6915         * .cvsignore:
6916         * tests/examples/manual/.cvsignore:
6917           Ignore registries in any format.
6918
6919 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6920
6921         * gst/glib-compat-private.h:
6922           Add compatibility macro for g_intern_string() for
6923           GLib-2.8 (any reason we can't just bump the
6924           requirement to at least 2.10?)
6925
6926         * gst/gstpadtemplate.h:
6927         * gst/gstelementfactory.c:
6928         * gst/gstregistryxml.c:
6929         * gst/gstregistrybinary.c:
6930           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6931           up the internal code accordingly.  This shouldn't be a problem, since
6932           there is no reason external code could ever assume the string in such
6933           a structure is dynamically allocated unless it did that itself;  the
6934           use of g_strdup() is private to element factories.  The new code also
6935           saves some memory by putting pad template name strings into the GLib
6936           quark table instead of allocating them dynamically.
6937           Declaring this field constant fixes warnings with g++-4.2 when using
6938           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
6939
6940 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6941
6942         * gst/gstelementfactory.c:
6943           Release static caps. Fixes #475723.
6944
6945 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         * gst/gstinfo.c:
6948         * gst/gstinfo.h:
6949           Make some internal API take const gchar * instead of just
6950           gchar * to avoid compiler warnings with g++-4.2.2 when
6951           passing string constants (partially fixes #478092).
6952
6953 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6954
6955         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
6956         A latency query fails when one of the sinks fail.
6957
6958         * gst/gstelement.c: (gst_element_set_base_time):
6959         Improve debugging.
6960
6961 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
6962
6963         * gst/gstbin.c: (gst_bin_continue_func):
6964         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
6965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
6966         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
6967
6968         Fix minor compilation warnings shown with Forte.
6969
6970 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
6971
6972         * plugins/elements/gstqueue.c: (apply_buffer),
6973         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
6974         Measure queue level based on the diff between head and tail timestamps
6975         even when pushing the first buffer.
6976
6977 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6978
6979         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6980         (gst_base_sink_event), (gst_base_sink_change_state):
6981         Sinks that don't preroll can always be queried for the latency.
6982         Don't post ASYNC start when we are not async.
6983
6984 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6985
6986         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6987         (gst_queue_handle_sink_event), (gst_queue_chain),
6988         (gst_queue_push_one), (gst_queue_handle_src_query),
6989         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
6990         * plugins/elements/gstqueue.h:
6991         When downstream returns UNEXPECTED from pushing a buffer, don't try to
6992         push more buffers but allow pushing of EOS and NEWSEGMENT.
6993         Add some more debug info here and there. Fixes #476514.
6994
6995 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
6996
6997         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
6998         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
6999         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7000         (gst_base_sink_set_flushing), (gst_base_sink_query),
7001         (gst_base_sink_change_state):
7002         Latency query is allowed after we are prerolled. Introduce a new flag
7003         for this and stop abusing other variables.
7004
7005 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7006
7007         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7008         Push OOB events downstream when we get them in send_event. This allows
7009         the application to insert events in the pipeline.
7010         Add some more comments.
7011
7012 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7013
7014         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7015         (do_bin_latency), (gst_bin_change_state_func):
7016         * gst/gstpipeline.c: (gst_pipeline_change_state):
7017         Move latency query from GstPipeline to GstBin so that we can also
7018         use it when async-handling is enabled on bins.
7019
7020 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7021
7022         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7023         (gst_base_src_do_sync), (gst_base_src_change_state):
7024         Update docs.
7025         Clean up the timestamping and syncing code for pseudo live sources.
7026
7027 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7028
7029         Patch by: Steve Fink  <sphink gmail com>
7030
7031         * docs/manual/appendix-checklist.xml:
7032           Mention less -R switch in the section about debug output (#474055).
7033
7034 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7035
7036         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7037         Queue can latency to the pipeline up to the configured max size in time.
7038         Report this fact in the latency query.
7039
7040 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7041
7042         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7043
7044         * libs/gst/controller/gstinterpolation.c:
7045         * libs/gst/controller/gstlfocontrolsource.c:
7046         Use gst_guint64_to_gdouble() when converting from a uint64 or
7047         GstClockTime to double to fix the build on win32. Fixes #474371.
7048
7049 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7050
7051         * gst/gstbuffer.c: (gst_buffer_finalize):
7052         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7053         When finalizing a buffer the complete struct is filled with 0xff,
7054         thus making a use of the buffer after the final unref impossible.
7055
7056 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7057
7058         * tests/check/libs/controller.c: (GST_START_TEST):
7059         Use fail_unless_equals_int(a, b) instead of
7060         fail_unless_equals (a == b) to get better output on failures.
7061
7062 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7063
7064         * tests/check/gst/gsturi.c:
7065           Also check for the other file URI variant on win32.
7066
7067 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7068
7069         * gst/gsturi.c: (gst_uri_get_location):
7070           If there's no hostname, we want to return 'c:/foo/bar.txt'
7071           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7072
7073         * tests/check/gst/gsturi.c:
7074           Unit test for the above and a few more things.
7075
7076 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7077
7078         * docs/design/part-live-source.txt:
7079         Add docs on how live sources should timestamp.
7080
7081         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7082         Add some more debug info.
7083         For subclasses that are live and like to sync, add aditional startup
7084         latency to sync time and timestamps so that we timstamp according to the
7085         design doc.
7086
7087 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7088
7089         * gst/gstbuffer.c:
7090           Also do a g_type_class_ref() for the subbuffer type in
7091           the init function.
7092
7093 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7094
7095         * docs/gst/gstreamer-sections.txt:
7096         * gst/gstpad.c: (gst_pad_peer_query):
7097         * gst/gstpad.h:
7098         Add function to perform a query on the peer of a pad.
7099         API: gst_pad_peer_query()
7100
7101 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7102
7103         * tests/check/gst/gstsystemclock.c:
7104           Cleanup the test a little (use gst-logging and not g_message). Improve
7105           test to check if a wait reached the target.
7106
7107 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7108
7109         * docs/libs/gstreamer-libs-sections.txt:
7110           Add new API to docs and fix the build.
7111
7112 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7113
7114         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7115         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7116         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7117         (gst_base_src_get_property), (gst_base_src_do_sync):
7118         * libs/gst/base/gstbasesrc.h:
7119         Add property to make the basesrc timestamp buffers based on the current
7120         running time.
7121         API: GstBaseSrc::do-timestamp
7122         API: gst_base_src_set_do_timestamp()
7123         API: gst_base_src_get_do_timestamp()
7124
7125 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7126
7127         * docs/random/release:
7128           Really make sure translations are up-to-date before
7129           a release (#465010).
7130
7131 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7132
7133         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7134         Always destroy the timer, also in error cases.
7135
7136 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7137
7138         * docs/manual/highlevel-xml.xml:
7139         Fix XML example code. Fixes #472714.
7140
7141 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7142
7143         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7144         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7145         (gst_base_sink_query):
7146         Protect eos and have_preroll with the OBJECT lock so we don't need to
7147         take the PREROLL lock when querying the latency. Fixes #473846.
7148
7149 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7150
7151         * gst/gstelement.c:
7152           Give some log-messages a category.
7153
7154 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7155
7156         * gst/gststructure.c:
7157         (gst_structure_fixate_field_nearest_fraction):
7158         Fix fraction list fixation code. Take the fraction with the smallest
7159         difference with the target instead of the first one in the list.
7160
7161         * tests/check/gst/gststructure.c: (GST_START_TEST),
7162         (gst_structure_suite):
7163         Added test to verify correct fraction list fixation behaviour.
7164
7165 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7166
7167         * win32/common/libgstreamer.def:
7168           Export gst_bus_add_signal_watch too.
7169
7170 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7171
7172         * docs/libs/gstreamer-libs-sections.txt:
7173         Add new methods to docs.
7174
7175         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7176         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7177         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7178         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7179         * libs/gst/base/gstbasesink.h:
7180         Add ts-offset property to fine-tune the synchronisation.
7181         API: GstBaseSink::ts-offset property
7182         API: gst_base_sink_set_ts_offset()
7183         API: gst_base_sink_get_ts_offset()
7184
7185 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7186
7187         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7188         (gst_base_sink_init), (gst_base_sink_set_sync),
7189         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7190         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7191         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7192         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7193         (gst_base_sink_get_property), (gst_base_sink_change_state):
7194         * libs/gst/base/gstbasesink.h:
7195         Add async property to instruct the sink never to inform the parent about
7196         ASYNC state changes, update docs.
7197         Check argument with g_return_* for the public functions.
7198         API: GstBaseSink::async property
7199         API: gst_base_sink_set_async_enabled()
7200         API: gst_base_sink_is_async_enabled()
7201
7202 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7203
7204         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7205         Improve debugging.
7206
7207         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7208         (gst_base_src_default_query), (gst_base_src_wait),
7209         (gst_base_src_do_sync), (gst_base_src_change_state):
7210         Rearrange some code so that we can add support for measuring the 
7211         startup latency.
7212
7213 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7214
7215         * docs/random/ensonic/dynlink.txt:
7216           More thoughs on this.
7217
7218         * plugins/elements/gstcapsfilter.c:
7219           Add bugzilla ticket number to FIXME comment.
7220
7221 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7222
7223         * docs/design/part-TODO.txt:
7224         * docs/design/part-block.txt:
7225         Update some docs.
7226
7227 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7228
7229         * gst/Makefile.am:
7230           Revert patch which uses $(gst_headers) instead of $^ because it
7231           breaks make dist.
7232
7233 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7234
7235         * tests/check/gst/gstbin.c: (GST_START_TEST):
7236           Fix leaks in the new unit test.
7237
7238 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7239
7240         * gst/gst.c:
7241           Don't use GST_INFO before the debug system is actually initialised
7242           (shouldn't do any harm, but won't print anything either, so we can
7243           just as well remove it).
7244
7245         * gst/gstinfo.h:
7246           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7247           compilers that don't support variadic macros (such as MSVC), should
7248           check for debug_level <= __gst_debug_min as well, since that's the
7249           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7250           inline helper functions. Should improve performance a bit, but also
7251           makes sure uses of GST_INFO et.al are ignored if the debugging
7252           system isn't initialised yet (instead of printing an assertion
7253           failure).
7254
7255 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7256
7257         patch by: David Nečas <yeti@physics.muni.cz>
7258
7259         * gst/Makefile.am:
7260           Replace some non portable makefile constructs.
7261
7262 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7263
7264         * common/gtk-doc-plugins.mak:
7265           Grrrrr. Don't remove the types file on make clean.
7266
7267 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7268
7269         * tools/gst-launch.1.in:
7270         Add colorspace to example pipeline. Fixes #458274.
7271
7272 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7273
7274         * docs/random/release:
7275           The release manager should run 'make download-po' before making a
7276           release to make sure translations are up-to-date.
7277
7278         * po/LINGUAS:
7279         * po/be.po:
7280         * po/pl.po:
7281         * po/rw.po:
7282           Add some new translations.
7283
7284 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7285
7286         * tools/gst-launch.c: (event_loop), (main):
7287         Don´t try to do any state management when a live pipeline posts
7288         buffering messages.
7289         Also make the buffering string translatable.
7290
7291 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7292
7293         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7294         (bin_handle_async_start), (gst_bin_handle_message_func):
7295         Improve debugging.
7296         When adding elements, insert messages into the bus of the newly added
7297         element and make sure the element is the source of the message. This
7298         allows the parent bin to intercept the message and do the
7299         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7300         messages to the app (which is not allowed).
7301         Update some docs.
7302
7303         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7304         Fix testsuite so that is does not work around messages that should not
7305         have been posted in the first place.
7306
7307 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7308
7309         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7310         (update_degree), (gst_bin_sort_iterator_next):
7311         Fix annoying bug in the sorted iterator where a sink that is not really
7312         a sink (when it has downstream links) screwed up the iterator.
7313
7314         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7315         Unit test to verify the fix.
7316
7317 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7318
7319         * gst/gstmessage.h:
7320         Add some more docs for the messages.
7321
7322         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7323         (gst_base_sink_query):
7324         Add some more debugging.
7325
7326         * tools/gst-launch.c: (event_loop):
7327         When interrupting, don't try to set pipeline to PAUSED twice.
7328
7329 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7330
7331         
7332         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7333         (bin_handle_async_start), (gst_bin_handle_message_func):
7334         Move ASYNC_START message posting to where it belongs, similar to
7335         async_done. 
7336         Don't post ASYNC_START when we are in error. 
7337         Post ASYNC_START when we added an async element to a bin.
7338
7339 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7340
7341         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7342         generation from vargs. Fixes #466595.
7343
7344 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7345
7346         * gst/gstbin.c: (gst_bin_element_set_state):
7347         Always change the state of a NO_PREROLL element even if it has ASYNC
7348         elements inside (in case of a bin).
7349
7350         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7351         Unit test for this case.
7352
7353 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7354
7355         * libs/gst/check/gstbufferstraw.c:
7356         * libs/gst/check/gstcheck.h:
7357         * libs/gst/controller/gstcontroller.c:
7358         * libs/gst/controller/gstcontrolsource.h:
7359         * libs/gst/controller/gstlfocontrolsource.h:
7360         * plugins/elements/gstcapsfilter.h:
7361         * plugins/elements/gstfdsink.h:
7362         * plugins/elements/gstfdsrc.h:
7363           Add more missing docs.
7364
7365 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7366
7367         * gst/gststructure.c:
7368         Add Since tag to docs.
7369
7370 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7371
7372         * docs/gst/gstreamer-sections.txt:
7373         * gst/gststructure.c: (gst_structure_get_uint):
7374         * gst/gststructure.h:
7375         Add function to get uint from a structure.
7376         API: gst_structure_get_uint()
7377
7378 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7379
7380         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7381         (gst_caps_intersect):
7382         Fix proper check for simple caps.
7383
7384 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7385
7386         * docs/gst/Makefile.am:
7387         * docs/libs/Makefile.am:
7388           Remove cruft and do some cleanups.
7389
7390         * docs/gst/gstreamer-docs.sgml:
7391         * docs/libs/gstreamer-libs-docs.sgml:
7392           Prepare for comming gtkdoc features (rebase against online docs).
7393
7394 2007-08-10  Michael Smith <msmith@fluendo.com>
7395
7396         * docs/gst/gstreamer-sections.txt:
7397           Add gst_registry_add_path to docs.
7398
7399 2007-08-10  Michael Smith <msmith@fluendo.com>
7400
7401         * gst/gstregistry.h:
7402           Add gst_registry_add_path, which was missing from this header.
7403
7404 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7405
7406         * libs/gst/controller/gstlfocontrolsource.c:
7407           Printf format fix.
7408
7409 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7410
7411         * libs/gst/base/gstbasesink.c:
7412           Don't send an async_start message during downwards state change if 
7413           target state is less than READY
7414
7415 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7416
7417         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7418
7419         * po/LINGUAS:
7420         * po/hu.po:
7421           Added Hungarian translation.
7422
7423 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7424
7425         * po/fi.po:
7426         * po/it.po:
7427         * po/nl.po:
7428         * po/sv.po:
7429         * po/uk.po:
7430           Updated translations.
7431
7432 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7433
7434         * libs/gst/controller/Makefile.am:
7435         Dist gstlfocontrolsourceprivate.h
7436
7437 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7438
7439         * docs/libs/gstreamer-libs.types:
7440         Don't register the enum type gst_lfo_waveform_get_type() in the
7441         .types file - only GObject derived types belong.
7442
7443 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7444
7445         Patch by: <arenevier at fdn dot fr>
7446
7447         * gst/gstbuffer.h:
7448         Remove comma from last element in enum to avoid compile errors when
7449         using -pendantic. Fixes #464366.
7450
7451 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7452
7453         * docs/design/part-TODO.txt:
7454         Add some more TODO items
7455
7456         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7457         Improve debugging.
7458
7459         * gst/gstcaps.c: (gst_caps_intersect):
7460         Optimize trivial intersection case between identical caps pointers.
7461
7462         * gst/gstelement.c: (gst_element_continue_state),
7463         (gst_element_set_state_func):
7464         * gst/gstpad.c:
7465         Fix spelling and grammar mistakes.
7466
7467 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7468
7469         * po/POTFILES.in:
7470         * po/POTFILES.skip:
7471           Update POTFILES. Fixes #461599.
7472
7473 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7474
7475         * gst/gst.c:
7476         Fix confusing typo in debug output.
7477
7478 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7479
7480         reviewed by: Stefan Kost <ensonic@users.sf.net>
7481
7482         * libs/gst/controller/Makefile.am:
7483         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7484         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7485         (gst_lfo_control_source_new),
7486         (gst_lfo_control_source_set_waveform),
7487         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7488         (gst_lfo_control_source_finalize),
7489         (gst_lfo_control_source_dispose),
7490         (gst_lfo_control_source_set_property),
7491         (gst_lfo_control_source_get_property),
7492         (gst_lfo_control_source_class_init):
7493         * libs/gst/controller/gstlfocontrolsource.h:
7494         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7495         API: Add GstLFOControlSource, a control source that gives values
7496         for specific timestamps based on several periodic waveforms.
7497         Fixes #459717.
7498
7499         * tests/check/libs/controller.c: (GST_START_TEST),
7500         (gst_controller_suite):
7501         * docs/libs/gstreamer-libs-docs.sgml:
7502         * docs/libs/gstreamer-libs-sections.txt:
7503         * docs/libs/gstreamer-libs.types:
7504         Add documentation and unit tests for GstLFOControlSource.
7505
7506 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7507
7508         * configure.ac:
7509         Back to CVS
7510
7511 === release 0.10.14 ===
7512
7513 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7514
7515         * configure.ac:
7516           releasing 0.10.14, "Breathing Vacuum"
7517
7518 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7519
7520         * gst/gstelement.c: (gst_element_class_set_details_simple):
7521         * gst/gstelement.h:
7522           Make strings passed to gst_element_class_set_details_simple()
7523           constant, as they should be (#462752).
7524
7525 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7526
7527         * gst/gstbin.c: (gst_bin_change_state_func),
7528         (bin_handle_async_done), (gst_bin_handle_message_func):
7529         Don't forget about the fact that some element went ASYNC even after a
7530         resync. This makes us post the ASYNC_DONE message correctly.
7531         Fixes #462558.
7532
7533 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7534
7535         * gst/gstregistry.c: (gst_registry_add_feature):
7536         When replacing an existing feature in the registry, make sure to
7537         continue holding a reference until we've replaced the name string
7538         within our feature hash table. Make sure to use g_hash_table_replace
7539         instead of g_hash_table_insert to ensure the new name string is used
7540         as a key instead of the old one that we're about to free.
7541         Fixes: #462085
7542
7543 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7544
7545         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7546         (gst_plugin_feature_set_name):
7547         Revert patch from #459466 until after the release and we can work
7548         out exactly what the problem is (if any).
7549
7550 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7551
7552         * docs/gst/gstreamer-sections.txt:
7553         * gst/gsttaglist.c:
7554         * gst/gsttaglist.h:
7555           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7556
7557 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7558
7559         * docs/libs/Makefile.am:
7560         Include our build-prefix libs and includes before the generic ones to
7561         avoid linking against the installed libs when we want the build-tree
7562         ones.
7563
7564 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7565
7566         Patch by: Steve Fink  <sphink gmail com>
7567
7568         * docs/pwg/building-testapp.xml:
7569           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7570           if people try to build or install the example from the plugin
7571           template against a GStreamer from package using the configure
7572           defaults.
7573
7574 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7575
7576         Patch by: Steve Fink  <sphink gmail com>
7577
7578         * tools/gst-inspect.1.in:
7579           Document --print-all and --print-plugin-auto-install-info command
7580           line options in man page.
7581
7582 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7583
7584         * docs/gst/gstreamer-sections.txt:
7585         Add docs for new api function.
7586
7587 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7588
7589         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7590         * gst/gstelementfactory.h:
7591         API: gst_element_factory_has_interface()
7592         Added method to check if an element factory implements a named
7593         interface.
7594
7595 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7596
7597         * configure.ac:
7598         * docs/gst/gstreamer.types.in:
7599           Another conditional doc check.
7600
7601         * gst/gstmessage.c:
7602         * gst/gstparamspecs.h:
7603         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7604         * gst/gstvalue.c:
7605         * gst/gstxml.h:
7606           API-doc fixes.
7607
7608 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7609
7610         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7611         (gst_registry_binary_load_feature),
7612         (gst_registry_binary_load_plugin),
7613         (gst_registry_binary_read_cache):
7614           Print error just once and with additional info.
7615
7616 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7617
7618         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7619         (helper_find_suggest), (helper_find_get_length),
7620         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7621         (gst_type_find_helper_for_buffer):
7622           Cleanup the typefindhelper code and add private doc comments.
7623
7624 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7625
7626         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7627         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7628         Fix capsfilter for cases where the caps set on capsfilter will provide
7629         additional information.
7630         Fixes #449197
7631
7632 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7633
7634         * gst/gsttypefindfactory.c:
7635           Fix docs that recommened wrong function to use.
7636
7637 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7638
7639         * tools/gst-inspect.c: (print_plugin_features):
7640           Also give media-type for typefinders in element output.
7641
7642 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7643
7644         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7645         (gst_registry_remove_features_for_plugin_unlocked),
7646         (gst_registry_add_feature), (gst_registry_remove_feature),
7647         (gst_registry_lookup_feature_locked):
7648         * gst/gstregistry.h:
7649           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7650           Fixes #459501.
7651
7652 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7653
7654         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7655         (gst_plugin_feature_set_name):
7656           Avoid double memory usage for pluginfeature names. Fixes #459466.
7657
7658 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7659
7660         * gst/gstpad.h:
7661           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7662           driving the pipeline may need to explicitly check for NOT_LINKED as
7663           well, since IS_FATAL doesn't cover that.
7664
7665 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7666
7667         * docs/pwg/advanced-types.xml:
7668           Fix typo and duplicate entry in video formats list.
7669
7670 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7671
7672         * libs/gst/controller/gstinterpolation.c:
7673         Also round to the nearest int when using cubic interpolation.
7674
7675 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7676
7677         * libs/gst/controller/gstinterpolation.c:
7678         When linearly interpolating integer types, round to the nearest int
7679         by adding 0.5. Don't do it for float/double types.
7680         Fixes the failing controller test on my machine, which is somehow
7681         rounding differently than on the buildbots.
7682
7683 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7684
7685         * tools/gst-plot-timeline.py:
7686           Better log parsing (categories can have -). Adjust text vs. lines, so
7687           that they span the same y-range.        
7688
7689 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * docs/random/ensonic/audiobaseclasses.txt:
7692         * docs/random/ensonic/dynlink.txt:
7693         * docs/random/ensonic/profiling.txt:
7694           Save my thoughts.
7695
7696         * docs/random/moving-plugins:
7697           Add note to use g_assert type macros.
7698
7699 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7700
7701         * configure.ac:
7702         * libs/gst/check/Makefile.am:
7703           Add libm check as we use in for plugins.
7704
7705 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7706
7707         * gst/gstbin.c: (gst_bin_continue_func):
7708         Check that the state_cookie hasn't changed since the continue_func
7709         was scheduled. Avoids problems where the state changes back to
7710         something it shouldn't be because it was changed in the meantime.
7711
7712 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7713
7714         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7715         (gst_registry_binary_save_string),
7716         (gst_registry_binary_save_pad_template),
7717         (gst_registry_binary_save_feature),
7718         (gst_registry_binary_save_plugin),
7719         (gst_registry_binary_load_feature),
7720         (gst_registry_binary_load_plugin),
7721         (gst_registry_binary_read_cache):
7722           Fix memory leak. Be less verbose in the log.
7723
7724 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7725
7726         * tests/check/elements/.cvsignore:
7727         Add file to cvsignore as commanded.
7728
7729 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7730
7731         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7732         (mq_dummypad_event), (run_output_order_test):
7733         Use a GStaticMutex to protect all cases where libcheck
7734         fail_if/fail_unless macros might be called from multiple threads
7735         simultaneously to avoid errors like:
7736           "check_pack.c:107: :-1081725400:Bad message type arg"
7737
7738 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7739
7740         * tests/check/pipelines/stress.c: (GST_START_TEST):
7741         Make sure we set the pipeline back to the NULL state before
7742         dropping our final reference.
7743
7744 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7745
7746         * tests/check/elements/tee.c: (GST_START_TEST):
7747         Make the tee stress-test a little less stressful so it doesn't just
7748         time out on slow-machines, and remove a small race when it's starting 
7749         up by adding a get_state() call.
7750
7751 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7752
7753         * gst/gst.c:
7754           Avoid reading registry twice on startup. Fixes #457322.
7755
7756 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7757
7758         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7759         * pkgconfig/gstreamer-check.pc.in:
7760         Substitute the CFLAGS for libcheck into our .pc file too so that
7761         dependent modules will pick it up properly if libcheck is installed
7762         into some other prefix.
7763
7764 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7765
7766         * configure.ac:
7767         Revert the pkg-config check for libcheck, since it pulls in the
7768         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7769         a proper solution, either from the check project, or something else.
7770
7771 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7772
7773         * configure.ac:
7774           Use pkg-config to locate check.
7775
7776 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7777
7778         * gst/gsttaglist.c:
7779           Fix doc syntax.
7780
7781         * gst/gstutils.c:
7782         * gst/gstutils.h:
7783           Add deprecation guards.
7784
7785         * libs/gst/base/gstcollectpads.h:
7786           Don't document object (this is implicitly private).
7787
7788 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7789
7790         * gst/gststructure.c: (gst_structure_parse_value):
7791           When deserialising foo=bar without a type cast, check if it's a
7792           boolean before falling back to a string type, otherwise things like
7793           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7794           because the filtercaps end up having a signed=(string)true field,
7795           which causes problems later when intersection caps.
7796
7797         * tests/check/gst/gststructure.c: (GST_START_TEST):
7798           Add a unit test for this.
7799
7800 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7801
7802         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7803
7804         * libs/gst/controller/Makefile.am:
7805         * libs/gst/controller/gstcontroller.c:
7806         (gst_controlled_property_add_interpolation_control_source),
7807         (gst_controlled_property_new), (gst_controlled_property_free),
7808         (gst_controller_find_controlled_property),
7809         (gst_controller_new_valist), (gst_controller_new_list),
7810         (gst_controller_new), (gst_controller_remove_properties_valist),
7811         (gst_controller_remove_properties_list),
7812         (gst_controller_remove_properties),
7813         (gst_controller_set_property_disabled),
7814         (gst_controller_set_disabled), (gst_controller_set_control_source),
7815         (gst_controller_get_control_source), (gst_controller_get),
7816         (gst_controller_sync_values), (gst_controller_get_value_array),
7817         (_gst_controller_dispose), (gst_controller_get_type),
7818         (gst_controlled_property_set_interpolation_mode),
7819         (gst_controller_set), (gst_controller_set_from_list),
7820         (gst_controller_unset), (gst_controller_unset_all),
7821         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7822         * libs/gst/controller/gstcontroller.h:
7823         * libs/gst/controller/gstcontrollerprivate.h:
7824         * libs/gst/controller/gstcontrolsource.c:
7825         (gst_control_source_class_init), (gst_control_source_init),
7826         (gst_control_source_get_value),
7827         (gst_control_source_get_value_array), (gst_control_source_bind):
7828         * libs/gst/controller/gstcontrolsource.h:
7829         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7830         (gst_object_get_control_source):
7831         * libs/gst/controller/gstinterpolation.c:
7832         (gst_interpolation_control_source_find_control_point_node),
7833         (gst_interpolation_control_source_get_first_value),
7834         (_interpolate_none_get), (interpolate_none_get),
7835         (interpolate_none_get_boolean_value_array),
7836         (interpolate_none_get_enum_value_array),
7837         (interpolate_none_get_string_value_array),
7838         (_interpolate_trigger_get), (interpolate_trigger_get),
7839         (interpolate_trigger_get_boolean_value_array),
7840         (interpolate_trigger_get_enum_value_array),
7841         (interpolate_trigger_get_string_value_array):
7842         * libs/gst/controller/gstinterpolationcontrolsource.c:
7843         (gst_control_point_free), (gst_interpolation_control_source_reset),
7844         (gst_interpolation_control_source_new),
7845         (gst_interpolation_control_source_set_interpolation_mode),
7846         (gst_interpolation_control_source_bind),
7847         (gst_control_point_compare), (gst_control_point_find),
7848         (gst_interpolation_control_source_set_internal),
7849         (gst_interpolation_control_source_set),
7850         (gst_interpolation_control_source_set_from_list),
7851         (gst_interpolation_control_source_unset),
7852         (gst_interpolation_control_source_unset_all),
7853         (gst_interpolation_control_source_get_all),
7854         (gst_interpolation_control_source_get_count),
7855         (gst_interpolation_control_source_init),
7856         (gst_interpolation_control_source_finalize),
7857         (gst_interpolation_control_source_dispose),
7858         (gst_interpolation_control_source_class_init):
7859         * libs/gst/controller/gstinterpolationcontrolsource.h:
7860         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7861         API: Refactor GstController into the core controller which can take
7862         a GstControlSource for providing actual values for timestamps.
7863         Implement a interpolation control source and use this for backward
7864         compatibility, deprecate a bunch of functions that are now handled
7865         by GstControlSource or GstInterpolationControlSource.
7866         Make it possible to disable the controller completely or only for
7867         specific properties. Fixes #450711.
7868         * docs/libs/gstreamer-libs-docs.sgml:
7869         * docs/libs/gstreamer-libs-sections.txt:
7870         * docs/libs/gstreamer-libs.types:
7871         Add new functions and classes to the docs.
7872         * tests/check/libs/controller.c: (GST_START_TEST),
7873         (gst_controller_suite):
7874         * tests/examples/controller/audio-example.c: (main):
7875         Port unit test and example to the new API and add some new
7876         unit tests.
7877
7878 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7879
7880         Patch by: Mark Nauwelaerts <manauw at skynet be>
7881
7882         * plugins/elements/gstmultiqueue.c:
7883         (gst_multi_queue_get_internal_links), (apply_buffer),
7884         (single_queue_overrun_cb), (gst_single_queue_new):
7885         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7886         the pipeline layout can be tracked correctly. Fixes #453732.
7887
7888 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7889
7890         * docs/gst/Makefile.am:
7891         * docs/libs/Makefile.am:
7892         * docs/plugins/Makefile.am:
7893           Simplify --extra-dir as gtkdoc scans recursively.
7894
7895 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7896
7897         * tools/gst-launch.c: (main):
7898         When we got an error, there is no point in waiting for preroll when
7899         shutting down.
7900
7901 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7902
7903         * plugins/elements/gsttee.c: (gst_tee_base_init),
7904         (gst_tee_request_new_pad), (gst_tee_release_pad),
7905         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7906         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7907         (gst_tee_chain):
7908         Be a lot smarter when deciding what srcpad to use for proxying
7909         the buffer_alloc. Also handle pad added/removed when doing so.
7910         Fixes #357959.
7911         Keep track of what pads we already pushed on in case we have pads
7912         added/removed while pushing. Fixes #374639 
7913
7914         * tests/check/Makefile.am:
7915         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7916         (tee_suite):
7917         Added unit test for pad resync.
7918
7919 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7920
7921         * po/nl.po:
7922         * po/sv.po:
7923           Updated translations.
7924
7925 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7926
7927         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7928
7929         * po/LINGUAS:
7930         * po/fi.po:
7931           Added new Finnish translation.
7932
7933 2007-06-28  Wim Taymans  <wim@fluendo.com>
7934
7935         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7936         (single_queue_overrun_cb):
7937         When figuring out when a queue is filled, use our internal time estimate
7938         based on segments, just like check_full does.
7939
7940 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7941
7942         * gst/gstminiobject.c: (gst_mini_object_get_type):
7943           Remove 3 do-nothing methods.
7944
7945 2007-06-27  Wim Taymans  <wim@fluendo.com>
7946
7947         Patch by: Tim Angus <tim at ngus dot net>
7948
7949         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7950         (gst_capsfilter_set_property):
7951         Take a reference instead of a copy when setting "caps".
7952         Fix documentation to clarify this behaviour. Fixes #449414.
7953
7954 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
7955
7956         * gst/gstindexfactory.c: (gst_index_factory_get_type):
7957         * gst/gstplugin.c: (gst_plugin_init):
7958         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
7959         * gst/gstquery.c: (gst_query_get_type):
7960         * gst/gstregistry.c: (gst_registry_init):
7961         * gst/gsturi.c: (gst_uri_handler_base_init):
7962           Remove empty instance_init() functions to save relocs and lessen the
7963           noise. Remove some of the function prototypes that are doubled by
7964           G_DEFINE_TYPE.
7965           
7966 2007-06-27  Wim Taymans  <wim@fluendo.com>
7967
7968         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
7969
7970         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
7971         Add peer and direction in the XML serialisation of ghostpads.
7972         Fixes #449226.
7973
7974 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
7975
7976         * configure.ac:
7977           Preserve useful information, thanks Tim.
7978
7979 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
7980
7981         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
7982         (gst_single_queue_flush), (apply_segment), (apply_buffer),
7983         (gst_single_queue_push_one), (gst_multi_queue_loop),
7984         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7985         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
7986         (compute_high_id), (gst_single_queue_new):
7987         * plugins/elements/gstmultiqueue.h:
7988         Take the multiqueue lock when updating the fill level so we don't get
7989         confused. 
7990
7991         After applying a buffer or event on the src pad segment, make sure to
7992         call gst_data_queue_limits_changed() to get the data queue to unblock
7993         and check the filled state again.
7994         
7995         Rework the not-linked pad handling so the logic is that not-linked 
7996         pads can push as fast as they like, but only so they never get 
7997         ahead of any linked pads.
7998
7999         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8000         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8001         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8002
8003         Add a test to check that not-linked pads always stay behind
8004         linked pads.
8005
8006         Fixes: #430682
8007
8008 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8009
8010         * docs/random/release:
8011           Some updates to the release procedure.
8012
8013 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8014
8015         * gst/gstelementfactory.c: (__gst_element_details_clear):
8016           Microoptimization that saves stunning 80 bytes.
8017
8018 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8019
8020         * docs/plugins/gstreamer-plugins.args:
8021         * docs/plugins/inspect/plugin-coreelements.xml:
8022         * docs/plugins/inspect/plugin-coreindexers.xml:
8023           Update docs with caps info.
8024
8025 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8026
8027         * po/it.po:
8028           Updated Italian translation.
8029
8030 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         * ChangeLog:
8033         * po/vi.po:
8034           Update Vietnamese translations.
8035
8036 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8037
8038         * libs/gst/base/gstbasesink.c:
8039           Remove unused signal enum.
8040
8041 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8042
8043         * docs/gst/gstreamer-sections.txt:
8044         * gst/gstelement.c:
8045         * gst/gstutils.c: (gst_type_register_static_full):
8046         Beef up and include the docs for gst_type_register_static_full and
8047         gst_element_class_set_details_simple and add the API keyword
8048         in the ChangeLog.
8049
8050 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8051
8052         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8053         (update_time_level), (gst_single_queue_push_one),
8054         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8055         (single_queue_overrun_cb), (single_queue_underrun_cb),
8056         (single_queue_check_full):
8057         Fix setting max-* properties after adding queues.
8058         Use IS_FILLED for checking visible items.
8059         Signal overrun if multiple queues overrun.
8060         Add extra debug output.
8061         Patch by: Wim Taymans <wim@fluendo.com>
8062
8063 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8064
8065         * gst/gstelement.c: (gst_element_class_set_details_simple):
8066         * gst/gstelement.h:
8067         * gst/gstutils.c: (gst_type_register_static_full):
8068         * gst/gstutils.h:
8069         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8070         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8071         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8072         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8073         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8074         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8075         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8076         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8077         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8078         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8079         (apply_buffer), (gst_queue_chain):
8080         * plugins/elements/gsttee.c: (gst_tee_base_init):
8081         * plugins/elements/gsttypefindelement.c:
8082         (gst_type_find_element_base_init),
8083         (gst_type_find_element_class_init):
8084           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8085           API: add gst_type_register_static_full
8086           API: add gst_element_class_set_details_simple
8087
8088 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8089
8090         * docs/pwg/advanced-types.xml:
8091           Fix typo in iana.org URI.
8092
8093 2007-06-19  Andy Wingo  <wingo@pobox.com>
8094
8095         * tests/check/pipelines/simple-launch-lines.c
8096         (test_state_change_returns): Enable pull-mode tests now that
8097         basesink has been fixed.
8098
8099         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8100         Changed from gst_base_sink_is_prerolled, reversing the sense of
8101         the return value. Returns FALSE also if the sink is in pull mode,
8102         in which case it needs no preroll.
8103         (gst_base_sink_query, gst_base_sink_change_state): Update for
8104         needs_preroll change.
8105         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8106         chaining up, in which we return SUCCESS directly if we activated
8107         in pull mode instead of ASYNC. Involves countering an async_start
8108         message sent before chaining up; not sure if this is correct, in
8109         an ideal world we only send async-start when activating in push
8110         mode.
8111
8112         * tests/check/pipelines/simple-launch-lines.c
8113         (test_state_change_returns): New test, partially disabled until
8114         basesink is fixed.
8115
8116 2007-06-19  Wim Taymans  <wim@fluendo.com>
8117
8118         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8119         (gst_multi_queue_sink_event):
8120         Fix event leak.
8121
8122 2007-06-19  Wim Taymans  <wim@fluendo.com>
8123
8124         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8125         (gst_bin_change_state_func), (bin_push_state_continue),
8126         (bin_handle_async_start), (bin_handle_async_done),
8127         (gst_bin_handle_message_func):
8128         Move the common code for posting state-change messages into
8129         one function.
8130         Broadcast the state signal after we posted the messages.
8131         Mark the bin as busy when it's doing a state-change.
8132         Make sure async-start/done messages don't interfere with the bin's
8133         state when it's busy.
8134         After the state change, let the bin check which elements completed the
8135         state change while it was busy so that it can update its state.
8136
8137 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8138
8139         * docs/random/release:
8140         Add a note about updating the doap file to the release checklist
8141
8142 2007-06-18  Wim Taymans  <wim@fluendo.com>
8143
8144         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8145         (gst_single_queue_push_one), (gst_multi_queue_chain),
8146         (gst_multi_queue_sink_event):
8147         Make sure we don't reference the buffer/event after we have given away
8148         ownership in the queue.
8149
8150 2007-06-18  Wim Taymans  <wim@fluendo.com>
8151
8152         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8153         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8154         Update queue state _after_ adding the item in the queue because else we
8155         could end up being full without the element added yet.
8156
8157 2007-06-18  Wim Taymans  <wim@fluendo.com>
8158
8159         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8160         (gst_bin_remove_func), (gst_bin_get_state_func),
8161         (gst_bin_element_set_state), (gst_bin_continue_func),
8162         (bin_push_state_continue), (bin_handle_async_start),
8163         (bin_handle_async_done), (gst_bin_handle_message_func):
8164         * gst/gstbin.h:
8165         Immediatly commit the toplevel bin state when receiving an async-done
8166         message. This enables us to avoid spawning a thread to commit the state
8167         in some common cases and it also avoids some races.
8168         Avoid spawning a state thread when adding/removing async elements to a
8169         toplevel bin. Instead we immediatly update the bin state.
8170         Get rid of iterating all the children when getting the state in the bin
8171         because it is now always up-to-date.
8172         Fix bug where locked elements would always return _SUCCESS even it they
8173         returned NO_PREROLL before being locked.
8174         Fix the order of the state_change, async-start/done messages that was
8175         sometimes incorrect.
8176         Mark the state_dirty field as deprecated, we don't need it anymore as we
8177         are always up-to-date.
8178
8179         * gst/gstelement.c: (gst_element_get_state_func),
8180         (gst_element_continue_state):
8181         Small debug inprovements.
8182         Return the previous element state return when nothing is pending instead
8183         of blindly returning SUCCESS.
8184
8185         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8186         (gst_sinks_suite):
8187         Add a whole bunch of new testcases.
8188
8189 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8190
8191         * po/uk.po:
8192         * po/vi.po:
8193           Update translations.
8194
8195 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8196
8197         * gst/gstpad.c:
8198         Fix typo in the docs.
8199
8200 2007-06-15  Wim Taymans  <wim@fluendo.com>
8201
8202         * docs/libs/gstreamer-libs-sections.txt:
8203         Add docs for new methods.
8204
8205 2007-06-15  Wim Taymans  <wim@fluendo.com>
8206
8207         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8208         (gst_multi_queue_item_new):
8209         Don't use GSlice because we don't depend on >= 2.10 yet.
8210
8211 2007-06-15  Wim Taymans  <wim@fluendo.com>
8212
8213         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8214         (update_time_level), (apply_segment), (apply_buffer),
8215         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8216         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8217         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8218         (single_queue_underrun_cb), (single_queue_check_full):
8219         Remove debug printf.
8220
8221 2007-06-15  Wim Taymans  <wim@fluendo.com>
8222
8223         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8224         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8225         (gst_data_queue_set_flushing), (gst_data_queue_push),
8226         (gst_data_queue_pop), (gst_data_queue_drop_head),
8227         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8228         * libs/gst/base/gstdataqueue.h:
8229         Various cleanups.
8230         Added methods to get the current levels and to inform the queue that the
8231         'full' limits changed.
8232
8233         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8234         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8235         (gst_single_queue_flush), (update_time_level), (apply_segment),
8236         (apply_buffer), (gst_single_queue_push_one),
8237         (gst_multi_queue_item_steal_object),
8238         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8239         (gst_multi_queue_loop), (gst_multi_queue_chain),
8240         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8241         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8242         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8243         (single_queue_underrun_cb), (single_queue_check_full),
8244         (gst_single_queue_new):
8245         Keep track of time in the queue by measuring the difference between
8246         running_time on input and output. This gives more accurate results and
8247         can compensate for segments correctly.
8248         Make a queue by default only 5 buffers deep. We will now increase the
8249         buffer size depending on the filledness of the other queues.
8250         Factor out commong flush code.
8251         Make sure we don't add additional refcounts to buffers when we can avoid
8252         it.
8253         Propagate GstFlowReturn differently.
8254         Use GSlice for intermediate GstMultiQueueItems.
8255         Keep track of EOS.
8256         Resize queues on over and underruns based on filled level of other
8257         queues.
8258         When checking if the queue is filled, prefer to measure in time if we
8259         can and fall back to bytes when no time is known.
8260
8261         * plugins/elements/gstqueue.c:
8262         Fix return value.
8263
8264 2007-06-15  Wim Taymans  <wim@fluendo.com>
8265
8266         * libs/gst/base/gstbasetransform.c:
8267         (gst_base_transform_sink_event):
8268         Work around the brokenness of the event vmethod in basetransform. Prefer
8269         to return TRUE when the subclass returned FALSE (meaning don't forward
8270         the event). 
8271
8272         * libs/gst/base/gstbasetransform.h:
8273         Clarify the docs.
8274
8275 2007-06-15  Wim Taymans  <wim@fluendo.com>
8276
8277         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8278         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8279         (gst_base_src_default_query), (gst_base_src_get_range),
8280         (gst_base_src_start):
8281         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8282         Improve debugging.
8283
8284 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8285
8286         * docs/pwg/advanced-types.xml:
8287           Added more formats to caps table.
8288
8289 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8290
8291         * tools/gst-launch.c: (main):
8292           Remove crufy code. GOption does not need this workaround.
8293
8294 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8295
8296         * libs/gst/controller/gstcontroller.c:
8297         (gst_controlled_property_set_interpolation_mode):
8298           Fix wrong getter for enums in controller.
8299
8300 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8301
8302         * libs/gst/check/gstcheck.c: (gst_check_init):
8303           Intercept criticals and warnings in the Gst-Phonon log domain, so
8304           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8305           well.
8306         
8307 2007-06-14  Edward Hervey  <edward@fluendo.com>
8308
8309         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8310         Since this file doesn't include "gst.h" it will not go through the
8311         macros that disable GST_LOG if debugging was disabled.
8312
8313 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8314
8315         * libs/gst/check/Makefile.am:
8316         * libs/gst/check/gstcheck.h:
8317         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8318         * pkgconfig/gstreamer-check.pc.in:
8319           Ugly 'fix' for the controller unit test on the p5 bot: in
8320           fail_unless_equals_float() check whether the values are 'almost
8321           equal' by allowing a small absolute error, which should be good
8322           enough for our use cases (normal numbers and values close to 0).
8323           Proper fixage left to floating point arithmetic aficionados.
8324
8325 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8326
8327         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8328         (gst_base_sink_render_object), (gst_base_sink_get_position):
8329           Add two breaks thats where missing.
8330
8331 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8332
8333         * docs/libs/gstreamer-libs-sections.txt:
8334         * libs/gst/check/gstcheck.h:
8335           API: add fail_unless_equals_float() and assert_equals_float().
8336           Add documentation for some of the macros.
8337
8338         * tests/check/libs/controller.c: (GST_START_TEST):
8339           Use newly-added asserts.
8340
8341 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8342
8343         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8344           Show the caps change in the log to help spotting the case of not
8345           exactly matching caps.
8346
8347 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * docs/pwg/building-boiler.xml:
8350           Fix typos, spotted by Thijs Vermeir (#447190).
8351
8352 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8353
8354         * docs/plugins/tmpl/.cvsignore:
8355         Ignore file to keep the buildbots happy
8356
8357 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8358
8359         * docs/plugins/Makefile.am:
8360         * docs/plugins/gstreamer-plugins-docs.sgml:
8361         * docs/plugins/gstreamer-plugins-sections.txt:
8362         Pull fdsink into the docs too.
8363
8364 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8365
8366         * libs/gst/controller/gstinterpolation.c:
8367         Actually use the new functions with min/max checks for the trigger and
8368         none interpolation modes for get() and get_value_array() instead of
8369         just the latter.
8370
8371 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8372
8373         * libs/gst/controller/gstcontroller.c:
8374         (gst_controlled_property_free):
8375         Unset the minimum and maximum GValues when freeing the corresponding
8376         GstControllerProperty struct.
8377
8378 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8379
8380         * libs/gst/controller/gstcontroller.c:
8381         (gst_controlled_property_new):
8382         * libs/gst/controller/gstcontrollerprivate.h:
8383         * libs/gst/controller/gstinterpolation.c:
8384         (gst_controlled_property_find_control_point_node),
8385         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8386         (interpolate_none_get_string_value_array),
8387         (interpolate_trigger_get),
8388         (interpolate_trigger_get_enum_value_array),
8389         (interpolate_trigger_get_string_value_array):
8390         Protect against values larger or smaller than the minimum or maximum
8391         allowed value for the property when using values that can be compared.
8392
8393         Optimize trigger interpolator a bit by taking the last requested value
8394         into account instead of always looping through the complete list.
8395
8396         Fix coding style a bit, everywhere else we use "return foo" instead
8397         of "return (foo)".
8398         
8399         * tests/check/libs/controller.c: (GST_START_TEST),
8400         (gst_controller_suite):
8401         Add unit test for the protection against too large or too small
8402         values.
8403
8404 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8405
8406         * docs/random/slomo/controller.txt:
8407         Add some thoughts about the future of the controller.
8408
8409 2007-06-08  Wim Taymans  <wim@fluendo.com>
8410
8411         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8412         Don't overflow in retimestamping code.
8413
8414 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8415
8416         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8417         Use gst_util_guint64_to_gdouble for conversions.
8418         * win32/common/libgstreamer.def:
8419         Add new exported functions.
8420
8421 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8422
8423         * gst/gstutils.c:
8424           Small docs addition.
8425
8426 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8427
8428         * README:
8429           Remove that test line again.
8430
8431 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8432
8433         * README:
8434           Test commit mail sending.
8435
8436 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8437
8438         * configure.ac:
8439           Fix typo and test commit mail sending.
8440
8441 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8442
8443         * tests/examples/controller/audio-example.c:
8444           Improve comment and test commit mail sending.
8445
8446 2007-06-07  Wim Taymans  <wim@fluendo.com>
8447
8448         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8449         (gst_bin_remove_func), (gst_bin_element_set_state),
8450         (bin_handle_async_start), (bin_handle_async_done),
8451         (gst_bin_handle_message_func):
8452         Add helper function to find messages.
8453         Generate the async-done messages together with the state change
8454         messages.
8455         Small cleanups in handling toplevel bins.
8456
8457 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8458
8459         * libs/gst/base/gstdataqueue.c:
8460         * libs/gst/base/gstdataqueue.h:
8461         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8462         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8463         (gst_multi_queue_sink_event):
8464         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8465           Fix multiqueue leaking buffers and events when downstream or the
8466           queue are flushing. Make refcounting assumptions explicit and
8467           document them (shouldn't break existing code that uses it other than
8468           maybe leak miniobjects, but that already happens anyway). Add unit
8469           test for the most common flushing case. Fixes #423700.
8470           
8471 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8472
8473         * libs/gst/controller/gstcontroller.c:
8474         Clarify docs: The get_all, get_value_array(s) functions
8475         don't modify the GObject properties.
8476
8477 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8478
8479         * libs/gst/controller/gstcontroller.c:
8480         (gst_controlled_property_set_interpolation_mode),
8481         (gst_controlled_property_prepend_default),
8482         (gst_controlled_property_new), (gst_controller_set_unlocked),
8483         (gst_controller_set), (gst_controller_set_from_list),
8484         (gst_controller_unset), (gst_controller_unset_all):
8485         * libs/gst/controller/gstcontrollerprivate.h:
8486         * libs/gst/controller/gstinterpolation.c:
8487         Factor out the 'set' logic into gst_controller_set_unlocked for the
8488         gst_controller_set and gst_controller_set_from_list functions.
8489
8490         To make life of the interpolators easier always add a control point
8491         at timestamp zero with the default value.
8492
8493         In the linear interpolator make things more obvious by better variable
8494         naming (slope).
8495
8496         Implement cubic interpolation mode (by using a natural cubic spline)
8497         and map the quadratic interpolation mode to this too (as quadratic
8498         doesn't make much sense, see discussion on the list).
8499
8500         * tests/check/libs/controller.c: (GST_START_TEST),
8501         (gst_controller_suite):
8502         Add unit test for the cubic interpolation mode and check everywhere
8503         if the interpolation mode could be set as expected.
8504
8505 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8506
8507         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8508           Don't use GLib-2.10 functions, we still depend on
8509           GLib-how-old-is-it-again-2.8.
8510
8511 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8512
8513         * docs/gst/gstreamer-sections.txt:
8514         * gst/Makefile.am:
8515         * gst/gst.c:
8516         * gst/gst.h:
8517         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8518         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8519         (_gst_param_fraction_values_cmp),
8520         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8521         * gst/gstparamspecs.h:
8522         * gst/gstvalue.c:
8523         * tests/check/Makefile.am:
8524         * tests/check/gst/.cvsignore:
8525         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8526         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8527         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8528         (GST_START_TEST), (gst_param_spec_suite):
8529           API: add GstParamSpecFraction, so elements can have fraction
8530           properties without lots of painful string parsing (#444648).
8531
8532 2007-06-05  Wim Taymans  <wim@fluendo.com>
8533
8534         * gst/gstobject.c: (gst_object_class_init):
8535         Fix signal signature.
8536
8537         * gst/gstsegment.c:
8538         Add small clarification in the api docs.
8539
8540         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8541         States are protected with object lock.
8542
8543 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8544
8545         * AUTHORS:
8546         I should probably be listed as an author by now.
8547
8548         * docs/random/release:
8549         Update the release doc
8550
8551 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8552
8553         * gst/gstvalue.c:
8554           Make docs for gst_value_compare() mention return enums that
8555           actually exist.
8556
8557 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8558
8559         * configure.ac:
8560           Back to CVS
8561
8562 === release 0.10.13 ===
8563
8564 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8565
8566         * configure.ac:
8567           releasing 0.10.13, "With or without you"
8568
8569 2007-05-25  Wim Taymans  <wim@fluendo.com>
8570
8571         * gst/gstbin.c: (bin_handle_async_done):
8572         Make sure that the child bin stops after completing the async state
8573         change so that the parent can continue the state change to PLAYING.
8574         Fixes #441159.
8575
8576 2007-05-25  Wim Taymans  <wim@fluendo.com>
8577
8578         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8579         (unref_data), (gst_collect_pads_remove_pad),
8580         (gst_collect_pads_check_pads):
8581         Use additional refcounting to avoid crashes when dynamically adding and
8582         removing pads. Fixes #420206.
8583
8584 2007-05-24  Wim Taymans  <wim@fluendo.com>
8585
8586         * tools/gst-launch.c: (event_loop):
8587         When buffering goes from a two digit to a single digit number, make sure
8588         to remove the old second digit by writing a blank over it.
8589
8590 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8591
8592         * libs/gst/base/gstdataqueue.c:
8593           Eliminate tabs and trailing comma in enum list; fix some typos.
8594
8595 2007-05-24  Wim Taymans  <wim@fluendo.com>
8596
8597         * tests/check/gst/gstbin.c: (GST_START_TEST):
8598         Allow refcount of 3 and 4 because some state thread might still be busy
8599         with it.
8600
8601 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8602
8603         * plugins/elements/Makefile.am:
8604         * plugins/elements/gstmultiqueue.h:
8605         * plugins/elements/gstqueue.h:
8606           These are not installed headers, no need for padding.
8607
8608 2007-05-24  Wim Taymans  <wim@fluendo.com>
8609
8610         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8611         (gst_bin_continue_func):
8612         Enable latency for next release.
8613         Restore STATE_LOCK around recalc_state that was left out during the
8614         rewrite and could result in racy behaviour when _get_state and
8615         recalc_state are run concurrently. See #440463.
8616
8617 2007-05-23  Wim Taymans  <wim@fluendo.com>
8618
8619         * tests/check/gst/gstsystemclock.c: (store_callback),
8620         (GST_START_TEST):
8621         Improve test_async_order to also work when both timers are already
8622         expired when we get scheduled to check it.
8623
8624 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8625
8626         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8627         (gst_bin_set_property), (gst_bin_get_property),
8628         (gst_bin_remove_func), (gst_bin_handle_message_func):
8629         * gst/gstbin.h:
8630           'private' is a c++ keyword, let's not use that in header files,
8631           otherwise c++ compilers will throw a tantrum.
8632
8633 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * plugins/elements/gstelements.c:
8636         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8637         (gst_file_sink_get_current_offset):
8638         * plugins/indexers/gstindexers.c: (plugin_init):
8639           Use #ifdef for HAVE_XYZ for consistency.
8640
8641         * tests/check/Makefile.am:
8642         * tests/check/elements/.cvsignore:
8643         * tests/check/elements/filesink.c: (setup_filesink),
8644         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8645           Add some unit tests for filesink.
8646
8647 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         Patch by: Mark Nauwelaerts <manauw at skynet be>
8650
8651         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8652         (gst_file_sink_query), (gst_file_sink_do_seek),
8653         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8654         * plugins/elements/gstfilesink.h:
8655           Fix position reporting; rename data_written member to current_pos to
8656           reflect its real meaning (fixes #412648).
8657
8658 2007-05-22  Edward Hervey  <edward@fluendo.com>
8659
8660         * docs/gst/gstreamer-sections.txt:
8661         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8662         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8663         (gst_bin_remove_func), (gst_bin_handle_message_func):
8664         * gst/gstbin.h:
8665         Add a property for bins that handle the state change of their childs.
8666         Fixes #435880
8667
8668 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8669
8670         * libs/gst/controller/gstinterpolation.c:
8671         Use an array of the correct type when using _get_value_array with
8672         linear interpolation.
8673
8674 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8675
8676         * gst/gstelement.c (gst_element_requires_clock,
8677           gst_element_provides_clock, gst_element_request_pad,
8678           gst_element_class_set_details, gst_element_class_set_details_simple,
8679           gst_element_default_send_event, gst_element_abort_state,
8680           gst_element_continue_state, gst_element_set_state,
8681           gst_element_set_state_func, iterator_activate_fold_with_resync):
8682         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8683           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8684           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8685           gst_pad_get_range, gst_pad_pull_range):
8686         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8687           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8688           GstPadActivateModeFunction, GstPadChainFunction,
8689           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8690           GstPadFixateCapsFunction, GstPadTemplate):
8691         * gst/gstpipeline.c (gst_pipeline_change_state,
8692           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8693           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8694           gst_pipeline_get_delay):
8695           Whitespace and docs fixes.
8696
8697 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8698
8699         * libs/gst/controller/gstinterpolation.c:
8700         (interpolate_trigger_get_enum_value_array),
8701         (interpolate_trigger_get_string_value_array):
8702         Add support for retrieving value arrays when using the trigger
8703         interpolation mode. 
8704
8705 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8706
8707         * libs/gst/controller/gstcontroller.c:
8708         (gst_controller_get_value_array):
8709         * libs/gst/controller/gstcontroller.h:
8710         Clarify the docs of gst_controller_get_value_array(): The array where
8711         the values should be written to must be allocated as there seems to be
8712         no way to get the size of a random GType. This doesn't change any
8713         behaviour. Also fix some typos all over the place and remove an unused,
8714         commented function that is not necessary as g_object_set() could be
8715         used instead.
8716         * tests/check/libs/controller.c: (GST_START_TEST),
8717         (gst_controller_suite):
8718         Add unit test for gst_controller_get_value_array().
8719
8720 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8721
8722         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8723
8724         Disable part of the gst_buffer_try_new_and_alloc test, because
8725         it can happily succeed on 64-bit systems where there's more address
8726         space available.
8727
8728 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8729
8730         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8731         Add unit test for the improved caps checking from bug #421543.
8732
8733 2007-05-21  Wim Taymans  <wim@fluendo.com>
8734
8735         * docs/design/part-synchronisation.txt:
8736         Small addition.
8737
8738         * gst/gstbin.c: (gst_bin_query):
8739         * plugins/elements/gstqueue.c: (apply_segment):
8740         Improve debugging.
8741
8742         * gst/gstmessage.h:
8743         Improve docs.
8744
8745 2007-05-21  Wim Taymans  <wim@fluendo.com>
8746
8747         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8748         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8749         (gst_pad_configure_src):
8750         Added simple version of improved caps checking. It was previously
8751         assumed that a setcaps function would check the validity of the caps but
8752         people prefer us to check caps against the template automatically. 
8753         Fixes #421543.
8754
8755 2007-05-21  Wim Taymans  <wim@fluendo.com>
8756
8757         * libs/gst/base/gstbasetransform.h:
8758         Fix macro for locking/unlocking the transform lock.
8759
8760 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8761
8762         * docs/plugins/tmpl/.cvsignore:
8763           Ignore more.
8764
8765 2007-05-18  Edward Hervey  <edward@fluendo.com>
8766
8767         * plugins/elements/gstqueue.c: (gst_queue_loop):
8768         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8769         for the subtle art of warning a potentially blocking thread that it
8770         should check the source pad return value, and relay the information
8771         upstream.
8772
8773 2007-05-18  Edward Hervey  <edward@fluendo.com>
8774
8775         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8776         Release the queue lock !
8777
8778 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8779
8780         * docs/libs/gstreamer-libs-sections.txt:
8781         Add the two new controller functions to the appropiate places.
8782
8783 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8784
8785         reviewed by: Stefan Kost <ensonic@users.sf.net>
8786
8787         * libs/gst/controller/gstcontroller.c:
8788         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8789         (_gst_controller_get_property), (_gst_controller_set_property),
8790         (_gst_controller_init), (_gst_controller_class_init):
8791         * libs/gst/controller/gstcontroller.h:
8792         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8793         (gst_object_get_control_rate), (gst_object_set_control_rate):
8794         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8795         Add API that provides sync suggestion timestamps for elements that
8796         call gst_object_sync_values() from which those elements can subdivide
8797         their processing loop to get the best results for the controlled
8798         properties. For now it just suggests last_sync + control_rate as
8799         new timestamp but this will be improved in the future.
8800
8801         While doing that change the control-rate property to a GstClockTime
8802         from guint and change it's meaning from samples to nanoseconds as
8803         the GstController doesn't know anything about sampling rate. Strictly
8804         speaking this breaks ABI but as the control-rate property didn't do
8805         anything in the past and as such couldn't be used this should be no
8806         problem.        
8807
8808 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8809
8810         reviewed by: Stefan Kost <ensonic@users.sf.net>
8811
8812         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8813         (gst_controller_unset_all):
8814         * libs/gst/controller/gstcontrollerprivate.h:
8815         * libs/gst/controller/gstinterpolation.c:
8816         (gst_controlled_property_find_control_point_node):
8817         Save last synced value from the list to continue searching from there
8818         in future syncs. This speeds everything up a bit.
8819         
8820 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8821
8822         reviewed by: Stefan Kost <ensonic@users.sf.net>
8823
8824         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8825         (gst_control_point_find), (gst_controlled_property_new),
8826         (gst_control_point_free), (gst_controlled_property_free),
8827         (gst_controller_set), (gst_controller_set_from_list),
8828         (gst_controller_unset), (gst_controller_unset_all),
8829         (gst_controller_sync_values):
8830         * libs/gst/controller/gstcontroller.h:
8831         * libs/gst/controller/gstcontrollerprivate.h:
8832         * libs/gst/controller/gstinterpolation.c:
8833         (gst_controlled_property_find_control_point_node),
8834         (interpolate_none_get), (interpolate_trigger_get):
8835         Add a new private GstControlPoint struct which "inherits" from
8836         GstTimedValue to allow different interpolators to store internal
8837         values next to each control point. From the outside everything is
8838         still a GstControlPoint so we don't loose binary compatibility.
8839         Also fixup all the GValue handling to not leak GValues or list nodes.
8840         * tests/check/libs/controller.c: (GST_START_TEST):
8841         Free the list nodes and GValues in the controller_misc test.
8842
8843 2007-05-17  Edward Hervey  <edward@fluendo.com>
8844
8845         * gst/gstsegment.c:
8846         Small doc fix.
8847
8848 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8849
8850         * gst/gstplugin.c: (gst_plugin_load_file):
8851           If we fail to load a plugin because of unresolved symbols or missing
8852           libraries and spew a warning to stderr, we may just as well mention
8853           which plugin it was that failed to load.
8854
8855 2007-05-13  David Schleef  <ds@schleef.org>
8856
8857         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8858           handles the case when ENABLE_GTK_DOC is false, and installs
8859           the prebuilt documentation.  So gtk-doc subdirs are 
8860           unconditionally enabled.  Fixes: #349099.
8861
8862 2007-05-13  David Schleef  <ds@schleef.org>
8863
8864         * gst/gstutils.h: Reword some documentation.
8865
8866 2007-05-12  David Schleef  <ds@schleef.org>
8867
8868         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8869           do anything with the passed "module" parameter, so remove it.
8870           Allows removal of additional vestigal code.
8871
8872 2007-05-12  David Schleef  <ds@schleef.org>
8873
8874         * gst/gstplugin.c:
8875           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8876           Switch to using g_stat() because it's more portable.
8877
8878 2007-05-12  David Schleef  <ds@schleef.org>
8879
8880         * gst/gst.c:
8881           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8882           parsing for embedded systems.
8883         * gst/gstelementfactory.c:
8884           Allow gst_element_register() to be called with plugin==NULL.
8885           Did nobody notice that static elements were broken?
8886
8887 2007-05-12  Wim Taymans  <wim@fluendo.com>
8888
8889         * tools/gst-launch.c: (event_loop):
8890         Give more interesting info when buffering starts and stops.
8891         Fix case where buffering starts but we fail to update the buffering flag
8892         because the target state is not PLAYING.
8893
8894 2007-05-12  Wim Taymans  <wim@fluendo.com>
8895
8896         * plugins/elements/gstqueue.c: (gst_queue_init),
8897         (gst_queue_finalize), (update_time_level), (apply_segment),
8898         (apply_buffer), (gst_queue_locked_flush),
8899         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8900         (gst_queue_handle_sink_event), (gst_queue_chain),
8901         (gst_queue_push_one), (gst_queue_loop):
8902         * plugins/elements/gstqueue.h:
8903         Refactor an cleanup queue a bit.
8904         Do better time level calculations that also work when the srcpad is not
8905         yet running.
8906         Remove some unneeded debug lines.
8907
8908         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8909         Added testcase for time level measurement.
8910         Try to make some stuff more racefree.
8911
8912 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8913
8914         * gst/gsturi.c: (gst_element_make_from_uri):
8915           Don't leak plugin feature.
8916
8917         * tests/check/Makefile.am:
8918         * tests/check/gst/.cvsignore:
8919         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8920           Add brain-dead unit test.
8921
8922 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8923
8924         Patch by: Jeroen Wouters <woutersj at gmail com>
8925
8926         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8927           Treat protocol strings in a case-insensitive way (#437563).
8928
8929 2007-05-11  Michael Smith <msmith@fluendo.com>
8930
8931         * gst/gstplugin.c: (gst_plugin_load_file):
8932         * gst/gstregistry.c: (gst_registry_scan_path_level):
8933           Don't print a g_warning for any failure to load a shared object.
8934           Instead, push this down into gstplugin.c, and warn _only_ if we
8935           failed to open the module (i.e. failure to link).
8936           Avoids warnings on normal, working, non-plugin .so files.
8937
8938 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
8939
8940         * gst/gstplugin.c (gst_plugin_load_file):
8941         * gst/gstregistry.c (GST_CAT_DEFAULT,
8942           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
8943           Print a g_warning if there was an error when loading a plugins during
8944           registry scan. The shuld help beginners starting with gst-plugin
8945           template.
8946
8947 2007-05-10  Wim Taymans  <wim@fluendo.com>
8948
8949         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8950         (update_time_level), (gst_queue_locked_flush),
8951         (gst_queue_handle_sink_event), (gst_queue_chain),
8952         (gst_queue_push_one), (gst_queue_loop):
8953         * plugins/elements/gstqueue.h:
8954         Be smarter when calculating the current amount of data in the queue by
8955         measuring the difference between start and end timestamps (in running
8956         time) inside the queue. Fixes #432876.
8957         API: GstQueue::pushing to notify elements that we are pushing data again
8958         since the running signal is rather broken for this purpose.
8959
8960 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
8961
8962         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
8963           gst_queue_base_init, gst_queue_init):
8964           use GST_BOILERPLATE
8965
8966 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
8967
8968         * win32/common/libgstreamer.def:
8969         Add new exported functions.
8970         * win32/vs6/grammar.dsp:
8971         Use grammar pre-generated files.
8972
8973 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8974
8975         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
8976
8977         * gst/Makefile.am:
8978         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
8979         * gst/gstparse.h:
8980         * gst/gstutils.c: (gst_parse_bin_from_description):
8981         * gst/gstutils.h:
8982           Maintain API and ABI when --disable-parse is used. Now that
8983           we have an appropriate error code, we can just return NULL and the
8984           appropriate error when gst_parse_launch() is used despite it having
8985           been disabled (#342564).
8986
8987         * tests/check/Makefile.am:
8988         * tests/check/pipelines/.cvsignore:
8989         * tests/check/pipelines/parse-disabled.c:
8990           Make sure these functions exist and return NULL plus a GError when
8991           --disable-parse is used.
8992
8993 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
8994
8995         * tests/benchmarks/complexity.c: (main):
8996         * tests/benchmarks/mass-elements.c: (main):
8997           Set a good example and don't leak messages.
8998
8999 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9000
9001         * docs/gst/Makefile.am:
9002         * docs/libs/Makefile.am:
9003           Correct fixxrefs options.
9004
9005         * docs/plugins/Makefile.am:
9006         * docs/plugins/gstreamer-plugins-docs.sgml:
9007         * docs/plugins/gstreamer-plugins-sections.txt:
9008         * plugins/elements/Makefile.am:
9009         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9010         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9011           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9012           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9013           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9014           _GstCapsFilterClass, trans_class):
9015         * plugins/elements/gstelements.c (name, rank, type, _elements):
9016         * plugins/elements/gstidentity.c
9017           (gst_identity_check_imperfect_timestamp,
9018           gst_identity_check_imperfect_offset):
9019           Document capsfilter and add doc-blurb to identity.
9020
9021 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9022
9023         * libs/gst/controller/gstcontroller.c:
9024         (gst_controlled_property_set_interpolation_mode):
9025         * libs/gst/controller/gstinterpolation.c:
9026           Don't crash if someone tries to set an interpolation mode that
9027           is invalid or that isn't supported yet. Fixes #422295.
9028
9029         * tests/check/libs/controller.c: (GST_START_TEST),
9030         (gst_controller_suite):
9031           Add a test case for the above.
9032
9033 2007-05-03  Edward Hervey  <edward@fluendo.com>
9034
9035         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9036         Properly set the last_stop position on GstSegment. This will only happen
9037         if there is a buffer to push out.
9038
9039 2007-05-03  Wim Taymans  <wim@fluendo.com>
9040
9041         * libs/gst/base/gstbasetransform.c:
9042         (gst_base_transform_buffer_alloc):
9043         always_in_place does not mean that the sink and source caps are the
9044         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9045
9046 2007-05-03  Wim Taymans  <wim@fluendo.com>
9047
9048         * docs/libs/gstreamer-libs-sections.txt:
9049         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9050         (gst_base_src_default_query), (gst_base_src_get_range):
9051         * libs/gst/base/gstbasesrc.h:
9052         API: gst_base_src_query_latency(). Added method so that subclasses can
9053         easily get the latency values of the base source class.
9054
9055 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9056
9057         * tools/gst-inspect.c (print_implementation_info):
9058         Remove 0.8 cruft.
9059
9060 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9061
9062         * tools/Makefile.am:
9063         * tools/gst-launch.1.in:
9064           Don't create a customised man page based on the host architecture,
9065           describe the default registry path generically. That way the man
9066           page is the same for all architectures and packagers have one
9067           multilib issue less to deal with. Fixes #434926.
9068
9069 2007-05-02  Wim Taymans  <wim@fluendo.com>
9070
9071         * gst/gstpad.c:
9072         Fix documentation as spotted by rg on IRC. 
9073
9074 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9075
9076         * gst/gstutils.c:
9077           Improve docs for gst_element_{link,unlink}.
9078
9079 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9080
9081         * docs/design/part-events.txt:
9082         * docs/design/part-overview.txt:
9083         * gst/gstevent.c:
9084         * gst/gsturi.c:
9085         * gst/gsturi.h:
9086         * libs/gst/base/gstbasesink.c:
9087           Typo fixes; minor docs addition.
9088
9089 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9090
9091         * docs/gst/gstreamer-sections.txt:
9092         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9093         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9094         * gst/gsturi.h:
9095         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9096         or src that supports a given URI protocol exists.
9097
9098 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9099
9100         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9101         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9102         Set the location to NULL if "file://" is set as URI. Otherwise
9103         some random previous URI would still be set if "file://" is
9104         set on an already used filesink/filesrc.
9105
9106 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9107
9108         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9109         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9110         Special case the "file://" URI as as this is used by some
9111         applications to test with gst_element_make_from_uri if there's
9112         an element that supports the URI protocol.
9113         Also move the g_path_is_absolute() check for the location part
9114         of the URI to also check this for "file://localhost/bla" URIs.
9115
9116 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9117
9118         * docs/gst/gstreamer-sections.txt:
9119         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9120         * gst/gstbuffer.h:
9121         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9122         (gst_buffer_suite):
9123           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9124
9125 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9126
9127         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9128         (gst_registry_binary_load_pad_template),
9129         (gst_registry_binary_load_plugin),
9130         (gst_registry_binary_read_cache):
9131         * gst/gstregistrybinary.h:
9132           Implement no-mmap alternative for registry reading. Do code cleanups.
9133           Add more comments about avoiding strdups for all text data. Comments
9134           welcome.
9135
9136 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9137
9138         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9139           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9140           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9141           Comment structs and reformat to fix the build (that stuff should go
9142           into a priv. header).
9143
9144 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9145
9146         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9147         (gst_registry_binary_load_feature):
9148         * gst/gstregistrybinary.h:
9149           Refactor so that we can implement multiple features. Add support for
9150           TypeFindFactory features.
9151
9152 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9153
9154         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9155
9156         * configure.ac:
9157           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9158
9159 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9160
9161         * gst/gstbin.c: (gst_bin_element_set_state),
9162         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9163         (bin_handle_async_done), (gst_bin_handle_message_func):
9164           Fix build with --gst-disable-gst-debug
9165
9166 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9167
9168         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9169           Make sure streaming has finished before calling the ::stop() vfunc,
9170           since that vfunc might clear state which is being used in the
9171           streaming thread. This fixes a race that caused crashes in
9172           audioresample when shutting down a pipeline (#420106).
9173
9174 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9175
9176         * docs/gst/gstreamer-sections.txt:
9177           That was one byte missing.
9178
9179 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9180
9181         * configure.ac:
9182         * docs/gst/gstreamer-sections.txt:
9183         * gst/Makefile.am:
9184         * gst/gstconfig.h.in:
9185         * gst/gstobject.c: (gst_object_class_init),
9186         (gst_signal_object_class_init):
9187         * gst/gstobject.h:
9188           2nd attempt to have a xml-less build as a joined effort of #413123
9189           and #421480.
9190
9191 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9192
9193         * docs/design/draft-tagreading.txt:
9194           Added open issues/thoughts to draft.
9195
9196 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9197
9198         * gst/parse/grammar.tab.pre.c:
9199         * gst/parse/grammar.tab.pre.h:
9200         * gst/parse/lex._gst_parse_yy.pre.c:
9201         Update the prebuild parser sources.
9202
9203 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9204
9205         * gst/parse/Makefile.am:
9206         And now fix the building of the flex sources. Now everything should
9207         work as expected.
9208
9209 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9210
9211         * gst/parse/Makefile.am:
9212         Now hopefully fix the build failures by setting proper rule
9213         dependencies and moving instead of copying.
9214
9215 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9216
9217         * tests/benchmarks/complexity.gnuplot:
9218         * tests/benchmarks/complexity.scm:
9219         * tests/benchmarks/mass-elements.gnuplot:
9220         * tests/benchmarks/mass-elements.scm:
9221           Total licensification.
9222
9223 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9224
9225         * gst/parse/Makefile.am:
9226           Fix the build by correcting the rule that gave wrong files to flex.
9227
9228 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9229
9230         * tests/benchmarks/complexity.c:
9231         * tests/benchmarks/mass-elements.c:
9232           Change licence to LGPL as granted by Benjamin and Andy.
9233
9234 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9235
9236         * gst/parse/Makefile.am:
9237         Add correct grammar.tab.h dependency if compiling without new enough
9238         flex. Fixes #431150.
9239
9240 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9241
9242         * gst/parse/Makefile.am:
9243         Fix typo and use outdated sources if the flex/bison sources are newer
9244         than the pregenerated ones but flex is too old. Print a warning in
9245         that case. This should fix the build on the build bot.
9246
9247 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9248
9249         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9250         * gst/parse/Makefile.am:
9251         * gst/parse/grammar.y:
9252         * gst/parse/parse.l:
9253         Make the parser reentrant and recursively callable. This requires flex
9254         >= 2.5.31, for older versions pregenerated sources are used as we
9255         can't bump the build dependency. Finally fixes #349180.
9256
9257         * gst/gstparse.c: (gst_parse_launch):
9258         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9259         now anyway.
9260
9261         * docs/gst/Makefile.am:
9262         * docs/gst/Makefile.am:
9263         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9264         (__gst_parse_strfree), (__gst_parse_link_new),
9265         (__gst_parse_link_free), (__gst_parse_chain_new),
9266         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9267         (gst_parse_element_set), (gst_parse_free_link),
9268         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9269         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9270         (_gst_parse_launch):
9271         * gst/parse/grammar.tab.pre.h:
9272         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9273         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9274         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9275         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9276         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9277         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9278         (_gst_parse_yypop_buffer_state),
9279         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9280         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9281         (yy_fatal_error), (_gst_parse_yyget_extra),
9282         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9283         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9284         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9285         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9286         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9287         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9288         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9289         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9290         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9291         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9292         (_gst_parse_yyfree):
9293         If the installed flex version is too old use pre-generated parser
9294         sources. These pre-generated parser sources are always updated when
9295         the actual flex/bison sources change but require everybody who wants
9296         to change something in the parser to have flex >= 2.5.31 installed.
9297
9298 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9299
9300         * common/m4/gst-gettext.m4:
9301         * gst/gst-i18n-lib.h:
9302           Make --disable-nls to work
9303
9304 2007-04-17  Wim Taymans  <wim@fluendo.com>
9305
9306         * gst/gstconfig.h.in:
9307         Revert previous change that broke the build.
9308
9309 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9310
9311         * configure.ac:
9312         * gst/Makefile.am:
9313         * gst/gstconfig.h.in:
9314           Drop libxml2 dependency when building with 
9315           --enable-binary-registry --disable-loadsave
9316
9317 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9318
9319         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9320         (gst_registry_binary_read_cache):
9321         * gst/gstregistrybinary.h:
9322           Remove unnecessary <sys/mman.h> include which broke the win32 build
9323           with MingW; move includes from header file to .c file, even if the
9324           header file isn't installed; use g_strerror() where UTF-8 strings
9325           are expected, such as in GST_DEBUG messages.
9326
9327 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9328
9329         * docs/libs/gstreamer-libs-sections.txt:
9330         Remove bogus addition for API I didn't end up keeping.
9331
9332         * libs/gst/base/gstbasesrc.h:
9333         Mention Since: 0.10.13 in the documentation.
9334
9335         Add the API keyword to the previous ChangeLog entry.
9336
9337 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9338
9339         * docs/libs/gstreamer-libs-sections.txt:
9340         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9341         (gst_base_src_default_prepare_seek_segment),
9342         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9343         * libs/gst/base/gstbasesrc.h:
9344         Allow basesrc derived classes to execute seeks in other formats
9345         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9346         to prepare the GstSegment in any format that their perform_seek method
9347         will be able to understand. The default implementation provides the
9348         old behaviour of attempting to convert the seek offsets to the 
9349         configured native format.
9350
9351         API: basesrc::prepare_seek_segment vmethod.
9352
9353 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9354
9355         * gst/gstelement.c: (gst_element_get_state_func):
9356         Don't output the same debug statement twice.
9357
9358         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9359         (gst_adapter_peek), (gst_adapter_take_buffer):
9360         Optimise the case where we have buffers at the head of the queue that
9361         can be joined quickly (because they're contiguous sub-buffers) by
9362         merging them together rather than copying data out into new memory.
9363
9364         * gst/parse/grammar.y:
9365         * tests/check/pipelines/parse-launch.c:
9366         Fix a leak in an error path for parse_launch, and add a check 
9367         for it to the testsuite.
9368
9369 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9370
9371         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9372           Don't deadlock when releasing a pad - gst_pad_set_active may try
9373           and take the multiqueue lock too.
9374
9375 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9376
9377         * gst/gsterror.c: (_gst_core_errors_init):
9378         * gst/gsterror.h:
9379           API: add GST_CORE_ERROR_DISABLED (#392804).
9380
9381 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9382
9383         * docs/faq/gst-uninstalled:
9384           don't get empty paths on the PATH variables
9385         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9386           Don't format for the uncommon terminal width of 84 characters.
9387
9388 2007-04-06  Wim Taymans  <wim@fluendo.com>
9389
9390         * gst/gstpipeline.c: (reset_stream_time),
9391         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9392         Only try to select a different pipeline clock when we went back to
9393         PAUSED and not when we merely got flushed.
9394
9395 2007-04-05  Michael Smith  <msmith@fluendo.com>
9396
9397         * tools/gst-launch.1.in:
9398           fractions are better supported in gstreamer than ractions, so
9399           suggest using those.
9400
9401 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9402
9403         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9404
9405         * po/LINGUAS:
9406         * po/da.po:
9407           Added Danish translation.
9408
9409 2007-04-05  Wim Taymans  <wim@fluendo.com>
9410
9411         * libs/gst/base/gstbasesink.c:
9412         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9413         Fix leak caused when refusing newsegment after EOS.
9414
9415         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9416         (gst_fake_sink_init), (gst_fake_sink_set_property),
9417         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9418         (gst_fake_sink_render), (gst_fake_sink_change_state):
9419         * plugins/elements/gstfakesink.h:
9420         Add num-buffers property to make the element generate EOS after a
9421         configurable amount of buffers.
9422         API: fakesink::num-buffers property.
9423
9424         * tests/check/elements/fakesink.c: (GST_START_TEST),
9425         (fakesink_suite):
9426         Fix GstBus leak in test.
9427         Test for fakesink num-buffers.
9428
9429 2007-04-05  Wim Taymans  <wim@fluendo.com>
9430
9431         * libs/gst/base/gstbasesink.c:
9432         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9433         (gst_base_sink_change_state):
9434         Don't accept anything after an EOS, return UNEXPECTED instead.
9435
9436         * tests/check/elements/fakesink.c: (GST_START_TEST),
9437         (fakesink_suite):
9438         Unit test for new EOS behaviour.
9439
9440 2007-04-05  Wim Taymans  <wim@fluendo.com>
9441
9442         * gst/gstelement.c: (gst_element_get_request_pad):
9443         Make padtemplates also work when they don't contain %s or %d.
9444
9445 2007-04-05  Wim Taymans  <wim@fluendo.com>
9446
9447         * docs/gst/gstreamer-sections.txt:
9448         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9449         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9450         * gst/gstclock.h:
9451         Improve _adjust_unlocked() so that it overflows less.
9452         Add gst_clock_unadjust_unlocked to convert from external time to
9453         internal time based on calibration.
9454         Add some more debug.
9455         API: GstClock::gst_clock_unadjust_unlocked()
9456
9457 2007-04-03  Wim Taymans  <wim@fluendo.com>
9458
9459         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9460
9461         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9462         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9463         when releasing sink pad. Fixes #425400.
9464
9465 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9466
9467         * docs/random/ensonic/dynlink.txt:
9468           More work on proposal for new core api.
9469
9470         * docs/libs/gstreamer-libs-sections.txt:
9471         * libs/gst/base/gstbasetransform.h:
9472           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9473           
9474         * libs/gst/controller/gstcontroller.c:
9475         (on_object_controlled_property_changed),
9476         (gst_controller_sync_values),
9477         (gst_controller_set_interpolation_mode):
9478         * libs/gst/controller/gstcontroller.h:
9479           Less verbose logging add docs for unimplemented parts and correctly
9480           return when using unavailable parts.
9481
9482 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9483
9484         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9485         Move all the debug to the CLOCK category, and associate it with
9486         the clock object.
9487
9488 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9489
9490         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9491         Make take_buffer a bit quicker by removing redundant checks
9492         caused by calling gst_adapter_take.
9493
9494 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9495
9496         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9497           Don't leak GCond.
9498
9499         * tests/check/Makefile.am:
9500         * tests/check/elements/.cvsignore:
9501         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9502         (GST_START_TEST), (multiqueue_suite):
9503           Add some dead simple unit tests for the 'multiqueue' element
9504           (some bits don't work yet and are disabled for now).
9505
9506 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9507
9508         * gst/gstelement.c: (gst_element_get_request_pad),
9509         (gst_element_class_get_request_pad_template):
9510           Make gst_element_get_request_pad() create request pads only for
9511           request pad templates and not for, say, sometimes pad templates.
9512
9513 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9514
9515         * docs/design/draft-klass.txt:
9516           Add example that needs more thinking.
9517         
9518         * docs/design/draft-missing-plugins.txt:
9519           More thoughts about wrapper plugins.
9520         
9521         * docs/random/ensonic/embedded.txt:
9522         * docs/random/ensonic/profiling.txt:
9523           More design work.
9524
9525 2007-03-25  Wim Taymans  <wim@fluendo.com>
9526
9527         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9528         (gst_base_src_loop):
9529         Only push the segment events in the PLAYING state for live sources.
9530
9531 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9532
9533         * gst/gstpipeline.c: (gst_pipeline_change_state):
9534         Modify the clock distribution path in PAUSED->PLAYING so that we 
9535         never attempt to choose a new clock unless we're actually leaving
9536         the PAUSED state for the first time. This prevents choosing a
9537         different clock when the state_change gets called for a 2nd time due
9538         to some element doing an async state change.
9539
9540 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9541
9542         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9543         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9544         (gst_pad_chain_unchecked), (gst_pad_push):
9545         Revert last commit. This needs some more thoughts.
9546
9547 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9548
9549         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9550         (gst_pad_chain_unchecked), (gst_pad_push):
9551         Check in set_caps if the caps are compatible with the pad and remove
9552         two functions that are redundant now. Fixes #421543.
9553
9554 2007-03-22  Wim Taymans  <wim@fluendo.com>
9555
9556         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9557         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9558         Unref some more to make valgrind happy.
9559
9560 2007-03-22  Wim Taymans  <wim@fluendo.com>
9561
9562         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9563         (gst_system_clock_id_wait_jitter),
9564         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9565         Fix anoying regression that survived a few releases. When adding an
9566         async entry while blocking on a sync entry, the sync entry will unblock
9567         but still be busy, so it should continue to wait instead of returning
9568         _BUSY to the app.
9569         Add some comments here and there.
9570
9571         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9572         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9573         Add testcase for this.
9574
9575 2007-03-22  Wim Taymans  <wim@fluendo.com>
9576
9577         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9578         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9579         WRONG_STATE and can silently pause the task. All other cases should
9580         error out.
9581
9582 2007-03-22  Wim Taymans  <wim@fluendo.com>
9583
9584         Patch by: Ville Syrjala <syrjala at sci dot fi>
9585
9586         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9587         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9588         Improve debugging.
9589
9590 2007-03-21  Michael Smith  <msmith@fluendo.com>
9591
9592         * docs/pwg/advanced-types.xml:
9593           Fix some errors in the typefinding docs pointed out on irc.
9594
9595 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9596
9597         * libs/gst/base/gstbasesrc.c:
9598         Clarify FIXME comment in the face of having added unlock_stop()
9599
9600 2007-03-21  Wim Taymans  <wim@fluendo.com>
9601
9602         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9603         Prepare for release where we warn against possible app breakage in the
9604         case of live pipelines along with an env var to enable/disable live
9605         preroll mode (GST_COMPAT=[no-]live-preroll).
9606
9607 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9608
9609         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9610         So we should use correct constants for checking for None offset.
9611
9612 2007-03-20  Wim Taymans  <wim@fluendo.com>
9613
9614         * docs/design/part-block.txt:
9615         Mention the fact that the newly switched element should be set to at
9616         least PAUSED.
9617
9618 2007-03-20  Wim Taymans  <wim@fluendo.com>
9619
9620         * gst/gst.c:
9621         Fix compilation with registry disabled as spotted by Saur.
9622
9623 2007-03-20  Wim Taymans  <wim@fluendo.com>
9624
9625         Patch by: Olivier Crete <tester at tester dot ca>
9626
9627         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9628         Look at the pending state too when syncing the element state to the
9629         parent. Fixes #420133.
9630
9631 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9632
9633         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9634         (gst_base_sink_change_state):
9635         * libs/gst/base/gstbasesink.h:
9636         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9637         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9638         (gst_base_src_deactivate):
9639         * libs/gst/base/gstbasesrc.h:
9640         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9641         for sub-classes to correctly clear any state they set trying to
9642         unlock, such as clearing out unlock commands from a command fd.
9643         API: basesrc::unlock_stop
9644         API: basesink::unlock_stop
9645
9646         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9647         (gst_fd_sink_render), (gst_fd_sink_unlock),
9648         (gst_fd_sink_unlock_stop):
9649         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9650         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9651         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9652
9653         Implement unlock_stop in fdsrc and fdsink.
9654         Implement seeking in fdsrc when a seekable fd is passed, as in
9655         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9656
9657 2007-03-19  Wim Taymans  <wim@fluendo.com>
9658
9659         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9660
9661         * gst/gstelement.c: (gst_element_class_init):
9662         Fix pad-added and pad-removed signal signatures so that the pad type is
9663         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9664
9665 2007-03-19  Wim Taymans  <wim@fluendo.com>
9666
9667         * docs/gst/gstreamer-sections.txt:
9668         Add new element field and method.
9669
9670         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9671         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9672         (gst_bin_recalc_state), (gst_bin_get_state_func),
9673         (gst_bin_element_set_state), (gst_bin_change_state_func),
9674         (gst_bin_continue_func), (bin_bus_handler),
9675         (bin_push_state_continue), (bin_handle_async_start),
9676         (bin_handle_async_done), (gst_bin_handle_message_func):
9677         Make async state changes a bit smarter by using new ASYNC_START and
9678         ASYNC_DONE messages. This reduces the number of times we run the state
9679         recalculation thread.
9680         Don't change state of element with a pending ASYNC_START message.
9681         Deprecate STATE_DIRTY messages.
9682         
9683         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9684         (gst_element_get_state_func), (gst_element_continue_state),
9685         (gst_element_lost_state), (gst_element_set_state_func),
9686         (gst_element_change_state):
9687         * gst/gstelement.h:
9688         Keep the state that was last set by the app in a new element field.
9689         Don't allow state changes when handling an element event.
9690         Post ASYNC_START and ASYNC_DONE messages.
9691         Change lost_state so that we go to PAUSED and wait for the parent to set
9692         us to PLAYING again (so latency calculation can be performed)
9693         Export gst_element_change_state() method so that subclasses can use it.
9694         API: gst_element_change_state()
9695         API: GST_STATE_TARGET
9696
9697         * gst/gstpipeline.c: (gst_pipeline_class_init),
9698         (reset_stream_time), (gst_pipeline_change_state),
9699         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9700         Using the new ASYNC_START message we can reset the base_time when
9701         needed. This can then be used to implement base_time redistribution in
9702         flushing seeks so that we can remove the explicit seek handling.
9703         Perform latency query and configuration when going to PLAYING.
9704
9705         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9706         (gst_base_sink_query), (gst_base_sink_change_state):
9707         Post new ASYNC_START/ASYNC_DONE messages.
9708
9709         * tests/check/generic/sinks.c: (GST_START_TEST):
9710         Fix test because the bin will not set the async element to PLAYING right
9711         away.
9712
9713         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9714         Make the message check a little stronger.
9715         Handle ASYNC messages.
9716
9717         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9718         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9719         Expect ASYNC_DONE messages.
9720
9721 2007-03-19  Wim Taymans  <wim@fluendo.com>
9722
9723         * docs/gst/gstreamer-sections.txt:
9724         * gst/gstmessage.c: (gst_message_new_async_start),
9725         (gst_message_new_async_done), (gst_message_parse_info),
9726         (gst_message_parse_async_start):
9727         * gst/gstmessage.h:
9728         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9729         support.
9730
9731 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9732
9733         * tools/gst-inspect.c:
9734         (print_plugin_automatic_install_info_codecs):
9735           Now that we don't check for the 'Codec' keyword any longer in the
9736           klass, we shouldn't spew a warning if the klass isn't a decoder or
9737           encoder (since it might be a Source/Network, for example).
9738
9739 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9740
9741         * tools/gst-inspect.c:
9742         (print_plugin_automatic_install_info_codecs):
9743           Don't require decoder/demuxer/depayloader elements or
9744           encoder/muxer/paylader elements to have 'Codec' as part of their
9745           factory class string when introspecting a plugin's capabilities.
9746           draft-klass.txt mentions that it might be removed in future, and
9747           flump3dec doesn't have it as part of its class string, so chances
9748           are others might also not have it.
9749
9750 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9751
9752         * po/af.po:
9753         * po/az.po:
9754         * po/bg.po:
9755         * po/ca.po:
9756         * po/cs.po:
9757         * po/de.po:
9758         * po/en_GB.po:
9759         * po/fr.po:
9760         * po/it.po:
9761         * po/nb.po:
9762         * po/nl.po:
9763         * po/ru.po:
9764         * po/sq.po:
9765         * po/sr.po:
9766         * po/sv.po:
9767         * po/tr.po:
9768         * po/uk.po:
9769         * po/vi.po:
9770         * po/zh_CN.po:
9771         * po/zh_TW.po:
9772           Update translations from translation project
9773
9774 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9775
9776         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9777         (gst_child_proxy_set_property):
9778           Invert precondition check to be alike the ones in the mimiced gobject
9779           api.
9780
9781 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9782
9783         * docs/design/draft-tagreading.txt:
9784         * docs/random/ensonic/audiobaseclasses.txt:
9785           Do some Architect work.
9786
9787         * gst/gstobject.c: (gst_object_set_name):
9788           Add a WARNING.
9789
9790         * gst/gstpad.c:
9791           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9792
9793 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9794
9795         * gst/gstsystemclock.c: (gst_system_clock_init),
9796         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9797         Defer starting the async system clock thread until the first async
9798         wait is scheduled. Fixes #414986.
9799
9800 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9803         (gst_single_queue_free):
9804           Fix small leak (free GstSingleQueue structure too, not only contents).
9805
9806 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9807
9808         * gst/gstbin.c:(gst_bin_add):
9809         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9810         * win32/common/libgstbase.def:
9811         * win32/common/libgstreamer.def:
9812         Add new exported functions.
9813
9814 2007-03-09  Wim Taymans  <wim@fluendo.com>
9815
9816         * docs/plugins/gstreamer-plugins-sections.txt:
9817         Fix GstTee docs.
9818
9819 2007-03-09  Wim Taymans  <wim@fluendo.com>
9820
9821         * docs/gst/gstreamer-sections.txt:
9822         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9823         * gst/gstbuffer.h:
9824         Add metadata copy functions. Fixes #393099.
9825         API: gst_buffer_copy_metadata()
9826
9827         * gst/gstutils.c: (gst_buffer_stamp):
9828         * libs/gst/base/gstbasetransform.c:
9829         (gst_base_transform_prepare_output_buffer):
9830         Use new metadata copy functions.
9831
9832 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9833
9834         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9835         (gst_identity_init), (gst_identity_check_perfect),
9836         (gst_identity_check_imperfect_timestamp),
9837         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9838         (gst_identity_set_property), (gst_identity_get_property):
9839         * plugins/elements/gstidentity.h:
9840         Separate out check-imperfect-timestamp and check-imperfect-offset.
9841         Put back check-perfect as it was to keep compatibility.
9842
9843 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9844
9845         * gst/gstelement.c: (gst_element_dispose):
9846         There's no need to warn if VOID_PENDING is not NONE here, as
9847         long as the state is NULL it's ok, and that's checked immediately
9848         above.
9849
9850 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9851
9852         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9853         Fix check for perfect stream to ignore buffers with -1 
9854         offsets/offset ends when checking data contiguity.
9855
9856 2007-03-08  Wim Taymans  <wim@fluendo.com>
9857
9858         * tools/gst-launch.c: (event_loop):
9859         Print INFO messages.
9860
9861 2007-03-08  Wim Taymans  <wim@fluendo.com>
9862
9863         * libs/gst/base/gstbasetransform.c:
9864         (gst_base_transform_sink_eventfunc),
9865         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9866         (gst_base_transform_activate):
9867         * libs/gst/base/gstbasetransform.h:
9868         Add support for dropping buffers with custom GstFlowReturn.
9869         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9870         buffers or dropped buffers.
9871
9872         * docs/libs/gstreamer-libs-sections.txt:
9873         docs for new custom return code.
9874
9875         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9876         Use drop support in base class to implement drop-probability.
9877
9878 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9879
9880         * gst/gst.c: (load_plugin_func):
9881         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9882         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9883         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9884           Remove newlines at end of debug log strings.
9885
9886 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9887
9888         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9889         Only post bus message at max, once per buffer received.
9890
9891 2007-03-07  Wim Taymans  <wim@fluendo.com>
9892
9893         * docs/design/Makefile.am:
9894         * docs/design/part-synchronisation.txt:
9895         Add doc about synchronisation
9896
9897         * docs/design/draft-latency.txt:
9898         * docs/design/part-TODO.txt:
9899         * docs/design/part-clocks.txt:
9900         * docs/design/part-events.txt:
9901         * docs/design/part-gstbus.txt:
9902         * docs/design/part-gstpipeline.txt:
9903         * docs/design/part-live-source.txt:
9904         * docs/design/part-messages.txt:
9905         * docs/design/part-overview.txt:
9906         * docs/design/part-streams.txt:
9907         * docs/design/part-trickmodes.txt:
9908         Documentation updates.
9909
9910 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9911
9912         * gstreamer.doap:
9913         Update the doap file.
9914
9915 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9916
9917         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9918         Rename non-perfect to imperfect for Mike and for the sanctity of the
9919         language.
9920         Also make sure bus message gets emitted for data-incontiguities.
9921
9922 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9923
9924         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9925         (gst_identity_start):
9926         * plugins/elements/gstidentity.h:
9927         Emit bus message if check-perfect is true and we encounter a
9928         non-perfect stream between 2 consecutive buffers.
9929         Fixes #415394.
9930
9931 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9932
9933         * configure.ac:
9934         Back to CVS
9935
9936 === release 0.10.12 ===
9937
9938 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
9939
9940         * configure.ac:
9941           releasing 0.10.12, "Inevitable Demise"
9942
9943 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
9944
9945         * configure.ac:
9946          Version 0.10.11.2 (0.10.12 pre-release)
9947          Bump libtool versioning.
9948
9949 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
9950
9951         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9952           Log flow-names and not numbers.
9953
9954 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9955
9956         * configure.ac:
9957           Convert to new AG_GST style.
9958
9959 2007-02-28  Wim Taymans  <wim@fluendo.com>
9960
9961         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
9962         Don't unref query twice.
9963
9964 2007-02-28  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/gstvalue.c: (gst_value_transform_object_string),
9967         (_gst_value_initialize):
9968         Implement GstObject -> string transform so we print object names
9969         when serializing GValues containing GstObjects.
9970
9971 2007-02-28  Wim Taymans  <wim@fluendo.com>
9972
9973         * docs/gst/gstreamer-sections.txt:
9974         Add new stuff to docs.
9975
9976 2007-02-28  Wim Taymans  <wim@fluendo.com>
9977
9978         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
9979         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
9980         (gst_base_sink_change_state):
9981         Improve latency query code.
9982         Don't leak latency events.
9983
9984         * tests/check/gst/gstbin.c: (GST_START_TEST):
9985         Improve debugging.
9986
9987 2007-02-28  Wim Taymans  <wim@fluendo.com>
9988
9989         * gst/gstelement.c: (gst_element_message_full),
9990         (gst_element_get_state_func):
9991         * gst/gstelement.h:
9992         Improve docs a little. Added Since: for new macro.
9993
9994         * gst/gstobject.c: (gst_object_sink):
9995         * gst/gstpipeline.c: (gst_pipeline_change_state),
9996         (gst_pipeline_set_new_stream_time):
9997         * gst/gstpipeline.h:
9998         Improve debugging and docs.
9999
10000         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10001         Improve debugging.
10002
10003 2007-02-28  Wim Taymans  <wim@fluendo.com>
10004
10005         * gst/gstelement.c: (gst_element_message_full),
10006         (gst_element_set_locked_state), (gst_element_get_state_func),
10007         (gst_element_change_state):
10008         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10009         Documentation updates.
10010         Small code cleanups.
10011
10012         * gst/gstmessage.c: (gst_message_new_info),
10013         (gst_message_parse_info):
10014         * gst/gstmessage.h:
10015         API: gst_message_new_info()
10016         API: gst_message_parse_info()
10017         Add INFO message create and parse code.
10018
10019 2007-02-28  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10022         (bin_query_latency_done):
10023         Also report the live parameter of a latency query.
10024
10025 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10026
10027         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10028           Copy the current generic/states example from -base and adapt so
10029           we can use the exact same code everywhere.
10030           Check a STATES_IGNORE_ELEMENTS env var which can be used
10031           to ignore certain element factories for this test, which is
10032           what is being done in -base
10033         * tests/check/Makefile.am:
10034           Mention this environment variable.
10035
10036 2007-02-27  Wim Taymans  <wim@fluendo.com>
10037
10038         * docs/gst/gstreamer-sections.txt:
10039         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10040         (gst_bus_timed_pop), (gst_bus_pop):
10041         * gst/gstbus.h:
10042         API: gst_bus_timed_pop()
10043         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10044         message to arrive on the bus.
10045
10046         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10047         (gst_bus_suite):
10048         Two unit tests for new _timed_pop() function.
10049
10050 2007-02-23  Wim Taymans  <wim@fluendo.com>
10051
10052         * gst/gstpipeline.c: (gst_pipeline_change_state),
10053         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10054         Don't ref a NULL clock in _provide_clock_func().
10055         Don't allow an INVALID delay.
10056         Don't try to calculate base_time with an invalid start_time.
10057         Also distribute and notify a NULL clock when it was selected.
10058
10059         * tools/gst-launch.c: (event_loop):
10060         Don't crash when a NULL clock was selected in the pipeline.
10061
10062 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10063
10064         * docs/design/Makefile.am:
10065         * docs/design/draft-missing-plugins.txt:
10066         * docs/random/draft-missing-plugins.txt:
10067           Some small updates: update plugin system identifier prefix
10068           ('gstreamer.net' to 'gstreamer'), mention our new install
10069           API in libgstbaseutils rather than libgimme-codec, add
10070           reference to the online docs.
10071
10072 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10073
10074         * win32/common/config.h:
10075           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10076           use moap cl ci to only check in what is mentioned in the ChangeLog.
10077
10078 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10079
10080         * docs/gst/gstreamer-sections.txt:
10081         * gst/gstelement.h:
10082           Fix up documentation to link to the correct GstGError section.
10083           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10084
10085 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10086
10087         * tools/gst-launch.c: (event_loop):
10088           Make sure that we actually show the important message part of a
10089           warning message.
10090           No need to check if the gerror is not NULL to free; first of all
10091           g_free accepts NULL; and second the default error handler would
10092           segfault if gerror was NULL.
10093
10094 2007-02-21  Wim Taymans  <wim@fluendo.com>
10095
10096         * docs/gst/gstreamer-sections.txt:
10097         Removed docs as well.
10098
10099 2007-02-21  Wim Taymans  <wim@fluendo.com>
10100
10101         * gst/gstmessage.c: (gst_message_parse_duration):
10102         * gst/gstmessage.h:
10103         Remove new messages for release.
10104
10105 2007-02-20  Wim Taymans  <wim@fluendo.com>
10106
10107         * docs/design/part-gstghostpad.txt:
10108         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10109         (gst_ghost_pad_new_full):
10110         Make the ghostpad a parent of the internal pad again for better backward
10111         compatibility. Don't write code that relies on this however.
10112
10113         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10114         (gst_pad_link_check_hierarchy):
10115         Require that parents should be GstElements in the hierarchy check.
10116
10117 2007-02-20  Wim Taymans  <wim@fluendo.com>
10118
10119         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10120         (gst_bin_change_state_func), (bin_query_min_max_init),
10121         (bin_query_latency_fold), (bin_query_latency_done),
10122         (gst_bin_query):
10123         Improve debug info.
10124         Implement latency query.
10125
10126 2007-02-20  Wim Taymans  <wim@fluendo.com>
10127
10128         * docs/design/part-gstghostpad.txt:
10129         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10130         (gst_ghost_pad_internal_do_activate_push),
10131         (gst_ghost_pad_internal_do_activate_pull),
10132         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10133         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10134         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10135         Do not set the internal pad as a parent anymore so we can avoid
10136         hierarchy linking errors when the ghostpad has no parent yet. This also
10137         fixes failed activation because of unlinked internal pads, which in
10138         turn fixes the impossible case where you have to activate a pad before
10139         you can add it to a running element.
10140         Also fix the docs.
10141
10142         * gst/gstpad.c: (pre_activate), (post_activate),
10143         (gst_pad_set_active), (gst_pad_activate_pull),
10144         (gst_pad_activate_push), (gst_pad_check_pull_range):
10145         Add some more debug info.
10146         Mark activation mode in pre_activate so that we don't try to activate in
10147         endless loops. Fixes #385084.
10148
10149 2007-02-19  Wim Taymans  <wim@fluendo.com>
10150
10151         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10152         (gst_base_transform_check_get_range):
10153         Implement a checkgetrange function instead of relying on the default
10154         core behaviour that assumes we can operate in pull mode if we have a
10155         getrange function. First step at fixing #385084.
10156
10157 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10158
10159         * gst/gstchildproxy.h:
10160         * libs/gst/base/gstbasesink.h:
10161         * libs/gst/base/gstbasesrc.h:
10162         * libs/gst/base/gstbasetransform.h:
10163         More docs coverage and some ChangeLog surgery (add missing names)
10164
10165 2007-02-15  Wim Taymans  <wim@fluendo.com>
10166
10167         * docs/design/part-TODO.txt:
10168         * docs/design/part-activation.txt:
10169         * docs/design/part-block.txt:
10170         * docs/design/part-buffering.txt:
10171         * docs/design/part-clocks.txt:
10172         * docs/design/part-element-source.txt:
10173         * docs/design/part-events.txt:
10174         * docs/design/part-gstbin.txt:
10175         * docs/design/part-gstbus.txt:
10176         * docs/design/part-gstpipeline.txt:
10177         * docs/design/part-live-source.txt:
10178         * docs/design/part-messages.txt:
10179         * docs/design/part-overview.txt:
10180         * docs/design/part-qos.txt:
10181         * docs/design/part-query.txt:
10182         * docs/design/part-states.txt:
10183         * docs/design/part-trickmodes.txt:
10184         Some doc updates. Start renaming from stream_time to running_time where
10185         it was used wrongly.
10186
10187 2007-02-15  Wim Taymans  <wim@fluendo.com>
10188
10189         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10190         Answer LATENCY query.
10191
10192 2007-02-15  Wim Taymans  <wim@fluendo.com>
10193
10194         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10195         (GST_START_TEST):
10196         Improve debugging.
10197
10198 2007-02-15  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10201         (gst_pad_dispatcher):
10202         Improve debugging of default pad dispatcher and query functions.
10203
10204 2007-02-15  Wim Taymans  <wim@fluendo.com>
10205
10206         * docs/gst/gstreamer-sections.txt:
10207         Remove old unused method.
10208
10209 2007-02-13  Wim Taymans  <wim@fluendo.com>
10210
10211         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10212         Fix check
10213
10214 2007-02-13  Wim Taymans  <wim@fluendo.com>
10215
10216         * docs/design/part-seeking.txt:
10217         Some small update.
10218
10219         * gst/gstsegment.c: (gst_segment_set_seek):
10220         Revert old bogus change that should make seeking work again.
10221
10222 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10223
10224         * docs/random/ensonic/dynlink.txt:
10225         * docs/random/ensonic/interfaces.txt:
10226         * docs/random/ensonic/receipies.txt:
10227           Possible dynamic reconnection api, plus some type fixes the other two
10228           docs.
10229
10230 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10231
10232         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10233         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10234         Also check for an absolute path following file:// in the filesrc
10235         element. Remove redundant check and call g_path_is_absolute() on the
10236         unescaped location.
10237
10238 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10239
10240         * docs/design/draft-klass.txt:
10241           Add existing category analysis.
10242           
10243         * gst/gstcaps.c:
10244           Fix doc example, framerate is a fraction.
10245
10246 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10247
10248         * configure.ac:
10249         * docs/gst/Makefile.am:
10250         * docs/gst/gstreamer-sections.txt:
10251         * docs/libs/Makefile.am:
10252           Erm, forgot a bunch of --extra-dir.
10253
10254 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10255
10256         * configure.ac:
10257         * docs/gst/Makefile.am:
10258         * docs/libs/Makefile.am:
10259         * docs/plugins/Makefile.am:
10260           Add crossreferences to glib/gobject docs.
10261
10262 2007-02-12  Wim Taymans  <wim@fluendo.com>
10263
10264         * docs/design/draft-latency.txt:
10265         Small update.
10266
10267         * docs/libs/gstreamer-libs-sections.txt:
10268         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10269         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10270         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10271         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10272         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10273         (gst_base_sink_get_position), (gst_base_sink_query),
10274         (gst_base_sink_change_state):
10275         * libs/gst/base/gstbasesink.h:
10276         API: gst_base_sink_query_latency() to let subclasses query the upstream
10277         latency.
10278         API: gst_base_sink_get_latency() to let subclasses query the configured
10279         latency in the sink.
10280         Implement query and set latency.
10281         Update some docs.
10282         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10283         don't continue preroll when we are flushing. Fixes #405284.
10284
10285         * tests/check/pipelines/stress.c: (change_state_timeout),
10286         (quit_timeout), (GST_START_TEST), (stress_suite):
10287         Test for #405284.
10288
10289 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10290
10291         Patch by: René Stadler <mail at renestadler de>
10292
10293         * docs/gst/gstreamer-sections.txt:
10294         * gst/gsttaglist.c: (_gst_tag_initialize):
10295         * gst/gsttaglist.h:
10296           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10297
10298 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10299
10300         * docs/libs/Makefile.am:
10301           Fix path to core docs.
10302
10303         * gst/gstbin.c: (gst_bin_get_by_interface),
10304         (gst_bin_iterate_all_by_interface):
10305           Refix docs by also renaming 'interface' to 'iface' in implementation.
10306
10307         * docs/gst/gstreamer-sections.txt:
10308         * gst/gstcaps.c:
10309         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10310         * gst/gstchildproxy.h:
10311         * gst/gstelementfactory.c:
10312         * gst/gstpadtemplate.h:
10313         * libs/gst/controller/gstcontroller.c:
10314         (gst_controlled_property_new):
10315           Document more.
10316
10317 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10318
10319         * gst/gstbin.h:(gst_bin_get_by_interface),
10320         (gst_bin_iterate_all_by_interface):
10321         Replace interface parameter name by iface as interface is 
10322         a reserved keyword in Visual Studio for C++ projects so it removes
10323         a build error for application developpers using VS.
10324         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10325         Fix a bug on Windows in uri format check. Now the prefix checked
10326         is file:// and next we check if the path after file:// is absolute.
10327         * win32/common/libgstbase.def:
10328         * win32/common/libgstdataprotocol.def:
10329         * win32/common/libgstgstreamer.def:
10330         Add new exported functions.
10331
10332 2007-02-09  Andy Wingo  <wingo@pobox.com>
10333
10334         * tests/check/pipelines/simple-launch-lines.c
10335         (simple_launch_lines_suite, test_tee): Disable tee test until I
10336         have time to fix it :-(
10337
10338         * tests/check/Makefile.am (noinst_HEADERS): 
10339         * tests/check/libs/libsabi.c: 
10340         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10341         * tests/check/gst/gstabi.c: 
10342         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10343
10344         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10345         tests for push and pull tee behavior.
10346
10347         * plugins/elements/gsttee.h: 
10348         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10349         mark as deprecated as well as unimplemented. It was a crack idea.
10350         Add support for tee operating in pull mode, off by default.
10351
10352         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10353         normal-case logs down to LOG, raise errors to WARNING.
10354         (gst_registry_xml_read_cache): Don't log before calling a function
10355         that logs.
10356
10357         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10358         exit (registry finalize).
10359         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10360         DEBUG log when we emit signals that people don't even have the
10361         chance to connect to.
10362         (gst_registry_scan_path_level): Less logging in the normal case.
10363
10364 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10365
10366         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10367
10368         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10369         Correctly generate EOS for non-seekable files. We don't have a total
10370         length for them and would get an unexpected end of file if we only
10371         special-cased for regular files. (Fixes: #404569)
10372
10373 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10374
10375         * tests/check/elements/filesrc.c: (GST_START_TEST),
10376         (filesrc_suite):
10377         Add unit test for the GstURIHandler interface in filesrc. This also
10378         tests the newly added file://localhost/foo/bar support.
10379
10380 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10381
10382         * gst/gstelementfactory.h:
10383           The klass string is not a hierarchy. Add reference to the design doc
10384           for more information and common types.
10385
10386 2007-02-02  Wim Taymans  <wim@fluendo.com>
10387
10388         * gst/gstquery.c: (gst_query_new_latency):
10389         Remove old structure field.
10390
10391 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10392
10393         * tools/gst-launch.1.in:
10394           Give example for network streaming (#351998)
10395
10396 2007-02-02  Wim Taymans  <wim@fluendo.com>
10397
10398         * docs/gst/gstreamer-sections.txt:
10399         Add docs for new methods.
10400
10401         * gst/gstevent.c: (gst_event_new_latency),
10402         (gst_event_parse_latency):
10403         * gst/gstevent.h:
10404         Add new LATENCY event to configure latency in a pipeline.
10405         API: gst_event_new_latency
10406         API: gst_event_parse_latency
10407
10408         * gst/gstmessage.c: (gst_message_new_buffering),
10409         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10410         (gst_message_new_latency), (gst_message_parse_buffering),
10411         (gst_message_parse_lost_preroll):
10412         * gst/gstmessage.h:
10413         Added messages used in draft-latency.
10414         API: gst_message_new_lost_preroll
10415         API: gst_message_parse_lost_preroll
10416         API: gst_message_new_prerolled
10417         API: gst_message_new_latency
10418
10419         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10420         (gst_query_parse_latency):
10421         * gst/gstquery.h:
10422         Implemented new latency query as in design doc.
10423         API: gst_query_new_latency
10424         API: gst_query_set_latency
10425         API: gst_query_parse_latency
10426
10427 2007-02-02  Wim Taymans  <wim@fluendo.com>
10428
10429         * docs/design/draft-latency.txt:
10430         Slight redesign to allow for dynamic latency adjustments.
10431
10432         * docs/design/part-negotiation.txt:
10433         Fix some typos.
10434
10435 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10436
10437         reviewed by: Wim Taymans <wim@fluendo.com>
10438
10439         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10440         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10441         Allow file://localhost/foo/bar URLs and correctly fail for every other
10442         hostname that one sets. This was gnomevfssrc is linked for those if
10443         installed as it can handle it (#403172)
10444
10445 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10446
10447         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10448
10449         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10450         (unref_data), (gst_collect_pads_add_pad_full):
10451         * libs/gst/base/gstcollectpads.h:
10452         Don't put the previously added destroy notify in the GstCollectData
10453         struct as all it's padding is already used and we don't want to break
10454         ABI. Instead put in the pad's GObject data for now. This should be
10455         cleaned up for 0.11 (#402393).
10456
10457 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10458
10459         reviewed by: Wim Taymans <wim@fluendo.com>
10460
10461         * docs/libs/gstreamer-libs-sections.txt:
10462         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10463         (unref_data), (gst_collect_pads_add_pad),
10464         (gst_collect_pads_add_pad_full):
10465         * libs/gst/base/gstcollectpads.h:
10466         API: Add function to specify a destroy notification for custom
10467         GstCollectData when adding new pads in GstCollectPads (#402393).
10468
10469 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10470
10471         * po/sv.po:
10472           Update Swedish translation (#378255).
10473
10474 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10475
10476         * docs/design/draft-klass.txt:
10477           Fix the previous change, this is a list of categories and not a hierarchy.
10478
10479 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10480
10481         * docs/design/draft-klass.txt:
10482           Add info about how to get a list of used classes.
10483
10484 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10485
10486         * plugins/elements/gsttypefindelement.c:
10487         (gst_type_find_element_chain_do_typefinding),
10488         (gst_type_find_element_change_state):
10489           Don't leak found caps in chain function (no idea why that never
10490           showed up as a leak anywhere).
10491
10492 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10493
10494         * gst/gstplugin.h:
10495           Fix and expand GstPluginDesc API docs.
10496
10497 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10498
10499         * gst/gstcaps.c:
10500         * gst/gstelementfactory.c:
10501         * gst/gstpadtemplate.h:
10502           api doc fixes
10503
10504         * libs/gst/controller/gstcontroller.c:
10505         (gst_controlled_property_new):
10506         * tests/examples/controller/audio-example.c:
10507           comment fixes
10508
10509 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10510
10511         * configure.ac:
10512           comment about refining the xml deps
10513
10514         * docs/manuals.mak:
10515           comments about moving away from jade for docs
10516         
10517         * gst/gst.c:
10518           recommit the ifdefs to use the binary registry
10519         
10520         * gst/gstbin.c: (gst_bin_change_state_func):
10521           this break is obsolete
10522
10523         * gst/gstelementfactory.h:
10524           better GST_ELEMENT_DETAILS docs, add comment about translation
10525
10526         * gst/gstinfo.h:
10527           remove eol slash
10528
10529         * gst/gstobject.c: (gst_signal_object_get_type):
10530           add G_UNLIKELY as usual
10531
10532         * gst/gstpad.c: (gst_pad_event_default):
10533           add fall trhu comment
10534
10535         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10536         (gst_registry_binary_initialize_magic),
10537         (gst_registry_binary_save_string),
10538         (gst_registry_binary_save_pad_template),
10539         (gst_registry_binary_save_feature),
10540         (gst_registry_binary_save_plugin),
10541         (gst_registry_binary_write_cache),
10542         (gst_registry_binary_check_magic),
10543         (gst_registry_binary_load_pad_template),
10544         (gst_registry_binary_load_feature),
10545         (gst_registry_binary_load_plugin),
10546         (gst_registry_binary_read_cache):
10547           comment typo and formatting
10548
10549         * gst/gstutils.c: (gst_element_state_get_name),
10550         (gst_element_state_change_return_get_name):
10551           remove obsolete breaks
10552
10553         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10554           add FIXME 0.11 and remove cpp comment
10555
10556 2007-01-29  Edward Hervey  <edward@fluendo.com>
10557
10558         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10559         Fix print statement in an even more portable way.
10560
10561 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10562
10563         * docs/gst/gstreamer-sections.txt:
10564         * gst/gstutils.h:
10565           API: add GST_ROUND_DOWN_* macros (#401781).
10566
10567 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10568
10569         * docs/gst/gstreamer.types.in:
10570         * gst/gstregistry.c: (gst_registry_class_init):
10571           Document registry signals and make gtk-doc pick them up (#401381).
10572
10573 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * docs/pwg/building-testapp.xml:
10576           Add some audioconverts and audioresample to the pipeline, and some
10577           more comments and error handling.
10578
10579 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10580
10581         * docs/manual/manual.xml:
10582         * docs/pwg/pwg.xml:
10583           Fix typo (#400987).
10584
10585 2007-01-26  Wim Taymans  <wim@fluendo.com>
10586
10587         * gst/gstcaps.c: (gst_static_caps_get):
10588         Init caps flags too.
10589
10590 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10591
10592         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10593
10594         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10595         If not using mmap'ed files try to seek to the end instead of the
10596         start to determine whether we can seek at all. This fixes the case
10597         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10598         seeks for everything afterwards fail. Fixes #400656
10599
10600 2007-01-25  Wim Taymans  <wim@fluendo.com>
10601
10602         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10603         Add some refcount debugging.
10604         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10605         in multiple streaming threads.
10606
10607 2007-01-25  Wim Taymans  <wim@fluendo.com>
10608
10609         Patch by: David Schleef <ds at schleef dot org>
10610
10611         * docs/libs/gstreamer-libs-sections.txt:
10612         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10613         * libs/gst/base/gstadapter.h:
10614         API: gst_adapter_copy() that can reduce the amount of memcpy when
10615         getting data from the adapter. Fixes #388201.
10616
10617 2007-01-25  Edward Hervey  <edward@fluendo.com>
10618
10619         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10620         In print statements, "%x" is for guint. Fixes build on macosx.
10621
10622 2007-01-24  Edward Hervey  <edward@fluendo.com>
10623
10624         * plugins/elements/gstmultiqueue.c:
10625         (gst_multi_queue_loop):
10626         Small fix.
10627         (single_queue_overrun_cb), (single_queue_underrun_cb),
10628         (single_queue_check_full), (gst_single_queue_new):
10629         Implement single queue growth system.
10630         This uses the extra-size properties, and will grow single queues by
10631         that much if one goes full whereas there are others empty. This is
10632         called extra-mode in the code.
10633         When a single queue's levels go back below the initial max-size
10634         limits, it is no longer in extra-mode. This is to ensure we don't
10635         consume too much memory.
10636         Fixes #399875
10637
10638 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10639
10640         * gst/gst.c: (gst_init_get_option_group):
10641           Make warning about late g_thread_init() calls a bit more explicit,
10642           so that it's more obvious to application developers what they need
10643           to do if a user files a bug against their application.
10644
10645 2007-01-22  Edward Hervey  <edward@fluendo.com>
10646
10647         * plugins/elements/gstmultiqueue.c:
10648         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10649         Remove previous hack of unsetting the flushing flag for the source pad
10650         instead of activating it. Instead, fix the source pad activate function
10651         so that it no longer depends on having a parent set or not.
10652
10653 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10654
10655         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10656
10657         * docs/manual/basics-bus.xml:
10658           Fix example code, gst_element_unref() doesn't exist any longer.
10659
10660 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10661
10662         Patch by: Mark Nauwelaerts <manauw at skynet be>
10663
10664         * gst/gstpad.c:
10665           Fix two docs typoes (#399094).
10666
10667 2007-01-19  Edward Hervey  <edward@fluendo.com>
10668
10669         * docs/faq/gst-uninstalled:
10670         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10671         depending on libgstbaseutils can work in uninstalled environment.
10672
10673 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10674
10675         * gst/gsttaglist.h:
10676         * gst/gsttagsetter.c:
10677         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10678         statement for new tag.
10679
10680 2007-01-17  Edward Hervey  <edward@fluendo.com>
10681
10682         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10683         When dynamically creating single queues, activate sinkpad before adding
10684         it.
10685         We should be doing the same thing for the source pad, but we can't
10686         since it would call a method which needs the parent to be set in order
10687         to work propertly. Instead of activating the source pad, we just unset
10688         the flushing flag, which is the minimal requirement for adding a pad
10689         to an element in a state greater than READY.
10690
10691 2007-01-17  Edward Hervey  <edward@fluendo.com>
10692
10693         * docs/faq/gst-uninstalled:
10694         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10695         Mac OS X.
10696
10697 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10698
10699         * tests/check/gst/gstabi.c:
10700         * tests/check/gst/struct_hppa.h:
10701         * tests/check/libs/libsabi.c:
10702         * tests/check/libs/struct_hppa.h:
10703           Add ABI structs for HPPA (see #393796).
10704
10705 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10706
10707         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10708           Actually write ABI structs to the file specified in the GST_ABI
10709           environment variable, as the message we print claims we would.
10710
10711 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10712
10713         * tests/check/gst/gsttask.c:
10714           Fix header comment.
10715
10716 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10717
10718         * gst/gsttaglist.c: (_gst_tag_initialize):
10719           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10720           previous two entries.
10721
10722 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10723
10724         * docs/gst/gstreamer-sections.txt:
10725         * gst/gsttaglist.c: (_gst_tag_initialize):
10726         * gst/gsttaglist.h:
10727           Add tag support for beat-per-minute.
10728
10729 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10730
10731         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10732         (gst_registry_binary_initialize_magic),
10733         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10734         (gst_registry_binary_save_pad_template),
10735         (gst_registry_binary_save_feature),
10736         (gst_registry_binary_save_plugin),
10737         (gst_registry_binary_write_cache),
10738         (gst_registry_binary_check_magic),
10739         (gst_registry_binary_load_pad_template),
10740         (gst_registry_binary_load_feature),
10741         (gst_registry_binary_load_plugin),
10742         (gst_registry_binary_read_cache):
10743         * gst/gstregistrybinary.h:
10744           Use glib types, cleanup comments, impement interfaces and uri-types.
10745
10746 2007-01-13  Andy Wingo  <wingo@pobox.com>
10747
10748         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10749         getrange() to return buffers with other caps, while we fix
10750         demuxers and typefind, or otherwise change part-negotiation.txt.
10751
10752 2007-01-12  Andy Wingo  <wingo@pobox.com>
10753
10754         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10755         Factor start/stop into this private function instead of partially
10756         in activate functions and partially in the change_state function.
10757         Fixes setup before the element has changed from READY->PAUSED, as
10758         is the case in pull-mode pipelines.
10759         (gst_base_transform_sink_activate_push)
10760         (gst_base_transform_src_activate_pull): Refactor to use
10761         gst_base_transform_activate().
10762         (gst_base_transform_change_state): Removed, not needed any more.
10763
10764         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10765         Truncate before fixating.
10766         
10767         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10768         Don't set_caps() if the result of fixating is ANY, as it's not
10769         supported, and not necessary in the case of a link with no
10770         template caps on either side. Fixes tests/check/libs/basesrc in
10771         some pull-mode tests.
10772
10773         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10774         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10775         (gst_base_transform_src_activate_pull): 
10776         Track the activation mode.
10777         (gst_base_transform_setcaps): In pull mode, when activating the
10778         src pad, after activating the sink pad, activate the sink pad's
10779         peer, as discussed in part-negotiation.txt.
10780
10781         * libs/gst/base/gstbasesrc.h: 
10782         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10783         vmethod, as in basesink.
10784
10785         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10786
10787         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10788         mode, first proxy the setcaps to the peer pad.
10789         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10790         new fixate vmethod.
10791         (gst_base_sink_default_activate_pull): Rename from
10792         gst_base_sink_activate_pull.
10793         (gst_base_sink_negotiate_pull): New function, performs negotiation
10794         in pull mode before calling ::activate_pull().
10795         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10796         vmethod instead of the default implementation. I have no idea how
10797         this worked before. Negotiate before calling activate_pull.
10798
10799         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10800         sink pads in pull mode. In addition to being correct, fixes
10801         filesrc ! decodebin ! identity ! fakesink.
10802         (gst_pad_get_range, gst_pad_pull_range): Don't call
10803         gst_pad_set_caps() if the caps changes; instead error out with
10804         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10805
10806 2007-01-12  Andy Wingo  <wingo@pobox.com>
10807
10808         * docs/design/part-negotiation.txt: Update with more policy.
10809
10810 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10811
10812         * libs/gst/check/gstbufferstraw.h:
10813         * libs/gst/check/gstcheck.h:
10814           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10815           belongs.
10816
10817 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * tests/check/Makefile.am:
10820         * tests/check/gst/.cvsignore:
10821         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10822         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10823         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10824         (GST_START_TEST), (gst_tag_setter_suite):
10825           Add minimal unit test for beforementioned GstTagSetter bug.
10826
10827 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         Patch by: René Stadler <mail at renestadler dot de>
10830
10831         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10832           gst_tag_list_merge() returns a new list, so it's not the best idea
10833           to ingore its return value. Effectively meant that tags could only
10834           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10835           Also add function guard to require a non-NULL taglist as input (has
10836           always been so due to gst_tag_list_copy(), just making it explicit).
10837
10838 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10839
10840         * docs/random/draft-missing-plugins.txt:
10841           Some additions: mention new API that is supposed to be used at the
10842           various stages; short blob about new gst-inspect introspection
10843           option; mention potential future problem with plugins that have
10844           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10845
10846 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10847
10848         * tools/gst-inspect.c:
10849         (print_plugin_automatic_install_info_codecs),
10850         (print_plugin_automatic_install_info_protocols),
10851         (print_plugin_automatic_install_info), (main):
10852         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10853         introspect plugin files and get machine-parsable output that corresponds
10854         to the last bit of the missing-plugin installer string (small gotcha:
10855         doesn't take into account ranks).
10856
10857 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10858
10859         * configure.ac:
10860         * docs/gst/gstreamer-sections.txt:
10861         * gst/Makefile.am:
10862         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10863         (gst_registry_lookup_locked):
10864         * gst/gstregistry.h:
10865         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10866         (gst_registry_binary_initialize_magic),
10867         (gst_registry_binary_save_string),
10868         (gst_registry_binary_save_pad_template),
10869         (gst_registry_binary_save_feature),
10870         (gst_registry_binary_save_plugin),
10871         (gst_registry_binary_write_cache),
10872         (gst_registry_binary_check_magic),
10873         (gst_registry_binary_load_pad_template),
10874         (gst_registry_binary_load_feature),
10875         (gst_registry_binary_load_plugin),
10876         (gst_registry_binary_read_cache):
10877         * gst/gstregistrybinary.h:
10878         * gst/gstregistryxml.c: (load_feature),
10879         (gst_registry_xml_read_cache):
10880           commit binary registry (disabled by default, see #359653)
10881
10882 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10883
10884         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10885           Fix 'make check' too.
10886
10887 2007-01-10  Andy Wingo  <wingo@pobox.com>
10888
10889         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10890         notes.
10891         
10892         * docs/design/part-negotiation.txt: Update with, um, one way that
10893         pull-mode negotiation might work?
10894
10895         * gst/gstpad.h: 
10896         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10897         that the pad must be a src pad; makes sense to call it the other
10898         way in pull mode, and the logic is symmetric anyway.
10899
10900 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10901
10902         * plugins/elements/gstfilesink.c:
10903           Include <stdio.h> for fseeko().
10904
10905 2007-01-10  Wim Taymans  <wim@fluendo.com>
10906
10907         * gst/gstevent.c:
10908         * gst/gstevent.h:
10909         Reserve LATENCY event.
10910
10911 2007-01-09  Wim Taymans  <wim@fluendo.com>
10912
10913         * docs/design/draft-latency.txt:
10914         Updates.
10915
10916 2007-01-09  Wim Taymans  <wim@fluendo.com>
10917
10918         * docs/design/draft-latency.txt:
10919         Updates.
10920
10921         * gst/gstelement.h:
10922         * gst/gststructure.c:
10923         * gst/gsttrace.c:
10924         Small typo fixes.
10925
10926 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10927
10928         * tests/check/.cvsignore:
10929           Ignore test-registry.xml as well.
10930
10931 2007-01-09  Wim Taymans  <wim@fluendo.com>
10932
10933         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10934         unref data at the end when we are done with the pad.
10935
10936 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10937
10938         * docs/gst/gstreamer-sections.txt:
10939         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
10940         (init_post), (gst_deinit), (gst_update_registry):
10941         * gst/gst.h:
10942           API: add gst_update_registry() (#391296).
10943
10944         * tests/check/Makefile.am:
10945         * tests/check/gst/gstregistry.c:
10946         * tests/check/gst/.cvsignore:
10947           Simple unit test for the above.
10948
10949 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10950
10951         * gst/gstregistry.c: (gst_registry_scan_path_level):
10952           Plugin extension on HP-UX is .sl, add that to the list of approved
10953           plugin extensions (see #393796).
10954
10955         * tests/check/gst/gstpad.c: (GST_START_TEST):
10956           ulong => gulong. Fixes compilation with HP-UX compiler.
10957
10958         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10959           Fix compilation if valgrind headers are not available.
10960
10961 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
10962
10963         * win32/common/libgstreamer.def: 
10964           Add new exported function.
10965         * win32/vs6/libgstbase.dsp: 
10966           Add gstdataqueue.c to the build.
10967         * win32/vs6/libgstcoreelements.dsp:
10968           Add gstmultiqueue.c to the build.
10969         
10970 2007-01-06  Andy Wingo  <wingo@pobox.com>
10971
10972         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
10973         activate_pull(), providing for a way to specialize the process of
10974         spawning a thread to pull on the sink pad. There is a default
10975         implementation.
10976
10977         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
10978         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
10979         (gst_base_sink_init): Renamed pad activation functions (inserting
10980         "_pad" in their names). Refactor to use the new activate_pull
10981         vmethod, as appropriate.
10982         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
10983         default activate_pull function to start a task pulling from the
10984         sink pad, as before.
10985
10986         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
10987         on the pads if necessary, as in push()/chain(). Update docs.
10988         Shouldn't affect existing pull() usage as it is currently only
10989         being used on buffers without caps.
10990
10991 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
10992
10993         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10994         (init_pre):
10995           Call g_thread_init() first thing in gst_init() / gst_check_init().
10996           When initialisation is done via gst_init_get_option_group() and
10997           GOption parsing, issue a warning if the GLib thread system has not
10998           been initialised yet by the time gst_init_get_option_group() is
10999           called, as it's quite likely other GLib functions such as
11000           g_option_context_new() have been called already then, and
11001           g_thread_init() must be called before any other GLib function. The
11002           application in question must be fixed in that case, since memory
11003           corruption might happen otherwise.
11004           We issue the warning because even if the GLib folks decide to work
11005           around the problem on their end in future, this is still an issue
11006           with all GLib versions >= 2.10.0, so we should warn until we depend
11007           on a GLib version we know to be safe.
11008           Update documentation as well.
11009           Closes bug #391278.
11010
11011 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11012
11013         * tools/gst-inspect.c: (main):
11014         * tools/gst-launch.c: (main):
11015         * tools/gst-typefind.c: (main):
11016         * tools/gst-xmlinspect.c: (main):
11017           Call g_thread_init() really really early, before any other GLib
11018           function (see #342564 and recent discussion on gtk-devel-list).
11019
11020 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11023
11024         * gst/gst_private.h:
11025         * gst/gstconfig.h.in:
11026         * gst/gstinfo.h:
11027           On win32, all the __declspec stuff for symbol exporting is
11028           apparently only needed with MSVC, but doesn't work with MingW.
11029           Fixes compilation with MingW and #391909.
11030
11031 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11032
11033         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11034           Change some GST_ERROR_OBJECT that aren't really errors to
11035           GST_WARNING_OBJECT in order to reduce terminal spam.
11036
11037 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11038
11039         * tests/check/Makefile.am:
11040           disable test again, as there seem to be still race problems
11041
11042 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11043
11044         * tests/check/Makefile.am:
11045         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11046         (GST_START_TEST), (queue_suite):
11047           enable queue test again, add tests for the leaky behaviour
11048
11049 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11050
11051         * configure.ac:
11052         * tests/examples/Makefile.am:
11053           Compile adapter test/example only if the required headers are
11054           available (fixes #391915).
11055
11056 2007-01-01  David Schleef  <ds@schleef.org>
11057
11058         * gst/gstplugin.c:
11059           Restore the previous signal handler for SIGSEGV instead of
11060           setting to default, since we may have stolen it away from
11061           someone.  (i.e., Mono)
11062
11063 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11064
11065         * docs/random/draft-missing-plugins.txt:
11066           Some small additions and clarifications.
11067
11068 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11069
11070         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11071           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11072           since that can lead to random memory corruptions and crashes
11073           (may or may not be related to #383244, #386711, and #386711).
11074
11075 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11076
11077         * tests/check/.cvsignore:
11078         * tests/check/Makefile.am:
11079           sync .cvsignome and CLEANFILES
11080
11081 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11082
11083         * tests/check/Makefile.am:
11084           fix distcheck
11085
11086 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11087
11088         * docs/design/part-states.txt:
11089           two tiny additional comments
11090         
11091         * gst/gststructure.c:
11092           doc fixing
11093
11094         * tests/check/Makefile.am:
11095         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11096         (GST_START_TEST):
11097           disable test for now, unless it gets fixed
11098
11099 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11100
11101         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11102         (GST_START_TEST):
11103           fix race in underrun test
11104
11105 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11106
11107         * tests/check/elements/.cvsignore:
11108           ignore more
11109
11110         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11111         (GST_START_TEST):
11112           try to narrow test failure
11113
11114 2006-12-21  David Schleef  <ds@schleef.org>
11115
11116         * plugins/elements/gstfakesrc.c:
11117           Use g_random_int_range(), since it produces better random
11118           numbers in a range than almost-correct floating point code.
11119
11120 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11121
11122         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11123         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11124         (gst_check_teardown_sink_pad):
11125           do not automatically (de)activate pads
11126
11127         * tests/check/Makefile.am:
11128         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11129         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11130           add new, yet simple tests for queue
11131
11132         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11133         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11134         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11135         (GST_START_TEST):
11136         * tests/check/elements/identity.c: (cleanup_identity):
11137           consistent pad (de)activation
11138
11139 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11140
11141         Patch by: Sebastian Dröge  <slomo ubuntu com>
11142
11143         * libs/gst/base/gstcollectpads.c:
11144           Fix two doc typos (#387866).
11145
11146 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11147
11148         * docs/manual/advanced-dparams.xml:
11149           Fix typo (g_object_control_properties() doesn't exist).
11150
11151 2006-12-19  Edward Hervey  <edward@fluendo.com>
11152
11153         * gst/gstsegment.c: (gst_segment_set_seek):
11154         Fine tune the cases where the segment start/stop values are really
11155         updated.
11156         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11157         Add tests for the return values of gst_segment_set_seek().
11158
11159 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * gst/gst.c:
11162           Docs typo fix.
11163
11164         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11165         (gst_queue_init):
11166           Fix incorrect documentation and flesh it out a bit more.
11167           Set default values for the max properties on the GParamSpec as well,
11168           so it shows up correctly in gst-inspect.
11169
11170 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11171
11172         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11173           Correct docs of queue, add more detail and crosslink it more.
11174
11175 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11176
11177         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11178           Print additional debug info when the stream isn't perfectly
11179           timestamped; don't try to use invalid durations.
11180
11181 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11182
11183         * docs/design/Makefile.am:
11184           Dist new design docs.
11185
11186 2006-12-16  Wim Taymans  <wim@fluendo.com>
11187
11188         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11189
11190         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11191         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11192         (gst_collect_pads_stop), (gst_collect_pads_event),
11193         (gst_collect_pads_chain):
11194         * libs/gst/base/gstcollectpads.h:
11195         Add refcounting to the collectpads data so we can track when it's safe
11196         to free the data. Fixes #383382.
11197
11198 2006-12-15  Wim Taymans  <wim@fluendo.com>
11199
11200         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11201         (gst_collect_pads_remove_pad):
11202         Automatically activate/deactivate pads when they are added to a
11203         started/stoped collectpads.
11204
11205 2006-12-15  Wim Taymans  <wim@fluendo.com>
11206
11207         * gst/gstelement.c: (gst_element_add_pad):
11208         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11209         * gst/gstpad.c: (gst_pad_init):
11210         Set pads to FLUSHING when they are created. Check, warn and fix when a
11211         demuxer adds an inactive pad to itself when running. Fixes #339326.
11212
11213 2006-12-15  Wim Taymans  <wim@fluendo.com>
11214
11215         * gst/gstelement.c: (gst_element_class_init),
11216         (gst_element_default_send_event), (gst_element_send_event),
11217         (gst_element_default_query), (gst_element_query):
11218         Expose default element send_event and query handling as vmethods that
11219         subclasses can chain up to.
11220
11221 2006-12-15  Wim Taymans  <wim@fluendo.com>
11222
11223         * gst/gstelement.c: (gst_element_set_state_func):
11224         Small documentation fixes.
11225
11226 2006-12-15  Wim Taymans  <wim@fluendo.com>
11227
11228         * docs/design/draft-latency.txt:
11229         Checked in draft for handling latency in pipelines.
11230
11231 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11232
11233         * Makefile.am:
11234         * gstreamer.doap:
11235         * gstreamer.spec.in:
11236           adding .doap file
11237
11238 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         * gst/gst.c: (init_pre), (init_post):
11241           init_pre() and init_post() might be called via our GOptionGroup or
11242           from gst_init(), and we should skip both of them if we've already
11243           been initialised, otherwise we will init some things twice or add
11244           two default log functions.
11245
11246 2006-12-13  Edward Hervey  <edward@fluendo.com>
11247
11248         * docs/manual/basics-bus.xml:
11249         No, gst_main_loop does not exist. Its g_main_loop.
11250         Discovered by somebody who abused the copy-paste technique of coding :)
11251
11252 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11253
11254         * gst/gstghostpad.c:
11255           Log ghostpad debug stuff to the GST_PADS category as well rather
11256           than just to the default category.
11257
11258 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11259
11260         * configure.ac:
11261         * gst/gst.c: (init_pre):
11262           Add some basic system details such as OS and architecture
11263           to the debug output if possible, courtesy of uname().
11264
11265 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11266
11267         * docs/gst/running.xml:
11268           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11269           environment variables.
11270
11271 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11272
11273         * tests/check/gst/gstbin.c: (GST_START_TEST):
11274         It is acceptable to have a refcount of 2 or 3 at this point in the
11275         test, because the pipeline might be just posting its state_change
11276         message. The next line then waits for that message to appear using
11277         bus_poll, so that should be fine too.
11278
11279 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11280
11281         * gst/gst.c: (ensure_current_registry_forking):
11282         Ignore EINTR when reading from the child registry pipe.
11283         Explicitly ignore the return value from close, since it makes no
11284         difference.
11285
11286         * gst/gstminiobject.c: (gst_mini_object_ref),
11287         (gst_mini_object_unref):
11288         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11289
11290         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11291         When removing cached plugins, remove their features too, so they're
11292         not visible after they've disappeared.
11293
11294         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11295         In the unlikely case that we are linking pads with no parents, don't
11296         crash trying to get the non-existent parent bin.
11297
11298         * gst/parse/grammar.y:
11299         Output debug in the PIPELINE category
11300
11301 2005-03-08  Wim Taymans  <wim@fluendo.com>
11302
11303         Patch by: René Stadler <mail at renestadler dot de>
11304
11305         * gst/gstclock.c: (gst_clock_new_periodic_id):
11306         Reject invalid clock times for interval of periodic ids.
11307         Fixes ##383506.
11308
11309 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11310
11311         * gst/gstelementfactory.c: (gst_element_factory_create):
11312         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11313         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11314         * tools/gst-inspect.c: (print_element_info):
11315         Fix refcounting of gst_plugin_feature_load to match the docs. 
11316         Fixes: #380129
11317
11318 2006-12-07  Wim Taymans  <wim@fluendo.com>
11319
11320         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11321         (gst_base_sink_get_position):
11322         Improve debugging of events.
11323
11324 2006-12-07  Wim Taymans  <wim@fluendo.com>
11325
11326         Patch by: René Stadler <mail at renestadler dot de>
11327
11328         * gst/gstclock.c: (gst_clock_id_wait):
11329         Make period ids add the interval to the origial requested time instead
11330         of the possibly updated time which can be wrong when there are multiple
11331         waiters for the same id. Fixes #382592.
11332
11333         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11334         (gst_system_clock_id_wait_jitter_unlocked),
11335         (gst_system_clock_id_wait_jitter):
11336         Fix restart in the async notify thread when an async entry is added to
11337         the front of the list. Fixes #381492. 
11338
11339         * tests/check/gst/gstsystemclock.c: (store_callback),
11340         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11341         Added test for multiple async waits.
11342         Added test for async wait order.
11343
11344 2006-12-07  Wim Taymans  <wim@fluendo.com>
11345
11346         * gst/gstbin.c: (gst_bin_query):
11347         Add some more docs about the POSITION query.
11348
11349 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11350
11351         * configure.ac:
11352         Bump version nano - back to CVS.
11353
11354 === release 0.10.11 ===
11355
11356 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11357
11358         * configure.ac:
11359           releasing 0.10.11, "Love never runs on time"
11360
11361 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11362
11363         * win32/common/libgstbase.def:
11364         * win32/common/libgstreamer.def:
11365         * win32/vs8/libgstbase.vcproj:
11366         * win32/vs8/libgstcoreelements.vcproj:
11367         * win32/vs8/libgstreamer.vcproj:
11368         Fix compilation on win32 under VS8
11369         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11370         Partially fixes #381175
11371
11372 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11373
11374         * gst/gstvalue.c: (gst_value_compare_fraction):
11375         If someone is foolish enough to compare 2 fractions with denominator =
11376         0, return UNORDERED rather than aborting.
11377
11378 2006-11-28  Edward Hervey  <edward@fluendo.com>
11379
11380         * libs/gst/base/Makefile.am:
11381         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11382         (gst_data_queue_base_init), (gst_data_queue_class_init),
11383         (gst_data_queue_init), (gst_data_queue_new),
11384         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11385         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11386         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11387         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11388         (gst_data_queue_set_flushing), (gst_data_queue_push),
11389         (gst_data_queue_pop), (gst_data_queue_drop_head),
11390         (gst_data_queue_set_property), (gst_data_queue_get_property):
11391         * libs/gst/base/gstdataqueue.h:
11392         New GstDataQueue object for threadsafe queueing. Most useful for
11393         elements that need some queueing functionnality.
11394         * docs/libs/gstreamer-libs-docs.sgml:
11395         * docs/libs/gstreamer-libs-sections.txt:
11396         Insert documentation for GstDataQueue
11397         * plugins/elements/Makefile.am:
11398         * plugins/elements/gstelements.c:
11399         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11400         (gst_multi_queue_class_init), (gst_multi_queue_init),
11401         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11402         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11403         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11404         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11405         (gst_multi_queue_loop), (gst_multi_queue_chain),
11406         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11407         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11408         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11409         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11410         (wake_up_next_non_linked), (compute_next_non_linked),
11411         (single_queue_overrun_cb), (single_queue_underrun_cb),
11412         (single_queue_check_full), (gst_single_queue_new):
11413         * plugins/elements/gstmultiqueue.h:
11414         New multiqueue element, using GstDataQueue. Used for queuing multiple
11415         streams.
11416         Closes #344639 and #347785
11417
11418 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11419
11420         * docs/pwg/advanced-types.xml:
11421           add more missing type details
11422
11423         * tools/gst-run.c: (main):
11424           remove unused variable
11425
11426 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11427
11428         * docs/libs/Makefile.am:
11429         * docs/libs/gstreamer-libs.types:
11430           add types of base classes to enable gobject specific stuff in the docs
11431
11432         * docs/random/ensonic/embedded.txt:
11433           more ideas about isolating platform specific things
11434
11435 2006-11-20  Wim Taymans  <wim@fluendo.com>
11436
11437         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11438
11439         * libs/gst/check/gstcheck.h:
11440         Fix compilation and running against 0.9.4. Fixes #377332.
11441
11442 2006-11-20  Wim Taymans  <wim@fluendo.com>
11443
11444         * gst/gstsegment.c: (gst_segment_set_seek),
11445         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11446         (gst_segment_to_running_time):
11447         Fix boundary checking in to_running_time() and to_stream_time().
11448         Fixes #377183.
11449
11450         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11451         stream and running time can now be calculated for the complete
11452         clipped segment.
11453
11454 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * gst/gstpad.c: (gst_pad_push_event):
11457           Can't access event structure after giving away ownership of
11458           the event.
11459
11460 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11461
11462         * docs/random/ensonic/embedded.txt:
11463         * docs/random/ensonic/profiling.txt:
11464         * docs/random/ensonic/receipies.txt:
11465           more thinking
11466
11467 2006-11-13  Wim Taymans  <wim@fluendo.com>
11468
11469         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11470
11471         * gst/gstpad.c:
11472         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11473
11474 2006-11-13  Wim Taymans  <wim@fluendo.com>
11475
11476         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11477
11478         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11479         Store new length in segment duration so we don't keep on calling the
11480         potentially expensize get_size() call. Fixes #370865.
11481
11482 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11483
11484         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11485
11486         * win32/common/libgstreamer.def:
11487           Add two missing symbols (#366492).
11488
11489 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11490
11491         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11492         (gst_adapter_take_buffer):
11493         Fix format string to use all its arguments.
11494         Remove useless >= check on a guint
11495
11496 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11497
11498         * tests/examples/adapter/.cvsignore:
11499         Ignore build file as commanded by the build-bot
11500
11501 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11502
11503         * tests/examples/adapter/Makefile.am:
11504         * tests/examples/adapter/adapter_test.c: (run_test_take),
11505         (run_test_take_buffer), (run_tests), (main):
11506
11507         Add new files from the previous commit
11508
11509 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11510
11511         * Makefile.am:
11512         * configure.ac:
11513         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11514         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11515         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11516         * libs/gst/base/gstadapter.h:
11517         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11518         (GST_START_TEST), (gst_adapter_suite):
11519         * tests/examples/Makefile.am:
11520         Do some optimisation work in GstAdapter to avoid copies in more cases.
11521         It could still do slightly better by merging buffers when
11522         gst_buffer_is_span_fast is true, but is already faster. 
11523
11524         Also, avoid traversing a single-linked list to append each incoming 
11525         buffer inside the adapter.
11526
11527         Add simple test app that times the adapter behaviour in different
11528         situations, and extend the unit test to check that bytes enter and
11529         exit the adapter in their original order.
11530
11531 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11532
11533         * docs/random/draft-missing-plugins.txt:
11534           Update: use element message instead of adding a new message
11535           type to the core; don't provide GStreamer API to initiate the
11536           plugin download, just provide API to compose the strings needed
11537           and let an external libgimmestuff handle the rest.
11538
11539 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11540
11541         * tools/gst-inspect.c: (print_element_properties_info):
11542         Print a string instead of 'unknown type' for GValueArray properties
11543
11544 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11545
11546         * docs/random/draft-missing-plugins.txt:
11547         More small fixes.
11548
11549 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11550
11551         * tests/examples/typefind/typefind.c: (type_found), (main):
11552           Make typefind element example work again (#371894); add a
11553           license header.
11554
11555 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11556
11557         * docs/random/draft-missing-plugins.txt:
11558           Commit initial draft about how to deal with missing plugins,
11559           needs work (API too).
11560
11561 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11562
11563         * docs/pwg/advanced-types.xml:
11564           documents the new caps elements (see #363118)
11565
11566 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11567
11568         * gst/gstplugin.c: (gst_plugin_load_file):
11569         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11570         (gst_file_src_map_region), (gst_file_src_start):
11571         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11572         (gst_file_index_commit):
11573           Use g_strerror() instead of strerror() - we want UTF-8.
11574
11575 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11576
11577         Patch by: Peter Kjellerstedt <pkj at axis com>
11578
11579         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11580           Another printf fix (#371493).
11581
11582 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11583
11584         * tests/check/gst/gsttag.c:
11585           relicence (okay with author=company)
11586
11587 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11588
11589         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11590         (gst_pad_push_event):
11591           Enhance debug and improve docs
11592         
11593         * gst/gsturi.c:
11594           Fix docs
11595
11596 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11597
11598         * docs/random/ensonic/distributed.txt:
11599         * docs/random/ensonic/profiling.txt:
11600           more ideas
11601
11602 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11603
11604         * docs/gst/gstreamer-sections.txt:
11605           add new API and fix the build
11606           
11607         * gst/gstbin.c: (gst_bin_recalc_state):
11608         * gst/gstelement.c: (gst_element_message_full),
11609         (gst_element_get_state_func), (gst_element_set_state_func):
11610           use new API and improve logging
11611         
11612         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11613         * gst/gstutils.h:
11614           API: add function to get StateChangereturn names to improve logs 
11615
11616 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11617
11618         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11619           I'm considering shooting the next person to put strerror stuff
11620           in the translateable part of the message.
11621
11622 2006-11-03  Wim Taymans  <wim@fluendo.com>
11623
11624         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11625         Get the type and printf conversion specifiers right.
11626
11627 2006-11-03  Wim Taymans  <wim@fluendo.com>
11628
11629         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11630
11631         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11632         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11633         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11634         Some small cleanups. Improve debugging.
11635         * gst/gstpad.h:
11636         Signal all waiting threads with a broadcast instead of just one.
11637         Fixes #369942.
11638
11639 2006-11-03  Wim Taymans  <wim@fluendo.com>
11640
11641         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11642         (gst_fd_src_create):
11643         Add some debugging. 
11644         Only update fd when it's different from the old.
11645
11646 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11647
11648         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11649           Printf fixes for PPC/OSX, take two (#369366).
11650
11651 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11654
11655         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11656         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11657         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11658           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11659           don't cast to long long for portability reasons, but use
11660           GLib's types instead.
11661
11662 2006-10-30  Michael Smith  <msmith@fluendo.com>
11663
11664         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11665           Get the arguments to lseek() the right way around.
11666           Fixes 367677.
11667
11668 2006-10-30  Wim Taymans  <wim@fluendo.com>
11669
11670         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11671
11672         * gst/gstinfo.h:
11673         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11674
11675 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11676
11677         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11678
11679         * docs/design/part-MT-refcounting.txt:
11680         * docs/random/wtay/capsnego2-docs:
11681         * gst/gstclock.c:
11682         * gst/gstxml.c:
11683           Typo fixes (#366212).
11684
11685 2006-10-28  Wim Taymans  <wim@fluendo.com>
11686
11687         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11688
11689         * gst/gst.c:
11690         * win32/common/libgstbase.def:
11691         * win32/common/libgstreamer.def:
11692         * win32/vs8/libgstbase.vcproj:
11693         * win32/vs8/libgstcontroller.vcproj:
11694         Add needed entries in .def files.
11695         Use HAVE_UNISTD_H.
11696         Rearrange def files in vs8 solutions. Fixes #366286.
11697
11698 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11699
11700         * win32/common/gstconfig.h:
11701           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11702           hand-made win32 gstconfig.h. Fixes #366321.
11703
11704 2006-10-27  Wim Taymans  <wim@fluendo.com>
11705
11706         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11707         (gst_ghost_pad_new_full):
11708         Make acceptcaps return TRUE when we don't have a target, just like
11709         setcaps does.
11710
11711 2006-10-27  Wim Taymans  <wim@fluendo.com>
11712
11713         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11714         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11715
11716 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * gst/gststructure.c: (gst_structure_id_set_value):
11719           If someone tries to set a non-UTF8 string field on a structure,
11720           don't just print a warning, but also ignore the request and do
11721           not change/add that field to the structure.
11722
11723         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11724           Test for the above.
11725
11726 2006-10-25  David Schleef  <ds@schleef.org>
11727
11728         * gst/gstinfo.c:
11729           g_hash_table_insert() needs a cast to a non-const pointer duh.
11730
11731 2006-10-25  David Schleef  <ds@schleef.org>
11732
11733         * gst/gstinfo.c:
11734         * gst/gstinfo.h:
11735           Change name parameter of _gst_debug_register_funcptr to const
11736           to reflect the constness of its use in the function as well
11737           as to quiet a gcc warning.
11738
11739 2006-10-25  Edward Hervey  <edward@fluendo.com>
11740
11741         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11742         Don't push the buffer if it's empty.
11743         Closes #363095
11744
11745 2006-10-24  Wim Taymans  <wim@fluendo.com>
11746
11747         * gst/gstevent.h:
11748         Add small comment.
11749
11750         * libs/gst/base/gstbasetransform.c:
11751         (gst_base_transform_sink_eventfunc):
11752         Debug segment values *after* updating them as this is more
11753         interesting.
11754
11755 2006-10-23  Wim Taymans  <wim@fluendo.com>
11756
11757         * docs/design/part-events.txt:
11758         Update some docs.
11759
11760         * docs/design/part-block.txt:
11761         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11762         (gst_pad_push_event):
11763         Revert BLOCKING patch, it tries to be smart without really having a
11764         clear idea what or how. So, now we discard all FLUSHING events again on
11765         a blocking pad. Should fix gnonlin again.
11766
11767 2006-10-23  Wim Taymans  <wim@fluendo.com>
11768
11769         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11770
11771         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11772         (gst_base_src_start), (gst_base_src_activate_push):
11773         Make sure size is always initialized. Fixes #364388.
11774
11775 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11776
11777         * docs/random/ensonic/distributed.txt:
11778           add some ideas about doing distributed processing
11779
11780         * docs/random/ensonic/profiling.txt:
11781           get_rusage look promising
11782
11783 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11784
11785         * docs/manual/basics-helloworld.xml:
11786           Add a cast in example to fix compile warning
11787
11788 2006-10-18  Wim Taymans  <wim@fluendo.com>
11789
11790         * gst/gstsegment.c: (gst_segment_set_last_stop),
11791         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11792         Relax arg checking again, -1 is allowed.
11793
11794 2006-10-18  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/gstsegment.c: (gst_segment_set_last_stop),
11797         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11798         _set_last_stop() must be with a value != -1
11799         A _TYPE_SET to -1 means seek to 0.
11800         Calc last_stop correctly for negative rates.
11801         Make sure we work with positive durations when updating a segment.
11802
11803 2006-10-18  Wim Taymans  <wim@fluendo.com>
11804
11805         * docs/design/part-live-source.txt:
11806         * gst/gstclock.h:
11807         Small docs fixes.
11808
11809 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11810
11811         * gst/gstbuffer.h:
11812           Add an explicit cast to GstBuffer** to keep old code that added an
11813           explicit cast to GstMiniObject** for gst_mini_object_replace()
11814           compiling without warning.
11815
11816 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11817
11818         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11819           check for validity of dates
11820
11821 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11822
11823         * docs/gst/gstreamer-sections.txt:
11824           Forgot this one, makes gtk-doc shut up.
11825
11826 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11827
11828         Patch by: Peter Kjellerstedt <pkj at axis com>
11829
11830         * gst/gstobject.h:
11831           Don't define xmlNodePtr to gpointer if the core was built with
11832           --disable-loadsave and --disable-registry, this will break
11833           applications that want to use libxml2 but are buildling against a
11834           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11835           instead so we don't have to mess with the libxml2 namespace
11836           (#361675).
11837
11838 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11839
11840         * gst/gstbuffer.h:
11841           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11842           type-punned pointer warnings.
11843
11844 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * gst/gstelement.h:
11847           Add casts to the correct return type to state <=> state transition
11848           macros.
11849
11850 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11851
11852         * docs/design/part-live-source.txt:
11853           describe howto handle latency
11854         
11855         * docs/random/ensonic/profiling.txt:
11856           more ideas
11857
11858         * tools/gst-plot-timeline.py:
11859           fix log parsing for solaris, remove unused function
11860
11861 2006-10-16  Wim Taymans  <wim@fluendo.com>
11862
11863         * docs/design/part-trickmodes.txt:
11864         * gst/gstevent.c:
11865         Update some docs regarding reverse playback.
11866
11867 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11870
11871         * win32/vs8/grammar.vcproj:
11872           Error out with a warning if glib-genmarshal.exe is not in path,
11873           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11874
11875 2006-10-13  Wim Taymans  <wim@fluendo.com>
11876
11877         * gst/gstsegment.c: (gst_segment_set_seek):
11878         When seeking to stop -1, set last_stop (current position) to the
11879         duration of the segment.
11880
11881 2006-10-13  Wim Taymans  <wim@fluendo.com>
11882
11883         * gst/gstelement.h:
11884         Clarify _NO_PREROLL a bit more.
11885
11886         * gst/gstevent.c:
11887         Fix docs.
11888
11889         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11890         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11891         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11892         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11893         due to wrong locking order. Fixes #361769.
11894         Remove some redundant/misplaced checks in pad_block.
11895
11896         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11897         For negative rates, count backwards from the duration.
11898
11899 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11900
11901         * gst/gsterror.c: (_gst_library_errors_init):
11902           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11903           up with something better).
11904
11905 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11906
11907         * win32/vs6/libgstreamer.dsp:
11908         * win32/vs7/libgstreamer.vcproj:
11909         * win32/vs8/libgstreamer.vcproj:
11910           Don't reference glib-compat.c which is currently not used and not
11911           disted; add gstquark.c which was recently added. Fixes #361730.
11912
11913 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11914
11915         * win32/common/libgstbase.def:
11916         * win32/common/libgstcontroller.def:
11917         * win32/common/libgstreamer.def:
11918           Add gst_caps_merge() and a bunch of other recently-added functions.
11919           Fixes #361732.
11920
11921 2006-10-11  Wim Taymans  <wim@fluendo.com>
11922
11923         * docs/plugins/gstreamer-plugins.args:
11924         * docs/plugins/inspect/plugin-coreelements.xml:
11925         * docs/plugins/inspect/plugin-coreindexers.xml:
11926         Update element args.
11927
11928         * gst/gstsystemclock.c:
11929         Small comment update.
11930
11931         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11932         (gst_tee_request_new_pad), (gst_tee_release_pad),
11933         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11934         (gst_tee_sink_activate_pull):
11935         * plugins/elements/gsttee.h:
11936         Some tee loving:
11937         Add default property defines.
11938         Implement release pad function.
11939         Give properties better blubs etc.
11940         Activate pads before adding them to a running tee.
11941         Do simple buffer_alloc on the first requested pad.
11942         Post error when activation fails.
11943
11944 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11945
11946         * gst/gst.c: (ensure_current_registry_forking):
11947           Check return value of write() to make compiler happy.
11948
11949 2006-10-11  Wim Taymans  <wim@fluendo.com>
11950
11951         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11952
11953         * plugins/elements/gstqueue.c: (gst_queue_chain):
11954         Recheck queue filledness after signalling the overrun when we're about
11955         to leak downstream because we released the lock when emitting the signal
11956         and the queue could be empty again. Fixes #352345.
11957
11958 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
11959
11960         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11961           Fix refcounting here too, just like we did for _new_valist() a few
11962           days ago (#357180) (thanks to René Stadler). Also remove all those
11963           'Since: 0.9' from the gtk-doc blobs.
11964
11965         * tests/check/libs/controller.c: (controller_refcount_new_list),
11966         (gst_controller_suite):
11967           Unit test for the above.
11968
11969 2006-10-10  Wim Taymans  <wim@fluendo.com>
11970
11971         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
11972
11973         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
11974         (gst_pad_save_thyself):
11975         Update some docs.
11976         Write pad direction in XML output. Fixes #345496.
11977
11978 2006-10-10  Wim Taymans  <wim@fluendo.com>
11979
11980         Patch by: René Stadler <mail at renestadler dot de>
11981
11982         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11983         (gst_controller_new_list), (_gst_controller_dispose),
11984         (_gst_controller_finalize), (_gst_controller_class_init):
11985         Take ref to controlled object so that it cannot disappear. 
11986         Fixes #357432.
11987
11988 2006-10-10  Wim Taymans  <wim@fluendo.com>
11989
11990         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11991         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11992         (gst_check_teardown_sink_pad):
11993         Activate/deactivate pads in setup/teardown respectively.
11994
11995 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11996
11997         Patch by: Josep Torra Valles <josep@fluendo.com>
11998
11999         * gst/Makefile.am:
12000         Cast values when making gstenumtypes.h.  This pacifies Forte
12001         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12002         in the enumeration.
12003
12004 2006-10-09  Wim Taymans  <wim@fluendo.com>
12005
12006         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12007         Rename some more @cur to @start to fix docs. 
12008
12009         * gst/gstsegment.c: (gst_segment_set_seek):
12010         Fix typo.
12011         time and start must always stay in sync as defined in design doc.
12012
12013         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12014         Rename param to fix docs.
12015
12016         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12017         Check that start and time are in sync.
12018
12019         * tests/check/pipelines/parse-launch.c:
12020         (gst_parse_test_element_change_state):
12021         Activate pad before adding to the element.
12022
12023 2006-10-09  Wim Taymans  <wim@fluendo.com>
12024
12025         * docs/design/part-qos.txt:
12026         Fix typo.
12027
12028         * gst/gstevent.c:
12029         * gst/gstevent.h:
12030         Update seek event docs regarding negative rates.
12031         Rename @cur to @start. 
12032
12033         * gst/gstsegment.c: (gst_segment_set_seek):
12034         * gst/gstsegment.h:
12035         Update set_seek docs regarding negative rates.
12036         Correctly update last_stop to @stop when dealing with negative
12037         rates.
12038         Rename @cur to @start. 
12039
12040         * tests/check/gst/gstpad.c: (GST_START_TEST):
12041         Activate pads before trying to use them.
12042
12043         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12044         (gst_segment_suite):
12045         Add simple check for segments and negative rates.
12046
12047 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12048
12049         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12050         * gst/gsttaglist.h:
12051         * docs/gst/gstreamer-sections.txt:
12052           API: add gst_tag_list_is_empty() (#360467).
12053
12054         * tests/check/gst/gsttag.c: (GST_START_TEST):
12055           And a test case.
12056
12057 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12058
12059         * gst/gstmessage.h:
12060         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12061         a value that doesn't fit on enumeration.
12062
12063 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12064
12065         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12066         Remove local debugging system and use Gstreamer's instead.
12067
12068 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12069
12070         Patch by: Josep Torra Valles <josep@fluendo.com>
12071
12072         * common/m4/gst-error.m4:
12073         Disable warning of statement not reached on Forte.
12074         * gst/gstmessage.h:
12075         Fix warning on Forte (value doesn't fit on enumeration).
12076         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12077         Fix warning on Forte (value doesn't fit on enumeration).
12078         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12079         DEBUG macro says it takes minimum of 2 args and so Forte
12080         complains about the use with just 1 arg.
12081         * plugins/elements/gstfdsink.c:
12082         * plugins/elements/gstfdsrc.c:
12083         * plugins/elements/gstfilesink.c:
12084         * plugins/elements/gstfilesrc.c:
12085         Use correct return type for the uri handler implementations.
12086
12087         All these fix warnings in Forte.  Fixes bug #360860.
12088
12089 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12090
12091         * gst/gstelement.h:
12092           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12093           format string, so don't use G_GNUC_PRINTF for those versions.
12094
12095 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12096
12097         * gst/gsttaglist.c: (gst_is_tag_list):
12098         * gst/gsttaglist.h:
12099           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12100
12101         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12102           Small test for the above.
12103
12104 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12105
12106         * gst/gsttaglist.h:
12107           Less tabs, more spaces.
12108
12109 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12110
12111         * gst/gstinfo.h:
12112           Those two function declarations do actually belong there, revert
12113           commit from yesterday that turned them intro macros.
12114
12115 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12116
12117         Patch by: Josep Torra Valles <josep@fluendo.com>
12118
12119         * gst/gst.c: (gst_init_get_option_group):
12120         Fix empty declaration and type mismatch.
12121         * gst/gstbin.c: (gst_bin_change_state_func):
12122         Fix type mismatch.
12123         * gst/gstelement.c: (gst_element_continue_state),
12124         (gst_element_set_state_func), (gst_element_change_state),
12125         (gst_element_change_state_func):
12126         Fix type mismatches.
12127         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12128         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12129         Cast as appropriate.
12130         * gst/gstobject.c: (gst_class_signal_connect):
12131         Cast as appropriate.  The function pointer parameter really
12132         has the wrong type but would break API if we change it.
12133         * gst/gstquery.c:
12134         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12135         order of including string.h.
12136         * gst/gstutils.c: (gst_element_state_get_name):
12137         Remove unreachable line.
12138         * gst/gstxml.c: (gst_xml_parse_doc):
12139         Fix type mismatch.
12140         All these caught by Forte.
12141
12142 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12143
12144         Patch by: Josep Torra Valles <josep@fluendo.com>
12145
12146         * common/m4/gst-error.m4:
12147         Fixed bug #360151.
12148         We need to disable warnings on Forte for empty declarations
12149         due to gst-indent adding ;s to lines that just use macros
12150         where the macro actually doesn't need a ; at end to end
12151         statement.
12152
12153 2006-10-06  Wim Taymans  <wim@fluendo.com>
12154
12155         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12156         (gst_file_sink_close_file), (gst_file_sink_event),
12157         (gst_file_sink_render):
12158         Add some FIXME for the NEWSEGMENT handling.
12159
12160 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12161
12162         * gst/parse/grammar.y:
12163         Remove static function gst_parse_element_lock as all it does
12164         is return.  Looks like cruft from 0.8.
12165
12166 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12167
12168         Patch by: Josep Torra Valles <josep@fluendo.com>
12169
12170         * common/m4/gst-error.m4:
12171         * configure.ac:
12172         * libs/gst/net/Makefile.am:
12173         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12174         libresolv.
12175
12176 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12177
12178         * gst/gstpad.c: (pre_activate):
12179         * gst/gstregistry.c: (gst_registry_scan_path_level):
12180         * gst/gstregistryxml.c: (load_plugin):
12181         * libs/gst/controller/gstcontroller.c:
12182         (gst_controlled_property_set_interpolation_mode):
12183         * libs/gst/dataprotocol/dataprotocol.c:
12184         (gst_dp_packet_from_event_1_0):
12185         * libs/gst/net/gstnetclientclock.c:
12186         (gst_net_client_clock_observe_times):
12187         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12188           Printf fixes.
12189
12190 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * configure.ac:
12193         * docs/gst/gstreamer-sections.txt:
12194         * gst/gstconfig.h.in:
12195         * gst/gstelement.h:
12196         * gst/gstinfo.h:
12197           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12198           whether we can use G_GNUC_PRINTF in other header files and at
12199           least check the printf format/arguments of debug messages and
12200           GST_ELEMENT_ERROR messages when the printf extension is not
12201           being used.
12202           Replace more tabs with spaces in gstinfo.h and remove two spurious
12203           function declarations in GST_DISABLE_DEBUG part with macros.
12204
12205 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12206
12207         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12208           More docs for the sync-message signal (mention that it is not
12209           emitted by default); log message structures of messages posted on
12210           the bus as well.
12211
12212 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12213
12214         * gst/gst.c: (ensure_current_registry_forking):
12215         Use a pipe pair to receive status results from the forked child, and
12216         ignore the result from waitpid. Fixes #355499
12217
12218 2006-10-02  Wim Taymans  <wim@fluendo.com>
12219
12220         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12221         (gst_ghost_pad_suite):
12222         Fix leak in check.
12223
12224 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12225
12226         * gst/gstpad.c:
12227           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12228
12229 2006-10-02  Edward Hervey  <edward@fluendo.com>
12230
12231         * docs/design/part-block.txt:
12232         Further explain the use of flushing on blocked pads.
12233         * docs/gst/gstreamer-sections.txt:
12234         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12235         (gst_pad_push_event):
12236         * gst/gstpad.h:
12237         Added new GstPadFlag : GST_PAD_BLOCKING.
12238         Adds the notion of pads really blocking, which enables to properly
12239         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12240         Fixes #358999
12241         API: gst_pad_is_blocking()
12242         API: GST_PAD_IS_BLOCKING() macro
12243         API: GST_PAD_BLOCKING GstPadFlag
12244         
12245 2006-10-02  Wim Taymans  <wim@fluendo.com>
12246
12247         Patch by: mrcgran <mrc.gran at gmail dot com>
12248
12249         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12250         Filter the proxied caps against the padtemplate if we have one.
12251
12252         * gst/gstquery.c: (gst_query_new_segment):
12253         Add include for gstinfo.h so that compilation with
12254         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12255
12256 2006-10-02  Wim Taymans  <wim@fluendo.com>
12257
12258         Patch by: Alessandro Decina  <alessandro at nnva org>
12259
12260         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12261         (gst_file_sink_set_location), (gst_file_sink_open_file),
12262         (gst_file_sink_close_file), (gst_file_sink_event),
12263         (gst_file_sink_render):
12264         Set file to NULL when closing filesink so that we can set a new filename
12265         in READY. Fixes #358613.
12266
12267 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12268
12269         Patch by: Alessandro Decina  <alessandro at nnva org>
12270
12271         * gst/gstevent.c: (_gst_event_copy):
12272           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12273           with event structures by setting the parent refcount address of the
12274           copied structure to the address of the refcount member of the newly
12275           copied event rather than the address of the refcount member of the
12276           original event. Fixes #358737.
12277
12278         * tests/check/gst/gstevent.c: (GST_START_TEST):
12279           Unit test for the above.
12280
12281 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12282
12283         * docs/design/Makefile.am:
12284           Dist some more files.
12285
12286 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12287
12288         * tests/check/libs/controller.c: (GST_START_TEST),
12289         (gst_controller_suite):
12290           Add test for the previous fix; add some more tests
12291           for correct refcounting behaviour; fix a few leaks
12292           in test cases; call gst_controller_init() at start
12293           of all tests.
12294
12295 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12296
12297         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12298         (gst_controller_set_from_list):
12299           Don't g_return_val_if_fail() on timed values with invalid timestamps
12300           inside a critical section without unlocking the mutex. Spotted by
12301           René Stadler. (#357617)
12302           Also, fix up refcounting properly: when returning an existing
12303           controller, we should increase the reference only once and not
12304           once per property and when trying to control a property again
12305           we should also increase the refcount.
12306
12307 2006-09-29  Wim Taymans  <wim@fluendo.com>
12308
12309         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12310         * libs/gst/net/gstnettimeprovider.c:
12311         (gst_net_time_provider_thread):
12312         Stop reading commands when EOF as well.
12313
12314         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12315         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12316         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12317         Unify description of the dump property.
12318
12319 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12320
12321         * tests/examples/manual/.cvsignore:
12322         OK, so it's actually cvsignore that needs changing. Stop laughing.
12323
12324 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12325
12326         * tests/examples/manual/Makefile.am:
12327         Gah, declare vars *before* using them
12328
12329 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12330
12331         * gst/gst.c: (init_pre), (scan_and_update_registry),
12332         (ensure_current_registry_nonforking),
12333         (ensure_current_registry_forking), (ensure_current_registry),
12334         (init_post), (gst_debug_help), (gst_deinit):
12335         * gst/gst_private.h:
12336         * gst/gstregistry.c: (gst_registry_finalize),
12337         (gst_registry_remove_features_for_plugin_unlocked),
12338         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12339         (gst_registry_scan_path),
12340         (_priv_gst_registry_remove_cache_plugins),
12341         (_priv_gst_registry_cleanup):
12342         * gst/gstregistry.h:
12343         Re-commit the registry changes, along with an extra fix:
12344           When a cached plugin is encountered at a different file path,
12345           update the stored path in the registry cache so that the parent
12346           process knows where it actually is now when it re-reads the registry
12347           cache. Fixes the thing that broke distcheck with the previous commit.
12348
12349         * tests/check/Makefile.am:
12350         Clean up files named 'core' too when running make clean.
12351
12352         * tests/examples/manual/Makefile.am:
12353         Set up a registry path for running these tests, and clean it properly
12354         for distcheck.
12355
12356 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12357
12358         * configure.ac:
12359         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12360         want gmodule-no-export-2.0.pc instead so that we don't drag in
12361         --export-dynamic on every project that links to GStreamer.
12362
12363         Also, make our export regex only match the start of symbols, rather 
12364         than any symbol that contains '_gst' somewhere.
12365
12366         * libs/gst/check/Makefile.am:
12367         The libgstcheck we build does however need export-dynamic, as it
12368         produces some symbols that don't match our _gst... style regex.
12369         Fixes: #318031
12370
12371 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12372
12373         * gst/gst.c: (init_pre), (scan_and_update_registry),
12374         (ensure_current_registry_nonforking),
12375         (ensure_current_registry_forking), (ensure_current_registry),
12376         (init_post), (gst_debug_help), (gst_deinit):
12377         * gst/gst_private.h:
12378         * gst/gstregistry.c: (gst_registry_finalize),
12379         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12380         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12381         (_gst_registry_cleanup):
12382         * gst/gstregistry.h:
12383           Revert previous change until I figure out why it breaks distcheck.
12384
12385 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12386
12387         * gst/gst.c: (init_pre), (scan_and_update_registry),
12388         (ensure_current_registry_nonforking),
12389         (ensure_current_registry_forking), (ensure_current_registry),
12390         (init_post), (gst_debug_help), (gst_deinit):
12391
12392           Make init_pre and init_post take the full complement of GOptionFunc
12393           args so they can return useful GErrors. Make the registry updating
12394           functions do so.
12395
12396           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12397           ensure that the registry we're about to write out doesn't contain
12398           stale information about old-deleted plugin files.
12399
12400           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12401           that deletion of plugin files is considered a registry change.
12402
12403         * gst/gst_private.h:
12404         * gst/gstregistry.c: (gst_registry_finalize),
12405         (gst_registry_remove_features_for_plugin_unlocked),
12406         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12407         (gst_registry_scan_path),
12408         (_priv_gst_registry_remove_cache_plugins),
12409         (_priv_gst_registry_cleanup):
12410         * gst/gstregistry.h:
12411         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12412         by adding _priv prefix, so that they won't appear in the global
12413         symbol table. They still do atm though because of #318031. Move the
12414         prototypes to gst_private.h
12415
12416         When removing a plugin, remove all features for that plugin too. 
12417         Fixes #340878.
12418
12419 2006-09-27  Wim Taymans  <wim@fluendo.com>
12420
12421         * docs/random/moving-plugins:
12422         Make it clear that the "compiled-in descriptions" really mean
12423         the element details.
12424
12425         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12426         (gst_base_sink_wait_preroll):
12427         Update docs.
12428
12429         * docs/libs/gstreamer-libs-sections.txt:
12430         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12431         (gst_base_src_get_range), (gst_base_src_activate_push):
12432         * libs/gst/base/gstbasesrc.h:
12433         Added function to block while waiting for PLAYING, this function
12434         is used by live sources that block on the clock.
12435         API: gst_base_src_wait_playing()
12436
12437 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12438
12439         Patch by: Peter Kjellerstedt <pkj at axis com>
12440
12441         * Makefile.am:
12442           gst-element-check.m4 is generated and should therefore be
12443           copied from the build dir rather than the source dir (#357593).
12444           'make distcheck' hasn't noticed this because we were disting
12445           the file as well, so stop doing that.
12446
12447 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12448
12449         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12450           Add some tests for gst_caps_intersect().
12451
12452         * tools/gst-launch.c: (event_loop):
12453           Print all buffering percentages we get, even the 100% one.
12454
12455 2006-09-26  Wim Taymans  <wim@fluendo.com>
12456
12457         * tools/gst-inspect.c: (print_element_properties_info),
12458         (print_signal_info):
12459         Fix printing of flags to match the look of enums.
12460
12461 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12462
12463         * gst/gstelementfactory.c:
12464           Fix typo in docs blurb.
12465
12466 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12467
12468         * gst/gsturi.c: (search_by_entry):
12469           Don't assert/crash here if a uri handler doesn't return any
12470           supported protocols. The list of protocols could be generated
12471           dynamically at runtime or at plugin registration, and an error
12472           in the underlying library shouldn't be fatal (#353301).
12473
12474 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12475
12476         * gst/gstinfo.c:
12477           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12478           (spotted by Peter Kjellerstedt).
12479
12480 2006-09-23  Wim Taymans  <wim@fluendo.com>
12481
12482         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12483
12484         * libs/gst/base/gstbasesrc.c:
12485         (gst_base_src_default_check_get_range), (gst_base_src_start),
12486         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12487         (gst_base_src_change_state):
12488         Match _start/_stop calls in the activate functions. Remove redundant
12489         _stop call from the state change function. Fixes #356910.
12490         Turn failure DEBUG into ERROR. 
12491
12492 2006-09-22  Wim Taymans  <wim@fluendo.com>
12493
12494         * docs/design/part-buffering.txt:
12495         * gst/gstmessage.c: (gst_message_new_buffering),
12496         (gst_message_parse_buffering):
12497         Update docs about buffering.
12498
12499         * docs/design/part-trickmodes.txt:
12500         Fix typo.
12501
12502 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12503
12504         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12505         (gst_controller_new_list):
12506           Ref instances when returning them again (fixes #357180)
12507
12508 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12509
12510         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12511           Don't forget to release proxy lock when there's an error.
12512
12513 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12514
12515         * gst/gstcaps.h:
12516           Add extra initialisers for Caps things, to fix some plugin warnings
12517           when using -Wextra
12518
12519 2006-09-18  Wim Taymans  <wim@fluendo.com>
12520
12521         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12522           Also set template on the internal pad so that a getcaps from the 
12523           target pad returns the template caps.
12524
12525 2006-09-18  Wim Taymans  <wim@fluendo.com>
12526
12527         * gst/gstelement.c: (gst_element_post_message),
12528         (gst_element_dispose):
12529         Use _DEBUG_OBJECT some more.
12530
12531         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12532         Avoid typechecks.
12533
12534         * tools/gst-launch.c: (main):
12535         If the toplevel element is not a GstPipeline, it must be put in a
12536         pipeline so that a bus and clock is selected.
12537
12538 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12539
12540         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12541           JITTER, RATE, and LATENCY query should be handled by the
12542           default case and not by the CONVERT query code.
12543
12544 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12545
12546         * gst/gstformat.c: (gst_format_register):
12547           Fix locking order (must take lock before using n_values).
12548
12549         * gst/gstvalue.c: (gst_value_serialize_enum),
12550         (gst_value_deserialize_enum_iter_cmp),
12551         (gst_value_deserialize_enum):
12552           Fix serialisation/deserialisation of custom registered GstFormats.
12553
12554         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12555           Unit test for custom format serialisation/deserialisation.
12556
12557 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12558
12559         * docs/pwg/building-boiler.xml:
12560         * plugins/elements/gstcapsfilter.c:
12561         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12562         section.
12563
12564 2006-09-16  Edward Hervey  <edward@fluendo.com>
12565
12566         * libs/gst/base/gstbasetransform.c:
12567         (gst_base_transform_buffer_alloc):
12568         Check if requested caps are the same as the sinks caps IF
12569         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12570         is FALSE.
12571         This fixes the renegotiation issues stated in #352827.
12572
12573 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12574
12575         * configure.ac:
12576         * docs/manual/advanced-autoplugging.xml:
12577         * tests/examples/Makefile.am:
12578         * tests/examples/manual/.cvsignore:
12579         * tests/examples/manual/Makefile.am:
12580         * tests/examples/manual/extract.pl:
12581           Extract the manual examples again like we used to do.
12582           Fix one of them.
12583
12584 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12585
12586         * win32/common/config.h:
12587           update for version
12588
12589 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12590
12591         * gst/gsterror.c:
12592           Documents how to receive errors.
12593
12594 2006-09-15  Wim Taymans  <wim@fluendo.com>
12595
12596         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12597         (event_loop), (main):
12598         Added some comments here and there.
12599         Post an application message when an interrupt is caught instead of doing
12600         an uncontrolled state change.
12601         Clean up the event loop.
12602         Handle buffering messages, pause/resume the pipeline.
12603         Make shutdown because of an interrupt more reliable.
12604
12605 2006-09-15  Wim Taymans  <wim@fluendo.com>
12606
12607         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12608         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12609         (gst_base_sink_preroll_object):
12610         Make sure that our internal state is correct when we commit our state
12611         asynchronously. This solves a race where a state change to PLAYING
12612         could cause the sink to remain blocked in preroll in some situations.
12613
12614 2006-09-15  Wim Taymans  <wim@fluendo.com>
12615
12616         * tools/gst-inspect.c: (print_element_properties_info),
12617         (print_signal_info):
12618         List flags as hex so it's easier to deal with.
12619
12620 2006-09-15  Wim Taymans  <wim@fluendo.com>
12621
12622         * docs/libs/gstreamer-libs-sections.txt:
12623         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12624         (gst_base_sink_do_sync):
12625         * libs/gst/base/gstbasesink.h:
12626         Expose logic to wait for preroll so that subclasses such as audiosink
12627         can also use this method.
12628         API: gst_base_sink_wait_preroll()
12629
12630 2006-09-15  Wim Taymans  <wim@fluendo.com>
12631
12632         * gst/gstobject.c: (gst_object_set_parent):
12633         * gst/gstpipeline.c: (do_pipeline_seek):
12634         Small cleanups in docs and code.
12635
12636         * gst/gstsegment.c: (gst_segment_clip):
12637         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12638         if stop == start and start is in the segment, no clipping should be
12639         done. Also add a test for this.
12640
12641 2006-09-15  Wim Taymans  <wim@fluendo.com>
12642
12643         * docs/design/part-buffering.txt:
12644         * docs/gst/gstreamer-sections.txt:
12645         * gst/gstmessage.c: (gst_message_new_buffering),
12646         (gst_message_parse_buffering):
12647         * gst/gstmessage.h:
12648         Added methods to create and parse BUFFERING messages.
12649         Added preliminary docs about buffering.
12650         API: gst_message_new_buffering
12651         API: gst_message_parse_buffering
12652
12653 2006-09-06  Wim Taymans  <wim@fluendo.com>
12654
12655         * gst/gstbin.c:
12656         Update documentation.
12657
12658         * gst/gstelement.c: (gst_element_class_init),
12659         (gst_element_release_request_pad), (gst_element_set_clock),
12660         (gst_element_get_index), (gst_element_add_pad),
12661         (gst_element_remove_pad), (gst_element_get_random_pad),
12662         (gst_element_send_event), (gst_element_get_query_types),
12663         (gst_element_query), (gst_element_post_message),
12664         (gst_element_message_full), (gst_element_continue_state),
12665         (gst_element_lost_state), (gst_element_save_thyself),
12666         (gst_element_restore_thyself):
12667         Documentation updates.
12668         Rename last bit of the new-pad -> pad-added signal rename.
12669         Fix the case where an element query would only work if the source
12670         pad was linked.
12671         Avoid some useless type checking in message handling.
12672
12673         * gst/gstevent.c:
12674         * gst/gstevent.h:
12675         * gst/gstutils.c:
12676         Documentation updates.
12677
12678 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12679
12680         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12681           add an INFO line for when we actually update the fd
12682
12683 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12684
12685         * configure.ac:
12686           back to TRUNK
12687
12688 === release 0.10.10 ===
12689
12690 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12691
12692         * configure.ac:
12693           releasing 0.10.10, "Pais"
12694
12695 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12696
12697         * docs/manual/advanced-position.xml:
12698           Fix typo in sample code.
12699
12700 2006-09-05  Wim Taymans  <wim@fluendo.com>
12701
12702         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12703         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12704         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12705         * libs/gst/net/gstnetclientclock.h:
12706         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12707         * libs/gst/net/gstnettimepacket.h:
12708         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12709         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12710         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12711         * libs/gst/net/gstnettimeprovider.h:
12712         Make stuff compile on windows. Fixes #345295.
12713
12714 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * gst/gst.c: (ensure_current_registry_forking):
12717           Print better details when child was terminated by signal.
12718
12719 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12720
12721         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12722           Print a warning rather than g_assert() if a plugin feature
12723           is a URI handler but returns no protocols (#353976).
12724
12725 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12726
12727         * docs/random/moving-plugins:
12728         Fix two typos.         
12729
12730 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12731
12732         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12733           Fix locking order, handle NULL function values properly.
12734
12735         * gst/gstinfo.h:
12736           Fix docs.
12737
12738         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12739           Initialise variable before using it and fix debug statement to
12740           print the address of the function rather than the address of the
12741           variable on the stack holding the address of the function.
12742
12743 2006-09-01  Wim Taymans  <wim@fluendo.com>
12744
12745         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12746         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12747         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12748         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12749         (gst_ghost_pad_parent_unset),
12750         (gst_ghost_pad_internal_do_activate_push),
12751         (gst_ghost_pad_internal_do_activate_pull),
12752         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12753         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12754         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12755         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12756         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12757         (gst_ghost_pad_new_no_target_from_template),
12758         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12759         More cleanups.
12760         Avoid needless typechecking in macros.
12761         Since the internal pad is always present and never changes, there is
12762         no need to locking or ref when retrieving it.
12763         Improve debugging a bit.
12764         Handle link errors when setting the target. Fixes #341029.
12765
12766 2006-09-01  Wim Taymans  <wim@fluendo.com>
12767
12768         * docs/libs/gstreamer-libs-sections.txt:
12769         * docs/plugins/gstreamer-plugins-sections.txt:
12770         Fix docs some more.
12771
12772         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12773         (gst_collect_pads_event):
12774         * libs/gst/base/gstcollectpads.h:
12775         Documentation updates.
12776         Free queued buffer when removing a pad.
12777
12778 2006-08-31  Michael Smith  <msmith@fluendo.com>
12779
12780         * gst/gstutils.c: (gst_element_link_pads),
12781         (gst_element_link_pads_filtered):
12782           Ensure that we set a capsfilter to NULL if we failed to link it
12783           when doing filtered linking, to avoid criticals.
12784
12785           No need to check for unreffing srcpad, which is explicly NULLed
12786           above (a trivial code cleanup).
12787
12788 2006-08-31  Wim Taymans  <wim@fluendo.com>
12789
12790         * docs/design/part-gstghostpad.txt:
12791         Update ascii art in documentation.
12792
12793         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12794         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12795         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12796         (gst_ghost_pad_internal_do_activate_push),
12797         (gst_ghost_pad_internal_do_activate_pull),
12798         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12799         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12800         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12801         (gst_ghost_pad_set_target):
12802         Small cleanups and leak fixes.
12803         Remove some checks now that the internal pad is never NULL.
12804         Fix the case where linking pads without a target would create nasty
12805         criticals. Fixes #341029.
12806         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12807         value of _set_target().
12808
12809         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12810         (gst_ghost_pad_suite):
12811         Some more tests for creating and linking untargeted ghostpads.
12812
12813 2006-08-31  Edward Hervey  <edward@fluendo.com>
12814
12815         * docs/gst/gstreamer-sections.txt:
12816         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12817         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12818         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12819         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12820         (gst_ghost_pad_new_from_template),
12821         (gst_ghost_pad_new_no_target_from_template):
12822         * gst/gstghostpad.h:
12823         Refactored *_new() functions.
12824         Templates are now used as a g_object_new() parameter.
12825         Use template in _do_getcaps() if we don't have a target.
12826         Small documentation cleanups.
12827         Added two new constructors:
12828         gst_ghost_pad_new_from_template()
12829         gst_ghost_pad_new_no_target_from_template()
12830         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12831         (gst_ghost_pad_suite):
12832         Added tests for new ghostpad instanciation functions.
12833
12834         API additions: gst_ghost_pad_new_from_template,
12835         gst_ghost_pad_new_no_target_from_template
12836
12837 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12838
12839         * docs/random/ensonic/profiling.txt:
12840           Ideas about qos profiling.
12841
12842 2006-08-29  Wim Taymans  <wim@fluendo.com>
12843
12844         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12845         Code cleanups.
12846         Fix memleak.
12847
12848 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12849
12850         * gst/gstxml.c:
12851           Improve and detypofy docs.
12852
12853         * tests/check/Makefile.am:
12854         * tests/check/gst/.cvsignore:
12855         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12856           Add a basic test suite for GstXML.
12857
12858 2006-08-29  Wim Taymans  <wim@fluendo.com>
12859
12860         * gst/gstelement.c: (activate_pads), (clear_caps),
12861         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12862         Clear the pad caps when the element shut down all of the pads and
12863         is not streaming data that could modify the caps. 
12864         Fixes #352958.
12865
12866 2006-08-28  Michael Smith  <msmith@fluendo.com>
12867
12868         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12869           Revert previous change; I misunderstood single-segment mode.
12870
12871 2006-08-28  Michael Smith  <msmith@fluendo.com>
12872
12873         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12874           Unset DISCONT on buffers when using single-segment mode.
12875
12876 2006-08-28  Wim Taymans  <wim@fluendo.com>
12877
12878         * gst/gstcaps.c: (gst_caps_merge_structure):
12879         * gst/gstcaps.h:
12880         Fix docs and indentation again.
12881
12882         * tests/check/gst/gstquery.c: (GST_START_TEST):
12883         Fix leak in tests and add some more tests.
12884
12885 2006-08-28  Edward Hervey  <edward@fluendo.com>
12886
12887         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12888         Inform GstSegment of the last stop position in order for the current
12889         segment to have a proper duration if it doesn't have a specific stop
12890         position from which a duration could be calculated.
12891         This bug was noticeable when a non-flushing, non-update new segment was
12892         followed by another segment (all buffers from the new segment were being
12893         dropped).
12894
12895 2006-08-28  Wim Taymans  <wim@fluendo.com>
12896
12897         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12898         Small comment update.
12899
12900         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12901         (gst_identity_transform_ip):
12902         Drop-probability is broken, mention this in the code with a 
12903         FIXME and also in the property description.
12904         Make silent also be silent about the drop messages.
12905
12906 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * docs/manual/appendix-win32.xml:
12909           Remove mention of popt, we don't depend on that any
12910           longer (#353136). Add some comments pointing out that
12911           this section is slightly outdated.
12912
12913 2006-08-28  Wim Taymans  <wim@fluendo.com>
12914
12915         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12916
12917         * gst/gstquery.c: (gst_query_new_segment):
12918         * tests/check/gst/gstquery.c: (GST_START_TEST):
12919         Initialize variables when creating a new segment query.
12920         Fixes #353121.
12921
12922 2006-08-28  Wim Taymans  <wim@fluendo.com>
12923
12924         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12925
12926         * gst/gstelement.c: (gst_element_get_bus):
12927         * tests/check/gst/gstelement.c: (GST_START_TEST):
12928         Check for NULL before _reffing the bus. Fixes #353122.
12929
12930 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12931
12932         * docs/manual/basics-bus.xml:
12933           Docs update: fix wrong callback return value explanation; add
12934           some lines about the implicit relationship between main loop
12935           and main context; remove duplicate main loop variable declaration.
12936
12937 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12938
12939         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12940           Don't leak caps in unit test; add a few more simple
12941           checks. 
12942
12943 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
12944
12945         * docs/gst/gstreamer-sections.txt:
12946         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
12947         (gst_caps_structure_is_subset), (gst_caps_merge),
12948         (gst_caps_merge_structure):
12949         * gst/gstcaps.h:
12950         * libs/gst/base/gstbasetransform.c:
12951         (gst_base_transform_transform_caps):
12952         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12953           implement caps merging (fixes #352580)
12954
12955 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
12956
12957         * tools/Makefile.am:
12958         * tools/gst-plot-timeline.py:
12959           add debug-log plotting developer tool (#340674)
12960
12961 2006-08-23  Wim Taymans  <wim@fluendo.com>
12962
12963         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
12964         (gst_pad_stop_task):
12965         Improve debugging for task functions.
12966
12967         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
12968         (gst_task_start), (gst_task_pause), (gst_task_join):
12969         Make sure that the task function started and finished after a 
12970         join(). 
12971         Don't try to push the task function on the threadpool multiple
12972         times.
12973         Improve the g_warning message with some useful suggestions
12974         about how to fix the problem. 
12975
12976 2006-08-23  Wim Taymans  <wim@fluendo.com>
12977
12978         * gst/gstutils.c: (gst_pad_proxy_getcaps):
12979         Handle RESYNC correctly in _proxy_getcaps.
12980
12981 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
12982
12983         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
12984         (gst_xml_parse_memory), (gst_xml_get_element):
12985           Chain up to parent class in dispose function and also
12986           unref the elements in the toplevel_elements GList.
12987           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
12988           Always return a reference in gst_xml_get_element() rather
12989           than only sometimes.
12990
12991         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12992           Don't leak GstXml object.
12993
12994 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
12995
12996         * docs/gst/gstreamer-sections.txt:
12997         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
12998         (gst_caps_merge):
12999         * gst/gstcaps.h:
13000         * libs/gst/base/gstbasetransform.c:
13001         (gst_base_transform_transform_caps):
13002           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13003           in a better way
13004
13005 2006-08-21  Edward Hervey  <edward@fluendo.com>
13006
13007         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13008         Implement GObject::dispose virtual method in GstXML so we can free the
13009         top_elements GList.
13010
13011 2006-08-21  Wim Taymans  <wim@fluendo.com>
13012
13013         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13014         (gst_buffer_create_sub):
13015         Copy duration/offset_end/caps when creating a subbuffer of the
13016         complete parent.
13017         Make the subbuffer read-only when we make the metadata writable for
13018         now. Fixes #351768.
13019
13020         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13021         Added check for metadata copy when creating subbuffers.
13022
13023 2006-08-21  Edward Hervey  <edward@fluendo.com>
13024
13025         * libs/gst/base/gstbasetransform.c:
13026         (gst_base_transform_buffer_alloc):
13027         Only call downstream buffer_alloc if transform element is passthrough
13028         or always_in_place. Closes #350449.
13029
13030 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13031
13032         * ChangeLog:
13033           ChangeLog surgery to add comments to previous changes
13034
13035 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13036
13037         * gst/gst.c:
13038           Add comments
13039
13040         * gst/gstpad.c: (gst_pad_set_active):
13041           Be more verbose in the log
13042
13043         * libs/gst/base/gstbasetransform.c:
13044         (gst_base_transform_transform_caps):
13045           Simplify caps to get rid of duplicates, fixes #345444
13046
13047 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13048
13049         * gst/gstvalue.c:
13050         * gst/gstvalue.h:
13051           Use these optimizations only internally.
13052
13053 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13054
13055         * gst/gstvalue.c: (gst_value_compare_list),
13056         (gst_value_compare_fraction_range),
13057         (gst_value_intersect_fraction_fraction_range),
13058         (gst_value_intersect_fraction_range_fraction_range),
13059         (gst_value_subtract_fraction_fraction_range),
13060         (gst_value_subtract_fraction_range_fraction_range),
13061         (gst_value_get_compare_func), (gst_value_compare),
13062         (gst_value_compare_with_func):
13063         * gst/gstvalue.h:
13064           Saves the expensive lookup of the compare function in many cases
13065          (#345444)
13066
13067 2006-08-18  Edward Hervey  <edward@fluendo.com>
13068
13069         * tests/check/gst/gstinfo.c: (gst_info_suite):
13070         Disable test that require gstdebug if it wasn't built in core.
13071
13072 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13073
13074         * docs/random/ensonic/logging.txt:
13075           update ideas
13076           
13077         * gst/gstinfo.c: (gst_debug_log_default):
13078           reorder fields, save some columns, add optional color codes for log
13079           levels
13080
13081 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13082
13083         * docs/random/ensonic/logging.txt:
13084           add ideas about making the logs a bit more useful
13085
13086 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13087
13088         * docs/pwg/advanced-events.xml:
13089         * docs/pwg/titlepage.xml:
13090           Update for 0.10 API (#340627). Add myself
13091           to authors list.
13092
13093 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13094
13095         * docs/libs/gstreamer-libs-docs.sgml:
13096         * docs/libs/gstreamer-libs-sections.txt:
13097         * libs/gst/check/gstbufferstraw.c:
13098           Make gstcheck stuff show up in docs (still needs to
13099           be documented properly though).
13100
13101 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13102
13103         * docs/gst/gstreamer-sections.txt:
13104         * gst/Makefile.am:
13105         * gst/gst.c: (init_post):
13106         * gst/gst_private.h:
13107         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13108         * gst/gstquark.h:
13109         * gst/gstquery.c: (gst_query_new_position),
13110         (gst_query_set_position), (gst_query_parse_position),
13111         (gst_query_new_duration), (gst_query_set_duration),
13112         (gst_query_parse_duration), (gst_query_new_convert),
13113         (gst_query_set_convert), (gst_query_parse_convert),
13114         (gst_query_new_segment), (gst_query_set_segment),
13115         (gst_query_parse_segment), (gst_query_new_seeking),
13116         (gst_query_set_seeking), (gst_query_parse_seeking):
13117         Add internal helpers for pre-registering quarks from static strings
13118         and using the quark values directly instead of looking them up when
13119         creating and parsing queries. Can be used for event construction too.
13120         Closes #350432.
13121
13122 2006-08-16  Wim Taymans  <wim@fluendo.com>
13123
13124         * gst/gstbin.c:
13125         Fix bogus docs.
13126
13127 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13128
13129         * gst/gstutils.c: (gst_util_set_value_from_string):
13130           Fix memleak (#351502).
13131
13132         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13133           Add unit test for most of gst_util_set_value_from_string()
13134           (not that one would want to encourage use of this function).
13135
13136 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13137
13138         * libs/gst/check/gstcheck.h:
13139           Use const gchar * variables in fail_unless_equals_string
13140           macro to avoid compiler warnings (and don't use tabs for
13141           indenting).
13142
13143 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13144
13145         * tools/gst-launch.c: (print_tag):
13146           More space on the left for the tag names, to cater
13147           for the 'extended comment' tag (not touching the
13148           string for the first line since it's translated).
13149
13150 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13151
13152         * libs/gst/check/gstcheck.h:
13153           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13154           print something when they fail.
13155
13156 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13157
13158         * docs/gst/gstreamer-sections.txt:
13159         * gst/gsttaglist.c: (_gst_tag_initialize):
13160         * gst/gsttaglist.h:
13161           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13162           Also change merge function for GST_TAG_COMMENT to
13163           use_first.
13164
13165 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13166
13167         * gst/gstinfo.c: (gst_debug_print_object):
13168           Make GST_PTR_FORMAT print messages as well.
13169
13170         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13171         (GST_START_TEST), (gst_info_suite):
13172           More tests.
13173
13174 2006-08-14  Edward Hervey  <edward@fluendo.com>
13175
13176         * gst/gstelementfactory.c: (gst_element_register):
13177         If the GstElementClass doesn't have a GstElementDetails with all fields
13178         filled up correctly (longname, description AND author), then error out
13179         nicely instead of crashing.
13180
13181 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13182
13183         * gst/gststructure.c:
13184           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13185
13186         * gst/gstvalue.h:
13187           Expand on the difference between arrays and lists as we use them.
13188           
13189 2006-08-14  Wim Taymans  <wim@fluendo.com>
13190
13191         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13192         If the parent state change function failed, don't assume we can safely
13193         stop the source, this will be done when the pads are deactivated.
13194
13195 2006-08-14  Wim Taymans  <wim@fluendo.com>
13196
13197         * gst/gstbuffer.c:
13198         * gst/gsttask.c: (gst_task_join):
13199         Small doc updates.
13200
13201         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13202         (gst_pad_stop_task):
13203         When pad (de)activation failed for some reason, restore the old
13204         activation mode and set the pad to flushing instead of assuming the
13205         pad is deactivated.
13206         If the _task_join() failed, reinstall the task on the pad so that it can
13207         be stopped later and return an error.
13208
13209 2006-08-11  Andy Wingo  <wingo@pobox.com>
13210
13211         * configure.ac:
13212         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13213         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13214         is only for users of API that don't want to see deprecated
13215         functions in the headers; people that want to compile out
13216         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13217         CFLAGS. Fixes the build of multifdsink, or will soon..
13218
13219 2006-08-11  Wim Taymans  <wim@fluendo.com>
13220
13221         * docs/gst/gstreamer-sections.txt:
13222         Add GstClockClass vmethod docs.
13223
13224         * gst/gstcaps.h:
13225         Mark #endif with comment for associated #if
13226
13227         * gst/gstclock.c: (gst_clock_id_wait):
13228         * gst/gstclock.h:
13229         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13230         most clock implementations.
13231         Document vmethods.
13232         Flesh out docs about resolution methods.
13233         API: GstClockClass::wait_jitter
13234
13235         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13236         (gst_system_clock_async_thread),
13237         (gst_system_clock_id_wait_jitter_unlocked),
13238         (gst_system_clock_id_wait_jitter):
13239         Use base class wait_jitter variant for improved performance
13240         due to less clock polling.
13241
13242 2006-08-11  Edward Hervey  <edward@fluendo.com>
13243
13244         * gst/gst.c: (gst_init_check), (init_post):
13245         Set gst as being initialized before scanning/updating the registry,
13246         since there might be my python plugin loader that calls gst_init() and
13247         we don't want to loop back in.
13248         Closes #350879
13249
13250 2006-08-11  Wim Taymans  <wim@fluendo.com>
13251
13252         * docs/design/part-qos.txt:
13253         Bring docs in line with the code. Mostly the sign of the jitter was
13254         wrong in the docs. Fixes #349943.
13255
13256         * gst/gstclock.c:
13257         Fix the docs for the jitter.
13258
13259         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13260         (gst_event_parse_tag), (gst_event_new_buffer_size),
13261         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13262         (gst_event_new_seek), (gst_event_parse_seek),
13263         (gst_event_new_navigation):
13264         Make sure the GstStructure has no parent when creating custom
13265         events.
13266         Add some more argument checking so that we avoid 0.0 rates.
13267         Flesh out the docs for the QoS event some more.
13268
13269 2006-08-11  Wim Taymans  <wim@fluendo.com>
13270
13271         * docs/gst/gstreamer-sections.txt:
13272         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13273         (ensure_current_registry_forking), (ensure_current_registry),
13274         (parse_one_option), (parse_goption_arg), (gst_deinit),
13275         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13276         * gst/gst.h:
13277         Doc updates.
13278         Added API and command line option to disable registry forking in
13279         addition to the environment variable.
13280         Constify some static arrays.
13281         Added some more debug.
13282         Don't deinit twice.
13283         API: gst_registry_fork_is_enabled()
13284         API: gst_registry_fork_set_enabled()
13285         API: --gst-disable-registry-fork command line option
13286         Fixes #348918.
13287
13288 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13289
13290         * gst/gst.c: (gst_init):
13291           Fix typo in error message.
13292
13293 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13294
13295         * libs/gst/controller/gstcontroller.h:
13296           fix ABI size-correction
13297
13298         * tests/check/libs/gdp.c: (gst_dp_suite):
13299           make tests that use deprecated API conditional
13300
13301 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13302
13303         * docs/libs/gstreamer-libs-sections.txt:
13304         * libs/gst/controller/gstcontroller.c:
13305         (_gst_controller_get_property), (_gst_controller_set_property),
13306         (_gst_controller_init), (_gst_controller_class_init):
13307         * libs/gst/controller/gstcontroller.h:
13308         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13309         (gst_object_set_control_rate):
13310           API: add gst_object_{s,g}et_control_rate(), add private data section,
13311           fix docs
13312
13313         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13314         * libs/gst/dataprotocol/dataprotocol.h:
13315           add deprecation guards to make gtk-doc happy and allow disabling cruft
13316
13317 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13318
13319         * tests/check/Makefile.am:
13320         * tests/check/gst/.cvsignore:
13321           Let's enable the new unit test as well.
13322
13323 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13324
13325         * configure.ac:
13326         * docs/gst/gstreamer-sections.txt:
13327         * gst/gstconfig.h.in:
13328         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13329         (_gst_info_printf_extension_ptr),
13330         (_gst_info_printf_extension_segment):
13331           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13332           register that lets us easily dump GstSegments into debug
13333           logs (#350419).
13334
13335         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13336         (info_segment_format_printf_extension), (gst_info_suite):
13337           Add simple unit test that logs a bunch of different segments (not
13338           valgrinded at the moment because of leaks in
13339           gst_debug_add_log_function).
13340
13341 2006-08-09  Edward Hervey  <edward@fluendo.com>
13342
13343         * libs/gst/base/gstbasetransform.c:
13344         (gst_base_transform_buffer_alloc):
13345         Even if we can't figure out the proper format to request downstream,
13346         call buffer_alloc() downstream with the input parameters without setting
13347         the caps on the srcpad. This will force negotiation in the chain
13348         function.
13349         Closes #350449
13350
13351 2006-08-08  Edward Hervey  <edward@fluendo.com>
13352
13353         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13354         Unlinking from a pad without a target is now a perfectly valid case
13355         which should NOT raise an assertion.
13356         This case would happen if a linked ghostpad its target set to NULL after
13357         it was previously linked.
13358
13359 2006-08-08  Edward Hervey  <edward@fluendo.com>
13360
13361         * tests/check/libs/gdp.c:
13362         Also comment out the test (see below).
13363
13364 2006-08-08  Edward Hervey  <edward@fluendo.com>
13365
13366         * tests/check/libs/gdp.c: (gst_dp_suite):
13367         Use the architecture information from config.h and not gcc macros
13368         in order to properly disable a test that fails on PPC64.
13369
13370 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13371
13372         * gst/gstelement.c: (gst_element_remove_pad):
13373           Don't crash printing the warning if the pad has no parent.
13374
13375 2006-08-02  Wim Taymans  <wim@fluendo.com>
13376
13377         * libs/gst/dataprotocol/dataprotocol.c:
13378         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13379         (gst_dp_crc), (gst_dp_header_payload_length),
13380         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13381         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13382         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13383         (gst_dp_event_from_packet), (gst_dp_validate_header),
13384         (gst_dp_validate_payload):
13385         Make debug category static
13386         Constify the crc table.
13387         Do some more arg checking in public functions.
13388         Fix some docs and do some small cleanups.
13389
13390         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13391         Add some more checks to see if GDP deals with bogus input.
13392
13393 2006-07-31  Wim Taymans  <wim@fluendo.com>
13394
13395         * gst/gstvalue.c: (gst_value_compare_list):
13396         Fix GstValueList comparison code. Fixes #347293.
13397
13398         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13399         Check to test GstValueList comparison.
13400
13401 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13402
13403         * gst/gstelementfactory.c: (gst_element_factory_create):
13404         Remove unnecessary ref/unref pair
13405
13406         * gst/parse/grammar.y:
13407         Make sure to free the parse buffer on all code paths.
13408         Move a g_free up to the error handler where it's easier to see.
13409
13410         * tests/check/gst/gstevent.c: (test_event):
13411         Extending timeout for downstream travelling events to 10 seconds to
13412         hopefully avoid intermittent failure on the buildbots.
13413
13414         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13415         Don't manually set the state of the src element - it will happen as a
13416         natural consequence of the pipeline changing state, and that way it
13417         will do it in the right order too.
13418
13419 2006-07-31  Wim Taymans  <wim@fluendo.com>
13420
13421         * libs/gst/base/gstbasetransform.c:
13422         (gst_base_transform_buffer_alloc):
13423         Use OBJECT_LOCK and refcounting to get the pad caps in the
13424         buffer_alloc function because the caps could change while we are
13425         busy with them. Fixes #349105
13426
13427 2006-07-31  Wim Taymans  <wim@fluendo.com>
13428
13429         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13430         Protect _PAD_CAPS with OBJECT_LOCK.
13431
13432 2006-07-31  Wim Taymans  <wim@fluendo.com>
13433
13434         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13435         (gst_pad_get_property), (gst_pad_activate_pull),
13436         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13437         (gst_pad_set_activate_function),
13438         (gst_pad_set_activatepull_function),
13439         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13440         (gst_pad_set_getrange_function),
13441         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13442         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13443         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13444         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13445         (gst_pad_set_acceptcaps_function),
13446         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13447         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13448         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13449         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13450         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13451         (gst_pad_configure_sink), (gst_pad_configure_src),
13452         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13453         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13454         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13455         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13456         (gst_pad_send_event):
13457         Use _DEBUG_OBJECT when it makes sense.
13458         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13459         Small cleanups and code reflows.
13460         Avoid caps refcounting in _accept_caps.
13461         Refactor alloc_buffer so that the code performed on the peer is in a
13462         separate function. Also if the pad does not implement a buffer alloc
13463         function, we should still check if the pad is flushing before falling
13464         back to the default allocator.
13465
13466 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13467
13468         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13469         Make all uses of identity and fakesink have silent=true to avoid
13470         serialising every passing data structure, which is breaking tests
13471         on FC4 for some unknown reason.
13472
13473 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13474
13475         * gst/parse/Makefile.am:
13476         * gst/parse/grammar.y:
13477         * gst/parse/parse.l:
13478           Reverted previous patch as it required to bump the flex dependency to
13479           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13480
13481 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13482
13483         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13484
13485         * gst/parse/Makefile.am:
13486         * gst/parse/grammar.y:
13487         * gst/parse/parse.l:
13488           push & pop the state of the lexer for reentrant use case
13489           Fixes #349180
13490
13491 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13492
13493         * libs/gst/base/gstbasesrc.h:
13494           Note in the docs that the ::newsegment vfunc is not actually used by
13495           GstBaseSrc.
13496
13497 2006-07-28  Wim Taymans  <wim@fluendo.com>
13498
13499         * libs/gst/base/gstcollectpads.c:
13500         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13501         (gst_collect_pads_clear), (gst_collect_pads_flush),
13502         (gst_collect_pads_event), (gst_collect_pads_chain):
13503         When flushing a pad, also clear the queued buffer so that we don't
13504         accidentally use it when we shouldn't.
13505         Fix leaks by inreffing incomming buffer.
13506         Flush out queued buffers in case of errors.
13507         Fixes #347452.
13508
13509 2006-07-28  Wim Taymans  <wim@fluendo.com>
13510
13511         * docs/random/phonon-gst:
13512         Random notes about a Phonon backend.
13513
13514 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13515
13516         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13517         Extra debug output
13518         * tests/check/libs/gdp.c: (gst_dp_suite):
13519         Take a whack at fixing the ppc compile using a different define to
13520         disable the broken test.
13521
13522         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13523         Remove excess g_print()
13524
13525 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13526
13527         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13528         Oops, meant to uncomment this line too to dampen the noise a bit.
13529
13530 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13531
13532         * gst/parse/grammar.y:
13533         * gst/parse/parse.l:
13534         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13535         (GST_START_TEST), (parse_suite):
13536         Fix some of the leaks exposed by extending the parse-launch testsuite,
13537         and move the 3 I can't figure out into a separate test that won't run
13538         the pipelines unless the appropriate line is uncommented.
13539
13540 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13541
13542         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13543           Requesting 0 bytes before the end of the file should result in
13544           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13545           unit test.
13546
13547 2006-07-27  Wim Taymans  <wim@fluendo.com>
13548
13549         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13550         Fix useless assert, a uint is always positive.
13551
13552         * gst/gststructure.c: (gst_structure_nth_field_name),
13553         (gst_structure_foreach), (gst_structure_map_in_place):
13554         Check input arguments for public functions to avoid obvious crashes.
13555
13556         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13557         * plugins/elements/gstfakesink.h:
13558         Do less useless typechecking.
13559
13560 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13561
13562         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13563           Do not use mmap() by default since there are a number of error
13564           conditions that we would like to handle in a non-fatal way that
13565           will result in a SIGBUS if we use mmap(). Examples: external
13566           devices (USB harddrive, portable music player) being unplugged
13567           while in use; file on mounted CD/DVD that can't be read because
13568           the medium is partly damaged. Fixes #348455 and #348475.
13569
13570 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13571
13572         * gst/gstquery.h:
13573         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13574         rates are a gdouble
13575
13576 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13577
13578         * gst/gstregistry.c:
13579           Move big documentation comment into class section header, so that it
13580           appears in the API docs.
13581
13582 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13583
13584         * docs/gst/gstreamer-sections.txt:
13585         Oops. Commit the docs additions too for new API.
13586         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13587
13588 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13589
13590         * gst/gststructure.c: (gst_structure_id_set),
13591         (gst_structure_id_set_valist):
13592         * gst/gststructure.h:
13593         Add API for setting values into structures without performing
13594         a quark lookup, if the appropriate quark is already known.
13595
13596         API: gst_structure_id_set
13597         API: gst_structure_id_set_valist
13598
13599         * gst/parse/grammar.y:
13600         * gst/parse/parse.l:
13601         Remove some dead code shown by the coverage information.
13602         Don't throw a critical g_warning when encountering a syntax error,
13603         just warn and let the normal error path handle it.
13604
13605         * plugins/elements/gstelements.c:
13606         Bump the rank of filesink up to PRIMARY so that it is preferred over
13607         gnomevfssink for file:// sink uri's
13608
13609         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13610         (GST_START_TEST), (run_delayed_test),
13611         (gst_parse_test_element_base_init),
13612         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13613         (gst_parse_test_element_change_state),
13614         (gst_register_parse_element), (parse_suite):
13615         Beef up the tests for parse syntax to check that more error cases
13616         fail as they are supposed to. Increases the test coverage a bit.
13617
13618 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13619
13620         * docs/manual/basics-elements.xml:
13621           Fix gst_element_link() example.
13622
13623         * gst/gstutils.c:
13624           Mention in API docs that one should usually gst_bin_add()
13625           elements to a bin or pipeline before doing the linking.
13626           
13627 2006-07-26  Wim Taymans  <wim@fluendo.com>
13628
13629         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13630         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13631         Avoid function call for known types by keeping the buffer and
13632         subbuffer GType global.
13633
13634         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13635         Random silly optimisations in read() path.
13636
13637 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13638
13639         * tools/gst-launch.c: (main):
13640           If the top-level of the parse is a normal bin, it doesn't do the
13641           right logic to run as a top-level element, so place it inside a
13642           pipeline.
13643
13644 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13645
13646         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13647           Remove superfluous g_object_notify() calls, GObject does
13648           that for us automatically.
13649
13650 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13651
13652         * gst/gstinfo.h:
13653           on Win32, use dllspec to export the debug category symbols
13654
13655 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13656
13657         * gst/gsttaglist.c: (_gst_tag_initialize):
13658           Allow more than one GST_TAG_IMAGE per taglist.
13659
13660 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13661
13662         * gst/gstminiobject.c:
13663           update docs
13664         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13665         (gst_fd_src_create):
13666           log recurring events at LOG level
13667           add more debug for when the fd gets set
13668
13669 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13670
13671         * gst/gstparse.c: (gst_parse_launch):
13672           Also remove reentrance checks if flex is MT safe (#348179)
13673          Fix my empty ChangeLog entry below
13674
13675 2006-07-21  Andy Wingo  <wingo@pobox.com>
13676
13677         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13678
13679         * libs/gst/check/Makefile.am
13680         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13681         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13682         * libs/gst/check/gstbufferstraw.h:
13683         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13684         functions, thus proving I am still a GStreamer haxor. OK I wrote
13685         them a long time ago, but anyways.
13686
13687 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13688
13689         * configure.ac:
13690         * gst/gstparse.c: (gst_parse_launch):
13691           Check for flex version and omit mutex if we have a MT save flex
13692           (fixes #348179)
13693
13694 2006-07-21  Wim Taymans  <wim@fluendo.com>
13695
13696         * gst/gstparse.c: (gst_parse_launch):
13697         Protect recursive calls to _parse with a recursive mutex
13698         and busy flag.
13699
13700 2006-07-21  Wim Taymans  <wim@fluendo.com>
13701
13702         * tests/check/gst/gstpad.c: (GST_START_TEST):
13703         Fix leak in test.
13704
13705 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13706
13707         * gst/gstparse.c: (gst_parse_launch):
13708           Do not hang on recursive usage of gst_parse_launch()
13709
13710 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13711
13712         * gst/gsttaglist.c:
13713           Add some more docs, comments and FIXME 0.11s here and there
13714           and also fix some typos.
13715
13716 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * gst/gstsegment.h:
13719           Convert tabs to spaces for better readability. 
13720
13721 2006-07-20  Edward Hervey  <edward@fluendo.com>
13722
13723         * tests/check/libs/gdp.c: (gst_dp_suite):
13724         the test_buffer test fails at line 140 on ppc64 at the following
13725         check:
13726         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13727                 GST_BUFFER_FLAG_IN_CAPS),
13728                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13729         See bug #348114 for more details.
13730
13731 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13732
13733         * docs/pwg/advanced-scheduling.xml:
13734         * gst/gstpad.c:
13735           Fix typos (#348000).
13736
13737 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13738
13739         * docs/pwg/intro-basics.xml:
13740           Fix wrong links (#347927).
13741
13742 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13743
13744         * gst/gstregistry.h:
13745         * gst/gstregistryxml.c: (load_feature),
13746         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13747         * win32/common/config.h:
13748           make --disable-index work (#342564)
13749
13750 2006-07-18  Wim Taymans  <wim@fluendo.com>
13751
13752         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13753
13754         * gst/Makefile.am:
13755         * gst/gsttrace.h:
13756         The attached patch adds two missing defines to gsttrace.h when tracing
13757         is disabled.  It also corrects one existing define.
13758         Fixes #347756.
13759
13760 2006-07-17  Wim Taymans  <wim@fluendo.com>
13761
13762         * docs/gst/gstreamer-sections.txt:
13763         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13764         * gst/gst.h:
13765         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13766         Add two functions to check and change the SIGSEGV behaviour
13767         when loading plugins.
13768         Don't mess with the SIGSEGV handler when we were told not to.
13769         Fixes #347794.
13770         API: gst_segtrap_is_enabled
13771         API: gst_segtrap_set_enabled
13772
13773 2006-07-14  Wim Taymans  <wim@fluendo.com>
13774
13775         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13776         * tests/check/elements/filesrc.c: (GST_START_TEST):
13777         Revert fix for regression in #347408 after release.
13778
13779 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13780
13781         Patch by: Antoine Tremblay <hexa00 at gmail com>
13782
13783         * gst/gstutils.c: (gst_element_unlink):
13784           Free iterator when done (#347311).
13785
13786         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13787           And add a test case for this.
13788
13789 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13790
13791         * configure.ac:
13792         Bump nano back to CVS
13793
13794 === release 0.10.9 ===
13795
13796 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13797
13798         * configure.ac:
13799           releasing 0.10.9, "On the road again"
13800
13801 2006-07-13  Wim Taymans  <wim@fluendo.com>
13802
13803         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13804         * tests/check/elements/filesrc.c: (GST_START_TEST):
13805         Revert pull-0 fix for release. Disable check. Fixes #347408.
13806
13807 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13808
13809         * libs/gst/dataprotocol/dataprotocol.c:
13810         (gst_dp_event_from_packet_1_0):
13811           Fixes #347337: failure to deserialize event packets with
13812           empty payload (only event type)
13813
13814 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13815
13816         * gst/Makefile.am:
13817           do not install a .c file in the header directory
13818
13819 2006-07-13  Edward Hervey  <edward@fluendo.com>
13820
13821         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13822         GhostPad no longer implicitely use the padtemplates of the targets.
13823         Fixes #347384
13824
13825 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13826
13827         * gst/gstvalue.c: (gst_value_compare_list),
13828         (gst_value_compare_array), (_gst_value_initialize):
13829         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13830         Make GstValueArray comparison be order dependent as designed.
13831         Add checks for value lists and value array comparisons.
13832         Fixes #347221
13833
13834 2006-07-11  Edward Hervey  <edward@fluendo.com>
13835
13836         * gst/gstbin.c: (activate_pads),
13837         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13838         (gst_bin_change_state_func):
13839         (de)activate src pads before calling state_change on the childs.
13840         This is to avoid the case where a src ghostpad is blocked (holding the
13841         stream lock), which would block the deactivation of the ghostpad's
13842         target pad.
13843         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13844         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13845         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13846         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13847         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13848         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13849         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13850         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13851         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13852         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13853         (gst_ghost_pad_class_init),
13854         (gst_ghost_pad_internal_do_activate_push),
13855         (gst_ghost_pad_internal_do_activate_pull),
13856         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13857         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13858         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13859         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13860         GhostPads now create their internal GstProxyPad at creation (and not
13861         when they're linked, as it was being done previously).
13862         The internal and target pads are linked straight away.
13863         The data will also travel through the other pad in order to make
13864         pad blocking and probes non-hackish (the probe/block now really happens
13865         on the GhostPad and not on the target).
13866         * gst/gstpad.c: (gst_pad_set_blocked_async),
13867         (gst_pad_link_prepare), (gst_pad_push_event):
13868         Remove previous ghostpad cruft.
13869         * gst/gstutils.c: (gst_pad_add_data_probe),
13870         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13871         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13872         (gst_pad_remove_buffer_probe):
13873         Remove previous ghost pad cruft.
13874         Added more detailed debug statements.
13875         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13876         Fix the testsuite for refcounting changes.
13877         The comments about who has references were correct, but the refcount
13878         being checked wasn't the same (!?!).
13879
13880         Fixes #341029
13881
13882 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13883
13884         * docs/gst/gstreamer-sections.txt:
13885         * gst/gstconfig.h.in:
13886         More docs for configuration options, add docs to gtk-doc.
13887
13888 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13889
13890         * gst/Makefile.am:
13891         * gst/gstconfig.h.in:
13892         * win32/common/config.h:
13893         Fix build when disabling tracing (fixes #344016). Also start to document
13894         the defines that disable the sub-systems.
13895
13896 2006-07-10  Edward Hervey  <edward@fluendo.com>
13897
13898         * gst/gst.c: (ensure_current_registry_forking):
13899         let's make valgrind happy...
13900
13901 2006-07-09  Wim Taymans  <wim@fluendo.com>
13902
13903         * gst/gstelement.c: (activate_pads),
13904         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13905         Better pad activation code: Reset the collect value too on resync.
13906         Add some comments.
13907
13908 2006-07-09  Wim Taymans  <wim@fluendo.com>
13909
13910         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13911         (gst_pad_activate_push):
13912         Use some more macros where it makes sense.
13913         Allow pad mode switching instead of asserting. When a pad
13914         is activated in one mode and we activate it in another, 
13915         deactivate it first before activating it in a different mode.
13916         Fixes #329198.
13917
13918 2006-07-08  Andy Wingo  <wingo@pobox.com>
13919
13920         * tools/gst-launch.c (main): Handle err == NULL.
13921
13922         * gst/gst.c (init_post, ensure_current_registry)
13923         (ensure_current_registry_forking)
13924         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13925         factoring out the registry scanning into separate functions. Don't
13926         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13927         Better environment var name/interface suggestions accepted.
13928
13929 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13930
13931         * gst/gstobject.c: (gst_object_set_name_default),
13932         (gst_object_set_name):
13933           Random micro-optimisation: don't use a hash table
13934           with strings as keys and the usual strdup/strcmp
13935           involved, but rather just use the GQuark of the
13936           type name as key, since it needs to be looked up
13937           anyway to get the type name string.
13938
13939         * tests/check/gst/gstobject.c: (GST_START_TEST):
13940           Fix various leaks.
13941
13942 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13943
13944         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
13945         (gst_bin_iterate_all_by_interface):
13946           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
13947           GTypes are gulongs and thus the top 4 bytes might be cut
13948           off on some platforms when doing GPOINTER_TO_INT, leading
13949           to invalid GTypes and bad things happening (see RH bug #179654).
13950           Also add a check to make sure the type passed in is really
13951           an interface type.
13952
13953 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13954
13955         * .cvsignore:
13956           Ignore more.
13957
13958 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13959
13960         * Makefile.am:
13961         * configure.ac:
13962         * gst-element-check.m4:
13963         * gst-element-check.m4.in:
13964           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
13965           instead of the unversioned gst-inspect (#324176, #168659).
13966
13967 2006-07-06  Wim Taymans  <wim@fluendo.com>
13968
13969         * gst/gstmessage.h:
13970         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
13971         warnings.
13972
13973 2006-07-06  Wim Taymans  <wim@fluendo.com>
13974
13975         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13976         (gst_base_src_wait), (gst_base_src_update_length),
13977         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
13978         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
13979         (gst_base_src_loop), (gst_base_src_start),
13980         (gst_base_src_activate_pull):
13981         Update docs.
13982         blocksize == 0 now means the default blocksize when working in push
13983         based mode.
13984         Remove some pointless asserts in _wait function.
13985         Fix offset/length calculations and EOS handling. We can now pull 0
13986         bytes as well, which is allowed.
13987         use _check_get_range() to decide if we can operate in _pull based
13988         mode.
13989         Fix refcounting leak when check_get_range function was not 
13990         implemented.
13991         API GstBaseSrc::blocksize range can be 0 too now (default)
13992
13993         * tests/check/elements/filesrc.c: (GST_START_TEST),
13994         (filesrc_suite):
13995         Added check to test _get_range() behaviour.
13996
13997 2006-07-06  Wim Taymans  <wim@fluendo.com>
13998
13999         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14000         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14001         (gst_pad_pull_range):
14002         * gst/gstpad.h:
14003         Lots of comments and docs added to the pad functions.
14004         Flesh out the expected behaviour of the get_range() functions.
14005
14006 2006-07-06  Wim Taymans  <wim@fluendo.com>
14007
14008         * gst/gstbus.h:
14009         * gst/gstclock.h:
14010         * gst/gstevent.h:
14011         * gst/gstiterator.h:
14012         * gst/gstpad.h:
14013         * gst/gstplugin.h:
14014         * gst/gsttask.h:
14015         Remove comma at end of enumerator list. 
14016
14017 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14018
14019         * win32/common/libgstbase.def:
14020         * win32/common/libgstdataprotocol.def:
14021         * win32/common/libsgtreamer.def:
14022         Add new exported functions.
14023
14024 2006-07-05  Wim Taymans  <wim@fluendo.com>
14025
14026         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14027         Add some more docs here and there.
14028
14029 2006-07-05  Wim Taymans  <wim@fluendo.com>
14030
14031         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14032         (gst_base_sink_loop), (gst_base_sink_get_position):
14033         When operating in pull mode update the offset so that we
14034         read sequentially.
14035
14036 2006-07-05  Wim Taymans  <wim@fluendo.com>
14037
14038         * gst/gstregistryxml.c: (read_string):
14039         Avoid strdup. (will happen in libxml, but hey!)
14040
14041         * gst/gsturi.c:
14042         Add some more docs.
14043
14044 2006-07-05  Wim Taymans  <wim@fluendo.com>
14045
14046         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14047         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14048         (gst_buffer_suite):
14049         No point in checking if the size of the subbuffer > 0, the
14050         code handles it correclty as demonstrated by unit test.
14051         Also add a unit test for the zero sized _new_and_alloc and
14052         _copy. Fixes #346663.
14053
14054 2006-07-05  Wim Taymans  <wim@fluendo.com>
14055
14056         * libs/gst/base/gstbasetransform.c:
14057         (gst_base_transform_prepare_output_buffer),
14058         (gst_base_transform_buffer_alloc),
14059         (gst_base_transform_handle_buffer):
14060         Make sure the buffer we pass to transform_ip has a refcount of
14061         1 and thus is writable. Fixes #343196
14062
14063 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14064
14065         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14066         (gst_file_src_init), (gst_file_src_set_property),
14067         (gst_file_src_get_property), (gst_file_src_map_region):
14068         * plugins/elements/gstfilesrc.h:
14069         Add "sequential" property, off by default, to use madvise and hint
14070         to the kernel that sequential access is desired.
14071         Touch all retrieved pages by default to ensure they are pulled
14072         into memory. (Closes #345720)
14073
14074 2006-07-03  Wim Taymans  <wim@fluendo.com>
14075
14076         * docs/design/part-block.txt:
14077         * docs/design/part-dynamic.txt:
14078         Small docs updates.
14079
14080 2006-07-03  Wim Taymans  <wim@fluendo.com>
14081
14082         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14083         (gst_caps_unref), (gst_static_caps_get),
14084         (gst_caps_append_structure):
14085         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14086         Use GSlice when the glib we build against is >= 2.10
14087
14088 2006-07-03  Wim Taymans  <wim@fluendo.com>
14089
14090         * gst/gstelement.c: (gst_element_pads_activate):
14091         Small cleanup in pad activation code.
14092
14093 2006-07-03  Wim Taymans  <wim@fluendo.com>
14094
14095         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14096
14097         * gst/gst-i18n-app.h:
14098         * gst/gst-i18n-lib.h:
14099         * tools/gst-inspect.c: (print_signal_info):
14100         The attached patch will make the inclusion of gettext.h unconditional in
14101         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14102         libintl.h in tools/gst-inspect.c.
14103         This allows use of --disable-nls again and fixes #344642.
14104
14105 2006-07-03  Edward Hervey  <edward@fluendo.com>
14106
14107         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14108         Implement pad blocking on events according to part-block.txt.
14109         More comments on behaviour.
14110         * tests/check/gst/gstevent.c: (test_event):
14111         Send event to peer pad of blocked pad (else it will block).
14112
14113 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14114
14115         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14116         (gst_check_run_suite):
14117           if we get the wrong message, give us the types as string
14118         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14119           Fix a translatable
14120         * tests/check/elements/filesrc.c: (GST_START_TEST):
14121           add a test for trying to open a non-existing file
14122
14123 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14124
14125         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14126           add a test for adding self
14127
14128 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14129
14130         * libs/gst/check/gstcheck.h:
14131           add some assert_ as alias for fail_unless_*
14132         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14133           increase test coverage
14134
14135 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14136
14137         * Makefile.am:
14138           include lcov.mak for lcov coverage generation
14139         * tools/Makefile.am:
14140           add to CLEANFILES
14141
14142 2006-07-02  Edward Hervey  <edward@fluendo.com>
14143
14144         * tests/check/elements/.cvsignore:
14145         moaping
14146
14147 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14148
14149         * configure.ac:
14150           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14151         * tests/check/Makefile.am:
14152           clean up gcov files
14153
14154 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14155
14156         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14157           remove gst_caps_simplify; it was not declared and not used
14158           and deprecated in 0.8
14159
14160 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14161
14162         * docs/faq/gst-uninstalled:
14163           don't put empty paths on PYTHONPATH
14164         * docs/gst/gstreamer-sections.txt:
14165           remove some symbols that are not there
14166
14167 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14168
14169         * gst/gstcaps.c: (gst_caps_compare_structures):
14170           whitespace fixes
14171         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14172         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14173           add more tests
14174
14175 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14176
14177         * libs/gst/dataprotocol/Makefile.am:
14178           build dataprotocol test by linking to the lib, instead of
14179           compiling the source, so we get coverage
14180         * tests/check/Makefile.am:
14181         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14182         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14183           add a test for filesrc
14184
14185 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14186
14187         * tests/check/gst/gststructure.c: (GST_START_TEST),
14188         (gst_structure_suite):
14189           Push coverage from 59.04% to 70.00%
14190
14191 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14192
14193         * tests/check/Makefile.am:
14194           gst-inspect every element; this makes sure that we also get
14195           coverage on element's get/set functions
14196
14197 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14198
14199         * configure.ac:
14200           set CFLAGS and friends to -O0 if gcov is being used
14201           add GCOV LIBS
14202         * gst/Makefile.am:
14203         * libs/gst/base/Makefile.am:
14204         * libs/gst/check/Makefile.am:
14205         * libs/gst/controller/Makefile.am:
14206         * libs/gst/dataprotocol/Makefile.am:
14207         * libs/gst/net/Makefile.am:
14208         * plugins/elements/Makefile.am:
14209         * plugins/indexers/Makefile.am:
14210           add makefile rules to generate gcov data and clean up
14211         * tests/check/Makefile.am:
14212           add a coverage target that generates an html overview
14213           of coverage data
14214
14215 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14216
14217         * tests/check/elements/fakesink.c:
14218         * tests/check/elements/fakesrc.c:
14219         * tests/check/elements/fdsrc.c:
14220         * tests/check/elements/identity.c:
14221         * tests/check/generic/sinks.c: (gst_sinks_suite):
14222         * tests/check/generic/states.c:
14223         * tests/check/gst/gst.c:
14224         * tests/check/gst/gstabi.c:
14225         * tests/check/gst/gstbin.c:
14226         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14227         * tests/check/gst/gstbus.c: (gst_bus_suite):
14228         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14229         * tests/check/gst/gstelement.c:
14230         * tests/check/gst/gstevent.c: (gst_event_suite):
14231         * tests/check/gst/gstghostpad.c:
14232         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14233         * tests/check/gst/gstmessage.c: (gst_message_suite):
14234         * tests/check/gst/gstminiobject.c:
14235         * tests/check/gst/gstobject.c:
14236         * tests/check/gst/gstpad.c:
14237         * tests/check/gst/gstpipeline.c:
14238         * tests/check/gst/gstplugin.c:
14239         * tests/check/gst/gstquery.c: (gst_query_suite):
14240         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14241         * tests/check/gst/gststructure.c:
14242         * tests/check/gst/gstsystemclock.c:
14243         * tests/check/gst/gsttag.c:
14244         * tests/check/gst/gsttask.c: (gst_task_suite):
14245         * tests/check/gst/gstutils.c:
14246         * tests/check/gst/gstvalue.c:
14247         * tests/check/libs/adapter.c:
14248         * tests/check/libs/basesrc.c:
14249         * tests/check/libs/collectpads.c:
14250         * tests/check/libs/controller.c:
14251         * tests/check/libs/gdp.c: (gst_dp_suite):
14252         * tests/check/libs/gstnetclientclock.c:
14253         * tests/check/libs/gstnettimeprovider.c:
14254         * tests/check/libs/libsabi.c: (libsabi_suite):
14255         * tests/check/libs/typefindhelper.c:
14256         * tests/check/pipelines/cleanup.c:
14257         * tests/check/pipelines/parse-launch.c:
14258         * tests/check/pipelines/simple-launch-lines.c:
14259         * tests/check/pipelines/stress.c: (stress_suite):
14260           use the new macro
14261
14262 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14263
14264         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14265         * libs/gst/check/gstcheck.h:
14266           create a macro and function so that the simple unit test
14267           case can be just one macro to create main()
14268
14269 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14270
14271         * gst/gstbin.c: (gst_bin_restore_thyself):
14272         * gst/gstxml.c: (gst_xml_make_element):
14273           Fix deserialisation from XML. Set parent manually
14274           instead of using gst_bin_add(), since gst_bin_add()
14275           will unlink all pads of the element being added.
14276           Fixes #341667.
14277
14278 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14279
14280         Patch by: Peter Kjellerstedt <pkj at axis com>
14281
14282         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14283           Fix missing g_strdup() and double free when using the
14284           --gst-plugin-load command line option (#346097).
14285
14286 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14287
14288         * gst/gstinfo.c:
14289           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14290
14291         * libs/gst/net/gstnetclientclock.c:
14292         * libs/gst/net/gstnettimeprovider.c:
14293           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14294
14295 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14296
14297         * docs/manual/advanced-dataaccess.xml:
14298           Fix buffer probe example compilation in
14299           ADM (#345708).
14300         
14301 2006-06-22  Edward Hervey  <edward@fluendo.com>
14302
14303         * gst/gstelement.c: (gst_element_pads_activate):
14304         We need to deactivate src pads first and then sink pads.
14305         The reason is the src pads might be blocking while holding the streaming
14306         lock, so we need to deactivate them first so that deactivating the sink
14307         pads doesn't block (since it will require the streaming lock).
14308
14309 2006-06-22  Wim Taymans  <wim@fluendo.com>
14310
14311         * libs/gst/base/gstbasetransform.c:
14312         (gst_base_transform_buffer_alloc):
14313         Forgot to remove two unneeded unrefs.
14314         Simplify a check _is_equal allready checks the obvious case.
14315
14316 2006-06-22  Wim Taymans  <wim@fluendo.com>
14317
14318         * docs/design/part-block.txt:
14319         Some docs about what pad_block should do.
14320
14321 2006-06-22  Wim Taymans  <wim@fluendo.com>
14322
14323         * gst/gstcaps.c: (gst_caps_replace):
14324         Fix crasher when passed NULL. Doc clarification.
14325         Optimize for the trivial case.
14326
14327         * gst/gstpipeline.c: (gst_pipeline_change_state):
14328         Small cleanups.
14329
14330         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14331         Small documentation cleanup.
14332
14333         * libs/gst/base/gstbasetransform.c:
14334         (gst_base_transform_buffer_alloc):
14335         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14336         is what we need and it avoids a whole lot of redundant 
14337         refcount operations.
14338
14339 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14340
14341         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14342
14343         * docs/manual/advanced-dataaccess.xml:
14344           Fix 'Embedding static elements' section to use
14345           GST_PLUGIN_DEFINE_STATIC (#345607).
14346
14347 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14348
14349         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14350           Attempt to 'fix' spuriously failing test case: it seems like the
14351           timeout of half a second is simply too small when the system is under
14352           load otherwise, and the timeout doesn't really seem to serve any
14353           particular purpose here. Give the pipeline a few seconds to preroll
14354           first, and then give it another half a second to go from PAUSED to
14355           PLAYING and marshal the message into the main thread.
14356
14357 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14358
14359         * tools/gst-feedback-m.m:
14360           Don't only use unversioned tools, try versioned tools as well
14361           (#345086).
14362
14363 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14364
14365         * gst/gstbus.c: (gst_bus_class_init):
14366           Fix some typos, make docs more explicit.
14367
14368 2006-06-20  Wim Taymans  <wim@fluendo.com>
14369
14370         * tests/check/gst/gstghostpad.c: (block_callback),
14371         (GST_START_TEST), (gst_ghost_pad_suite):
14372         Added some more ghostpad tests, mainly blocking
14373         and probes.
14374
14375 2006-06-16  Wim Taymans  <wim@fluendo.com>
14376
14377         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14378         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14379         (gst_file_sink_event), (gst_file_sink_render):
14380         * plugins/elements/gstfilesink.h:
14381         Check if we can seek in the file instead of assuming
14382         we always can. Post an error when we are asked to seek in a
14383         non-seekable file (like a fifo). Fixes #343312.
14384         Some cleanups.
14385
14386 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14387
14388         * tools/gst-launch.1.in:
14389           Un-garble (fourcc) bit in filtered caps section.
14390
14391 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14392
14393         * docs/manual/advanced-autoplugging.xml:
14394         * docs/manual/basics-helloworld.xml:
14395         * docs/manual/highlevel-components.xml:
14396           Don't leak bus reference in sample code.
14397
14398 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14399
14400         * autogen.sh:
14401           Add default for new --enable-plugin-docs switch.
14402
14403         * configure.ac:
14404           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14405           Fixes #344039.
14406
14407         * docs/Makefile.am:
14408           Use new ENABLE_PLUGIN_DOCS conditional.
14409
14410 2006-06-14  Wim Taymans  <wim@fluendo.com>
14411
14412         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14413         Make it clear with a FIXME and a real define what the #if 0
14414         previously disabled.
14415
14416 2006-06-14  Wim Taymans  <wim@fluendo.com>
14417
14418         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14419         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14420         * libs/gst/base/gstbasetransform.c:
14421         (gst_base_transform_sink_eventfunc):
14422         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14423         Don't randomly and silently reset a segment when the format 
14424         changes as this is a bug somewhere upstream. Fixes #330379.
14425
14426 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14427
14428         Patch by: Wouter Paesen  <wouter at kangaroot net>
14429
14430         * libs/gst/controller/gstcontroller.c:
14431         (gst_controlled_property_new):
14432           Fix controlling of float properties (#344849).
14433
14434         * tests/check/libs/controller.c:
14435         (gst_test_mono_source_get_property),
14436         (gst_test_mono_source_set_property),
14437         (gst_test_mono_source_class_init), (GST_START_TEST):
14438           While we're at it, add some float stuff to unit test.
14439
14440 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14441
14442         * docs/README:
14443         * docs/images/gdp-header.svg:
14444           add a gdp image
14445         * docs/libs/Makefile.am:
14446         * docs/libs/gdp-header.png:
14447         * libs/gst/dataprotocol/dataprotocol.c:
14448           add it to the API docs
14449         * docs/manual/intro-motivation.xml:
14450           fix typo
14451
14452 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14453
14454         * gst/gst.c: (scan_and_update_registry), (init_post):
14455           If the fork()'ed child process can't write the updated registry cache
14456           file to disk for some reason, make it exit with a failure exit code,
14457           so that the parent can then re-scan the plugins itself and update the
14458           registry structures in memory and work with that (rather than failing
14459           when creating elements because seemingly no plugins are available).
14460           Refactor registry scanning code into separate function for this and
14461           also separate fork() and non-fork() code paths. Fixes #344748.
14462
14463 2006-06-13  Wim Taymans  <wim@fluendo.com>
14464
14465         * docs/manual/advanced-dataaccess.xml:
14466         Fix wrong PluginDesc. Fixes #344755.
14467
14468 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14469
14470         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14471           Fix silly bug that prevented us from creating
14472           ~/.gstreamer-0.10 and writing the registry in one
14473           go (the first call to g_mkstemp() would overwrite the
14474           placeholder in the template string, so the second call
14475           to g_mkstemp() after creating the missing directory
14476           would then error out with 'invalid argument').
14477
14478 2006-06-13  Edward Hervey  <edward@fluendo.com>
14479
14480         * gst/gst.c: (init_post):
14481         Free string.
14482
14483 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14484
14485         * gst/glib-compat-private.h:
14486         * gst/glib-compat.c:
14487         * gst/glib-compat.h:
14488         * gst/gstvalue.c: (gst_value_serialize_flags):
14489           remove GLib 2.6 compatibility code
14490
14491 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14492
14493         * gst/parse/Makefile.am:
14494           Fix build with 'make -j N' even more (#340016).
14495
14496 2006-06-12  Wim Taymans  <wim@fluendo.com>
14497
14498         * docs/gst/gstreamer-sections.txt:
14499         Fix docs.
14500
14501 2006-06-12  Wim Taymans  <wim@fluendo.com>
14502
14503         * gst/gstsegment.c: (gst_segment_set_duration),
14504         (gst_segment_set_last_stop), (gst_segment_set_seek),
14505         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14506         (gst_segment_to_running_time), (gst_segment_clip):
14507         Use G_UNLIKELY to help the compiler a bit.
14508
14509 2006-06-12  Wim Taymans  <wim@fluendo.com>
14510
14511         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14512
14513         * gst/gstevent.c: (gst_event_get_type):
14514         * gst/gstmessage.c:
14515         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14516         (gst_pad_push):
14517         constify quark registration strings. Fixes #344115
14518         Avoid unneeded type checking is _pad_push() by internally
14519         calling gst_pad_chain_unchecked().
14520
14521 2006-06-12  Wim Taymans  <wim@fluendo.com>
14522
14523         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14524         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14525         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14526         (gst_buffer_is_span_fast), (gst_buffer_span):
14527         Init _type for consistency.
14528         Use _FLAGS macro to avoid type check.
14529         Avoid unneeded type checks in subbufer code.
14530
14531 2006-06-12  Wim Taymans  <wim@fluendo.com>
14532
14533         * gst/gst.c: (gst_debug_help):
14534         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14535         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14536         (gst_plugin_feature_list_free):
14537         * gst/gstregistry.c: (gst_registry_add_plugin),
14538         (gst_registry_add_feature), (gst_registry_plugin_filter),
14539         (gst_registry_feature_filter), (gst_registry_find_plugin),
14540         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14541         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14542         * gst/gstregistryxml.c: (load_feature),
14543         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14544         * gst/gstminiobject.c: (gst_mini_object_unref),
14545         (gst_mini_object_replace), (gst_value_mini_object_free),
14546         (gst_value_mini_object_copy):
14547         Use _CAST macros to avoid unneeded type checking.
14548         Added some more G_UNLIKELY.
14549
14550 2006-06-12  Wim Taymans  <wim@fluendo.com>
14551
14552         * gst/gstbuffer.h:
14553         Avoid unneeded type checking.
14554         API: GST_BUFFER_IS_DISCONT
14555
14556         * gst/gstminiobject.h:
14557         Avoid type check in flag accessor.
14558
14559         * gst/gstelementfactory.h:
14560         * gst/gstplugin.h:
14561         * gst/gstpluginfeature.h:
14562         Add _CAST macros.
14563         API: GST_ELEMENT_FACTORY_CAST
14564         API: GST_PLUGIN_CAST
14565         API: GST_PLUGIN_FEATURE_CAST
14566
14567 2006-06-12  Wim Taymans  <wim@fluendo.com>
14568
14569         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14570         (gst_object_unref):
14571         Add G_UNLIKELY in type registration.
14572         Avoid type check in _ref/_unref since that is also
14573         done in glib.
14574
14575 2006-06-12  Wim Taymans  <wim@fluendo.com>
14576
14577         * gst/gsterror.c: (gst_g_error_get_type):
14578         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14579         (gst_static_pad_template_get_type):
14580         * gst/gsttaglist.c: (gst_tag_list_get_type):
14581         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14582         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14583         * gst/gsturi.c: (gst_uri_handler_get_type):
14584         * gst/gstvalue.c: (gst_date_get_type):
14585         * gst/gstxml.c: (gst_xml_get_type):
14586         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14587         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14588         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14589         Add G_UNLIKELY in type registration.
14590
14591 2006-06-12  Wim Taymans  <wim@fluendo.com>
14592
14593         * tools/gst-inspect.c: (print_signal_info):
14594         Properly print enum values.
14595
14596 2006-06-12  Wim Taymans  <wim@fluendo.com>
14597
14598         * gst/gstinfo.c: (gst_debug_set_active),
14599         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14600         * gst/gstinfo.h:
14601         Add some G_[UN]LIKELY.
14602         Maintain __gst_debug_min to avoid formatting the arguments of
14603         debug messages that will be dropped anyway to avoid a lot of 
14604         overhead from the debugging system.
14605
14606 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14607
14608         * po/POTFILES.in:
14609         * po/POTFILES.skip:
14610           add missing files containing translatable strings, tell intltool about
14611           one exception
14612
14613 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14614
14615         * tests/check/libs/.cvsignore:
14616         add test-binary to ignore list
14617
14618 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14619
14620         * docs/libs/gstreamer-libs-docs.sgml:
14621         reorder (put dp into a chapter) and indent
14622
14623 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14624
14625         * configure.ac:
14626           back to HEAD
14627
14628 === release 0.10.8 ===
14629
14630 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14631
14632         * configure.ac:
14633           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14634
14635 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14636
14637         * gst/gst.c: (init_post):
14638           move pid declaration to declaration block
14639
14640 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14641
14642         * gst/gst.c: (init_post):
14643           use _exit() instead of exit() in our forked child; this ensures
14644           that none of the registered exit handlers from whatever is using
14645           GStreamer get executed.  This fixes gnome-mixer-applet failing
14646           to load, because ORBit would shut down.
14647           Spotted by: Edward Hervey  <edward@fluendo.com>
14648           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14649           Fixes #344474
14650
14651 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14652
14653         * configure.ac:
14654           back to TRUNK
14655
14656 === release 0.10.7 ===
14657
14658 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14659
14660         * configure.ac:
14661           releasing 0.10.7, "Soepeke, ik zie ou"
14662
14663 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14664
14665         * configure.ac:
14666         * po/af.po:
14667         * po/az.po:
14668         * po/bg.po:
14669         * po/ca.po:
14670         * po/cs.po:
14671         * po/de.po:
14672         * po/en_GB.po:
14673         * po/fr.po:
14674         * po/it.po:
14675         * po/nb.po:
14676         * po/nl.po:
14677         * po/ru.po:
14678         * po/sq.po:
14679         * po/sr.po:
14680         * po/sv.po:
14681         * po/tr.po:
14682         * po/uk.po:
14683         * po/vi.po:
14684         * po/zh_CN.po:
14685         * po/zh_TW.po:
14686         * win32/common/config.h:
14687           0.10.6.2 prerelease
14688
14689 2006-06-07  Wim Taymans  <wim@fluendo.com>
14690
14691         * gst/gstindex.c: (gst_index_gtype_resolver):
14692         * tools/gst-xmlinspect.c: (print_plugin_info):
14693         Fix leak spotted by coverity checker. Fixes #343827
14694         Fix another other leak found by paolo borelli.
14695
14696 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * libs/gst/dataprotocol/dataprotocol.c:
14699         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14700         (gst_dp_version_get_type), (gst_dp_init),
14701         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14702         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14703         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14704         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14705         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14706         (gst_dp_packetizer_free):
14707         * libs/gst/dataprotocol/dataprotocol.h:
14708           API: add a GstDPPacketizer object, and create/free functions
14709           API: add GstDPVersion enum
14710           Add 1.0 event function that uses the string serialization
14711           Serialize more useful buffer flags
14712           Fixes #343988
14713
14714 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14715
14716         * tests/check/Makefile.am:
14717         * tests/check/gst/gstabi.c:
14718         * tests/check/gst/struct_ppc64.h:
14719         * tests/check/libs/libsabi.c:
14720         * tests/check/libs/struct_ppc64.h:
14721           add ppc64 structure sizes
14722
14723 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14724
14725         * tests/check/Makefile.am:
14726         * tests/check/gst/gstabi.c:
14727         * tests/check/gst/struct_x86_64.h:
14728         * tests/check/libs/libsabi.c:
14729         * tests/check/libs/struct_x86_64.h:
14730           generate and add structure size lists for x86_64
14731
14732 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14733
14734         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14735         * libs/gst/check/gstcheck.h:
14736           factor out the method from tests that checks size of structures,
14737           and add code to generate the header containing these sizes
14738         * tests/check/gst/gstabi.c: (GST_START_TEST):
14739         * tests/check/gst/struct_i386.h:
14740         * tests/check/libs/libsabi.c: (GST_START_TEST):
14741         * tests/check/libs/struct_i386.h:
14742           use it
14743
14744 2006-06-06  Michael Smith  <msmith@fluendo.com>
14745
14746         * gst/gstsegment.h:
14747           Don't use c++-style comments, fixes #343929
14748
14749 2006-06-05  Edward Hervey  <edward@fluendo.com>
14750
14751         * gst/gst.c:
14752         plugin_paths is not used if we build without registry support.
14753
14754         * gst/gstsegment.c: (gst_segment_copy): 
14755         _copy() was always returning NULL...
14756
14757 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14758
14759         * libs/gst/dataprotocol/dataprotocol.c:
14760         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14761         (gst_dp_packet_from_event):
14762           factor out CRC code
14763
14764 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14765
14766         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14767           make sure we unset caps
14768
14769 2006-06-02  Michael Smith  <msmith@fluendo.com>
14770
14771         * libs/gst/check/gstcheck.c: (gst_check_init),
14772         (gst_check_chain_func):
14773         * libs/gst/check/gstcheck.h:
14774           Add a cond/mutex to the check support lib, signal this whenever we
14775           add to the buffers list. This will allow tests to not busy-wait on
14776           the buffer-list.
14777
14778 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14779
14780         * libs/gst/dataprotocol/dataprotocol.c:
14781         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14782         (gst_dp_packet_from_event):
14783           factor out some common header init code
14784
14785 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14786
14787         * docs/libs/gstreamer-libs-sections.txt:
14788         * docs/libs/tmpl/gstdataprotocol.sgml:
14789         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14790         * libs/gst/dataprotocol/dataprotocol.h:
14791           API: make gst_dp_crc() public
14792
14793 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14794
14795         * plugins/indexers/gstindexers.c: (plugin_init):
14796         conditionally register fileindexer (fixes #343598)
14797
14798 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14799
14800         * gst/gsttagsetter.h:
14801         Can't cast ifaces to a class
14802
14803         * libs/gst/net/gstnetclientclock.h:
14804         * libs/gst/net/gstnettimeprovider.h:
14805         * plugins/elements/gstfakesink.h:
14806         * plugins/elements/gstfakesrc.h:
14807         * plugins/elements/gstfdsink.h:
14808         * plugins/elements/gstfdsrc.h:
14809         * plugins/elements/gstfilesink.h:
14810         * plugins/elements/gstfilesrc.h:
14811         * plugins/elements/gstidentity.h:
14812         * plugins/elements/gstqueue.h:
14813         * plugins/elements/gsttee.h:
14814         * plugins/indexers/gstfileindex.c:
14815         * plugins/indexers/gstmemindex.c:
14816         * tests/old/examples/plugins/example.h:
14817         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14818
14819 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14820
14821         * libs/gst/dataprotocol/dataprotocol.c:
14822         (gst_dp_header_from_buffer):
14823           make sure we zero the whole ABI-compatible area
14824
14825 2006-06-01  Wim Taymans  <wim@fluendo.com>
14826
14827         Patch by: Alessandro Decina <alessandro at nnva dot org>
14828
14829         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14830         Make sure the EOS flag is cleared from pads after a flush
14831         or stop. Fixes #343538.
14832
14833         * tests/check/libs/collectpads.c: (GST_START_TEST),
14834         (gst_collect_pads_suite):
14835         Added test for collectpads reusage after EOS.
14836
14837 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14838
14839         * gst/gst.c:
14840          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14841         * win32/common/libgstbase.def:
14842          export gst_collect_pads_set_flushing
14843         * win32/common/libgstreamer.def:
14844          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14845          gst_value_fraction_multiply
14846         * win32/vs6/gst_inspect.dsp:
14847          add a link to intl.lib
14848
14849 2006-05-30  Wim Taymans  <wim@fluendo.com>
14850
14851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14852         (gst_collect_pads_chain):
14853         Handle the case where a pad is removed from the collection
14854         that could cause the other pads to become collectable.
14855
14856 2006-05-30  Wim Taymans  <wim@fluendo.com>
14857
14858         * gst/gstelement.c:
14859         Clarify the use of _release_request_pad() and
14860         _get_request_pad() a bit better.
14861
14862         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14863         (gst_adapter_take_buffer):
14864         Fix some doc and comment typos.
14865
14866 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14867
14868         * docs/gst/gstreamer-sections.txt:
14869         * docs/libs/gstreamer-libs-sections.txt:
14870           add declared symbols
14871
14872 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14873
14874         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14875         Add debug that can be enabled using a #define at the top of the file,
14876         for dumping stats about how late/early we were when waking up from
14877         waiting on the clock.
14878
14879 2006-05-30  Wim Taymans  <wim@fluendo.com>
14880
14881         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14882         When rebuilding the pad list, don't leak the previous list.
14883
14884 2006-05-30  Wim Taymans  <wim@fluendo.com>
14885
14886         Patch by: Lutz Mueller <lutz at topfrose dot de>
14887
14888         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14889         (gst_base_src_get_query_types), (gst_base_src_update_length):
14890         Publish supported query types.
14891         Update last_stop field in get_range mode so the position
14892         query works. Fixes #342321.
14893
14894 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14895
14896         * docs/gst/gstreamer-sections.txt:
14897         * gst/gsttaglist.c: (_gst_tag_initialize):
14898         * gst/gsttaglist.h:
14899           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14900
14901 2006-05-30  Wim Taymans  <wim@fluendo.com>
14902
14903         Patch by: Alessandro Decina <alessandro at nnva dot org>
14904
14905         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14906         Unlock mutex when removing an unknown pad.
14907         Fixes #343334.
14908
14909         * tests/check/Makefile.am:
14910         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14911         (push_event), (setup), (teardown), (GST_START_TEST),
14912         (gst_collect_pads_suite), (main):
14913         Added collecpads check, disabled for now as check crashes for
14914         some reason.
14915
14916 2006-05-29  Wim Taymans  <wim@fluendo.com>
14917
14918         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14919         Don't leak pads lists.
14920
14921 2006-05-29  Wim Taymans  <wim@fluendo.com>
14922
14923         * docs/libs/gstreamer-libs-sections.txt:
14924         * libs/gst/base/gstcollectpads.c:
14925         (gst_collect_pads_set_flushing_unlocked),
14926         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14927         (gst_collect_pads_stop):
14928         * libs/gst/base/gstcollectpads.h:
14929         API: gst_collect_pads_set_flushing()
14930         Added api to set the pads to flushing, useful for seeking
14931         code in elements using collectpads.
14932         Clear segment when receiving a flush.
14933
14934 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14935
14936         * gst/gst.c: (add_path_func), (init_post):
14937           Don't scan registry paths passed via --gst-plugin-path immediately
14938           (will crash, because absolutely nothing is set up and no types are
14939           registered etc.); do this later in init_post(). Fixes #343057.
14940
14941 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14942
14943         * gst/gst.c: (init_post):
14944           if we have fork, fork while reading/rebuilding the registry
14945           so the parent doesn't take the hit of having all plugins loaded
14946           in memory.  Fixes #342777.
14947         * configure.ac:
14948           Check if we have fork()
14949         * win32/common/config.h.in:
14950           no fork() on win32
14951
14952 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14953
14954         * plugins/elements/gstelements.c:
14955         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14956         (gst_file_src_init), (gst_file_src_set_property),
14957         (gst_file_src_get_property), (gst_file_src_start):
14958         * plugins/elements/gstfilesrc.h:
14959           API: GstFileSrc::use-mmap
14960
14961         Add a use-mmap property to enable easier testing of all code paths.
14962         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
14963         in the absence of gnomevfssrc. (Closes #340501)
14964
14965 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14966
14967         * tools/gst-inspect.c:
14968         Add missing include, removes warning of ngettext not being defined on
14969         some arches.
14970
14971 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
14972
14973         * gst/gstvalue.c: (gst_value_deserialize_fraction):
14974         Handle NULL input and output pointers silently as a failed conversion,
14975         rather than g_warnings.
14976
14977 2006-05-25  Wim Taymans  <wim@fluendo.com>
14978
14979         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
14980         Initialize variable before using. Fixes #342820.
14981
14982 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
14983
14984         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
14985           Fix off-by-one bug that would only allow peeks of N-1 bytes
14986           from the start even if the buffer to typefind on contains
14987           in fact N bytes of data (makes vorbis typefinding from a
14988           vorbis identification header buffer work).
14989
14990         * tests/check/Makefile.am:
14991         * tests/check/libs/.cvsignore:
14992         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
14993         (gst_typefindhelper_suite), (main), (foobar_typefind),
14994         (plugin_init):
14995           Add very basic unit test for gst_type_find_helper_for_buffer()
14996           that checks for the problem fixed above.
14997
14998 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14999
15000         * tools/gst-inspect.c: (print_interfaces),
15001         (print_element_properties_info), (print_element_list), (main):
15002           add more translatable strings
15003
15004 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15005
15006         Patch by: Julien Moutte  <julien at moutte net>
15007
15008         * docs/gst/gstreamer-sections.txt:
15009           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15010           
15011         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15012         (gst_fake_sink_preroll):
15013         * plugins/elements/gstfakesink.h:
15014           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15015
15016 2006-05-23  Wim Taymans  <wim@fluendo.com>
15017
15018         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15019         * gst/gstpad.h:
15020         Added _CUSTOM error and success GstFlowReturn that can be
15021         used be elements internally. 
15022         Added macro to check for SUCCESS flowreturns.
15023         API: GST_FLOW_CUSTOM_SUCCESS
15024         API: GST_FLOW_CUSTOM_ERROR
15025         API: GST_FLOW_IS_SUCCESS
15026
15027         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15028         Added check for GstFlowReturn sanity.
15029
15030 2006-05-23  Wim Taymans  <wim@fluendo.com>
15031
15032         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15033
15034         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15035         (gst_collect_pads_event):
15036         clear/reset segment info in FLUSH_STOP.
15037         Fixes #336929.
15038
15039 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15040
15041         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15042         (gst_collect_pads_check_collected):
15043         Flush queued buffer on _stop(), fixes playing again (#342454)
15044
15045 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15046
15047         * tests/check/gst/gststructure.c: (GST_START_TEST),
15048         (gst_structure_suite):
15049           add a test for a complete structure
15050
15051 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15052
15053         * docs/faq/developing.xml:
15054         * docs/faq/faq.xml:
15055         * docs/faq/troubleshooting.xml:
15056         * docs/faq/using.xml:
15057           Some minor FAQ updates that won't change the fact that
15058           our FAQ is badly structured, full of information hardly
15059           anyone new to GStreamer needs to know and lacking lots
15060           of information people constantly ask for.
15061           
15062 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15063
15064         * gst/gstpad.c: (gst_pad_set_caps):
15065           Short-circuit gst_pad_set_caps if setting the existing
15066           caps pointer again, and avoid printing debug and 
15067           reffing/unreffing the caps.
15068
15069         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15070           There's actually no need to set the caps before pushing -
15071           the acceptcaps method will handle it anyway.
15072
15073 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15074
15075         * docs/gst/gstreamer-sections.txt:
15076         * win32/common/libgstreamer.def:
15077         * gst/gstutils.c: (gst_element_seek_simple):
15078         * gst/gstutils.h:
15079           API: add gst_element_seek_simple() (#342238).
15080
15081 2006-05-18  Edward Hervey  <edward@fluendo.com>
15082
15083         * gst/gsttypefind.c: (gst_type_find_get_type):
15084         * gst/gsttypefind.h:
15085         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15086         registered for GstTypeFind pointers. This allows wrapping the structure
15087         in bindings (i.e. gst-python).
15088
15089 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15090
15091         * gst/gsttagsetter.c:
15092           Docs additions and fixes (see #339918).
15093
15094 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15095
15096         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15097         The caps intersection algorithm can produce multiple copies of the
15098         caps. Until that is fixed, we need to simplify the result to be
15099         sure whether the allowed caps are fixed or not.
15100
15101         * plugins/elements/gstqueue.c: (gst_queue_init),
15102         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15103         (gst_queue_push_one):
15104         Proxied buffer alloc should not set the caps on the source pad.
15105         When pushing buffers, we always accept the caps change that triggers.
15106         This prevents negotiation errors caused by caps changing mid-stream 
15107         and then being refused on our source pad (because upstream is now
15108         refusing those caps).
15109
15110 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15111
15112         * tests/examples/helloworld/helloworld.c: (main):
15113           Must plug audioconvert and audioresample between decoder
15114           and audio sink.
15115
15116 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15117
15118         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15119         (load_feature), (load_plugin):
15120         Allow empty strings for some of the plugin fields so we don't 
15121         drop valid plugin entries that were written out correctly
15122         (Fixes #341479)
15123
15124 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15125         
15126         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15127           Use g_remove and g_rename instead of remove and rename that don't 
15128           handle utf8 characters. rename was failing for users who had specific
15129           characters in their name then the registry was built at each 
15130           gstreamer init.
15131         * win32/vs6/gst_inspect.dsp:
15132         * win32/vs6/gst_launch.dsp:
15133         * win32/vs6/libgstbase.dsp:
15134         * win32/vs6/libgstcoreelements.dsp:
15135         * win32/vs6/libgstreamer.dsp:
15136           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15137           build of libgstreamer and clean unused libraries in projects link 
15138           settings.
15139
15140 2006-05-17  Edward Hervey  <edward@fluendo.com>
15141
15142         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15143         The queue is not responsible for pushing an EOS when receiving a fatal
15144         flow error. It's up to the real element driving the pipeline to do that.
15145
15146 2006-05-16  Edward Hervey  <edward@fluendo.com>
15147
15148         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15149         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15150         buffer returned a fatal error. It should just send an EOS and stop
15151         its task.
15152         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15153         when pushing buffers on the queue and will be able to handle the event.
15154
15155 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15156
15157         * docs/manual/basics-bins.xml:
15158         * docs/manual/basics-init.xml:
15159           Fix typos and minor errors in sample code (#341856).
15160
15161 2006-05-16  Wim Taymans  <wim@fluendo.com>
15162
15163         * docs/design/part-qos.txt:
15164         Fix indexes in formulas to make more sense.
15165
15166 2006-05-15  Wim Taymans  <wim@fluendo.com>
15167
15168         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15169         Don't report POSITION based on clock time if sync is
15170         disabled in a sink.
15171
15172 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15173
15174         * gst/gstobject.h:
15175           Add cast to make compiler happy - refcount variable was a gint
15176           in GstObject but is a guint in GObject and g_atomic_int_get()
15177           wants a gint *.
15178
15179 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15180
15181         * gst/parse/Makefile.am:
15182           chain commands using &&, which also makes parallel make work
15183
15184 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15185
15186         * docs/gst/gstreamer-sections.txt:
15187         * gst/gstevent.c:
15188         * gst/gstevent.h:
15189         * gst/gstmessage.h:
15190           Minor docs fixes.
15191
15192 === release 0.10.6 ===
15193
15194 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15195
15196         * configure.ac:
15197           releasing 0.10.6, "Take the cannoli"
15198
15199 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15200
15201         * tools/gst-launch.c: (print_tag):
15202           Fix use of uninitialized variable in the hypothetical
15203           case that some broken plugin creates a GST_TAG_IMAGE
15204           tag containing a NULL buffer (#341667).
15205
15206 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15207
15208         * tools/gst-launch.c: (print_tag):
15209           Print something more intelligible for image tags when
15210           using the -t switch (#341556).
15211
15212 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15213
15214         * Makefile.am:
15215           updates for win32
15216         * configure.ac:
15217           define GST_MAJORMINOR so we have it available in win32/common/config.h
15218           Possibly remove it from our Makefile.am files later
15219         * win32/common/config.h:
15220         * win32/common/config.h.in:
15221           added GST_MAJORMINOR
15222         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15223         * win32/common/gstversion.h:
15224           updated
15225
15226 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15227
15228         * win32/MANIFEST:
15229           Update win32 files listing.
15230         * win32/common/gstversion.h:
15231           Add GST_MAJORMINOR definition.
15232         * win32/common/libgstreamer.def:
15233           Add new exported functions.
15234           
15235 2006-05-12  Michael Smith  <msmith@fluendo.com>
15236
15237         * gst/gstplugin.c: (gst_plugin_load_file):
15238           If an so file has no plugin entry point, unload the module.
15239
15240 2006-05-11  Wim Taymans  <wim@fluendo.com>
15241
15242         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15243         (gst_queue_set_property):
15244         Don't forget to signal the _chain or _loop function 
15245         when the queue size or thresholds change since that might
15246         cause them to make progres again.
15247
15248 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15249
15250         * gst/gstclock.c: (gst_clock_class_init):
15251         * gst/gstindex.c: (gst_index_class_init):
15252         * gst/gstobject.c: (gst_object_class_init):
15253         * gst/gstpad.c: (gst_pad_class_init):
15254         * gst/gstpipeline.c: (gst_pipeline_class_init):
15255         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15256         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15257         * libs/gst/base/gstbasetransform.c:
15258         (gst_base_transform_class_init):
15259         * libs/gst/net/gstnetclientclock.c:
15260         (gst_net_client_clock_class_init):
15261         * libs/gst/net/gstnettimeprovider.c:
15262         (gst_net_time_provider_class_init):
15263         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15264         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15265         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15266         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15267         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15268         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15269         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15270         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15271         * plugins/elements/gsttee.c: (gst_tee_class_init):
15272         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15273         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15274           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15275
15276 2006-05-11  Wim Taymans  <wim@fluendo.com>
15277
15278         * gst/gstbuffer.c: (_gst_buffer_initialize):
15279         Register subbufer along with the buffer type so that
15280         it does not accidentally gets registered from N
15281         different streaming threads in a non threadsafe way.
15282
15283 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15284
15285         * gst/gstbuffer.h:
15286         * gst/gstevent.h:
15287         * gst/gstmessage.h:
15288           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15289           gst_event_ref() and gst_message_ref() functions again
15290           (ugly hack, please do fix if there's a better way besides
15291           overrides.txt, which doesn't seem to work).
15292
15293 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15294
15295         * libs/gst/check/gstcheck.h:
15296           add an assert for setting state to avoid lots of repetitive code
15297           in the future
15298
15299 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15300
15301         * gst/gstvalue.c: (gst_value_serialize_flags):
15302           fix a leak if no flags are set
15303         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15304           fix leak in tests
15305
15306 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15307
15308         * docs/manual/basics-pads.xml:
15309           Expand a bit on caps and filtered links and update
15310           examples that were still using the no longer existing
15311           gst_pad_link_filtered() (#338206).
15312
15313 2006-05-10  Wim Taymans  <wim@fluendo.com>
15314
15315         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15316         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15317         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15318         (gst_collect_pads_stop):
15319         * libs/gst/base/gstcollectpads.h:
15320         No need to call _stop in _finalize.
15321         Iterate the main pad list in _finalize.
15322         Added some more debug.
15323         Free lists and data in the right order.
15324         Also free data whem doing _remove_pad when stopped for
15325         backward compatibility protect ::started with PAD_LOCK as
15326         well.
15327
15328 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15329
15330         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15331         (gst_structure_parse_value):
15332           add some comments
15333           rename a method so that it actually says what it does better
15334
15335 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15336
15337         * gst/gstevent.c: (_gst_event_initialize):
15338         * gst/gstformat.c: (_gst_format_initialize):
15339           make sure some essential types used by events are registered
15340           as part of gst_init()
15341         * gst/gstvalue.c: (gst_value_serialize_flags):
15342           if no flags are set, serialize them to a value that represents NONE
15343           so that deserializing them works
15344         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15345           add tests for serialization and deserialization of flags
15346
15347 2006-05-10  Wim Taymans  <wim@fluendo.com>
15348
15349         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15350         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15351         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15352         (gst_collect_pads_event), (gst_collect_pads_chain):
15353         Update docs.
15354         Better debug info.
15355         Catch and return errors from the collect function
15356         Refuse data on eos pads.
15357
15358 2006-05-10  Edward Hervey  <edward@fluendo.com>
15359
15360         * gst/gstinterface.h:
15361         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15362         GInterface type checking.
15363         They were previously using non-defined macros.
15364
15365 2006-05-09  Wim Taymans  <wim@fluendo.com>
15366
15367         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15368         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15369         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15370         (gst_collect_pads_start), (gst_collect_pads_stop),
15371         (gst_collect_pads_peek), (gst_collect_pads_pop),
15372         (gst_collect_pads_available), (gst_collect_pads_read),
15373         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15374         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15375         (gst_collect_pads_chain):
15376         * libs/gst/base/gstcollectpads.h:
15377         Clean up the mess that is collectpads, add comments and
15378         FIXMEs where needed.
15379         Maintain a separate pad list so we can add pads while
15380         collecting the other ones. For this we need a new separate 
15381         lock (see comics).
15382         Fix memory leak in finalize.
15383         Refactor some weird code to set/unset pad flushing flags, mark
15384         with comments.
15385         Don't crash in _available, _read, _flush when we're EOS.
15386
15387         * tests/check/libs/.cvsignore:
15388         Ignore adapter check binary.
15389
15390 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15391
15392         * gst/gstindex.c: (gst_index_resolver_get_type):
15393         * plugins/elements/gstfakesink.c:
15394         (gst_fake_sink_state_error_get_type):
15395         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15396         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15397         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15398           Const-ify GEnumValue arrays.
15399
15400 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15401
15402         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15403           Add test case for flags + gst_buffer_make_metadata_writable().
15404
15405 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15406
15407         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15408           gst_buffer_make_metadata_writable() should maintain the
15409           buffer flags (those that make sense at least) (see #340859).
15410
15411 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15412
15413         * tools/gst-inspect.c:
15414         * tools/gst-launch.c:
15415         * tools/gst-typefind.c:
15416         * tools/gst-xmlinspect.c:
15417         * tools/tools.h:
15418           Fix up includes: need to include stdlib.h in tools.h for exit().
15419
15420 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15421
15422         * gst/gsttaglist.c: (_gst_tag_initialize):
15423         * gst/gsttaglist.h:
15424           API: add GST_TAG_IMAGE tag (#340721).
15425
15426 2006-05-08  Wim Taymans  <wim@fluendo.com>
15427
15428         * gst/gstquery.c:
15429         Added some docs for the segment query.
15430
15431 2006-05-08  Wim Taymans  <wim@fluendo.com>
15432
15433         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15434         (gst_base_src_loop), (gst_base_src_change_state):
15435         Always push non-flushing serialized events in the streaming 
15436         thread.
15437
15438 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15439
15440         * gst/gsterror.c: (_gst_stream_errors_init):
15441           Add a missing error string.
15442
15443 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15444
15445         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15446         Add applied_rate to the debug
15447
15448         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15449         Copy applied_rate into the outgoing NEWSEGMENT event
15450
15451 2006-05-08  Wim Taymans  <wim@fluendo.com>
15452
15453         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15454
15455         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15456         (gst_base_sink_change_state):
15457         call ::unlock before taking the PREROLL_LOCK so we can safely
15458         handle elements that lock in ::render.
15459         Fixes #340174.
15460
15461 2006-05-08  Edward Hervey  <edward@fluendo.com>
15462
15463         * autogen.sh: (CONFIGURE_DEF_OPT): 
15464         Darwin's libtoolize is in fact called glibtoolize.
15465         Adding glibtoolize to the list of accepted names for libtoolize.
15466
15467 2006-05-08  Wim Taymans  <wim@fluendo.com>
15468
15469         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15470         Unify error handling, don't post an error message
15471         when a push() returns EOS but perform our normal EOS
15472         handling code. Fixes #340772.
15473
15474 2006-05-08  Wim Taymans  <wim@fluendo.com>
15475
15476         * docs/design/part-overview.txt:
15477         Make upsteam/downstream concepts more clear.
15478         Give an example of serialized/non-serialized events.
15479
15480         * docs/design/part-events.txt:
15481         * docs/design/part-streams.txt:
15482         Mention applied_rate.
15483
15484         * docs/design/part-trickmodes.txt:
15485         Mention applied rate, flesh out some more use cases.
15486
15487         * gst/gstevent.c: (gst_event_new_new_segment),
15488         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15489         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15490         (gst_event_parse_tag), (gst_event_new_buffer_size),
15491         (gst_event_parse_buffer_size), (gst_event_new_qos),
15492         (gst_event_parse_qos), (gst_event_parse_seek),
15493         (gst_event_new_navigation):
15494         * gst/gstevent.h:
15495         Add applied_rate field to NEWSEGMENT event.
15496         API: gst_event_new_new_segment_full()
15497         API: gst_event_parse_new_segment_full()
15498
15499         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15500         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15501         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15502         * gst/gstsegment.h:
15503         Add applied_rate to GstSegment structure.
15504         Make calculation of stream_time and running_time more correct
15505         wrt rate/applied_rate.
15506         Add some more docs.
15507         API: GstSegment::applied_rate field
15508         API: gst_segment_set_newsegment_full();
15509
15510         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15511         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15512         * libs/gst/base/gstbasetransform.c:
15513         (gst_base_transform_sink_eventfunc),
15514         (gst_base_transform_handle_buffer):
15515         Parse and use applied_rate in the GstSegment field.
15516
15517         * tests/check/gst/gstevent.c: (GST_START_TEST):
15518         Add check for applied_rate field.
15519
15520         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15521         (gstsegments_suite):
15522         Add more checks for various GstSegment operations.
15523
15524 2006-05-08  Wim Taymans  <wim@fluendo.com>
15525
15526         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15527         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15528         (gst_base_sink_get_position), (gst_base_sink_change_state):
15529         Store the sync time of the buffer end position separatly in a
15530         new variable eos_rtime so we can properly sync the EOS event.
15531         Fixes #340697.
15532         Fix the docs for gst_base_sink_set_qos_enabled().
15533         Don't set segment start to invalid value when we receive a 
15534         non TIME newsegment.
15535         get closer to handling position reporting for negative rates 
15536         correctly.
15537
15538 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15539
15540         * gst/gstcaps.c:
15541         Docs about how to print caps for debug purposes.
15542
15543         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15544         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15545
15546 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15547
15548         * gst/gstelement.c:
15549           use full enum names and preprend a '%' in docs strings to make recent 
15550           gtk-doc turn that into a link
15551
15552 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15553
15554         * docs/manual/basics-bins.xml:
15555         * docs/manual/basics-bus.xml:
15556         * docs/manual/basics-pads.xml:
15557           Some typo fixes, some additions, some clarifications. 
15558
15559 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15560
15561         * tools/gst-inspect.c: (main):
15562         * tools/gst-launch.c: (main):
15563         * tools/gst-run.c: (main):
15564         * tools/gst-typefind.c: (main):
15565         * tools/gst-xmlinspect.c: (main):
15566           Use the string passed to g_option_context_new() for
15567           what it's intended for - the program name is already
15568           printed elsewhere.
15569
15570 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15571
15572         * tools/Makefile.am:
15573         * tools/gst-inspect.c: (main):
15574         * tools/gst-launch.c: (main):
15575         * tools/gst-xmlinspect.c: (main):
15576         * tools/tools.h:
15577           Add back --version command line option (#340460).
15578
15579         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15580           Add --version option and use GOption for argument parsing; refactor a
15581           bit; accept directories as arguments and recurse into them; lastly,
15582           print a decent error message when things go wrong.
15583
15584 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15585
15586         * docs/manual/basics-bins.xml:
15587         Don't mention GstThread (#340611)
15588         * docs/manual/basics-elements.xml:
15589         Update link to GObject tutorial (#340607)
15590         
15591 2006-05-05  Wim Taymans  <wim@fluendo.com>
15592
15593         * gst/gstbuffer.h:
15594         * gst/gstminiobject.c:
15595         Add note about refcounting and miniobject/buffer writeability
15596         to docs. Fixes #340604
15597
15598         * gst/gstelementfactory.h:
15599         Added some explanation about @klass.
15600
15601 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15602
15603         * docs/manual/intro-motivation.xml:
15604         * docs/manual/manual.xml:
15605         Avoid CORBA & Bonobo references (#340598)
15606
15607 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15608
15609         * docs/manual/basics-bus.xml:
15610         * docs/manual/basics-pads.xml:
15611         Fix up some inaccuracies and omissions (#340609)
15612         
15613 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15614
15615         * gst/gstghostpad.c:
15616           Small typo in docs (#340625)
15617
15618 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15619
15620         * gst/parse/Makefile.am:
15621           Make 'make -j' proof (see #340698).
15622
15623 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15624
15625         * configure.ac:
15626           Require GLib-2.8 here as well.
15627
15628 2006-05-05  Wim Taymans  <wim@fluendo.com>
15629
15630         * gst/glib-compat.c:
15631         * gst/gst.c: (init_pre):
15632         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15633         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15634         (gst_object_dispatch_properties_changed):
15635         * gst/gstobject.h:
15636         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15637         * gst/gststructure.c: (gst_structure_set_valist):
15638         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15639         Remove pre glib2.8 compatibility, fixes #340508
15640
15641 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15642
15643         * gst/gsttaglist.h:
15644           Mention type of tags in doc blurbs.
15645
15646 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15647
15648         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15649         (gst_pad_configure_src), (gst_pad_push):
15650         Restore acceptcaps checking behaviour now that good plugins have
15651         been released.
15652
15653 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15654
15655         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15656
15657         * gst/gst.c:
15658         * gst/gstbus.c:
15659         * gst/gstclock.c:
15660         * gst/gstevent.c:
15661         * gst/gstformat.c:
15662         * gst/gstmessage.c:
15663         * gst/gstparse.c:
15664         * gst/gstquery.c:
15665         * gst/gstutils.c:
15666         * gst/parse/Makefile.am:
15667         * libs/gst/base/gstadapter.c:
15668         * libs/gst/base/gstbasesrc.c:
15669         * libs/gst/base/gstpushsrc.c:
15670         * libs/gst/base/gsttypefindhelper.c:
15671         * plugins/elements/gstfakesrc.c:
15672         * plugins/elements/gstidentity.c:
15673           Make sure gstprivate.h and/or config.h are
15674           always included first, otherwise some of our
15675           defines (like _FILE_OFFSET_BITS) might be
15676           redefined in the system headers. Fixes build
15677           on opensolaris (#340016).
15678
15679 2006-05-04  Wim Taymans  <wim@fluendo.com>
15680
15681         * docs/libs/gstreamer-libs-sections.txt:
15682         API: addition: gst_adapter_take_buffer()
15683         
15684         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15685         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15686         (gst_adapter_available_fast):
15687         * libs/gst/base/gstadapter.h:
15688         Prepare for optimizing the hell out of this hugely inefficient
15689         piece of code. 
15690         Added gst_adapter_take_buffer() so we can at least start thinking
15691         about subbuffering and merging.
15692         Added some comments.
15693
15694         * tests/check/Makefile.am:
15695         * tests/check/libs/adapter.c: (GST_START_TEST),
15696         (gst_adapter_suite), (main):
15697         Added GstAdapter check.
15698
15699 2006-05-04  Wim Taymans  <wim@fluendo.com>
15700
15701         * docs/design/part-overview.txt:
15702         Fix some typos, add blurb about buffer flags.
15703
15704 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15705
15706         * docs/libs/gstreamer-libs-sections.txt:
15707           make sure GstBaseTransformClass shows up in the docs
15708         * libs/gst/base/gstbasetransform.c:
15709         * libs/gst/base/gstbasetransform.h:
15710           move docs so gtk-doc picks it up now
15711
15712 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15713
15714         * docs/libs/gstreamer-libs-sections.txt:
15715           add missing symbols to docs
15716
15717 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15718
15719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15720           back out the newsegment handling change, see #340060 for ongoing
15721           discussion
15722
15723 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15724
15725         * tools/gst-run.c: (get_candidates), (main):
15726           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15727           work); fix typo in error message. Fixes #340079.
15728
15729 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15730
15731         * common/Makefile.am:
15732         * docs/Makefile.am:
15733         * docs/faq/Makefile.am:
15734         * docs/gst/Makefile.am:
15735         * docs/libs/Makefile.am:
15736         * docs/manual/Makefile.am:
15737         * docs/plugins/Makefile.am:
15738         * docs/pwg/Makefile.am:
15739         * docs/slides/Makefile.am:
15740         * docs/upload.mak:
15741         * common/upload.mak:
15742           move upload.mak to common
15743
15744 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15745
15746         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15747           add more asserts on refcounts
15748           do more cleanup at end of tests
15749           fix test leaks showing in FC5
15750
15751 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15752
15753         * plugins/elements/gsttypefindelement.c:
15754         (gst_type_find_element_handle_event):
15755         reverted wrong change and reflowed code to avoid others falling into
15756         this trap
15757
15758 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15759
15760         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15761           fix changelog entry about last collectpads change,
15762           add notes about proper fix
15763
15764 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15765
15766         * gst/gst.c:
15767         * gst/gstregistry.c: (gst_registry_scan_path_level),
15768         (gst_registry_scan_path):
15769         * gst/gstregistry.h:
15770           only write out registry if it has changed, fixes #338339
15771
15772 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15773
15774         * gst/gstbin.c:
15775         * gst/gstpipeline.c:
15776         * plugins/elements/gstcapsfilter.c:
15777         * plugins/elements/gstfakesink.c:
15778         * plugins/elements/gstfakesrc.c:
15779         * plugins/elements/gstfdsink.c:
15780         * plugins/elements/gstfdsrc.c:
15781         * plugins/elements/gstfilesink.c:
15782         * plugins/elements/gstfilesrc.c:
15783         * plugins/elements/gstidentity.c:
15784         * plugins/elements/gstqueue.c:
15785         * plugins/elements/gsttee.c:
15786         * plugins/elements/gsttypefindelement.c:
15787         (gst_type_find_element_handle_event):
15788           make GstElementDetails const
15789
15790 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15791
15792         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15794         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15795           more detailed debug and formatting cleanup,
15796           forward newsegments to src-pad (so that e.g. adder not eats them)
15797
15798 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15799
15800         * gst/gstutils.c: (gst_element_link_pads):
15801           cleanup double code
15802
15803 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15804
15805         * libs/gst/controller/gstcontroller.c:
15806         (gst_controller_sync_values):
15807           some little tuning
15808         * tests/check/libs/controller.c: (GST_START_TEST),
15809         (gst_controller_suite):
15810           a new test for live value handling
15811
15812 2006-04-28  Wim Taymans  <wim@fluendo.com>
15813
15814         * gst/gstutils.c: (push_and_ref):
15815         Added some more docs.
15816         Fix refcount issue whith gst_element_found_tags() helper 
15817         function. Fixes #338335
15818
15819         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15820         Added testsuite for gst_element_found_tags().
15821
15822 2006-04-28  Michael Smith  <msmith@fluendo.com>
15823
15824         * gst/gstvalue.c: (gst_value_serialize_flags):
15825           Avoid NULL dereference when trying to serialize flags containing
15826           invalid values.
15827
15828 2006-04-28  Michael Smith  <msmith@fluendo.com>
15829
15830         * plugins/elements/gsttypefindelement.c:
15831         (gst_type_find_element_handle_event):
15832           If we get EOS before any data is accumulated, don't use
15833           uninitialised local variables.
15834
15835 2006-04-28  Michael Smith  <msmith@fluendo.com>
15836
15837         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15838         (gst_dp_event_from_packet):
15839           Fixes in reading/writing events over GDP (not currently used?) - 
15840           dereferencing NULL events for unknown/invalid event types, memory
15841           leak, and change g_warning to GST_WARNING.
15842
15843 2006-04-28  Wim Taymans  <wim@fluendo.com>
15844
15845         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15846         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15847         (gst_base_sink_get_position), (gst_base_sink_change_state):
15848         When frame dropping is enabled, we should not ignore frames
15849         without a duration.
15850         Update some documentation.
15851
15852 2006-04-28  Wim Taymans  <wim@fluendo.com>
15853
15854         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15855         (gst_base_src_send_event), (gst_base_src_change_state):
15856         Documentation updates.
15857
15858 2006-04-28  Wim Taymans  <wim@fluendo.com>
15859
15860         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15861         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15862         handle EAGAIN, EINTR and short writes correctly. Also clean
15863         up some error cases, avoid a deadlock on bad file descriptors and
15864         use GST_DEBUG_OBJECT.
15865         Fixes #339843
15866
15867 2006-04-28  Wim Taymans  <wim@fluendo.com>
15868
15869         * gst/gstvalue.c: (gst_value_serialize_buffer),
15870         (gst_value_deserialize_buffer):
15871         Don't try to serialize a GValue with a NULL buffer. 
15872         Fixes #339821.
15873
15874         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15875         Added check for serialisation of NULL buffers.
15876
15877 2006-04-28  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/gstminiobject.c: (gst_value_take_mini_object):
15880         Taking a NULL miniobject is valid, fix the case where
15881         we try to unref the NULL miniobject.
15882
15883 2006-04-28  Wim Taymans  <wim@fluendo.com>
15884
15885         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15886
15887         * gst/gstbin.c: (gst_bin_handle_message_func):
15888         Update docs.
15889         Don't leak bin refcount when a state recalc is
15890         in progress and we delay another one #339808.
15891
15892 2006-04-28  Wim Taymans  <wim@fluendo.com>
15893
15894         * docs/design/part-TODO.txt:
15895         Mention QoS as an ongoing work item.
15896
15897         * docs/design/part-buffering.txt:
15898         New doc about buffering that needs to be fleshed out
15899         at some point.
15900
15901         * docs/design/part-qos.txt:
15902         More QoS policy for decoders/demuxers/transforms
15903
15904         * docs/design/part-trickmodes.txt:
15905         Small update.
15906
15907 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15908
15909         * configure.ac:
15910           back to HEAD
15911
15912 === release 0.10.5 ===
15913
15914 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15915
15916         * configure.ac:
15917           releasing 0.10.5, "Fogo"
15918
15919 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15920
15921         patch by: Wim Taymans
15922
15923         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15924         (gst_pad_configure_src), (gst_pad_push):
15925         * gst/gstpipeline.c: (gst_pipeline_init):
15926           Fix internal data flow errors.  Fixes #338711.
15927
15928 2006-04-12  Wim Taymans  <wim@fluendo.com>
15929
15930         * tests/check/gst/gstelement.c: (GST_START_TEST):
15931         Don't leak the factory.
15932
15933 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15934
15935         * configure.ac:
15936         * win32/common/config.h:
15937           prerelease
15938
15939 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
15940
15941         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15942         (gst_controller_unset_all):
15943           Free allocated GstTimedValues when freeing list nodes.
15944           Should fix leaks 'make check-valgrind' complains about.
15945
15946         * win32/common/libgstcontroller.def:
15947           Add gst_controller_unset_all.
15948
15949 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
15950
15951         * docs/libs/gstreamer-libs-sections.txt:
15952         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
15953         (gst_controller_unset_all):
15954         * libs/gst/controller/gstcontroller.h:
15955         API: Added new method gst_controller_unset_all()
15956         fixed gst_controller_unset()
15957         * tests/check/libs/controller.c: (GST_START_TEST),
15958         (gst_controller_suite):
15959         Added two testcases for new and fixed method
15960
15961 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
15962
15963         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
15964           MSG_DONTWAIT is not defined on Cygwin, so work
15965           around that (fixes #317048).
15966           
15967 2006-04-11  Wim Taymans  <wim@fluendo.com>
15968
15969         * gst/gstelementfactory.c: (gst_element_register),
15970         (gst_element_factory_create), (gst_element_factory_make):
15971         Some cleanups.
15972         Fixed a FIXME.
15973         Updated docs (Fixes #131079)
15974
15975         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15976         Small cleanups.
15977
15978         * tests/check/gst/gstelement.c: (GST_START_TEST),
15979         (gst_element_suite):
15980         Added testcase for elementfactory class field.
15981
15982 2006-04-10  Wim Taymans  <wim@fluendo.com>
15983
15984         * gst/gstsegment.c:
15985         Added some more docs.
15986
15987         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
15988         (gst_base_sink_reset_qos):
15989         Calculate more accurate rate values.
15990
15991 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
15992
15993         * gst/gst_private.h:
15994           add a new #ifdef to use __declspec(dllimport) only for
15995           other modules and not for gstreamer core
15996         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
15997           use gst_guint64_to_gdouble for conversion
15998         * win32/common/libgstreamer.def:
15999           add new exported functions
16000         * win32/vs6/gst_inspect.dsp:
16001         * win32/vs6/gst_launch.dsp:
16002         * win32/vs6/libgstbase.dsp:
16003         * win32/vs6/libgstcontroller.dsp:
16004         * win32/vs6/libgstcoreelements.dsp:
16005         * win32/vs6/libgstdataprotocol.dsp:
16006         * win32/vs6/libgstnet.dsp:
16007           update project files
16008
16009 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16010
16011         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16012         * gst/gstclock.c: (gst_clock_class_init):
16013         * gst/gstelement.c: (gst_element_class_init):
16014         * gst/gstindex.c: (gst_index_class_init):
16015         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16016         * gst/gstobject.c: (gst_object_class_init),
16017         (gst_signal_object_class_init):
16018         * gst/gstpad.c: (gst_pad_class_init):
16019         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16020         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16021         * gst/gstregistry.c: (gst_registry_class_init):
16022         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16023         * gst/gsttask.c: (gst_task_class_init):
16024         * gst/gstxml.c: (gst_xml_class_init):
16025         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16026         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16027         (gst_base_src_loop):
16028         * libs/gst/controller/gstcontroller.c:/
16029         (_gst_controller_class_init):
16030         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16031         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16032         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16033         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16034         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16035         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16036
16037 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16038
16039         * gst/gstpad.c: (gst_pad_link):
16040           Must set peer pads before calling the link function, otherwise
16041           a task started from a link function might get a flow-not-linked
16042           result when trying to push because the other thread where the
16043           linking happens hasn't had a chance to set the peers yet. This
16044           might happen for example when a queue gets linked to a downstream
16045           element, as queue starts a streaming task when its source pad
16046           gets linked. Happens in real life when playing back flac/musepack
16047           files in playbin (#332390).
16048           
16049 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16050
16051         * gst/gstindex.h:
16052         * gst/gstxml.h:
16053         * libs/gst/base/gstadapter.h:
16054         * libs/gst/base/gstbasesink.h:
16055         * libs/gst/base/gstbasesrc.h:
16056         * libs/gst/base/gstbasetransform.h:
16057         * libs/gst/base/gstcollectpads.h:
16058         * libs/gst/base/gstpushsrc.h:
16059         Fix broken GObject macros
16060
16061 2006-04-07  Wim Taymans  <wim@fluendo.com>
16062
16063         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16064         Initialize start and stop times, thanks valgrind.
16065
16066 2006-04-07  Wim Taymans  <wim@fluendo.com>
16067
16068         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16069         Be a bit nicer to badly behaving upstream elements that expect
16070         us to deal with non TIME segments and timestamps (such as fakesrc
16071         in the testsuite).
16072
16073 2006-04-07  Wim Taymans  <wim@fluendo.com>
16074
16075         * gst/gstbus.c:
16076         Small documentation clarification about the signal watch.
16077
16078         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16079         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16080         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16081         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16082         (gst_base_sink_get_position_last),
16083         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16084         Convert and store timestamps in stream time and running time, the
16085         raw timestamps are not useful, also document this better.
16086         Use different window sizes for good and bad QoS observations so
16087         we react to badness a little quicker.
16088         Keep track of the amount of rendered and dropped buffers.
16089         Send QoS timestamps in running time.
16090
16091         * libs/gst/base/gstbasetransform.c:
16092         (gst_base_transform_sink_eventfunc),
16093         (gst_base_transform_handle_buffer):
16094         Compare QoS timestamps against running time.
16095
16096 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16097
16098         * gst/gstpad.c:
16099           Typo fixes in docs.
16100
16101 2006-04-06  Michael Smith  <msmith@fluendo.com>
16102
16103         * gst/gstpad.c: (gst_pad_set_property):
16104           Use g_value_get_object() instead of g_value_dup_gst_object(),
16105           to avoid double-reffing the pad template (which we then sink,
16106           so this worked previously if (and only if) the pad template
16107           was floating.
16108
16109         * gst/gstpadtemplate.c: (gst_pad_template_init),
16110         (gst_pad_template_pad_created):
16111           Never return floating references to pad templates, create
16112           them as initially-sunken.
16113
16114           Document an extra function (and make this stop sinking our
16115           pad template, since that is now guaranteed to do nothing,
16116           since we created it sunken).
16117
16118         * gst/gstghostpad.c:
16119           Fix docs typo.
16120
16121 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16122
16123         * gst/gstinfo.c: (__gst_in_valgrind):
16124           Add some newlines.
16125
16126         * plugins/elements/gsttypefindelement.c:
16127         (gst_type_find_element_chain):
16128           Don't leak buffer caps.
16129
16130 2006-04-06  Michael Smith  <msmith@fluendo.com>
16131
16132         * gst/parse/grammar.y:
16133           Fix a leak in parse-launch for any source-or-sink named element 
16134           references used.
16135
16136         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16137           Unref the pipeline if it exists after we've failed parsing.
16138
16139 2006-04-05  Michael Smith  <msmith@fluendo.com>
16140
16141         * gst/gstpipeline.c: (gst_pipeline_init):
16142           When we create a pipeline bus, initially create it in flushing mode.
16143           Fixes leaks in at least one test, and makes a new pipeline work the
16144           same as one that has gone to READY and then back to NULL.
16145
16146         * gst/gstelement.c:
16147           Typo fix in docs.
16148
16149 2006-04-05  Michael Smith  <msmith@fluendo.com>
16150
16151         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16152           Unref a pad we reffed.
16153         * tests/check/gst/gstutils.c: (GST_START_TEST):
16154           Unref bins
16155
16156 2006-04-05  Michael Smith  <msmith@fluendo.com>
16157
16158         * gst/gstquery.c: (gst_query_set_formats),
16159         (gst_query_set_formatsv):
16160           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16161
16162 2006-04-05  Michael Smith  <msmith@fluendo.com>
16163
16164         * tests/check/generic/sinks.c: (GST_START_TEST):
16165           Fix a variety of memleaks in sinks check, which are only sometimes 
16166           shown by running the tests under valgrind (weird?).
16167
16168 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16169
16170         * docs/version.entities.in:
16171           Fix the substituted entity name after thomas' changes on the
16172           weekend.
16173
16174 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16175
16176         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16177         VALGRIND_PRINTF
16178         
16179 2006-04-05  Andy Wingo  <wingo@pobox.com>
16180
16181         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16182
16183         * libs/gst/base/gstbasetransform.c
16184         (gst_base_transform_sink_eventfunc): When resetting our segment on
16185         FLUSH_STOP, also update the flag saying we haven't seen a
16186         newsegment.
16187
16188 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16189
16190         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16191
16192         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16193         (gst_plugin_check_license):
16194           minor clean-ups: G_DEFINE_TYPE already takes care of the
16195           parent_class stuff, no need to do it twice. Mark array of
16196           license strings as constant. (#337103)
16197           
16198 2006-04-04  Michael Smith  <msmith@fluendo.com>
16199
16200         * tools/gst-inspect.c: (print_element_list):
16201           Free the right plugin list; fixes a memory leak.
16202
16203 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16204
16205         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16206
16207         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16208           Don't error out on empty buffers (#336945).
16209           
16210 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16211
16212         * docs/libs/gstreamer-libs-sections.txt:
16213         * gst/gsttaglist.c:
16214         * libs/gst/base/gstbasesink.c:
16215         * libs/gst/base/gstbasesink.h:
16216         * libs/gst/base/gstbasesrc.c:
16217         * libs/gst/base/gstbasesrc.h:
16218           Documentation updates. Make BaseSink and BaseSrc docs contain the
16219           class structure so that people can actually see the prototypes for
16220           virtual functions they're supposed to be overriding.
16221
16222 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16223
16224         * plugins/elements/gsttypefindelement.c:
16225         (gst_type_find_element_chain):
16226           More debug info; when skipping typefinding, send cached
16227           events in all cases.
16228
16229 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16230
16231         * configure.ac:
16232           use new AS_VERSION and AS_NANO macros
16233         * gst/gst-i18n-lib.h:
16234         * gst/gst.c:
16235         * gst/gsterror.c:
16236         * gst/gstversion.h.in:
16237         * win32/common/config.h:
16238         * win32/common/config.h.in:
16239           update accordingly
16240
16241 2006-03-31  Michael Smith  <msmith@fluendo.com>
16242
16243         * plugins/elements/gsttypefindelement.c:
16244         (gst_type_find_element_chain):
16245           Do not typefind content if the buffers already have caps.
16246           Neccesary for icydemux (#333657), and the right thing to do anyway.
16247
16248 2006-03-30  Wim Taymans  <wim@fluendo.com>
16249
16250         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16251         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16252         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16253         (gst_base_sink_record_qos_observation),
16254         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16255         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16256         (gst_base_sink_change_state):
16257         More QoS measurements as described in the design doc.
16258         Get rid of ringbuffer with observations, running average is
16259         more simple and equally good.
16260         Calculates valid proportion now.
16261         Added beginning of flood measurement.
16262
16263 2006-03-29  Wim Taymans  <wim@fluendo.com>
16264
16265         * docs/design/part-qos.txt:
16266         * gst/gstclock.c:
16267         Small documentation updates and additions.
16268
16269 2006-03-29  Wim Taymans  <wim@fluendo.com>
16270
16271         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16272         (gst_base_src_send_event), (gst_base_src_loop),
16273         (gst_base_src_change_state):
16274         Perform the EOS logic when we reach the segment stop position.
16275         Fix compilation on gcc4.1
16276
16277 2006-03-29  Wim Taymans  <wim@fluendo.com>
16278
16279         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16280
16281         * plugins/elements/gstqueue.c: (gst_queue_init),
16282         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16283         (gst_queue_set_property):
16284         * plugins/elements/gstqueue.h:
16285         In queue, when EOS is received, if minimum threshold > max_size -
16286         current_level, there is chance that queue blocks forever in conditional
16287         item del wait. This is because the queue is not emptied completely due
16288         to minimum threshold.  Here is another approach. Instead of setting
16289         cur_levels to max in EOS, just zero all minimum threshold levels. This
16290         should make sure that queue gives out all data. When going to READY
16291         (stop) state, just reset the original minimum threshold levels.
16292         Fixes #336336.
16293
16294 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16295
16296         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16297         (gst_type_find_element_handle_event),
16298         (gst_type_find_element_send_cached_events),
16299         (gst_type_find_element_change_state):
16300         * plugins/elements/gsttypefindelement.h:
16301           When typefinding is done in push mode, we should cache
16302           events we receive during typefinding instead of just
16303           dropping them (e.g. newsegment, custom events from
16304           dvdreadsrc etc.) and then send them out once we've
16305           determined the type of the stream (and decodebin
16306           has had a chance to plug in a decoder/demuxer).
16307           
16308 2006-03-27  Wim Taymans  <wim@fluendo.com>
16309
16310         * docs/design/part-qos.txt:
16311         First QoS ideas.
16312
16313 2006-03-27  Wim Taymans  <wim@fluendo.com>
16314
16315         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16316
16317         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16318         (gst_base_src_send_event), (gst_base_src_change_state):
16319         Handle element seek correctly when we are streaming.
16320         Fixes #326998.
16321
16322 2006-03-24  Michael Smith  <msmith@fluendo.com>
16323
16324         * docs/faq/gst-uninstalled:
16325           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16326           allow you to correctly run intalled applications built against old 
16327           core, using plugins that require updated core (e.g. running
16328           installed totem against a full uninstalled gstreamer stack)
16329
16330 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16331
16332         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16333         more debug details
16334
16335 2006-03-24  Wim Taymans  <wim@fluendo.com>
16336
16337         * docs/gst/gstreamer-sections.txt:
16338         Rearrange the order of the methods so that related methods
16339         are grouped together in sections.
16340
16341 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16342
16343         * gst/gstelement.c:
16344           Little clarification in the docs
16345
16346 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16347
16348         * docs/README:
16349         formatting fix
16350         * plugins/elements/gstidentity.c:
16351         * plugins/elements/gstqueue.c:
16352         * plugins/elements/gsttee.c:
16353         * plugins/elements/gsttypefindelement.c:
16354         GST_ELEMENT_DETAILS formatting
16355
16356 2006-03-24  Wim Taymans  <wim@fluendo.com>
16357
16358         * libs/gst/base/gstbasesink.h:
16359         Only add fields, not insert or we break ABI.
16360
16361 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16362
16363         * win32/common/libgstbase.def:
16364         * win32/common/libgstreamer.def:
16365           Update, add recently added functions.
16366
16367 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16368
16369         * docs/gst/gstreamer-sections.txt:
16370         * gst/gstutils.c: (gst_pad_query_peer_position),
16371         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16372         * gst/gstutils.h:
16373           API: add some new utility functions:
16374            - gst_pad_query_peer_position()
16375            - gst_pad_query_peer_duration()
16376            - gst_pad_query_peer_convert()
16377           
16378 2006-03-23  Wim Taymans  <wim@fluendo.com>
16379
16380         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16381         (gst_base_sink_init), (gst_base_sink_finalize),
16382         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16383         (gst_base_sink_set_property), (gst_base_sink_get_property),
16384         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16385         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16386         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16387         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16388         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16389         (gst_base_sink_preroll_object), (gst_base_sink_event),
16390         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16391         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16392         (gst_base_sink_query), (gst_base_sink_change_state):
16393         Decouple max-lateness and the fact that QoS messages are generated
16394         with a new property (qos).
16395         added API: GstBaseSink::async_play()
16396         Add vmethod so subclasses can be notified of ASYNC playing
16397         state changes.
16398         Collect timestamp start and stop to report better current
16399         position in EOS/PLAYING/PAUSED/READY/NULL.
16400         Refactor QoS/frame dropping and other measurements.
16401         API: GstBaseSrc::qos
16402         Fixes #326311
16403
16404         * libs/gst/base/gstbasesink.h:
16405         Added Private struct.
16406         API: gst_base_sink_set_qos_enabled()
16407         API: gst_base_sink_is_qos_enabled()
16408
16409 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16410
16411         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16412           If compiling against GLib-2.8 or newer, try to read the
16413           registry file using GMappedFile first before falling back
16414           to fopen() + fread() (#332151).
16415
16416 2006-03-22  Wim Taymans  <wim@fluendo.com>
16417
16418         * gst/gstinfo.c: (gst_debug_set_active),
16419         (gst_debug_category_set_threshold):
16420         Disable debugging unless explicitly activated.
16421         Fixes #335480.
16422
16423 2006-03-22  Wim Taymans  <wim@fluendo.com>
16424
16425         * gst/gstelement.c: (gst_element_set_locked_state),
16426         (gst_element_dispose):
16427         Cleanup the error case.
16428
16429         * gst/gstobject.c: (gst_object_dispose):
16430         print a critical when some object was disposed with
16431         a parent, also revive the object since it might
16432         crash the parent.
16433
16434 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16435
16436         * tools/gst-launch.1.in:
16437           Fix another typo.
16438
16439 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16440
16441         * configure.ac:
16442         * tests/check/Makefile.am:
16443           disable some tests when we don't have a registry
16444         * tests/check/gst/gstutils.c: (gst_utils_suite):
16445           don't build the part that needs parsing
16446
16447 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16448
16449         * gst/Makefile.am
16450         * tests/examples/Makefile.am:
16451           fix --disable-parse build
16452
16453 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16454
16455         * tools/gst-feedback.1.in:
16456           Fix typo: s/feeback/feedback/ (#133494).
16457
16458 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16459
16460         * tools/Makefile.am:
16461         * tools/gst-launch.1.in:
16462           Add FILES section and correct entry about GST_REGISTRY_PATH
16463           environment variable (#133495; #133494).
16464
16465 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16466
16467         * tools/Makefile.am:
16468         * tools/gst-md5sum.1.in:
16469         * tools/gst-md5sum.c:
16470           Remove gst-md5sum and man page (the md5sink element
16471           required was removed ages ago)
16472
16473 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16474
16475         * gst/gststructure.c: (gst_structure_id_set_value):
16476           Make sure that string fields in structures/taglists
16477           contain valid UTF-8 - we don't want to pass rubbish to
16478           applications because of a buggy plugin (cp. #334167).
16479
16480 2006-03-21  Edward Hervey  <edward@fluendo.com>
16481
16482         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16483         (gst_bin_handle_message_func):
16484         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16485         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16486         (gst_element_set_bus_func):
16487         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16488         * gst/gstminiobject.c: (gst_value_set_mini_object),
16489         (gst_value_take_mini_object):
16490         * gst/gstpad.c: (gst_pad_set_pad_template):
16491         * gst/gstpipeline.c: (gst_pipeline_dispose),
16492         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16493         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16494         (gst_collect_pads_chain):
16495         * libs/gst/net/gstnettimeprovider.c:
16496         (gst_net_time_provider_set_property):
16497         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16498         It's in fact all issues with gst_*object_replace().
16499
16500 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16501
16502         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16503         
16504         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16505         * pkgconfig/gstreamer-check.pc.in:
16506           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16507
16508 2006-03-21  Edward Hervey  <edward@fluendo.com>
16509
16510         * gst/gstbuffer.h:
16511         * gst/gstevent.h:
16512         * gst/gstmessage.h:
16513         gst_[buffer|event|message]_ref() macros are replaced by a static
16514         inline functions because gcc-4.1 will about if the return value
16515         isn't used.
16516         * tests/check/gst/gstevent.c: (event_probe):
16517         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16518
16519 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16520
16521         * gst/gstutils.h:
16522         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16523         the type' case. (Closes: #335195 for now). In the future, when we
16524         depend on GLib 2.10, we could also intern the type name using
16525         g_intern_static_string()
16526
16527 2006-03-20  Wim Taymans  <wim@fluendo.com>
16528
16529         * gst/gstbin.c: (gst_bin_handle_message_func),
16530         (bin_query_max_init), (bin_query_position_fold),
16531         (bin_query_position_done), (gst_bin_query):
16532         Position query should also take max of all streams.
16533
16534 2006-03-20  Wim Taymans  <wim@fluendo.com>
16535
16536         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16537         (gst_fake_src_finalize):
16538         Fix leaks in fakesrc.
16539
16540         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16541         Fix leaks in the testcase.
16542
16543 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16544
16545         * gst/gst_private.h:
16546           add win32 specific import decoration(__declspec(dllimport)) 
16547           for all extern GstDebugCategory * variables
16548         * win32/common/libgstbase.def:
16549         * win32/common/libgstcontroller.def:
16550         * win32/common/libgstreamer.def:
16551           Add some exports, remove empty lines
16552         * win32/common/libgstdataprotocol.def:
16553         * win32/common/libgstdataprotocol.dsp:
16554         * win32/common/libgstnet.def:
16555         * win32/common/libgstnet.dsp:
16556           new project files and exportation files added
16557         
16558 2006-03-19  Wim Taymans  <wim@fluendo.com>
16559
16560         * tests/check/libs/basesrc.c: (eos_event_counter):
16561         Use proper return value for probe.
16562
16563 2006-03-17  Wim Taymans  <wim@fluendo.com>
16564
16565         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16566         (gst_pad_push):
16567         Don't leak buffers, caps and pads on negotiation errors.
16568
16569 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16570
16571         * docs/faq/cvs.xml:
16572         * docs/faq/dependencies.xml:
16573         * docs/faq/developing.xml:
16574         * docs/faq/faq.xml:
16575         * docs/faq/general.xml:
16576         * docs/faq/getting.xml:
16577         * docs/faq/legal.xml:
16578         * docs/faq/troubleshooting.xml:
16579         * docs/faq/using.xml:
16580         Faq review and update.
16581
16582 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16583
16584         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16585         (gst_pad_push):
16586         Don't pound the cpu to pieces by checking get_caps when accept_caps
16587         is called with the same caps as the pad already has.
16588         Use GST_DEBUG_OBJECT when outputting caps change information.
16589
16590 2006-03-15  Wim Taymans  <wim@fluendo.com>
16591
16592         * gst/gstclock.c: (gst_clock_class_init):
16593         Fix docs.
16594
16595 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16596
16597         * gst/gstbuffer.h:
16598         Documentation fix.
16599
16600         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16601         (gst_pad_accept_caps), (gst_pad_configure_sink),
16602         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16603         Make the default acceptcaps behaviour be to check the requested 
16604         caps against the gst_pad_get_caps output. 
16605
16606         Ensure that gst_pad_accept_caps is used to check caps when a pad
16607         doesn't have a setcaps function, so that pads automatically refuse 
16608         caps that they don't allow in their pad template. (Fixes #332986)
16609
16610         When a buffer with attached caps is pushed, ensure that the source 
16611         pad receives those caps even if the element didn't call
16612         gst_pad_set_caps first.
16613
16614 2006-03-15  Wim Taymans  <wim@fluendo.com>
16615
16616         * libs/gst/base/gstadapter.c:
16617         Add some docs.
16618
16619 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16620
16621         * win32/common/libgstbase.def:
16622         * win32/common/libgstcontroller.def:
16623         * win32/common/libgstreamer.def:
16624           Add a whole bunch of missing functions (#334434).
16625
16626 2006-03-14  Wim Taymans  <wim@fluendo.com>
16627
16628         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16629         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16630         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16631         Better debug info when we receive a segment event.
16632         Reorganize a bit so we can pass the get_times() results around.
16633         Use the segment format when calculating the running time.
16634         Don't do QoS is sync is disabled or we have no clock or the
16635         element does not want us to sync to the clock.
16636         Don't drop buffers if QoS is disabled for now.
16637
16638 2006-03-14  Wim Taymans  <wim@fluendo.com>
16639
16640         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16641         Marked the stats property as unimplemented so people don't get
16642         wild ideas.
16643         Add debug message when regression goes wrong.
16644         Added some more docs.
16645
16646 2006-03-14  Wim Taymans  <wim@fluendo.com>
16647
16648         * gst/gstsegment.c: (gst_segment_to_stream_time):
16649         Return correct return type in case of errors.
16650
16651 2006-03-14  Wim Taymans  <wim@fluendo.com>
16652
16653         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16654           Don't segfault on invalid formats.
16655
16656 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16657
16658         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16659           Can't use gst_segment_to_running_time() when the segment
16660           is not in GST_TIME_FORMAT (like with filesink, for example).
16661           Stops flac encoding pipelines from spewing critical warnings
16662           at EOS (#331248).
16663           
16664 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16665
16666         * gst/gstpipeline.c: (gst_pipeline_class_init):
16667           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16668
16669         * plugins/elements/gsttypefindelement.c:
16670         (gst_type_find_element_handle_event):
16671           Don't try to typefind empty streams.
16672
16673 2006-03-14  Wim Taymans  <wim@fluendo.com>
16674
16675         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16676         (gst_base_sink_do_qos):
16677         Separate QoS calculation.
16678         Only drop buffers when lateness is bigger than the 
16679         duration of the buffer.
16680
16681 2006-03-13  Wim Taymans  <wim@fluendo.com>
16682
16683         * gst/gstpipeline.c: (gst_pipeline_set_property),
16684         (gst_pipeline_get_property), (do_pipeline_seek),
16685         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16686         (gst_pipeline_get_delay):
16687         Don't deadlock when reading properties.
16688
16689 2006-03-13  Wim Taymans  <wim@fluendo.com>
16690
16691         * libs/gst/base/gstbasetransform.c:
16692         (gst_base_transform_class_init), (gst_base_transform_init),
16693         (gst_base_transform_sink_event),
16694         (gst_base_transform_sink_eventfunc),
16695         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16696         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16697         (gst_base_transform_set_property),
16698         (gst_base_transform_get_property),
16699         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16700         (gst_base_transform_set_qos_enabled),
16701         (gst_base_transform_is_qos_enabled):
16702         * libs/gst/base/gstbasetransform.h:
16703         Make basetransform virtual method for src events too.
16704         Handle QOS in basetransform.
16705         API: gst_base_transform_update_qos()
16706         API: gst_base_transform_set_qos_enabled()
16707         API: gst_base_transform_is_qos_enabled()
16708
16709 2006-03-13  Wim Taymans  <wim@fluendo.com>
16710
16711         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16712         (gst_base_sink_do_sync):
16713         Small cleanups.
16714         Use QOS debug category.
16715
16716 2006-03-13  Wim Taymans  <wim@fluendo.com>
16717
16718         * plugins/elements/gstqueue.c:
16719         Very small doc update.
16720
16721 2006-03-13  Wim Taymans  <wim@fluendo.com>
16722
16723         * gst/gst_private.h:
16724         * gst/gstinfo.c: (_gst_debug_init):
16725         Added QOS debug category
16726
16727 2006-03-13  Wim Taymans  <wim@fluendo.com>
16728
16729         * docs/gst/gstreamer-sections.txt:
16730         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16731         * gst/gstbin.h:
16732         * gst/gstbus.c: (gst_bus_class_init):
16733         * gst/gstbus.h:
16734         * gst/gstclock.c:
16735         * gst/gstelement.c: (gst_element_set_locked_state):
16736         * gst/gstsegment.c:
16737         Documentation updates.
16738
16739         * gst/gstpipeline.c: (gst_pipeline_get_type),
16740         (gst_pipeline_class_init), (gst_pipeline_init),
16741         (gst_pipeline_dispose), (gst_pipeline_set_property),
16742         (gst_pipeline_get_property), (do_pipeline_seek),
16743         (gst_pipeline_send_event), (gst_pipeline_change_state),
16744         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16745         (gst_pipeline_get_delay):
16746         * gst/gstpipeline.h:
16747         Added methods for setting the delay.
16748         API: gst_pipeline_set_delay()
16749         API: gst_pipeline_get_delay()
16750         Add pipeline debug category
16751         Various cleanups.
16752         Updated docs.
16753         Don't reset stream time when seek failed.
16754
16755 2006-03-13  Wim Taymans  <wim@fluendo.com>
16756
16757         * docs/design/draft-klass.txt:
16758         * docs/design/part-clocks.txt:
16759         * docs/design/part-events.txt:
16760         * docs/design/part-gstbin.txt:
16761         * docs/design/part-gstpipeline.txt:
16762         * docs/design/part-messages.txt:
16763         * docs/design/part-negotiation.txt:
16764         * docs/design/part-overview.txt:
16765         * docs/design/part-preroll.txt:
16766         * docs/design/part-seeking.txt:
16767         * docs/design/part-states.txt:
16768         * docs/design/part-streams.txt:
16769         Documentation updates.
16770
16771 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16772
16773         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16774         us to leak strings...
16775
16776 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16777
16778         * libs/gst/net/gstnettimeprovider.c:
16779           fix docs
16780         * win32/common/config.h:
16781           update
16782
16783 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16784
16785         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16786
16787         * configure.ac:
16788           Don't check for libgnomeui (leftover from old examples
16789           that aren't built or disted any longer) (#334303).
16790           
16791 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16792
16793         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16794         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16795           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16796           there's no space left on the device.
16797
16798 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16799
16800         * gst/gstclock.h:
16801           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16802           to cast the input to GstClockTime before comparing with
16803           another GstClockTime value.
16804
16805 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16806
16807         * configure.ac:
16808           back to trunk
16809
16810 === release 0.10.4 ===
16811
16812 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16813
16814         * configure.ac:
16815           releasing 0.10.4, "Light"
16816
16817 2006-03-10  Michael Smith  <msmith@fluendo.com>
16818
16819         * libs/gst/dataprotocol/dataprotocol.c:
16820           Fix docs for dataprocotol to not get the return types completely
16821           wrong for a few functions.
16822
16823 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16824
16825         * docs/gst/gstreamer-sections.txt:
16826         * gst/gstpipeline.c: (gst_pipeline_class_init),
16827         (gst_pipeline_init), (gst_pipeline_set_property),
16828         (gst_pipeline_get_property), (gst_pipeline_change_state),
16829         (gst_pipeline_set_auto_flush_bus),
16830         (gst_pipeline_get_auto_flush_bus):
16831         * gst/gstpipeline.h:
16832           Add new API: gst_pipeline_set_auto_flush_bus() and
16833           gst_pipeline_get_auto_flush_bus() to disable automatic
16834           flushing of the pipeline's GstBus when going from READY
16835           to NULL state (#332045).
16836
16837 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16838
16839         * docs/gst/gstreamer-sections.txt:
16840         * gst/gsturi.c: (gst_uri_has_protocol):
16841         * gst/gsturi.h:
16842            Add new API: gst_uri_has_protocol() (#333779).
16843
16844 2006-03-09  Wim Taymans  <wim@fluendo.com>
16845
16846         * gst/gstclock.c: (gst_clock_entry_new),
16847         (gst_clock_id_compare_func), (gst_clock_id_wait),
16848         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16849         (gst_clock_init), (gst_clock_get_internal_time),
16850         (gst_clock_set_master), (do_linear_regression),
16851         (gst_clock_add_observation), (gst_clock_set_property):
16852         * gst/gstclock.h:
16853         Review docs.
16854         Small cleanups.
16855         Fix a possible segfault when the window-size is made smaller.
16856         Calculate jitter before performing the clock wait. Ideally
16857         the clock implementation should calculate jitter but we need
16858         API breakage for that.
16859
16860         * gst/gstsystemclock.c: (gst_system_clock_init):
16861         Docs review.
16862         
16863         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16864         Remove leftover else
16865
16866         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16867         (gst_systemclock_suite):
16868         Added check to test GST_CLOCK_DIFF.
16869
16870 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16871
16872         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16873         (gst_type_find_helper_get_range):
16874           If we are provided with the size, we should implement
16875           GstTypeFind::get_length, so that typefind functions who
16876           want to can actually peek at the middle of a file.
16877
16878 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16879
16880         * docs/manual/advanced-dataaccess.xml:
16881           Add some very very basic error checking.
16882
16883         * docs/pwg/appendix-checklist.xml:
16884           Some updates to the list of things to check when writing an element.
16885
16886 2006-03-08  Wim Taymans  <wim@fluendo.com>
16887
16888         * docs/design/part-element-transform.txt:
16889         Added some docs about the design of tranform elements.
16890
16891         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16892         (gst_base_src_loop), (gst_base_src_change_state):
16893         Mark buffers with the DISCONT flag.
16894
16895 2006-03-08  Michael Smith  <msmith@fluendo.com>
16896
16897         * gst/gstregistry.h:
16898         * gst/gstregistryxml.c: (gst_registry_save),
16899         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16900         (gst_registry_xml_save_pad_template),
16901         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16902         (gst_registry_xml_write_cache):
16903           Rewrite registry-saving to avoid race conditions and check for
16904           failed writes.
16905
16906 2006-03-08  Wim Taymans  <wim@fluendo.com>
16907
16908         * libs/gst/base/gstbasetransform.c:
16909         (gst_base_transform_transform_caps),
16910         (gst_base_transform_transform_size),
16911         (gst_base_transform_prepare_output_buffer),
16912         (gst_base_transform_get_unit_size),
16913         (gst_base_transform_buffer_alloc),
16914         (gst_base_transform_handle_buffer),
16915         (gst_base_transform_change_state):
16916         Cleanups, separate normal flow from errors, add sensible
16917         DEBUG lines.
16918         Don't try to renegotiate when allocating an output buffer.
16919         Also copy DISCONT buffer flag when copying a buffer.
16920         Reset the transform after we finish streaming, not during.
16921
16922 2006-03-08  Wim Taymans  <wim@fluendo.com>
16923
16924         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16925         Use last buffer timestamp in qos message.
16926
16927 2006-03-07  Wim Taymans  <wim@fluendo.com>
16928
16929         Patch by: Christophe Fergeau
16930
16931         * docs/pwg/advanced-tagging.xml:
16932         * docs/pwg/building-pads.xml:
16933           fixes #333416
16934
16935 2006-03-07  Wim Taymans  <wim@fluendo.com>
16936
16937         * docs/libs/gstreamer-libs-sections.txt:
16938         Added basesink new methods.
16939
16940         * gst/gstevent.c:
16941         * gst/gstevent.h:
16942         Docs updates. Flesh out the QoS docs.
16943
16944         * libs/gst/base/gstadapter.c:
16945         Small doc clarification about ownership and flushing.
16946
16947         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
16948         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
16949         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
16950         (gst_base_sink_get_property), (gst_base_sink_do_sync):
16951         * libs/gst/base/gstbasesink.h:
16952         API additions: 
16953         Added new methods to allow subclass to control max-lateness 
16954         and sync.
16955         Generate very basic QoS events based on last sync observation.
16956         Updated docs, fix typo, added some QoS blurb.
16957
16958         * libs/gst/base/gstbasesrc.c:
16959         Remove obsolete _get_state() calls from docs.
16960
16961 2006-03-07  Wim Taymans  <wim@fluendo.com>
16962
16963         * docs/libs/gstreamer-libs-sections.txt:
16964         * libs/gst/base/gstbasetransform.h:
16965         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
16966         Fix docs for GstBaseSrc.
16967
16968 2006-03-07  Wim Taymans  <wim@fluendo.com>
16969
16970         * docs/gst/gstreamer-sections.txt:
16971         * gst/gstbuffer.h:
16972         * gst/gstvalue.c:
16973         * libs/gst/base/gstbasetransform.h:
16974         Small documentation fixes.
16975
16976 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16977
16978         * gst/gstvalue.c:
16979           Document thread-unsafety of gst_value_register_foo_func()
16980           when used at the same time as gst_value_foo() (#322628).
16981
16982 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
16983
16984         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
16985         (gst_push_src_check_get_range):
16986           Push sources don't support pull mode by default.
16987
16988 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
16989
16990         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16991         (gst_base_src_init), (gst_base_src_pad_check_get_range),
16992         (gst_base_src_default_check_get_range):
16993         * libs/gst/base/gstbasesrc.h:
16994           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
16995           provide default implementation, and rename
16996           gst_base_src_check_get_range() to
16997           gst_base_src_pad_check_get_range() for clarity.
16998
16999 2006-03-06  Wim Taymans  <wim@fluendo.com>
17000
17001         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17002         Make property overridable.
17003
17004 2006-03-06  Wim Taymans  <wim@fluendo.com>
17005
17006         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17007         (gst_base_sink_init), (gst_base_sink_set_property),
17008         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17009         * libs/gst/base/gstbasesink.h:
17010         API addition: Make max-lateness a property.
17011
17012 2006-03-06  Wim Taymans  <wim@fluendo.com>
17013
17014         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17015         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17016         Don't ever draw a frame that is >10ms late.
17017
17018 2006-03-06  Michael Smith  <msmith@fluendo.com>
17019
17020         * gst/gstmessage.c: (_gst_message_copy):
17021           When copying a message, set the parent_refcount of the enclosed
17022           structure to point at the copy, not the original message.
17023
17024 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17025
17026         Patch by: Christophe Fergeau
17027
17028         * gst/gstutils.h:
17029           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17030           usable in c++ code (#333417)
17031
17032 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17033
17034         * gst/gstclock.h:
17035           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17036
17037 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17038
17039         * libs/gst/base/gstbasetransform.c:
17040         (gst_base_transform_transform_caps):
17041           Make sure caps are writable before passing them to
17042           gst_caps_append().
17043
17044 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17045
17046         * gst/gsterror.h:
17047           Fix some minor docs errors.
17048
17049 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17050
17051           Patch by: Ross Burton <ross at burtonini dot com>
17052
17053         * gst/gsterror.c: (_gst_resource_errors_init):
17054         * gst/gsterror.h:
17055           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17056
17057 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17058
17059         * gst/gst.c:
17060         Add a check and output a g_warning when GStreamer is built
17061         against GLib 2.6 but running against 2.8 or higher, and vice 
17062         versa. (Closes: #323542)
17063
17064 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17065
17066         * gst/parse/parse.l:
17067           Commit patch for parse_launch syntax from #331255. Removes 
17068           support for quoted strings and mimetypes when writing filtered 
17069           caps. See the bug report for more details - I'm pretty sure this
17070           obscure feature is not in use by _anyone_ anywhere.
17071
17072           With this simple change, the size of the gstreamer.so here 
17073           drops from 2193KB to 1565KB.
17074
17075 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17076
17077         * plugins/elements/gsttypefindelement.h:
17078         * plugins/elements/gsttypefindelement.c:
17079         (gst_type_find_element_src_event), (start_typefinding),
17080         (stop_typefinding), (gst_type_find_element_handle_event),
17081         (gst_type_find_element_chain),
17082         (gst_type_find_element_chain_do_typefinding):
17083           Use gst_type_find_helper_for_buffer() for chain-based
17084           typefinding.
17085
17086 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17087
17088         * plugins/elements/gsttypefindelement.c:
17089         (gst_type_find_element_class_init),
17090         (gst_type_find_element_set_property),
17091         (gst_type_find_element_get_property):
17092           Deprecate "maximum" property (not only was it only taken into
17093           account for typefinding in push-mode anyway, it also was never
17094           actually possible to set it in the first place because the
17095           property was registered with the numeric property ID for the
17096           "minimum" property). Register "maximum" property correctly,
17097           for the sake of future copy'n'pasters. Remove some cruft
17098           from property get/set functions.
17099
17100 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17101
17102         * plugins/elements/gsttypefindelement.c:
17103         (gst_type_find_element_activate):
17104           Use gst_type_find_helper_get_range() here, so we
17105           can honour the "minimum" property and also emit
17106           the signal with the correct probability of the found caps.
17107
17108 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17109
17110         * docs/libs/gstreamer-libs-sections.txt:
17111         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17112         (helper_find_suggest), (gst_type_find_helper_get_range),
17113         (gst_type_find_helper):
17114         * libs/gst/base/gsttypefindhelper.h:
17115           New API: gst_type_find_helper_get_range() (#333042).
17116
17117 2006-03-02  Michael Smith  <msmith@fluendo.com>
17118
17119         * gst/gstregistryxml.c: (load_feature):
17120           Asserting on a failure to read part of the registry is Not Cool.
17121           Just log a warning and return NULL (which is already handled)
17122
17123 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17124
17125         * win32/common/libgstbase.def:
17126           added export of gst_type_find_helper_for_buffer
17127         * win32/common/libgstbase.def:
17128           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17129           gst_ghost_pad_get_target
17130
17131 2006-02-28  Wim Taymans  <wim@fluendo.com>
17132
17133         * docs/design/draft-klass.txt:
17134         We use Filter now.
17135         Added Connector to mark elements that are only used to
17136         allow pipeline connections.
17137         Moved Debug to extra feature since most of them are 
17138         functionally something else.
17139
17140 2006-02-28  Wim Taymans  <wim@fluendo.com>
17141
17142         * docs/design/draft-klass.txt:
17143         Some updates and clarifications.
17144
17145 2006-02-28  Wim Taymans  <wim@fluendo.com>
17146
17147         * docs/design/draft-klass.txt:
17148         Proposal for klass field values.
17149
17150         * docs/design/part-streams.txt:
17151         Start of a doc describing stream anatomy.
17152
17153 2006-02-28  Wim Taymans  <wim@fluendo.com>
17154
17155         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17156         Help the compiler a bit with type registration.
17157         Use existing forward cod path instead of duplicating it when 
17158         handling a message.
17159         
17160         * gst/gstbus.c: (gst_bus_get_type):
17161         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17162         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17163         * gst/gstclock.c: (gst_clock_get_type):
17164         * gst/gstelement.c: (gst_element_get_type),
17165         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17166         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17167         * gst/gstminiobject.c: (gst_mini_object_get_type):
17168         * gst/gstpad.c: (gst_pad_get_type):
17169         * gst/gstsegment.c: (gst_segment_get_type):
17170         * gst/gststructure.c: (gst_structure_get_type):
17171         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17172         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17173         * gst/gstvalue.c:
17174         Help compiler with type registration.
17175
17176         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17177         Small doc update.
17178
17179 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17180
17181         * plugins/elements/gsttypefindelement.c:
17182         (gst_type_find_element_handle_event):
17183           When we get an EOS event and have not found a type yet
17184           (most likely because we had not yet accumulated
17185           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17186           type given the data we have so far. Fixes typefinding
17187           for very short streams again, most notably quicktime
17188           redirections as used on Apple's trailer site (#331701).
17189
17190 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17191
17192         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17193         (gst_type_find_helper):
17194           Try typefinding factories with the highest rank first.
17195
17196 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17197
17198         * docs/libs/gstreamer-libs-docs.sgml:
17199         * docs/libs/gstreamer-libs-sections.txt:
17200         * libs/gst/base/gsttypefindhelper.c:
17201           Add section for typefind helper and add documentation
17202           for the old and the new function.
17203
17204 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17205
17206         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17207         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17208         (gst_type_find_helper_for_buffer):
17209         * libs/gst/base/gsttypefindhelper.h:
17210           New API: gst_type_find_helper_for_buffer() (#332723).
17211           
17212 2006-02-27  Michael Smith  <msmith@fluendo.com>
17213
17214         Patch by: Loïc Minier
17215
17216         * configure.ac:
17217         * docs/Makefile.am:
17218         * docs/slides/Makefile.am:
17219           prevent CVS directories getting disted.
17220
17221 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17222
17223         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17224           Use the REFCOUNTING category for caps refcounting.
17225           
17226 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17227
17228         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17229           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17230
17231 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17232
17233         * plugins/elements/gsttypefindelement.c:
17234         (gst_type_find_element_activate):
17235           Use gst_pad_check_pull_range() before _activate_pull()
17236           to avoid unnecessary open/close (see #331690).
17237
17238 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17239
17240         * gst/gstutils.c:
17241           Docs enhancement: make it crystal clear what the
17242           gst_pad_add_*_probe() callbacks should look like.
17243
17244 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17245
17246         * libs/gst/base/gstbasesrc.c:
17247           Document how applications can stop recording from
17248           live sources (see #330996).
17249
17250 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17251
17252         * tests/check/Makefile.am:
17253         * tests/check/libs/basesrc.c: (eos_event_counter),
17254         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17255         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17256         (gst_basesrc_suite), (main):
17257           ... and add some tests for the base source EOS stuff.
17258
17259 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17260
17261         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17262           Test case originally showed the problem fixed below,
17263           but was then amended. Add checks back at the place
17264           where they used to be.
17265
17266 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17267
17268         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17269         (gst_base_src_init), (gst_base_src_loop),
17270         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17271         (gst_base_src_change_state):
17272         * libs/gst/base/gstbasesrc.h:
17273           Don't unconditionally send EOS when going from PAUSED to
17274           READY state, esp. make sure we don't send two EOS events
17275           in some cases (e.g. one when reaching EOS and one when
17276           going from PAUSED to READY). Also, we don't want to send
17277           EOS events when operating in pull mode. However, we do
17278           want to send an EOS event when shutting down a live
17279           source explicitly, for example (fixes #330996).
17280           
17281 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17282
17283         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17284           Update src->read_position after a seek when not using mmap.
17285           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17286
17287 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17288
17289         * gst/Makefile.am:
17290         * gst/gstparse.h:
17291         * gst/gstutils.c:
17292         * gst/gstutils.h:
17293         Make things work with --disable-parse as they do with 
17294         --disable-load-save - the symbols involved disappear, but the
17295         header is still installed and GST_DISABLE_PARSE is included via
17296         gstconfig.h
17297
17298 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17299
17300         * libs/gst/base/gstbasetransform.c:
17301         (gst_base_transform_change_state): Fix a stupid bug. I was 
17302         sure I compiled that.
17303
17304 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17305
17306         * gst/gstpad.c: (gst_pad_set_blocked_async):
17307         * gst/gstutils.c: (gst_pad_add_data_probe),
17308         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17309         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17310         (gst_pad_remove_buffer_probe): Make those function act on the
17311         ghostpad target when it's a ghostpad. (Closes #331727)
17312
17313 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17314
17315         * libs/gst/base/gstbasetransform.c:
17316         (gst_base_transform_change_state): Make basetransform reusable.
17317         (Closes #331898)
17318
17319 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17320
17321         * docs/random/release:
17322         Move the current documentation of how to do a release to the top
17323         of the file.
17324
17325         * gst/gstbin.c: (gst_bin_class_init),
17326         (gst_bin_handle_message_func):
17327         Allow multiple state-recalculation threads. (Closes #328873)
17328
17329 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17330
17331         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17332         * gst/gstpad.c: (gst_pad_set_event_function),
17333         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17334         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17335         2 strings. You can't use the STR_NULL macro on that.
17336
17337 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17338
17339         * gst/gstpad.c: (gst_pad_set_event_function),
17340         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17341         (gst_pad_set_getcaps_function)
17342         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17343           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17344           So now, we can use --gst-debug-level=5 on Windows
17345         * win32/common/libgstcontroller.def:
17346           Added export of gst_controller_init
17347         * win32/vs6/libgstcontroller.dsp:
17348           Fixed Release post build configuration
17349
17350 2006-02-17  Wim Taymans  <wim@fluendo.com>
17351
17352         * tests/check/gst/gstquery.c: (GST_START_TEST):
17353         Added another check.
17354
17355 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17356
17357         * plugins/elements/gsttypefindelement.c: (find_peek):
17358           We can do peeks at non-zero offsets, as long as they
17359           fall within the buffer we have.
17360
17361 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17362
17363         * tests/check/Makefile.am:
17364         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17365         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17366         (parse_suite), (main):
17367           Add testsuite for parse launch syntax
17368
17369 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17370
17371         * plugins/elements/gsttypefindelement.c:
17372         (gst_type_find_element_chain):
17373           When typefinding is unsuccessful in the chain function, don't
17374           error out immediately. Only error out with NO_CAPS_FOUND if
17375           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17376           otherwise simply wait for more data so we can try typefinding
17377           again with more data later. Also, don't attempt to typefind
17378           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17379           this should improve typefinding from network sources where the
17380           size of the first buffer can be somewhat random.
17381
17382 2006-02-14  Wim Taymans  <wim@fluendo.com>
17383
17384         * docs/gst/gstreamer-sections.txt:
17385         * gst/gstpadtemplate.c:
17386         * gst/gstpadtemplate.h:
17387         Fix padtemplate docs, fixes #328805.
17388
17389 2006-02-14  Wim Taymans  <wim@fluendo.com>
17390
17391         * tools/gst-launch.c: (main):
17392         NO_PREROLL is not an ERROR so don't send confusing messages
17393         to the user.
17394
17395 2006-02-14  Wim Taymans  <wim@fluendo.com>
17396
17397         Patch by: Torsten Schoenfeld
17398
17399         * gst/gstregistry.c: (gst_registry_get_default),
17400         (_gst_registry_cleanup):
17401         Protect default registry with lock and ref/sink it.
17402         Fixes #324818
17403
17404 2006-02-14  Wim Taymans  <wim@fluendo.com>
17405
17406         * gst/gstbuffer.c:
17407         * gst/gstquery.c: (gst_query_list_add_format),
17408         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17409         (gst_query_parse_formats_nth):
17410         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17411         Docs fixes.
17412
17413 2006-02-14  Wim Taymans  <wim@fluendo.com>
17414
17415         * docs/gst/gstreamer-sections.txt:
17416         Reworked query docs.
17417
17418         * gst/gstquery.c: (gst_query_new_formats),
17419         (gst_query_list_add_format), (gst_query_set_formats),
17420         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17421         (gst_query_parse_formats_nth):
17422         * gst/gstquery.h:
17423         Flesh out formats query, added some new methods.
17424         Fix part of #324398.
17425
17426         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17427         Added query creation tests.
17428
17429 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17430
17431         * gst/gstpad.c: (fixate_value):
17432         Add a default fixation for fraction lists.
17433
17434 2006-02-13  Wim Taymans  <wim@fluendo.com>
17435
17436         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17437         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17438         (gst_task_join):
17439         * gst/gsttask.h:
17440         Detect and warn for obvious deadlocks. fixes #320340
17441         Fix error case where lock was not released.
17442
17443         * tests/check/Makefile.am:
17444         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17445         (task_func), (gst_element_suite), (main):
17446         Add task check.
17447
17448 2006-02-13  Wim Taymans  <wim@fluendo.com>
17449
17450         * docs/gst/gstreamer-sections.txt:
17451         * gst/gstbus.c:
17452         Add new functions to docs.
17453
17454 2006-02-13  Wim Taymans  <wim@fluendo.com>
17455
17456         * docs/design/part-TODO.txt:
17457         Updated TODO list, basesrc supports seeking to non-bytes
17458         formats.
17459
17460         * docs/design/part-element-sink.txt:
17461         Update docs.
17462
17463         * gst/gstbin.c: (bin_replace_message),
17464         (gst_bin_handle_message_func):
17465         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17466         * gst/gstevent.c: (gst_event_finalize):
17467         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17468         (gst_pad_send_event):
17469         Use shiny new _TYPE_NAME macros.
17470
17471         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17472         Move debug statement up.
17473
17474         * gst/gstelement.c: (gst_element_set_locked_state):
17475         Add some debugging.
17476
17477 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17478
17479         * docs/gst/gstreamer-sections.txt:
17480         * gst/gstmessage.h:
17481         * gst/gstquery.h:
17482           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17483           macros (#330906). Also, document the already existing
17484           GST_QUERY_TYPE macro.
17485
17486 2006-02-13  Wim Taymans  <wim@fluendo.com>
17487
17488         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17489         (event_probe), (GST_START_TEST):
17490         Only events up to the pipeline EOS are counted, there are
17491         some more when going to NULL currently which we don't care
17492         about for now.
17493
17494 2006-02-13  Wim Taymans  <wim@fluendo.com>
17495
17496         * gst/gstpad.c: (gst_pad_send_event):
17497         Correctly check flushing and emit probes. fixes #330125
17498
17499 2006-02-10  Andy Wingo  <wingo@pobox.com>
17500
17501         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17502         structure.
17503         (gst_bus_init): Cache the location of the private data in the
17504         instance structure.
17505         (gst_bus_enable_sync_message_emission) 
17506         (gst_bus_disable_sync_message_emission): Implement new public
17507         functions.
17508         (gst_bus_post): Emit the sync-message signal if the user asked for
17509         it. Fixes #330684.
17510
17511         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17512         location of the bus-private structure.
17513         (gst_bus_enable_sync_message_emission)
17514         (gst_bus_disable_sync_message_emission): API addition
17515
17516 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17517
17518         Patch by: Vincent Torri
17519
17520         * docs/pwg/building-boiler.xml:
17521         PWG patch from #326800
17522
17523 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17524
17525         * configure.ac:
17526         * docs/Makefile.am:
17527         * docs/design/Makefile.am:
17528           Dist design docs.
17529
17530 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17531
17532         * configure.ac:
17533           back to CVS
17534
17535 === release 0.10.3 ===
17536
17537 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17538
17539         * configure.ac:
17540           releasing 0.10.3, "Like a virgin"
17541
17542 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17543
17544         * configure.ac:
17545           2nd prerelease of 0.10.3
17546           Bump libtool versioning.
17547
17548 2006-02-07  Andy Wingo  <wingo@pobox.com>
17549
17550         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17551         update last_stop if we're in TIME format and the timestamp is
17552         valid.
17553
17554         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17555         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17556         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17557         If we get a new newsegment with a different format, adapt
17558         accordingly.
17559
17560         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17561         of 0. Not a problem, really.
17562
17563         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17564         warn if sync=true.
17565
17566 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17567
17568         * configure.ac:
17569           Prelease of 0.10.3
17570
17571 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17572
17573         * win32/vs7:
17574           project files updated to the default vs7 configuration
17575         * win32/common/libgstbase.def:
17576         * win32/common/libgstreamer.def:
17577           added new symbols,
17578           removed empty lines,
17579           sorted all exported symbols alphabetically
17580         * win32/common/dirent.c:
17581         * win32/common/dirent.h:
17582         * win32/common/gchar.h:
17583           use windows line end.
17584           
17585 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17586
17587         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17588           Send EOS event when stopping.
17589
17590 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17591
17592         * docs/README:
17593           Tell folks what to do if the plugin-foobar.xml file
17594           hasn't been generated for a newly-added plugin.
17595
17596 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17597
17598         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17599         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17600         (gst_collect_pads_start), (gst_collect_pads_stop),
17601         (gst_collect_pads_event): Collectpads now holds a reference
17602         to the GstPad that was added. Indeed we don't want to look
17603         at pads that might just go away with no warning...
17604
17605 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17606
17607         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17608         (gst_collect_pads_start), (gst_collect_pads_stop),
17609         (gst_collect_pads_event), (gst_collect_pads_chain):
17610         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17611         Mark Nauwelaerts's patch on bug #328491.
17612
17613 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17614
17615         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17616         (gst_utils_suite):
17617           Add some simple tests for gst_parse_bin_from_description() and
17618           gst_bin_find_unconnected_pad() (#329069).
17619
17620 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17621
17622         * tools/gst-launch.c: (event_loop), (main):
17623           Catch errors during preroll (#320084).
17624
17625 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17626
17627         * plugins/elements/gsttypefindelement.c:
17628         (gst_type_find_element_activate):
17629           Post TYPE_NOT_FOUND error message when typefinding
17630           is unsuccessful in the activate function as well.
17631
17632 2006-02-02  Wim Taymans  <wim@fluendo.com>
17633
17634         * docs/design/part-element-sink.txt:
17635         Updated doc.
17636
17637 2006-02-02  Wim Taymans  <wim@fluendo.com>
17638
17639         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17640         (gst_base_sink_render_object),
17641         (gst_base_sink_queue_object_unlocked):
17642         Only keep track of prerollable items when we are 
17643         prerolling.
17644         Before rendering after preroll, always check if we
17645         have queued items.
17646         Added some more debugging.
17647
17648 2006-02-02  Wim Taymans  <wim@fluendo.com>
17649
17650         * gst/gstelement.c: (gst_element_continue_state),
17651         (gst_element_set_state_func), (gst_element_change_state):
17652         Fixed #326576, been running this for quite some time with
17653         no regressions at all.
17654
17655 2006-02-02  Wim Taymans  <wim@fluendo.com>
17656
17657         * common/gst.supp:
17658         Added more suppressions
17659
17660 2006-02-02  Wim Taymans  <wim@fluendo.com>
17661
17662         * docs/design/part-element-sink.txt:
17663         Updated document.
17664
17665         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17666         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17667         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17668         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17669         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17670         (gst_base_sink_preroll_object),
17671         (gst_base_sink_queue_object_unlocked),
17672         (gst_base_sink_queue_object), (gst_base_sink_event),
17673         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17674         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17675         (gst_base_sink_get_position), (gst_base_sink_change_state):
17676         * libs/gst/base/gstbasesink.h:
17677         Totally refactored matching the design doc.
17678         Use two segments, one to clip incomming buffers and another to
17679         perform sync.
17680         Handle queueing correctly, bypass the queue when playing.
17681         Make EOS cancelable.
17682         Handle errors correctly when operating in pull based mode.
17683
17684         * tests/check/elements/fakesink.c: (GST_START_TEST),
17685         (fakesink_suite):
17686         Added new check for sinks.
17687
17688 2006-02-02  Wim Taymans  <wim@fluendo.com>
17689
17690         * gst/gstsegment.c: (gst_segment_clip):
17691         No reason to refuse to clip when start == -1
17692
17693 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17694
17695         * docs/README:
17696         * docs/manual/intro-basics.xml:
17697         * docs/manual/intro-preface.xml:
17698         * docs/manual/manual.xml:
17699         * docs/pwg/advanced-dparams.xml:
17700         * docs/pwg/intro-basics.xml:
17701         * docs/pwg/intro-preface.xml:
17702         * docs/pwg/pwg.xml:
17703           describe dparams (controller) for plugins
17704           unify docs a little more
17705
17706 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17707
17708         * docs/gst/gstreamer-sections.txt:
17709         * gst/gstutils.c: (element_find_unconnected_pad),
17710         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17711         * gst/gstutils.h:
17712           Add new API: gst_parse_bin_from_description() and
17713           gst_bin_find_unconnected_pad() (#329069).
17714
17715 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17716
17717         * docs/manual/README:
17718           uncover a nasty detail of the docs build
17719
17720 2006-01-31  Wim Taymans  <wim@fluendo.com>
17721
17722         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17723         Don't cache duration messages if we're not going to use or
17724         free them.
17725
17726 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17727
17728         * docs/manual/advanced-dparams.xml:
17729         * docs/pwg/advanced-dparams.xml:
17730           more dparam docs
17731         * gst/gstindex.c:
17732           fix docs
17733         * libs/gst/controller/lib.c: (gst_controller_init):
17734           init just once
17735
17736 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17737
17738         * gst/gstelement.c: (gst_element_message_full):
17739           also show file/line/func if no additional debug was given
17740
17741 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17742         
17743         * win32/vs7/grammar.vcproj:
17744           activate copy of autogenerated files for Release mode
17745
17746 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17747         
17748         * win32/common/libgstreamer.def:
17749           export gst_value_compare
17750
17751 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17752
17753         * plugins/elements/Makefile.am:
17754         * plugins/elements/gstelements.c:
17755         * plugins/elements/gstfdsink.c: (_do_init),
17756         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17757         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17758         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17759         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17760         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17761         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17762         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17763         * plugins/elements/gstfdsink.h:
17764         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17765
17766 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17767
17768         * docs/manual/advanced-dparams.xml:
17769           describe controller
17770         * docs/manual/advanced-position.xml:
17771         * docs/manual/basics-init.xml:
17772         * docs/manual/manual.xml:
17773         * docs/manual/titlepage.xml:
17774         * docs/pwg/pwg.xml:
17775         * docs/pwg/titlepage.xml:
17776           cleanup xml (more to come)
17777         * libs/gst/controller/gstcontroller.c:
17778           fix typo
17779
17780 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17781         
17782         * win32/vs6/grammar.dsp:
17783           add autogen of gstmarshal.c,h for Release mode
17784                 
17785 2006-01-30  Wim Taymans  <wim@fluendo.com>
17786
17787         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17788         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17789         (gst_base_sink_handle_object), (gst_base_sink_event),
17790         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17791         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17792         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17793         (gst_base_sink_deactivate), (gst_base_sink_activate),
17794         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17795         (gst_base_sink_query), (gst_base_sink_change_state):
17796         Basesink cleanups, remove some old code.
17797         Handle the case where a subclass can preroll in the render
17798         method (mostly audiosinks).
17799         Handle more events.
17800         Remove some locks around variables that are now protected
17801         with the PREROLL_LOCK (clock_id, flushing, ..).
17802         Optimize position query some more, do correct locking.
17803         Remove old code to push queue in state change, this is not
17804         needed anymore since preroll blocks on all prerollable items 
17805         now.
17806         Almost implemented as described in design doc.
17807
17808 2006-01-30  Wim Taymans  <wim@fluendo.com>
17809
17810         * tests/check/gst/gstbin.c: (GST_START_TEST):
17811         Wait for refcount to settle down before checking.
17812
17813 2006-01-30  Wim Taymans  <wim@fluendo.com>
17814
17815         * docs/design/part-element-sink.txt:
17816         Pseudo code overview of desired sink behaviour regarding
17817         preroll.
17818
17819 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17820         * win32/vs6/grammar.dsp:
17821           fix some bugs in Release mode for autogenerated files
17822                 
17823 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17824         * win32/common/libgstbase.def:
17825         * win32/common/libgstreamer.def:
17826           export some new symbols: gst_base_src_set_format,
17827           gst_iterator_next, gst_structure_set_valist
17828
17829 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17830
17831         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17832         Set pad functions unconditionally. Fixes #329105.
17833
17834 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17835         * win32/vs8:
17836           add vs8 project files created by Sergey Scobich
17837
17838 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17839
17840         * gst/gstutils.c: (gst_element_unlink_pads):
17841         Don't leak pad references.
17842
17843         * tests/check/elements/fakesink.c: (GST_START_TEST):
17844         * tests/check/generic/sinks.c: (GST_START_TEST):
17845         * tests/check/generic/states.c: (GST_START_TEST):
17846         * tests/check/gst/gstbin.c: (GST_START_TEST):
17847         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17848         * tests/check/gst/gstelement.c: (GST_START_TEST):
17849         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17850         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17851         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17852         Fix a bunch of leaks. Make generic/sinks.c
17853         use a bit less cpu by slowing the buffer rate
17854         between fakesrc and fakesink.
17855         
17856 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17857         * gst/gstcaps.c:
17858         * gst/gstelement.c: (gst_element_send_event):
17859         * gst/gstevent.c:
17860         * gst/gstinfo.c:
17861         * gst/gstiterator.c:
17862         * gst/gstiterator.h:
17863         * gst/gstpad.c: (gst_pad_send_event):
17864         * gst/gststructure.c:
17865         * gst/gsturi.c:
17866         * gst/gstutils.c:
17867         * gst/gstvalue.c:
17868         * libs/gst/base/gstadapter.c:
17869           doc fixes, to link to function, just write gst_cool_function(), don't
17870           prefix with '#'
17871
17872 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17873
17874         * plugins/elements/gsttee.c: (gst_tee_do_push),
17875         (gst_tee_handle_buffer):
17876         Always prefer an actual return value from a src
17877         pad in place of NOT_LINKED. This means we return
17878         WRONG_STATE when all src pads are WRONG_STATE
17879         instead of NOT_LINKED.
17880
17881         Lock when replacing the last message to prevent
17882         racing with the get_property method.
17883
17884         Add debug output
17885
17886 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17887
17888         * tests/check/Makefile.am:
17889         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17890         (main):
17891         Add a very simple check that should have caught the memleak I fixed
17892         last night (if not for the slice allocator hiding it)
17893
17894 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17895
17896         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17897         (gst_bin_remove_func), (gst_bin_handle_message_func),
17898         (bin_query_duration_fold), (bin_query_generic_fold):
17899         Clean up references to the clock provider when disposed or when
17900         handling a clock-lost message from it.
17901
17902         Unref sinks when performing a query via gst_iterator_fold, as the
17903         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17904
17905         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17906         (gst_clock_set_master):
17907         Drop our reference to the master clock, if any, when we are disposed.
17908
17909         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17910         Chain up in dispose. 
17911
17912 2006-01-26  Wim Taymans  <wim@fluendo.com>
17913
17914         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17915         Add some debugging.
17916
17917 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17918
17919         * plugins/elements/gsttee.c: (gst_tee_do_push),
17920         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17921         handles pad being NOT_LINKED or in WRONG_STATE.
17922
17923 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17924
17925         * win32/MANIFEST:
17926           more updating
17927
17928 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17929
17930         * win32/MANIFEST:
17931           remove obsolete entry
17932
17933 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17934
17935         * docs/gst/gstreamer-sections.txt:
17936         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17937         (gst_bin_iterate_sources), (gst_bin_send_event):
17938         * gst/gstbin.h:
17939         * gst/gstelement.c: (gst_element_send_event):
17940         * gst/gstevent.c:
17941         * gst/gstpad.c: (gst_pad_send_event):
17942           added code for downstream events, reviewed docs in gstevent.c
17943
17944 2006-01-25  Julien MOUTTE  <julien@moutte.net>
17945
17946         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17947         We only query position using the clock in the playing state.
17948         Query peer in the other cases.
17949         * win32/common/config.h: Updates.
17950
17951 2006-01-24  Wim Taymans  <wim@fluendo.com>
17952
17953         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17954         A clock entry that is scheduled for the exact time of the
17955         clock is still in time.
17956
17957         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17958         (gst_base_sink_do_sync):
17959         Add some more debug info.
17960
17961 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17962
17963         * win32/vs7:
17964           Add new vs7 project files and solution.
17965
17966 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
17967
17968         * win32/vs7:
17969           all files removed as they were out-dated.
17970
17971 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17972
17973         * docs/random/release:
17974           update notes
17975         * gst/gstbin.c: (gst_bin_init):
17976         * gst/gstbus.c: (gst_bus_new):
17977         * gst/gstbus.h:
17978         * gst/gstpipeline.c: (gst_pipeline_init):
17979           use gst_bus_new(), improve logging, fix docs
17980         * win32/common/config.h:
17981           update for cvs build
17982
17983 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
17984
17985         * autogen.sh:
17986           up required version of automake to 1.7
17987
17988 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
17989
17990         * win32/common/libgstreamer.def:
17991           export gst_buffer_is_metadata_writable
17992
17993 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
17994
17995         * docs/gst/gstreamer-sections.txt:
17996         * gst/gstevent.h:
17997           Add gst_event_replace() (#327001)
17998
17999 2006-01-20  Wim Taymans  <wim@fluendo.com>
18000
18001         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18002         Make it actually compile too..
18003
18004 2006-01-20  Wim Taymans  <wim@fluendo.com>
18005
18006         * gst/gstcaps.c:
18007         Clarify behaviour of _is_equal() when passing NULL parameters.
18008
18009         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18010         (gst_pad_set_caps):
18011         Cleanups. Don't unref NULL caps.
18012         When setting the same caps, protect caps of the pad with
18013         proper lock.
18014         Use full functionality of _is_equal() when comparing caps.
18015
18016 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18017
18018         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18019         Don't loop infinitely if there are no buffers to present. Partially
18020         fixes #327197, but collectpads is just broken for reusing elements
18021         to do multiple encodes atm.
18022
18023 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18024
18025         * tools/gst-inspect.c: (print_element_features):
18026         * tools/gst-xmlinspect.c: (main):
18027         URL_HANDLER is not a plugin feature we can search for in
18028         the registry.
18029
18030 2006-01-19  Edward Hervey  <edward@fluendo.com>
18031
18032         * gst/gstelement.c: (gst_element_pads_activate): 
18033         When activating, do src pads first, then sink pads.
18034         When de-activating, do sink pads first, then src pads.
18035
18036 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18037
18038         * docs/gst/gstreamer-sections.txt:
18039         Add gst_index_add_associationv to the docs
18040
18041 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18042
18043         * gst/gstevent.c:
18044           Fix docs typo
18045
18046         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18047         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18048           Do some refactoring. Doesn't actually change functionality,
18049           but makes landing the DRAIN event easier later.
18050
18051 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18052
18053         * docs/pwg/advanced-scheduling.xml:
18054           Update from 0.9.x to 0.10 API and make example a bit
18055           clearer.
18056
18057 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18058
18059         * docs/gst/gstreamer-sections.txt:
18060         Add gst_buffer_(is|make)_metadata_writable methods.
18061
18062 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18063
18064         * docs/design/part-sparsestreams.txt:
18065         Update sparse streams doc, hopefully for greater clarity
18066
18067 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18068
18069         * docs/design/part-events.txt:
18070         Remove mention of FILLER events.
18071         Add DRAIN event.
18072
18073         * docs/design/part-sparsestreams.txt:
18074         Write some things about using NEWSEGMENT to keep sparse streams
18075         flowing.
18076
18077 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18078
18079         * gst/gstbin.c: (gst_bin_dispose):
18080           Guard gst_object_unref call against a NULL object (dispose
18081           can theoretically be called multiple times).
18082           
18083 2006-01-18  Wim Taymans  <wim@fluendo.com>
18084
18085         * gst/gstbin.c: (gst_bin_element_set_state):
18086         * gst/gstclock.c: (gst_clock_id_wait):
18087         Added some more debug info.
18088
18089         * libs/gst/base/gstadapter.c:
18090         Added more docs.
18091
18092         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18093         (gst_base_sink_do_sync), (gst_base_sink_chain):
18094         Added some comments.
18095
18096 2006-01-18  Wim Taymans  <wim@fluendo.com>
18097
18098         * tests/check/Makefile.am:
18099         * tests/check/elements/fakesink.c: (chain_async_buffer),
18100         (chain_async), (chain_async_return), (GST_START_TEST),
18101         (fakesink_suite), (main):
18102         Added fakesink test that checks prerolling and clipping
18103         behaviour.
18104
18105         * tests/check/gst/gstutils.c: (GST_START_TEST):
18106         Make check run faster so that buildbots don't timeout.
18107
18108 2006-01-18  Wim Taymans  <wim@fluendo.com>
18109
18110         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18111         (gst_base_sink_do_sync):
18112         Some cleanups.
18113         When the sink finishes blocking on the preroll buffer, it can
18114         immediatly render it instead of rendering when the next buffer
18115         arrives.
18116
18117 2006-01-18  Wim Taymans  <wim@fluendo.com>
18118
18119         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18120         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18121         (gst_base_sink_chain):
18122         Small cleanups.
18123         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18124         Don't store _last_stop if the buffer is dropped.
18125
18126 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18127
18128         * plugins/elements/gsttypefindelement.c:
18129         (gst_type_find_element_class_init):
18130           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18131           object method handler that sets the caps on the pad and we want
18132           that to happen before we emit the signal (fixes e.g. feeding a
18133           plain text file to decodebin).
18134
18135 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18136
18137         * gst/gstplugin.c: Add MPL and Proprietary as license options
18138
18139 2006-01-18  Andy Wingo  <wingo@pobox.com>
18140
18141         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18142         symbol was exported before, it appears this was just an oversight.
18143         Fixes #168703.
18144         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18145
18146         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18147         prototype to gint. OK since this prototype was not in the header.
18148
18149 2006-01-17  Andy Wingo  <wingo@pobox.com>
18150
18151         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18152         registry while we remove plugins.
18153
18154         * tools/gst-inspect.c (print_element_info): Don't unref the
18155         factory arg, that should be the responsibility of whatever code
18156         received the ref. Fixes a double-free when called from
18157         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18158         (main): Unref the factory if we have one.
18159         (print_element_list): No change -- relies on the
18160         plugin_feature_list_free to free the list of features.
18161
18162 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18163
18164         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18165         (gst_buffer_make_metadata_writable):
18166         * gst/gstbuffer.h:
18167         * libs/gst/base/gstbasetransform.c:
18168         (gst_base_transform_prepare_output_buf):
18169         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18170         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18171           Replace gst_buffer_(make|is)_metadata_writable patch now
18172           that the release is out.
18173
18174 2006-01-17  Andy Wingo  <wingo@pobox.com>
18175
18176         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18177         in the present tense without reference to versions.
18178
18179         * gst/gstregistry.c (gst_registry_add_plugin)
18180         (gst_registry_remove_plugin, gst_registry_remove_feature)
18181         (gst_registry_find_feature, gst_registry_get_feature_list)
18182         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18183         (gst_registry_lookup, gst_registry_scan_path)
18184         (_gst_registry_remove_cache_plugins)
18185         (gst_registry_get_feature_list_by_plugin): Add argument
18186         validation.
18187
18188 === release 0.10.2 ===
18189
18190 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18191
18192         * configure.ac:
18193           releasing 0.10.2, "If man is five"
18194
18195 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18196
18197         * gst/gstbuffer.c:
18198         * gst/gstbuffer.h:
18199         * libs/gst/base/gstbasetransform.c:
18200         (gst_base_transform_prepare_output_buf):
18201         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18202         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18203           Back out patch until after the release.
18204
18205 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18206
18207         * gst/gstminiobject.c:
18208           Spelling fix in docs.
18209         * ChangeLog - remove conflict indicator
18210
18211 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18212
18213         Reviewed By: Andy Wingo
18214
18215         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18216         (gst_buffer_make_metadata_writable):
18217         * gst/gstbuffer.h:
18218           Add gst_buffer_(is|make)_metadata_writable as analogues of
18219           gst_buffer_(is|make)_writable.
18220
18221         * libs/gst/base/gstbasetransform.c:
18222         (gst_base_transform_prepare_output_buf):
18223         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18224           Use name gst_buffer_(is|make)_metadata_writable functions.
18225
18226         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18227           Test gst_buffer_(is|make)_metadata_writable
18228         
18229           (Closes: #324162)
18230
18231 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18232
18233         * docs/manual/Makefile.am:
18234           don't do parallel make
18235         * configure.ac:
18236           AC_SUBST HOST_CPU
18237         * win32/common/config.h.in:
18238           add generations for HOST_CPU and GST_MAJORMINOR
18239         * win32/common/config.h:
18240           commit generated result
18241
18242 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18243
18244         * docs/manual/appendix-integration.xml:
18245           Update GNOME integration section to use gst_init_get_option_group()
18246           instead of the old popt stuff (#322911). Also, GNOME applications
18247           should  now use gconf*sink and gconf*src instead of the old gconf
18248           helper lib we had.
18249
18250 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18251
18252
18253         * docs/gst/gstreamer-docs.sgml:
18254         * docs/gst/gstreamer-sections.txt:
18255         * docs/libs/gstreamer-libs-sections.txt:
18256           add new API entries to the docs
18257         * libs/gst/controller/Makefile.am:
18258         * libs/gst/controller/gstcontroller.c:
18259         * libs/gst/controller/gstcontroller.h:
18260         * libs/gst/controller/gstcontrollerprivate.h:
18261         * libs/gst/controller/gsthelper.c:
18262         * libs/gst/controller/gstinterpolation.c:
18263           move private structs to private header
18264         * po/README:
18265           gstreamer-0.7 -> gstreamer-0.10
18266         * tests/check/libs/struct_i386.h:
18267           remove private structs
18268
18269 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18270
18271         * plugins/indexers/Makefile.am:
18272           Fixes as part of #317048
18273
18274 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18275
18276         * plugins/indexers/Makefile.am:
18277           fix #316086 - compilation when mmap is missing
18278
18279 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18280
18281         * libs/gst/base/gstbasesink.c:
18282           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18283           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18284         * win32/common/config.h:
18285           added some defines GST_MAJORMINOR and HOST_CPU
18286         * win32/common/libgstbase.def:
18287         * win32/common/libgstreamer.def:
18288           added some exported functions.
18289
18290 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18291
18292         * libs/gst/controller/gstcontroller.c:
18293         (gst_controlled_property_set_interpolation_mode),
18294         (gst_controlled_property_new):
18295         * libs/gst/controller/gstcontroller.h:
18296         * libs/gst/controller/gstinterpolation.c:
18297         (interpolate_none_get_string_value_array):
18298           make G_TYPE_STRING controlable
18299
18300 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18301
18302         * tools/README:
18303         * tools/gst-feedback.1.in:
18304         * tools/gst-inspect.1.in:
18305         * tools/gst-launch.1.in:
18306         * tools/gst-md5sum.1.in:
18307         * tools/gst-typefind.1.in:
18308         * tools/gst-xmlinspect.1.in:
18309         * tools/gst-xmllaunch.1.in:
18310           cleanup man-pages, remove reference to gst-register, document env-vars
18311
18312 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18313
18314         * gst/gstbuffer.c: (gst_buffer_span):
18315           gst_buffer_span should copy the timestamp of the first buffer
18316           if they were both originally overlapping subbuffers of the 
18317           same parent, using the same logic as the 'slow copy' case.
18318
18319 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18320
18321         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18322           Need to awaken ALL the pads when we pop a buffer, otherwise
18323           collectpads only works when there is 2 input streams.
18324
18325 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18326
18327         * docs/random/ensonic/media-device-daemon.txt:
18328           more ideas (dbus)
18329         * gst/gstbuffer.c:
18330           fix doc example, add clarification
18331         * tools/gst-launch.1.in:
18332           add initial info about GST_PLUGIN_PATH, needs more work
18333
18334 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18335
18336         * docs/manual/basics-bins.xml:
18337         * docs/manual/basics-elements.xml:
18338         * docs/manual/intro-basics.xml:
18339           Some more minor docs additions and updates.
18340
18341 2006-01-11  Wim Taymans  <wim@fluendo.com>
18342
18343         * docs/manual/basics-bins.xml:
18344         * docs/manual/basics-elements.xml:
18345         Some small fixes as pointed out by Ser-ver on IRC.
18346
18347 2006-01-10  Edward Hervey  <edward@fluendo.com>
18348
18349         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18350         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18351         the single-segment mode.
18352
18353 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18354
18355         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18356
18357         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18358         (gst_base_src_perform_seek), (gst_base_src_send_event),
18359         (gst_base_src_set_property), (gst_base_src_get_property),
18360         (gst_base_src_loop), (gst_base_src_start),
18361         (gst_base_src_activate_push):
18362         * libs/gst/base/gstbasesrc.h:
18363           Name (private) union; makes Sun's Forte compiler happy (#324900).
18364
18365 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18366
18367         * README:
18368           gst-register is gone.
18369
18370 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18371
18372         * gst/gstvalue.c: (_gst_value_initialize):
18373           make the G_TYPE_DATE instantiation work if debug is disabled
18374
18375 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18376
18377         * gst/gstmessage.c: (gst_message_parse_tag),
18378         (gst_message_parse_error), (gst_message_parse_warning):
18379           Don't crash when return location for error/warning debug
18380           string is NULL; add fact that return locations can be
18381           NULL to docs where appropriate.
18382
18383 2006-01-05  Wim Taymans  <wim@fluendo.com>
18384
18385         * gst/gstplugin.c: (gst_plugin_load_file):
18386         Replace strdup by g_strdup.
18387
18388 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18389
18390         * docs/pwg/advanced-types.xml:
18391           fix doc borkage
18392
18393 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18394
18395         submitted by: Abel Cheung
18396
18397         * po/LINGUAS:
18398         * po/zh_TW.po:
18399           Added Chinese (traditional) translation
18400
18401 2006-01-04  Wim Taymans  <wim@fluendo.com>
18402
18403         * docs/manual/basics-pads.xml:
18404         * docs/plugins/Makefile.am:
18405         * docs/plugins/gstreamer-plugins-docs.sgml:
18406         * docs/plugins/gstreamer-plugins-sections.txt:
18407         * docs/pwg/advanced-clock.xml:
18408         * docs/pwg/advanced-scheduling.xml:
18409         * docs/pwg/advanced-types.xml:
18410         * plugins/elements/gstfdsink.c:
18411         * plugins/elements/gstfdsrc.c:
18412         * plugins/elements/gstfdsrc.h:
18413         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18414         * plugins/elements/gstidentity.h:
18415         * plugins/elements/gstqueue.h:
18416         * plugins/elements/gsttee.c:
18417         * plugins/elements/gsttee.h:
18418         * plugins/elements/gsttypefindelement.c:
18419         (gst_type_find_element_class_init):
18420         * plugins/elements/gsttypefindelement.h:
18421         Small updates to various docs.
18422         Added core plugins to docs.
18423
18424 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18425
18426         * common/gst.supp:
18427           add a suppression for liboil's uninitialized variable
18428
18429 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18430
18431         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18432
18433         * gst/gstutils.h:
18434           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18435           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18436           compiler switch is being used (#325429).
18437
18438 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18439
18440         * gst/gstbin.c: (gst_bin_query):
18441           Disable duration query caching in bins until it gets
18442           fixed (see #324807).
18443
18444 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18445
18446         * tools/gst-inspect.c: (print_element_properties_info):
18447           Handle properties of POINTER and BOXED type.
18448
18449 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18450
18451         * gst/gst.c: (init_post):
18452           Init tags stuff and some other things before loading
18453           any static plugins (there may be other static plugins
18454           than just the GStreamer ones, and they may want to
18455           register their own tags or formats or whatever, and
18456           preferably without segfaulting).
18457
18458         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18459           Print at least a warning in the debug logs if we drop a
18460           query just because we don't know how to adjust the value
18461           in the particular format.
18462
18463 2005-12-24  David Schleef  <ds@schleef.org>
18464
18465         * tools/gstreamer-completion:
18466           Replacement for gst-complete written in sh and sed.  Only
18467           completes names of features, but that's 90% of what I want
18468           it for.  Properties are not available in registry.xml.  (Maybe
18469           they should be...)
18470
18471 === release 0.10.1 ===
18472
18473 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18474
18475         * configure.ac:
18476           releasing 0.10.1, "Nollaig chridheil"
18477
18478 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18479
18480         * docs/faq/cvs.xml:
18481           Add missing quote, should be make ERROR_CFLAGS="".
18482
18483 2005-12-20  Wim Taymans  <wim@fluendo.com>
18484
18485         * docs/design/part-trickmodes.txt:
18486         More documentation on trickmodes.
18487
18488 2005-12-20  Edward Hervey  <edward@fluendo.com>
18489
18490         * gst/gstcaps.c: (gst_static_caps_get_type):
18491         * gst/gstcaps.h:
18492           API addition: GST_TYPE_STATIC_CAPS
18493         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18494         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18495         * gst/gstpadtemplate.h:
18496           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18497         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18498         bindings.
18499
18500 2005-12-18  Wim Taymans  <wim@fluendo.com>
18501
18502         * libs/gst/base/gstadapter.c:
18503         * libs/gst/base/gstadapter.h:
18504         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18505         (gst_base_sink_get_position):
18506         * libs/gst/base/gstbasesink.h:
18507         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18508         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18509         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18510         (gst_base_src_send_event), (gst_base_src_update_length),
18511         (gst_base_src_get_range), (gst_base_src_loop),
18512         (gst_base_src_start):
18513         * libs/gst/base/gstbasesrc.h:
18514         * libs/gst/base/gstbasetransform.h:
18515         * libs/gst/base/gstcollectpads.h:
18516         * libs/gst/base/gstpushsrc.c:
18517         * libs/gst/base/gstpushsrc.h:
18518         * libs/gst/dataprotocol/dataprotocol.c:
18519         * libs/gst/dataprotocol/dataprotocol.h:
18520         * libs/gst/net/gstnetclientclock.h:
18521         * libs/gst/net/gstnettimeprovider.h:
18522         Documentation updates.
18523
18524 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * docs/manual/basics-helloworld.xml:
18527           Remove superfluous closing bracket in helloworld example.
18528
18529 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18530
18531         * tools/gst-launch.1.in:
18532           Update gst-launch man page; add a section with useful
18533           environment variables. Fixes #323882.
18534
18535 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18536
18537         * gst/gst.c:
18538         * gst/gst_private.h:
18539           change some char* into char[]
18540
18541 2005-12-16  Wim Taymans  <wim@fluendo.com>
18542
18543         * gst/gstregistryxml.c: (load_feature):
18544         Cleanups.
18545         Don't use g_object_unref on GstObjects so that we avoid
18546         leaks on unsafe glibs.
18547
18548 2005-12-16  Wim Taymans  <wim@fluendo.com>
18549
18550         * gst/gstbin.c: (gst_bin_recalc_state):
18551         Small doc updates.
18552
18553 2005-12-16  Wim Taymans  <wim@fluendo.com>
18554
18555         * common/check.mak:
18556         Added make forever target for check.
18557
18558 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18559
18560         * gst/gst.c: (init_post):
18561           make the registry cache file HOST_CPU-dependent
18562
18563 2005-12-16  Andy Wingo  <wingo@pobox.com>
18564
18565         * plugins/elements/gstbufferstore.c
18566         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18567         return value.
18568
18569         * tests/check/gst/gstobject.c
18570         (test_fake_object_name_threaded_unique): Pay attention to
18571         g_list_sort return value.
18572
18573 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18574
18575         * tools/gst-feedback-m.m:
18576           Update for 0.9/0.10 (fixes #323870).
18577
18578 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18579
18580         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18581           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18582           
18583         * tests/check/gst/gstminiobject.c: (my_foo_init),
18584         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18585         (test_value_collection), (gst_mini_object_suite):
18586           Add test to ensure refcounts end up as expected when passing
18587           GstMiniObjects through g_object_get() and g_object_set().
18588
18589 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18590
18591         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18592         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18593         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18594         of collectpads. This version removes a lot of races without
18595         touching API/ABI. Yay !
18596
18597 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18598
18599         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18600           Don't allow activation of a srcpad in pull_range if it has no
18601           getrange function.
18602           Change some debug statements to be a little clearer
18603
18604         * plugins/elements/gsttypefindelement.c:
18605         (gst_type_find_handle_src_query):
18606           Check that we have a peer before executing queries thereupon.
18607
18608         * tests/examples/metadata/read-metadata.c: (message_loop):
18609           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18610           immediately return us any available message with 0 timeout.
18611
18612 2005-12-12  Michael Smith  <msmith@fluendo.com>
18613
18614         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18615           Don't unref factories after calling them.
18616         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18617         * plugins/elements/gsttypefindelement.c:
18618         (gst_type_find_element_chain):
18619           Free lists of factories after using them. Fixing typefinding memory
18620           leaks.
18621
18622 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18623
18624         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18625         (gst_plugin_feature_load):
18626           more meaningful debug output
18627         * configure.ac:
18628         * tests/Makefile.am:
18629         * tests/old/examples/Makefile.am:
18630           make make distcheck happy again
18631
18632 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18633
18634         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18635           Catch the special case where we are operating chain-based,
18636           but the downstream peer pad has no chain function. Emit a
18637           custom error message in this case instead of letting the
18638           core generate one implying that this is some sort of core
18639           bug. It's not, it just means that whatever got plugged
18640           into the pipeline downstream when we announced the type
18641           can only operate pull-based, while our source can only
18642           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18643           Error string has not been marked for translation yet, as
18644           it probably needs some more work first.
18645
18646         (gst_type_find_element_get_best_possibility):
18647           Add helper function to find the best of all available
18648           found possibilities that qualify given the min. threshold.
18649
18650         (gst_type_find_element_handle_event):
18651           Fix the case where we get an EOS while still in TYPEFIND
18652           mode (we want to chose the best of all possible types,
18653           not just the first type that happens to be in our unsorted
18654           list of possible types).
18655
18656         (gst_type_find_element_chain):
18657           Make sure we return GST_FLOW_ERROR when we errored out
18658           in stop_typefinding(); also, don't just find the best of
18659           all found type entries and then use the last examined
18660           type entry, but actually use the best entry.
18661
18662 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18663
18664         * tests/examples/typefind/typefind.c: (type_found):
18665         * tests/examples/xml/runxml.c: (xml_loaded):
18666           More gcc4 fixes and a mem leak fix.
18667
18668 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18669
18670         * tests/examples/xml/createxml.c: (object_saved):
18671           gcc 4 fixes
18672
18673 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18674
18675         * tests/Makefile.am:
18676           enable the examples even more
18677
18678 2005-12-12  Andy Wingo  <wingo@pobox.com>
18679
18680         * libs/gst/net/gstnettimeprovider.c
18681         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18682         (gst_net_time_provider_set_property)
18683         (gst_net_time_provider_get_property):
18684         API addition: Export "active" as a GObject property.
18685         (gst_net_time_provider_thread): Only respond to time queries if
18686         the time provider is active.
18687
18688         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18689         NetTimeProvider, preserving binary compat.
18690
18691 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18692
18693         * tests/examples/controller/audio-example.c: (main):
18694         * tests/examples/launch/Makefile.am:
18695           convert comments again
18696
18697 2005-12-12  Wim Taymans  <wim@fluendo.com>
18698
18699         * libs/gst/base/gstpushsrc.c:
18700         Fix typo.
18701
18702 2005-12-12  Wim Taymans  <wim@fluendo.com>
18703
18704         * docs/libs/gstreamer-libs-sections.txt:
18705         Added new symbol to docs.
18706
18707         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18708         (gst_base_src_init), (gst_base_src_set_format),
18709         (gst_base_src_default_query), (gst_base_src_query),
18710         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18711         (gst_base_src_perform_seek), (gst_base_src_send_event),
18712         (gst_base_src_default_event), (gst_base_src_event_handler),
18713         (gst_base_src_set_property), (gst_base_src_get_property),
18714         (gst_base_src_wait), (gst_base_src_do_sync),
18715         (gst_base_src_update_length), (gst_base_src_get_range),
18716         (gst_base_src_check_get_range), (gst_base_src_loop),
18717         (gst_base_src_default_negotiate), (gst_base_src_start),
18718         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18719         (gst_base_src_change_state):
18720         * libs/gst/base/gstbasesrc.h:
18721         Implement seeking to other formats than _BYTES.
18722         Implement more seeking methods correctly.
18723         Doc updates.
18724         Added query vmethod.
18725         Added do_seek vmethod to make life easier for subclasses
18726         when seeking.
18727         API addition: gst_base_src_set_format()
18728
18729 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18730
18731         * tests/examples/Makefile.am:
18732           added that too
18733
18734 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18735
18736         * configure.ac:
18737         * docs/random/ensonic/media-device-daemon.txt:
18738         * tests/examples/controller/.cvsignore:
18739         * tests/examples/controller/Makefile.am:
18740         * tests/examples/controller/audio-example.c: (main):
18741         * tests/examples/helloworld/.cvsignore:
18742         * tests/examples/helloworld/Makefile.am:
18743         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18744         * tests/examples/launch/.cvsignore:
18745         * tests/examples/launch/Makefile.am:
18746         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18747         * tests/examples/metadata/.cvsignore:
18748         * tests/examples/metadata/Makefile.am:
18749         * tests/examples/metadata/read-metadata.c: (message_loop),
18750         (make_pipeline), (print_tag), (main):
18751         * tests/examples/queue/.cvsignore:
18752         * tests/examples/queue/Makefile.am:
18753         * tests/examples/queue/queue.c: (event_loop), (main):
18754         * tests/examples/typefind/.cvsignore:
18755         * tests/examples/typefind/Makefile.am:
18756         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18757         (main):
18758         * tests/examples/xml/.cvsignore:
18759         * tests/examples/xml/Makefile.am:
18760         * tests/examples/xml/createxml.c: (object_saved), (main):
18761         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18762         * tests/old/examples/Makefile.am:
18763         * tests/old/examples/TODO:
18764         * tests/old/examples/controller/.cvsignore:
18765         * tests/old/examples/controller/Makefile.am:
18766         * tests/old/examples/controller/audio-example.c:
18767         * tests/old/examples/helloworld/.cvsignore:
18768         * tests/old/examples/helloworld/Makefile.am:
18769         * tests/old/examples/helloworld/helloworld.c:
18770         * tests/old/examples/launch/.cvsignore:
18771         * tests/old/examples/launch/Makefile.am:
18772         * tests/old/examples/launch/mp3parselaunch.c:
18773         * tests/old/examples/launch/mp3play:
18774         * tests/old/examples/manual/Makefile.am:
18775         * tests/old/examples/metadata/Makefile.am:
18776         * tests/old/examples/metadata/read-metadata.c:
18777         * tests/old/examples/queue/.cvsignore:
18778         * tests/old/examples/queue/Makefile.am:
18779         * tests/old/examples/queue/queue.c:
18780         * tests/old/examples/typefind/.cvsignore:
18781         * tests/old/examples/typefind/Makefile.am:
18782         * tests/old/examples/typefind/typefind.c:
18783         * tests/old/examples/xml/.cvsignore:
18784         * tests/old/examples/xml/Makefile.am:
18785         * tests/old/examples/xml/createxml.c:
18786         * tests/old/examples/xml/runxml.c:
18787           applied some simple fixing to some examples
18788           re-enabled the working examples
18789
18790 2005-12-12  Wim Taymans  <wim@fluendo.com>
18791
18792         * gst/gstsegment.c: (gst_segment_init),
18793         (gst_segment_set_last_stop), (gst_segment_set_seek),
18794         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18795         (gst_segment_to_running_time):
18796         Added more documentation.
18797         Make sure the last_pos value is updated properly.
18798         Make sure to_stream_time and to_running_time don't
18799         operate on wrong values.
18800
18801         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18802         Update check.
18803
18804 2005-12-12  Michael Smith  <msmith@fluendo.com>
18805
18806         * plugins/elements/gsttypefindelement.c: (free_entry),
18807         (gst_type_find_element_chain):
18808           Now that we're not leaking factories, make sure we keep references
18809           to them while we need them.
18810
18811 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18812
18813         * tests/check/gst/struct_i386.h:
18814           ifdef out the XML structs
18815
18816 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18817
18818         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18819           floor is not needed, F is always positive; this obviates the
18820           need for adding -lm when building without libxml
18821
18822 2005-12-12  Wim Taymans  <wim@fluendo.com>
18823
18824         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18825         Take current playback rate into account when reporting
18826         the position.
18827
18828 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18829
18830         * docs/manual/mime-world.fig:
18831           Let's try this again, this time with a file that is
18832           actually in XFig format.
18833
18834 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18835
18836         * docs/manual/mime-world.fig:
18837           Add audioconvert element to diagram so that it
18838           matches the text and the code (fixes #319526).
18839
18840 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18841
18842         * docs/pwg/building-chainfn.xml:
18843         * docs/pwg/building-pads.xml:
18844         * docs/pwg/building-state.xml:
18845         * docs/pwg/other-source.xml:
18846           Update state change stuff for 0.10 (fixes #322969).
18847
18848 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18849
18850         * docs/manual/advanced-dataaccess.xml:
18851         * docs/manual/appendix-checklist.xml:
18852         * docs/manual/appendix-programs.xml:
18853         * docs/manual/basics-pads.xml:
18854         * docs/manual/highlevel-components.xml:
18855         * docs/manual/manual.xml:
18856           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18857           add converters in front of pipelines; remove curly
18858           brackets for threads stuff, they no longer exist; use
18859           GST_TYPE_FRACTION for framerates; update some pieces of
18860           code to 0.10, but there's plenty more to do.
18861
18862         * docs/manual/appendix-porting.xml:
18863           Expand on asynchroneous state changes; s/0.9/0.10/;
18864           mention disappearance of gst_init_get_popt_table()
18865           (fixes #322916).
18866
18867 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18868
18869         * docs/faq/using.xml:
18870           Spider no longer exists, and neither does gst-launch-ext.
18871           Update examples to use decodebin and playbin and put
18872           converters in front of sinks (fixes #323726).
18873
18874 2005-12-09  Michael Smith  <msmith@fluendo.com>
18875
18876         * plugins/elements/gsttypefindelement.c: (find_peek),
18877         (gst_type_find_element_chain):
18878           Fix leaking element factories in typefinding.
18879           Fix problem where we forgot about a probable type on non-seekable
18880           files, and thus later mis-typefound it.
18881
18882 2005-12-09  Michael Smith  <msmith@fluendo.com>
18883
18884         * common/m4/gst-makecontext.m4:
18885         * common/m4/gst-mcsc.m4:
18886         * configure.ac:
18887         * win32/common/config.h:
18888         * win32/common/config.h.in:
18889           Remove makecontext stuff; not used in 0.10 and causes problems on
18890           HPUX according to bug #322441
18891
18892 2005-12-07  Wim Taymans  <wim@fluendo.com>
18893
18894         * tests/check/Makefile.am:
18895         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18896         (main):
18897         * tests/check/libs/struct_i386.h:
18898         Added ABI check for libs
18899
18900 2005-12-07  Wim Taymans  <wim@fluendo.com>
18901
18902         * tests/check/Makefile.am:
18903         And add the struct_i386.h to dist.
18904
18905 2005-12-07  Wim Taymans  <wim@fluendo.com>
18906
18907         * tests/check/Makefile.am:
18908         * tests/check/gst/.cvsignore:
18909         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18910         (main):
18911         * tests/check/gst/struct_i386.h:
18912         Added check for ABI compatibility.
18913
18914 2005-12-07  Wim Taymans  <wim@fluendo.com>
18915
18916         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18917         (gst_fake_src_get_times), (gst_fake_src_create):
18918         Fix broken sync option, fixes #323259
18919
18920 2005-12-07  Wim Taymans  <wim@fluendo.com>
18921
18922         * gst/gstbuffer.c:
18923         Small docs update.
18924
18925         * gst/gstcaps.c: (gst_caps_is_equal):
18926         Don't assert on NULL <--> X. Fixes #323260
18927
18928         * gst/gstminiobject.c: (gst_mini_object_replace):
18929         If we're doing atomic operations, we might just as well use
18930         the proper way to get an atomic pointer.
18931
18932         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18933         Clean up debugging.
18934
18935 2005-12-07  Michael Smith  <msmith@fluendo.com>
18936
18937         * gst/parse/grammar.y:
18938           Remove handling of { } for threads.
18939
18940 2005-12-06  David Schleef  <ds@schleef.org>
18941
18942         * libs/gst/base/gstbasetransform.c: speling fix.
18943
18944 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18945
18946         * docs/libs/tmpl/gstdataprotocol.sgml:
18947         * docs/random/omega/testing/gstobject.c:
18948         * gst/gst.c:
18949         * gst/gstclock.c:
18950         * gst/gstelement.c:
18951         * gst/gstelementfactory.c:
18952         * gst/gsterror.c:
18953         * gst/gstevent.c:
18954         * gst/gstghostpad.c:
18955         * gst/gstinfo.c:
18956         * gst/gstpadtemplate.c:
18957         * gst/gstregistryxml.c:
18958         * gst/gsttaglist.c:
18959         * gst/gsttagsetter.c:
18960         * gst/gsttypefind.c:
18961         * gst/gstvalue.c:
18962         * libs/gst/base/gstbasesrc.c:
18963         * libs/gst/net/gstnetclientclock.c:
18964         * libs/gst/net/gstnettimeprovider.c:
18965         * plugins/elements/gstfakesrc.c:
18966         * plugins/elements/gstfdsrc.c:
18967         * plugins/elements/gstfilesrc.c:
18968         * plugins/elements/gstidentity.c:
18969         * plugins/elements/gstqueue.c:
18970         * plugins/elements/gsttypefindelement.c:
18971         * plugins/indexers/gstfileindex.c:
18972         * plugins/indexers/gstmemindex.c:
18973         * tests/check/gst/gsttag.c:
18974         * tests/old/examples/cutter/cutter.c:
18975         * tests/old/examples/mixer/mixer.c:
18976         * tests/old/examples/xml/runxml.c: (main):
18977         * tests/old/testsuite/caps/normalisation.c:
18978         * tests/old/testsuite/debug/global.c:
18979         * tests/old/testsuite/parse/parse1.c:
18980         * tools/gst-xmlinspect.c:
18981         * win32/common/dirent.c:
18982           expand tabs
18983
18984 === release 0.10.0 ===
18985
18986 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18987
18988         * configure.ac:
18989           releasing 0.10.0, "Maroilles"
18990
18991 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18992
18993         submitted by: Funda Wang <fundawang@linux.net.cn>
18994
18995         * po/LINGUAS:
18996         * po/zh_CN.po:
18997           added Chinese (Traditional) translation
18998
18999 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19000
19001         * docs/gst/gstreamer-sections.txt:
19002         * docs/libs/tmpl/gstdataprotocol.sgml:
19003         * docs/random/thomasvs/TODO:
19004         * gst/gstutils.c:
19005         * gst/gstutils.h:
19006           fix docs
19007
19008 2005-12-05  Andy Wingo  <wingo@pobox.com>
19009
19010         patch by: Wim Taymans <wim@fluendo.com>
19011
19012         * libs/gst/base/gstbasetransform.c
19013         (gst_base_transform_prepare_output_buf)
19014         (gst_base_transform_buffer_alloc):
19015         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19016         alloc_buffer_and_set_caps.
19017
19018         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19019         set_caps on the source pad.
19020         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19021         alloc_buffer used to do. Fixes #322874.
19022
19023         * docs/gst/gstreamer-sections.txt: 
19024         * docs/design/part-negotiation.txt: 
19025         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19026         changes.
19027
19028 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19029
19030         patch by: Sebastien Moutte
19031
19032         * win32/MANIFEST:
19033         * win32/common/config.h.in:
19034         * win32/vs6/libgstcontroller.dsp:
19035           win32 build fixes
19036
19037 2005-12-05  Wim Taymans  <wim@fluendo.com>
19038
19039         * gst/gstcaps.c: (gst_caps_is_equal):
19040         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19041         (gst_fake_src_create):
19042         Back out previous code changes, leave doc updates, file bugs 
19043         instead. 
19044
19045 2005-12-05  Wim Taymans  <wim@fluendo.com>
19046
19047         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19048         (gst_fake_src_get_times), (gst_fake_src_create):
19049         * plugins/elements/gstfakesrc.h:
19050         Fix broken sync code.
19051
19052 2005-12-05  Wim Taymans  <wim@fluendo.com>
19053
19054         * gst/gstcaps.c: (gst_caps_is_equal):
19055         Comparing NULL against !NULL yields different caps, not a
19056         failure.
19057
19058 2005-12-05  Wim Taymans  <wim@fluendo.com>
19059
19060         * gst/gstpipeline.c:
19061         Fix small typo in docs.
19062
19063 2005-12-05  Andy Wingo  <wingo@pobox.com>
19064
19065         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19066
19067         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19068         registries/plugins with a MAJORMINOR one.
19069         (plugin_desc): Rename library from gstcoreleements to
19070         staticelements. Fixes #323222.
19071
19072 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19073
19074         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19075           Change debug category to 'collectpads' from 'collect_pads'
19076           (fixes #323250).
19077
19078 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19079
19080         patch by: Sebastien Moutte
19081
19082         * libs/gst/controller/gstinterpolation.c:
19083           use convert function for uint64/double
19084         * win32/vs6/libgstcontroller.dsp:
19085           link to GLib
19086
19087 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19088
19089         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19090         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19091         * gst/gstutils.h:
19092         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19093           add tests that seem to show that the guint64/gdouble conversions
19094           are correct.
19095
19096 2005-12-02  Wim Taymans  <wim@fluendo.com>
19097
19098         * gst/gstregistry.c: (gst_registry_add_path):
19099         * gst/gstregistry.h:
19100         * gst/gstregistryxml.c:
19101         Fix docs again.
19102
19103 2005-12-02  Wim Taymans  <wim@fluendo.com>
19104
19105         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19106         (gst_util_uint64_scale_int):
19107         Small cleanup.
19108
19109         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19110         Add debug log line.
19111
19112         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19113         Add FIXME.
19114
19115 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19116
19117         * win32/MANIFEST:
19118         * win32/common/config.h:
19119         * win32/vs6/gstreamer.dsw:
19120         * win32/vs6/libgstcoreelements.dsp:
19121         * win32/vs6/libgstelements.dsp:
19122           renamed core elements plugin
19123
19124 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19125
19126         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19127         (get_candidates):
19128           do piece-wise major/minor comparison so 0.9 < 0.10
19129           also allow .exe extensions for tools
19130
19131 2005-12-02  Michael Smith  <msmith@fluendo.com>
19132
19133         * gst/gst.c:
19134           Escape a % to make gtkdoc happier; bug 322958.
19135
19136 === release 0.9.7 ===
19137
19138 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19139
19140         * configure.ac:
19141           releasing 0.9.7, "My Dog Has No Nose"
19142
19143 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19144
19145         * common/gst-xmlinspect.py:
19146         * configure.ac:
19147         * docs/libs/tmpl/gstdataprotocol.sgml:
19148         * docs/random/release:
19149         * po/af.po:
19150         * po/az.po:
19151         * po/bg.po:
19152         * po/ca.po:
19153         * po/cs.po:
19154         * po/de.po:
19155         * po/en_GB.po:
19156         * po/fr.po:
19157         * po/it.po:
19158         * po/nb.po:
19159         * po/nl.po:
19160         * po/ru.po:
19161         * po/sq.po:
19162         * po/sr.po:
19163         * po/sv.po:
19164         * po/tr.po:
19165         * po/uk.po:
19166         * po/vi.po:
19167         * win32/common/config.h:
19168         * win32/common/config.h.in:
19169         * win32/vs6/gst_inspect.dsp:
19170         * win32/vs6/gst_launch.dsp:
19171         * win32/vs6/libgstbase.dsp:
19172         * win32/vs6/libgstelements.dsp:
19173         * win32/vs6/libgstreamer.dsp:
19174         * win32/vs7/GStreamer.vcproj:
19175         * win32/vs7/gst-inspect.vcproj:
19176         * win32/vs7/gst-launch.vcproj:
19177         * win32/vs7/libgstbase.vcproj:
19178           bump GST_MAJORMINOR to 0.10
19179           reset libtool version
19180
19181 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19182
19183         * po/LINGUAS:
19184         * po/bg.po:
19185           Added Bulgarian translation by (Alexander Shopov)
19186
19187 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19188
19189         * tests/check/gst/gstplugin.c:
19190           fix test
19191
19192 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19193
19194         * common/gst-xmlinspect.py:
19195         * common/gtk-doc-plugins.mak:
19196         * configure.ac:
19197         * docs/Makefile.am:
19198         * docs/gst/Makefile.am:
19199         * docs/gst/gstreamer-docs.sgml:
19200         * docs/gst/gstreamer-sections.txt:
19201         * docs/gst/gstreamer.types:
19202         * docs/gst/gstreamer.types.in:
19203         * docs/plugins/Makefile.am:
19204         * docs/plugins/gstreamer-plugins-docs.sgml:
19205         * docs/plugins/gstreamer-plugins-sections.txt:
19206         * docs/plugins/gstreamer-plugins.types:
19207         * docs/plugins/inspect.stamp:
19208         * docs/plugins/inspect/plugin-coreelements.xml:
19209         * docs/plugins/inspect/plugin-coreindexers.xml:
19210         * docs/plugins/scanobj-build.stamp:
19211         * gstreamer.spec.in:
19212         * plugins/elements/Makefile.am:
19213         * plugins/elements/gstelements.c:
19214         * plugins/elements/gstfakesink.c:
19215         * plugins/elements/gstfakesrc.c:
19216         * plugins/elements/gstfilesink.c:
19217         * plugins/elements/gstfilesrc.c:
19218         * plugins/elements/gstqueue.c:
19219         * plugins/indexers/Makefile.am:
19220         * plugins/indexers/gstindexers.c:
19221           document core plugins in a separate document just like all the
19222           others
19223           rename these plugins to something starting with core
19224
19225 2005-12-01  Andy Wingo  <wingo@pobox.com>
19226
19227         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19228         padding here before, but it missed the commit.
19229
19230 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19231
19232         * libs/gst/controller/gstinterpolation.c:
19233           whitespace prices have crashed, we should feel free to use some now
19234           use gst_guint64_to_gdouble
19235
19236 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19237
19238         * libs/gst/controller/gstcontroller.c:
19239         * libs/gst/controller/gsthelper.c:
19240         * libs/gst/controller/gstinterpolation.c:
19241         * libs/gst/controller/lib.c:
19242           wrap config.h include
19243
19244 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19245
19246         * docs/gst/gstreamer-sections.txt:
19247           update docs
19248
19249 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19250
19251         * plugins/elements/gstelements.c:
19252         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19253         (gst_fd_sink__class_init), (gst_fd_sink__init),
19254         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19255         (gst_fd_sink__get_property):
19256         * plugins/elements/gstfdsink.h:
19257         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19258         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19259         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19260         (gst_fd_src_unlock), (gst_fd_src_set_property),
19261         (gst_fd_src_get_property), (gst_fd_src_create),
19262         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19263         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19264         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19265         (gst_fd_src_uri_handler_init):
19266         * plugins/elements/gstfdsrc.h:
19267         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19268           more anal cleanup
19269
19270 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19271
19272         * docs/gst/Makefile.am:
19273         * docs/gst/gstreamer.types.in:
19274         * gst/Makefile.am:
19275           fix the docs build
19276
19277 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19278
19279         * configure.ac:
19280         * gst/Makefile.am:
19281         * gst/gst.c:
19282         * gst/gstplugin.h:
19283         * gst/gstregistry.h:
19284         * tests/benchmarks/complexity.c:
19285         * tests/benchmarks/mass-elements.c:
19286         * tests/check/Makefile.am:
19287         * tools/Makefile.am:
19288         * tools/gst-inspect.c:
19289         * tools/gst-xmlinspect.c:
19290           various fixes to make
19291           --disable-nls --disable-registry --disable-loadsave
19292           --disable-parse --disable-gst-debug
19293           work and get the core .so down to 360444 bytes after stripping
19294
19295 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19296
19297         * Makefile.am:
19298         * configure.ac:
19299           descend into tests
19300         * docs/random/thomasvs/TODO:
19301         * tests/Makefile.am:
19302         * tests/README:
19303           add a README
19304
19305 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19306
19307         * win32/GStreamer.vcproj:
19308         * win32/MANIFEST:
19309         * win32/Makefile:
19310         * win32/Makefile.inspect:
19311         * win32/Makefile.launch:
19312         * win32/Makefile.register:
19313         * win32/README.txt:
19314         * win32/gst-inspect.vcproj:
19315         * win32/gst-launch.vcproj:
19316         * win32/gst-register.vcproj:
19317         * win32/gstelements.vcproj:
19318         * win32/gstgetbits.def:
19319         * win32/gstgetbits.vcproj:
19320         * win32/gstreamer-dbg.def:
19321         * win32/gstreamer.def:
19322         * win32/libgstbase.def:
19323         * win32/libgstbase.vcproj:
19324         * win32/link_oldruntime.c:
19325         * win32/mman.c:
19326         * win32/mman.h:
19327         * win32/mman.inl:
19328         * win32/msvc71.sln:
19329           move even more stuff, win32/ is nice and clean now
19330
19331 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19332
19333         * libs/gst/control/.cvsignore:
19334         * win32/MANIFEST:
19335         * win32/config.h:
19336         * win32/dirent.c:
19337         * win32/dirent.h:
19338         * win32/gstbytestream.def:
19339         * win32/gstbytestream.vcproj:
19340         * win32/gstconfig.h:
19341         * win32/gstenumtypes.c:
19342         * win32/gstenumtypes.h:
19343         * win32/gstoptimalscheduler.vcproj:
19344         * win32/gstversion.h:
19345         * win32/gtchar.h:
19346         * win32/testsuite/bins.vcproj:
19347         * win32/testsuite/bytestream.vcproj:
19348         * win32/testsuite/caps.vcproj:
19349         * win32/testsuite/cleanup.vcproj:
19350         * win32/testsuite/clock.vcproj:
19351         * win32/testsuite/debug.vcproj:
19352         * win32/testsuite/dlopen.vcproj:
19353         * win32/testsuite/dynparams.vcproj:
19354         * win32/testsuite/elements.vcproj:
19355         * win32/testsuite/ghostpads.vcproj:
19356         * win32/testsuite/indexers.vcproj:
19357         * win32/testsuite/negotiation.vcproj:
19358         * win32/testsuite/parse.vcproj:
19359         * win32/testsuite/plugin.vcproj:
19360         * win32/testsuite/refcounting.vcproj:
19361         * win32/testsuite/schedulers.vcproj:
19362         * win32/testsuite/states.vcproj:
19363         * win32/testsuite/tags.vcproj:
19364         * win32/testsuite/threads.vcproj:
19365           remove old win32 stuff that isn't maintained and should be
19366           reorganized
19367
19368 2005-11-30  Andy Wingo  <wingo@pobox.com>
19369
19370         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19371         loading the gst.interfaces python module bork.
19372
19373         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19374         available since GLib 2.2. Fixes #318031.
19375
19376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19377
19378         * Makefile.am:
19379         * check/.cvsignore:
19380         * check/Makefile.am:
19381         * check/elements/.cvsignore:
19382         * check/elements/fakesrc.c:
19383         * check/elements/fdsrc.c:
19384         * check/elements/identity.c:
19385         * check/generic/.cvsignore:
19386         * check/generic/states.c:
19387         * check/gst-libs/.cvsignore:
19388         * check/gst-libs/controller.c:
19389         * check/gst-libs/gdp.c:
19390         * check/gst/.cvsignore:
19391         * check/gst/capslist.h:
19392         * check/gst/gst.c:
19393         * check/gst/gstbin.c:
19394         * check/gst/gstbuffer.c:
19395         * check/gst/gstbus.c:
19396         * check/gst/gstcaps.c:
19397         * check/gst/gstelement.c:
19398         * check/gst/gstevent.c:
19399         * check/gst/gstghostpad.c:
19400         * check/gst/gstiterator.c:
19401         * check/gst/gstmessage.c:
19402         * check/gst/gstminiobject.c:
19403         * check/gst/gstobject.c:
19404         * check/gst/gstpad.c:
19405         * check/gst/gstpipeline.c:
19406         * check/gst/gstplugin.c:
19407         * check/gst/gstsegment.c:
19408         * check/gst/gststructure.c:
19409         * check/gst/gstsystemclock.c:
19410         * check/gst/gsttag.c:
19411         * check/gst/gstutils.c:
19412         * check/gst/gstvalue.c:
19413         * check/net/.cvsignore:
19414         * check/net/gstnetclientclock.c:
19415         * check/net/gstnettimeprovider.c:
19416         * check/pipelines/.cvsignore:
19417         * check/pipelines/cleanup.c:
19418         * check/pipelines/simple_launch_lines.c:
19419         * check/pipelines/stress.c:
19420         * check/states/.cvsignore:
19421         * check/states/sinks.c:
19422         * configure.ac:
19423         * examples/Makefile.am:
19424         * examples/appreader/.cvsignore:
19425         * examples/appreader/Makefile.am:
19426         * examples/appreader/appreader.c:
19427         * examples/controller/.cvsignore:
19428         * examples/controller/Makefile.am:
19429         * examples/controller/audio-example.c:
19430         * examples/cutter/.cvsignore:
19431         * examples/cutter/Makefile.am:
19432         * examples/cutter/cutter.c:
19433         * examples/cutter/cutter.h:
19434         * examples/events/Makefile.am:
19435         * examples/events/seek.c:
19436         * examples/helloworld/.cvsignore:
19437         * examples/helloworld/Makefile.am:
19438         * examples/helloworld/helloworld.c:
19439         * examples/helloworld2/.cvsignore:
19440         * examples/helloworld2/Makefile.am:
19441         * examples/helloworld2/helloworld2.c:
19442         * examples/launch/.cvsignore:
19443         * examples/launch/Makefile.am:
19444         * examples/launch/mp3parselaunch.c:
19445         * examples/launch/mp3play:
19446         * examples/manual/.cvsignore:
19447         * examples/manual/Makefile.am:
19448         * examples/manual/extract.pl:
19449         * examples/metadata/Makefile.am:
19450         * examples/metadata/read-metadata.c:
19451         * examples/mixer/.cvsignore:
19452         * examples/mixer/Makefile.am:
19453         * examples/mixer/mixer.c:
19454         * examples/mixer/mixer.h:
19455         * examples/pingpong/.cvsignore:
19456         * examples/pingpong/Makefile.am:
19457         * examples/pingpong/pingpong.c:
19458         * examples/plugins/.cvsignore:
19459         * examples/plugins/Makefile.am:
19460         * examples/plugins/example.c:
19461         * examples/plugins/example.h:
19462         * examples/pwg/.cvsignore:
19463         * examples/pwg/Makefile.am:
19464         * examples/pwg/extract.pl:
19465         * examples/queue/.cvsignore:
19466         * examples/queue/Makefile.am:
19467         * examples/queue/queue.c:
19468         * examples/queue2/.cvsignore:
19469         * examples/queue2/Makefile.am:
19470         * examples/queue2/queue2.c:
19471         * examples/queue3/.cvsignore:
19472         * examples/queue3/Makefile.am:
19473         * examples/queue3/queue3.c:
19474         * examples/queue4/.cvsignore:
19475         * examples/queue4/Makefile.am:
19476         * examples/queue4/queue4.c:
19477         * examples/retag/.cvsignore:
19478         * examples/retag/Makefile.am:
19479         * examples/retag/retag.c:
19480         * examples/retag/transcode.c:
19481         * examples/thread/.cvsignore:
19482         * examples/thread/Makefile.am:
19483         * examples/thread/thread.c:
19484         * examples/typefind/.cvsignore:
19485         * examples/typefind/Makefile.am:
19486         * examples/typefind/typefind.c:
19487         * examples/xml/.cvsignore:
19488         * examples/xml/Makefile.am:
19489         * examples/xml/createxml.c:
19490         * examples/xml/runxml.c:
19491         * tests/Makefile.am:
19492         * tests/check/Makefile.am:
19493         * testsuite/.cvsignore:
19494         * testsuite/Makefile.am:
19495         * testsuite/Rules:
19496         * testsuite/caps/.cvsignore:
19497         * testsuite/caps/Makefile.am:
19498         * testsuite/caps/app_fixate.c:
19499         * testsuite/caps/audioscale.c:
19500         * testsuite/caps/caps.c:
19501         * testsuite/caps/caps.h:
19502         * testsuite/caps/caps_strings:
19503         * testsuite/caps/compatibility.c:
19504         * testsuite/caps/deserialize.c:
19505         * testsuite/caps/enumcaps.c:
19506         * testsuite/caps/eratosthenes.c:
19507         * testsuite/caps/filtercaps.c:
19508         * testsuite/caps/fixed.c:
19509         * testsuite/caps/fraction-convert.c:
19510         * testsuite/caps/fraction-multiply-and-zero.c:
19511         * testsuite/caps/intersect2.c:
19512         * testsuite/caps/intersection.c:
19513         * testsuite/caps/normalisation.c:
19514         * testsuite/caps/random.c:
19515         * testsuite/caps/renegotiate.c:
19516         * testsuite/caps/sets.c:
19517         * testsuite/caps/simplify.c:
19518         * testsuite/caps/string-conversions.c:
19519         * testsuite/caps/structure.c:
19520         * testsuite/caps/subtract.c:
19521         * testsuite/caps/union.c:
19522         * testsuite/debug/.cvsignore:
19523         * testsuite/debug/Makefile.am:
19524         * testsuite/debug/category.c:
19525         * testsuite/debug/commandline.c:
19526         * testsuite/debug/global.c:
19527         * testsuite/debug/output.c:
19528         * testsuite/debug/printf_extension.c:
19529         * testsuite/dlopen/.cvsignore:
19530         * testsuite/dlopen/Makefile.am:
19531         * testsuite/dlopen/dlopen_gst.c:
19532         * testsuite/dlopen/loadgst.c:
19533         * testsuite/elements/.cvsignore:
19534         * testsuite/elements/Makefile.am:
19535         * testsuite/elements/gst-inspect-check.in:
19536         * testsuite/elements/struct_i386.h:
19537         * testsuite/elements/struct_size.c:
19538         * testsuite/indexers/.cvsignore:
19539         * testsuite/indexers/Makefile.am:
19540         * testsuite/indexers/cache1.c:
19541         * testsuite/indexers/indexdump.c:
19542         * testsuite/parse/.cvsignore:
19543         * testsuite/parse/Makefile.am:
19544         * testsuite/parse/parse1.c:
19545         * testsuite/parse/parse2.c:
19546         * testsuite/plugin/.cvsignore:
19547         * testsuite/plugin/Makefile.am:
19548         * testsuite/plugin/README:
19549         * testsuite/plugin/dynamic.c:
19550         * testsuite/plugin/linked.c:
19551         * testsuite/plugin/loading.c:
19552         * testsuite/plugin/registry.c:
19553         * testsuite/plugin/static.c:
19554         * testsuite/plugin/static2.c:
19555         * testsuite/plugin/testplugin.c:
19556         * testsuite/plugin/testplugin2.c:
19557         * testsuite/plugin/testplugin2_s.c:
19558         * testsuite/plugin/testplugin_s.c:
19559         * testsuite/refcounting/.cvsignore:
19560         * testsuite/refcounting/Makefile.am:
19561         * testsuite/refcounting/bin.c:
19562         * testsuite/refcounting/element.c:
19563         * testsuite/refcounting/element_pad.c:
19564         * testsuite/refcounting/mainloop.c:
19565         * testsuite/refcounting/mem.c:
19566         * testsuite/refcounting/mem.h:
19567         * testsuite/refcounting/object.c:
19568         * testsuite/refcounting/pad.c:
19569         * testsuite/refcounting/sched.c:
19570         * testsuite/refcounting/thread.c:
19571         * testsuite/states/.cvsignore:
19572         * testsuite/states/Makefile.am:
19573         * testsuite/states/bin.c:
19574         * testsuite/states/locked.c:
19575         * testsuite/states/parent.c:
19576         * testsuite/threads/.cvsignore:
19577         * testsuite/threads/159566.c:
19578         * testsuite/threads/159852.c:
19579         * testsuite/threads/Makefile.am:
19580         * testsuite/threads/queue.c:
19581         * testsuite/threads/signals.c:
19582         * testsuite/threads/staticrec.c:
19583         * testsuite/threads/thread.c:
19584         * testsuite/threads/threadb.c:
19585         * testsuite/threads/threadc.c:
19586         * testsuite/threads/threadd.c:
19587         * testsuite/threads/threade.c:
19588         * testsuite/threads/threadf.c:
19589         * testsuite/threads/threadg.c:
19590         * testsuite/threads/threadh.c:
19591         * testsuite/threads/threadi.c:
19592           move all of these under tests
19593
19594 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19595
19596         * configure.ac:
19597         * tests/Makefile.am:
19598           fix distcheck
19599
19600 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19601
19602         * docs/gst/gstreamer-sections.txt:
19603         * tests/sched/.cvsignore:
19604         * tests/sched/Makefile.am:
19605         * tests/sched/cases/(fs-fs).xml:
19606         * tests/sched/cases/(fs-i-fs).xml:
19607         * tests/sched/cases/(fs-i-i-fs).xml:
19608         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19609         * tests/sched/dynamic-pipeline.c:
19610         * tests/sched/interrupt1.c:
19611         * tests/sched/interrupt2.c:
19612         * tests/sched/interrupt3.c:
19613         * tests/sched/runtestcases:
19614         * tests/sched/runxml.c:
19615         * tests/sched/sched-stress.c:
19616         * tests/sched/sort.c:
19617         * tests/sched/testcases:
19618         * tests/sched/testcases1.tc:
19619         * tests/seeking/.cvsignore:
19620         * tests/seeking/Makefile.am:
19621         * tests/seeking/seeking1.c:
19622         * tests/threadstate/.cvsignore:
19623         * tests/threadstate/Makefile.am:
19624         * tests/threadstate/test1.c:
19625         * tests/threadstate/test2.c:
19626         * tests/threadstate/threadstate1.c:
19627         * tests/threadstate/threadstate2.c:
19628         * tests/threadstate/threadstate3.c:
19629         * tests/threadstate/threadstate4.c:
19630         * tests/threadstate/threadstate5.c:
19631           remove obsolete tests
19632         * configure.ac:
19633         * tests/bench-complexity.scm:
19634         * tests/bench-mass_elements.scm:
19635         * tests/complexity.c:
19636         * tests/complexity.gnuplot:
19637         * tests/instantiate/.cvsignore:
19638         * tests/instantiate/Makefile.am:
19639         * tests/instantiate/caps.c:
19640         * tests/mass_elements.c:
19641         * tests/network-clock-utils.scm:
19642         * tests/network-clock.scm:
19643         * tests/plot-data:
19644         First pass at cleaning up tests/ dir before moving the rest
19645         Combined with CVS surgery
19646
19647 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19648
19649         * po/POTFILES.in:
19650           queue has moved, update
19651
19652 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19653
19654         * docs/gst/gstreamer-sections.txt:
19655           remove double entries from the docs
19656         * gst/gst_private.h:
19657         * gst/gstinfo.c: (_gst_debug_init):
19658           remove the THREAD debug category
19659         * gst/Makefile.am:
19660         * gst/gstqueue.c:
19661         * gst/gstqueue.h:
19662         * docs/gst/gstreamer.types:
19663         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19664         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19665           completely move queue and fix up debugging categories
19666
19667 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19668
19669         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19670           make initialization portable, using LL is not
19671
19672 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19673
19674         * win32/common/gstconfig.h:
19675           add large padding
19676
19677 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19678
19679         * win32/common/libgstreamer.def:
19680           rename symbols; sort base section
19681
19682 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19683
19684         * gst/gstclock.c: (do_linear_regression):
19685           remove crack non-portable handrolled DEBUG macro
19686
19687 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19688
19689         * docs/random/release:
19690           update notes
19691         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19692         (gst_object_flags_get_type), (register_gst_bin_flags),
19693         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19694         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19695         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19696         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19697         (gst_caps_flags_get_type), (register_gst_clock_return),
19698         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19699         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19700         (gst_clock_flags_get_type), (register_gst_state),
19701         (gst_state_get_type), (register_gst_state_change_return),
19702         (gst_state_change_return_get_type), (register_gst_state_change),
19703         (gst_state_change_get_type), (register_gst_element_flags),
19704         (gst_element_flags_get_type), (register_gst_core_error),
19705         (gst_core_error_get_type), (register_gst_library_error),
19706         (gst_library_error_get_type), (register_gst_resource_error),
19707         (gst_resource_error_get_type), (register_gst_stream_error),
19708         (gst_stream_error_get_type), (register_gst_event_type_flags),
19709         (gst_event_type_flags_get_type), (register_gst_event_type),
19710         (gst_event_type_get_type), (register_gst_seek_type),
19711         (gst_seek_type_get_type), (register_gst_seek_flags),
19712         (gst_seek_flags_get_type), (register_gst_format),
19713         (gst_format_get_type), (register_gst_index_certainty),
19714         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19715         (gst_index_entry_type_get_type),
19716         (register_gst_index_lookup_method),
19717         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19718         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19719         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19720         (gst_index_flags_get_type), (register_gst_debug_level),
19721         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19722         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19723         (gst_iterator_result_get_type), (register_gst_iterator_item),
19724         (gst_iterator_item_get_type), (register_gst_message_type),
19725         (gst_message_type_get_type), (register_gst_mini_object_flags),
19726         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19727         (gst_pad_link_return_get_type), (register_gst_flow_return),
19728         (gst_flow_return_get_type), (register_gst_activate_mode),
19729         (gst_activate_mode_get_type), (register_gst_pad_direction),
19730         (gst_pad_direction_get_type), (register_gst_pad_flags),
19731         (gst_pad_flags_get_type), (register_gst_pad_presence),
19732         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19733         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19734         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19735         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19736         (gst_plugin_flags_get_type), (register_gst_rank),
19737         (gst_rank_get_type), (register_gst_query_type),
19738         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19739         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19740         (gst_tag_flag_get_type), (register_gst_task_state),
19741         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19742         (gst_alloc_trace_flags_get_type),
19743         (register_gst_type_find_probability),
19744         (gst_type_find_probability_get_type), (register_gst_uri_type),
19745         (gst_uri_type_get_type), (register_gst_parse_error),
19746         (gst_parse_error_get_type):
19747         * win32/common/gstenumtypes.h:
19748         * win32/common/gstversion.h:
19749           update visual studio generated files
19750
19751 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19752
19753         * win32/vs6/libgstbase.dsp:
19754         * win32/vs6/libgstelements.dsp:
19755           update project files for new locations
19756
19757 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * Makefile.am:
19760           remove some files
19761         * README:
19762           reinstate and update
19763         * DEVEL:
19764         * REQUIREMENTS:
19765           removed
19766         * LICENSE:
19767         * docs/random/LICENSE:
19768           moved to random
19769
19770 2005-11-30  Edward Hervey  <edward@fluendo.com>
19771
19772         * gst/gsttypefind.c: (gst_type_find_register):
19773         * gst/gsttypefind.h:
19774         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19775         (gst_type_find_factory_dispose):
19776         * gst/gsttypefindfactory.h:
19777         Fix memory leak in GstTypeFindFactory.
19778
19779 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19780
19781         * gst/gst.c:
19782         * plugins/elements/Makefile.am:
19783         * plugins/elements/gstelements.c:
19784         * plugins/elements/gstqueue.c:
19785           move queue from core to the elements plugin
19786
19787 2005-11-29  Andy Wingo  <wingo@pobox.com>
19788
19789         * libs/gst/base/gstbasetransform.h: 
19790         * libs/gst/base/gstbasesrc.h: 
19791         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19792
19793         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19794         of pointers by which to pad very extensible base classes (like the
19795         ones in libs/gst/base).
19796
19797 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19798
19799         * docs/gst/gstreamer-docs.sgml:
19800         * docs/gst/gstreamer-sections.txt:
19801         * docs/libs/gstreamer-libs-docs.sgml:
19802         * docs/libs/gstreamer-libs-sections.txt:
19803           moving documentation from core to lib
19804
19805 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19806
19807         * check/Makefile.am:
19808         * configure.ac:
19809         * docs/gst/Makefile.am:
19810         * gst/Makefile.am:
19811         * gst/base/.cvsignore:
19812         * gst/base/Makefile.am:
19813         * gst/base/README:
19814         * gst/base/gstadapter.c:
19815         * gst/base/gstadapter.h:
19816         * gst/base/gstbasesink.c:
19817         * gst/base/gstbasesink.h:
19818         * gst/base/gstbasesrc.c:
19819         * gst/base/gstbasesrc.h:
19820         * gst/base/gstbasetransform.c:
19821         * gst/base/gstbasetransform.h:
19822         * gst/base/gstcollectpads.c:
19823         * gst/base/gstcollectpads.h:
19824         * gst/base/gstpushsrc.c:
19825         * gst/base/gstpushsrc.h:
19826         * gst/base/gsttypefindhelper.c:
19827         * gst/base/gsttypefindhelper.h:
19828         * gst/check/Makefile.am:
19829         * gst/check/gstcheck.c:
19830         * gst/check/gstcheck.h:
19831         * gst/net/Makefile.am:
19832         * gst/net/gstnet.h:
19833         * gst/net/gstnetclientclock.c:
19834         * gst/net/gstnetclientclock.h:
19835         * gst/net/gstnettimepacket.c:
19836         * gst/net/gstnettimepacket.h:
19837         * gst/net/gstnettimeprovider.c:
19838         * gst/net/gstnettimeprovider.h:
19839         * libs/gst/Makefile.am:
19840         * libs/gst/base/Makefile.am:
19841         * libs/gst/base/gstbasetransform.c:
19842         * libs/gst/check/Makefile.am:
19843         * plugins/elements/Makefile.am:
19844         * po/POTFILES.in:
19845           CVS surgery + support to move base, check, and net out of gst
19846           and into libs/gst
19847
19848 2005-11-29  Andy Wingo  <wingo@pobox.com>
19849
19850         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19851
19852         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19853         padding.
19854
19855         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19856
19857         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19858
19859         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19860
19861         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19862         padding; reduces object size by about 30%. We don't expect
19863         anything else to go into gstobject.
19864
19865         * gst/gstminiobject.h (struct _GstMiniObject)
19866         (struct _GstMiniObjectClass): Only one pointer of padding; the
19867         payload is only a pointer and two ints anyway. For the class there
19868         are only two methods as well.
19869         
19870         * gst/gstelement.h (struct _GstElementClass): Removed
19871         the state_changed signal callback, it is not used.
19872
19873 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19874
19875         * docs/gst/gstreamer.types:
19876           fix includes, though they are a little dinky
19877
19878 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19879
19880         * check/Makefile.am:
19881           look in the right place for elements, a lot more chance of
19882           success
19883         * gst/Makefile.am:
19884           remove indexers and elements subdirs
19885         * plugins/Makefile.am:
19886           make indexers conditional
19887
19888 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19889
19890         * Makefile.am:
19891         * configure.ac:
19892         * plugins/elements/Makefile.am:
19893         * plugins/elements/gstcapsfilter.c:
19894         * plugins/elements/gstfilesink.c:
19895         * plugins/elements/gstfilesrc.c:
19896         * plugins/elements/gstidentity.c:
19897         * plugins/indexers/Makefile.am:
19898           do CVS surgery and related build fixery to move elements
19899           and indexers in a new gstreamer/plugins directory, out of the
19900           gst/ directory
19901
19902 2005-11-29  Andy Wingo  <wingo@pobox.com>
19903
19904         * check/Makefile.am:
19905         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19906         * pkgconfig/gstreamer-net.pc.in:
19907         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19908         #322257.
19909
19910 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19911
19912         * tools/Makefile.am:
19913         * tools/gst-complete.1.in:
19914         * tools/gst-complete.c:
19915         * tools/gst-compprep.1.in:
19916         * tools/gst-compprep.c:
19917           removing -compprep and -complete
19918
19919 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19920
19921         * gst/gstevent.c: (gst_event_new_new_segment),
19922         (gst_event_parse_new_segment):
19923         * gst/gstevent.h:
19924           fix #320529 - clean up new_segment API and structure.
19925           Let's hope everyone was using the methods, and not the structure.
19926
19927 2005-11-29  Edward Hervey  <edward@fluendo.com>
19928
19929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19930         (gst_base_sink_event), (gst_base_sink_do_sync),
19931         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19932         Properly handle non GST_FORMAT_TIME segment
19933         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19934         Properly handle non GST_FORMAT_TIME segment
19935         * gst/gstsegment.c:
19936         This function is valid if the accumulator is 0 and the format
19937         is different from the requested format.
19938         
19939 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19940
19941         * docs/gst/gstreamer-sections.txt:
19942         Add gst_query_new_seeking and gst_query_parse_seeking to the
19943         docs.
19944
19945 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
19946
19947         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
19948           Treat a pad alloc with new caps the same as if we were not
19949           negotiated, in order to allow a changing upstream output
19950           to produce a new format of data.
19951
19952 2005-11-29  Edward Hervey  <edward@fluendo.com>
19953
19954         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19955         (gst_base_transform_event), (gst_base_transform_eventfunc):
19956         The event virtual method is now properly implemented, with a default
19957         handler
19958         Sub classes should call the parent_class event method. They should
19959         return FALSE if they had a problem handling the given event, or don't
19960         want GstBaseTransform to send that even downstream
19961         * gst/elements/gstidentity.c: (gst_identity_class_init),
19962         (gst_identity_init), (gst_identity_event),
19963         (gst_identity_transform_ip), (gst_identity_set_property),
19964         (gst_identity_get_property):
19965         * gst/elements/gstidentity.h:
19966         Added the single-segment boolean property.
19967         If set to TRUE, it will output a single segment of data, starting from
19968         0, will eat up all incoming newsegment, and modify the timestamp of the
19969         buffers accordingly
19970
19971 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
19972
19973         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
19974           Don't ref NULL target pad (#322751). Improve docs.
19975
19976 2005-11-29  Michael Smith  <msmith@fluendo.com>
19977
19978         * gst/gstregistryxml.c: (load_plugin):
19979           Don't crash if we failed to load a feature from a plugin. 
19980
19981 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19982
19983         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19984         (GST_START_TEST):
19985           use more check API and less GLib API
19986
19987 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19988
19989         * Makefile.am:
19990           don't run checks if we don't have check
19991         * common/check.mak:
19992           remove the registry when running make torture
19993         * docs/gst/gstreamer-sections.txt:
19994           remove second multiply
19995         * gst/gstqueue.c: (gst_queue_loop):
19996           fix a compile warning when disabling debug
19997
19998 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
19999
20000         * gst/gstinfo.h:
20001         Hey! Let's print the pad name if the pointer != NULL instead
20002         of when it == NULL :-)
20003
20004 2005-11-28  Wim Taymans  <wim@fluendo.com>
20005
20006         * check/gst/gstutils.c: (GST_START_TEST):
20007         Updated check, add some scaling accuracy checking code.
20008
20009         * gst/gstutils.c: (gst_util_div128_64),
20010         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20011         (gst_util_uint64_scale_int):
20012         Fix 6 times faster division code. Optimize for common 
20013         1/1 and less common X/1 cases.
20014
20015 2005-11-28  Wim Taymans  <wim@fluendo.com>
20016
20017         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20018         More checks.
20019
20020         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20021         (do_linear_regression), (gst_clock_add_observation):
20022         Cleanups.
20023         Release lock when the clock cannot be slaved.
20024         Catch the case where the regression returned an invalid denominator.
20025
20026         * gst/gstutils.c: (gst_util_div128_64_iterate),
20027         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20028         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20029         Add protentially more performant non-iterative 128/64 divide function
20030         that unfortunatly does not work yet.
20031         Shortcut the trivial 0/X = 0 case.
20032         Remove the warnings on overflow.
20033
20034 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20035
20036         * gst/gstplugin.c: (gst_plugin_register_func):
20037           everything causing a plugin not to load should be at least a WARNING
20038
20039 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20040
20041         * docs/random/ensonic/dparams.txt:
20042           some TODOs for the next dev cycle
20043         * libs/gst/controller/gstcontroller.c:
20044         (gst_controlled_property_set_interpolation_mode),
20045         (gst_controlled_property_new):
20046         * libs/gst/controller/gstcontroller.h:
20047           use base type to assign acccessor functions
20048
20049 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20050
20051         * check/Makefile.am:
20052         Oops, that should have been top_srcdir
20053
20054 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20055
20056         * check/Makefile.am:
20057         * check/elements/fdsrc.c: (GST_START_TEST):
20058         Use a cmdline define to specify the location of a file to use for
20059         testing, to avoid breaking distcheck.
20060
20061 2005-11-28  Andy Wingo  <wingo@pobox.com>
20062
20063         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20064
20065 2005-11-28  Edward Hervey  <edward@fluendo.com>
20066
20067         * tools/gst-launch.c: (main):
20068         Clarify the output strings, makes it easier to translate.
20069         Fixes #322626
20070
20071 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20072
20073         * gst/Makefile.am:
20074           don't try and build net if we don't even have <sys/socket.h>
20075
20076 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20077
20078         * check/Makefile.am:
20079         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20080         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20081           Add tests for fdsrc seekability
20082
20083         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20084         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20085         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20086         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20087         * gst/elements/gstfdsrc.h:
20088           fdsrc should not be a 'live' source.
20089           Implement seeking on seekable fd's.
20090
20091         * gst/gstquery.c: (gst_query_new_seeking),
20092         (gst_query_parse_seeking):
20093         * gst/gstquery.h:
20094           Implement SEEKING query functions: 
20095             *_new_seeking and *_parse_seeking
20096
20097 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20098
20099         * gst/gstelement.c: (gst_element_dispose):
20100           don't loop forever
20101
20102         * gst/gstiterator.c:
20103         * gst/gststructure.c:
20104           doc fixes
20105
20106         * libs/gst/controller/gstcontroller.c:
20107         (gst_controlled_property_set_interpolation_mode):
20108         * libs/gst/controller/gstcontroller.h:
20109         * libs/gst/controller/gstinterpolation.c:
20110         (interpolate_none_get_enum_value_array):
20111           support controlling enums
20112
20113 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20114
20115         * gst/gstvalue.c:
20116           Improve documentation for gst_value_union().
20117
20118         * gst/gstvalue.h:
20119           Change return value for union, intersect and subtract functions
20120           from gint to gboolean.
20121
20122 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20123
20124         * gst/gstvalue.c: (gst_value_serialize_any_list),
20125         (gst_value_transform_any_list_string),
20126         (gst_value_deserialize_list), (gst_value_deserialize_array),
20127         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20128         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20129         (gst_value_set_fraction_range_full),
20130         (gst_value_deserialize_fraction_range),
20131         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20132         (gst_value_deserialize_boolean),
20133         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20134         (gst_value_serialize_float), (gst_value_deserialize_float),
20135         (gst_string_wrap), (gst_value_deserialize_string),
20136         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20137         (gst_value_union_int_range_int_range),
20138         (gst_value_intersect_int_range_int_range),
20139         (gst_value_intersect_double_range_double_range),
20140         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20141         (gst_value_subtract_int_range_int_range),
20142         (gst_value_subtract_double_double_range),
20143         (gst_value_subtract_double_range_double_range),
20144         (gst_value_deserialize_fraction):
20145         * gst/gstvalue.h:
20146           Use gint, gdouble and gchar in our API instead of int, double and
20147           char (and make usage in gstvalue.c more consistent).
20148
20149 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20150
20151         * check/Makefile.am:
20152         * libs/gst/controller/Makefile.am:
20153         * libs/gst/dataprotocol/Makefile.am:
20154           fix up Makefile.am and remove GST_ENABLE_NEW
20155
20156 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20157
20158         * configure.ac:
20159         * gst/Makefile.am:
20160         * gst/base/Makefile.am:
20161         * gst/check/Makefile.am:
20162         * gst/elements/Makefile.am:
20163         * gst/net/Makefile.am:
20164           update LDFLAGS use some more
20165
20166 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20167
20168         * common/m4/gst-doc.m4:
20169           Fixes #312589
20170
20171 2005-11-26  Edward Hervey  <edward@fluendo.com>
20172
20173         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20174         This shouldn't issue a g_warning since it returns NULL if it
20175         couldn't find the plugin, and all functions using this behave
20176         properly on a NULL return. Switching to a GST_WARNING.
20177
20178 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20179
20180         * gst/gstbin.c: (gst_bin_handle_message_func):
20181         Don't leak clock messages.
20182
20183 2005-11-25  Wim Taymans  <wim@fluendo.com>
20184
20185         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20186         (gst_util_uint64_scale_int):
20187         Optimisations, remove unneeded vars.
20188
20189 2005-11-25  Wim Taymans  <wim@fluendo.com>
20190
20191         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20192         Added more checks for the high precision uint64 cases.
20193
20194         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20195         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20196         Implement high precision (guint64 * guint64) / guint64.
20197
20198 2005-11-24  Wim Taymans  <wim@fluendo.com>
20199
20200         * gst/base/gstbasesrc.c: (gst_base_src_query):
20201         Fix wrong percentage query.
20202
20203         * gst/gstutils.c: (gst_util_uint64_scale),
20204         (gst_util_uint64_scale_int):
20205         Add some more common cases that can be handled 
20206         efficiently to _scale.
20207
20208 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20209
20210         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20211         (gst_mini_object_suite):
20212           don't use check calls from threads; check probably isn't
20213           threadsafe and using a lock to make it threadsafe would
20214           defeat the purpose of this check
20215         * gst/check/gstcheck.c:
20216         * gst/check/gstcheck.h:
20217           use GST_DEBUG some more
20218
20219 2005-11-24  Wim Taymans  <wim@fluendo.com>
20220
20221         * gst/gstutils.c: (gst_util_uint64_scale),
20222         (gst_util_uint64_scale_int):
20223         Chain trivial case to _scale_int.
20224
20225 2005-11-24  Wim Taymans  <wim@fluendo.com>
20226
20227         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20228         Added test for scaling.
20229
20230         * gst/gstclock.h:
20231         Small doc fix.
20232
20233         * gst/gstutils.c: (gst_util_uint64_scale_int):
20234         Implemented high precision scaling code.
20235
20236 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20237
20238         * gst/gstinfo.h:
20239           do not crash on pad==NULL
20240
20241 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20242
20243         Patch by: Stefan Kost
20244
20245         * common/gtk-doc.mak:
20246         * docs/gst/Makefile.am:
20247         * docs/libs/Makefile.am:
20248           Fix distcheck issues for the libraries docs build
20249           Closes #319599.
20250
20251 2005-11-24  Michael Smith <msmith@fluendo.com>
20252
20253         * docs/manual/basics-helloworld.xml:
20254           Fix bug #315027: memory leak in example code in docs.
20255
20256 2005-11-24  Michael Smith <msmith@fluendo.com>
20257
20258         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20259           Unlock the PREROLL_LOCK in a failure case.
20260
20261 2005-11-24  Wim Taymans  <wim@fluendo.com>
20262
20263         * docs/gst/gstreamer-sections.txt:
20264         * gst/base/gstadapter.h:
20265         * gst/base/gstbasesink.h:
20266         * gst/base/gstbasesrc.h:
20267         * gst/base/gstbasetransform.h:
20268         * gst/base/gstpushsrc.h:
20269         * gst/elements/gstfakesink.h:
20270         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20271         * gst/elements/gstfakesrc.h:
20272         * gst/elements/gstfilesink.h:
20273         * gst/elements/gstfilesrc.h:
20274         * gst/gst.c:
20275         * gst/gstbin.c:
20276         * gst/gstbuffer.c: (_gst_buffer_copy):
20277         * gst/gstbus.h:
20278         * gst/gstcaps.c:
20279         * gst/gstchildproxy.c:
20280         * gst/gstclock.c:
20281         * gst/gstelement.c:
20282         * gst/gstelementfactory.c:
20283         * gst/gstelementfactory.h:
20284         * gst/gstevent.c:
20285         * gst/gstghostpad.h:
20286         * gst/gstindex.h:
20287         * gst/gstinterface.h:
20288         * gst/gstminiobject.c:
20289         * gst/gstminiobject.h:
20290         * gst/gstpad.c:
20291         * gst/gstpad.h:
20292         * gst/gstpadtemplate.h:
20293         * gst/gstpipeline.h:
20294         * gst/gstpluginfeature.h:
20295         * gst/gstquery.h:
20296         * gst/gstqueue.h:
20297         * gst/gsttaglist.c:
20298         * gst/gsttaglist.h:
20299         * gst/gsttagsetter.c:
20300         * gst/gsttagsetter.h:
20301         * gst/gsttrace.c:
20302         * gst/gsttrace.h:
20303         * gst/gsttypefind.h:
20304         * gst/gsturi.h:
20305         * gst/gstvalue.c:
20306         * gst/net/gstnetclientclock.c:
20307         * gst/net/gstnetclientclock.h:
20308         * gst/net/gstnettimepacket.c:
20309         * gst/net/gstnettimeprovider.c:
20310         * gst/net/gstnettimeprovider.h:
20311         Doc fixes.
20312
20313 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20314
20315         * configure.ac: back to HEAD
20316
20317 === release 0.9.6 ===
20318
20319 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20320
20321         * configure.ac:
20322           releasing 0.9.6, "Always On Time"
20323
20324 2005-11-23  Wim Taymans  <wim@fluendo.com>
20325
20326         * docs/gst/gstreamer-sections.txt:
20327         * gst/glib-compat.c:
20328         * gst/gsttagsetter.c:
20329         * gst/gstvalue.c:
20330         * gst/net/gstnetclientclock.c:
20331         * gst/net/gstnettimepacket.h:
20332         Doc updates.
20333
20334 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20335
20336         * docs/faq/using.xml:
20337         * docs/libs/tmpl/gstcontrol.sgml:
20338         * docs/manual/advanced-dparams.xml:
20339         * docs/manual/appendix-checklist.xml:
20340         * docs/manual/basics-elements.xml:
20341         * docs/pwg/other-source.xml:
20342         * docs/random/moving-plugins:
20343         * gst/gstpad.c:
20344         * tools/gst-launch.1.in:
20345           remove mentions of sinesrc
20346
20347 2005-11-23  Michael Smith <msmith@fluendo.com>
20348
20349         * docs/gst/gstreamer-sections.txt:
20350           Update for new API and API changes.
20351         * gst/gstobject.h:
20352           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20353         * gst/gstvalue.c:
20354           Documentation typo fix.
20355         * gst/net/gstnettimepacket.c:
20356           Documentation fixes for arguments.
20357
20358 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20359
20360         * gst/gststructure.c: (gst_structure_get_fraction),
20361         (gst_structure_parse_value),
20362         (gst_structure_fixate_field_nearest_fraction):
20363         * gst/gststructure.h:
20364         * gst/gstutils.c: (gst_util_uint64_scale_int):
20365         * gst/gstutils.h:
20366         * scripts/update-funcnames:
20367         API Changes. 
20368         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20369         Make gst_structure_fixate_field_nearest_fraction take a numerator
20370         and denominator argument instead of a GValue
20371         add gst_structure_get_fraction helper function.
20372
20373 2005-11-23  Wim Taymans  <wim@fluendo.com>
20374
20375         * docs/design/part-TODO.txt:
20376         Update TODO.
20377
20378         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20379         * gst/net/gstnetclientclock.h:
20380         Use parent fields for timeout and window_size.
20381
20382 2005-11-23  Andy Wingo  <wingo@pobox.com>
20383
20384         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20385         rate_num/rate_denom change.
20386
20387         * gst/net/gstnetclientclock.c
20388         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20389         OBJECT_LOCK. Don't call add_observation with the lock.
20390
20391         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20392         fraction.
20393         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20394         rate fraction.
20395         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20396         deal with rate as a fraction whose numerator and denominator are
20397         GstClockTime values.
20398         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20399         master; the other fields are protected by the SLAVE_LOCK.
20400         (do_linear_regression): Note that this must be called with the
20401         SLAVE_LOCK.
20402         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20403         OBJECT_LOCK. Call set_calibration instead of touching the
20404         variables directly.
20405         (gst_clock_set_property, gst_clock_get_property): Protect
20406         master/slave parameters with the SLAVE_LOCK.
20407
20408         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20409         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20410         note that all of the instance variables that add_observation and
20411         the set_master functions use are protected by that lock and not
20412         the OBJECT_LOCK.
20413         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20414
20415         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20416         the caller to take the object lock.
20417
20418 2005-11-23  Wim Taymans  <wim@fluendo.com>
20419
20420         * gst/gsterror.c: (_gst_core_errors_init):
20421         * gst/gsterror.h:
20422         Add error for clock stuff.
20423
20424         * gst/gstpipeline.c: (gst_pipeline_change_state),
20425         (gst_pipeline_set_clock):
20426         Post clock error when clock cannot be used in a pipeline.
20427
20428 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20429
20430         * docs/gst/gstreamer-sections.txt:
20431           make two symbols from gstinfo private for the docs
20432         * gst/base/gstcollectpads.h:
20433         * gst/gstutils.c:
20434           fix doc typos, update docs
20435
20436 2005-11-22  Wim Taymans  <wim@fluendo.com>
20437
20438         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20439         (gst_base_sink_wait), (gst_base_sink_do_sync),
20440         (gst_base_sink_handle_event):
20441         * gst/base/gstbasesink.h:
20442         No need to store the clock, the parent element class already
20443         has it.
20444
20445         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20446         Updates for clock_set returning a gboolean
20447
20448         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20449         (gst_clock_id_wait_async), (gst_clock_class_init),
20450         (gst_clock_init), (gst_clock_finalize),
20451         (gst_clock_get_internal_time), (gst_clock_get_time),
20452         (gst_clock_slave_callback), (gst_clock_set_master),
20453         (gst_clock_get_master), (do_linear_regression),
20454         (gst_clock_add_observation), (gst_clock_set_property),
20455         (gst_clock_get_property):
20456         * gst/gstclock.h:
20457         Implement master/slave. When setting a clock as a slave, a
20458         periodic timeout is scheduled to sample master and slave times.
20459         Then the slave clock is recalibrated to match offset and rate
20460         of the master clock.
20461         Update logging a bit.
20462         Add flag so that a clock can state that is cannot be slaved to
20463         another clock.
20464
20465         * gst/gstelement.c: (gst_element_set_clock):
20466         * gst/gstelement.h:
20467         The set clock returns a gboolean for when an element cannot
20468         deal with the selected clock in the pipeline. 
20469
20470         * gst/gstpipeline.c: (gst_pipeline_change_state),
20471         (gst_pipeline_set_clock):
20472         * gst/gstpipeline.h:
20473         Handle the case where the selected clock cannot be set on
20474         the pipeline.
20475
20476         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20477         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20478         (gst_net_client_clock_set_property),
20479         (gst_net_client_clock_get_property),
20480         (gst_net_client_clock_observe_times):
20481         * gst/net/gstnetclientclock.h:
20482         Use regression code in GstClock parent, remove duplicated
20483         functionality.
20484
20485 2005-11-22  Michael Smith <msmith@fluendo.com>
20486
20487         * gst/gstutils.c: (gst_util_clock_time_scale):
20488         * gst/gstutils.h:
20489         * docs/gst/gstreamer-sections.txt:
20490           Rename method to have extra underscore.
20491
20492 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20493
20494         * gst/elements/Makefile.am:
20495         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20496         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20497         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20498         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20499         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20500         * gst/elements/gstfakesrc.h:
20501         * gst/gstqueue.c: (queue_leaky_get_type):
20502           correctly fix GEnumValues so that nick is the short lowercase
20503           dashed tag
20504         * tools/gst-inspect.c: (print_element_properties_info):
20505           also show the nick, since it's useful to use from parse_launch
20506           syntax
20507           Fixes #322139
20508
20509 2005-11-22  Michael Smith <msmith@fluendo.com>
20510
20511         * gst/gstutils.c: (gst_util_clocktime_scale):
20512         * gst/gstutils.h:
20513         * docs/gst/gstreamer-sections.txt:
20514           Add util method for scaling a clocktime by a fraction. Useful 
20515           implementation is left as an exercise for the reader.
20516
20517 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20518
20519         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20520         If needed, allocate storage in the destination value during
20521         collection.
20522
20523 2005-11-22  Edward Hervey  <edward@fluendo.com>
20524
20525         * docs/gst/gstreamer-sections.txt:
20526         * gst/Makefile.am:
20527         * gst/gst.h:
20528         * gst/gsturitype.c:
20529         * gst/gsturitype.h:
20530         * gst/gstutils.c: (gst_util_set_object_arg):
20531         * tools/gst-compprep.c: (main):
20532         * tools/gst-inspect.c: (print_element_properties_info):
20533         Removed GstURI, closes bug #321061
20534
20535 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20536
20537         * check/gst/gststructure.c: (GST_START_TEST):
20538         * gst/gststructure.c: (gst_structure_parse_value):
20539           Oops, broke automatic string type parsing.
20540           Add a test to catch it in future.
20541
20542 2005-11-22  Andy Wingo  <wingo@pobox.com>
20543
20544         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20545         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20546         Actually rename the function implementations. Grr.
20547
20548 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20549
20550         * check/gst/capslist.h:
20551           Comment test cases
20552         * check/gst/gststructure.c: (GST_START_TEST),
20553         (gst_structure_suite):
20554           Test automatic value type detection in gst_structure_from_string.
20555         * gst/gststructure.c: (gst_structure_parse_value):
20556           Add fraction as a type we try and guess automatically in
20557           caps/structure strings.
20558
20559 2005-11-22  Andy Wingo  <wingo@pobox.com>
20560
20561         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20562
20563         * gst/gsttagsetter.h:
20564         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20565         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20566         (gst_tag_setter_add_tag_valist)
20567         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20568         _add_values, _add_valist, and _add_valist_values. Since this is an
20569         interface the function suffixes should be more explicit so
20570         language binding don't end up with element.add_valist ->
20571         gst_tag_setter_add_valist, for example. Fixes #322069.
20572
20573 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20574
20575         * check/gst/gstcaps.c: (GST_START_TEST):
20576           Extend caps string tests to check that a caps to string
20577           conversion is reversible and produces the same caps.
20578
20579         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20580           Output "fraction" as the generic type fraction range, so caps
20581           serialisation and deserialisation works.
20582         * check/gst/capslist.h:
20583         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20584           Support 'MIN' and 'MAX' for deserialising fractions.
20585
20586 2005-11-22  Andy Wingo  <wingo@pobox.com>
20587
20588         * gst/gstevent.h (gst_event_new_new_segment)
20589         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20590         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20591         Renamed from *_newsegment, *_buffersize, *_notarget.
20592
20593         * scripts/update-funcnames: New script, performs the changes
20594         listed above.
20595
20596 2005-11-22  Wim Taymans  <wim@fluendo.com>
20597
20598         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20599         Make sure the GstFlowReturn is returned.
20600
20601         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20602         (gst_bus_add_signal_watch):
20603         * gst/gstbus.h:
20604         add gst_bus_add_signal_watch_full.
20605
20606         * gst/gstplugin.c: (gst_plugin_load_file):
20607         Small style cleanup.
20608
20609 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20610
20611         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20612           Block the fakesrc srcpad when we send an event, to avoid
20613           contention on the stream_lock causing random test failures.
20614
20615 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20616
20617         * check/gst/gstvalue.c: (GST_START_TEST):
20618         * gst/gstvalue.c: (gst_value_fraction_subtract):
20619           Fix subtraction.
20620
20621 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20622
20623         * gst/gst.h:
20624           include "gstchildproxy.h"
20625         * gst/gstchildproxy.h:
20626         * libs/gst/controller/gstcontroller.h:
20627           use G_GNUC_NULL_TERMINATED
20628
20629 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20630
20631         * check/gst/capslist.h:
20632         * check/gst/gstcaps.c: (GST_START_TEST):
20633         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20634         * gst/gststructure.c: (gst_structure_parse_range),
20635         (gst_structure_fixate_field_nearest_fraction):
20636         * gst/gststructure.h:
20637         * gst/gstvalue.c: (gst_value_init_fraction_range),
20638         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20639         (gst_value_collect_fraction_range),
20640         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20641         (gst_value_set_fraction_range_full),
20642         (gst_value_get_fraction_range_min),
20643         (gst_value_get_fraction_range_max),
20644         (gst_value_serialize_fraction_range),
20645         (gst_value_transform_fraction_range_string),
20646         (gst_value_compare_fraction_range),
20647         (gst_value_deserialize_fraction_range),
20648         (gst_value_intersect_fraction_fraction_range),
20649         (gst_value_intersect_fraction_range_fraction_range),
20650         (gst_value_subtract_fraction_fraction_range),
20651         (gst_value_subtract_fraction_range_fraction),
20652         (gst_value_subtract_fraction_range_fraction_range),
20653         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20654         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20655         (gst_value_transform_string_fraction), (_gst_value_initialize):
20656         * gst/gstvalue.h:
20657           Implement fraction ranges and extend GstFraction to support
20658           arithmetic subtraction, as well as deserialization from integer
20659           strings such as "100"
20660           Add a testsuite as for int and double range set operations
20661
20662 2005-11-21  Andy Wingo  <wingo@pobox.com>
20663
20664         * gst/gsttaglist.h: 
20665         * gst/gstcaps.h: 
20666         * gst/gststructure.h: Add glib-compat.h.
20667
20668 2005-11-21  Wim Taymans  <wim@fluendo.com>
20669
20670         * gst/gstbin.c: (gst_bin_change_state_func):
20671         Fix for #321595
20672
20673 2005-11-21  Wim Taymans  <wim@fluendo.com>
20674
20675         * gst/gstsegment.h:
20676         And add a nice define too.
20677
20678 2005-11-21  Wim Taymans  <wim@fluendo.com>
20679
20680         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20681         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20682         (gst_segment_set_duration), (gst_segment_set_last_stop),
20683         (gst_segment_set_seek), (gst_segment_set_newsegment),
20684         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20685         (gst_segment_clip):
20686         * gst/gstsegment.h:
20687         Make binding friendly.
20688
20689 2005-11-21  Andy Wingo  <wingo@pobox.com>
20690
20691         * gst/gsttagsetter.h: 
20692         * gst/gsttaglist.h: 
20693         * gst/gststructure.h: 
20694         * gst/gstcaps.h: 
20695         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20696         #319940.
20697
20698         * gst/gsterror.c (_gst_core_errors_init):
20699         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20700         category.
20701
20702         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20703         (noinst_HEADERS): noinst the -private.
20704
20705 2005-11-21  Michael Smith <msmith@fluendo.com>
20706
20707         * gst/gstplugin.h:
20708         * gst/gstregistry.h:
20709           Remove unimplemented declarations for which we can see no sensible
20710           use.
20711
20712 2005-11-21  Andy Wingo  <wingo@pobox.com>
20713
20714         * gst/gst.h: Include glib-compat.h.
20715
20716         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20717
20718         * gst/glib-compat.c: Include the public and the private header.
20719
20720         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20721
20722         * gst/gstvalue.c: 
20723         * gst/gstpad.c: 
20724         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20725
20726         * check/gst/gstevent.c (create_custom_events): Check that
20727         FLUSH_STOP is serialized.
20728
20729         * check/elements/identity.c (event_func): 
20730         * check/elements/fakesrc.c (event_func): No stream lock, the core
20731         takes it.
20732
20733         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20734         stream lock taking, yay.
20735
20736         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20737         ensure that core takes the stream lock.
20738
20739         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20740         lock name change.
20741
20742         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20743         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20744         it already. For the flush start we do take it though so we get the
20745         right preroll state change messages.
20746
20747         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20748         the stream lock here, the core does it for us.
20749
20750         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20751         GST_STREAM_GET_LOCK.
20752         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20753         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20754         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20755         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20756         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20757         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20758
20759         * gst/gstpad.c: Update for stream lock name change.
20760
20761         * gst/base/gstbasesink.c: Update for preroll lock name change.
20762
20763 2005-11-21  Wim Taymans  <wim@fluendo.com>
20764
20765         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20766         (gst_clock_get_master):
20767         * gst/gstclock.h:
20768         * gst/gstsystemclock.c: (gst_system_clock_init):
20769         Convert Clock flags to object flags.
20770         Added methods to manage master/slave clocks.
20771
20772 2005-11-21  Wim Taymans  <wim@fluendo.com>
20773
20774         * check/gst/gstsegment.c: (GST_START_TEST):
20775         * docs/design/part-TODO.txt:
20776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20777         (gst_base_sink_event), (gst_base_sink_do_sync),
20778         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20779         (gst_base_sink_query), (gst_base_sink_change_state):
20780         * gst/base/gstbasesink.h:
20781         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20782         (gst_base_src_default_newsegment),
20783         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20784         (gst_base_src_get_range), (gst_base_src_loop),
20785         (gst_base_src_change_state):
20786         * gst/base/gstbasesrc.h:
20787         * gst/base/gstbasetransform.c:
20788         (gst_base_transform_prepare_output_buf),
20789         (gst_base_transform_event), (gst_base_transform_change_state):
20790         * gst/base/gstbasetransform.h:
20791         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20792         (gst_collect_pads_event):
20793         * gst/base/gstcollectpads.h:
20794         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20795         (gst_fake_src_create):
20796         * gst/elements/gstfakesrc.h:
20797         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20798         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20799         (gst_segment_set_last_stop), (gst_segment_set_seek),
20800         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20801         (gst_segment_to_running_time), (gst_segment_clip):
20802         * gst/gstsegment.h:
20803         More segment updates, replace code in plugins with segment
20804         helper functions.
20805
20806 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20807
20808         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20809         Don't ignore sscanf results
20810
20811 2005-11-21  Andy Wingo  <wingo@pobox.com>
20812
20813         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20814
20815         * *.h:
20816         * *.c: Ran scripts/update-macros. Oh yes.
20817
20818         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20819         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20820         GST_GET_LOCK, etc.
20821
20822         * scripts/update-macros: New script. Run it on your files to
20823         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20824         well.
20825
20826 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20827
20828         * docs/gst/Makefile.am:
20829         * docs/gst/gstreamer-docs.sgml:
20830         * docs/gst/gstreamer-sections.txt:
20831         * docs/gst/gstreamer.types:
20832         * gst/gstinfo.h:
20833           more docs fixes, add new api to the docs
20834
20835 2005-11-21  Andy Wingo  <wingo@pobox.com>
20836
20837         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20838         state_broadcast call.
20839
20840         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20841
20842 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20843
20844         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20845         function calls for arrays.
20846
20847 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20848
20849         * docs/random/ensonic/media-device-daemon.txt:
20850           wild idea, can this be done?
20851         * docs/gst/gstreamer-sections.txt:
20852         * gst/gsterror.h:
20853         * gst/gstfilter.c:
20854         * gst/gstfilter.h:
20855         * gst/gstplugin.h:
20856         * gst/gstpluginfeature.c:
20857         * gst/gsttrace.c:
20858         * gst/gstvalue.c:
20859         * gst/gstvalue.h:
20860           doc fixes and additions
20861
20862 2005-11-21  Andy Wingo  <wingo@pobox.com>
20863
20864         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20865         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20866         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20867         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20868         private to the basesrc implementation.
20869
20870         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20871         behalf of event function if necessary. It should no longer be
20872         necessary to take the stream lock in pad's event functions. Fixes
20873         #320299.
20874
20875 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20876         * docs/gst/gstreamer-sections.txt:
20877         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20878         (gst_structure_fixate_field_nearest_double),
20879         (gst_structure_fixate_field_boolean):
20880         * gst/gststructure.h:
20881         * win32/common/libgstreamer.def:
20882         * win32/gstreamer.def:
20883
20884         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20885         (#322027)
20886
20887 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20888
20889         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20890         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20891         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20892         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20893         (gst_fdsrc_uri_handler_init):
20894         * gst/elements/gstfdsrc.h:
20895           Port fd:// URI handler from 0.8 to fdsrc
20896
20897 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20898
20899         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20900         (gst_value_serialize_fourcc):
20901         * gst/gstvalue.h:
20902           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20903           consistent with our other format defines (#320324).
20904
20905 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20906
20907         * gst/gstvalue.c: (gst_value_is_fixed):
20908           Revert previous commit. Value lists are by definition
20909           not fixed, as they are a list of possible values.
20910
20911 2005-11-21  Andy Wingo  <wingo@pobox.com>
20912
20913         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20914         during the stable series if we need it. Fixes #319178.
20915
20916         * gst/gstevent.c (gst_event_new_filler): Removed.
20917
20918         * check/gst/gstevent.c: Update comment about filler events.
20919
20920 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20921
20922         * gst/gstvalue.c: (gst_value_is_fixed):
20923           Should handle both value arrays and value lists.
20924
20925 2005-11-21  Andy Wingo  <wingo@pobox.com>
20926
20927         patch by: Alessandro Dessina <alessandro nnva org>
20928
20929         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20930         functions to access arrays. Fixes #321962.
20931
20932 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20933
20934         * docs/gst/gstreamer.types:
20935           gst_collectpads_get_type => gst_collect_pads_get_type.
20936           
20937         * gst/base/gstbasetransform.c:
20938           Remove unused SIGNAL_HANDOFF enum.
20939
20940 2005-11-21  Andy Wingo  <wingo@pobox.com>
20941
20942         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
20943         the event type (upstream, downstream, serialized). Renamed
20944         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
20945         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
20946         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
20947
20948         * gst/gstevent.c: Update for new CUSTOM event names.
20949
20950         * check/gst/gstevent.c: Update check for new CUSTOM event names.
20951
20952         * gst/gstevent.h:
20953         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
20954         bug #319392.
20955
20956 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20957
20958         * docs/gst/gstreamer-sections.txt:
20959         * win32/common/libgstbase.def:
20960         * win32/libgstbase.def:
20961         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
20962         (gst_collect_pads_class_init), (gst_collect_pads_init),
20963         (gst_collect_pads_finalize), (gst_collect_pads_new),
20964         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
20965         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
20966         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
20967         (gst_collect_pads_start), (gst_collect_pads_stop),
20968         (gst_collect_pads_peek), (gst_collect_pads_pop),
20969         (gst_collect_pads_available), (gst_collect_pads_read),
20970         (gst_collect_pads_flush), (gst_collect_pads_event),
20971         (gst_collect_pads_chain):
20972         * gst/base/gstcollectpads.h:
20973           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
20974           unimplemented functions as unimplemented. Add padding to
20975           GstCollectData. (#320766, #320423)
20976
20977 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20978
20979         * gst/gstmessage.c:
20980           Improve docs for DURATION message (usage of duration parameter)
20981           (#320113)
20982
20983 2005-11-20  Wim Taymans  <wim@fluendo.com>
20984
20985         * check/Makefile.am:
20986         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
20987         (main):
20988         * gst/Makefile.am:
20989         * gst/gst.h:
20990         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20991         (gst_segment_set_seek), (gst_segment_set_newsegment),
20992         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20993         (gst_segment_clip):
20994         * gst/gstsegment.h:
20995         Added segment helper structure and methods. Not fully implemented
20996         yet.
20997         Added segment check.
20998
20999 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21000
21001         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21002           Add a deserialisation test for fractions
21003         * examples/metadata/read-metadata.c: (message_loop),
21004         (make_pipeline), (main):
21005           Fix up metadata reading sample.
21006         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21007           Debug format fix
21008         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21009           Don't try and fixate empty caps
21010         * gst/gst_private.h:
21011           Wrap in G_BEGIN_DECLS/G_END_DECLS
21012         * gst/gstvalue.c: (gst_value_collect_fraction),
21013         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21014         (gst_value_transform_string_fraction),
21015         (gst_value_compare_fraction):
21016           Add some extra guards to ensure that we don't end up 
21017           with an invalid denominator of 0 in a gstfraction and
21018           that fractions always get reduced.
21019
21020 2005-11-20  Wim Taymans  <wim@fluendo.com>
21021
21022         * docs/gst/gstreamer-sections.txt:
21023         * gst/gstbuffer.h:
21024         * gst/gstelement.c:
21025         * gst/gstformat.c:
21026         * gst/gstformat.h:
21027         * gst/gstindex.h:
21028         * gst/gstquery.c:
21029         * gst/gstquery.h:
21030         * gst/gstvalue.c:
21031         Doc fixes.
21032
21033 2005-11-20  Wim Taymans  <wim@fluendo.com>
21034
21035         * docs/design/part-TODO.txt:
21036         * gst/gstcaps.h:
21037         Make a proper enum of the flag.
21038
21039 2005-11-19  Wim Taymans  <wim@fluendo.com>
21040
21041         * docs/design/part-TODO.txt:
21042         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21043         (gst_format_to_quark), (gst_format_register):
21044         * gst/gstformat.h:
21045         * gst/gstquery.c: (_gst_query_initialize),
21046         (gst_query_type_get_name), (gst_query_type_to_quark),
21047         (gst_query_type_register):
21048         * gst/gstquery.h:
21049         Add type to quark and type to string conversions.
21050
21051 2005-11-19  Andy Wingo  <wingo@pobox.com>
21052
21053         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21054         #320097.
21055
21056 2005-11-19  Wim Taymans  <wim@fluendo.com>
21057
21058         * docs/design/part-TODO.txt:
21059         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21060         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21061         (gst_bin_handle_message_func):
21062         * gst/gstbin.h:
21063         Make message handling overridable.
21064
21065 2005-11-19  Andy Wingo  <wingo@pobox.com>
21066
21067         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21068
21069         * gst/gstclock.h:
21070         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21071         be a GstClockTime.
21072         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21073         is a GstClockTime. Fixes #321710.
21074
21075         * gst/gstclock.h (GstClock): Remove offset property. Add
21076         internal_calibration and external_calibration. Fix padding. Pad
21077         also by GstClockTime so we don't run into problems.
21078
21079         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21080         (gst_clock_get_rate_offset): Remove.
21081         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21082
21083         * gst/gstutils.h:
21084         * gst/gstutils.c (g_static_rec_cond_wait)
21085         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21086
21087         * gst/gstbin.c: Remove terrible continue_state prototype.
21088
21089         * gst/gstelement.h (gst_element_continue_state): Make public.
21090
21091         * gst/gstelement.h:
21092         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21093         by continue_state. Fixes #319389.
21094
21095         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21096         Really fixes #168438. However I don't see anywhere where the
21097         filter function is called... stupid GStreamer...
21098         
21099         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21100         don't have a dispose function, so it won't get called when the
21101         object is unreffed, but oh well!
21102
21103         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21104         allows a destroy function to be set so user_data can be freed.
21105         Fixes #168438.
21106         (gst_index_set_filter): Call gst_index_set_filter_full.
21107
21108         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21109
21110         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21111         string should produce an error, given the lack of a way to
21112         represent NULL strings. Fixes #165650.
21113         
21114         * gst/gstvalue.h: 
21115         * gst/gstvalue.c (gst_value_array_append_value) 
21116         (gst_value_array_prepend_value, gst_value_array_get_size) 
21117         (gst_value_array_get_value): New API, copied from
21118         gst_value_list_*, only operates on arrays.
21119         (gst_value_list_append_value, gst_value_list_prepend_value) 
21120         (gst_value_list_concat, gst_value_list_get_size) 
21121         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21122
21123         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21124         init_list, because it works on both.
21125         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21126         (gst_value_copy_list_or_array): Renamed from copy_list.
21127         (gst_value_free_list_or_array): Renamed from free_list.
21128         (gst_value_collect_list_or_array): Renamed from collect_list.
21129         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21130         (gst_value_list_or_array_peek_pointer): Renamed from
21131         list_peek_pointer.
21132         (_gst_value_array_value_table, _gst_value_list_value_table):
21133         Update value table functions.
21134         (gst_value_compare_list_or_array): Renamed from compare_list.
21135
21136         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21137         some constness.
21138
21139         * gst/gsttaglist.c:
21140         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21141         GstTagList*. Fixes #143472.
21142
21143         * gst/gststructure.h: Clarify what the foreach/map functions can
21144         or can't do to their arguments.
21145
21146 2005-11-18  Wim Taymans  <wim@fluendo.com>
21147
21148         * gst/gstclock.c: (gst_clock_set_calibration),
21149         (gst_clock_get_calibration):
21150         Doc and API fixes.
21151         Calibration can be set with internal time equal to current
21152         internal time too.
21153
21154 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21155
21156         * gst/gsterror.c:
21157         * gst/gsterror.h:
21158           document
21159
21160 2005-11-18  Andy Wingo  <wingo@pobox.com>
21161
21162         * configure.ac: 
21163         * pkgconfig/gstreamer-net.pc.in:
21164         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21165         * pkgconfig/Makefile.am: Add net pkgconfig files.
21166
21167 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21168
21169         * gst/gstcaps.c:
21170         * gst/gstghostpad.c:
21171         * gst/gsttrace.c:
21172         * gst/gstvalue.c:
21173         * gst/gstvalue.h:
21174           docs fixes
21175
21176 2005-11-18  Andy Wingo  <wingo@pobox.com>
21177
21178         * gst/net/gstnetclientclock.c: Turn off debugging.
21179
21180         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21181         times connverge somewhat. Can't make a real test.
21182
21183         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21184         integer arithmetic. Return the minimum of the domain, which can be
21185         set as "internal" for gst_clock_set_calibration.
21186         (gst_net_client_clock_observe_times): Call _set_calibration.
21187         (gst_net_client_clock_new): Call _set_calibration instead of
21188         rate_offset.
21189
21190         * check/net/gstnetclientclock.c (test_functioning): Use the right
21191         adjustment api.
21192
21193         * gst/gstclock.h:
21194         * gst/gstclock.c (gst_clock_get_calibration) 
21195         (gst_clock_set_calibration): New functions, obsolete the ones I
21196         added yesterday. Doh. Precision issues mean we have to extrapolate
21197         from a point in the more recent past than 1970.
21198         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21199         obsolete.
21200         (gst_clock_adjust_unlocked): Use the right calibration data.
21201
21202 2005-11-18  Edward Hervey  <edward@fluendo.com>
21203
21204         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21205         Also reset the ->current_* values in READY->PAUSED
21206
21207 2005-11-18  Andy Wingo  <wingo@pobox.com>
21208
21209         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21210         Whoops, check the right fd. Also add some debugging.
21211         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21212         (do_linear_regression): Add a crapload of debugging. Subtract off
21213         the minimum values from the input series to discard unneeded bits.
21214         Use only int arithmetic. There is still double arithmetic when
21215         calculating the intercept that needs fixing. Return boolean to
21216         indicate success; FALSE would mean the domain or range is too
21217         great. Still needs fixes.
21218
21219 2005-11-18  Wim Taymans  <wim@fluendo.com>
21220
21221         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21222         For the current position in stream time, we need to subtract
21223         accumulated time.
21224         
21225         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21226         Release lock before calling the callback function of async
21227         entries.
21228
21229 2005-11-18  Andy Wingo  <wingo@pobox.com>
21230
21231         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21232         Port goes all the way to MAXUINT16.
21233
21234         * gst/net/gstnettimeprovider.c: Make the port range the same as
21235         for the kernel: 0 assigns, otherwise ports are less than
21236         MAXUINT16.
21237
21238         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21239         port change.
21240
21241         * check/net/gstnetclientclock.c (test_functioning): Add the start
21242         of another test. 
21243
21244 2005-11-18  Wim Taymans  <wim@fluendo.com>
21245
21246         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21247         (gst_bin_remove_func), (bin_bus_handler):
21248         * gst/gstbin.h:
21249         Removing a clock provider from a bin, triggers a clock lost message
21250         so that a new clock will be selected.
21251         Adding a clock to a bin triggers a clock provider message.
21252         Make sure we reselect a clock when we received a clock lost message.
21253         Keep a reference to the element that provided the clock.
21254
21255 2005-11-18  Andy Wingo  <wingo@pobox.com>
21256
21257         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21258         the clock initially so it produces values around the base time.
21259         (gst_net_client_clock_class_init): Typo fix.
21260         (gst_net_client_clock_thread): Add note on when the socket gets
21261         closed.
21262
21263 2005-11-17  Wim Taymans  <wim@fluendo.com>
21264
21265         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21266         Free remote and local time arrays.
21267
21268 2005-11-17  Wim Taymans  <wim@fluendo.com>
21269
21270         * gst/net/gstnetclientclock.c: (do_linear_regression),
21271         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21272         Fix compilation, uninitialized vars and a forgotten continue.
21273
21274 2005-11-17  Andy Wingo  <wingo@pobox.com>
21275
21276         * check/Makefile.am (check_PROGRAMS): 
21277         * check/net/gstnetclientclock.c: Add a most minimal test for the
21278         net client clock. More to come later.
21279
21280         * gst/net/gstnet.h: 
21281         * gst/net/Makefile.am: Add netclientclock.
21282
21283         * gst/net/gstnetclientclock.h:
21284         * gst/net/gstnetclientclock.c: New files, implement an untested
21285         GstClock that takes its time from a network time provider.
21286         Implements the algorithm in network-clock.scm.
21287
21288         * tests/network-clock.scm (*window-size*): Rename from
21289         *queue-length*.
21290         * tests/network-clock.scm (network-time): 
21291         * tests/network-clock-utils.scm (q-push): Update callers.
21292
21293 2005-11-17  Wim Taymans  <wim@fluendo.com>
21294
21295         * gst/gstbin.c: (gst_bin_provide_clock_func),
21296         (gst_bin_sort_iterator_new):
21297         And unref the child too..
21298
21299 2005-11-17  Wim Taymans  <wim@fluendo.com>
21300
21301         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21302         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21303         Refactor the sort iterator so it can be used while holding the
21304         LOCK too.
21305         Make clock selection select a clock closest to the source.
21306
21307 2005-11-17  Michael Smith <msmith@fluendo.com>
21308
21309         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21310         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21311         * gst/gstclock.h:
21312           Anonymous structs are a gcc (and some other compilers) extension, so
21313           don't use them. Since this is only for ABI-compatibility, and our
21314           API/ABI freeze is over in a few days, this whole thing will only
21315           last a few days, so don't bother trying to think up a meaningful
21316           name for the struct.
21317
21318 2005-11-17  Andy Wingo  <wingo@pobox.com>
21319
21320         * gst/gstclock.h (GstClock): Add rate and offset properties,
21321         preserving ABI stability. Add rate/offset accessors. Will file bug
21322         for the freeze break.
21323
21324         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21325         and offset, trying to keep precision and avoiding
21326         underflow/overflow.
21327         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21328         functions. Make gst_clock_set_time_adjust obsolete.
21329         (gst_clock_set_time_adjust): Note that this function is obsolete.
21330         Will file bug soon.
21331
21332         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21333         greppable by using GST_PADDING-1+1.
21334
21335 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21336
21337         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21338
21339         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21340           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21341
21342         * gst/gstpadtemplate.h:
21343         * gst/gstpluginfeature.h:
21344           Don't use c++ style comments in headers (#321638).
21345
21346 2005-11-16  Andy Wingo  <wingo@pobox.com>
21347
21348         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21349         buffer.
21350
21351         * check/net/gstnettimeprovider.c: Check to see that the time
21352         provider actually provides times. Works, yo!
21353
21354 2005-11-16  Wim Taymans  <wim@fluendo.com>
21355
21356         * check/Makefile.am:
21357         Enable more tests.
21358
21359         * check/elements/fakesrc.c: (GST_START_TEST):
21360         Set element to NULL before disposing it.
21361
21362 2005-11-16  Andy Wingo  <wingo@pobox.com>
21363
21364         * gst/net/Makefile.am:
21365         * gst/net/gstnet.h:
21366         * gst/net/gstnettimeprovider.c: 
21367         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21368         provider, include it from gstnet.h, and add it to the build.
21369
21370         * gst/net/gstnettimepacket.h: 
21371         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21372         sending and receiving.
21373
21374 2005-11-16  Wim Taymans  <wim@fluendo.com>
21375
21376         * check/Makefile.am:
21377         Enable valgrind check.
21378
21379         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21380         (gst_fake_src_alloc_buffer):
21381         Fix memleak.
21382
21383 2005-11-16  Wim Taymans  <wim@fluendo.com>
21384
21385         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21386         Call parent finalize too.
21387
21388 2005-11-16  Wim Taymans  <wim@fluendo.com>
21389
21390         * check/Makefile.am:
21391         Enable valgrind check that should work fine now.
21392
21393         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21394         * gst/gstqueue.c: (gst_queue_init):
21395         Fix memleaks in pad allocation.
21396
21397 2005-11-16  Andy Wingo  <wingo@pobox.com>
21398
21399         * gst/net/Makefile.am:
21400         * gst/net/gstnet.h: New part of core to hold network elements and
21401         objects. Put in core because it exposes API that applications want
21402         to use. The library is named libgstnet-tempname right now because
21403         of the existing libgstnet in gst-plugins-base. Solution is
21404         probably to rename the one in plugins-base; will file a bug for
21405         the freeze break.
21406
21407         * gst/net/gstnettimeprovider.c: 
21408         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21409         get_time call over the network.
21410
21411         * configure.ac: 
21412         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21413
21414         * check/Makefile.am:
21415         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21416         get additions shortly.
21417
21418 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21419
21420         * gst/gstpad.c: (gst_pad_new_from_static_template):
21421         * gst/gstpad.h:
21422           add gst_pad_new_from_static_template functions
21423         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21424         (gst_check_setup_sink_pad):
21425         * gst/elements/gsttee.c: (gst_tee_init):
21426           and use them
21427
21428 2005-11-16  Wim Taymans  <wim@fluendo.com>
21429
21430         * gst/gstpad.c: (gst_pad_pause_task):
21431         Removed warning, it's not really an error either.
21432
21433 2005-11-16  Wim Taymans  <wim@fluendo.com>
21434
21435         * gst/base/gstbasetransform.c:
21436         (gst_base_transform_prepare_output_buf),
21437         (gst_base_transform_event):
21438         Check if the caps are NULL, this can happen if the element
21439         is shutting down and the pad caps are set to NULL.
21440
21441 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21442
21443         * gst/elements/gsttee.c: (gst_tee_init):
21444           fix pad template leak in tee
21445
21446 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21447
21448         * gst/glib-compat.c: (g_value_dup_gst_object):
21449         * gst/glib-compat.h:
21450         * gst/gstpad.c: (gst_pad_set_property):
21451           use gst_object_ref when setting the pad template; this will
21452           trigger the pad template leaks on GLib 2.6 and the slaves
21453
21454 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21455
21456         * gst/glib-compat.c: (gst_flags_get_first_value):
21457         * gst/glib-compat.h:
21458         * gst/gstregistryxml.c:
21459           remove functions copied from GLib 2.6
21460
21461 2005-11-16  Michael Smith <msmith@fluendo.com>
21462
21463         * gst/Makefile.am:
21464           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21465           do, but only breaks with newer valgrind versions. We're not a
21466           valgrind tool, we have no link-time dependencies on libcoregrind.
21467
21468 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21469
21470         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21471           some debug changes
21472         * gst/gstmessage.h:
21473           typo fixes
21474
21475 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21476
21477         * gst/base/gstbasesrc.c: (gst_base_src_init):
21478         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21479         * gst/gstqueue.c: (gst_queue_init):
21480         * gst/gstregistryxml.c: (load_feature):
21481           Revert all these unrefs, they don't even pass make check !
21482
21483 2005-11-15  Johan Dahlin  <johan@gnome.org>
21484
21485         * gst/base/gstbasesrc.c: (gst_base_src_init):
21486         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21487         * gst/gstqueue.c: (gst_queue_init): 
21488         Free pad templates, fixes a couple of leaks.
21489
21490 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21491
21492         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21493
21494         * gst/gstpad.c: (gst_pad_get_property):
21495           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21496           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21497           (#321452)
21498
21499 2005-11-15  Wim Taymans  <wim@fluendo.com>
21500
21501         * gst/gstevent.c:
21502         Small doc update.
21503
21504 2005-11-15  Andy Wingo  <wingo@pobox.com>
21505
21506         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21507
21508         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21509         using GST_CLOCK_TIME_NONE to disable base time management.
21510         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21511         time if it was NONE before.
21512         (gst_pipeline_change_state): Only munge the base time if
21513         stream_time != GST_CLOCK_TIME_NONE.
21514
21515         * check/gst/gstpipeline.c (test_base_time): Punt around the
21516         problem of the probe not being called, because that's not the
21517         issue I'm looking at. Add a check that setting stream_time to NONE
21518         disables base time management.
21519         
21520 2005-11-15  Wim Taymans  <wim@fluendo.com>
21521
21522         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21523         segment_stop == -1 at startup.
21524
21525         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21526         (gst_base_transform_change_state):
21527         Init segment values at start.
21528
21529 2005-11-15  Wim Taymans  <wim@fluendo.com>
21530
21531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21532         0 segment values are 0 in any format.
21533
21534         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21535         * gst/base/gstbasetransform.h:
21536         Parse newsegment correctly in basetransform
21537
21538         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21539         Sync to clock using updated segment values.
21540
21541 2005-11-15  Andy Wingo  <wingo@pobox.com>
21542
21543         * check/gst/gstpipeline.c (test_base_time): Add check that the
21544         base time and stream time are reset correctly.
21545
21546 2005-11-15  Wim Taymans  <wim@fluendo.com>
21547
21548         * docs/design/part-TODO.txt:
21549         Some more TODO items.
21550
21551 2005-11-15  Andy Wingo  <wingo@pobox.com>
21552
21553         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21554         error if the user selected "no clock" as the clocking method.
21555
21556         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21557         timestamps with live capture.
21558
21559         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21560         is 0 but we are a live source, timestamp the buffers using the
21561         element's clock.
21562
21563 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21564
21565         * docs/gst/gstreamer-sections.txt:
21566         * gst/gsterror.c:
21567         * gst/gstghostpad.c:
21568         * gst/gstobject.h:
21569         * gst/gstxml.c:
21570           more section docs
21571
21572 2005-11-14  Wim Taymans  <wim@fluendo.com>
21573
21574         * common/gst.supp:
21575           add suppressions from Wim's Debian machine
21576
21577 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21578
21579         * common/gst.supp:
21580           add suppressions from Andy's AMD64 Ubuntu machine
21581
21582 2005-11-14  Andy Wingo  <wingo@pobox.com>
21583
21584         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21585         STATE_LOCK not necessary. Fixes #311489.
21586
21587         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21588         #305291.
21589
21590         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21591         this function is not implemented.
21592
21593 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21594
21595         * gst/base/gstbasetransform.c:
21596         (gst_base_transform_prepare_output_buf):
21597         Ref the source pad caps while we need them.
21598         Fixes (#321386)
21599
21600 2005-11-11  Wim Taymans  <wim@fluendo.com>
21601
21602         * docs/gst/gstreamer-sections.txt:
21603         Added some docs for GstCollectData.
21604
21605         * gst/base/gstadapter.c:
21606         Some small code example fix.
21607
21608         * gst/base/gstcollectpads.c:
21609         * gst/base/gstcollectpads.h:
21610         Document some more.
21611
21612 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21613
21614         * configure.ac: back to HEAD
21615
21616 === release 0.9.5 ===
21617
21618 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21619
21620         * configure.ac:
21621           releasing 0.9.5, "Bike Lunch Day"
21622
21623 2005-11-11  Wim Taymans  <wim@fluendo.com>
21624
21625         * gst/gstbuffer.c: (_gst_buffer_copy):
21626         Copy more flags.
21627
21628         * gst/gstcaps.c: (gst_caps_is_equal):
21629         Fix some docs.
21630         Make _is_equal fast in the trivial cases.
21631
21632         * gst/gstminiobject.c:
21633         * gst/gstminiobject.h:
21634         More docs. Spifify .h file.
21635
21636         * gst/gstutils.c:
21637         Small doc update.
21638
21639 2005-11-11  Wim Taymans  <wim@fluendo.com>
21640
21641         * gst/base/gstbasetransform.c:
21642         (gst_base_transform_prepare_output_buf),
21643         (gst_base_transform_handle_buffer):
21644         Small cleanups.
21645         If we're processing a buffer and need to allocate an output
21646         buffer, we cannot accept a format change. If we did get a 
21647         format change, we have to alloc a buffer ourselves of the 
21648         right size.
21649
21650 2005-11-11  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21653         While checking the flag for reentrancy in the gstcaps function
21654         is nice to detect recursive invocations, it also makes it 
21655         impossible to call getcaps from multiple threads, which must be
21656         possible. So, checking for recursive calls has to go.
21657
21658 2005-11-11  Michael Smith <msmith@fluendo.com>
21659
21660         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21661           Don't sync on buffers that fall partially outside our current
21662           segment. Prevents an assertion failure/abort playing some files.
21663
21664 2005-11-10  Andy Wingo  <wingo@pobox.com>
21665
21666         * check/gst/gstbin.c (test_message_state_changed_children): Style
21667         fix..
21668
21669         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21670         gst_bus_poll with the signal watch. Ensures that poll and a signal
21671         watch see the same messages.
21672
21673         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21674         a poll and a watch at the same time get the same messages.
21675
21676 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21677
21678         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21679         * gst/gstcaps.c: (gst_caps_intersect):
21680           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21681           and it's not needed.
21682
21683 2005-11-10  Wim Taymans  <wim@fluendo.com>
21684
21685         * docs/design/part-TODO.txt:
21686         Updated todo.
21687
21688 2005-11-10  Wim Taymans  <wim@fluendo.com>
21689
21690         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21691         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21692         (gst_base_src_do_sync), (gst_base_src_get_range):
21693         Implement clock sync in base class.
21694
21695 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21696
21697         patch by: Tim-Philipp Müller <tim at centricular dot net>
21698
21699         * gst/gststructure.c: (gst_structure_parse_field),
21700         (gst_structure_from_string):
21701           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21702           so that gst_parse_launch() can deal with spaces in filtered link
21703           caps (fixes #164479)
21704         * check/gst/capslist.h:
21705         * check/gst/gststructure.c: (GST_START_TEST):
21706           add unit tests for this change
21707
21708 2005-11-10  Wim Taymans  <wim@fluendo.com>
21709
21710         * docs/gst/gstreamer-sections.txt:
21711         * gst/gstelement.c:
21712         * gst/gstelement.h:
21713         Fix docs, move some STATE macros to private.
21714
21715 2005-11-10  Wim Taymans  <wim@fluendo.com>
21716
21717         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21718         Added check for bug #317341
21719
21720         * gst/gstbuffer.c:
21721         * gst/gstbuffer.h:
21722         Some more spiffifying.
21723
21724         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21725         Call peer linkfunction if we are a source pad. Totally fixes
21726         #317341
21727
21728         * gst/gstpad.c:
21729         Update docs, source pads should call the peer linkfunction
21730         so they can atomically perform the pad link.
21731
21732 2005-11-09  Wim Taymans  <wim@fluendo.com>
21733
21734         * gst/gstbuffer.c:
21735         * gst/gstbuffer.h:
21736         Uber-spiffy-spiffify some more.
21737
21738 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21739
21740         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21741         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21742         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21743         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21744         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21745         * gst/gstpad.c: (gst_pad_init):
21746           Use GST_DEBUG_FUNCPTR() more extensively.
21747
21748 2005-11-09  Wim Taymans  <wim@fluendo.com>
21749
21750         * gst/gstobject.c: (gst_object_class_init):
21751         * gst/gstobject.h:
21752         Documentation fixes.
21753
21754 2005-11-09  Edward Hervey  <edward@fluendo.com>
21755
21756         * gst/gsttypefindfactory.c:
21757         Fix docs.
21758         
21759 2005-11-09  Edward Hervey  <edward@fluendo.com>
21760
21761         * gst/base/gsttypefindhelper.c:
21762         * gst/gsttypefind.c:
21763         * gst/gsttypefind.h:
21764         Fix docs.
21765
21766 2005-11-09  Wim Taymans  <wim@fluendo.com>
21767
21768         * gst/gstiterator.c:
21769         Fix revision data.
21770
21771         * gst/gsttask.c:
21772         * gst/gsttask.h:
21773         Fix docs.
21774
21775 2005-11-09  Wim Taymans  <wim@fluendo.com>
21776
21777         * gst/gstevent.h:
21778         * gst/gsturi.h:
21779         Fix docs.
21780
21781 2005-11-09  Wim Taymans  <wim@fluendo.com>
21782
21783         * docs/gst/gstreamer-sections.txt:
21784         Moved the message async delivery private lock and cond
21785         to the private section.
21786
21787         * gst/gstmessage.c:
21788         * gst/gstmessage.h:
21789         Fixed docs.
21790
21791 2005-11-09  Edward Hervey  <edward@fluendo.com>
21792
21793         * docs/gst/gstreamer-sections.txt:
21794         * gst/gsturi.c:
21795         * gst/gsturi.h:
21796         Document GstURIHandler
21797
21798 2005-11-09  Wim Taymans  <wim@fluendo.com>
21799
21800         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21801         (gst_iterator_find_custom):
21802         * gst/gstiterator.h:
21803         Fix iterator docs.
21804
21805 2005-11-09  Wim Taymans  <wim@fluendo.com>
21806
21807         * gst/gstbin.h:
21808         Document another field.
21809
21810         * gst/gststructure.c:
21811         * gst/gststructure.h:
21812         Document.
21813
21814 2005-11-09  Wim Taymans  <wim@fluendo.com>
21815
21816         * gst/gstbin.h:
21817         Documented structs.
21818
21819 2005-11-09  Wim Taymans  <wim@fluendo.com>
21820
21821         * docs/gst/gstreamer-sections.txt:
21822         Added some new macros.
21823
21824         * gst/gstclock.c:
21825         * gst/gstclock.h:
21826         * gst/gstobject.h:
21827         Docs updates.
21828
21829 2005-11-09  Wim Taymans  <wim@fluendo.com>
21830
21831         * docs/design/part-TODO.txt:
21832         Some more items for the TODO
21833
21834         * gst/gstcaps.c:
21835         * gst/gstcaps.h:
21836         Document GstCaps.
21837
21838 2005-11-09  Andy Wingo  <wingo@pobox.com>
21839
21840         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21841         to work on something else now tho...
21842
21843         * gst/base/gstadapter.c: More adapter docs.
21844
21845         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21846         (gst_file_sink_stop): New functions, replace the state change
21847         handler.
21848         (gst_file_sink_class_init): Hook up the start and stop functions.
21849         (gst_file_sink_base_init): Don't set the state change handler any
21850         more. It was a bit ugly too, being set from here...
21851         (gst_file_sink_get_property, gst_file_sink_set_property):
21852         Cleanups...
21853         (gst_file_sink_set_location): More robust check that doesn't call
21854         GST_STATE. Ugggggg.
21855
21856 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21857
21858         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21859           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21860
21861 2005-11-08  Wim Taymans  <wim@fluendo.com>
21862
21863         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21864         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21865         (gst_base_sink_chain), (gst_base_sink_change_state):
21866         * gst/base/gstbasesink.h:
21867         * gst/base/gstbasesrc.h:
21868         * gst/gstelement.h:
21869         * gst/gstevent.h:
21870         Avoid excessive typechecking in macros.
21871
21872         * gst/gstminiobject.c: (gst_mini_object_get_type),
21873         (gst_mini_object_init), (gst_mini_object_new),
21874         (gst_mini_object_free):
21875         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21876         (gst_object_finalize):
21877         Remove cruft code, optimize alloc_trace.
21878
21879 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21880
21881         * docs/faq/gst-uninstalled:
21882           fix up PS1 for systems that try to reset it
21883
21884 2005-11-07  Wim Taymans  <wim@fluendo.com>
21885
21886         * gst/base/gstbasesrc.c: (gst_base_src_init),
21887         (gst_base_src_get_range):
21888         Set the segment_end to -1 initially. Fixed typefind.
21889
21890 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21891
21892         * gst/base/gstadapter.c:
21893           Debug category should be 'adapter', not 'GstAdapter'.
21894           
21895         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21896         (gst_collectpads_class_init), (gst_collectpads_init),
21897         (gst_collectpads_peek), (gst_collectpads_pop),
21898         (gst_collectpads_event), (gst_collectpads_chain):
21899           Add debug category and some debugging output. Use boilerplate
21900           macros. Remove some extraneous words from docs.
21901
21902 2005-11-05  Andy Wingo  <wingo@pobox.com>
21903
21904         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21905         macro.
21906
21907 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21908
21909         * docs/gst/gstreamer-sections.txt:
21910         * gst/gstcaps.h:
21911         * gst/gstinfo.c:
21912         * gst/gstminiobject.h:
21913         * gst/gstobject.h:
21914         * gst/gstutils.h:
21915           more docs added
21916
21917 2005-11-04  Wim Taymans  <wim@fluendo.com>
21918
21919         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21920         Small update to stop at the configured segment_end
21921         position.
21922
21923 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21924
21925         * gst/gstregistry.c:
21926         * gst/gstregistry.h:
21927           added missing docs
21928
21929 2005-11-04  Edward Hervey  <edward@fluendo.com>
21930
21931         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21932         Check if we are doing a segment seek and have arrived at the
21933         end of that segment.
21934
21935 2005-11-04  Wim Taymans  <wim@fluendo.com>
21936
21937         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21938         Don't leak a mutex unlock in case of an error.
21939
21940         * gst/gstbus.h:
21941         Doc fixes.
21942
21943 2005-11-04  Wim Taymans  <wim@fluendo.com>
21944
21945         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
21946         (gst_bus_post):
21947         Get the context to wake up only once.
21948
21949 2005-11-03  Wim Taymans  <wim@fluendo.com>
21950
21951         * check/states/sinks.c: (GST_START_TEST):
21952         Uncomment fixed check.
21953
21954         * docs/design/part-TODO.txt:
21955         Updated TODO.
21956
21957         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21958         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21959         (gst_base_sink_get_position):
21960         If we are going to PLAYING, post the right pending state
21961         when we post the intermediate paused message.
21962
21963         * gst/gstelement.c: (gst_element_continue_state),
21964         (gst_element_set_state_func), (gst_element_change_state):
21965         Don't post state changes that were between the same state
21966         and were not ASYNC.
21967
21968 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21969
21970         * docs/gst/gstreamer-sections.txt:
21971         * gst/gstcaps.h:
21972         * gst/gstinfo.c:
21973         * gst/gstminiobject.h:
21974         * gst/gstobject.h:
21975         * gst/gstutils.h:
21976           more docs and doc style fixes
21977
21978 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
21979
21980         * docs/gst/gstreamer-sections.txt:
21981         * gst/gstelement.c:
21982         * gst/gstminiobject.c:
21983         doc fixes
21984
21985 2005-11-03  Andy Wingo  <wingo@pobox.com>
21986
21987         * check/states/sinks.c (test_livesrc_sink): Add checks that the
21988         state-changed messages actually have the right order and the right
21989         values.
21990
21991 2005-11-03  Wim Taymans  <wim@fluendo.com>
21992
21993         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21994         Added some more checks. Specifically the case where NO_PREROLL
21995         elements are in the pipeline.
21996
21997         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21998         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
21999         (gst_base_sink_get_position):
22000         Post READY->PAUSED state change messages too.
22001         Fix bug where VOID was posted as pending state...
22002
22003         * gst/gstbin.c: (gst_bin_recalc_state):
22004         use _element_continue_state() to continue the state change.
22005
22006         * gst/gstelement.c: (gst_element_continue_state),
22007         (gst_element_commit_state), (gst_element_set_state_func),
22008         (gst_element_change_state), (gst_element_change_state_func):
22009         Lots of state change cleanups, assign the STATE_RETURN in
22010         a new continue_state() function that also propagates the
22011         last return value from a state change to the app.
22012         Update some debug statements with proper category.
22013
22014 2005-11-03  Wim Taymans  <wim@fluendo.com>
22015
22016         * docs/design/part-events.txt:
22017         * docs/design/part-gstpipeline.txt:
22018         * docs/design/part-messages.txt:
22019         * docs/design/part-overview.txt:
22020         * docs/design/part-seeking.txt:
22021         * docs/design/part-states.txt:
22022         * docs/design/part-trickmodes.txt:
22023         * docs/manual/advanced-position.xml:
22024         Small docs updates.
22025
22026         * gst/gstobject.h:
22027         People think !! is ugly, this looks better.
22028
22029         * gst/gstpad.c: (gst_pad_set_blocked_async):
22030         Remove !! since it's fixed elsewhere now.
22031
22032 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22033
22034         * gst/gstminiobject.h:
22035         * gst/gstobject.h:
22036           Add !! to _FLAG_IS_SET macros to make the result boolean.
22037
22038 2005-11-03  Edward Hervey  <edward@fluendo.com>
22039
22040         * gst/gstpad.c: (gst_pad_set_blocked_async):
22041         comparing a flag and a gboolean rarely returns coherent results...
22042         Added two characters (!!) to make that work correctly.
22043         
22044 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22045
22046         * gst/gstbus.c: (gst_bus_class_init):
22047           Fix some typos.
22048           
22049         * gst/gstqueue.c: (gst_queue_loop):
22050           Don't assume a miniobject that isn't a buffer is an
22051           event (it could be that there is a refcounting
22052           problem somewhere and the pointer is stale and
22053           refers to an already destroyed miniobject).
22054
22055 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22056
22057         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22058
22059 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22060
22061         * docs/manual/advanced-position.xml:
22062           Update seek example and explanations to current 0.9 API.
22063
22064         * gst/elements/gsttypefindelement.c:
22065         (gst_type_find_element_activate):
22066           Remove FIXME comment now that the found caps
22067           are unreffed.
22068
22069 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22070
22071         * gst/gstregistryxml.c: (load_feature):
22072           Add another GST_STR_NULL instance
22073
22074 2005-11-02  Edward Hervey  <edward@fluendo.com>
22075
22076         * gst/gstpad.c: (handle_pad_block):
22077         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22078         
22079 2005-11-02  Wim Taymans  <wim@fluendo.com>
22080
22081         * gst/gstbin.c:
22082         Fix typo in docs.
22083
22084         * gst/gstelement.c: (gst_element_commit_state):
22085         Remove unused value.
22086
22087         * gst/gstiterator.c:
22088         Mention that the returned element is reffed in the docs.
22089
22090 2005-11-02  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22093         (gst_pad_push), (gst_pad_push_event):
22094         Unlock blocked pads when they are flushed.
22095
22096 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22097
22098         * docs/README:
22099         * docs/gst/gstreamer-sections.txt:
22100         * gst/gstbin.c:
22101           doc updates
22102         * gst/gstregistry.c: (gst_registry_scan_path_level):
22103           fix for a nasty little missed situation where an installed plug-in
22104           which was in the cache did not get overridden by an uninstalled one
22105           which was earlier in the plugin path because the newly created plugin
22106           for the uninstalled one (not in the registry) didn't get its
22107           ->registered set to TRUE
22108
22109 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22110
22111         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22112         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22113         (gst_collectpads_is_active), (gst_collectpads_collect),
22114         (gst_collectpads_collect_range), (gst_collectpads_start),
22115         (gst_collectpads_stop), (gst_collectpads_peek),
22116         (gst_collectpads_pop), (gst_collectpads_available),
22117         (gst_collectpads_read), (gst_collectpads_flush):
22118           Guard public API with assertions.
22119         
22120         * gst/gstpad.c:
22121           Fix docs for gst_pad_set_link_function().
22122
22123 2005-11-02  Johan Dahlin  <johan@gnome.org>
22124
22125         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22126         Unref found_caps after we used it.
22127
22128 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22129
22130         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22131           Don't try to ref NULL.
22132
22133 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22134
22135         * win32/common/config.h.in:
22136           provide a GST_FUNCTION that just gives a string for now
22137
22138 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22139
22140         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22141         (gst_object_flags_get_type), (register_gst_bin_flags),
22142         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22143         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22144         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22145         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22146         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22147         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22148         (gst_clock_flags_get_type), (register_gst_state),
22149         (gst_state_get_type), (register_gst_state_change_return),
22150         (gst_state_change_return_get_type), (register_gst_state_change),
22151         (gst_state_change_get_type), (register_gst_element_flags),
22152         (gst_element_flags_get_type), (register_gst_core_error),
22153         (gst_core_error_get_type), (register_gst_library_error),
22154         (gst_library_error_get_type), (register_gst_resource_error),
22155         (gst_resource_error_get_type), (register_gst_stream_error),
22156         (gst_stream_error_get_type), (register_gst_event_type),
22157         (gst_event_type_get_type), (register_gst_seek_type),
22158         (gst_seek_type_get_type), (register_gst_seek_flags),
22159         (gst_seek_flags_get_type), (register_gst_format),
22160         (gst_format_get_type), (register_gst_index_certainty),
22161         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22162         (gst_index_entry_type_get_type),
22163         (register_gst_index_lookup_method),
22164         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22165         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22166         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22167         (gst_index_flags_get_type), (register_gst_debug_level),
22168         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22169         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22170         (gst_iterator_result_get_type), (register_gst_iterator_item),
22171         (gst_iterator_item_get_type), (register_gst_message_type),
22172         (gst_message_type_get_type), (register_gst_mini_object_flags),
22173         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22174         (gst_pad_link_return_get_type), (register_gst_flow_return),
22175         (gst_flow_return_get_type), (register_gst_activate_mode),
22176         (gst_activate_mode_get_type), (register_gst_pad_direction),
22177         (gst_pad_direction_get_type), (register_gst_pad_flags),
22178         (gst_pad_flags_get_type), (register_gst_pad_presence),
22179         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22180         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22181         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22182         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22183         (gst_plugin_flags_get_type), (register_gst_rank),
22184         (gst_rank_get_type), (register_gst_query_type),
22185         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22186         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22187         (gst_tag_flag_get_type), (register_gst_task_state),
22188         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22189         (gst_alloc_trace_flags_get_type),
22190         (register_gst_type_find_probability),
22191         (gst_type_find_probability_get_type), (register_gst_uri_type),
22192         (gst_uri_type_get_type), (register_gst_parse_error),
22193         (gst_parse_error_get_type):
22194         * win32/common/gstversion.h:
22195           update win32 copies
22196
22197 2005-11-01  Luca Ognibene  <luogni@tin.it>
22198
22199         * gst/gst.c:
22200           fix docs. popt is dead, long live GOption.
22201
22202 2005-10-31  Wim Taymans  <wim@fluendo.com>
22203
22204         * gst/gstbuffer.h:
22205         Small doc fix.
22206
22207 2005-10-31  Andy Wingo  <wingo@pobox.com>
22208
22209         * Boo!
22210
22211         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22212
22213         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22214         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22215         the possibility of deadlocks here if code calling notify() or
22216         set() has a lock that can be taken in another notify handler (ABBA
22217         with class lock and e.g. python GIL state lock).
22218
22219 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22220
22221         * gst/gstbus.c: Doc updates.
22222
22223 2005-10-28  Wim Taymans  <wim@fluendo.com>
22224
22225         * docs/design/part-TODO.txt:
22226         * gst/gstiterator.c:
22227         * gst/gstsystemclock.c:
22228         * gst/gstsystemclock.h:
22229         Doc updates.
22230
22231 2005-10-28  Edward Hervey  <edward@fluendo.com>
22232
22233         * docs/gst/gstreamer-docs.sgml:
22234         * docs/gst/gstreamer-sections.txt:
22235         the GstURIType documentation page is private, it only defines GstURIType
22236         which should be defined in the GstURIHandler page
22237         
22238 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22239
22240         * gst/gstbin.c: (gst_bin_class_init):
22241         * gst/gstbin.h:
22242         * gst/gstutils.c:
22243         Documentation updates.
22244
22245 2005-10-28  Wim Taymans  <wim@fluendo.com>
22246
22247         * docs/gst/gstreamer-sections.txt:
22248         * gst/gstclock.c:
22249         * gst/gstclock.h:
22250         Documented the clocks.
22251
22252 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22253
22254         * docs/gst/gstreamer-sections.txt:
22255           move some macros to private sections
22256         * gst/gstminiobject.c:
22257         * gst/gstminiobject.h:
22258           add descriptions provided by ds and some more
22259         * gst/gstpad.h:
22260           mark macro as to be removed
22261
22262 2005-10-28  Wim Taymans  <wim@fluendo.com>
22263
22264         * docs/design/part-TODO.txt:
22265         Add an item to TODO.
22266
22267         * gst/gstiterator.c: (gst_iterator_fold),
22268         (gst_iterator_find_custom):
22269         * gst/gstiterator.h:
22270         Add iterator docs.
22271
22272 2005-10-28  Wim Taymans  <wim@fluendo.com>
22273
22274         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22275         (gst_base_transform_init):
22276         Don't leak class.
22277
22278         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22279         An EOS event marks the queue as completely filled.
22280
22281 2005-10-27  Wim Taymans  <wim@fluendo.com>
22282
22283         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22284         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22285         Some more debugging.
22286
22287         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22288         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22289         (gst_base_transform_event), (gst_base_transform_getrange),
22290         (gst_base_transform_chain):
22291         * gst/base/gstbasetransform.h:
22292         Fix debugging,
22293         Protect transform and concurrent buffer alloc with a new lock.
22294         Try not to break ABI/API.
22295
22296 2005-10-27  Wim Taymans  <wim@fluendo.com>
22297
22298         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22299         (gst_base_src_init), (gst_base_src_query),
22300         (gst_base_src_default_newsegment),
22301         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22302         (gst_base_src_send_event), (gst_base_src_event_handler),
22303         (gst_base_src_pad_get_range), (gst_base_src_loop),
22304         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22305         (gst_base_src_start), (gst_base_src_deactivate),
22306         (gst_base_src_activate_push), (gst_base_src_change_state):
22307         Move some stuff around and cleanup things.
22308
22309 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22310
22311         * gst/base/gstbasesrc.c: (gst_base_src_query):
22312           Add missing break statements.
22313
22314 2005-10-27  Wim Taymans  <wim@fluendo.com>
22315
22316         * check/gst/gstbin.c: (GST_START_TEST):
22317         An extra refcount is taken in basesrc.
22318
22319         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22320         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22321         (gst_base_src_loop):
22322         Small cleanups, check for flushing after being unlocked from the 
22323         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22324         Don't send out EOS when going to READY.
22325
22326 2005-10-27  Wim Taymans  <wim@fluendo.com>
22327
22328         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22329         (gst_base_sink_get_position):
22330         Some more debug.
22331
22332         * gst/gstbin.c: (message_check), (bin_replace_message),
22333         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22334         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22335         (bin_query_duration_init), (bin_query_duration_fold),
22336         (bin_query_duration_done), (bin_query_generic_fold),
22337         (gst_bin_query):
22338         * tools/gst-launch.c: (main):
22339         Remove old option.
22340
22341 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22342
22343         * examples/controller/audio-example.c: (main):
22344         * examples/queue/queue.c: (event_loop):
22345         * gst/base/gstbasetransform.h:
22346         * gst/gstelement.c: (gst_element_send_event):
22347         * gst/gstevent.h:
22348         * gst/gstpad.c: (gst_pad_send_event):
22349           fixing examples
22350           fixing docs typos
22351           changing log priority in error situations
22352
22353 2005-10-25  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/gstbin.c: (message_check), (bin_replace_message),
22356         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22357         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22358         (bin_query_duration_init), (bin_query_duration_fold),
22359         (bin_query_duration_done), (bin_query_generic_fold),
22360         (gst_bin_query):
22361         Some doc and debug updates.
22362         Cache previously requested query DURATION for speed. invalidate
22363         cached duration if element posts a DURATION message.
22364
22365 2005-10-25  Wim Taymans  <wim@fluendo.com>
22366
22367         * docs/design/part-TODO.txt:
22368         Update TODO.
22369
22370         * gst/gstbin.c: (message_check), (bin_replace_message),
22371         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22372         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22373         (bin_query_duration_init), (bin_query_duration_fold),
22374         (bin_query_duration_done), (bin_query_generic_fold),
22375         (gst_bin_query):
22376         Handle SEGMENT_START/DONE messages correctly.
22377         More evolved query algorithm that handles duration queries
22378         correctly.
22379
22380         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22381         (gst_element_get_state_func), (gst_element_abort_state),
22382         (gst_element_commit_state), (gst_element_lost_state):
22383         Some more debugging.
22384
22385         * gst/gstmessage.h:
22386         Added doc.
22387
22388 2005-10-25  Wim Taymans  <wim@fluendo.com>
22389
22390         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22391         Don't use invalid stream_time.
22392
22393         * gst/gstevent.c: (gst_event_new_newsegment):
22394         stream_time in newsegment cannot be undefined.
22395
22396 2005-10-24  Wim Taymans  <wim@fluendo.com>
22397
22398         * gst/gstbus.c:
22399         Doc fix.
22400
22401         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22402         (gst_queue_loop):
22403         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22404
22405 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22406
22407         * docs/libs/tmpl/gstdparam.sgml:
22408         * docs/libs/tmpl/gstdplinint.sgml:
22409         * docs/libs/tmpl/gstdpman.sgml:
22410         * docs/libs/tmpl/gstdpsmooth.sgml:
22411         * docs/libs/tmpl/gstunitconvert.sgml:
22412           these are obsolete
22413
22414 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22415
22416         * configure.ac:
22417           back to HEAD
22418
22419 === release 0.9.4 ===
22420
22421 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22422
22423         * configure.ac:
22424           releasing 0.9.4, "Tyrannosaurus Rex"
22425
22426 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22427
22428         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22429         (gst_file_sink_get_current_offset):
22430           Use fseeko() and ftello() if available. When falling back on
22431           lseek() to get the current offset, fflush() first to make sure
22432           everything is up-to-date and we get the right offset.
22433
22434 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22435
22436         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22437         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22438         * gst/gsterror.c: (_gst_stream_errors_init):
22439         * gst/gsterror.h:
22440         * gst/gstqueue.c: (gst_queue_loop):
22441         * po/POTFILES.in:
22442           remove prematurely added error category and clean up the instances
22443
22444 2005-10-21  Wim Taymans  <wim@fluendo.com>
22445
22446         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22447         (gst_base_sink_get_position), (gst_base_sink_query),
22448         (gst_base_sink_change_state):
22449         Simply set the right flag when going to playing, that's all
22450         we need to do instead of calling a function inside the object
22451         lock (that could take the lock as well and deadlock)
22452
22453 2005-10-21  Wim Taymans  <wim@fluendo.com>
22454
22455         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22456         (gst_base_src_loop):
22457         Don't warn, the peer element knows what to do best when
22458         the seek failed, it might try something else.
22459
22460 2005-10-21  Wim Taymans  <wim@fluendo.com>
22461
22462         * gst/base/gstbasesrc.c: (gst_base_src_init),
22463         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22464         Fix seeking.
22465
22466 2005-10-21  Wim Taymans  <wim@fluendo.com>
22467
22468         * docs/design/part-segments.txt:
22469         More docs.
22470
22471         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22472         Correctly set caps, even on the subbufer.
22473
22474 2005-10-21  Wim Taymans  <wim@fluendo.com>
22475
22476         * docs/gst/gstreamer-docs.sgml:
22477         * docs/gst/gstreamer-sections.txt:
22478         * gst/gstelement.h:
22479         * gst/gstevent.c:
22480         * gst/gstevent.h:
22481         * gst/gstmessage.h:
22482         * gst/gstpad.h:
22483         * gst/gstparse.h:
22484         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22485         * gst/gsttask.h:
22486         * gst/gstutils.c:
22487         * gst/gstutils.h:
22488         And 2% more doc coverage.
22489
22490 2005-10-21  Andy Wingo  <wingo@pobox.com>
22491
22492         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22493         position reporting.
22494
22495 2005-10-20  Wim Taymans  <wim@fluendo.com>
22496
22497         * gst/gsterror.c: (gst_error_get_message):
22498         * gst/gstparse.h:
22499         * gst/gstquery.h:
22500         * gst/gststructure.c:
22501         * gst/gsttrace.c:
22502         * gst/gstutils.c:
22503         More docs.
22504
22505 2005-10-20  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/gstbuffer.h:
22508         * gst/gstpad.c:
22509         * gst/gstparse.c:
22510         Another 1% more coverage.
22511
22512 2005-10-20  Wim Taymans  <wim@fluendo.com>
22513
22514         * docs/gst/gstreamer-sections.txt:
22515         * gst/gstelement.c: (gst_element_get_state_func),
22516         (gst_element_abort_state), (gst_element_commit_state),
22517         (gst_element_lost_state):
22518         * gst/gstevent.h:
22519         * gst/gstquery.c: (gst_query_set_position),
22520         (gst_query_parse_position), (gst_query_set_duration),
22521         (gst_query_parse_duration), (gst_query_new_convert):
22522         * gst/gstutils.c:
22523         Yay! 1% more docs coverage.
22524
22525 2005-10-20  Wim Taymans  <wim@fluendo.com>
22526
22527         * gst/gstpad.h:
22528         * gst/gstquery.c: (gst_query_set_position),
22529         (gst_query_parse_position), (gst_query_set_duration),
22530         (gst_query_parse_duration), (gst_query_new_convert):
22531         * gst/gstquery.h:
22532         * gst/gstutils.c: (gst_element_query_convert):
22533         * gst/gstutils.h:
22534         Docs and consistency fixes.
22535
22536 2005-10-20  Wim Taymans  <wim@fluendo.com>
22537
22538         * gst/gsttask.c:
22539         * gst/gsttask.h:
22540         More docs.
22541
22542 2005-10-20  Wim Taymans  <wim@fluendo.com>
22543
22544         * gst/gstbin.c: (message_check), (bin_replace_message),
22545         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22546         (update_degree), (gst_bin_sort_iterator_next),
22547         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22548         Reworked the message handling a bit, cache the messages instead of
22549         only the senders. alows us to do more in the future.
22550
22551 2005-10-20  Wim Taymans  <wim@fluendo.com>
22552
22553         * docs/design/part-TODO.txt:
22554         Update TODO
22555
22556         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22557         (gst_base_sink_query):
22558         Don't use clock time to report position when in EOS.
22559
22560 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22561
22562         * tools/gst-inspect.c: (print_interfaces),
22563         (print_element_properties_info), (print_element_info):
22564           Fix interface output with gst-inspect -a; don't print
22565           newlines after double/float properties.
22566
22567 2005-10-20  Wim Taymans  <wim@fluendo.com>
22568
22569         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22570         (gst_base_sink_query):
22571         Speed up current position calculation.
22572
22573         * gst/base/gstbasesrc.c: (gst_base_src_query),
22574         (gst_base_src_default_newsegment):
22575         Correctly set stream position in newsegment.
22576
22577         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22578         (update_degree), (gst_bin_sort_iterator_next),
22579         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22580         * gst/gstmessage.c: (gst_message_new_custom):
22581         Clean up debugging info
22582
22583         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22584         (gst_queue_loop), (gst_queue_handle_src_query):
22585         Pause task faster.
22586
22587 2005-10-19  Wim Taymans  <wim@fluendo.com>
22588
22589         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22590         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22591         Fix query handling again.
22592
22593 2005-10-19  Wim Taymans  <wim@fluendo.com>
22594
22595         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22596         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22597         * gst/base/gstbasesrc.c: (gst_base_src_query):
22598         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22599         * gst/elements/gsttypefindelement.c:
22600         (gst_type_find_handle_src_query), (find_element_get_length),
22601         (gst_type_find_element_activate):
22602         API change fix.
22603
22604         * gst/gstquery.c: (gst_query_new_position),
22605         (gst_query_set_position), (gst_query_parse_position),
22606         (gst_query_new_duration), (gst_query_set_duration),
22607         (gst_query_parse_duration), (gst_query_set_segment),
22608         (gst_query_parse_segment):
22609         * gst/gstquery.h:
22610         Bundling query position/duration is not a good idea since duration
22611         does not change much and we don't want to recalculate it for every
22612         position query, so they are separated again..
22613         Base value in segment query is not needed.
22614
22615         * gst/gstqueue.c: (gst_queue_handle_src_query):
22616         * gst/gstutils.c: (gst_element_query_position),
22617         (gst_element_query_duration), (gst_pad_query_position),
22618         (gst_pad_query_duration):
22619         * gst/gstutils.h:
22620         Updates for query API change.
22621         Added some docs here and there.
22622
22623 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         * check/gst/gstbin.c: (GST_START_TEST):
22626         * check/gst/gstghostpad.c: (GST_START_TEST):
22627         * check/pipelines/cleanup.c: (GST_START_TEST):
22628           wait on thread to die so we can check refcount correctly
22629
22630 2005-10-18  Wim Taymans  <wim@fluendo.com>
22631
22632         * check/pipelines/stress.c: (GST_START_TEST):
22633         Make check a little more time consuming.
22634
22635 2005-10-18  Wim Taymans  <wim@fluendo.com>
22636
22637         * check/Makefile.am:
22638         * check/pipelines/stress.c: (GST_START_TEST),
22639         (simple_launch_lines_suite), (main):
22640         Small state change torture test.
22641
22642         * docs/design/part-states.txt:
22643         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22644         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22645         (gst_base_sink_change_state):
22646         Never take state lock from streaming thread, clean up ugly
22647         hacks. Unfortunatly core does not yet support nice ways to
22648         async commit state.
22649         
22650         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22651         (bin_bus_handler):
22652         Start state recalc if a STATE_DIRTY message is posted, but only
22653         on the toplevel bin.
22654
22655         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22656         (gst_element_get_state_func), (gst_element_abort_state),
22657         (gst_element_commit_state), (gst_element_lost_state),
22658         (gst_element_set_state_func), (gst_element_change_state):
22659         * gst/gstelement.h:
22660         State variables are now protected with the LOCK, the state
22661         lock is only used to serialize _set_state().
22662
22663 2005-10-18  Wim Taymans  <wim@fluendo.com>
22664
22665         * check/gst/gstbin.c: (GST_START_TEST):
22666         * check/gst/gstmessage.c: (GST_START_TEST):
22667         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22668         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22669         (bin_bus_handler):
22670         * gst/gstelement.c: (gst_element_abort_state),
22671         (gst_element_commit_state), (gst_element_lost_state):
22672         * gst/gstmessage.c: (gst_message_new_state_changed),
22673         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22674         (gst_message_new_segment_done), (gst_message_new_duration),
22675         (gst_message_parse_state_changed),
22676         (gst_message_parse_segment_start),
22677         (gst_message_parse_segment_done), (gst_message_parse_duration):
22678         * gst/gstmessage.h:
22679         * tools/gst-launch.c: (event_loop):
22680         Seriously, this is better than a previous commit as we only need
22681         to notify the fact that an element changed state in a streaming
22682         thread, marking the state of the parents dirty, hence the 
22683         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22684         message.
22685
22686 2005-10-18  Wim Taymans  <wim@fluendo.com>
22687
22688         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22689         (gst_bin_recalc_func):
22690         * gst/gstelement.c: (gst_element_set_clock),
22691         (gst_element_abort_state), (gst_element_lost_state):
22692         Cleanups, prepare for state change fixes.
22693
22694 2005-10-18  Wim Taymans  <wim@fluendo.com>
22695
22696         * gst/gstbin.h:
22697         * gst/gstelement.c: (gst_element_class_init),
22698         (gst_element_set_state), (gst_element_set_state_func):
22699         * gst/gstelement.h:
22700         Pending ABI changes.
22701         GThreadPool in GstBinClass to monitor async state changes.
22702         state_cookie in GstElement to detect concurrent gst/set state.
22703         set_state is now virtual too in case a very complicated element
22704         has to be constructed.
22705
22706 2005-10-18  Wim Taymans  <wim@fluendo.com>
22707
22708         * check/gst/gstbin.c: (GST_START_TEST):
22709         * check/gst/gstmessage.c: (GST_START_TEST):
22710         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22711         * gst/gstbin.c: (bin_bus_handler):
22712         * gst/gstelement.c: (gst_element_commit_state),
22713         (gst_element_lost_state):
22714         * gst/gstmessage.c: (gst_message_new_state_changed),
22715         (gst_message_new_segment_start), (gst_message_new_segment_done),
22716         (gst_message_new_duration), (gst_message_parse_state_changed),
22717         (gst_message_parse_segment_start),
22718         (gst_message_parse_segment_done), (gst_message_parse_duration):
22719         * gst/gstmessage.h:
22720         * tools/gst-launch.c: (event_loop):
22721         Make messages future proof.
22722         state-change gets a flag if it was a message comming from the
22723         streaming thread.
22724         segment-start/stop can also be specified in other formats.
22725         A message to notify an app that a pipeline changed playback 
22726         duration.
22727         Also fix a GstMessage leak in -launch
22728
22729 2005-10-18  Andy Wingo  <wingo@pobox.com>
22730
22731         * gst/gstelement.c (gst_element_dispose): More helpful message.
22732
22733 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22734
22735         reviewed by: <delete if not using a buddy>
22736
22737         * common/gtk-doc.mak:
22738
22739 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22740
22741         * gst/gstregistry.c: (gst_registry_scan_path_level):
22742           unref a plug-in we get that was already initialized
22743
22744 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22745
22746         * docs/gst/gstreamer-sections.txt:
22747         * docs/libs/gstreamer-libs-sections.txt:
22748         * gst/gstelement.h:
22749           add new api entries
22750           hide internal macro
22751
22752 2005-10-17  Andy Wingo  <wingo@pobox.com>
22753
22754         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22755         cleanup.
22756
22757         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22758
22759         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22760
22761         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22762         (gst_element_get_state_func): Better debug message.
22763         (gst_element_commit_state): s/INFO/DEBUG/.
22764         (gst_element_lost_state, gst_element_change_state): 
22765
22766         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22767         (gst_message_new_custom): s/INFO/LOG/.
22768
22769 2005-10-17  Michael Smith <msmith@fluendo.com>
22770
22771         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22772           Check if end time is valid using end time, not start time.
22773
22774 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22775
22776         * check/gst-libs/controller.c: (GST_START_TEST),
22777         (gst_controller_suite):
22778         * libs/gst/controller/gstcontroller.c:
22779         (gst_controlled_property_set_interpolation_mode):
22780         * libs/gst/controller/gstcontroller.h:
22781         * libs/gst/controller/gstinterpolation.c:
22782         * testsuite/controller/.cvsignore:
22783         * testsuite/controller/Makefile.am:
22784         * testsuite/controller/interpolator.c:
22785           merge controller testsuites
22786           fix broken tests
22787           remove mem-chunk from docs
22788
22789 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22790
22791         * gst/gstmemchunk.c:
22792         * gst/gstmemchunk.h:
22793         * gst/gsttrashstack.c:
22794         * gst/gsttrashstack.h:
22795           out.  get out.  you're fired.  to the Attic !
22796
22797 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22798
22799         * gst/gstcaps.c: (gst_caps_intersect):
22800           fix signedness issues in a (hopefully) correct way
22801         * gst/gstelement.c: (gst_element_pads_activate):
22802           some debugging
22803         * gst/gstobject.c: (gst_object_set_parent):
22804           some debugging
22805
22806 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22807
22808         * gst/gstvalue.h: Fix prototypes.
22809
22810 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22811
22812         * docs/gst/gstreamer-sections.txt:
22813         * gst/gst.c: (gst_version_string):
22814         * gst/gst.h:
22815         * gst/gstversion.h.in:
22816         * win32/common/libgstreamer.def:
22817           add gst_version_string ()
22818
22819 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22820
22821         * configure.ac:
22822           clean up further
22823         * gst/gst.c: (init_post):
22824         * win32/common/config.h.in:
22825           it's PLUGINDIR now
22826         * gst/gstcaps.c: (gst_caps_intersect):
22827           use gint64, the range could be bigger than a guint
22828
22829 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22830
22831         * gst/gstclock.h:
22832           document potential problem in 2038
22833
22834 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22835
22836         * gst/gstcaps.c: (gst_caps_intersect):
22837           Fix guint j diving under 0
22838
22839 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22840
22841         * configure.ac:
22842         * win32/common/config.h:
22843         * win32/common/config.h.in:
22844           check for process.h, declares getpid() on Windows
22845         * gst/gstinfo.c:
22846           include process.h if we have it
22847         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22848         * gst/gstmemchunk.h:
22849           fix signedness issues
22850         * win32/common/libgstreamer.def:
22851           fix get_type's
22852
22853 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22854
22855         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22856         fix. Because of unsigned ints, caps intersection was going nuts and
22857         trying to access structures with G_MAXUINT index. That fixes
22858         videotestsrc ! ffmpegcolorspace ! fakesink
22859         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22860         consistency.
22861
22862 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22863
22864         * configure.ac:
22865           use the gettext macro
22866         * gst/elements/gstelements.c:
22867         * gst/gst.c:
22868         * gst/indexers/gstindexers.c:
22869           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22870         * win32/common/config.h:
22871           updated config.h
22872         * win32/common/config.h.in:
22873           add the template to generate config.h
22874         * win32/common/gstenumtypes.c:
22875         * win32/common/gstversion.h:
22876           updated copies
22877
22878 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22879
22880         * gst/gst.c: (gst_version):
22881         * gst/gstversion.h.in:
22882           add the nano
22883
22884 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22885
22886         * gst/gstevent.h:
22887           Oops, add missing closing bracket.
22888
22889 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22890
22891         * configure.ac:
22892           use common m4's for argument checking
22893
22894 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22895
22896         * docs/gst/gstreamer-sections.txt:
22897         * gst/gstevent.h:
22898           Add GST_EVENT_TYPE_NAME() macro.
22899
22900 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22901
22902         * gst/gstinfo.c:
22903         * gst/gstpluginfeature.c:
22904         * gst/gsttask.c:
22905           privatize more symbols
22906
22907 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22908
22909         * configure.ac:
22910           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22911           everything that uses GStreamer API should have the includes
22912
22913 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22914
22915         * docs/gst/gstreamer-sections.txt:
22916         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22917         * gst/gstvalue.h:
22918           give each value a _get_type, removes the DATA exports
22919
22920 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22921
22922         * gst/gst.c:
22923         * gst/gst.h:
22924           remove _gst_registry_auto_load, not used anymore
22925         * gst/gstbin.c: (gst_bin_get_type):
22926         * gst/gstbin.h:
22927         * gst/gstelement.c: (gst_element_get_type):
22928         * gst/gstelement.h:
22929         * gst/gstobject.c: (gst_object_get_type):
22930         * gst/gstobject.h:
22931         * gst/gstpad.c: (gst_pad_get_type):
22932         * gst/gstpad.h:
22933           make _get_type functions similar, fixes data export from library
22934
22935 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22936
22937         * configure.ac:
22938           correctly make conditionals
22939         * gst/elements/Makefile.am:
22940         * gst/elements/gstelements.c:
22941           fix typo causing fdsrc not to build
22942
22943 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22944
22945         * testsuite/Makefile.am:
22946         * testsuite/bytestream/.cvsignore:
22947         * testsuite/bytestream/Makefile.am:
22948         * testsuite/bytestream/filepadsink.c:
22949         * testsuite/bytestream/gstbstest.c:
22950         * testsuite/bytestream/test1.c:
22951         * testsuite/bytestream/testfile1:
22952         * testsuite/caps/normalisation.c:
22953         * testsuite/caps/random.c: (main):
22954         * testsuite/cleanup/.cvsignore:
22955         * testsuite/cleanup/Makefile.am:
22956         * testsuite/cleanup/cleanup1.c:
22957         * testsuite/cleanup/cleanup2.c:
22958         * testsuite/cleanup/cleanup3.c:
22959         * testsuite/cleanup/cleanup4.c:
22960         * testsuite/cleanup/cleanup5.c:
22961         * testsuite/controller/interpolator.c:
22962         * testsuite/debug/printf_extension.c: (main):
22963         * testsuite/elements/tee.c:
22964         * testsuite/negotiation/.cvsignore:
22965         * testsuite/negotiation/Makefile.am:
22966         * testsuite/negotiation/pad_link.c:
22967         * testsuite/pad/Makefile.am:
22968         * testsuite/pad/chainnopull.c:
22969         * testsuite/pad/getnopush.c:
22970         * testsuite/pad/link.c:
22971         * testsuite/refcounting/sched.c: (create_pipeline):
22972         * testsuite/registry/Makefile.am:
22973         * testsuite/registry/gst-print-formats.c:
22974         * testsuite/schedulers/.cvsignore:
22975         * testsuite/schedulers/142183-2.c:
22976         * testsuite/schedulers/142183.c:
22977         * testsuite/schedulers/143777-2.c:
22978         * testsuite/schedulers/143777.c:
22979         * testsuite/schedulers/147713.c:
22980         * testsuite/schedulers/147819.c:
22981         * testsuite/schedulers/147894-2.c:
22982         * testsuite/schedulers/147894.c:
22983         * testsuite/schedulers/Makefile.am:
22984         * testsuite/schedulers/group_link.c:
22985         * testsuite/schedulers/queue_link.c:
22986         * testsuite/schedulers/relink.c:
22987         * testsuite/schedulers/unlink.c:
22988         * testsuite/schedulers/unref.c:
22989         * testsuite/schedulers/useless_iteration.c:
22990         * testsuite/states/bin.c:
22991           clean out/remove some stuff from the testsuite directories
22992
22993 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22994
22995         * configure.ac:
22996           check for some headers
22997         * gst/elements/Makefile.am:
22998         * gst/elements/gstelements.c:
22999           don't compile fdsrc without sys/socket.h
23000         * gst/indexers/Makefile.am:
23001         * gst/indexers/gstindexers.c: (plugin_init):
23002           don't compile fileindex without mmap
23003
23004 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23005
23006         * configure.ac:
23007           reorganize
23008           clean up
23009           document more
23010           remove cruft
23011         * check/Makefile.am:
23012         * docs/gst/Makefile.am:
23013         * examples/helloworld/Makefile.am:
23014         * gst/Makefile.am:
23015         * gst/base/Makefile.am:
23016         * gst/check/Makefile.am:
23017         * gst/elements/Makefile.am:
23018         * gst/indexers/Makefile.am:
23019         * gst/parse/Makefile.am:
23020         * libs/gst/controller/Makefile.am:
23021         * libs/gst/dataprotocol/Makefile.am:
23022         * examples/helloworld/helloworld.c: (event_loop):
23023           compile fixes, though it's not being compiled currently
23024
23025 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23026
23027         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23028           Add some simple tests for the new taglist date API.
23029
23030 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23031
23032         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23033         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23034           Beautify 'last-message' output: print 'none' for buffer timestamps
23035           and durations if none is set; improve alignment with next messages.
23036
23037 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23038
23039         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23040         * gst/gstpluginfeature.h:
23041         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23042         * gst/gstregistry.h:
23043         * docs/gst/gstreamer-sections.txt:
23044           Add new API to check plugin feature version requirements.
23045
23046         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23047           Some basic tests for the above.         
23048
23049 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23050
23051         * gst/gststructure.c: (gst_structure_to_string):
23052           guard against NULL printf - happens when for example
23053           a message structure with GstClock gets serialized
23054
23055 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23056
23057         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23058           Fix presumable copy'n'pasto.
23059
23060 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23061
23062         * gst/elements/gstfakesrc.h:
23063         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23064         * gst/elements/gsttypefindelement.c:
23065           fix some signedness
23066         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23067           I wonder if this could actually write +2GB files before
23068
23069 2005-10-13  Andy Wingo  <wingo@pobox.com>
23070
23071         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23072         Fix Timmeke Waymans bug.
23073         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23074         string of the proper length to gst_caps_from_string. There's a
23075         potential for, before this fix, that this could cause someone
23076         connecting over the network to cause a segfault if the payload is
23077         not NUL-terminated.
23078
23079 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23080
23081         * docs/design/draft-push-pull.txt:
23082         * docs/design/part-overview.txt:
23083         * docs/random/TODO-pre-0.9:
23084         * docs/random/old/ChangeLog.gstreamer:
23085         * gst/base/gstpushsrc.c:
23086         * gst/gstclock.c:
23087           fixed typos
23088
23089 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * gst/glib-compat.c: (gst_flags_get_first_value):
23092         * gst/glib-compat.h:
23093         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23094         (gst_value_compare_double), (gst_value_serialize_flags):
23095           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23096           infinite loop
23097
23098 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23099
23100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23101         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23102           fix up debugging
23103         * tools/gst-launch.c: (event_loop):
23104           print out clock nicely
23105
23106 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23107
23108         * docs/gst/gstreamer-sections.txt:
23109         * gst/gsttaglist.h:
23110         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23111         (gst_tag_list_get_date_index):
23112           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23113           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23114
23115 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23116
23117         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23118         (gst_collectpads_chain):
23119         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23120         in CollectData.
23121
23122 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23123
23124         * docs/gst/gstreamer-sections.txt:
23125         * gst/gst.c:
23126         * gst/gsterror.h:
23127         * tools/gst-inspect.c: (main):
23128         * tools/gst-launch.c: (main):
23129         * tools/gst-run.c: (main):
23130         * tools/gst-xmlinspect.c: (main):
23131           fix GOption context leaks
23132           doc fixes
23133
23134 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23135
23136         * gst/gstbus.c:
23137           use HAVE_UNISTD_H
23138         * win32/common/config.h:
23139           update config
23140         * win32/vs6/grammar.dsp:
23141         * win32/vs6/libgstelements.dsp:
23142         * win32/vs6/libgstreamer.dsp:
23143           update vs6 files
23144
23145 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23146
23147         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23148         * gst/base/gstbasesrc.c: (gst_base_src_query):
23149           fix more guint64<->gdouble conversions
23150
23151 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23152
23153         * Makefile.am:
23154           add win32-update target
23155         * win32/common/gstconfig.h:
23156         * win32/common/gstenumtypes.c:
23157         * win32/common/gstenumtypes.h:
23158         * win32/common/gstversion.h:
23159           add files that visual studio can't generate
23160
23161 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23162
23163         * Makefile.am:
23164           add a win32-update target
23165         * configure.ac:
23166
23167 2005-10-12  Wim Taymans  <wim@fluendo.com>
23168
23169         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23170         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23171         * gst/gstelement.c: (gst_element_commit_state),
23172         (gst_element_set_state):
23173         Protect flags with proper lock.
23174         unref provided cached clock in dispose.
23175
23176 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23177
23178         * gst/gst.c:
23179         * gst/gstminiobject.h:
23180         * gst/gstpad.h:
23181         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23182           removed unused flags from miniobject
23183           doc fixes
23184
23185 2005-10-12  Wim Taymans  <wim@fluendo.com>
23186
23187         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23188         (gst_file_sink_event), (gst_file_sink_render):
23189         Flush before seeking.
23190
23191 2005-10-12  Andy Wingo  <wingo@pobox.com>
23192
23193         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23194         always been the case.
23195
23196 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23197
23198         * check/gst/gstbin.c: (GST_START_TEST):
23199         * docs/gst/gstreamer-sections.txt:
23200         * gst/base/gstbasesink.c: (gst_base_sink_init):
23201         * gst/base/gstbasesrc.c: (gst_base_src_init),
23202         (gst_base_src_get_range), (gst_base_src_check_get_range),
23203         (gst_base_src_start), (gst_base_src_stop):
23204         * gst/base/gstbasesrc.h:
23205         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23206         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23207         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23208         (bin_bus_handler):
23209         * gst/gstbin.h:
23210         * gst/gstbuffer.h:
23211         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23212         * gst/gstbus.h:
23213         * gst/gstelement.c: (gst_element_is_locked_state),
23214         (gst_element_set_locked_state), (gst_element_commit_state),
23215         (gst_element_set_state):
23216         * gst/gstelement.h:
23217         * gst/gstindex.c: (gst_index_init):
23218         * gst/gstindex.h:
23219         * gst/gstminiobject.h:
23220         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23221         (gst_object_set_parent):
23222         * gst/gstobject.h:
23223         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23224         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23225         * gst/gstpad.h:
23226         * gst/gstpadtemplate.h:
23227         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23228         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23229         * gst/gstpipeline.h:
23230         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23231         (gst_file_index_commit):
23232         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23233         * testsuite/pad/link.c: (gst_test_src_init),
23234         (gst_test_filter_init), (gst_test_sink_init):
23235         * testsuite/states/locked.c: (main):
23236           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23237           moved bitshift from macro to enum definition
23238
23239 2005-10-12  Wim Taymans  <wim@fluendo.com>
23240
23241         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23242         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23243         (gst_file_sink_render):
23244         Some more debugging info.
23245
23246 2005-10-12  Wim Taymans  <wim@fluendo.com>
23247
23248         * docs/design/part-states.txt:
23249         * tools/gst-launch.c: (main):
23250         Some doc updates.
23251         Revert non-intentional change.
23252
23253 2005-10-12  Wim Taymans  <wim@fluendo.com>
23254
23255         * check/gst/gstbin.c: (GST_START_TEST):
23256         * check/gst/gstelement.c: (GST_START_TEST):
23257         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23258         * check/gst/gstghostpad.c: (GST_START_TEST):
23259         * check/gst/gstpipeline.c: (GST_START_TEST):
23260         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23261         * check/states/sinks.c: (GST_START_TEST):
23262         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23263         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23264         (gst_bin_remove_func), (gst_bin_get_state_func),
23265         (gst_bin_recalc_state), (gst_bin_change_state_func),
23266         (bin_bus_handler):
23267         * gst/gstelement.c: (gst_element_get_state_func),
23268         (gst_element_get_state), (gst_element_abort_state),
23269         (gst_element_commit_state), (gst_element_set_state),
23270         (gst_element_change_state), (gst_element_change_state_func):
23271         * gst/gstelement.h:
23272         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23273         (gst_pipeline_provide_clock_func):
23274         * gst/gstutils.c: (gst_element_link_pads_filtered):
23275         * tools/gst-launch.c: (main):
23276         * tools/gst-typefind.c: (main):
23277         Use GstClockTime in _get_state() instead of GTimeVal.
23278         Remove old code in gstutils.c
23279
23280 2005-10-12  Andy Wingo  <wingo@pobox.com>
23281
23282         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23283         removed.
23284
23285         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23286         there is no task. Shouldn't affect any code, as nothing in our
23287         plugins checks this return value.
23288         (gst_pad_stop_task): Also take the stream lock if the pad has no
23289         task. Docs updated.
23290
23291 2005-10-12  Wim Taymans  <wim@fluendo.com>
23292
23293         * gst/gstpad.c: (pre_activate), (post_activate),
23294         (gst_pad_activate_pull), (gst_pad_activate_push):
23295         Cleanup activation code. Reset old state if
23296         activation failed.
23297
23298 2005-10-12  Wim Taymans  <wim@fluendo.com>
23299
23300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23301         (gst_base_sink_change_state):
23302         No need to prerol after receiving EOS.
23303
23304         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23305         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23306         * gst/elements/gstidentity.c: (gst_identity_event):
23307         Print events more verbosely.
23308
23309 2005-10-12  Wim Taymans  <wim@fluendo.com>
23310
23311         * check/Makefile.am:
23312         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23313         * check/states/sinks2.c:
23314         Moved sinks2 testcode in sinks check.
23315
23316         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23317         (gst_bin_remove_func), (gst_bin_recalc_state),
23318         (gst_bin_change_state_func), (bin_bus_handler):
23319         Fix potential race condition when _get_state() iterated over an
23320         ASYNC element right before it posted a state completion.
23321
23322         * gst/gstclock.h:
23323         Do proper cast here.
23324
23325         * gst/gstevent.c: (gst_event_new_newsegment),
23326         (gst_event_parse_newsegment):
23327         A playback rate of 0.0 is not allowed.
23328
23329 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23330
23331         * win32/common/config.h:
23332         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23333         (_trewinddir), (_ttelldir), (_tseekdir):
23334         * win32/common/dirent.h:
23335         * win32/common/gtchar.h:
23336         * win32/common/libgstbase.def:
23337         * win32/common/libgstreamer.def:
23338         * win32/vs6/grammar.dsp:
23339         * win32/vs6/gst_inspect.dsp:
23340         * win32/vs6/gst_launch.dsp:
23341         * win32/vs6/gstreamer.dsw:
23342         * win32/vs6/libgstbase.dsp:
23343         * win32/vs6/libgstelements.dsp:
23344         * win32/vs6/libgstreamer.dsp:
23345           Visual Studio 6 project files, and a new common directory.
23346           Phear.
23347
23348 2005-10-11  Wim Taymans  <wim@fluendo.com>
23349
23350         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23351         (gst_base_sink_do_sync), (gst_base_sink_query),
23352         (gst_base_sink_change_state):
23353         * gst/base/gstbasesink.h:
23354         Correctly parse newsegment info.
23355
23356 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23357
23358         * gst/gst.c: (init_post):
23359           split plugin paths correctly
23360
23361 2005-10-11  Wim Taymans  <wim@fluendo.com>
23362
23363         * check/gst/gstevent.c: (GST_START_TEST):
23364         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23365         (gst_base_sink_change_state):
23366         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23367         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23368         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23369         * gst/gstevent.c: (gst_event_new_newsegment),
23370         (gst_event_parse_newsegment):
23371         * gst/gstevent.h:
23372         Added extra flag to newsegment for future API freeze.
23373         Updated check and base elements.
23374
23375 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23376
23377         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23378         (gst_collectpads_add_pad), (gst_collectpads_pop),
23379         (gst_collectpads_event), (gst_collectpads_chain):
23380         * gst/base/gstcollectpads.h: Handle EOS correctly.
23381
23382 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23383
23384         * tools/gst-launch.c: (main):
23385           more null protecting
23386
23387 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23388
23389         * gst/gst-i18n-lib.h:
23390           check for ENABLE_NLS, not GETTEXT_PACKAGE
23391         * gst/gstregistry.c: (gst_registry_add_plugin),
23392         (gst_registry_scan_path_level),
23393         (_gst_registry_remove_cache_plugins):
23394           protect possibly NULL strings
23395         * gst/parse/types.h:
23396           config.h already included before
23397         * tools/gst-inspect.c: (main):
23398           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23399           check for ENABLE_NLS, not GETTEXT_PACKAGE
23400         * tools/gst-launch.c: (main):
23401           check for ENABLE_NLS, not GETTEXT_PACKAGE
23402
23403 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23404
23405         * configure.ac:
23406           if we don't have glib, fail before testing 2.8
23407         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23408           fix a leak, should fix plugins-base testsuite
23409
23410 2005-10-11  Andy Wingo  <wingo@pobox.com>
23411
23412         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23413         take the mode we're going to as an arg. Go head and set the mode
23414         and flushing flags now, so that if the activate function starts a
23415         thread all the flags will be in the right state.
23416         (post_activate): Renamed also. Just handle making sure streaming
23417         finishes for the deactivation case, and setting the deactivated
23418         mode.
23419         (gst_pad_set_active): Complain loudly if deactivation fails.
23420         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23421         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23422         remove the terrible hack.
23423
23424 2005-10-11  Wim Taymans  <wim@fluendo.com>
23425
23426         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23427         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23428         (gst_bin_recalc_state), (gst_bin_change_state_func),
23429         (gst_bin_dispose), (bin_bus_handler):
23430         * gst/gstbin.h:
23431         Prepare to make current EOS message queue more generic.
23432         Fix some typos.
23433
23434         * gst/gstevent.c: (gst_event_new_newsegment),
23435         (gst_event_parse_newsegment):
23436         * gst/gstevent.h:
23437         Rename base to stream_time.
23438
23439         * gst/gstmessage.h:
23440         Fix typo in docs.
23441
23442 2005-10-11  Wim Taymans  <wim@fluendo.com>
23443
23444         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23445         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23446         (gst_bin_change_state_func), (bin_bus_handler):
23447         * gst/gstbin.h:
23448         Work on proper clock selection.
23449
23450 2005-10-11  Edward Hervey  <edward@fluendo.com>
23451
23452         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23453         * libs/gst/controller/gstcontroller.h:
23454         Added GList* version of _remove_properties() in order to be able to wrap
23455         it in bindings.
23456
23457 2005-10-11  Wim Taymans  <wim@fluendo.com>
23458
23459         * docs/design/part-states.txt:
23460         Some more docs.
23461
23462         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23463         (gst_bin_change_state_func), (bin_bus_handler):
23464         Doc updates. Don't distribute the same clock over and over again.
23465
23466         * gst/gstclock.c:
23467         * gst/gstclock.h:
23468         Doc updates.
23469
23470         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23471         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23472         (gst_pad_send_event):
23473         * gst/gstpad.h:
23474         Make probe emission threadsafe again.
23475         Register quarks and move _get_name() from utils.
23476         Doc updates.
23477
23478         * gst/gstpipeline.c: (gst_pipeline_class_init),
23479         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23480         Only redistribute the clock of it changed.
23481
23482         * gst/gstsystemclock.h:
23483         Doc updates. 
23484
23485         * gst/gstutils.c:
23486         * gst/gstutils.h:
23487         Moved the _flow_get_name() to GstPad.
23488
23489 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23490
23491         * check/gst-libs/gdp.c: (GST_START_TEST):
23492         * check/gst/gstcaps.c: (GST_START_TEST):
23493         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23494         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23495         (gst_dp_packet_from_caps):
23496           fix more valgrind warnings before turning up the heat
23497
23498 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23499
23500         * gst/parse/grammar.y:
23501           some cleanup before the hacking
23502
23503 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23504
23505         * gst/base/gstbasesrc.c: (gst_base_src_query):
23506           use conversions
23507         * gst/gstutils.c: (gst_guint64_to_gdouble),
23508         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23509         * gst/gstutils.h:
23510           externalize, basesrc uses it
23511           obviously the implementation needs testing
23512
23513 2005-10-10  Wim Taymans  <wim@fluendo.com>
23514
23515         * tests/sched/Makefile.am:
23516         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23517         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23518
23519 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23520
23521         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23522           apparently converting from guint64 to double is not implemented
23523           on MSVC
23524
23525 2005-10-10  Wim Taymans  <wim@fluendo.com>
23526
23527         * check/Makefile.am:
23528         * check/generic/states.c: (GST_START_TEST):
23529         * check/gst/gstbin.c: (GST_START_TEST):
23530         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23531         * check/states/sinks.c: (GST_START_TEST):
23532         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23533         (main):
23534         Check fixes, use API as stated in design docs, remove hacks.
23535
23536         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23537         (gst_base_sink_change_state):
23538         Catch stopping our task while we're shutting down.
23539
23540         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23541         (gst_bin_remove_func), (gst_bin_get_state_func),
23542         (gst_bin_recalc_state), (gst_bin_change_state_func),
23543         (bin_bus_handler):
23544         * gst/gstbin.h:
23545         * gst/gstelement.c: (gst_element_init),
23546         (gst_element_get_state_func), (gst_element_abort_state),
23547         (gst_element_commit_state), (gst_element_lost_state),
23548         (gst_element_set_state), (gst_element_change_state),
23549         (gst_element_change_state_func):
23550         * gst/gstelement.h:
23551         New state change algorithm (see #318116)
23552
23553         * gst/gstpipeline.c: (gst_pipeline_class_init),
23554         (gst_pipeline_init), (gst_pipeline_set_property),
23555         (gst_pipeline_get_property), (do_pipeline_seek),
23556         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23557         * gst/gstpipeline.h:
23558         Remove crude state change hacks.
23559
23560         * gst/gstutils.h:
23561         Remove crude hacks.
23562
23563         * tools/gst-launch.c: (main):
23564         Fixes for state change. Needs some more work to fully use the
23565         new stuff.
23566
23567 2005-10-10  Andy Wingo  <wingo@pobox.com>
23568
23569         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23570
23571         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23572         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23573         issue.
23574
23575 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23576
23577         * gst/gstiterator.c: (gst_iterator_new):
23578           Fix my previous commit: GTypes passed to gst_iterator_new()
23579           can be fundamental types.
23580
23581 2005-10-10  Wim Taymans  <wim@fluendo.com>
23582
23583         * gst/gstelement.c: (gst_element_iterate_pad_list),
23584         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23585         (gst_element_iterate_sink_pads):
23586         Use src/sink pads lists for the respective iterators instead
23587         of filtering.
23588
23589 2005-10-10  Andy Wingo  <wingo@pobox.com>
23590
23591         Merged in popt removal + GOption addition patch from Ronald, bug
23592         #169772.
23593
23594         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23595         GstElement macros around, remove popt-related symbols, add goption
23596         stuff.
23597
23598         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23599         
23600         * docs/gst/Makefile.am:
23601         * docs/libs/Makefile.am: No POPT_CFLAGS.
23602         
23603         * examples/manual/Makefile.am:
23604         * docs/manual/basics-init.xml: Doc updates with an example.
23605         
23606         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23607         (gst_init), (parse_one_option), (parse_goption_arg):
23608         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23609         bit of hand merging and debugging to get the GOption stuff working
23610         tho.
23611         
23612         * tests/Makefile.am:
23613         * tools/Makefile.am:
23614         * tools/gst-inspect.c: (main):
23615         * tools/gst-launch.c: (main):
23616         * tools/gst-run.c: (main):
23617         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23618
23619 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23620
23621         * gst/gstiterator.c: (gst_iterator_new):
23622           Add assertions to make sure passed GType is likely to really
23623           be a GType (as the compiler won't catch it if the size and
23624           GType arguments get mixed up, see #318447).
23625
23626 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23627
23628         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23629
23630         * gst/gstbin.c: (gst_bin_iterate_sorted):
23631           Pass GType and size arguments to gst_iterator_new() in the right
23632           order (maybe we should make _new() take the GType as first argument
23633           just like _new_list()?) (#318447).
23634           
23635
23636 2005-10-10  Wim Taymans  <wim@fluendo.com>
23637
23638         * gst/gstelement.c: (gst_element_finalize):
23639         And free the GStaticRecMutex too
23640
23641 2005-10-10  Andy Wingo  <wingo@pobox.com>
23642
23643         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23644         Allocate and free the mutex properly.
23645
23646         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23647         New macros.
23648         (GstElement): The state_lock is now recursive. Rebuild your
23649         plugins, suckers. Old macros adapted.
23650
23651         * docs/gst/gstreamer-sections.txt: Doc updates.
23652
23653         * gst/gstutils.h:
23654         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23655         (g_static_rec_cond_wait): Ported from state changes patch, while
23656         we wait on bug #317802 to be solved in a well-distributed GLib.
23657
23658         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23659         gst_element_change_state, variable name changes.
23660         (gst_element_change_state): Split out of gst_element_set_state in
23661         preparation for the state change merge. Doesn't pay attention to
23662         the 'transition' argument.
23663         (gst_element_set_state): Updates, hopefully purely cosmetic.
23664         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23665         state change patch.
23666         (gst_element_get_state_func): Renamed from get_state, cosmetic
23667         changes.
23668
23669 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23670
23671         * gst/elements/gstelements.c:
23672         * win32/GStreamer.vcproj:
23673         * win32/config.h:
23674         * win32/dirent.c: (_tseekdir):
23675         * win32/gst-inspect.vcproj:
23676         * win32/gst-launch.vcproj:
23677         * win32/gstconfig.h:
23678         * win32/gstelements.vcproj:
23679         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23680         * win32/gstreamer.def:
23681         * win32/msvc71.sln:
23682           updates for the win32 build (patch from Sebastien Moutte)
23683
23684 2005-10-10  Andy Wingo  <wingo@pobox.com>
23685
23686         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23687         gst_bin_get_state, cleaned up (but no logic changes).
23688         (bin_element_is_sink): Comment updates.
23689         (sink_iterator_filter): Remove needless cast.
23690         (gst_bin_iterate_sinks): Doc update.
23691         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23692         cleaned up (but no logic changes).
23693
23694         * check/states/sinks.c (test_src_sink): Cleanups from the state
23695         change patch.
23696         (test_livesrc_sink): Sync on the state.
23697
23698         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23699         the state change patch.
23700
23701         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23702         change patch.
23703
23704         * check/gst/gstbin.c: Merge in some style fixes and additional
23705         checks from Wim's state change patch.
23706
23707 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23708
23709         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23710         (gst_type_find_helper):
23711           Check whether we have the requested data already in our list of
23712           cached buffers before pulling a new buffer; also make the buffer
23713           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23714
23715 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23716
23717         * gst/gstcaps.c:
23718         * gst/gstevent.c:
23719           doc updates
23720         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23721           don't use long long, it's not portable.  Replacing with
23722           gint64 seems to work; let's hope no skeletons fall out of the closet.
23723
23724 2005-10-10  Andy Wingo  <wingo@pobox.com>
23725
23726         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23727
23728 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23729
23730         * docs/gst/gstreamer-sections.txt:
23731         * gst/gstevent.c:
23732         * gst/gstevent.h:
23733         * gst/gstinfo.c:
23734         * gst/gstinfo.h:
23735         * gst/gstmessage.c: (gst_message_parse_state_changed):
23736         * gst/gstpad.c:
23737         * gst/gstpad.h:
23738           more docs, fix compilation
23739
23740 2005-10-09  Philippe Khalaf <burger@speedy.org>
23741         * gst/gstmessage.c:
23742           Fixed a few forgotten variables on previous commit
23743
23744 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23745
23746         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23747           Fix evil typefind crasher: getrange() might return a short
23748           buffer at the end of a file, but gst_type_find_peek() must
23749           either return the full data as requested or NULL, but
23750           never a short buffer.
23751
23752 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23753
23754         * gst/gstmessage.c: (gst_message_new_state_changed),
23755         (gst_message_parse_state_changed):
23756         * gst/gstmessage.h:
23757           don't use "new", it's a C++ keyword
23758
23759 2005-10-08  Wim Taymans  <wim@fluendo.com>
23760
23761         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23762         * gst/gstelement.c: (gst_element_post_message):
23763         * gst/gstpipeline.c: (gst_pipeline_change_state):
23764         Small docs and debug updates.
23765
23766 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23767
23768         * docs/gst/gstreamer-sections.txt:
23769         * gst/gstelementfactory.c:
23770         * gst/gstevent.c:
23771         * gst/gsttaglist.c:
23772           more docs
23773
23774 2005-10-08  Wim Taymans  <wim@fluendo.com>
23775
23776         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23777         (gst_bin_dispose), (bin_bus_handler):
23778         Fix typos, add comments.
23779         Clear EOS list when going to PAUSED from any direction and do it
23780         in a threadsafe way.
23781         Get base time in a threadsafe way too.
23782         Fix confusing debug in the change_state function.
23783         Various other small cleanups.
23784         
23785         * gst/gstelement.c: (gst_element_post_message):
23786         Fix very verbose bus posting code.
23787
23788         * gst/gstpipeline.c: (gst_pipeline_class_init),
23789         (gst_pipeline_set_property), (gst_pipeline_get_property),
23790         (gst_pipeline_change_state):
23791         Small ARG_ -> PROP_ cleanup
23792
23793 2005-10-08  Wim Taymans  <wim@fluendo.com>
23794
23795         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23796         Do a less CPU demanding EOS check because we can.
23797
23798 2005-10-08  Wim Taymans  <wim@fluendo.com>
23799
23800         * libs/gst/dataprotocol/dataprotocol.c:
23801         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23802         (gst_dp_packet_from_event):
23803         * libs/gst/dataprotocol/dataprotocol.h:
23804         * libs/gst/dataprotocol/dp-private.h:
23805         It's about time we bump the version number.
23806         Since event types don't fit in the guint8 anymore describing
23807         the payload type, make payload type 16 bits wide.
23808
23809 2005-10-08  Wim Taymans  <wim@fluendo.com>
23810
23811         * docs/design/part-TODO.txt:
23812         * docs/design/part-clocks.txt:
23813         * docs/design/part-events.txt:
23814         * docs/design/part-gstbin.txt:
23815         * docs/design/part-gstelement.txt:
23816         * docs/design/part-gstpipeline.txt:
23817         * docs/design/part-live-source.txt:
23818         * docs/design/part-messages.txt:
23819         * docs/design/part-overview.txt:
23820         * docs/design/part-states.txt:
23821         Many doc updates.
23822
23823 2005-10-08  Wim Taymans  <wim@fluendo.com>
23824
23825         * gst/gstevent.c:
23826         * gst/gstevent.h:
23827         Fix event quark registration.
23828         Add some space between events so we can insert them in the
23829         right groups.
23830
23831 2005-10-08  Wim Taymans  <wim@fluendo.com>
23832
23833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23834         (gst_base_sink_handle_buffer):
23835         Better log message.
23836
23837         * gst/gstbus.h:
23838         * gst/gstelement.h:
23839         More docs.
23840
23841         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23842         (gst_queue_set_property), (gst_queue_get_property):
23843         * gst/gstqueue.h:
23844         Remove old unused properties.
23845
23846 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23847         * docs/gst/gstreamer-sections.txt:
23848         * gst/gstmessage.c:
23849         * gst/gstmessage.h:
23850         * gst/gstminiobject.c:
23851         * gst/gstminiobject.h:
23852         * gst/gstobject.h:
23853         * gst/gstpad.h:
23854         * gst/gstutils.h:
23855           lots of new docs and doc fixes
23856
23857 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23858
23859         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23860         * gst/gstplugin.h:
23861         * gst/gstregistry.c: (gst_registry_lookup_locked),
23862         (gst_registry_scan_path_level):
23863         * gst/gstregistryxml.c: (load_plugin):
23864           Only ever load one plugin for a given plugin basename.
23865           This ensures correct overriding of GST_PLUGIN_PATH over
23866           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23867           system installed plugins.
23868
23869 2005-10-08  Wim Taymans  <wim@fluendo.com>
23870
23871         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23872         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23873         Prepare for doing QOS.
23874
23875 2005-10-08  Wim Taymans  <wim@fluendo.com>
23876
23877         * check/gst/gstbin.c: (GST_START_TEST):
23878         * check/pipelines/cleanup.c: (GST_START_TEST):
23879         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23880         Allow new clock message too.
23881
23882 2005-10-08  Wim Taymans  <wim@fluendo.com>
23883
23884         * gst/gstmessage.c: (gst_message_new_error),
23885         (gst_message_new_warning), (gst_message_new_tag),
23886         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23887         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23888         (gst_message_new_segment_start), (gst_message_new_segment_done),
23889         (gst_message_parse_state_changed),
23890         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23891         (gst_message_parse_new_clock):
23892         * gst/gstmessage.h:
23893         Also carry the clock in question.
23894
23895 2005-10-08  Wim Taymans  <wim@fluendo.com>
23896
23897         * gst/gstmessage.c: (gst_message_new_custom),
23898         (gst_message_new_eos), (gst_message_new_error),
23899         (gst_message_new_warning), (gst_message_new_tag),
23900         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23901         (gst_message_new_new_clock), (gst_message_new_segment_start),
23902         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23903         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23904         * gst/gstmessage.h:
23905         Clean up.
23906         Added clock related messages.
23907
23908         * gst/gstpipeline.c: (gst_pipeline_change_state):
23909         Post message when the clock changed.
23910
23911         * tools/gst-launch.c: (event_loop):
23912         Print new clock.
23913
23914 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23915
23916         * tools/gst-inspect.c: (print_element_properties_info):
23917           Can't pass NULL strings to g_print() on windows.
23918
23919 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * docs/Makefile.am:
23922         * docs/gst/Makefile.am:
23923         * docs/gst/gstreamer-docs.sgml:
23924         * docs/gst/running.xml:
23925         * docs/version.entities.in:
23926           add a chapter on running GStreamer.
23927           document GST_DEBUG and GST_PLUGIN* env vars
23928
23929 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23930
23931         * Makefile.am:
23932           remove include dir
23933         * configure.ac:
23934           remove PLUGINS_BUILDDIR stuff
23935         * gst/gst.c: (init_post):
23936           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23937         * idiottest.mak:
23938           remove, it was condescending and not needed
23939
23940 2005-10-08  Wim Taymans  <wim@fluendo.com>
23941
23942         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
23943         (gst_base_sink_handle_object), (gst_base_sink_event),
23944         (gst_base_sink_wait), (gst_base_sink_handle_event),
23945         (gst_base_sink_change_state):
23946         * gst/base/gstbasesink.h:
23947         Repost EOS message while going to PLAYING if still EOS.
23948         Make sure that when receiving a FLUSH_START we don't attempt
23949         to sync on the clock anymore.
23950
23951 2005-10-08  Wim Taymans  <wim@fluendo.com>
23952
23953         * tools/gst-launch.c: (event_loop):
23954         Better message printout.
23955
23956 2005-10-08  Wim Taymans  <wim@fluendo.com>
23957
23958         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
23959         (gst_bin_child_proxy_get_children_count):
23960         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23961         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
23962         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
23963         (gst_child_proxy_set_valist):
23964         * gst/parse/grammar.y:
23965         Make ChildProxy threadsafe and fix mem leaks.
23966
23967 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23968
23969         * gst/gst.c: (init_post):
23970           debug the GST_PLUGIN_ env vars
23971
23972 2005-10-08  Wim Taymans  <wim@fluendo.com>
23973
23974         * check/gst/gstbin.c: (GST_START_TEST):
23975         * check/gst/gstmessage.c: (GST_START_TEST):
23976         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
23977         * gst/gstelement.c: (gst_element_commit_state),
23978         (gst_element_lost_state):
23979         * gst/gstmessage.c: (gst_message_new_state_changed),
23980         (gst_message_parse_state_changed):
23981         * gst/gstmessage.h:
23982         * tools/gst-launch.c: (event_loop):
23983         Added extra field to STATE_CHANGE message with the pending
23984         state, which will be different from the new state soon.
23985
23986 2005-10-08  Wim Taymans  <wim@fluendo.com>
23987
23988         * gst/gstbus.c: (gst_bus_pop):
23989         * gst/gstclock.c:
23990         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
23991         Small cleanups and doc updates.
23992
23993 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23994
23995         * gst/gst.c: (init_pre):
23996         * gst/gstbin.c: (gst_bin_add_func):
23997           log distributing clocks and base time
23998         * gst/gstregistry.c: (gst_registry_add_plugin),
23999         (gst_registry_scan_path_level), (gst_registry_scan_path):
24000           clean up the debugging output a little
24001         * gst/gstutils.c: (gst_element_state_get_name):
24002           warn about a memleak (I've actually seen this be used, though
24003           it was probably a bug)
24004
24005 2005-10-07  Wim Taymans  <wim@fluendo.com>
24006
24007         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24008         (gst_base_src_init), (gst_base_src_default_newsegment),
24009         (gst_base_src_newsegment), (gst_base_src_do_seek),
24010         (gst_base_src_loop), (gst_base_src_start):
24011         * gst/base/gstbasesrc.h:
24012         Make the newsegment event customizable by subclasses.
24013
24014 2005-10-07  Wim Taymans  <wim@fluendo.com>
24015
24016         * gst/gstevent.c: (gst_event_new_buffersize),
24017         (gst_event_parse_buffersize):
24018         * gst/gstevent.h:
24019         New event for future idea.
24020
24021 2005-10-07  Andy Wingo  <wingo@pobox.com>
24022
24023         * gst/gstelement.c (gst_element_post_message): Doc update.
24024
24025         * docs/gst/gstreamer-sections.txt: Update.
24026
24027         * gst/gstmessage.c (gst_message_new_application): Made into a
24028         function like honest API calls.
24029         (gst_message_new_element): New message type.
24030
24031         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24032
24033         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24034         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24035         times.
24036
24037         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24038         NO_PREROLL from gst_element_change_state to fall through.
24039
24040 2005-10-07  Wim Taymans  <wim@fluendo.com>
24041
24042         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24043         (gst_ghost_pad_do_activate_push):
24044         Activating a ghostpad with no internal pad in push mode
24045         is ok.
24046
24047 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24048
24049         * gst/gstobject.h:
24050           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24051           Fixes compilation on Windows.
24052
24053 2005-10-07  Michael Smith <msmith@fluendo.com>
24054
24055         * tools/gst-inspect.c:
24056           Print out feature and plugin count at the end when printing out
24057           all features.
24058
24059 2005-10-04  Michael Smith <msmith@fluendo.com>
24060
24061         * gst/gsterror.c: (_gst_stream_errors_init):
24062           Add another error string used in a few existing plugins.
24063
24064         * gst/gstplugin.c:
24065         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24066         * tools/gst-inspect.c: (print_element_info):
24067           When a feature disappears from a plugin (and the feature exists in
24068           the cached registry file), things went horribly wrong. This isn't a
24069           complete fix, we should actually be removing the 'missing' features
24070           from the features list when we load the actual plugin. That's not
24071           yet implemented. 
24072
24073 2005-10-04  Johan Dahlin  <johan@gnome.org>
24074
24075         * check/gst/gstiterator.c: (GST_START_TEST):
24076         * gst/gstbin.c: (gst_bin_iterate_elements),
24077         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24078         * gst/gstelement.c: (gst_element_iterate_pads):
24079         * gst/gstformat.c: (gst_format_iterate_definitions):
24080         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24081         (gst_iterator_new_list), (gst_iterator_filter):
24082         * gst/gstiterator.h:
24083         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24084         Add a GType to GstIterator, update callsites and tests.
24085
24086 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24087
24088         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24089           give events a chance to be handled by event probes when the pad
24090           is not linked
24091
24092 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24093
24094         * gst/gstevent.c: (gst_event_type_get_name),
24095         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24096         * gst/gstevent.h:
24097           add string representations for event types
24098
24099 2005-10-06  Wim Taymans  <wim@fluendo.com>
24100
24101         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24102         Don't use NULL pointers.
24103
24104 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24105
24106         * gst/gst_private.h:
24107         * gst/gstbus.c:
24108         * gst/gstelement.c:
24109         * gst/gstinfo.c:
24110         * gst/gstpluginfeature.c:
24111           widen the debug category in output to fit the biggest one we have
24112           add a bus category and use it
24113           play with the colors
24114           fix up some categories
24115
24116 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24117
24118         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24119           add push activation of sink ghost pads.
24120           Andye, please verify
24121
24122 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24123
24124         * gst/gstutils.c: (gst_element_link_pads):
24125           fix a bug in the case where neither element has a pad
24126         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24127           add a test for that case
24128
24129 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24130
24131         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24132           emit have-data before checking for peers.  This allows
24133           for probe handlers to connect elements.  This helps autopluggers.
24134         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24135         (gst_pad_suite):
24136           add six checks, linked/unlinked with no/true/false probe
24137
24138 2005-10-04  Wim Taymans  <wim@fluendo.com>
24139
24140         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24141         (gst_fake_sink_event), (gst_fake_sink_preroll),
24142         (gst_fake_sink_render), (gst_fake_sink_change_state):
24143         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24144         (gst_fake_src_get_property), (gst_fake_src_create),
24145         (gst_fake_src_stop):
24146         * gst/elements/gstidentity.c: (gst_identity_stop):
24147         Protect last_message with lock.
24148
24149 2005-10-04  Edward Hervey  <edward@fluendo.com>
24150
24151         * gst/gstformat.h: 
24152         Added precision in the comments for GST_FORMAT_DEFAULT
24153
24154 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24155
24156         * tools/gst-launch.c: (main):
24157           Don't try to run erroneous pipelines.
24158
24159 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24160
24161         * gst/gstbus.c: We don't need this header.
24162
24163 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24164
24165         * configure.ac:
24166           back to development
24167
24168 === release 0.9.3 ===
24169
24170 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24171
24172         * README:
24173         * configure.ac:
24174           Releasing 0.9.3, "Unregistered"
24175
24176 2005-10-03  Andy Wingo  <wingo@pobox.com>
24177
24178         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24179         whereby calling a pad's activatepush() function can start a thread
24180         that starts to push or pull before the pad gets the FLUSHING flag
24181         unset. Hack around it by holding the stream lock until the flag is
24182         set. Need to replace this with a proper solution. Together with
24183         the ghost pad fixes, this fixes mp3 playing/tagreading.
24184
24185         * docs/design/part-gstghostpad.txt: Add a note about activation of
24186         proxy pads outside of ghost pads.
24187
24188         * gst/gstghostpad.c: Implement the ghost pad activation design.
24189
24190 2005-10-02  Andy Wingo  <wingo@pobox.com>
24191
24192         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24193         It is volatile, after all.
24194
24195         * docs/design/part-gstghostpad.txt: Flesh out activation with
24196         ghost pads.
24197
24198         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24199         GST_DEBUG_FUNCPTR.
24200
24201 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24202
24203         * configure.ac:
24204           Fix (unused) AM_CONDITIONAL tests.
24205
24206 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24207
24208         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24209
24210         * gst/gstutils.c: (gst_pad_query_convert):
24211           Add assertion that makes sure src_val is >=0, just like
24212           gst_query_new_convert() has. (#315895)
24213
24214 2005-09-30  Edward Hervey  <edward@fluendo.com>
24215
24216         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24217         Let's not iterate pads we're not interested in, it avoids getting 
24218         sky-high refcounts on sinkpad.
24219
24220 2005-09-30  Wim Taymans  <wim@fluendo.com>
24221
24222         * gst/gstelement.c: (gst_element_set_state),
24223         (gst_element_change_state):
24224         Small tweak, element in ASYNC remains ASYNC.
24225
24226 2005-09-30  Wim Taymans  <wim@fluendo.com>
24227
24228         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24229         Only error is an error.
24230
24231         * gst/gstbin.c: (gst_bin_change_state):
24232         Better debugging.
24233
24234         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24235         Also call pad_block in pad alloc.
24236
24237         * gst/gstutils.c: (gst_flow_get_name):
24238         Better debugging.
24239
24240 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24241
24242         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24243         (gst_base_src_get_range):
24244           Fix documentation typos. Add some more debug info.
24245
24246 2005-09-29  David Schleef  <ds@schleef.org>
24247
24248         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24249           more end-user friendly.
24250         * tools/gst-inspect.c: (main): Check if command-line argument is
24251           a file and attempt to load that file as a plugin.
24252
24253 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24254
24255         * check/gst/gstbin.c:
24256         * check/states/sinks.c:
24257           fix tests for the new warning
24258         * check/gst/gstpipeline.c:
24259           add a test for pipeline and bus interaction
24260         * gst/gstelement.c:
24261           elements should be NULL if they get disposed; add a warning if not
24262
24263 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24264
24265         * gst/gstobject.c:
24266           for 2.6 refcounting, make debug log more correct by printing
24267           the actual refcounts at the time of swap (Wim)
24268
24269 2005-09-29  Andy Wingo  <wingo@pobox.com>
24270
24271         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24272         removes signal watches previously added via
24273         gst_bus_add_signal_watch.
24274         (gst_bus_add_signal_watch): Don't return the source id, just store
24275         it on the bus if there wasn't an id already.
24276
24277         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24278         add_signal_watch and remove_signal_watch.
24279
24280 2005-09-29  Edward Hervey  <edward@fluendo.com>
24281
24282         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24283         Better if we actually iterate the list :)
24284
24285 2005-09-29  Wim Taymans  <wim@fluendo.com>
24286
24287         * check/gst/gstbin.c: (GST_START_TEST):
24288         Change for new bus API.
24289
24290         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24291         (send_messages), (GST_START_TEST), (gstbus_suite):
24292         Change for new bus signal API.
24293
24294         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24295         (gst_bus_source_prepare), (gst_bus_source_check),
24296         (gst_bus_create_watch), (gst_bus_add_watch_full),
24297         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24298         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24299         * gst/gstbus.h:
24300         Remove support for multiple GSources operating on different
24301         message types as it is too complex and unneeded when using
24302         signals.
24303         Added support for receiving signals from the bus.
24304
24305 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24306
24307         * docs/libs/tmpl/gstdataprotocol.sgml:
24308         * docs/manual/advanced-dataaccess.xml:
24309         * gst/elements/gstcapsfilter.c:
24310         * gst/gstutils.c:
24311           rename filter-caps to caps property
24312
24313 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24314
24315         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24316           More robust fraction string parsing.
24317
24318         * docs/pwg/appendix-porting.xml:
24319           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24320
24321 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24322
24323         * gst/gstcaps.c: (gst_caps_do_simplify):
24324           Thou shalt not free a structure and then continue using it
24325           in the next loop iteration.
24326
24327         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24328         (gst_caps_suite):
24329           Add test case for caps simplification.
24330
24331 2005-09-29  Wim Taymans  <wim@fluendo.com>
24332
24333         * check/gst/gstbin.c: (GST_START_TEST):
24334         Oops.
24335
24336 2005-09-29  Wim Taymans  <wim@fluendo.com>
24337
24338         * check/gst/gstbin.c: (GST_START_TEST):
24339         Add bus to bin.
24340
24341         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24342         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24343         (find_element), (gst_bin_sort_iterator_next),
24344         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24345         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24346         (gst_bin_change_state), (gst_bin_dispose):
24347         A bin does not have a bus, it gets the bus from the parent.
24348
24349         * gst/gstelement.c: (gst_element_requires_clock),
24350         (gst_element_provides_clock), (gst_element_is_indexable),
24351         (gst_element_is_locked_state), (gst_element_change_state),
24352         (gst_element_set_bus_func):
24353         Small cleanups.
24354
24355         * gst/gstpipeline.c: (gst_pipeline_class_init),
24356         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24357         The pipeline provides a bus.
24358
24359 2005-09-28  Johan Dahlin  <johan@gnome.org>
24360
24361         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24362         gst_structure_get_enum instead of gst_structure_get_int
24363
24364         * gst/gststructure.c (gst_structure_get_enum): Impl.
24365
24366         * gst/gststructure.h (gst_structure_get_enum): Add
24367
24368         * docs/gst/gstreamer-sections.txt: Ditto
24369
24370         * gst/gstmessage.c (gst_message_new_state_changed): Use
24371         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24372         which does introspection.
24373         Reviewed by Christian Schaller
24374
24375 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24376
24377         * gst/gstinfo.c: (gst_debug_log_default):
24378           don't do dummy g_strdup()s
24379         * libs/gst/controller/gstcontroller.c:
24380         (on_object_controlled_property_changed),
24381         (gst_controlled_property_new), (gst_controller_new_valist),
24382         (gst_controller_new_list),
24383         (gst_controller_remove_properties_valist), (gst_controller_set),
24384         (gst_controller_get), (gst_controller_sync_values),
24385         (gst_controller_get_value_array), (_gst_controller_class_init),
24386         (gst_controller_get_type):
24387         * libs/gst/controller/gstcontroller.h:
24388         * libs/gst/controller/gstinterpolation.c:
24389         (gst_controlled_property_find_timed_value_node):
24390           convert // to /**/ comments
24391
24392 2005-09-28  Wim Taymans  <wim@fluendo.com>
24393
24394         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24395         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24396         (gst_bus_sync_signal_handler):
24397         * gst/gstbus.h:
24398         Added async-message and sync-message signals to the bus.
24399         Added helper BusFunc to emit signals for all posted messages.
24400
24401         * gst/gstmessage.c: (gst_message_type_get_name),
24402         (gst_message_type_to_quark), (gst_message_get_type):
24403         * gst/gstmessage.h:
24404         Register quarks for message names.
24405
24406 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24407
24408         * docs/libs/gstreamer-libs-sections.txt:
24409         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24410         (gst_controller_new_list):
24411         * libs/gst/controller/gstcontroller.h:
24412           added another constructor for language bindings
24413
24414 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24415
24416         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24417           add another check
24418         * gst/gstbus.c:
24419           add some doc
24420         * gst/gstinfo.c: (_gst_debug_init):
24421           slightly more readable color for refcount debugging
24422
24423 2005-09-28  Wim Taymans  <wim@fluendo.com>
24424
24425         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24426         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24427         (find_element), (gst_bin_sort_iterator_next),
24428         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24429         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24430         (gst_bin_change_state), (gst_bin_dispose):
24431         Small doc fixes. get_clock -> provide_clock.
24432
24433         * gst/gstelement.c: (gst_element_class_init),
24434         (gst_element_provides_clock), (gst_element_provide_clock),
24435         (gst_element_get_clock), (gst_element_commit_state),
24436         (gst_element_lost_state):
24437         * gst/gstelement.h:
24438         Make get/set_clock() symetric. Add provide_clock vmethod since
24439         that is actually what this function does.
24440
24441         * gst/gstpipeline.c: (gst_pipeline_class_init),
24442         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24443         (gst_pipeline_get_clock):
24444         get_clock -> provide_clock.
24445
24446 2005-09-28  Andy Wingo  <wingo@pobox.com>
24447
24448         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24449         lieu of real docs...
24450
24451         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24452
24453 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24454
24455         * gst/elements/gstcapsfilter.c:
24456         * gst/elements/gstfakesink.c:
24457         * gst/elements/gstfakesrc.c:
24458         * gst/elements/gstfdsink.c:
24459         * gst/elements/gstfdsrc.c:
24460         * gst/elements/gstfilesink.c:
24461         * gst/elements/gstfilesrc.c:
24462         * gst/elements/gstidentity.c:
24463         * gst/elements/gsttee.c:
24464         * gst/elements/gsttypefindelement.c:
24465           Make element details static.
24466
24467 2005-09-28  Wim Taymans  <wim@fluendo.com>
24468
24469         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24470         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24471         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24472         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24473         (gst_bin_change_state), (gst_bin_dispose):
24474         Some documentation updates.
24475         Clean up dispose handlers.
24476
24477         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24478         * gst/gstpad.c: (gst_pad_dispose):
24479         Clean up dispose handler.
24480
24481         * gst/gstpipeline.c: (gst_pipeline_change_state):
24482         Removed spurious UNLOCK.
24483
24484 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24485
24486         * docs/gst/gstreamer-sections.txt:
24487         * gst/base/gstbasesrc.h:
24488         * gst/gstelement.h:
24489         * gst/gstevent.h:
24490         * gst/gstobject.h:
24491         * gst/gstpad.h:
24492         * gst/gstpipeline.c:
24493         * gst/gstpipeline.h:
24494         * gst/gstutils.h:
24495         * gst/gstxml.h:
24496           added two new functions to the docs
24497                 documents all undocumented GstXXXFlags
24498                 completed some incomplete docs 
24499
24500 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24501
24502         * gst/gstbin.c: (gst_bin_dispose):
24503         * gst/gstelement.c: (gst_element_dispose):
24504           remove now useless and leaky resurrection code in dispose
24505         * gst/base/gstbasesrc.c: (gst_base_src_init):
24506         * gst/gstelementfactory.c: (gst_element_factory_create):
24507         * gst/gstobject.c: (gst_object_set_parent):
24508           add some debugging
24509
24510 2005-09-27  Wim Taymans  <wim@fluendo.com>
24511
24512         * docs/design/part-TODO.txt:
24513         Update TODO.
24514
24515         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24516         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24517         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24518         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24519         (gst_bin_change_state):
24520         * gst/gstelement.h:
24521         Remove element variable, we keep element info in the iterator now.
24522
24523 2005-09-27  Andy Wingo  <wingo@pobox.com>
24524
24525         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24526         values.
24527
24528 2005-09-27  Wim Taymans  <wim@fluendo.com>
24529
24530         * check/gst/gstbin.c: (GST_START_TEST):
24531         Enable check that works now.
24532
24533         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24534         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24535         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24536         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24537         (gst_bin_change_state):
24538         * gst/gstbin.h:
24539         Redid the state change algorithm using a topological sort algo.
24540         Handles all cases correctly.
24541         Exposed iterator for state change order.
24542
24543         * gst/gstelement.h:
24544         Temp storage for state changes. Need to get rid of this soon.
24545
24546 2005-09-27  Wim Taymans  <wim@fluendo.com>
24547
24548         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24549         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24550         (link_fold_func), (gst_pad_proxy_setcaps):
24551         Leak fixes, the fold functions need to unref the passed object and
24552         _get_parent_*() returns ref to parent.
24553
24554 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24555
24556         * check/gst/gstbuffer.c: (test_make_writable):
24557           Plug leak in test case and fix 'make check-valgrind'
24558
24559 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24560
24561         * gst/gstbuffer.c: (gst_subbuffer_init):
24562           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24563           works correctly in all circumstances (we could have just copied
24564           the parent buffer's readonly flag, but conceptually it seems
24565           cleaner to mark all subbuffers as read-only). (based on patch
24566           by Alessandro Decina, #314710).
24567         
24568         * check/gst/gstbuffer.c: (create_read_only_buffer),
24569         (test_make_writable), (test_subbuffer_make_writable),
24570         (gst_test_suite):
24571           Add some tests for gst_buffer_make_writable().
24572
24573 2005-09-27  Wim Taymans  <wim@fluendo.com>
24574
24575         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24576         use gst_object_has_ancestor().
24577
24578         * gst/gstobject.c: (gst_object_has_ancestor):
24579         * gst/gstobject.h:
24580         gst_object_has_ancestor() copied from gstbin.c as it is a
24581         useful function.
24582
24583         * tests/instantiate/create.c: (create_all_elements):
24584         * tests/lat.c: (handoff_src), (handoff_sink):
24585         * tests/sched/runxml.c: (main):
24586         * tests/seeking/seeking1.c: (main):
24587         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24588         (main):
24589         Fix compilation of some tests.
24590
24591 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24592
24593         * gst/gsterror.h:
24594           Remove comment. GST_TYPE_G_ERROR is here to stay,
24595           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24596           (#316961, #300610).
24597
24598 2005-09-26  Wim Taymans  <wim@fluendo.com>
24599
24600         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24601         Added check that shows error in state change order.
24602
24603 2005-09-26  Wim Taymans  <wim@fluendo.com>
24604
24605         * gst/gstbin.c: (gst_bin_change_state):
24606         Make state change function use 3 queues again, we were
24607         adding elements in the wrong order.
24608
24609         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24610         Some debug info,
24611
24612         * gst/gstpad.c: (gst_pad_dispose):
24613         Added some debug info first.
24614
24615 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24616
24617         * docs/design/draft-push-pull.txt:
24618         * docs/design/part-events.txt:
24619         * docs/design/part-overview.txt:
24620         * docs/design/part-scheduling.txt:
24621           Replace all _pull_region() with _pull_range()
24622           
24623 2005-09-26  Andy Wingo  <wingo@pobox.com>
24624
24625         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24626
24627         * check/gst-libs/controller.c: Update for controller api change.
24628
24629         * configure.ac: 
24630         * tests/Makefile.am:
24631         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24632         over by GLib bug 118439.
24633         
24634         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24635         routines to a function.
24636
24637         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24638
24639         * libs/gst/controller/gsthelper.c:
24640         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24641         (gst_object_sync_values): Renamed from sink_values. Ugh.
24642
24643         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24644
24645         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24646         Renamed from controller_key, as it is exported.
24647
24648         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24649
24650 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24651
24652         * gst/Makefile.am:
24653         * gst/gst.h:
24654         * gst/gstpad.h:
24655         * gst/gstpadtemplate.h:
24656         * gst/gstquery.c:
24657         * gst/gstquery.h:
24658         * gst/gstqueryutils.c:
24659         * gst/gstqueryutils.h:
24660           remove queryutils headers after moving the two used functions
24661           to gstquery.  also fixes build problem for gstsiddec
24662
24663 2005-09-26  Michael Smith <msmith@fluendo.com>
24664
24665         * tools/gst-launch.1.in:
24666         Correct documentation in manpage of debug syntax
24667
24668 2005-09-26  Wim Taymans  <wim@fluendo.com>
24669
24670         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24671         (gst_base_src_is_seekable), (gst_base_src_change_state):
24672         Some more debugging info.
24673
24674 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24675
24676         * docs/gst/gstreamer-sections.txt:
24677         * gst/base/gstbasetransform.h:
24678         * gst/gstindex.h:
24679           added more docs
24680
24681 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24682
24683         * docs/gst/.cvsignore:
24684         * docs/gst/tmpl/.cvsignore:
24685         * docs/gst/tmpl/gstpipeline.sgml:
24686         * docs/gst/tmpl/gstplugin.sgml:
24687         * gst/gstpipeline.c:
24688         * gst/gstplugin.c:
24689         * gst/gstplugin.h:
24690           inlined the last two docs files
24691           removed the tmpl directory from cvs (no more conflicts here!)
24692
24693 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24694
24695         * docs/gst/gstreamer-sections.txt:
24696         * docs/gst/tmpl/.cvsignore:
24697         * docs/gst/tmpl/gstpad.sgml:
24698         * docs/gst/tmpl/gstpadtemplate.sgml:
24699         * gst/Makefile.am:
24700         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24701         (gst_pad_finalize), (gst_pad_set_pad_template):
24702         * gst/gstpad.h:
24703         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24704         (gst_pad_template_class_init), (gst_pad_template_init),
24705         (gst_pad_template_dispose), (name_is_valid),
24706         (gst_static_pad_template_get), (gst_pad_template_new),
24707         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24708         (gst_pad_template_pad_created):
24709         * gst/gstpadtemplate.h:
24710           inlined two more docs
24711           factored gstpadtemplate out of gstpad
24712
24713 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24714
24715         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24716         (test_children_state_change_order_semi_sink):
24717           Fix test case: we can't rely on a fixed state change order when
24718           going from READY => PAUSED because the sink might commit its 
24719           new state first when the first buffer created by the source 
24720           reaches the sink before the source has finished its change state.
24721           (Test case still fails at times, see #316856, comment 5 onwards)
24722
24723 2005-09-24  Wim Taymans  <wim@fluendo.com>
24724
24725         * docs/design/part-events.txt:
24726         * docs/design/part-gstbus.txt:
24727         * docs/design/part-gstpipeline.txt:
24728         * docs/design/part-messages.txt:
24729         * docs/design/part-overview.txt:
24730         * docs/design/part-segments.txt:
24731         * gst/gstbin.c:
24732         * gst/gstbuffer.c:
24733         * gst/gstclock.c:
24734         * gst/gstelement.c:
24735         * gst/gstevent.c:
24736         * gst/gstfilter.c:
24737         * gst/gstiterator.c:
24738         Various documentation updates.
24739
24740 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24741
24742         * gst/gstclock.h:
24743           Well, that's embarassing.  Luckily we weren't using
24744           GST_CLOCK_DIFF anywhere.
24745
24746 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24747
24748         * common/gtk-doc.mak:
24749           don't fail on building XML, FC4 slave shows a bunch of doc
24750           missing bits that I don't get
24751         * gst/gstpad.c:
24752         * gst/gstpipeline.c:
24753         * gst/gststructure.c:
24754           some doc updates
24755
24756 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24757
24758         * docs/design/part-gstbin.txt:
24759         * docs/design/part-gstbus.txt:
24760         * gst/gstbus.c:
24761           Add blurb about how the bus goes into flushing mode and
24762           drops all messages when its bin goes from READY into NULL 
24763           state.
24764
24765 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24766
24767         * docs/gst/gstreamer-sections.txt:
24768         * gst/gststructure.c: (gst_structure_get_clock_time):
24769         * gst/gststructure.h:
24770           add a method to get a GstClockTime out of a structure
24771
24772 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24773
24774         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24775         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24776           Added test to check state change order in bins (can still be made
24777           to fail here under heavy disk load; bails out with 'Push on pad
24778           fakesink:sink0, but it was not activated in push mode').
24779
24780         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24781           Fix state change order when there is only a semi sink (#316856)
24782
24783         * gst/gstbus.c: (gst_bus_class_init):
24784           Use _class_peek_parent(), not _class_ref(); fix docs to say
24785           'default main context' instead of 'mainloop' where that is
24786           what's meant.
24787
24788         * gst/gstelement.c: (gst_element_commit_state),
24789         (gst_element_set_state):
24790           Fix typos in debug messages
24791
24792 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24793
24794         * docs/README:
24795         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24796         * gst/gstpluginfeature.c:
24797         * gst/gstutils.c:
24798           various doc updates
24799         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24800           change an assert into an error until it gets fixed properly
24801
24802 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24803
24804         * docs/gst/gstreamer-sections.txt:
24805         * docs/gst/tmpl/.cvsignore:
24806         * docs/gst/tmpl/gstelement.sgml:
24807         * docs/gst/tmpl/gstinfo.sgml:
24808         * docs/gst/tmpl/gstobject.sgml:
24809         * gst/gstelement.c:
24810         * gst/gstelement.h:
24811         * gst/gstinfo.c:
24812         * gst/gstinfo.h:
24813         * gst/gstobject.c: (gst_object_class_init):
24814         * gst/gstobject.h:
24815           inlined 3 more biiiig doc files and added some missing docs on the fly
24816
24817 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24818
24819         * check/gst/.cvsignore:
24820         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24821         * gst/gstregistryxml.c: (load_plugin),
24822         (gst_registry_xml_save_plugin):
24823           put back source in registry.  add checks for find_plugin.
24824         * testsuite/states/bin.c: (assert_state), (empty_bin),
24825         (test_adding_one_element), (main):
24826         * testsuite/states/locked.c: (main):
24827           some compile/run fixes
24828
24829 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24830
24831         * check/gst/gstvalue.c: (GST_START_TEST):
24832           fix leaks in the test itself
24833
24834 2005-09-22  Wim Taymans  <wim@fluendo.com>
24835
24836         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24837         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24838         (gst_base_sink_query):
24839         Prepare for more accurate position reporting and query
24840         handling.
24841
24842         * gst/gstelement.c: (gst_element_send_event),
24843         (gst_element_set_state):
24844         Add some comment.
24845
24846 2005-09-22  Wim Taymans  <wim@fluendo.com>
24847
24848         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24849         (gst_query_parse_segment):
24850         * gst/gstquery.h:
24851         More documentation.
24852         Add segment query for future use.
24853
24854 2005-09-22  Wim Taymans  <wim@fluendo.com>
24855
24856         * gst/gstbin.c: (gst_bin_add_func):
24857         Some more debug info.
24858
24859         * gst/gstelement.c: (gst_element_send_event):
24860         Simplify send_event
24861
24862         * gst/gstelement.h:
24863         Don't know how flags got broken.
24864
24865         * gst/gstquery.h:
24866         Added new query.
24867
24868 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24869
24870         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24871           Add simplistic test suite for GST_TYPE_DATE serialisation and
24872           deserialisation.
24873
24874 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24875
24876         * docs/gst/gstreamer-sections.txt:
24877         * gst/gststructure.c: (gst_structure_set_valist),
24878         (gst_structure_get_date):
24879         * gst/gststructure.h:
24880         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24881         (gst_date_copy), (gst_value_compare_date),
24882         (gst_value_serialize_date), (gst_value_deserialize_date),
24883         (gst_value_transform_date_string),
24884         (gst_value_transform_string_date), (_gst_value_initialize):
24885         * gst/gstvalue.h:
24886           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24887           bunch of utility functions along with a hack that checks that
24888           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24889           is required. Part of the grand scheme in #170777.
24890
24891 2005-09-22  Andy Wingo  <wingo@pobox.com>
24892
24893         * gst/gstconfig.h.in: Psych out gtk-doc.
24894
24895         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24896
24897         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24898
24899         * tools/gst-inspect.c (print_element_list): Plug some
24900         inconsequential leaks.
24901
24902         * gst/gstregistry.c (gst_registry_get_default): Doc.
24903
24904         * check/gst/gstplugin.c: 
24905         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24906         * gst/gstelementfactory.c (gst_element_factory_create): 
24907         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24908         refcount changes.
24909
24910         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24911         (gst_plugin_feature_load): Doc, don't eat refs.
24912
24913         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24914         (gst_plugin_list_free): Doc.
24915         (gst_plugin_load_file): Doc updates.
24916
24917         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24918         accessors returning refcounted objects, return a ref.
24919
24920         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24921         accessor for caps. IDEMPOTENCE. Oh yes.
24922
24923 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24924
24925         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24926
24927         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24928         (_gst_debug_register_funcptr):
24929           Add mutex to serialise access to the hash table with
24930           the function pointer => function name string mapping;
24931           make that hash table static scope (#316809).
24932
24933         * gst/registries/.cvsignore:
24934           Remove left-over file.
24935
24936 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24937
24938         * docs/pwg/appendix-porting.xml:
24939           And something about newsegment events and caps-on-buffers to
24940           the porting guide (feel free to improve).
24941
24942 2005-09-21  Andy Wingo  <wingo@pobox.com>
24943
24944         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
24945         data and event probes on the same pad.
24946         (test_buffer_probe_once): Test that removing probes from within
24947         the probe functions works.
24948
24949 2005-09-21  Andy Wingo  <wingo@pobox.com>
24950
24951         * check/gst/gstutils.c: New file.
24952         (test_buffer_probe_n_times): A simple buffer probe test. More to
24953         come, foolios.
24954
24955         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
24956         have-data::buffer, not have-data.
24957         (gst_pad_add_event_probe): Likewise for have-data::event.
24958         (gst_pad_add_data_probe): More docs. The part about 'resolving the
24959         peer' isn't quite right yet though.
24960         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
24961         (gst_pad_remove_data_probe): Change to take the guint handler_id
24962         as their arg, not the function+data, which is more glib-like.
24963
24964         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24965         the signal emission to indicate if the data is a buffer or an
24966         event.
24967         (gst_pad_get_type): Initialize buffer and event quarks.
24968         (gst_pad_class_init): have-data is now a detailed signal, yes it
24969         is.
24970
24971 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24972
24973         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24974         * gst/gstutils.c: (gst_util_set_value_from_string),
24975         (gst_util_set_object_arg):
24976           Don't put functional code in g_return_if_fail() or
24977           g_return_val_if_fail() statements, otherwise things will 
24978           break when G_DISABLE_CHECKS is defined during compilation.
24979
24980 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24981
24982         * docs/gst/tmpl/.cvsignore:
24983         * docs/gst/tmpl/gstvalue.sgml:
24984         * gst/gstvalue.c:
24985         * gst/gstvalue.h:
24986           inlied another one and added  some obvious docs
24987
24988 2005-09-21  Wim Taymans  <wim@fluendo.com>
24989
24990         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
24991         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
24992         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
24993         (gst_fdsrc_get_property), (gst_fdsrc_create):
24994         * gst/elements/gstfdsrc.h:
24995         Properly implement fdsrc. Removed signal and timeout,
24996         better implemented somewhere else.
24997
24998 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
24999
25000         * docs/gst/tmpl/.cvsignore:
25001         * docs/gst/tmpl/gstimplementsinterface.sgml:
25002         * gst/gstinterface.c:
25003           inlined more docs
25004
25005 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25006
25007         * docs/gst/gstreamer-sections.txt:
25008         * docs/gst/tmpl/.cvsignore:
25009         * docs/gst/tmpl/gstenumtypes.sgml:
25010           remove obsolete doc file
25011
25012 2005-09-21  David Schleef  <ds@schleef.org>
25013
25014         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25015         little beer, fix a little leak.
25016
25017 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25018
25019         * docs/gst/gstreamer-docs.sgml:
25020         * docs/gst/gstreamer-sections.txt:
25021         * docs/gst/tmpl/.cvsignore:
25022         * gst/Makefile.am:
25023         * gst/gst.h:
25024         * gst/gstbin.c:
25025         * gst/gstelement.h:
25026         * gst/gstindex.c: (gst_index_class_init):
25027         * gst/gstindex.h:
25028         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25029         (gst_index_factory_class_init), (gst_index_factory_init),
25030         (gst_index_factory_finalize), (gst_index_factory_new),
25031         (gst_index_factory_destroy), (gst_index_factory_find),
25032         (gst_index_factory_create), (gst_index_factory_make):
25033         * gst/gstindexfactory.h:
25034         * gst/gstpluginfeature.c:
25035         * gst/gstpluginfeature.h:
25036         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25037           more docs inlined, splitted gstindex.{c,h}
25038
25039 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25040
25041         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25042           fix a leak
25043
25044 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25045
25046         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25047           Set sync to FALSE by default.
25048
25049 2005-09-20  Wim Taymans  <wim@fluendo.com>
25050
25051         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25052         (gst_base_sink_init):
25053         Make sync property settable from subclass.
25054
25055         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25056         (gst_fake_sink_change_state):
25057         Set sync to FALSE by default.
25058
25059 2005-09-20  Wim Taymans  <wim@fluendo.com>
25060
25061         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25062         * tools/gst-launch.c: (main):
25063         The timeout handler should have lower priority than the source
25064         so we don't timeout before popping a message with 0 timeout.
25065         Dump error messages after failed state change.
25066
25067 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25068
25069         * tools/gst-inspect.c: (print_element_properties_info):
25070           Fix two typos.
25071
25072 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25073
25074         * check/gst/gstevent.c:
25075         * gst/elements/gstfakesink.c:
25076         * gst/elements/gstfakesink.h:
25077           remove the sync property from fakesink.
25078           has the side effect of setting sync TRUE
25079           for fakesink, which is a change.  Anyone who knows how
25080           to fix this nicely in a GObject-y way, feel free.
25081
25082 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25083
25084         * docs/gst/gstreamer-docs.sgml:
25085           remove probe refsection
25086
25087 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25088
25089         * check/Makefile.am:
25090           disable valgrinding the controller test again
25091         * docs/gst/gstreamer-sections.txt:
25092           update for api-changes
25093
25094 2005-09-20  Wim Taymans  <wim@fluendo.com>
25095
25096         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25097         (gst_base_sink_set_property), (gst_base_sink_get_property),
25098         (gst_base_sink_do_sync):
25099         * gst/base/gstbasesink.h:
25100         Added sync property to basesink to disable clock sync.
25101
25102 2005-09-20  Andy Wingo  <wingo@pobox.com>
25103
25104         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25105         eating the caller's refcount.
25106
25107         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25108         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25109         refcount.
25110
25111         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25112         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25113         of GLib 2.8 public, so we can know which refcount to check in
25114         tests.
25115
25116         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25117         (gst_object_init): Only set the gst refcount if we're going ahead
25118         with the refcount hack.
25119
25120 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25121
25122         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25123         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25124           more leaks plumbed, added more debug-logging
25125         * gst/gstmacros.h:
25126           whitespace fix
25127
25128 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25129
25130         * gst/gstmessage.c:
25131           remove include of gstmemchunk.h
25132
25133 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25134
25135         * gst/gstclock.c: (_gst_clock_id_free):
25136           Commit from the Political Party For More Atomic CVS Commits,
25137           so that people don't waste too much of their day fishing
25138           out obvious leaks out of massive commits.
25139           Oh, and fix a pretty damn obvious leak in the memchunk
25140           removal code.
25141
25142 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25143
25144         * check/Makefile.am:
25145         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25146           plug mem-leak, re-add to valgrindable tests
25147
25148 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25149
25150         * gst/gstplugin.h:
25151           unbreak the build for those who have chronic arthritis
25152           and typing "make check" is just too taxing on the hands
25153
25154 2005-09-20  Andy Wingo  <wingo@pobox.com>
25155
25156         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25157         really want it out, you should fix plugins at the same time.
25158
25159 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25160
25161         * configure.ac:
25162         * docs/gst/gstreamer-sections.txt:
25163         * gst/gstobject.c:
25164           added missing symbols to api docs
25165           disable ref-count hack if we have glib >= 2.8
25166
25167 2005-09-19  David Schleef  <ds@schleef.org>
25168
25169         * docs/gst/Makefile.am: Ignore a few more internal headers
25170         * docs/gst/gstreamer-docs.sgml: Remove old sections
25171         * docs/gst/gstreamer-sections.txt: Remove old sections
25172         * docs/gst/tmpl/gstobject.sgml: update
25173         * docs/gst/tmpl/gstplugin.sgml: update
25174         * docs/gst/tmpl/gstpluginfeature.sgml: update
25175         * docs/random/ds/0.9-suggested-changes: update.
25176         * gst/Makefile.am: remove memchunk and trashstack, since they're
25177           not used.
25178         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25179         * gst/gst.h: don't include some headers
25180         * gst/gstchildproxy.c: add gstmarshal.h
25181         * gst/gstclock.c: Don't use memchunks
25182         * gst/gstminiobject.c: Add some docs
25183         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25184         * gst/gstobject.h: same
25185         * gst/gstplugin.c: include gstmacros.h
25186         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25187         * gst/gstquery.c: don't use memchunks
25188         * gst/gstregistry.c: rename gst_registry_deinit()
25189         * gst/gstregistry.h: same
25190
25191 2005-09-19  David Schleef  <ds@schleef.org>
25192
25193         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25194         * docs/libs/gstreamer-libs-sections.txt:
25195         * docs/libs/tmpl/gstgetbits.sgml:
25196         * docs/libs/tmpl/gstputbits.sgml:
25197
25198 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25199
25200         * win32/gstenumtypes.c:
25201         * win32/gstenumtypes.h:
25202           Update.
25203
25204 2005-09-19  Wim Taymans  <wim@fluendo.com>
25205
25206         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25207         Automatically PAUSE and RESUME a pipeline when a flushing seek
25208         is performed.
25209
25210 2005-09-19  Andy Wingo  <wingo@pobox.com>
25211
25212         * gst/gstregistry.h: Spacing fixen.
25213
25214 2005-09-19  Wim Taymans  <wim@fluendo.com>
25215
25216         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25217         Handle state change failure more correctly.
25218
25219 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25220
25221         * check/Makefile.am:
25222         * check/pipelines/cleanup.c: (run_pipeline):
25223         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25224         (GST_START_TEST):
25225           enable cleanup again after fixing the leak
25226         * docs/README:
25227           some more info on docs
25228
25229 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25230
25231         * check/Makefile.am:
25232           re-enable tests now that leaks are plugged
25233         * check/gst/gst.c:
25234         * check/gst/gstbin.c:
25235         * check/gst/gstpipeline.c:
25236           add some more tests while fixing leaks
25237         * common/check.mak:
25238           make sure binaries are uptodate when valgrinding/gdbing
25239         * gst/gst.c:
25240         * gst/gstelementfactory.c:
25241           remove a ref too many, and add a FIXME for when we get
25242           round to disposing of classes
25243         * gst/gstplugin.c:
25244           fix the refcounting when loading a plugin from a file and
25245           the code pretends that the pointer is the same even though
25246           of course it can change
25247         * gst/gstpluginfeature.c:
25248           unref plugins marked cached (a bit confusing as a name)
25249           as the docs state should be done
25250           various doc additions to explain refcounting
25251         * gst/gstregistry.c:
25252         * gst/gstregistryxml.c:
25253           debugging
25254
25255 2005-09-19  Wim Taymans  <wim@fluendo.com>
25256
25257         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25258         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25259         (send_messages), (GST_START_TEST), (gstbus_suite):
25260         * check/gst/gstpipeline.c: (GST_START_TEST):
25261         * check/pipelines/cleanup.c: (run_pipeline):
25262         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25263         (GST_START_TEST):
25264         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25265         (gst_bus_source_check), (gst_bus_source_dispatch),
25266         (gst_bus_create_watch), (gst_bus_add_watch_full),
25267         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25268         * gst/gstbus.h:
25269         * tools/gst-launch.c: (event_loop):
25270         * tools/gst-md5sum.c: (event_loop):
25271         GstBusHandler -> GstBusFunc, return value has the same meaning as
25272         any other GSource (FALSE == remove source).
25273         _add_watch() and _add_watch_full() now take a MessageType mask to
25274         only handle specific types of messages.
25275         _poll() returns the GstMessage instead of the message type to avoid
25276         race conditions.
25277         _have_pending() takes a MessageType mask now too.
25278         Added testsuite for multiple bus watches.
25279         Fix testsuites and applications for new bus API.
25280
25281 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25282
25283         * check/Makefile.am:
25284           mark a bunch of the tests as to fix until we fix them
25285
25286 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25287
25288         * common/check.mak:
25289           use GST_PLUGIN settings for valgrind tests as well, so we're
25290           valgrinding the correct thing
25291         * gst/gst.c: (init_post):
25292           plug another leak
25293
25294 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25295
25296         * gst/gst.c: (init_post), (gst_deinit):
25297         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25298         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25299         * gst/gstindex.c: (gst_index_factory_class_init),
25300         (gst_index_factory_finalize):
25301         * gst/gstobject.c: (gst_object_dispose):
25302         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25303         (gst_plugin_load_file), (gst_plugin_desc_free):
25304         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25305         (gst_plugin_feature_finalize):
25306         * gst/gstregistry.c: (gst_registry_class_init),
25307         (gst_registry_init), (gst_registry_finalize),
25308         (gst_registry_get_default), (gst_registry_deinit):
25309         * gst/gstregistry.h:
25310         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25311           various cleanups and memleak plugging.  make valgrind is happy now.
25312
25313 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25314
25315         * common/check.mak:
25316           add a check-valgrind target
25317
25318 2005-09-18  David Schleef  <ds@schleef.org>
25319
25320         * tools/gst-inspect.c: Revert the GOption code.
25321
25322 2005-09-17  David Schleef  <ds@schleef.org>
25323
25324         * check/Makefile.am: Fix environment variables.
25325         * check/gst/gstplugin.c: Fix for API changes.
25326         * tools/gst-inspect.c: Fix for API changes.
25327         * tools/gst-xmlinspect.c: Fix for API changes.
25328         * gst/gstelementfactory.c:
25329         * gst/gstplugin.c:
25330         * gst/gstplugin.h:
25331         * gst/gstpluginfeature.c:
25332         * gst/gstpluginfeature.h:
25333         * gst/gstregistry.c:
25334         * gst/gstregistry.h:
25335         * gst/gstregistryxml.c:
25336         * gst/gsttypefind.c:
25337         * gst/gsttypefindfactory.c:
25338         * gst/indexers/gstfileindex.c:
25339         * gst/indexers/gstmemindex.c:
25340         * gst/schedulers/Makefile.am:
25341           Change registry to keep track of both plugins and features,
25342           removing the feature tracking from plugins themselves.
25343
25344 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25345
25346         * check/Makefile.am:
25347         * tools/gst-register.1.in:
25348           remove gst-register
25349
25350 2005-09-15  David Schleef  <ds@schleef.org>
25351
25352         * check/gst/gstplugin.c:
25353         * gst/gstelementfactory.c:
25354         * gst/gstplugin.c:
25355         * gst/gstpluginfeature.c:
25356         * gst/gstregistry.c:
25357           Getting tired of debugging.  Disabled all the unreffing of
25358           plugins and features, which fixes the segfaults, but of
25359           course leaks like crazy.  At least playbin works.
25360
25361 2005-09-15  David Schleef  <ds@schleef.org>
25362
25363         * check/gst/gstplugin.c: (register_check_elements),
25364         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25365         More testing
25366         * gst/elements/gsttypefindelement.c: Fix refcounting.
25367         * gst/gsttypefind.c:
25368         * gst/gsttypefindfactory.c:
25369         * gst/gsttypefindfactory.h:
25370
25371 2005-09-15  David Schleef  <ds@schleef.org>
25372
25373         * gst/gstindex.c: get refcounting correct.
25374         * gst/gstregistry.c: Handle the case where a feature/plugin is
25375           not found.
25376
25377 2005-09-15  David Schleef  <ds@schleef.org>
25378
25379         * check/Makefile.am:
25380         * check/gst/gstplugin.c: Add test
25381         * gst/gstplugin.c: Fix problems noticed by testsuite
25382         * gst/gstplugin.h:
25383         * gst/gstregistry.c: 
25384         * gst/gstregistry.h:
25385
25386 2005-09-15  David Schleef  <ds@schleef.org>
25387
25388         * gst/gstplugin.c: Implement semi-decent recounting and locking
25389           in plugins and plugin features.
25390         * gst/gstplugin.h:
25391         * gst/gstpluginfeature.c:
25392         * gst/gstpluginfeature.h:
25393         * gst/gstregistry.c:
25394
25395 2005-09-15  Michael Smith <msmith@fluendo.com>
25396
25397         * gst/gstregistry.c: (gst_registry_get_feature_list):
25398           Implement this. Makes oggdemux work; decodebin still broken.
25399
25400 2005-09-14  David Schleef  <ds@schleef.org>
25401
25402         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25403           #316076)
25404         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25405         * gst/check/Makefile.am:
25406         * libs/gst/controller/Makefile.am:
25407         * libs/gst/dataprotocol/Makefile.am:
25408
25409 2005-09-14  David Schleef  <ds@schleef.org>
25410
25411         * configure.ac: Remove getbits library.  Nothing uses it, and
25412           it should be in something like liboil if someone did want
25413           to use it.
25414         * libs/gst/Makefile.am:
25415         * libs/gst/getbits/Makefile.am:
25416         * libs/gst/getbits/gbtest.c:
25417         * libs/gst/getbits/getbits.c:
25418         * libs/gst/getbits/getbits.h:
25419         * libs/gst/getbits/gstgetbits_generic.c:
25420         * libs/gst/getbits/gstgetbits_i386.s:
25421         * libs/gst/getbits/gstgetbits_inl.h:
25422
25423 2005-09-14  David Schleef  <ds@schleef.org>
25424
25425         * gst/Makefile.am: Dist glib-compat.h
25426
25427 2005-09-14  David Schleef  <ds@schleef.org>
25428
25429         * configure.ac: Remove gst/registries, since it's no longer used.
25430         * gst/registries/Makefile.am:
25431         * gst/registries/gstlibxmlregistry.c:
25432         * gst/registries/gstlibxmlregistry.h:
25433         * gst/registries/gstxmlregistry.c:
25434         * gst/registries/gstxmlregistry.h:
25435         * gst/registries/registrytest.c:
25436
25437 2005-09-14  David Schleef  <ds@schleef.org>
25438
25439         * gst/glib-compat.h:
25440         * gst/gstregistryxml.c:
25441           Convergence is near.  Seriously.
25442
25443 2005-09-14  David Schleef  <ds@schleef.org>
25444
25445         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25446         * gst/glib-compat.h:
25447           Attempt #4 to appease the buildbots.
25448
25449 2005-09-14  David Schleef  <ds@schleef.org>
25450
25451         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25452           Attempt #3.
25453
25454 2005-09-14  David Schleef  <ds@schleef.org>
25455
25456         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25457         Attempt #2.
25458
25459 2005-09-14  David Schleef  <ds@schleef.org>
25460
25461         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25462           the new functions.
25463
25464 2005-09-14  David Schleef  <ds@schleef.org>
25465
25466         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25467         * gst/glib-compat.h: Add some functions that are in newer versions
25468           of glib than we care to require.
25469         * gst/gstregistryxml.c: Use them.
25470
25471 2005-09-14  David Schleef  <ds@schleef.org>
25472
25473         * po/POTFILES.in: remove gst-register.c
25474
25475 2005-09-14  David Schleef  <ds@schleef.org>
25476
25477         * docs/gst/gstreamer-docs.sgml:
25478         * docs/gst/gstreamer-sections.txt:
25479         * docs/gst/gstreamer.types:
25480         * docs/gst/tmpl/gstelement.sgml:
25481         * docs/gst/tmpl/gstplugin.sgml:
25482         * docs/gst/tmpl/gstpluginfeature.sgml:
25483           Documentation updates for registry changes.
25484
25485 2005-09-14  David Schleef  <ds@schleef.org>
25486
25487         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25488           because we don't require glib-2.8.
25489
25490 2005-09-14  David Schleef  <ds@schleef.org>
25491
25492         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25493           registries directory.
25494
25495 2005-09-14  David Schleef  <ds@schleef.org>
25496
25497         * check/Makefile.am:
25498         * check/generic/states.c:
25499         * gst/Makefile.am:
25500         * gst/gst.c:
25501         * gst/gst.h:
25502         * gst/gst_private.h:
25503         * gst/gstelementfactory.c:
25504         * gst/gstindex.c:
25505         * gst/gstinfo.c:
25506         * gst/gstplugin.c:
25507         * gst/gstplugin.h:
25508         * gst/gstpluginfeature.c:
25509         * gst/gstpluginfeature.h:
25510         * gst/gstregistry.c:
25511         * gst/gstregistry.h:
25512         * gst/gstregistrypool.c: remove
25513         * gst/gstregistrypool.h: remove
25514         * gst/gsttypefind.c:
25515         * gst/gsttypefindfactory.c:
25516         * gst/gsturi.c:
25517         * tools/Makefile.am:
25518         * tools/gst-compprep.c:
25519         * tools/gst-inspect.c:
25520         * tools/gst-register.c: remove
25521         * tools/gst-xmlinspect.c:
25522           Registry rewrite.  Changes registry from being a file created
25523           by a tool into a simple cache file created automatically by 
25524           libgstreamer.  Removed gst-register (because it's no longer
25525           needed).  Remove registry pools, because we only have one
25526           registry implementation (XML).  Fix up other subsystems as
25527           necessary.
25528
25529 2005-09-13  Michael Smith <msmith@fluendo.com>
25530
25531         * gst/gstconfig.h.in:
25532           Don't Use windows linking attributes for MinGW. Fixes #316157
25533
25534 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25535
25536         * gst/gstutils.c: (set_state_async_thread_func),
25537         (gst_element_set_state_async):
25538           Apparently people think it's better if this function doesn't
25539           try to set the state to whatever state was asked for on the first
25540           call to this function for any object.  Seriously.
25541
25542 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25543
25544         * check/gst/gstpipeline.c: (GST_START_TEST):
25545         * docs/gst/gstreamer-sections.txt:
25546         * gst/gstutils.c: (set_state_async_thread_func),
25547         (gst_element_set_state_async):
25548         * gst/gstutils.h:
25549           add a "gst_element_set_state_async" method that
25550           sets the state and starts a thread to make sure the state
25551           change completes as best as it can
25552
25553 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25554
25555         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25556           codify design+behaviour in testsuite after discussion
25557
25558 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25559
25560         * docs/gst/tmpl/gstelement.sgml:
25561         * docs/manual/appendix-quotes.xml:
25562           add a quote
25563         * gst/gstelement.c: (gst_element_set_state):
25564           add some debug
25565
25566 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25567
25568         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25569         (gst_base_transform_prepare_output_buf),
25570         (gst_base_transform_handle_buffer):
25571         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25572         (gst_capsfilter_prepare_buf):
25573           Remove the requirement for sub-classes to call the parent
25574           implementation of prepare_output_buffer with a wrapper function.
25575           
25576         * gst/gsttaglist.h:
25577         * gst/gsttagsetter.h:
25578           Fix #define wrapper
25579
25580 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25581
25582         * docs/gst/gstreamer-sections.txt:
25583           more doc cleanups
25584
25585 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25586
25587         * docs/gst/gstreamer-sections.txt:
25588         * docs/gst/tmpl/gstelement.sgml:
25589         * docs/gst/tmpl/gstplugin.sgml:
25590         * gst/gstminiobject.c:
25591         * gst/gstvalue.h:
25592           docs now stop throwing warnings
25593
25594 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25595
25596         * docs/gst/gstreamer-sections.txt:
25597         * docs/gst/gstreamer.types:
25598         * docs/gst/tmpl/gstpad.sgml:
25599         * docs/gst/tmpl/gsttypes.sgml:
25600         * gst/base/gstadapter.h:
25601         * gst/base/gstbasesink.h:
25602         * gst/base/gstbasesrc.h:
25603         * gst/gstbin.h:
25604         * gst/gstbuffer.h:
25605         * gst/gstbus.h:
25606         * gst/gstcaps.h:
25607         * gst/gstclock.h:
25608         * gst/gstelement.h:
25609         * gst/gstevent.h:
25610         * gst/gstmessage.h:
25611         * gst/gstpad.h:
25612         * gst/gststructure.c:
25613         * gst/registries/gstlibxmlregistry.h:
25614           various documentation fixes
25615
25616 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25617
25618         * docs/gst/gstreamer-sections.txt:
25619         * docs/gst/tmpl/gstvalue.sgml:
25620           rearrange gstvalue section
25621         * gst/gstutils.c: (gst_element_state_get_name):
25622           NONE -> VOID
25623         * gst/gstvalue.c: (_gst_value_initialize):
25624         * gst/gstvalue.h:
25625           doc updates
25626
25627 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25628
25629         * check/gst-libs/controller.c:
25630           Header include fix.
25631         * gst/base/gstbasetransform.c:
25632         (gst_base_transform_default_prepare_buf),
25633         (gst_base_transform_handle_buffer):
25634         * gst/base/gstbasetransform.h:
25635           Some more basetransform changes and fixes to enable sub-classes
25636           that modify buffer metadata only.
25637         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25638         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25639         (gst_capsfilter_prepare_buf):
25640           If the output pad has fixed allowed caps and input buffers 
25641           don't have any, set the fixed caps on outgoing buffers.
25642
25643 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25644         * check/elements/identity.c: (GST_START_TEST):
25645           Make the error a little clearer when the test fails because
25646           identity made a copy of the buffer.
25647         * docs/gst/gstreamer-sections.txt:
25648           New symbols in gstbasetransform.h
25649         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25650         (gst_base_transform_init), (gst_base_transform_transform_size),
25651         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25652         (gst_base_transform_default_prepare_buf),
25653         (gst_base_transform_get_unit_size),
25654         (gst_base_transform_buffer_alloc),
25655         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25656         (gst_base_transform_change_state),
25657         (gst_base_transform_set_passthrough),
25658         (gst_base_transform_set_in_place),
25659         (gst_base_transform_is_in_place):
25660         * gst/base/gstbasetransform.h:
25661           Change BaseTransform to separate in_place operate from same_caps
25662           output. in_place implies that the element can perform the transform
25663           on incoming buffers in-place, even if the caps on the output are
25664           different.
25665           Sub-class elements can now implement special buffer allocation
25666           methods for outgoing buffers if they wish to.
25667           Big documentation addition.
25668         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25669         * gst/elements/gstelements.c:
25670           Changes for basetransform modifications.
25671         * gst/elements/Makefile.am:
25672         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25673           Compile fix. Extra debug output.
25674
25675 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25676
25677         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25678         (gst_pad_suite):
25679           add tests for valid pad naming
25680         * gst/check/gstcheck.c: (gst_check_log_message_func),
25681         (gst_check_log_critical_func):
25682           add ASSERT_WARNING
25683           remove printing of code, it is fragile when the code contains
25684           % and the line number is enough info
25685         * gst/check/gstcheck.h:
25686         * gst/gstpad.c: (gst_pad_template_new):
25687           fix memleaks
25688
25689 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25690
25691         * configure.ac:
25692           say what CHECK flags we use
25693         * docs/libs/gstreamer-libs.types:
25694         * libs/gst/controller/Makefile.am:
25695         * libs/gst/controller/gst-controller.c:
25696         * libs/gst/controller/gst-controller.h:
25697         * libs/gst/controller/gst-helper.c:
25698         * libs/gst/controller/gst-interpolation.c:
25699         * libs/gst/controller/gstcontroller.c:
25700         * libs/gst/controller/gsthelper.c:
25701         * libs/gst/controller/gstinterpolation.c:
25702         * tools/gst-inspect.c: (print_plugin_info):
25703           we don't use dashes in header names
25704
25705 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25706
25707         * check/Makefile.am:
25708         * check/gst/.cvsignore:
25709         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25710         (gst_pipeline_suite), (main):
25711           adding a test for pipelines and state changes
25712         * gst/gstutils.c: (get_state_func):
25713           add some debugging
25714         * gstreamer.spec.in:
25715           fix up spec file
25716
25717 2005-09-08  Michael Smith <msmith@fluendo.com>
25718
25719         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25720         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25721         (gst_file_src_is_seekable), (gst_file_src_get_size),
25722         (gst_file_src_start):
25723         * gst/elements/gstfilesrc.h:
25724           Various fixes for unseekable, unmmapable, and non-normal files, so
25725           that fallback to read() rather than mmap() works.
25726         * gst/gstevent.c: (gst_event_new_newsegment):
25727           Allow newsegment events with segment_start == segment_end, as will
25728           correctly happen if you use filesrc on a zero-size file, for
25729           example.
25730
25731 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25732
25733         * gst/gstplugin.c: (gst_plugin_load_file):
25734           Call g_module_close when we don't load the module
25735
25736         * gst/registries/gstlibxmlregistry.c:
25737         (gst_xml_registry_get_property):
25738           Port leak fix from 0.8
25739
25740 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25741
25742         * docs/gst/gstreamer-docs.sgml:
25743         * docs/gst/tmpl/.cvsignore:
25744         * docs/gst/tmpl/gsttrace.sgml:
25745         * docs/gst/tmpl/gsttrashstack.sgml:
25746         * gst/Makefile.am:
25747         * gst/gst.h:
25748         * gst/gstelement.h:
25749         * gst/gstevent.h:
25750         * gst/gstmessage.c:
25751         * gst/gstmessage.h:
25752         * gst/gsttag.c:
25753         * gst/gsttag.h:
25754         * gst/gsttaginterface.c:
25755         * gst/gsttaginterface.h:
25756         * gst/gsttaglist.c:
25757         * gst/gsttaglist.h:
25758         * gst/gsttagsetter.c:
25759         * gst/gsttagsetter.h:
25760         * gst/gsttrace.c:
25761         * gst/gsttrace.h:
25762         * gst/gsttrashstack.c:
25763           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25764           inlined docs for gsttrace, gsttrashstack
25765
25766 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25767
25768         * gst/Makefile.am:
25769         * gst/elements/gstbufferstore.h:
25770         * gst/elements/gsttypefindelement.c:
25771         * gst/elements/gsttypefindelement.h:
25772         * gst/gst.h:
25773         * gst/gsttypefind.c:
25774         * gst/gsttypefind.h:
25775         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25776         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25777         (gst_type_find_factory_dispose),
25778         (gst_type_find_factory_unload_thyself),
25779         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25780         (gst_type_find_factory_get_caps),
25781         (gst_type_find_factory_get_extensions),
25782         (gst_type_find_factory_call_function):
25783         * gst/gsttypefindfactory.h:
25784         * gst/registries/gstlibxmlregistry.c:
25785         * gst/registries/gstxmlregistry.c:
25786           splitted gsttypefind into gsttypefind, gsttypefindfactory
25787
25788 2005-09-07  Andy Wingo  <wingo@pobox.com>
25789
25790         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25791         condition whereby the pad's task function is entered before the
25792         pad_mode variable was set.
25793
25794 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25795
25796         * gst/gstpad.c: (gst_pad_alloc_buffer):
25797           Catch misbehaving pad_alloc functions that don't
25798           set up caps and do it for them.
25799
25800 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25801
25802         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25803           test for pipe!=NULL
25804         * docs/gst/tmpl/.cvsignore:
25805         * docs/gst/tmpl/gstmemchunk.sgml:
25806         * docs/gst/tmpl/gstparse.sgml:
25807         * docs/gst/tmpl/gsttaglist.sgml:
25808         * docs/gst/tmpl/gsttagsetter.sgml:
25809         * docs/gst/tmpl/gsttypefind.sgml:
25810         * docs/gst/tmpl/gsttypefindfactory.sgml:
25811         * gst/gstmemchunk.c:
25812         * gst/gstparse.c:
25813         * gst/gsttag.c:
25814         * gst/gsttaginterface.c:
25815         * gst/gsttypefind.c:
25816         * gst/gsttypefind.h:
25817           inlined more docs
25818
25819 === release 0.9.2 ===
25820
25821 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25822
25823         * NEWS:
25824         * RELEASE:
25825         * configure.ac:
25826           releasing 0.9.2, "South"
25827
25828 2005-09-05  Andy Wingo  <wingo@pobox.com>
25829
25830         * gst/registries/gstxmlregistry.h:
25831         * gst/registries/gstxmlregistry.c: Um... resurrect...
25832         
25833         * gst/registries/gstxmlregistry.h:
25834         * gst/registries/gstxmlregistry.c: and update to newer API.
25835         Incidentally they should be a bit faster now that they don't have
25836         to parse the caps.
25837         
25838 2005-09-05  Andy Wingo  <wingo@pobox.com>
25839
25840         * gst/registries/gstxmlregistry.h:
25841         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25842         replaced by the libxml registry a while back
25843
25844 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25845
25846         * docs/gst/tmpl/gstplugin.sgml:
25847         * gst/elements/gstelements.c:
25848         * gst/gst.c:
25849         * gst/gstplugin.c: (gst_plugin_register_func),
25850         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25851         (gst_plugin_get_source):
25852         * gst/gstplugin.h:
25853         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25854         (gst_xml_registry_save_plugin):
25855         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25856         (gst_xml_registry_save_plugin):
25857         * tools/gst-inspect.c: (print_plugin_info):
25858           add a "source" plugin description field, to represent the source
25859           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25860           will set it to PACKAGE, which is automake's idea of the name of
25861           the source project.
25862
25863 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25864
25865         * Makefile.am:
25866         * autogen.sh:
25867         * configure.ac:
25868         * docs/Makefile.am:
25869         * docs/faq/Makefile.am:
25870         * docs/gst/tmpl/gstelement.sgml:
25871         * docs/gst/tmpl/gsttypes.sgml:
25872         * docs/htmlinstall.mak:
25873         * docs/manual/Makefile.am:
25874         * docs/pwg/Makefile.am:
25875           reorganize doc build a little
25876           split out docbook and gtk-doc stuff
25877           have two separate --enable's and enable them through autogen
25878           but disable by default in configure (to be similar to other
25879           projects)
25880         * gstreamer.spec.in:
25881           clean up docs install
25882         * po/af.po:
25883         * po/az.po:
25884         * po/ca.po:
25885         * po/cs.po:
25886         * po/de.po:
25887         * po/en_GB.po:
25888         * po/fr.po:
25889         * po/it.po:
25890         * po/nb.po:
25891         * po/nl.po:
25892         * po/ru.po:
25893         * po/sq.po:
25894         * po/sr.po:
25895         * po/sv.po:
25896         * po/tr.po:
25897         * po/uk.po:
25898         * po/vi.po:
25899           translation updates
25900
25901 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25902
25903         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25904           Add comment.
25905           
25906         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25907         (gst_fake_sink_change_state):
25908           Make state change function thread-safe.
25909           
25910         * gst/gstpad.c: (gst_pad_alloc_buffer):
25911           Set offset on generic buffer allocated by fallback.
25912
25913 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25914
25915         * docs/gst/gstreamer-sections.txt:
25916         * docs/gst/tmpl/gstelement.sgml:
25917         * gst/gstpad.c:
25918         * libs/gst/controller/gst-controller.c:
25919         (gst_controlled_property_set_interpolation_mode),
25920         (gst_controlled_property_new),
25921         (gst_controller_find_controlled_property):
25922          run the wingo-magic script against the docs
25923
25924 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25925
25926         * docs/gst/gstreamer-docs.sgml:
25927         * docs/gst/gstreamer-sections.txt:
25928         * docs/gst/tmpl/.cvsignore:
25929         * docs/gst/tmpl/gstelementdetails.sgml:
25930         * docs/gst/tmpl/gstelementfactory.sgml:
25931         * gst/gst.c:
25932         * gst/gstbus.c:
25933         * gst/gstelementfactory.c:
25934         * gst/gstelementfactory.h:
25935           merged elementdetails docs into elementfactory docs
25936           inlined both
25937
25938 2005-09-02  Andy Wingo  <wingo@pobox.com>
25939
25940         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
25941         consider this enum an enum and not a flags.
25942
25943 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25944
25945         * docs/gst/gstreamer-docs.sgml:
25946         * docs/gst/tmpl/.cvsignore:
25947         * docs/gst/tmpl/gstghostpad.sgml:
25948         * docs/gst/tmpl/gstiterator.sgml:
25949         * docs/gst/tmpl/gstmacros.sgml:
25950         * docs/gst/tmpl/gstrealpad.sgml:
25951         * docs/gst/tmpl/gstregistry.sgml:
25952         * docs/gst/tmpl/gstregistrypool.sgml:
25953         * docs/gst/tmpl/gststructure.sgml:
25954         * docs/gst/tmpl/gstsystemclock.sgml:
25955         * docs/gst/tmpl/gsttrace.sgml:
25956         * gst/gstghostpad.c:
25957         * gst/gstmacros.h:
25958         * gst/gstmemchunk.c:
25959         * gst/gstmemchunk.h:
25960         * gst/gstqueue.c:
25961         * gst/gstregistry.c:
25962         * gst/gstregistrypool.c:
25963         * gst/gststructure.c:
25964         * gst/gstsystemclock.c:
25965           more docs inlined
25966
25967 2005-09-02  Andy Wingo  <wingo@pobox.com>
25968
25969         * gst/gstelement.h (GstState): Renamed from GstElementState,
25970         changed to be a normal enum instead of flags.
25971         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
25972         munged to be GST_STATE_CHANGE_*.
25973         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
25974         work with the new state representation.
25975         (GstStateChange): New enumeration of possible state transitions.
25976         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
25977         (GstElementClass::change_state): Pass the GstStateChange along as
25978         an argument. Helps language bindings, so they don't have to use
25979         tricky lock-needing macros like GST_STATE_CHANGE ().
25980
25981         * scripts/update-states (file): New script. Run it on a file to
25982         update it for state naming and API changes. Updates files in
25983         place.
25984
25985         * All files updated for the new API.
25986
25987 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25988
25989         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
25990         * gst/gstutils.c: (gst_util_set_value_from_string),
25991         (gst_util_set_object_arg):
25992           fix a bunch of unchecked return values
25993         * tools/gst-complete.c: (main):
25994         * gstreamer.spec.in:
25995           clean up a little
25996
25997 2005-09-01  Wim Taymans  <wim@fluendo.com>
25998
25999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26000         (gst_base_sink_event), (gst_base_sink_do_sync),
26001         (gst_base_sink_handle_event):
26002         * gst/base/gstbasesink.h:
26003         Handle newsegments more correctly.
26004
26005         * gst/gstbus.c:
26006         Fix docs.
26007
26008         * gst/gstevent.c: (gst_event_new_newsegment):
26009         A newsegment cannot have a start_time of -1
26010
26011 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26012
26013         * win32/gstenumtypes.c:
26014         * win32/gstenumtypes.h:
26015           Update
26016
26017 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26018
26019         * libs/gst/controller/gst-controller.c:
26020         (gst_controlled_property_set_interpolation_mode),
26021         (gst_controlled_property_new):
26022          fixed boolean again
26023
26024 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26025
26026         * docs/faq/gst-uninstalled:
26027           add -good
26028         * gst/gstevent.c:
26029         * gst/gstevent.h:
26030           remove wrong docs
26031         * gst/gstutils.c: (gst_element_link_filtered):
26032         * gst/gstutils.h:
26033           add gst_element_link_filtered
26034
26035 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26036
26037         * docs/gst/gstreamer-docs.sgml:
26038         * docs/gst/gstreamer-sections.txt:
26039         * docs/gst/tmpl/.cvsignore:
26040         * docs/gst/tmpl/gsterror.sgml:
26041         * docs/gst/tmpl/gstfilter.sgml:
26042         * docs/gst/tmpl/gsturihandler.sgml:
26043         * docs/gst/tmpl/gsturitype.sgml:
26044         * docs/gst/tmpl/gstutils.sgml:
26045         * docs/gst/tmpl/gstxml.sgml:
26046         * gst/gsterror.c:
26047         * gst/gsterror.h:
26048         * gst/gstfilter.c:
26049         * gst/gsturi.c:
26050         * gst/gsturitype.c:
26051         * gst/gstutils.c:
26052         * gst/gstxml.c:
26053           inlined more docs, fixed double id-ref
26054
26055 2005-08-31  Wim Taymans  <wim@fluendo.com>
26056
26057         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26058         (gst_base_transform_handle_buffer):
26059         Passthrough elements don't need the caps as they don't care.
26060
26061 2005-08-31  Wim Taymans  <wim@fluendo.com>
26062
26063         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26064         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26065         Don't leak refcounts on buffers.
26066
26067 2005-08-31  Wim Taymans  <wim@fluendo.com>
26068
26069         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26070         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26071         (gst_base_transform_chain), (gst_base_transform_change_state):
26072         * gst/base/gstbasetransform.h:
26073         Handle the case where we are not negotiated more gracefully.
26074
26075 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26076
26077         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26078         (gst_file_src_map_region):
26079           Set READONLY flag on mmap'ed buffers, otherwise
26080           gst_buffer_make_writable() won't work properly (#314708).
26081
26082 2005-08-31  Wim Taymans  <wim@fluendo.com>
26083
26084         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26085         passthrough elements can even do inplace on non writable
26086         buffers (as they don't touch them).
26087
26088 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26089
26090         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26091         (gst_test_mono_source_set_property),
26092         (gst_test_mono_source_class_init), (GST_START_TEST),
26093         (gst_controller_suite):
26094           more tests (hehe I have the most)
26095         * gst/gstbus.c:
26096           describe popping messages whenusing mulltiple sources
26097         * libs/gst/controller/gst-controller.c:
26098         (gst_controlled_property_set_interpolation_mode),
26099         (gst_controlled_property_new):
26100         * libs/gst/controller/gst-controller.h:
26101         * libs/gst/controller/gst-interpolation.c:
26102           implement boolean properties
26103
26104 2005-08-31  Wim Taymans  <wim@fluendo.com>
26105
26106         * gst/gstminiobject.c: (gst_mini_object_ref):
26107         Cannot assert that the refcount has to be positive
26108         since a disposed object can be resurrected.
26109
26110 2005-08-31  Wim Taymans  <wim@fluendo.com>
26111
26112         * gst/gstpad.c: (gst_pad_init):
26113         Revert change, need to first fix badly behaving 
26114         apps.
26115
26116 2005-08-30  Wim Taymans  <wim@fluendo.com>
26117
26118         * check/elements/fakesrc.c: (setup_fakesrc):
26119         * check/elements/identity.c: (setup_identity):
26120         Activate pads before using them.
26121
26122 2005-08-30  Wim Taymans  <wim@fluendo.com>
26123
26124         * gst/base/gstadapter.c: (gst_adapter_flush):
26125         Flushing out 0 bytes is ok for this function.
26126
26127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26128         no newsegment gives a warning and sets the start/stop to 
26129         invalid.
26130
26131         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26132         (gst_base_transform_set_passthrough):
26133         Some debug info.
26134
26135         * gst/gstminiobject.c: (gst_mini_object_ref):
26136         Check refcount here too.
26137
26138         * gst/gstpad.c: (gst_pad_init):
26139         Pads are initially flushing and refusing data.
26140
26141         * gst/gstutils.c: (gst_element_link_pads_filtered):
26142         When adding a capsfilter element make sure it has the
26143         same state as the parent bin.
26144
26145 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26146
26147         * docs/gst/tmpl/.cvsignore:
26148         * docs/gst/tmpl/gstformat.sgml:
26149         * docs/gst/tmpl/gstversion.sgml:
26150         * gst/gstbus.h:
26151         * gst/gstformat.c:
26152         * gst/gstformat.h:
26153         * gst/gstversion.h.in:
26154           more docs and two more inlined
26155
26156 2005-08-30  Wim Taymans  <wim@fluendo.com>
26157
26158         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26159         Don't sync to clock.
26160
26161 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26162
26163         * docs/gst/gstreamer-sections.txt:
26164           ultral33t func10ns deserve to appear in the docs actually
26165         * docs/gst/tmpl/.cvsignore:
26166         * docs/gst/tmpl/gstcompat.sgml:
26167         * docs/gst/tmpl/gstconfig.sgml:
26168         * gst/check/gstcheck.c:
26169         * gst/gstcompat.h:
26170         * gst/gstconfig.h.in:
26171           inlined more docs
26172
26173 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26174
26175         * docs/gst/tmpl/.cvsignore:
26176         * docs/gst/tmpl/gstquery.sgml:
26177         * docs/gst/tmpl/gstutils.sgml:
26178         * gst/gstquery.c:
26179         * gst/gstquery.h:
26180           inlined and extended docs
26181
26182 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26183
26184         * check/gst-libs/controller.c: (GST_START_TEST),
26185         (gst_controller_suite):
26186           more tests
26187         * docs/gst/tmpl/gstutils.sgml:
26188         * docs/libs/gstreamer-libs-sections.txt:
26189         * docs/libs/tmpl/gstdataprotocol.sgml:
26190           include path fixes
26191         * examples/controller/audio-example.c: (main):
26192           controller example works now
26193         * gst/gstclock.h:
26194           doc fixes
26195         * tools/gst-inspect.c: (print_element_properties_info):
26196           show param spec flags
26197
26198 2005-08-29  Andy Wingo  <wingo@pobox.com>
26199
26200         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26201
26202 2005-08-28  Andy Wingo  <wingo@pobox.com>
26203
26204         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26205         as having two arguments instead of just one. Allows superclasses
26206         to access information on subclasses -- see the terrible for() loop
26207         in gtype.c:g_type_create_instance for the reason why. All callers
26208         changed.
26209
26210 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26211
26212         * docs/design/part-messages.txt:
26213           update info
26214         * docs/gst/tmpl/.cvsignore:
26215         * docs/gst/tmpl/gstcaps.sgml:
26216         * docs/gst/tmpl/gstclock.sgml:
26217         * gst/gstbus.c:
26218         * gst/gstcaps.c:
26219         * gst/gstcaps.h:
26220         * gst/gstclock.c:
26221         * gst/gstclock.h:
26222         * gst/gstmessage.c:
26223           added descriptions for bus and message
26224           inline caps and clock docs
26225
26226 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26227
26228         * gst/gstmessage.c:
26229         * gst/gstmessage.h:
26230           doc fixes
26231
26232 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26233
26234         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26235           fix div-by-zero
26236
26237 2005-08-26  Andy Wingo  <wingo@pobox.com>
26238
26239         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26240         element_set_state's return val.
26241         (test_2_elements): Add test that's been disabled for months.
26242
26243         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26244         can-activate-pull properties.
26245
26246         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26247         can-activate-pull properties. Implement is_seekable so fakesrc can
26248         operate in pull mode.
26249
26250         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26251         properties.
26252         (gst_base_sink_activate, gst_base_sink_activate_pull)
26253         (gst_base_sink_activate_push): Make activation mode choosing work.
26254         Cleanups.
26255         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26256         is right. Make pull mode work. Post an eos before pausing in pull
26257         mode.
26258         (gst_base_sink_change_state): Pay attention to the core's
26259         change_state() return val.
26260         
26261         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26262         has-getrange properties. Cleanups.
26263         
26264         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26265         has_getrange and replace with can_activate_pull and
26266         can_activate_push.
26267
26268         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26269         locking comments. Remove has_loop, has_chain and replace with
26270         can_activate_pull and can_activate_push.
26271
26272 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26273
26274         * configure.ac:
26275         * examples/Makefile.am:
26276         * examples/metadata/Makefile.am:
26277         * examples/metadata/read-metadata.c: (message_loop),
26278         (have_pad_handler), (make_pipeline), (print_tag), (main):
26279           Add metadata reading example that loops over a list of filenames,
26280           dumping any tags found.
26281
26282         * gst/gstbus.c: (gst_bus_dispose):
26283         * gst/gstelement.c: (gst_element_dispose):
26284           Release a few potentially-held references in dispose.
26285
26286 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26287
26288         * docs/gst/tmpl/gstminiobject.sgml:
26289           do *not* add tmpl/*.sgml files to CVS!
26290
26291 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26292
26293         * libs/gst/bytestream/.cvsignore:
26294         * libs/gst/bytestream/Makefile.am:
26295         * libs/gst/bytestream/adapter.c:
26296         * libs/gst/bytestream/adapter.h:
26297         * libs/gst/bytestream/bytestream.c:
26298         * libs/gst/bytestream/bytestream.h:
26299         * libs/gst/bytestream/filepad.c:
26300         * libs/gst/bytestream/filepad.h:
26301           removing obsolete files
26302
26303 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26304
26305         * docs/gst/gstreamer-docs.sgml:
26306         * docs/libs/gstreamer-libs-docs.sgml:
26307           disabed additional index entries again, as this makes docs-gen just
26308           slow and they aren't useful yet
26309         * docs/libs/gstreamer-libs-sections.txt:
26310           little -section.txt cleanup for libs
26311
26312 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26313
26314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26315         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26316           fix up some debugging
26317         (gst_base_transform_get_unit_size),
26318         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26319         (gst_base_transform_handle_buffer):
26320         * gst/base/gstbasetransform.h:
26321           handle and store timed NEWSEGMENT events so that subclasses that
26322           calculate time by counting samples have a segment_start time they
26323           need to add to their timestamps - see audioresample
26324
26325 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26326
26327         * gst/gstbin.h:
26328           removed ';' from the end of macro defs
26329         * docs/gst/gstreamer-docs.sgml:
26330         * docs/gst/gstreamer-sections.txt:
26331         * docs/gst/tmpl/.cvsignore:
26332         * gst/gstbus.h:
26333         * gst/gstelement.c: (gst_element_class_init),
26334         (gst_element_set_state), (activate_pads),
26335         (gst_element_save_thyself):
26336         * gst/gstevent.c: (gst_event_new_newsegment):
26337         * gst/gstevent.h:
26338         * gst/gstiterator.c:
26339         * gst/gstiterator.h:
26340         * gst/gstpad.c:
26341         * gst/gstprobe.h:
26342         * gst/gstutils.c: (gst_pad_query_convert):
26343         * gst/gstutils.h:
26344           fixed parameter name mismatches between source, header and docs
26345           added some more docs, resolved the last batch of unused elements in
26346           docs (now someone needs to doc them)
26347
26348 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26349
26350         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26351         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26352           don't walk through the plugins backwards.  Where is all this
26353           reversed logic coming from ?
26354
26355 2005-08-25  Wim Taymans  <wim@fluendo.com>
26356
26357         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26358         (gst_base_transform_transform_size),
26359         (gst_base_transform_configure_caps),
26360         (gst_base_transform_get_unit_size),
26361         (gst_base_transform_buffer_alloc),
26362         (gst_base_transform_change_state):
26363         * gst/base/gstbasetransform.h:
26364         Cache caps unit_size.
26365         Make sure we cannot negotiate up and downstream at the
26366         same time.
26367
26368 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26369
26370         * gst/gst.c: (init_pre), (init_post):
26371           register the installed plugin path after the env var
26372         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26373         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26374           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26375           directories, so the tests can prefer uninstalled over installed
26376
26377 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26378
26379         * gst/base/gstbasetransform.h:
26380           comment
26381         * gst/gstpad.c:
26382           add to docs
26383
26384 2005-08-25  Wim Taymans  <wim@fluendo.com>
26385
26386         * gst/gstbin.c: (bin_bus_handler):
26387         Be a bit more conservative about the posted message.
26388         
26389         * gst/gstbus.c: (gst_bus_post):
26390         Some cleanups, warn wrong return values.
26391
26392 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26393
26394         * check/gst/gstbin.c: (GST_START_TEST):
26395         * gst/gstbin.c: (bin_bus_handler):
26396         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26397         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26398         (gst_message_new_warning), (gst_message_new_tag),
26399         (gst_message_new_state_changed), (gst_message_new_segment_start),
26400         (gst_message_new_segment_done), (gst_message_new_custom):
26401         * gst/gstmessage.h:
26402         * tools/gst-launch.c: (event_loop):
26403         * tools/gst-md5sum.c: (event_loop):
26404           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26405
26406 2005-08-25  Wim Taymans  <wim@fluendo.com>
26407
26408         * check/generic/states.c: (GST_START_TEST):
26409         Cleanup can be done at the end.
26410
26411         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26412         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26413         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26414         Oh boy.. Thanks for finding this, Thomas. 
26415
26416 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26417
26418         * docs/gst/gstreamer.types:
26419           added missing types
26420
26421 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26422
26423         * docs/gst/gstreamer-docs.sgml:
26424         * docs/gst/gstreamer-sections.txt:
26425         * docs/gst/tmpl/.cvsignore:
26426         * gst/gstbin.c:
26427         * gst/gstiterator.c:
26428         * gst/gstutils.c:
26429         * gst/registries/gstxmlregistry.h:
26430           added missing classes and symbols (123 more to go)
26431           removed removed symbols from section file
26432           fixed many doc-comments
26433
26434 2005-08-24  Wim Taymans  <wim@fluendo.com>
26435
26436         * check/generic/states.c: (GST_START_TEST):
26437         Make sure all tasks are stopped.
26438
26439         * check/gst/gstbin.c: (GST_START_TEST):
26440         Unref after usage for proper valgrinding.
26441
26442         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26443         Really wait for the task to stop before destroying the
26444         mutex.
26445
26446         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26447         (gst_queue_src_activate_push):
26448         Small cleanups. Don't stop the task when we did not start
26449         it.
26450
26451         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26452         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26453         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26454         (gst_task_join):
26455         * gst/gsttask.h:
26456         Protect the stream lock with the object lock.
26457         Disallow setting the stream lock when running.
26458         Add cleanup_all to wait for the threadpool to finish.
26459         Remove code to autoallocate a mutex if none was provided.
26460         Add _join() to wait for a task to stop.
26461         Protect the thread pool with a global lock.
26462
26463 2005-08-24  Wim Taymans  <wim@fluendo.com>
26464
26465         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26466         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26467         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26468         * gst/base/gstbasesink.h:
26469         Handle newsegment events correctly.
26470         Drop buffers out of the segment range.
26471
26472 2005-08-22  Andy Wingo  <wingo@pobox.com>
26473
26474         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26475         macro, implements an interface and gstimplementsinterface for a
26476         new type.
26477
26478 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26479
26480         * check/Makefile.am:
26481         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26482           add a test that does a bunch of state changes on elements
26483           needs some fixing for valgrind
26484         * check/states/sinks.c: (gst_object_suite):
26485           whitespace
26486         * gst/gstcaps.h:
26487           add prototype for gst_caps_is_equal_fixed
26488         * gst/gstplugin.c:
26489         * gst/gstregistrypool.c:
26490           doc fixes
26491
26492 2005-08-24  Andy Wingo  <wingo@pobox.com>
26493
26494         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26495         convert a negative value. Doesn't make much sense. Mostly this is
26496         here to force callers to ensure -1 maps to -1.
26497
26498 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26499
26500         * docs/pwg/advanced-types.xml:
26501           Well done to Michael for catching my deliberate introduction
26502           of this spelling mistake. 
26503         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26504         * gst/gstelement.h:
26505           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26506           unlink pads before removing the element from the bin.
26507
26508 2005-08-24  Andy Wingo  <wingo@pobox.com>
26509
26510         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26511         the same thing as GST_DEBUG=*:4.
26512         (parse_debug_level, parse_debug_category): New helper parsers.
26513
26514 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26515
26516         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26517         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26518         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26519         (gst_base_transform_buffer_alloc),
26520         (gst_base_transform_handle_buffer):
26521           use gboolean return values and pointers to size so we can use the
26522           full GST_BUFFER_SIZE range (guint) for buffer sizes
26523           use GstPadDirection for transform_caps
26524         * gst/base/gstbasetransform.h:
26525           rename get_size to get_unit_size since that's what it is
26526         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26527           use GstPadDirection for transform_caps
26528         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26529         * gst/gstutils.h:
26530           cleanup and debugging
26531
26532 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26533
26534         * gst/gstelement.c: (gst_element_class_init),
26535         (gst_element_set_state), (activate_pads),
26536         (gst_element_save_thyself):
26537         * tools/gst-compprep.c: (main):
26538         * tools/gst-inspect.c: (print_element_properties_info):
26539         * tools/gst-xmlinspect.c: (print_element_properties):
26540           Fixed long standing mem-leak
26541
26542 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26543
26544         * check/gst/gstbin.c: (GST_START_TEST):
26545         * gst/gstbin.c: (bin_bus_handler):
26546         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26547         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26548         (gst_message_new_warning), (gst_message_new_tag),
26549         (gst_message_new_state_changed), (gst_message_new_segment_start),
26550         (gst_message_new_segment_done), (gst_message_new_custom):
26551         * gst/gstmessage.h:
26552         * tools/gst-launch.c: (event_loop):
26553         * tools/gst-md5sum.c: (event_loop):
26554           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26555           that applications can sensibly post custom messages with references
26556           to their own objects.
26557
26558 2005-08-24  Andy Wingo  <wingo@pobox.com>
26559
26560         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26561         already.
26562
26563 2005-08-24  Wim Taymans  <wim@fluendo.com>
26564
26565         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26566         (gst_base_transform_transform_caps),
26567         (gst_base_transform_transform_size),
26568         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26569         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26570         (gst_base_transform_handle_buffer):
26571         * gst/base/gstbasetransform.h:
26572         Many fixes and new features added by Thomas. Can now also do
26573         transforms with variable sizes and a custom fixate_caps function.
26574
26575 2005-08-24  Wim Taymans  <wim@fluendo.com>
26576
26577         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26578         Some debugging.
26579
26580         * gst/gstclock.h:
26581         Cast to ClockTime before formatting to time.
26582
26583         * gst/gstutils.h:
26584         Cleanups.
26585
26586 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26587
26588         * check/gst-libs/controller.c: (GST_START_TEST),
26589         (gst_controller_suite):
26590         * docs/gst/tmpl/gstcaps.sgml:
26591         * docs/gst/tmpl/gstghostpad.sgml:
26592         * docs/gst/tmpl/gstquery.sgml:
26593         * docs/gst/tmpl/gstutils.sgml:
26594         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26595         (gst_object_sink_values), (gst_object_get_value_arrays),
26596         (gst_object_get_value_array):
26597           gracefully handle helper method calls to objects that are not beeing
26598           controlled, added test case for that          
26599
26600 2005-08-23  Wim Taymans  <wim@fluendo.com>
26601
26602         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26603         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26604         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26605         (gst_event_parse_qos), (gst_event_new_seek),
26606         (gst_event_parse_seek):
26607         * gst/gstevent.h:
26608         Some more debugging output and doc cleanups.
26609
26610         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26611         Fix possible deadlock.
26612
26613 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26614
26615         * docs/gst/gstreamer-docs.sgml:
26616         * docs/gst/gstreamer-sections.txt:
26617         * docs/gst/gstreamer.types:
26618         * docs/gst/tmpl/.cvsignore:
26619         * gst/gstbin.h:
26620         * gst/gstbus.c:
26621         * gst/gstelement.c:
26622         * gst/gstevent.h:
26623           added 100 symbols from gstreamer-unused.txt to the right sections
26624           fixed more broken comments
26625           added GstBus to docs
26626
26627 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26628
26629         * docs/gst/gstreamer-sections.txt:
26630         * docs/gst/tmpl/.cvsignore:
26631         * docs/gst/tmpl/gstbin.sgml:
26632         * docs/gst/tmpl/gstbuffer.sgml:
26633         * gst/base/gstbasesrc.c:
26634         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26635         * gst/gstbuffer.c:
26636         * gst/gstbuffer.h:
26637         * tools/gst-launch.1.in:
26638           inlined more doc comments, added missing comments and fixed comments
26639           fixed typos
26640
26641 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26642
26643         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26644           some debugging
26645         * gst/gstcaps.h:
26646           whitespace fixes
26647         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26648           more debugging
26649         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26650         * gst/gststructure.h:
26651           add a fixate function for booleans; add a FIXME that these func
26652           names should probably be gst_structure_fixate_*
26653
26654 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26655
26656         * docs/gst/gstreamer-docs.sgml:
26657         * docs/gst/gstreamer-sections.txt:
26658         * gst/Makefile.am:
26659         * gst/gstbin.c: (gst_bin_get_type),
26660         (gst_bin_child_proxy_get_child_by_index),
26661         (gst_bin_child_proxy_get_children_count),
26662         (gst_bin_child_proxy_init):
26663         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26664         (gst_child_proxy_get_child_by_index),
26665         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26666         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26667         (gst_child_proxy_get), (gst_child_proxy_set_property),
26668         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26669         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26670         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26671         * gst/gstchildproxy.h:
26672         * gst/parse/grammar.y:
26673         * tools/gst-inspect.c: (print_interfaces),
26674         (print_element_properties_info), (print_element_info):
26675           ported gstchildproxy over from 0.8
26676           ported gst-inspect fixes and enhancements over from 0.8
26677
26678 2005-08-22  Wim Taymans  <wim@fluendo.com>
26679
26680         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26681         (gst_base_transform_handle_buffer):
26682         Also call the transform function if we have ANY caps.
26683
26684         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26685         Fix debug info.
26686
26687 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26688
26689         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26690           Don't pretend to handle seek events if the source is not seekable
26691
26692 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26693
26694         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26695           Remove extra parameter to debug output
26696
26697         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26698         (gst_base_src_do_seek), (gst_base_src_activate_push):
26699           Fix seek event handling.
26700
26701         * gst/gstpipeline.c: (gst_pipeline_change_state):
26702         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26703         (gst_queue_src_activate_push):
26704           Don't start the src pad task on FLUSH_STOP if the pad
26705           isn't linked.
26706           Debug changes.
26707
26708 2005-08-22  Wim Taymans  <wim@fluendo.com>
26709
26710         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26711         Added check for gst_static_caps_get() refcounting.
26712
26713 2005-08-22  Wim Taymans  <wim@fluendo.com>
26714
26715         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26716         Make _static_caps_get() refcounting sane.
26717         
26718         * gst/gstelement.c: (gst_element_set_state):
26719         Add g_return_val_if_fail() to protect against segfaults.
26720
26721 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26722
26723         * docs/gst/tmpl/gstevent.sgml:
26724         * gst/gstevent.c:
26725         * gst/gstevent.h:
26726           inlined remaining docs, added missing doc comments
26727
26728 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26729
26730         * check/gst/gstbin.c: (GST_START_TEST):
26731           since we don't know when preroll is done, use refcount range
26732           check for the sink
26733         * gst/check/gstcheck.h:
26734           add macro for checking refcount range
26735
26736 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26737
26738         * check/Makefile.am:
26739           clean up environment for when registry gets built versus
26740           when actual tests are run; valgrind seems to not report
26741           leaks if GST_PLUGIN_PATH is set to some specific values
26742         * check/gst/gstbin.c: (GST_START_TEST):
26743           add more refcounting checks; maybe this exposes a
26744           preroll lock bug ?
26745         * common/check.mak:
26746         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26747         * gst/check/gstcheck.h:
26748         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26749         (gst_bin_change_state):
26750         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26751           add/fix debugging/whitespace
26752
26753 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26754
26755         * check/gst/gstevent.c: (event_probe), (test_event),
26756         (GST_START_TEST):
26757          Er, don't call gst_bin_watch_for_state_change you idiot.
26758
26759 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26760
26761         * check/Makefile.am:
26762           Use CHECK_CFLAGS and CHECK_LIBS
26763         * check/gst/gstevent.c: (event_probe), (test_event),
26764         (GST_START_TEST):
26765           Don't leak events.
26766         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26767         (gst_base_src_start), (gst_base_src_stop),
26768         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26769         (gst_base_src_change_state):
26770           Sprinkle gst_base_src_stop liberally around error paths to fix
26771           problems reusing a source after failed state changes.
26772         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26773         (helper_find_suggest), (gst_type_find_helper):
26774           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26775         * gst/gstevent.h:
26776         * docs/gst/tmpl/gstevent.sgml:
26777           Migrate part of the docs from the SGML file. Wait for ensonic to
26778           tell me how I did it wrong ;)
26779         * tools/gst-typefind.c: (main):
26780           Extra robustness to state changes between files.
26781
26782 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26783
26784         * check/Makefile.am:
26785           don't valgrind the controller test - it's leaking - Stefan, HELP
26786         * gst/check/gstcheck.c: (gst_check_message_error),
26787         (gst_check_chain_func), (gst_check_setup_element),
26788         (gst_check_teardown_element), (gst_check_setup_src_pad),
26789         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26790         (gst_check_teardown_sink_pad):
26791         * gst/check/gstcheck.h:
26792           add a bunch of methods to set up elements, and src and sink pads
26793         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26794         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26795         (GST_START_TEST):
26796           use them
26797         * gst/gstmessage.c:
26798         * gst/gsttag.h:
26799           whitespace/doc fixes
26800
26801 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26802
26803         * gst/gstelement.h:
26804           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26805           be handled by the application and not always printed as well
26806
26807 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26808
26809         * check/Makefile.am:
26810           set GST_TOOLS_DIR
26811         * gst/check/gstcheck.c: (gst_check_message_error):
26812         * gst/check/gstcheck.h:
26813           add a fail_unless_equals_int
26814           add fail_unless for error messages
26815
26816 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26817
26818         * check/Makefile.am:
26819         * check/gst.supp:
26820         * common/Makefile.am:
26821         * common/check.mak:
26822         * common/gst.supp:
26823           factor out some of the common stuff so we can use it
26824
26825 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26826
26827         * check/Makefile.am:
26828         * check/gst/gstiterator.c: (GST_START_TEST):
26829         * check/gst/gstsystemclock.c: (GST_START_TEST),
26830         (gst_systemclock_suite):
26831         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26832         * gst/gstclock.c:
26833           valgrind more tests
26834
26835 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26836
26837         * check/elements/.cvsignore:
26838         * check/elements/gstfakesrc.c:
26839           rename to name of element
26840         * check/elements/identity.c: (chain_func), (event_func),
26841         (setup_identity), (cleanup_identity), (GST_START_TEST),
26842         (identity_suite), (main):
26843           add a test for identity
26844         * check/Makefile.am:
26845         * pkgconfig/Makefile.am:
26846         * pkgconfig/gstreamer-check.pc.in:
26847         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26848         * gst/check:
26849         * gst/Makefile.am:
26850         * configure.ac:
26851           move the check stuff to a library that gets installed
26852         * check/gst-libs/controller.c: (GST_START_TEST):
26853         * check/gst-libs/gdp.c:
26854         * check/gst/gst.c: (GST_START_TEST):
26855         * check/gst/gstbin.c:
26856         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26857         * check/gst/gstbus.c:
26858         * check/gst/gstcaps.c: (GST_START_TEST):
26859         * check/gst/gstelement.c:
26860         * check/gst/gstghostpad.c:
26861         * check/gst/gstiterator.c:
26862         * check/gst/gstmessage.c:
26863         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26864         * check/gst/gstobject.c:
26865         * check/gst/gstpad.c: (GST_START_TEST):
26866         * check/gst/gststructure.c: (GST_START_TEST):
26867         * check/gst/gstsystemclock.c: (GST_START_TEST),
26868         (gst_systemclock_suite):
26869         * check/gst/gsttag.c: (gst_tag_suite):
26870         * check/gst/gstvalue.c:
26871         * check/pipelines/cleanup.c:
26872         * check/pipelines/simple_launch_lines.c:
26873         * check/states/sinks.c:
26874           change include statement
26875
26876         * docs/gst/gstreamer-sections.txt:
26877         * docs/gst/tmpl/gstpad.sgml:
26878           document more pad stuff
26879         * gst/gstminiobject.c: (gst_mini_object_ref),
26880         (gst_mini_object_unref):
26881           debug refcounting
26882
26883 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26884
26885         * docs/gst/tmpl/gst.sgml:
26886         * gst/gst.c:
26887           eliminate another tmpl file, fix spelling in the long-description
26888
26889 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26890
26891         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26892         (test_event), (timediff), (gstevents_suite):
26893           Should fix build on 64-bit arch's
26894
26895 2005-08-18  Andy Wingo  <wingo@pobox.com>
26896
26897         Make sure that when a pipeline goes to PLAYING, that data has
26898         actually hit the sink.
26899
26900         * check/states/sinks.c (test_sink): A sink that doesn't get any
26901         data shouldn't return SUCCESS for going to either PLAYING or
26902         PAUSED. Test also the return values on the way back down.
26903
26904         * gst/gstelement.c (gst_element_set_state): When changing the
26905         state of an element currently changing state asynchronously, go to
26906         lost-state after commiting the pending state. Makes future calls
26907         to get_state continue to return ASYNC.
26908
26909         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26910         ASYNC when going to PLAYING if we still don't have preroll, as can
26911         happen with live sources.
26912
26913 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26914
26915         * docs/pwg/advanced-types.xml:
26916           Hack long paragraph into 2 chunks as a workaround for buggy
26917           jadetex version in sid and breezy that loops infinitely and
26918           eats all RAM.
26919
26920 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26921
26922         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26923         (test_event), (timediff), (gstevents_suite):
26924           Provide more error margin in clock measurements to allow for 
26925           g_get_current_time inaccuracies.
26926
26927 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26928
26929         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26930         (test_event), (timediff), (gstevents_suite):
26931            Fix error message output so I might be able to tell why the
26932            test works here but fails on the build farm.
26933
26934 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26935
26936         * check/Makefile.am:
26937         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26938         (test_event), (timediff), (gstevents_suite), (main):
26939           I wrote a test!
26940
26941         * docs/design/part-seeking.txt:
26942           Spelling correction
26943
26944         * docs/gst/tmpl/gstevent.sgml:
26945         * docs/gst/tmpl/gstfakesrc.sgml:
26946           Docs updates.
26947
26948         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26949           Treat a buffer-without-newsegment the same as a receiving 
26950           a newsegment not in time format, and disable syncing to the clock
26951           with a warning.
26952
26953         * gst/gstbus.c: (gst_bus_set_sync_handler):
26954           Assert if anyone tries to replace the existing sync_handler for bus, 
26955           as only the owner should be setting it.
26956
26957         * gst/gstevent.h:
26958           Have a fixed set of custom event enums with events identified by
26959           their structure name (as in 0.8), rather than a free-for-all
26960           allowing collisions between enum values from different plugins.
26961
26962         * gst/gstpad.c: (gst_pad_class_init):
26963           Docs change.
26964           
26965         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26966           Handle out-of-band downstream events from the sending thread.
26967
26968 2005-08-17  Andy Wingo  <wingo@pobox.com>
26969
26970         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
26971         play-timeout==0 to mean no timeout at all. In that case, don't
26972         bother with a get_state or a warning, just return directly, even
26973         if it's ASYNC.
26974
26975         * gst/base/gstbasetransform.c: Debug changes.
26976
26977         * gst/gstutils.h:
26978         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
26979         ensure bins post state change messages. A bit of a hack but I can't
26980         think of a way to avoid it.
26981
26982         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
26983
26984 2005-08-16  Andy Wingo  <wingo@pobox.com>
26985
26986         * gst/base/gstadapter.h:
26987         * gst/base/gstadapter.c (gst_adapter_take): New function, like
26988         peek() but you own the data. Not terribly efficient atm.
26989
26990 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26991
26992         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26993         (gst_element_found_tags):
26994         * gst/gstutils.h:
26995           Add two utility functions for tag handling.
26996
26997 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26998
26999         * docs/manual/advanced-dataaccess.xml:
27000         * docs/manual/basics-helloworld.xml:
27001           Fix docs to use _bin_add() before _link(), which fixes the examples
27002           with recent core versions (reported by Madhan Raj M
27003           <raj_madan@rediffmail.com>, #313199).
27004
27005 2005-08-16  Wim Taymans  <wim@fluendo.com>
27006
27007         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27008         Added subtract checks.
27009
27010         * docs/design/part-events.txt:
27011         Some more docs about newsegment
27012
27013         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27014         Fix FIXME
27015
27016         * gst/gstcaps.c: (gst_caps_to_string):
27017         Add comments, cleanups.
27018         
27019         * gst/gstelement.c: (gst_element_save_thyself):
27020         cleanups
27021         
27022         * gst/gstvalue.c: (gst_value_collect_int_range),
27023         (gst_string_unwrap), (gst_value_union_int_int_range),
27024         (gst_value_union_int_range_int_range),
27025         (gst_value_intersect_int_int_range),
27026         (gst_value_intersect_int_range_int_range),
27027         (gst_value_intersect_double_double_range),
27028         (gst_value_intersect_double_range_double_range),
27029         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27030         (gst_value_subtract_int_range_int),
27031         (gst_value_subtract_double_range_double),
27032         (gst_value_subtract_double_range_double_range),
27033         (gst_value_subtract_from_list), (gst_value_subtract_list),
27034         (gst_value_can_compare), (gst_value_compare_fraction):
27035         Cleanups, add comments, remove unneeded asserts.
27036
27037 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27038
27039         * tools/gst-launch.c: (event_loop):
27040           don't convert NULL structures to strings
27041
27042 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27043
27044         * docs/gst/gstreamer-sections.txt:
27045           made some defines private
27046         * docs/gst/tmpl/gstconfig.sgml:
27047         * docs/gst/tmpl/gstqueue.sgml:
27048         * docs/gst/tmpl/gsttaglist.sgml:
27049         * docs/gst/tmpl/gsttypes.sgml:
27050         * docs/gst/tmpl/gstutils.sgml:
27051         * docs/pwg/appendix-porting.xml:
27052         * gst/base/gstbasesink.h:
27053         * gst/base/gstbasesrc.c:
27054         * gst/base/gstbasesrc.h:
27055         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27056         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27057         * gst/gstelement.c: (gst_element_class_init):
27058         * gst/gstpad.c: (gst_pad_class_init):
27059         * gst/gstqueue.c: (gst_queue_class_init):
27060         * gst/gstxml.c: (gst_xml_class_init):
27061           documented all undocumented signal inline
27062         * libs/gst/controller/gst-controller.h:
27063           added padding
27064
27065 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27066
27067         * docs/pwg/appendix-porting.xml:
27068           Document _set_link_function -> _set_setcaps_function.
27069
27070 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27071
27072         * check/Makefile.am:
27073           add a .check target for running the check
27074         * check/gst-libs/controller.c: (GST_START_TEST):
27075           cosmetic fixups
27076         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27077           complete checks for gstbuffer; would be nice if I could get the
27078           gcov stuff to work so I can see if I actually completed gstbuffer.c
27079         * check/gstcheck.h:
27080           add ASSERT_BUFFER_REFCOUNT
27081
27082 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27083
27084         * docs/gst/gstreamer-sections.txt:
27085         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27086         * gst/gsttag.h:
27087           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27088           spew out a warning if a tag that is already registered
27089           is re-registered, unless it is re-registered with a 
27090           different type (#308438).
27091
27092 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27093
27094         * docs/pwg/appendix-porting.xml:
27095         * docs/pwg/building-state.xml:
27096           Add some paragraphs about state changes in 0.9 to the PWG
27097           and the porting guide, in particular about the new meaning
27098           of GST_STATE_PAUSED and how to write state change functions
27099           with concurrent access by multiple threads in mind.
27100
27101 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27102
27103         * docs/gst/gstreamer-docs.sgml:
27104         * docs/libs/gstreamer-libs-docs.sgml:
27105           added deprecation and since indexes
27106         * libs/gst/controller/gst-controller.c:
27107         * libs/gst/controller/gst-helper.c:
27108           added since tags
27109
27110
27111 2005-08-11  Wim Taymans  <wim@fluendo.com>
27112
27113         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27114         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27115         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27116         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27117         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27118         (gst_ghost_pad_set_target):
27119         Actually implement (re)setting the target on a ghostpad
27120         as described in the docs.
27121
27122 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27123
27124         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27125           Check whether GST_DEBUG_NO_COLOR environment variable is
27126           set and disable coloured debug output if that is the case.
27127
27128 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27129
27130         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27131         (gst_type_find_helper):
27132           The memory returned by gst_type_find_peek() needs to
27133           stay valid until the end of a typefind function, and
27134           typefind functions may keep results from different 
27135           offsets around, so we can't just unref the buffer from
27136           the previous _peek(), but have to save all buffers 
27137           returned by _peek() until typefinding is done and only
27138           free them then.
27139
27140 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27141
27142         * docs/gst/gstreamer-sections.txt:
27143         * gst/gstutils.h:
27144           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27145
27146 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27147
27148         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27149           Fix a pretty good memleak.
27150
27151 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27152
27153         * gst/gstiterator.h:
27154           Fix wrong include and 'make distcheck'.
27155
27156 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27157
27158         * gst/gstbin.c: (bin_bus_handler):
27159           Use gst_element_post_message() instead.
27160
27161 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27162
27163         * gst/base/gstadapter.h:
27164         * gst/base/gstbasesink.h:
27165         * gst/base/gstbasesrc.h:
27166         * gst/base/gstbasetransform.h:
27167         * gst/base/gstcollectpads.h:
27168         * gst/base/gstpushsrc.h:
27169         * gst/gstiterator.h:
27170           Add padding to our base elements' class and instance structs and
27171           to GstIterator (you will need to rebuild all plugins and apps!)
27172
27173 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27174
27175         * gst/gstbin.c: (bin_bus_handler):
27176           Make default message forwarding from child->bus to bin->bus
27177           threadsafe and make it not emit warnings if the parent has no bus.
27178
27179 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27180
27181         * gst/gstelement.c: (activate_pads):
27182           On paused->ready, set pad->caps to NULL, as is the documented
27183           behaviour in this state change. Fixes playback of series of
27184           media files when visualization is enabled in Totem.
27185
27186 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27187
27188         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27189           Allow NULL as filter-caps (which means "any").
27190
27191 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27192
27193         * docs/libs/gstreamer-libs-sections.txt:
27194         * libs/gst/controller/gst-controller.c:
27195         * libs/gst/controller/gst-controller.h:
27196         * libs/gst/controller/gst-helper.c:
27197           adding more entries to the docs and fix small doc-bugs
27198
27199 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27200
27201         * docs/gst/gstreamer-docs.sgml:
27202         * docs/gst/gstreamer-sections.txt:
27203         * docs/gst/gstreamer.types:
27204         * docs/gst/tmpl/gstbasesink.sgml:
27205         * docs/gst/tmpl/gstbasesrc.sgml:
27206         * docs/gst/tmpl/gstbasetransform.sgml:
27207         * docs/gst/tmpl/gstfakesrc.sgml:
27208         * gst/base/gstcollectpads.c:
27209         * gst/base/gstcollectpads.h:
27210         * libs/gst/controller/gst-controller.c:
27211         * libs/gst/controller/gst-controller.h:
27212         * libs/gst/controller/gst-helper.c:
27213         * libs/gst/controller/gst-interpolation.c:
27214         * libs/gst/controller/lib.c:
27215           added long/short desc for controller docs
27216           added collectpads base class docs
27217           added correct includes to base-class docs
27218
27219 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27220
27221         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27222         (gst_test_mono_source_set_property),
27223         (gst_test_mono_source_class_init), (GST_START_TEST),
27224         (gst_controller_suite):
27225         * docs/gst/gstreamer-docs.sgml:
27226         * docs/gst/gstreamer-sections.txt:
27227         * docs/gst/gstreamer.types:
27228         * docs/libs/gstreamer-libs-docs.sgml:
27229         * docs/libs/gstreamer-libs-sections.txt:
27230         * gst/base/gstadapter.c:
27231         * libs/gst/controller/gst-controller.c:
27232         (gst_controlled_property_new), (gst_controlled_property_free),
27233         (gst_controller_new_valist),
27234         (gst_controller_remove_properties_valist),
27235         (gst_controller_sink_values), (_gst_controller_finalize):
27236         * libs/gst/controller/gst-controller.h:
27237         * libs/gst/controller/gst-helper.c:
27238         (gst_object_control_properties), (gst_object_uncontrol_properties),
27239         (gst_object_get_controller), (gst_object_set_controller),
27240         (gst_object_sink_values), (gst_object_get_value_arrays),
27241         (gst_object_get_value_array):
27242           more tests (and fixes) for the controller
27243           more docs for the controller
27244           integrated companies docs for the adapter 
27245
27246 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27247
27248         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27249         (GST_START_TEST), (fakesrc_suite):
27250           add tests for sizetype
27251
27252 2005-08-04  Andy Wingo  <wingo@pobox.com>
27253
27254         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27255         fixes buffer_alloc proxying among other things.
27256
27257         * gst/base/gstbasetransform.c:
27258         * gst/base/gstbasetransform.h:
27259         Revert patch to gstbasetransform from 7-28 removing
27260         delay_configure.
27261
27262         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27263         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27264         Semantics changed, should return not the size of the output buffer
27265         but the byte size of a buffer with a given caps.
27266
27267         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27268         debug object.
27269         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27270         out) are not the pad caps until setcaps finishes.
27271         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27272         not-in-place case as well. Deal with changing from in-place to
27273         not-in-place within calling pad_alloc_buffer. Still a bit
27274         concerned about the overhead here...
27275
27276 2005-08-03  Andy Wingo  <wingo@pobox.com>
27277
27278         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27279         fixating is an error.
27280
27281 2005-08-04  Edward Hervey  <edward@fluendo.com>
27282
27283         * gst/base/gstadapter.h: 
27284         Added gst_adapter_get_type() to the header
27285
27286 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27287
27288         * check/Makefile.am:
27289         * check/gst-libs/controller.c:
27290         * libs/gst/controller/gst-controller.c:
27291         (gst_controller_new_valist):
27292           added check test suite for the controller
27293         * gst/base/gstpushsrc.c:
27294           fixed a doc typo
27295
27296 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27297
27298         * docs/gst/Makefile.am:
27299         * docs/gst/gstreamer-docs.sgml:
27300         * docs/gst/gstreamer-sections.txt:
27301         * docs/gst/gstreamer.types:
27302         * docs/gst/tmpl/gstfakesrc.sgml:
27303         * gst/base/README:
27304         * gst/base/gstbasesink.c:
27305         * gst/base/gstbasesink.h:
27306         * gst/base/gstbasesrc.c:
27307         * gst/base/gstbasesrc.h:
27308         * gst/base/gstbasetransform.c:
27309         * gst/base/gstpushsrc.c:
27310         * gst/base/gstpushsrc.h:
27311           add short/long description docs to base classes
27312           add pushsrc to the docs
27313           remove consolidated doc fragments
27314
27315 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27316
27317         * configure.ac:
27318         * docs/libs/Makefile.am:
27319         * docs/libs/gstreamer-libs-docs.sgml:
27320         * docs/libs/gstreamer-libs-sections.txt:
27321         * docs/libs/gstreamer-libs.types:
27322         * examples/Makefile.am:
27323         * examples/controller/.cvsignore:
27324         * examples/controller/Makefile.am:
27325         * examples/controller/audio-example.c: (main):
27326         * libs/gst/Makefile.am:
27327         * libs/gst/controller/.cvsignore:
27328         * libs/gst/controller/Makefile.am:
27329         * libs/gst/controller/gst-controller.c:
27330         (on_object_controlled_property_changed), (gst_timed_value_compare),
27331         (gst_timed_value_find),
27332         (gst_controlled_property_set_interpolation_mode),
27333         (gst_controlled_property_new), (gst_controlled_property_free),
27334         (gst_controller_find_controlled_property),
27335         (gst_controller_new_valist), (gst_controller_new),
27336         (gst_controller_remove_properties_valist),
27337         (gst_controller_remove_properties), (gst_controller_set),
27338         (gst_controller_set_from_list), (gst_controller_unset),
27339         (gst_controller_get), (gst_controller_get_all),
27340         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27341         (gst_controller_get_value_array),
27342         (gst_controller_set_interpolation_mode),
27343         (_gst_controller_finalize), (_gst_controller_init),
27344         (_gst_controller_class_init), (gst_controller_get_type):
27345         * libs/gst/controller/gst-controller.h:
27346         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27347         (g_object_uncontrol_properties), (g_object_get_controller),
27348         (g_object_set_controller), (g_object_sink_values),
27349         (g_object_get_value_arrays), (g_object_get_value_array):
27350         * libs/gst/controller/gst-interpolation.c:
27351         (gst_controlled_property_find_timed_value_node),
27352         (interpolate_none_get), (interpolate_trigger_get),
27353         (interpolate_trigger_get_value_array):
27354         * libs/gst/controller/lib.c: (gst_controller_init):
27355         * pkgconfig/Makefile.am:
27356         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27357         * pkgconfig/gstreamer-control.pc.in:
27358         * testsuite/Makefile.am:
27359         * testsuite/controller/.cvsignore:
27360         * testsuite/controller/Makefile.am:
27361         * testsuite/controller/interpolator.c: (main):
27362           added controller code
27363           removed dparam pc files
27364
27365 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27366         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27367         (gst_collectpads_stop):
27368           Broadcast the condition when shutting down, to make sure we wake all
27369           threads up. Shut down pads on finalize, for safety.
27370
27371 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27372         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27373         (gst_base_transform_handle_buffer),
27374         (gst_base_transform_change_state):
27375           Handle PAUSED->READY->PAUSED transition after negotiation
27376           occurred already.
27377         * gst/gstmessage.c: (gst_message_init):
27378           Extra piece of debug for new messages.
27379
27380 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27381
27382         * configure.ac:
27383         * docs/gst/tmpl/gstbasesrc.sgml:
27384         * docs/gst/tmpl/gstelement.sgml:
27385         * docs/gst/tmpl/gstevent.sgml:
27386         * docs/gst/tmpl/gstfakesrc.sgml:
27387         * docs/gst/tmpl/gstformat.sgml:
27388         * docs/gst/tmpl/gstghostpad.sgml:
27389         * docs/gst/tmpl/gstpad.sgml:
27390         * docs/gst/tmpl/gstquery.sgml:
27391         * docs/gst/tmpl/gststructure.sgml:
27392         * docs/gst/tmpl/gsttaglist.sgml:
27393         * docs/gst/tmpl/gstvalue.sgml:
27394         * docs/libs/gstreamer-libs-docs.sgml:
27395         * docs/libs/gstreamer-libs-sections.txt:
27396         * docs/libs/gstreamer-libs.types:
27397         * libs/gst/Makefile.am:
27398         * libs/gst/control/.cvsignore:
27399         * libs/gst/control/Makefile.am:
27400         * libs/gst/control/control.c:
27401         * libs/gst/control/control.h:
27402         * libs/gst/control/dparam.c:
27403         * libs/gst/control/dparam.h:
27404         * libs/gst/control/dparam_smooth.c:
27405         * libs/gst/control/dparam_smooth.h:
27406         * libs/gst/control/dparamcommon.h:
27407         * libs/gst/control/dparammanager.c:
27408         * libs/gst/control/dparammanager.h:
27409         * libs/gst/control/dplinearinterp.c:
27410         * libs/gst/control/dplinearinterp.h:
27411         * libs/gst/control/unitconvert.c:
27412         * libs/gst/control/unitconvert.h:
27413         * testsuite/Makefile.am:
27414         * testsuite/dynparams/.cvsignore:
27415         * testsuite/dynparams/Makefile.am:
27416         * testsuite/dynparams/dparamstest.c:
27417         * tools/Makefile.am:
27418         * tools/gst-inspect.c: (print_element_info), (main):
27419         * tools/gst-xmlinspect.c: (print_element_info), (main):
27420           deactivate and remove dparams (libgstcontrol)
27421
27422 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27423
27424         * gst/elements/gsttypefindelement.c:
27425         (gst_type_find_element_have_type), (gst_type_find_element_init),
27426         (stop_typefinding), (gst_type_find_element_handle_event),
27427         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27428         * gst/elements/gsttypefindelement.h:
27429           Set caps on all outgoing buffers, not just the first one.
27430
27431 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27432
27433         * gst/elements/gsttypefindelement.c:
27434         (gst_type_find_element_have_type),
27435         (gst_type_find_element_check_set_buffer_caps),
27436         (gst_type_find_element_init), (stop_typefinding),
27437         (gst_type_find_element_handle_event),
27438         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27439         * gst/elements/gsttypefindelement.h:
27440           Set caps on first outgoing buffer when we've found the type.
27441
27442 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27443
27444         * docs/gst/gstreamer-docs.sgml:
27445         * docs/gst/gstreamer-sections.txt:
27446         * docs/gst/tmpl/gstscheduler.sgml:
27447         * docs/gst/tmpl/gstschedulerfactory.sgml:
27448           Remove some old cruft from docs.
27449
27450 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27451
27452         * gst/gstpad.h:
27453           Fix inline docs for GstPadLinkReturn.
27454           
27455         * gst/gststructure.c: (gst_structure_has_name):
27456         * gst/gststructure.h:
27457         * docs/gst/gstreamer-sections.txt:
27458           New API: gst_structure_has_name().
27459
27460 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27461
27462         * configure.ac:
27463           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27464           and _LARGEFILE_SOURCE in config.h as required. Do not 
27465           export those flags in our .pc files any longer (#142209).
27466
27467           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27468
27469         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27470         (gst_file_sink_do_seek), (gst_file_sink_event),
27471         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27472           Redo seek/tell calls with large file support in mind; add some
27473           debugging messages; add log message that tells us when large
27474           file support is unavailable or not enabled for some reason.
27475
27476         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27477           Add log message that tells us when large file support 
27478           is unavailable or not enabled for some reason.
27479
27480 2005-07-29  Wim Taymans  <wim@fluendo.com>
27481
27482         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27483         Added test for removing an element with ghostpad from a bin.
27484         Fixed test as current implementation does the right thing.
27485
27486         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27487         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27488         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27489         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27490         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27491         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27492         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27493         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27494         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27495         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27496         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27497         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27498         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27499         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27500         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27501         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27502         * gst/gstghostpad.h:
27503         Clean up ghostpads, remove properties for internal stuff.
27504         Make threadsafe.
27505         Fix refcounting.
27506         Prepare for switching targets, not all use cases work yet.
27507
27508 2005-07-29  Wim Taymans  <wim@fluendo.com>
27509
27510         * docs/design/part-gstghostpad.txt:
27511         Small update.
27512
27513         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27514         (gst_bin_remove_func):
27515         Unlinking pads while holding the bin LOCK is not a good
27516         idea.
27517
27518         * gst/gstpad.c: (gst_pad_class_init),
27519         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27520         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27521         No prob setting template after creating the pad.
27522
27523 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27524
27525         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27526         (gst_bus_peek), (gst_bus_source_dispatch),
27527         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27528         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27529           gst_bus_poll may be called from other threads. Handle
27530           this nicely by not making poll_data disappear off the
27531           stack once gst_bus_poll returns.
27532           gst_bus_peek now increments the refcount on the returned
27533           message.
27534
27535 2005-07-29  Wim Taymans  <wim@fluendo.com>
27536
27537         * docs/design/part-gstghostpad.txt:
27538         Overview of current GhostPad datastructures and use
27539         cases for changing the target.
27540
27541 2005-07-28  Wim Taymans  <wim@fluendo.com>
27542
27543         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27544         Added checks for hierarchy consistency whan adding linked
27545         elements to bins.
27546
27547         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27548         Added check to test element scheduling without bin/pipeline.
27549
27550         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27551         First add elements to bin, then link.
27552         
27553         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27554         (gst_bin_remove_func):
27555         Unlink pads from elements added/removed from bin to maintain
27556         hierarchy consistency.
27557
27558 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27559
27560         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27561         (gst_base_transform_handle_buffer):
27562         * gst/base/gstbasetransform.h:
27563           Remove broken delay_configure (fixes renegotiation of software
27564           scaling pipelines); remove some leftover printf()s.
27565
27566 2005-07-28  Wim Taymans  <wim@fluendo.com>
27567
27568         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27569         Added some more tests for wrong hierarchy
27570
27571         * docs/design/part-overview.txt:
27572         Some updates.
27573
27574         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27575         Cleanups.
27576
27577         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27578         (gst_element_dispose):
27579         Some more cleanups.
27580
27581         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27582         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27583         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27584         (gst_pad_set_caps), (gst_pad_send_event):
27585         Check for correct hierarchy when linking pads. Moving to
27586         strict requirement for ghostpads when linking elements in
27587         different bins.
27588
27589         * gst/gstpad.h:
27590         Clean ups. Added WRONG_HIERARCHY return value.
27591
27592 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27593
27594         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27595           Better debug if no transform is possible.
27596
27597 2005-07-27  Wim Taymans  <wim@fluendo.com>
27598
27599         * docs/random/wtay/network-transp:
27600         Some old doc I had.
27601
27602 2005-07-27  Wim Taymans  <wim@fluendo.com>
27603
27604         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27605         (gst_dp_event_from_packet):
27606         Fix serialization of seek events.
27607
27608 2005-07-27  Wim Taymans  <wim@fluendo.com>
27609
27610         * check/gst-libs/gdp.c: (GST_START_TEST):
27611         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27612         Fix compilation and fix event serialization.
27613
27614 2005-07-27  Wim Taymans  <wim@fluendo.com>
27615
27616         * CHANGES-0.9:
27617         * docs/design/part-TODO.txt:
27618         * docs/design/part-events.txt:
27619         Some docs updates
27620
27621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27622         (gst_base_sink_event), (gst_base_sink_do_sync),
27623         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27624         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27625         (gst_base_src_do_seek), (gst_base_src_event_handler),
27626         (gst_base_src_loop):
27627         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27628         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27629         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27630         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27631         (gst_base_transform_set_passthrough),
27632         (gst_base_transform_is_passthrough):
27633         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27634         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27635         Event updates.
27636
27637         * gst/gstbuffer.h:
27638         Use faster casts.
27639
27640         * gst/gstelement.c: (gst_element_seek):
27641         * gst/gstelement.h:
27642         Update gst_element_seek.
27643
27644         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27645         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27646         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27647         (gst_event_new_eos), (gst_event_new_newsegment),
27648         (gst_event_parse_newsegment), (gst_event_new_tag),
27649         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27650         (gst_event_parse_qos), (gst_event_new_seek),
27651         (gst_event_parse_seek), (gst_event_new_navigation):
27652         * gst/gstevent.h:
27653         Make GstEvent use GstStructure. Add parsing code, make sure the
27654         API is sufficiently generic.
27655         Mark possible directions of events and serialization.
27656
27657         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27658         (_gst_message_copy), (gst_message_new_segment_start),
27659         (gst_message_new_segment_done), (gst_message_new_custom),
27660         (gst_message_parse_segment_start),
27661         (gst_message_parse_segment_done):
27662         Small cleanups.
27663
27664         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27665         (gst_pad_set_caps), (gst_pad_send_event):
27666         Update for new events. 
27667         Catch events sent in wrong directions.
27668
27669         * gst/gstqueue.c: (gst_queue_link_src),
27670         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27671         (gst_queue_handle_src_query):
27672         Event updates.
27673
27674         * gst/gsttag.c:
27675         * gst/gsttag.h:
27676         Remove event code from this file.
27677
27678         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27679         (gst_dp_event_from_packet):
27680         Event updates.
27681
27682 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27683
27684         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27685         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27686         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27687           Make debugging actually useful.
27688
27689 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27690
27691         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27692         (gst_pad_fixate_caps):
27693           Implement default fixation once again, so that gst_pad_fixate()
27694           actually does anything at all. This probably needs to be some
27695           sort of a last resort, and use profile-based fixation first, but
27696           since that doesn't exist yet, this is the best we have. Fixes
27697           visualization in Totem.
27698
27699 2005-07-22  Wim Taymans  <wim@fluendo.com>
27700
27701         * docs/design/part-events.txt:
27702         Small update.
27703
27704         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27705         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27706         (gst_base_sink_activate_pull):
27707         Some more comments.
27708
27709         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27710         (gst_fake_src_create):
27711         Fix handoff marshall.
27712
27713         * gst/elements/gstidentity.c: (gst_identity_class_init),
27714         (gst_identity_transform_ip):
27715         We're a real inplace element.
27716
27717         * gst/gstbus.c: (gst_bus_post):
27718         Added some comments.
27719
27720         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27721         * tests/muxing/case1.c: (main):
27722         * tests/sched/dynamic-pipeline.c: (main):
27723         * tests/sched/interrupt1.c: (main):
27724         * tests/sched/interrupt2.c: (main):
27725         * tests/sched/interrupt3.c: (main):
27726         * tests/sched/runxml.c: (main):
27727         * tests/sched/sched-stress.c: (main):
27728         * tests/seeking/seeking1.c: (event_received), (main):
27729         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27730         (main):
27731         * tests/threadstate/threadstate3.c: (main):
27732         * tests/threadstate/threadstate4.c: (main):
27733         * tests/threadstate/threadstate5.c: (main):
27734         Fix the tests.
27735
27736 2005-07-21  Wim Taymans  <wim@fluendo.com>
27737
27738         * docs/design/part-seeking.txt:
27739         Some small additions.
27740
27741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27742         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27743         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27744         * gst/base/gstbasesink.h:
27745         discont values are gint64, handle the math correctly.
27746
27747         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27748         Make the basesrc report error if the source pad is not linked.
27749
27750         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27751         (gst_queue_loop), (gst_queue_handle_src_query),
27752         (gst_queue_src_activate_push):
27753         Make queue collect data even if the srcpad is not linked.
27754         Start pushing out data as soon as it is linked.
27755
27756         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27757         * gst/gstutils.h:
27758         Added gst_flow_get_name() to ease error reporting.
27759
27760 2005-07-20  Wim Taymans  <wim@fluendo.com>
27761
27762         * gst/gstmessage.c: (gst_message_new_segment_start),
27763         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27764         (gst_message_parse_segment_done):
27765         * gst/gstmessage.h:
27766         Added a bunch of messages for advanced seeking.
27767
27768         * gst/parse/grammar.y:
27769         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27770         (gst_dpman_state_changed):
27771         Fix some new-pad -> pad-added signals
27772
27773 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27774
27775         * docs/manual/appendix-porting.xml:
27776         * docs/pwg/appendix-porting.xml:
27777           Document new-pad/state-change signal renames and the FixedList
27778           type rename.
27779
27780 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27781
27782         * docs/manual/advanced-autoplugging.xml:
27783         * docs/manual/basics-helloworld.xml:
27784         * docs/manual/basics-pads.xml:
27785         * docs/random/ds/0.9-suggested-changes:
27786         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27787         * gst/gstelement.h:
27788         * gst/gstevent.h:
27789         * gst/gstformat.h:
27790         * gst/gstquery.h:
27791         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27792         (gst_structure_parse_array), (gst_structure_parse_value):
27793         * gst/gstvalue.c: (gst_type_is_fixed),
27794         (gst_value_list_prepend_value), (gst_value_list_append_value),
27795         (gst_value_list_get_size), (gst_value_list_get_value),
27796         (gst_value_transform_array_string), (gst_value_serialize_array),
27797         (gst_value_deserialize_array), (gst_value_intersect_array),
27798         (gst_value_is_fixed), (_gst_value_initialize):
27799         * gst/gstvalue.h:
27800           GstElement::new-pad -> pad-added, GstElement::state-change ->
27801           state-changed, GstValueFixedList -> GstValueArray, add format and
27802           flags as their own arguments in gst_element_seek() (should improve
27803           "bindeability"), remove function generators since they don't work
27804           under a whole bunch of compilers (they were deprecated already
27805           anyway).
27806
27807 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27808
27809         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27810         (_gst_debug_register_funcptr):
27811         * gst/gstinfo.h:
27812           Fix illegal cast on some platforms (#309253).
27813
27814 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27815
27816         * gst/gstmessage.c: (gst_message_new_custom):
27817         * gst/gstmessage.h:
27818           Add _new_custom, make _new_application a macro to _new_custom.
27819
27820 2005-07-20  Wim Taymans  <wim@fluendo.com>
27821
27822         * gst/base/gstbasesrc.c: (gst_base_src_init),
27823         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27824         * gst/base/gstbasesrc.h:
27825         Add a gboolean to decide when to push out a discont.
27826
27827         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27828         (gst_queue_loop), (gst_queue_handle_src_query),
27829         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27830         (gst_queue_set_property), (gst_queue_get_property):
27831         Some cleanups.
27832
27833         * tests/threadstate/threadstate1.c: (main):
27834         Make a thread test compile and run... very silly..
27835
27836
27837 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27838
27839         * docs/manual/appendix-porting.xml:
27840           Mention removal of libgstgconf-0.9.la and existence of gconf
27841           elements.
27842
27843 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27844
27845         * docs/pwg/advanced-clock.xml:
27846         * docs/pwg/appendix-porting.xml:
27847         * docs/pwg/intro-preface.xml:
27848         * docs/pwg/other-base.xml:
27849         * docs/pwg/other-manager.xml:
27850         * docs/pwg/other-nton.xml:
27851         * docs/pwg/other-ntoone.xml:
27852         * docs/pwg/other-oneton.xml:
27853         * docs/pwg/pwg.xml:
27854           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27855           demuxer), remove n-to-n (was never written), fix some code examples
27856           and links and update the porting section to include all this.
27857
27858 2005-07-19  Wim Taymans  <wim@fluendo.com>
27859
27860         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27861         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27862         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27863         (gst_queue_src_activate_push), (gst_queue_change_state),
27864         (gst_queue_get_property):
27865         * gst/gstqueue.h:
27866         Propagate GstFlowReturn more intelligently upstream and output
27867         an ERROR/EOS when streaming stopped due to fatal error.
27868
27869 2005-07-19  Wim Taymans  <wim@fluendo.com>
27870
27871         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27872         Don't block forever for the state change to complete, the
27873         pipeline already did with a sensible timeout.
27874
27875 2005-07-19  Wim Taymans  <wim@fluendo.com>
27876
27877         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27878         Make sure we never call the create function is we
27879         got deactivated.
27880
27881 2005-07-19  Andy Wingo  <wingo@pobox.com>
27882
27883         * gst/parse/parse.l: Attempt to solve bug #172815.
27884
27885 2005-07-19  Wim Taymans  <wim@fluendo.com>
27886
27887         * docs/design/part-clocks.txt:
27888         * docs/design/part-events.txt:
27889         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27890         Small docs updates.
27891         Only update the seeking values when we are not
27892         busy streaming.
27893
27894 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27895
27896         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27897           Oops, ignore the result of gst_pad_push_event here.
27898
27899 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27900
27901         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27902         (gst_base_src_activate_push):
27903           Send discont event from the loop function, as pads
27904           aren't activated yet in the activate_push handler.
27905
27906         * gst/gstbin.c: (bin_bus_handler):
27907           Don't leak element name.
27908
27909 2005-07-18  Andy Wingo  <wingo@pobox.com>
27910
27911         * configure.ac: Use AS_LIBTOOL_TAGS.
27912
27913 2005-07-18  Wim Taymans  <wim@fluendo.com>
27914
27915         * docs/gst/gstreamer.types:
27916         Remove deleted types.
27917
27918 2005-07-18  Wim Taymans  <wim@fluendo.com>
27919
27920         * check/elements/gstfakesrc.c: (GST_START_TEST):
27921         * configure.ac:
27922         * gst/Makefile.am:
27923         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27924         (init_popt_callback):
27925         * gst/gst.h:
27926         * gst/gst_private.h:
27927         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27928         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27929         * gst/gstbin.h:
27930         * gst/gstbus.h:
27931         * gst/gstconfig.h.in:
27932         * gst/gstelement.c: (gst_element_class_init),
27933         (gst_element_set_base_time), (gst_element_get_base_time),
27934         (iterator_fold_with_resync), (gst_element_change_state),
27935         (gst_element_dispose), (gst_element_get_bus):
27936         * gst/gstelement.h:
27937         * gst/gstelementfactory.h:
27938         * gst/gsterror.c: (_gst_core_errors_init):
27939         * gst/gsterror.h:
27940         * gst/gstevent.h:
27941         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
27942         * gst/gstindex.c:
27943         * gst/gstinfo.c: (_gst_debug_init):
27944         * gst/gstmessage.c: (_gst_message_copy):
27945         * gst/gstmessage.h:
27946         * gst/gstminiobject.h:
27947         * gst/gstobject.c:
27948         * gst/gstobject.h:
27949         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27950         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
27951         * gst/gstpad.h:
27952         * gst/gstparse.h:
27953         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27954         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
27955         (gst_pipeline_get_last_stream_time):
27956         * gst/gstpipeline.h:
27957         * gst/gstpluginfeature.h:
27958         * gst/gstquery.h:
27959         * gst/gstscheduler.c:
27960         * gst/gstscheduler.h:
27961         * gst/gststructure.h:
27962         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27963         (gst_task_finalize), (gst_task_func), (gst_task_create),
27964         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
27965         (gst_task_stop), (gst_task_pause):
27966         * gst/gsttask.h:
27967         * gst/gsttypefind.h:
27968         * gst/gsttypes.h:
27969         * gst/registries/gstlibxmlregistry.c: (load_feature),
27970         (gst_xml_registry_load), (gst_xml_registry_save_feature):
27971         * gst/registries/gstxmlregistry.c:
27972         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
27973         * gst/schedulers/threadscheduler.c:
27974         * libs/gst/control/dparammanager.h:
27975         * tools/gst-inspect.c: (print_element_list),
27976         (print_plugin_features), (print_element_features):
27977         * tools/gst-xmlinspect.c: (print_element_list),
27978         (print_plugin_info), (main):
27979         Removed plugable schedulers.
27980         Removed Scheduler/Manager from elements.
27981         Removed gsttypes.h, rearranged includes.
27982         Removed dependency pad<->element, element<>pipeline, and
27983         various others,  fix includes.
27984         implement gst_pad_get_parent() with gst_object_get_parent()
27985         Make GstTask sefcontained.
27986         Fix _get_state() on GstBin, it did not return ASYNC with a 0
27987         timeout.
27988         Fix endless loop in iterator_fold_with_resync.
27989
27990
27991 2005-07-18  Wim Taymans  <wim@fluendo.com>
27992
27993         * gst/Makefile.am:
27994         * gst/gstarch.h:
27995         Remove old file.
27996
27997 2005-07-18  Wim Taymans  <wim@fluendo.com>
27998
27999         * gst/Makefile.am:
28000         No more cothreads.h
28001
28002 2005-07-18  Wim Taymans  <wim@fluendo.com>
28003
28004         * gst/cothreads.c:
28005         * gst/cothreads.h:
28006         Let's remove these.
28007
28008 2005-07-18  Wim Taymans  <wim@fluendo.com>
28009
28010         * docs/design/part-dynamic.txt:
28011         * docs/design/part-events.txt:
28012         * docs/design/part-seeking.txt:
28013         Some more docs in the works.
28014
28015         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28016         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28017         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28018         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28019         (gst_base_transform_handle_buffer),
28020         (gst_base_transform_sink_activate_push),
28021         (gst_base_transform_src_activate_pull),
28022         (gst_base_transform_set_passthrough),
28023         (gst_base_transform_is_passthrough):
28024         Refcounting fixes.
28025
28026         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28027         Cleanups.
28028
28029         * gst/gstevent.c: (gst_event_finalize):
28030         Set SRC to NULL.
28031
28032         * gst/gstutils.c: (gst_element_unlink),
28033         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28034         (gst_pad_proxy_setcaps):
28035         * gst/gstutils.h:
28036         Add _get_parent_element() to get a pads parent as an element.
28037
28038 2005-07-18  Wim Taymans  <wim@fluendo.com>
28039
28040         * check/gst/gstbin.c: (GST_START_TEST):
28041         Remove bogus test.
28042
28043 2005-07-18  Wim Taymans  <wim@fluendo.com>
28044
28045         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28046         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28047         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28048         (gst_base_sink_event), (gst_base_sink_do_sync),
28049         (gst_base_sink_chain), (gst_base_sink_loop),
28050         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28051         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28052         Refcounting fixes.
28053         Fix logic for returning ASYNC when not prerolled.
28054
28055 2005-07-18  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28058         Fix nasty refcount bug.
28059
28060 2005-07-16 Philippe Khalaf <burger@speedy.org>
28061
28062         * gst/elements/gstfdsrc.c:
28063         * gst/elements/gstfdsrc.h:
28064         * gst/elements/gstelements.c:
28065         * gst/elements/Makefile.am:
28066         Ported fdsrc to 0.9.
28067
28068 2005-07-16  Wim Taymans  <wim@fluendo.com>
28069
28070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28071         (gst_base_sink_do_sync):
28072         Fix compile error.
28073
28074 2005-07-16  Wim Taymans  <wim@fluendo.com>
28075
28076         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28077         (gst_base_sink_event), (gst_base_sink_get_times),
28078         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28079         * gst/base/gstbasesink.h:
28080         Store and use discont values when syncing buffers as described
28081         in design docs.
28082         
28083         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28084         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28085         (gst_base_src_activate_push):
28086         Push discont event when starting.
28087
28088         * gst/elements/gstidentity.c: (gst_identity_transform):
28089         Small cleanups.
28090
28091         * gst/gstbin.c: (gst_bin_change_state):
28092         Small cleanups in base_time  distribution.
28093
28094         * gst/gstelement.c: (gst_element_set_base_time),
28095         (gst_element_get_base_time), (gst_element_change_state):
28096         * gst/gstelement.h:
28097         Added methods for the base_time of the element.
28098         Some MT fixes.
28099
28100         * gst/gstpipeline.c: (gst_pipeline_send_event),
28101         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28102         (gst_pipeline_get_last_stream_time):
28103         * gst/gstpipeline.h:
28104         MT fixes.
28105         Handle seeking as described in design doc, remove stream_time
28106         hack.
28107         Cleanups clock and stream_time selection code. Added accessors
28108         for the stream_time.
28109         
28110
28111 2005-07-16  Andy Wingo  <wingo@pobox.com>
28112
28113         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28114         (#305291).
28115
28116 2005-07-16  Wim Taymans  <wim@fluendo.com>
28117
28118         * check/gst/gstbin.c: (GST_START_TEST):
28119         Make elements silent as the deep_notify refs the
28120         parent, which might make the test fail.
28121
28122         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28123         Don't hold the lock for too long.
28124
28125 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28126
28127         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28128           Don't unref the caps we passed to gst_caps_make_writable() after
28129           passing them. gst_caps_make_writable() will do that for us.
28130
28131 2005-07-15  Andy Wingo  <wingo@pobox.com>
28132
28133         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28134         (#157311).
28135
28136         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28137         own marshalling function for the handoff signal. Properly type the
28138         buffer as a buffer. Fixes some warnings. Should do a more general
28139         solution.
28140         (gst_identity_class_init): Plug into the right marshaller.
28141
28142 2005-07-15  Wim Taymans  <wim@fluendo.com>
28143
28144         * docs/design/part-TODO.txt:
28145         * docs/design/part-clocks.txt:
28146         * docs/design/part-element-sink.txt:
28147         * docs/design/part-events.txt:
28148         * docs/design/part-gstpipeline.txt:
28149         Updated docs, mostly DISCONT related.
28150
28151 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28152
28153         * docs/pwg/building-pads.xml:
28154           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28155
28156 2005-07-15  Andy Wingo  <wingo@pobox.com>
28157
28158         * tools/gst-typefind.c: Update, add copyright block.
28159
28160         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28161         Normalize and truncate caps before fixation.
28162
28163         * gst/gstcaps.h:
28164         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28165         discards all but the first structure from its argument.
28166
28167 2005-07-15  Wim Taymans  <wim@fluendo.com>
28168
28169         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28170         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28171         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28172         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28173         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28174         (gst_base_transform_chain), (gst_base_transform_change_state),
28175         (gst_base_transform_set_passthrough),
28176         (gst_base_transform_is_passthrough):
28177         * gst/base/gstbasetransform.h:
28178         Make passthrough work using the bufferpools.
28179         Changed API a bit, subclasses have to write into a buffer
28180         provided by the base class.
28181         More debug info in nego functions.
28182         
28183         * gst/elements/gstidentity.c: (gst_identity_init),
28184         (gst_identity_transform):
28185         Port to new base class.
28186
28187 2005-07-15  Wim Taymans  <wim@fluendo.com>
28188
28189         * gst/gstmessage.c: (gst_message_new_state_changed):
28190         * tools/gst-launch.c: (event_loop), (main):
28191         Totally dump messages in -launch with the -m option.
28192         Fix message name for State messages,
28193
28194 2005-07-14  Wim Taymans  <wim@fluendo.com>
28195
28196         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28197         Post error messages on errors.
28198
28199 2005-07-14  Wim Taymans  <wim@fluendo.com>
28200
28201         * gst/gstcaps.c: (gst_caps_do_simplify):
28202         Remove debug info.
28203
28204         * gst/gsterror.h:
28205         Define error for stream stopped.
28206
28207         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28208         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28209         Do proper return values.
28210
28211         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28212         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28213         (gst_pad_get_range):
28214         Better return values.
28215
28216         * gst/gstpad.h:
28217         Reorganise return values, add macro to check for fatal errors.
28218
28219         * gst/gstqueue.c: (gst_queue_chain):
28220         Return proper GstFlowReturn values,
28221
28222 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28223
28224         * docs/gst/gstreamer-sections.txt:
28225         * docs/gst/gstreamer.types:
28226         * docs/gst/tmpl/gst.sgml:
28227         * docs/gst/tmpl/gstbasesink.sgml:
28228         * docs/gst/tmpl/gstbasesrc.sgml:
28229         * docs/gst/tmpl/gstbasetransform.sgml:
28230         * docs/gst/tmpl/gstbin.sgml:
28231         * docs/gst/tmpl/gstbuffer.sgml:
28232         * docs/gst/tmpl/gstcaps.sgml:
28233         * docs/gst/tmpl/gstclock.sgml:
28234         * docs/gst/tmpl/gstcompat.sgml:
28235         * docs/gst/tmpl/gstconfig.sgml:
28236         * docs/gst/tmpl/gstelement.sgml:
28237         * docs/gst/tmpl/gstelementdetails.sgml:
28238         * docs/gst/tmpl/gstelementfactory.sgml:
28239         * docs/gst/tmpl/gstenumtypes.sgml:
28240         * docs/gst/tmpl/gsterror.sgml:
28241         * docs/gst/tmpl/gstevent.sgml:
28242         * docs/gst/tmpl/gstfakesink.sgml:
28243         * docs/gst/tmpl/gstfakesrc.sgml:
28244         * docs/gst/tmpl/gstfilesink.sgml:
28245         * docs/gst/tmpl/gstfilesrc.sgml:
28246         * docs/gst/tmpl/gstfilter.sgml:
28247         * docs/gst/tmpl/gstformat.sgml:
28248         * docs/gst/tmpl/gstghostpad.sgml:
28249         * docs/gst/tmpl/gstimplementsinterface.sgml:
28250         * docs/gst/tmpl/gstindex.sgml:
28251         * docs/gst/tmpl/gstindexfactory.sgml:
28252         * docs/gst/tmpl/gstinfo.sgml:
28253         * docs/gst/tmpl/gstiterator.sgml:
28254         * docs/gst/tmpl/gstmacros.sgml:
28255         * docs/gst/tmpl/gstmemchunk.sgml:
28256         * docs/gst/tmpl/gstminiobject.sgml:
28257         * docs/gst/tmpl/gstobject.sgml:
28258         * docs/gst/tmpl/gstpad.sgml:
28259         * docs/gst/tmpl/gstpadtemplate.sgml:
28260         * docs/gst/tmpl/gstparse.sgml:
28261         * docs/gst/tmpl/gstpipeline.sgml:
28262         * docs/gst/tmpl/gstplugin.sgml:
28263         * docs/gst/tmpl/gstpluginfeature.sgml:
28264         * docs/gst/tmpl/gstquery.sgml:
28265         * docs/gst/tmpl/gstqueue.sgml:
28266         * docs/gst/tmpl/gstregistry.sgml:
28267         * docs/gst/tmpl/gstregistrypool.sgml:
28268         * docs/gst/tmpl/gstscheduler.sgml:
28269         * docs/gst/tmpl/gstschedulerfactory.sgml:
28270         * docs/gst/tmpl/gststructure.sgml:
28271         * docs/gst/tmpl/gstsystemclock.sgml:
28272         * docs/gst/tmpl/gsttaglist.sgml:
28273         * docs/gst/tmpl/gsttagsetter.sgml:
28274         * docs/gst/tmpl/gsttrace.sgml:
28275         * docs/gst/tmpl/gsttrashstack.sgml:
28276         * docs/gst/tmpl/gsttypefind.sgml:
28277         * docs/gst/tmpl/gsttypefindfactory.sgml:
28278         * docs/gst/tmpl/gsttypes.sgml:
28279         * docs/gst/tmpl/gsturihandler.sgml:
28280         * docs/gst/tmpl/gsturitype.sgml:
28281         * docs/gst/tmpl/gstutils.sgml:
28282         * docs/gst/tmpl/gstvalue.sgml:
28283         * docs/gst/tmpl/gstversion.sgml:
28284         * docs/gst/tmpl/gstxml.sgml:
28285         * docs/libs/tmpl/gstcontrol.sgml:
28286         * docs/libs/tmpl/gstdataprotocol.sgml:
28287         * docs/libs/tmpl/gstdparam.sgml:
28288         * docs/libs/tmpl/gstdplinint.sgml:
28289         * docs/libs/tmpl/gstdpman.sgml:
28290         * docs/libs/tmpl/gstdpsmooth.sgml:
28291         * docs/libs/tmpl/gstgetbits.sgml:
28292         * docs/libs/tmpl/gstunitconvert.sgml:
28293         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28294         (gst_push_src_base_init), (gst_push_src_class_init),
28295         (gst_push_src_init), (gst_push_src_create):
28296         * gst/base/gstpushsrc.h:
28297         * gst/elements/gstelements.c:
28298         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28299         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28300         (gst_fake_sink_init), (gst_fake_sink_set_property),
28301         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28302         (gst_fake_sink_event), (gst_fake_sink_preroll),
28303         (gst_fake_sink_render), (gst_fake_sink_change_state):
28304         * gst/elements/gstfakesink.h:
28305         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28306         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28307         (gst_fake_src_base_init), (gst_fake_src_class_init),
28308         (gst_fake_src_init), (gst_fake_src_event_handler),
28309         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28310         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28311         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28312         (gst_fake_src_create_buffer), (gst_fake_src_create),
28313         (gst_fake_src_start), (gst_fake_src_stop):
28314         * gst/elements/gstfakesrc.h:
28315         * gst/elements/gstfilesink.c: (_do_init),
28316         (gst_file_sink_base_init), (gst_file_sink_class_init),
28317         (gst_file_sink_init), (gst_file_sink_dispose),
28318         (gst_file_sink_set_location), (gst_file_sink_set_property),
28319         (gst_file_sink_get_property), (gst_file_sink_open_file),
28320         (gst_file_sink_close_file), (gst_file_sink_query),
28321         (gst_file_sink_event), (gst_file_sink_render),
28322         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28323         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28324         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28325         * gst/elements/gstfilesink.h:
28326         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28327         (gst_file_src_class_init), (gst_file_src_init),
28328         (gst_file_src_finalize), (gst_file_src_set_location),
28329         (gst_file_src_set_property), (gst_file_src_get_property),
28330         (gst_file_src_map_region), (gst_file_src_map_small_region),
28331         (gst_file_src_create_mmap), (gst_file_src_create_read),
28332         (gst_file_src_create), (gst_file_src_is_seekable),
28333         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28334         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28335         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28336         (gst_file_src_uri_handler_init):
28337         * gst/elements/gstfilesrc.h:
28338           more autistic cleanliness in functions/names/defines
28339
28340 2005-07-13  Andy Wingo  <wingo@pobox.com>
28341
28342         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28343         source couldn't negotiate.
28344
28345         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28346         connections again.
28347
28348         * gst/gstutils.h:
28349         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28350         function. I am channeling Hades. Put your boots on suckers!!!
28351
28352 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28353
28354         * testsuite/caps/Makefile.am:
28355         * testsuite/caps/value_compare.c:
28356         * testsuite/caps/value_intersect.c:
28357         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28358           move two testsuite apps over to the check dir
28359
28360 2005-07-12  Wim Taymans  <wim@fluendo.com>
28361
28362         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28363         Added more debug info in the negotiate process.
28364
28365         * gst/gstmessage.h:
28366         Prepare for segment playback.
28367
28368         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28369         Better debugging.
28370
28371         * gst/gstutils.c:
28372         Some more docs.
28373
28374         * tools/gst-launch.c: (main):
28375         NULL pipeline on errors.
28376
28377 2005-07-12  Andy Wingo  <wingo@pobox.com>
28378
28379         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28380         not it comes from a malloc region. Make sure our copy gets freed.
28381
28382 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28383
28384         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28385         * check/gst/gstmessage.c: (GST_START_TEST):
28386         * check/gst/gststructure.c: (GST_START_TEST),
28387         (gst_structure_suite), (main):
28388           more testing
28389         * gst/gstelement.c: (gst_element_message_full):
28390           clean up GError and debug string now that they get copied
28391         * gst/gstmessage.c: (gst_message_new_error),
28392         (gst_message_new_warning), (gst_message_parse_error),
28393         (gst_message_parse_warning):
28394           use GST_TYPE_G_ERROR for structure_new, and take copies of
28395           arguments, so that we don't mess up refcounting
28396
28397 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28398
28399         * check/Makefile.am:
28400           add per-test valgrind targets
28401         * check/gst-libs/gdp.c: (GST_START_TEST),
28402         (gst_data_protocol_suite), (main):
28403           clean up
28404
28405 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28406
28407         * check/Makefile.am:
28408           instate more valgrindable tests
28409         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28410         (GST_START_TEST), (fakesrc_suite):
28411         * check/gst/gstpad.c: (GST_START_TEST):
28412         * check/gst/gststructure.c: (GST_START_TEST):
28413           fix test leaks
28414         * docs/gst/tmpl/gstminiobject.sgml:
28415         * gst/gstpad.c: (gst_pad_finalize):
28416           fix the static mutex leak
28417
28418 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28419
28420         * check/Makefile.am:
28421           add two more tests for valgrinding
28422         * check/gst/gstvalue.c: (GST_START_TEST):
28423           test refcount of deserialized buffer, found a leak
28424         * docs/gst/gstreamer-docs.sgml:
28425         * docs/gst/gstreamer-sections.txt:
28426         * docs/gst/gstreamer.types:
28427         * docs/gst/tmpl/gstminiobject.sgml:
28428           add miniobject to docs
28429         * gst/gstminiobject.c:
28430           add some docs
28431         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28432         (gst_string_unwrap):
28433           fix a hard-to-find invalid write for one of the tests
28434           fix a leak for deserialized buffers
28435
28436 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28437
28438         * docs/pwg/advanced-events.xml:
28439         * docs/pwg/advanced-request.xml:
28440         * docs/pwg/advanced-scheduling.xml:
28441         * docs/pwg/appendix-porting.xml:
28442         * docs/pwg/building-boiler.xml:
28443         * docs/pwg/intro-preface.xml:
28444         * docs/pwg/other-ntoone.xml:
28445           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28446           of example code and explanation for pad activation, loop() and
28447           getrange() functions and a bit more. Remove old comments pointing
28448           to loop-functions.
28449         * examples/pwg/Makefile.am:
28450           Add loop/getrange examples.
28451
28452 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28453
28454         * configure.ac:
28455           check for valgrind binary + some fixes
28456         * check/gst.supp:
28457           valgrind suppressions for the tests
28458         * check/Makefile.am:
28459           add a valgrind: target that valgrinds the unit tests
28460         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28461         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28462         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28463         * check/gst/gstghostpad.c:
28464           added some cleanup
28465         * check/gst/gstdata.c:
28466           removed
28467         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28468         (thread_unref), (gst_mini_object_suite), (main):
28469           added
28470         * gst/gst.c: (gst_deinit):
28471         * gst/gst.h:
28472           add a method to clean up.
28473         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28474         (gst_system_clock_obtain):
28475           allow for disposing the system clock.
28476         * tools/gst-launch.c: (main):
28477           deinit
28478
28479 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28480
28481         * docs/gst/tmpl/gstbasesrc.sgml:
28482         * docs/gst/tmpl/gstfakesrc.sgml:
28483         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28484         (gst_base_src_init), (gst_base_src_set_property),
28485         (gst_base_src_get_property), (gst_base_src_get_range),
28486         (gst_base_src_start):
28487         * gst/base/gstbasesrc.h:
28488           add num-buffers property
28489         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28490         (gst_fakesrc_init), (gst_fakesrc_set_property),
28491         (gst_fakesrc_get_property), (gst_fakesrc_create),
28492         (gst_fakesrc_start):
28493           remove num-buffers property
28494
28495 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28496
28497         * docs/gst/gstreamer-sections.txt:
28498         * docs/gst/tmpl/gstbasesink.sgml:
28499         * docs/gst/tmpl/gstbasesrc.sgml:
28500         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28501         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28502         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28503         (gst_base_sink_set_property), (gst_base_sink_get_property),
28504         (gst_base_sink_handle_object), (gst_base_sink_event),
28505         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28506         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28507         (gst_base_sink_loop), (gst_base_sink_deactivate),
28508         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28509         (gst_base_sink_change_state):
28510         * gst/base/gstbasesink.h:
28511         * gst/base/gstbasesrc.h:
28512         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28513         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28514         (gst_filesink_init):
28515           more macro splitting
28516
28517 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28518
28519         * gst/gstelement.c: (gst_element_get_bus):
28520           add debug
28521         * tools/gst-launch.c: (check_intr), (event_loop):
28522           fix bus leaks
28523
28524 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28525
28526         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28527           fix a caps leak
28528
28529 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28530
28531         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28532         (gst_base_src_finalize):
28533           add finalize method and clean up properly
28534         * gst/gstpipeline.c: (gst_pipeline_dispose):
28535           add debug
28536
28537 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28538
28539         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28540         (gst_bin_suite):
28541           add more things to check
28542         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28543         * gst/gstelement.c:
28544           more debug
28545
28546 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28547
28548         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28549         (GST_START_TEST), (fakesrc_suite):
28550         * check/gst-libs/gdp.c: (GST_START_TEST):
28551         * check/gst/gst.c: (GST_START_TEST):
28552         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28553         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28554         * check/gst/gstbus.c: (GST_START_TEST):
28555         * check/gst/gstcaps.c: (GST_START_TEST):
28556         * check/gst/gstdata.c: (GST_START_TEST):
28557         * check/gst/gstelement.c: (GST_START_TEST):
28558         * check/gst/gstghostpad.c: (GST_START_TEST):
28559         * check/gst/gstiterator.c: (GST_START_TEST):
28560         * check/gst/gstmessage.c: (GST_START_TEST):
28561         * check/gst/gstobject.c: (GST_START_TEST):
28562         * check/gst/gstpad.c: (GST_START_TEST):
28563         * check/gst/gststructure.c: (GST_START_TEST):
28564         * check/gst/gstsystemclock.c: (GST_START_TEST),
28565         (gst_systemclock_suite):
28566         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28567         * check/gst/gstvalue.c: (GST_START_TEST):
28568         * check/pipelines/cleanup.c: (GST_START_TEST):
28569         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28570         * check/states/sinks.c: (GST_START_TEST):
28571         * check/gstcheck.c: (gst_check_init):
28572         * check/gstcheck.h:
28573           add debugging category
28574           use GST_START_TEST now, so we add a debug line
28575
28576 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28577
28578         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28579           add test for state change message on a bin
28580         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28581           add another test
28582         * gst/gstbin.c: (gst_bin_init):
28583         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28584         * gst/gstelement.c: (gst_element_post_message),
28585         (gst_element_set_state):
28586         * gst/gstelementfactory.c: (gst_element_factory_create):
28587         * gst/gstmessage.c: (gst_message_new):
28588         * gst/gstscheduler.c:
28589           various debugging additions and cleanups
28590
28591 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28592
28593         * check/Makefile.am:
28594         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28595         (main):
28596           adding tests for elements
28597         * gst/gstelement.c: (gst_element_dispose):
28598
28599 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28600
28601         * gst/registries/gstlibxmlregistry.c: (load_feature):
28602           plug more leaks.  A simple gst_init() now is leakfree, yay.
28603
28604 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28605
28606         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28607         (gst_xml_registry_load):
28608           plug another memleak
28609
28610 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28611
28612         * configure.ac:
28613           use GST_SET_ERROR_CFLAGS
28614         * docs/faq/cvs.xml:
28615           change to ERROR_CFLAGS
28616
28617 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28618
28619         * configure.ac:
28620           make GST_ERROR_CFLAGS overridable and re-enable Werror
28621         * docs/faq/cvs.xml:
28622           add a note about error CFLAGS
28623         * docs/gst/tmpl/gstfakesrc.sgml:
28624         * gst/elements/gstfakesrc.c:
28625           comment out some unused code
28626         * gst/gst.c: (split_and_iterate):
28627         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28628         (load_feature):
28629           plug some memleaks
28630
28631 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28632
28633         * common/Makefile.am:
28634         * common/gtk-doc.mak:
28635         * docs/gst/Makefile.am:
28636           factor out gtk-doc.mak
28637
28638 2005-07-07  Wim Taymans  <wim@fluendo.com>
28639
28640         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28641         (gst_thread_scheduler_dispose):
28642         Unlock the STREAM_LOCK completely.
28643
28644 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28645
28646         * check/Makefile.am:
28647         * check/elements/.cvsignore:
28648         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28649         (START_TEST), (fakesrc_suite), (main):
28650         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28651         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28652         (gst_fakesrc_create), (gst_fakesrc_start):
28653         * gst/elements/gstfakesrc.h:
28654           adding a first element test
28655
28656 2005-07-07  Andy Wingo  <wingo@pobox.com>
28657
28658         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28659         debug message.
28660
28661 2005-07-07  Wim Taymans  <wim@fluendo.com>
28662
28663         * gst/gstquery.c:
28664         * gst/gstquery.h:
28665         Remove old types
28666
28667 2005-07-07  Wim Taymans  <wim@fluendo.com>
28668
28669         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28670         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28671         Allow subclasses to implement their own negotiation.
28672
28673 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28674
28675         * docs/design/part-gstbin.txt:
28676         * docs/design/part-gstpipeline.txt:
28677           Update design notes to reflect the movement of
28678           responsibility for bus handling from GstPipeline to
28679           GstBin
28680
28681 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28682
28683         * configure.ac:
28684           Remove unnecessary queue2/3/4 examples.
28685
28686 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28687
28688         * examples/Makefile.am:
28689         * examples/helloworld/helloworld.c: (event_loop), (main):
28690         * examples/queue/queue.c: (event_loop), (main):
28691         * examples/queue2/queue2.c: (main):
28692           Update a couple of the examples to work again.
28693
28694         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28695         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28696          Spelling corrections and extra debug.
28697         
28698         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28699         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28700         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28701         * gst/gstbin.h:
28702         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28703         (gst_pipeline_change_state):
28704         * gst/gstpipeline.h:
28705           Move the bus handler for children to the GstBin, and create a
28706           separate bus for receiving messages from children to the one the
28707           bus sends 'upwards' on.
28708
28709 2005-07-06  Wim Taymans  <wim@fluendo.com>
28710
28711         * gst/base/README:
28712         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28713         (gst_base_sink_handle_object), (gst_base_sink_loop),
28714         (gst_base_sink_change_state):
28715         * gst/base/gstbasesink.h:
28716         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28717         (gst_base_src_init), (gst_base_src_setcaps),
28718         (gst_base_src_getcaps), (gst_base_src_loop),
28719         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28720         (gst_base_src_start), (gst_base_src_change_state):
28721         * gst/base/gstbasesrc.h:
28722         Make basesrc negotiate.
28723         Handle the case where preroll fails in basesink.
28724         Update README.
28725
28726 2005-07-06  Wim Taymans  <wim@fluendo.com>
28727
28728         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28729         Implement the fixate function.
28730         Clean up acceptcaps.
28731
28732 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28733
28734         * docs/pwg/building-filterfactory.xml:
28735         * docs/pwg/pwg.xml:
28736           Remove never-written filter-factory chapter; I'll add the various
28737           base classes to part 4 ("other element types") later on.
28738
28739 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28740
28741         * docs/pwg/advanced-negotiation.xml:
28742         * docs/pwg/building-boiler.xml:
28743         * docs/pwg/building-pads.xml:
28744         * docs/pwg/pwg.xml:
28745         * examples/pwg/Makefile.am:
28746           Add a chapter on caps negotiation, simplify the original code
28747           samples a bit w.r.t. caps negotiation, add link to the advanced
28748           section. Add a bunch of examples showing different use cases of
28749           different types of caps negotiation. Upstream renegotiation isn't
28750           fully documented yet since nobody knows how that works.
28751
28752 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28753
28754         * check/gst/gstpad.c:
28755         * check/gstcheck.c:
28756         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28757           if pad has no parent, return NULL as list of internal links
28758
28759 2005-07-05  Andy Wingo  <wingo@pobox.com>
28760
28761         * gst/elements/gstfilesrc.c:
28762         * gst/elements/gstfakesrc.c: 
28763         * gst/base/gstpushsrc.c:
28764         * gst/base/gstbasesrc.h: 
28765         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28766         
28767 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28768
28769         * Makefile.am:
28770           better report generation target (lcov needs a patch)
28771
28772 2005-07-05  Andy Wingo  <wingo@pobox.com>
28773
28774         * gst/elements, testsuite: Null if we got it...
28775
28776 2005-07-05  Wim Taymans  <wim@fluendo.com>
28777
28778         * configure.ac:
28779         * libs/gst/dataprotocol/Makefile.am:
28780         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28781         * libs/gst/dataprotocol/dataprotocol.h:
28782         * pkgconfig/Makefile.am:
28783         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28784         * pkgconfig/gstreamer-dataprotocol.pc.in:
28785         Ported dataprotol to 0.9. 
28786         Added pkgconfig files.
28787
28788 2005-07-05  Andy Wingo  <wingo@pobox.com>
28789
28790         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28791         Default to returning TRUE for the case when tranform_caps returns
28792         a fixed caps, like for identity or volume.
28793
28794         * check/gst/gstbus.c (pound_bus_with_messages): 
28795         * check/gst/gstmessage.c (START_TEST): 
28796         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28797         message API change.
28798
28799         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28800         logic weaks here: always run transform_caps, trying passthrough
28801         operation only if the original caps intersects with the transform.
28802
28803         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28804         source and sink caps.
28805
28806         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28807         Intersect the peer caps with the pad template before going into
28808         transform_caps.
28809         (gst_base_transform_transform_caps): More debugging.
28810
28811         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28812         src argument.
28813
28814 2005-07-04  Edward Hervey  <edward@fluendo.com>
28815
28816         * gst/gstutils.c:
28817         * gst/gstutils.h:
28818         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28819         in bindings.
28820
28821 2005-07-04  Andy Wingo  <wingo@pobox.com>
28822
28823         * check/gst/gstpad.c: Only set explicit caps on pads.
28824
28825 2005-07-01  Andy Wingo  <wingo@pobox.com>
28826
28827         * tests/network-clock.scm: Commentary update.
28828
28829         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28830         Didn't really make sense, not implementable with basetransform,
28831         etc.
28832         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28833         attempt at implementing the sync property, needs an unlock method.
28834
28835         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28836         New func, by default returns the same caps (the identity
28837         transformation).
28838         (gst_base_transform_getcaps): Uses transform_caps to return
28839         something sensible.
28840         (gst_base_transform_setcaps): Complicated logic to get caps on
28841         both pads, even if they are different, and to call set_caps once
28842         for every time both pads get their caps set.
28843         (gst_base_transform_handle_buffer): Give the ref to the transform
28844         function. Allows in-place modification of the buffer.
28845
28846         * gst/base/gstbasetransform.h (transform_caps): New class method.
28847         Given caps on one side, what can I do on the other.
28848         (set_caps): Take two caps, one for each side of the element.
28849
28850         * gst/gstpad.h:
28851         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28852         caps in place. This is safe because we can check the mutability of
28853         the caps, and a good idea because fixate functions are just called
28854         as a matter of last resort. (Not actually implemented.)
28855         (gst_pad_set_caps): If the caps we're setting is actually the same
28856         as the existing pad caps, just update the pointer without calling
28857         setcaps. Assert that caps is either NULL or fixed, as per the
28858         docs.
28859
28860         * gst/gstghostpad.c: Update for fixate changes.
28861
28862 2005-07-02  Andy Wingo  <wingo@pobox.com>
28863
28864         * gst/gstcaps.c:
28865         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28866         two refcounts makes it immutable, which is enough. Doc more.
28867
28868 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28869
28870         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28871           Put the mini_object into GValue as a mini_object,
28872           not a gpointer, since that's how we declared
28873           the signal.
28874
28875 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28876
28877         * examples/pwg/Makefile.am:
28878           Fix buildbot again.
28879
28880 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28881
28882         * docs/pwg/building-testapp.xml:
28883           Add extra check.
28884         * examples/pwg/Makefile.am:
28885           Fix buildbot.
28886
28887 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28888
28889         * configure.ac:
28890         * examples/Makefile.am:
28891         * examples/pwg/Makefile.am:
28892         * examples/pwg/extract.pl:
28893           Enable building the PWG examples.
28894         * docs/pwg/advanced-interfaces.xml:
28895           Add URI interface stub.
28896         * docs/pwg/advanced-types.xml:
28897         * docs/pwg/other-autoplugger.xml:
28898         * docs/pwg/appendix-porting.xml:
28899         * docs/pwg/pwg.xml:
28900           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28901         * docs/pwg/building-boiler.xml:
28902         * docs/pwg/building-chainfn.xml:
28903         * docs/pwg/building-pads.xml:
28904         * docs/pwg/building-props.xml:
28905         * docs/pwg/building-state.xml:
28906         * docs/pwg/building-testapp.xml:
28907           Update the building-*.xml parts for 0.9 changes. All examples
28908           code blocks compile in examples/pwg/*.
28909
28910 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28911
28912         * docs/manual/advanced-autoplugging.xml:
28913         * docs/manual/appendix-checklist.xml:
28914         * docs/manual/appendix-integration.xml:
28915         * docs/manual/highlevel-components.xml:
28916           Fix playbin/decodebin examples, update docs a bit, mention bus
28917           instead of signals in various places, mention kmplayer and
28918           kaffeine since they have a working GStreamer backend in the KDE
28919           section.
28920
28921 2005-06-30  Wim Taymans  <wim@fluendo.com>
28922
28923         * CHANGES-0.9:
28924         * docs/design/draft-ghostpads.txt:
28925         * docs/design/draft-push-pull.txt:
28926         * docs/design/draft-query.txt:
28927         * docs/design/part-TODO.txt:
28928         * docs/design/part-query.txt:
28929         Added CHANGES-0.9 doc, updated status of other docs.
28930         
28931         * gst/gstquery.h:
28932         Remove "hmm" macro
28933
28934 2005-06-30  Wim Taymans  <wim@fluendo.com>
28935
28936         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28937         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28938         (gst_base_sink_change_state):
28939         * gst/base/gstbasesink.h:
28940         Some tweaks, only EOS and a buffer complete a preroll.
28941
28942 2005-06-30  Andy Wingo  <wingo@pobox.com>
28943
28944         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
28945         activate_push down to the internal pad as well.
28946
28947 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
28948
28949         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28950
28951         * gst/gsttaginterface.c:
28952           Some documentation fixes (#307394 and #307397).
28953
28954 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
28955
28956         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28957
28958         * gst/gstvalue.c: (gst_value_intersect_list):
28959           Fix memleak (#309125).
28960
28961 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28962
28963         * docs/manual/advanced-dataaccess.xml:
28964           Fix fakesrc example to compile; doesn't work, bug somewhere...?
28965         * docs/manual/basics-pads.xml:
28966           Add reference for filtered caps to above chapter.
28967
28968 2005-06-30  Wim Taymans  <wim@fluendo.com>
28969
28970         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
28971         (gst_bin_change_state):
28972         Probes are gone.
28973         Lame attempt at making the state change function a bit
28974         more readable.
28975
28976 2005-06-30  Wim Taymans  <wim@fluendo.com>
28977
28978         * docs/design/part-clocks.txt:
28979         * docs/design/part-element-sink.txt:
28980         * docs/design/part-events.txt:
28981         * docs/design/part-preroll.txt:
28982         * docs/design/part-states.txt:
28983         Some more tweeks and additions to the docs.
28984
28985 2005-06-30  Wim Taymans  <wim@fluendo.com>
28986
28987         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
28988         (default_have_data), (gst_pad_class_init), (gst_pad_init),
28989         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
28990         (gst_pad_check_pull_range), (gst_pad_get_range),
28991         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
28992         * gst/gstpad.h:
28993         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
28994         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
28995         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
28996         (gst_pad_remove_buffer_probe):
28997         Removed atomic operations, use existing LOCK.
28998         Move exception handling out of main code path.
28999
29000 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29001
29002         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29003         (silly_return_true_function), (gst_pad_class_init),
29004         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29005         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29006         (gst_pad_send_event):
29007           Fix accumulator, add default value by using _emitv() instead
29008           of _emit() for signal emission.
29009
29010 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29011
29012         * docs/manual/advanced-dataaccess.xml:
29013         * examples/manual/Makefile.am:
29014           Add probe example.
29015         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29016           Make work (??).
29017
29018 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29019
29020         * gst/elements/gstfilesink.c: (gst_filesink_render):
29021           Simplify code so that we don't have to handle short
29022           writes and return GST_FLOW_ERROR if an error occured.
29023
29024 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29025
29026         * docs/gst/gstreamer-docs.sgml:
29027           Remove probes more.
29028
29029 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29030
29031         * docs/gst/gstreamer-sections.txt:
29032         * docs/gst/tmpl/gstpad.sgml:
29033         * docs/gst/tmpl/gstprobe.sgml:
29034         * gst/Makefile.am:
29035         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29036         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29037         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29038         (gst_pad_push_event), (gst_pad_send_event):
29039         * gst/gstpad.h:
29040         * gst/gstutils.c: (gst_pad_add_data_probe),
29041         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29042         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29043         (gst_pad_remove_buffer_probe):
29044         * gst/gstutils.h:
29045           Remove old probes, add new g-signal-based probes and some utility
29046           functions.
29047
29048 2005-06-29  Edward Hervey  <edward@fluendo.com>
29049
29050         * gst/gstelementfactory.c:
29051         * gst/gstutils.h:
29052         * gst/gstutils.c:
29053         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29054         the definition to the header file.
29055
29056 2005-06-29  Andy Wingo  <wingo@pobox.com>
29057
29058         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29059         plugins from the source directory.
29060
29061 2005-06-29  Wim Taymans  <wim@fluendo.com>
29062
29063         * docs/gst/tmpl/gstbuffer.sgml:
29064         * docs/gst/tmpl/gstclock.sgml:
29065         Some fixings for blantently wrong text.
29066
29067 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29068
29069         * check/Makefile.am:
29070         * gst/gst.c: (add_path_func), (init_pre):
29071         * gst/gstregistry.c: (gst_registry_add_path):
29072           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29073           only scan the GST_PLUGIN_PATH locations, and not add
29074           system locations
29075
29076 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29077
29078         * docs/gst/gstreamer-sections.txt:
29079         * docs/gst/tmpl/gstbasesrc.sgml:
29080         * gst/gstelement.c:
29081         * gst/gstelement.h:
29082         * gst/gstevent.c:
29083         * gst/gstutils.c:
29084           doc fixes
29085
29086 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29087
29088         * docs/manual/advanced-autoplugging.xml:
29089           Fix autoplugging example.
29090
29091 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29092
29093         * docs/manual/advanced-autoplugging.xml:
29094         * docs/manual/mime-world.fig:
29095           Try to get autoplugging working, fix type detection. Fix text
29096           in hello-world image.
29097
29098 2005-06-29  Wim Taymans  <wim@fluendo.com>
29099
29100         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29101         (gst_base_sink_change_state):
29102         Small debug line.
29103
29104         * gst/gstclock.h:
29105         map SIGNAL and BROADCAST to the right function.
29106
29107         * gst/gstobject.h:
29108         Remove redundant braces.
29109
29110         * gst/gstpad.c: (gst_pad_set_caps):
29111         Don't call setcaps function when reseting caps to NULL.
29112
29113         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29114         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29115         (gst_system_clock_id_unschedule):
29116         Use BROADCAST as this is what we do.
29117
29118 2005-06-29  Wim Taymans  <wim@fluendo.com>
29119
29120         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29121         We are actually prerolling before commiting the state
29122         change. 
29123
29124 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29125
29126         * docs/manual/advanced-clocks.xml:
29127         * docs/manual/advanced-interfaces.xml:
29128         * docs/manual/advanced-metadata.xml:
29129         * docs/manual/advanced-position.xml:
29130         * docs/manual/advanced-schedulers.xml:
29131         * docs/manual/advanced-threads.xml:
29132         * docs/manual/appendix-porting.xml:
29133         * docs/manual/basics-bins.xml:
29134         * docs/manual/basics-bus.xml:
29135         * docs/manual/basics-elements.xml:
29136         * docs/manual/basics-helloworld.xml:
29137         * docs/manual/basics-pads.xml:
29138         * docs/manual/highlevel-components.xml:
29139         * docs/manual/manual.xml:
29140         * docs/manual/thread.fig:
29141           Update (until threads/scheduling) Application Development Manual;
29142           remove GstThread, add GstBus, add simple porting checklist, add
29143           documentation for tag writing, clocks, make all examples until this
29144           part compile and run.
29145         * examples/manual/Makefile.am:
29146           Update from changes to Application Development Manual; add bus
29147           example, remove thread example.
29148
29149 2005-06-28  Wim Taymans  <wim@fluendo.com>
29150
29151         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29152         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29153         (gst_bus_source_dispatch):
29154         Add debugging messages.
29155         Make internal methods static.
29156         Handle the case where the bus is flushed in the handler.
29157         
29158         * gst/gstelement.c: (gst_element_get_bus):
29159         Fix refcount in _get_bus();
29160
29161         * gst/gstpipeline.c: (gst_pipeline_change_state),
29162         (gst_pipeline_get_clock_func):
29163         Clock refcounting fixes.
29164         Handle the case where preroll timed out more gracefully.
29165         
29166         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29167         Clean up the internal thread in dispose. This is needed
29168         for subclasses that actually get disposed.
29169         
29170         * gst/schedulers/threadscheduler.c:
29171         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29172         (gst_thread_scheduler_dispose):
29173         Free thread pool in dispose.
29174
29175 2005-06-28  Andy Wingo  <wingo@pobox.com>
29176
29177         * tests/network-clock-utils.scm (debug, print-event): New utils.
29178
29179         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29180         (*packet-loss*): Unified loss probability.
29181         (network-time): Report out-of-band events.
29182
29183         * tests/plot-data: Add support for out-of-band events. Hack it
29184         into this script instead of passing it down the pipe; should fix
29185         this later.
29186
29187 2005-06-28  Wim Taymans  <wim@fluendo.com>
29188
29189         * docs/gst/gstreamer.types:
29190         * docs/gst/tmpl/gstbasesrc.sgml:
29191         * docs/gst/tmpl/gstpad.sgml:
29192         Docs fixes.
29193
29194 2005-06-28  Wim Taymans  <wim@fluendo.com>
29195
29196         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29197         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29198         (gst_proxy_pad_do_fixatecaps):
29199         Correctly proxy the check_pull_range function.
29200
29201 2005-06-28  Andy Wingo  <wingo@pobox.com>
29202
29203         * tests/network-clock.scm: Removed need for slib.
29204         
29205 2005-06-28  Wim Taymans  <wim@fluendo.com>
29206
29207         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29208         (gst_basesink_preroll_queue_flush):
29209         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29210         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29211         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29212         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29213         (gst_proxy_pad_set_property):
29214         * gst/gstpad.c:
29215         * gst/gstpad.h:
29216         * gst/gstqueue.c: (gst_queue_init):
29217         The deprecated pad loop function is removed now.
29218
29219 2005-06-28  Andy Wingo  <wingo@pobox.com>
29220
29221         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29222         New parameters, simulate network packet loss.
29223
29224         * tests/network-clock-utils.scm: Initialize the RNG.
29225
29226 2005-06-28  Wim Taymans  <wim@fluendo.com>
29227
29228         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29229         (gst_basesink_event), (gst_basesink_deactivate):
29230         Flushing the preroll queue always needs to unlock the waiters.
29231
29232 2005-06-28  Edward Hervey  <edward@fluendo.com>
29233
29234         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29235         Wheen a seek was successful on a pipeline, set the stream_time to the
29236         seek offset in order to have a synchronized stream_time.
29237
29238 2005-06-28  Wim Taymans  <wim@fluendo.com>
29239
29240         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29241         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29242         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29243         (gst_proxy_pad_do_fixatecaps):
29244         Call wrapper function instead of just calling the function
29245         pointers. This takes care of any locking and whatmore.
29246
29247 2005-06-28  Wim Taymans  <wim@fluendo.com>
29248
29249         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29250         (gst_pad_pull_range):
29251         * gst/gstpad.h:
29252         CONNECTED -> LINKED.
29253
29254 2005-06-28  Andy Wingo  <wingo@pobox.com>
29255
29256         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29257         source-munging commit!!!
29258
29259         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29260         (gst_object_sink): Take gpointer arguments, not GstObject --
29261         avoids casts. Like GLib.
29262
29263         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29264         activate.
29265
29266 2005-06-27  Andy Wingo  <wingo@pobox.com>
29267
29268         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29269         remaining buffer.
29270
29271         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29272         returns a sorted copy of the trace list.
29273         (gst_alloc_trace_print_live): New API, only prints traces with
29274         live objects. Sort the list.
29275         (gst_alloc_trace_print_all): Sort the list.
29276         (gst_alloc_trace_print): Align columns.
29277
29278         * gst/elements/gstttypefindelement.c:
29279         * gst/elements/gsttee.c:
29280         * gst/base/gstbasesrc.c:
29281         * gst/base/gstbasesink.c:
29282         * gst/base/gstbasetransform.c:
29283         * gst/gstqueue.c: Adapt for pad activation changes.
29284
29285         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29286         sched.
29287         (gst_pipeline_dispose): Drop ref on sched.
29288
29289         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29290         (gst_pad_activate_default): Push mode by default.
29291         (pre_activate_switch, post_activate_switch): New stubs, things to
29292         do before and after switching activation modes on pads.
29293         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29294         the pad's activate function to choose which mode to activate.
29295         Shortcut on deactivation and call the right function directly.
29296         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29297         mode.
29298         (gst_pad_activate_push): New API, same for push mode.
29299         (gst_pad_set_activate_function) 
29300         (gst_pad_set_activatepull_function) 
29301         (gst_pad_set_activatepush_function): Setters for new API.
29302
29303         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29304         Trace all miniobjects.
29305         (gst_mini_object_make_writable): Unref the arg if we copy, like
29306         gst_caps_make_writable.
29307
29308         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29309
29310         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29311         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29312         Adapt for new pad API.
29313
29314         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29315
29316         * gst/gstelement.h:
29317         * gst/gstelement.c (gst_element_iterate_src_pads) 
29318         (gst_element_iterate_sink_pads): New API functions.
29319         
29320         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29321         should fold into gstiterator.c in some form.
29322         (gst_element_pads_activate): Simplified via use of fold and
29323         delegation of decisions to gstpad->activate.
29324
29325         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29326         help in debugging.
29327
29328         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29329         class once in init, like gstmessage. Didn't run into this issue
29330         but it seems correct. Don't initialize a trace, gstminiobject does
29331         that.
29332
29333         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29334         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29335         to the bus.
29336         (assert_live_count): New util function, uses alloc traces to check
29337         cleanup.
29338
29339         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29340         To be modified when unlink drops the internal pad.
29341
29342 2005-06-27  Wim Taymans  <wim@fluendo.com>
29343
29344         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29345         (gst_bin_change_state):
29346         Cleanup the get_state() function a little, make sure it
29347         iterates the same set of elements.
29348         Added stub iterate_state_order().
29349
29350 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29351
29352         * docs/gst/gstreamer-docs.sgml:
29353         * docs/gst/gstreamer-sections.txt:
29354         * docs/gst/gstreamer.types:
29355         * docs/gst/tmpl/gstbasesink.sgml:
29356         * docs/gst/tmpl/gstbasesrc.sgml:
29357         * docs/gst/tmpl/gstbasetransform.sgml:
29358         * docs/gst/tmpl/gstelement.sgml:
29359         * docs/gst/tmpl/gstiterator.sgml:
29360         * gst/base/gstbasesrc.c:
29361         * gst/base/gstbasesrc.h:
29362         * gst/base/gstbasetransform.h:
29363         * gst/gstelement.c:
29364         * gst/gstiterator.h:
29365           adding basetransform and iterator docs
29366
29367 2005-06-27  Andy Wingo  <wingo@pobox.com>
29368
29369         * docs/design/part-activation.txt: Notes on how activation should
29370         work -- not quite implemented yet.
29371
29372 2005-06-25  Wim Taymans  <wim@fluendo.com>
29373
29374         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29375         At least get the chain function correct, needs more
29376         fixing.
29377
29378 2005-06-25  Wim Taymans  <wim@fluendo.com>
29379
29380         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29381         (gst_basesink_handle_object), (gst_basesink_event),
29382         (gst_basesink_do_sync), (gst_basesink_handle_event),
29383         (gst_basesink_change_state):
29384         * gst/gsttask.h:
29385         Right, two problems here: ghostpads don't take locks and
29386         glib _rec_mutex_lock_full() with depth==0 still locks.
29387         Catch illegal locking and g_warn them.
29388
29389 2005-06-25  Wim Taymans  <wim@fluendo.com>
29390
29391         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29392         Have to check for completion now...
29393
29394 2005-06-25  Wim Taymans  <wim@fluendo.com>
29395
29396         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29397         (gst_basesink_handle_object), (gst_basesink_event),
29398         (gst_basesink_do_sync), (gst_basesink_handle_event),
29399         (gst_basesink_change_state):
29400         * gst/gstpad.h:
29401         Unlock STREAM_LOCK whatever the recursion was.
29402
29403 2005-06-25  Wim Taymans  <wim@fluendo.com>
29404
29405         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29406         (gst_basesink_preroll_queue_empty),
29407         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29408         (gst_basesink_event), (gst_basesink_do_sync),
29409         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29410         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29411         (gst_basesink_change_state):
29412         Reworked the base sink, handle event and buffer serialisation
29413         correctly and removed possible deadlock.
29414         Handle EOS correctly.
29415
29416 2005-06-25  Wim Taymans  <wim@fluendo.com>
29417
29418         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29419         (gst_pipeline_change_state):
29420         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29421         Allow elements to post EOS in the state change function.
29422         Fix up -launch, make it exit the poll loop when the
29423         pipeline actually changed state.
29424         Fix up warning parsing in -launch.
29425
29426 2005-06-25  Wim Taymans  <wim@fluendo.com>
29427
29428         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29429         (gst_tee_sink_activate):
29430         Core takes STREAM_LOCK for us now.
29431
29432 2005-06-25  Wim Taymans  <wim@fluendo.com>
29433
29434         * gst/gstelement.c: (gst_element_get_state_func),
29435         (gst_element_set_state):
29436         * gst/gstelement.h:
29437         * gst/gstmessage.c: (gst_message_parse_error),
29438         (gst_message_parse_warning):
29439         Keep track of current target state while performing a state
29440         change so that subclasses can do something interesting.
29441         Fix parsing of warning/error messages when GError is NULL.
29442
29443 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29444
29445         * docs/gst/Makefile.am:
29446         * docs/gst/gstreamer-docs.sgml:
29447         * docs/gst/gstreamer-sections.txt:
29448         * docs/gst/gstreamer.types:
29449         * docs/gst/tmpl/gstbasesink.sgml:
29450         * docs/gst/tmpl/gstbasesrc.sgml:
29451         * docs/gst/tmpl/gstbin.sgml:
29452         * docs/gst/tmpl/gstcompat.sgml:
29453         * docs/gst/tmpl/gstfakesink.sgml:
29454         * docs/gst/tmpl/gstfakesrc.sgml:
29455         * docs/gst/tmpl/gstfilesink.sgml:
29456         * docs/gst/tmpl/gstfilesrc.sgml:
29457         * docs/gst/tmpl/gstindex.sgml:
29458         * docs/manual/appendix-quotes.xml:
29459         * gst/base/gstbasesrc.h:
29460         * gst/elements/gstfakesrc.h:
29461         * gst/gstmessage.h:
29462           start pulling in base classes and elements in our docs
29463
29464 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29465
29466         * docs/gst/Makefile.am:
29467         * docs/libs/Makefile.am:
29468           fixed make distcheck with gtk-doc 1.3
29469
29470 2005-06-23  Wim Taymans  <wim@fluendo.com>
29471
29472         * gst/gstelement.c: (gst_element_get_state_func),
29473         (gst_element_set_state), (gst_element_change_state):
29474         When the state did not change, also report NO_PREROLL
29475         when it matters.
29476
29477 2005-06-23  Wim Taymans  <wim@fluendo.com>
29478
29479         * gst/gstpad.c: (gst_pad_event_default):
29480         * gst/gstqueue.c: (gst_queue_loop):
29481         No unsafe task pausing please.
29482
29483 2005-06-23  Wim Taymans  <wim@fluendo.com>
29484
29485         * gst/schedulers/threadscheduler.c:
29486         (gst_thread_scheduler_task_start),
29487         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29488         Ref the task before pushing it on the threadpool. This
29489         makes sure that we have a ref when the threadfunction is
29490         actually called.
29491
29492 2005-06-23  Andy Wingo  <wingo@pobox.com>
29493
29494         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29495         offset is greater than the file's size.
29496
29497         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29498         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29499         * gst/gstobject.c (gst_object_class_init): Make the class lock
29500         recursive. Wim won't let me drop deep_notify. Decodebin works
29501         again, whoopdy doo.
29502
29503         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29504         internal pad, and hacks accordingly. Doesn't do it on the target
29505         pad because we change its caps. Probably catches all cases of
29506         interest tho.
29507         (gst_ghost_pad_set_property): Connect to notify::caps as
29508         appropritate.
29509
29510         * tests/network-clock.scm (plot-simulation): Pipe data to the
29511         elite python skript.
29512
29513         * tests/network-clock-utils.scm (define-parameter): New macro,
29514         defines a parameter that can be set via the command line.
29515         (set-parameter!, parse-parameter-arguments): Command line args
29516         parser.
29517
29518         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29519         stdin.
29520
29521 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29522
29523         * gst/elements/gsttypefindelement.c:
29524         (gst_type_find_element_handle_event):
29525           Don't restart typefinding on a discont.
29526         * gst/gstelement.c: (gst_element_set_state):
29527           Debug spelling fix.
29528         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29529           Allow changing mode of an active pad.
29530           Debug output fixes.
29531         * gst/registries/gstlibxmlregistry.c: (load_feature):
29532           Don't cast a static pad template to a normal pad template.
29533
29534 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29535
29536         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29537         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29538           remove gst_strtoll completely, since it didn't actually do
29539           anything more than what g_ascii_strtoull already does.
29540           check for range errors when deserializing
29541           do a cast for the unsigned cases; but further fixing needs
29542           a decision on what the interpretation of "(int)" and
29543           deserialization should be for values that fall outside the
29544           type's boundaries (ie, refuse, or interpret as casting)
29545
29546 2005-06-23  Wim Taymans  <wim@fluendo.com>
29547
29548         * check/Makefile.am:
29549         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29550         * docs/design/part-live-source.txt:
29551         * docs/design/part-states.txt:
29552         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29553         (gst_basesrc_set_live), (gst_basesrc_is_live),
29554         (gst_basesrc_get_range), (gst_basesrc_activate),
29555         (gst_basesrc_change_state):
29556         * gst/base/gstbasesrc.h:
29557         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29558         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29559         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29560         * gst/gstelement.c: (gst_element_get_state_func),
29561         (gst_element_set_state):
29562         * gst/gstelement.h:
29563         * gst/gsttypes.h:
29564         * tools/gst-launch.c: (event_loop), (main):
29565         Added support for live sources and other elements that
29566         cannot do preroll.
29567         Updated design docs, added live-source design doc.
29568         Implemented live source functionality in basesrc
29569         Fix error condition in _bin_get_state()
29570         Implement live source handling in -launch.
29571         Added check for live sources.
29572         Fixed case in GstBin where elements were changed state
29573         multiple times.
29574
29575
29576 2005-06-23  Andy Wingo  <wingo@pobox.com>
29577
29578         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29579         borken refcounting.
29580
29581         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29582         gst_caps_replace takes care of this for us.
29583
29584         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29585         gst_pad_set_caps on the target, not just its setcaps() function.
29586
29587         * tests/network-clock.scm: 
29588         * tests/network-clock-utils.scm: A network clock simulator.
29589         Something of an algorithmic testbed before doing something in C.
29590
29591 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29592
29593         * check/Makefile.am:
29594         * check/gst/capslist.h:
29595           copy over from 0.8, and add two with bitmasks specified with
29596           (int) 0xFF...
29597         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29598           add test to parse everything from capslist.h
29599         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29600         (main):
29601           add test for structure deserialization
29602         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29603           add tests for deserialization of strings to int types
29604         * gst/gststructure.c: (gst_structure_nth_field_name):
29605         * gst/gststructure.h:
29606           add a way to get the name of a field referenced by index
29607         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29608           instead of checking if the resulting long long lies between
29609           min and max, we check if the long long would fit into
29610           a number of bytes for the final type.
29611           This fixes cases where a string represents 2^32 - 1, which
29612           when cast to int would be the (valid) -1, but is bigger than
29613           G_MAXINT
29614
29615 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29616
29617         * gst/parse/grammar.y:
29618           add a log line for type deserialization
29619
29620 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29621
29622         * check/gst/gstvalue.c: (START_TEST):
29623         * gst/gstvalue.c: (gst_value_deserialize):
29624           return long long, not int, so gint64 deserialization actually
29625           works.  Is there any flag that makes the compiler check this ?
29626           Fixes #308559
29627
29628 2005-06-22  Wim Taymans  <wim@fluendo.com>
29629
29630         * gst/gstbuffer.h:
29631         Added convenience macros for setting buffers in GValue.
29632
29633 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29634
29635         * check/gst/.cvsignore:
29636         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29637           add a test deserializing int64, and comment part out because
29638           it fails, yay !
29639
29640 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29641
29642         * check/Makefile.am:
29643         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29644         * testsuite/Makefile.am:
29645         * testsuite/caps/Makefile.am:
29646         * testsuite/caps/value_serialize.c:
29647         * testsuite/test_gst_init.c:
29648           move a value_serialize test over
29649
29650 2005-06-20  Wim Taymans  <wim@fluendo.com>
29651
29652         * gst/gstpad.c:
29653         Small doc updates.
29654         
29655         * gst/gstvalue.c: (gst_value_compare_buffer),
29656         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29657         (gst_value_compare_flags), (gst_value_serialize_flags),
29658         (gst_value_deserialize_flags), (_gst_value_initialize):
29659         Fix serialisation of buffers, they are not boxed types anymore
29660
29661 2005-06-20  Wim Taymans  <wim@fluendo.com>
29662
29663         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29664         Testcase to show error in buffer-on-caps serialisation.
29665
29666 2005-06-20  Andy Wingo  <wingo@pobox.com>
29667
29668         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29669         will be adding to later.
29670
29671         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29672         if its socks fill with rocks.
29673         (gst_system_clock_obtain): Set the name on object construction.
29674         Avoid double-checked locking.
29675
29676 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29677
29678         * gst/gsturi.c: (gst_element_make_from_uri):
29679           Fix potential endless loop.
29680
29681 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29682
29683         * check/Makefile.am:
29684           add gsttag
29685         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29686         (main):
29687           move over from testsuite dir and clean up
29688         * configure.ac:
29689         * gst/gsttag.c:
29690         * testsuite/Makefile.am:
29691         * testsuite/tags/.cvsignore:
29692         * testsuite/tags/Makefile.am:
29693         * testsuite/tags/merge.c:
29694           remove testsuite/tags
29695
29696 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29697
29698         * docs/gst/gstreamer-sections.txt:
29699         * docs/gst/tmpl/gstenumtypes.sgml:
29700         * win32/gstenumtypes.c:
29701           clean up documentation build a little
29702
29703 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29704
29705         * check/gstcheck.h:
29706           add macros for checking refcounts on objects and caps
29707         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29708           add some more unit tests
29709         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29710         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29711           fix leaked refcounts (I hope :)) so unittest works
29712         * gst/gstpad.h:
29713           whitespace removal
29714
29715 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29716
29717         * configure.ac: back to HEAD
29718
29719 === release 0.9.1 ===
29720
29721 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29722
29723         * NEWS:
29724         * RELEASE:
29725           updated
29726
29727 2005-06-17  Andy Wingo  <wingo@pobox.com>
29728
29729         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29730         assert; it's always possible that the pad gets deactivated in
29731         between the checks in gstpad.c and the implementation. Rely on
29732         finish_preroll() to return a FLUSHING or similar instead of on the
29733         assert.
29734         
29735         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29736         clock and post an EOS message if we come out of finish_preroll in
29737         the playing state.
29738
29739 2005-06-16  David Schleef  <ds@schleef.org>
29740
29741         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29742         (gst_capsfilter_set_property): Allow NULL as possible value
29743         for filter_caps property, indicating GST_CAPS_ANY.
29744
29745 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29746
29747         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29748           fix debug output
29749         * gst/schedulers/Makefile.am:
29750           use libgst prefix
29751         * gstreamer.spec.in:
29752           fix spec for it
29753
29754 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29755
29756         * gstreamer.spec.in:
29757           clean up
29758
29759 2005-06-08  Andy Wingo  <wingo@pobox.com>
29760
29761         * gst/gstutils.c: RPAD fixes all around.
29762         (gst_element_link_pads): Refcounting fixes.
29763
29764         * tools/gst-inspect.c:
29765         * tools/gst-xmlinspect.c:
29766         * parse/grammar.y:
29767         * gst/base/gsttypefindhelper.c:
29768         * gst/base/gstbasesink.c:
29769         * gst/gstqueue.c: RPAD fixes.
29770
29771         * gst/gstghostpad.h:
29772         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29773         pads. The tricky thing is they provide both source and sink
29774         interfaces, since they proxy the internal pad for the external
29775         pad, and vice versa. Implement with lower-level ProxyPad objects,
29776         with the interior proxy pad as a child of the exterior ghost pad.
29777         Should write a doc on this.
29778         
29779         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29780         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29781         gst_object API.
29782         
29783         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29784         pads are real pads. No ghost pads in this file. Not documenting
29785         the myriad s/RPAD/PAD/ and REALIZE fixes.
29786         (gst_pad_class_init): Add properties for "direction" and
29787         "template". Both are construct-only, so they can't change during
29788         the life of the pad. Fixes properly deriving from GstPad.
29789         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29790         derived objects, just set properties when creating the objects via
29791         g_object_new.
29792         (gst_pad_get_parent): Implement as a function, return NULL if the
29793         parent is not an element.
29794         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29795         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29796         
29797         * gst/gstobject.c (gst_object_class_init): Make name a construct
29798         property. Don't set it in the object init.
29799
29800         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29801         with UNKNOWN direction.
29802         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29803         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29804         (gst_element_remove_pad): Remove ghost-pad special cases.
29805         (gst_element_pads_activate): Remove rpad cruft.
29806
29807         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29808         catch the pad's-parent-not-an-element case.
29809
29810         * gst/gst.h: Include gstghostpad.h.
29811
29812         * gst/gst.c (init_post): No more real, ghost pads.
29813
29814         * gst/Makefile.am: Add gstghostpad.[ch].
29815
29816         * check/Makefile.am:
29817         * check/gst/gstbin.c:
29818         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29819         into a bin creates ghost pads, and that the refcounts are right.
29820         Partly moved from gstbin.c.
29821
29822 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29823
29824         * check/gst-libs/.cvsignore:
29825         * check/gst/.cvsignore:
29826         * check/pipelines/.cvsignore:
29827           ignore more
29828         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29829         (START_TEST), (cleanup_suite), (main):
29830           add some tests related to cleanup after running pipelines
29831
29832 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29833
29834         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29835           add a testsuite for GstBuffer
29836
29837 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29838
29839         * gst/gstminiobject.h:
29840           add defines for accessing the refcount
29841
29842 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29843
29844         * Makefile.am: added support for html unit test coverage reports
29845
29846 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29847
29848         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29849           Free existing caps if the capsfilter changes. Add a FIXME about
29850           setting those caps on the pads.
29851
29852         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29853           Before adding a ghost pad to a parent bin, check that there isn't
29854           already one for the element on the bin. Prevents infinite recursion
29855           when using decodebin in parse pipelines. Andy says he'll rewrite the
29856           way this works anyway, so ignore the hack.
29857
29858 2005-06-02  Andy Wingo  <wingo@pobox.com>
29859
29860         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29861         file size, pass it on to the type find helper.
29862
29863         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29864         segment_start and segment_end properly according to the seek
29865         method. Segment_end is still a bit flaky because offset can be
29866         negative for CUR and END cases, but it takes -1 as an "unset"
29867         value.
29868
29869 2005-06-02  Wim Taymans  <wim@fluendo.com>
29870
29871         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29872         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29873         (gst_basesink_activate):
29874         * gst/base/gstbasesink.h:
29875         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29876         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29877         (gst_pad_query), (gst_pad_start_task):
29878         * gst/gstpad.h:
29879         * gst/gstqueue.c: (gst_queue_bufferalloc),
29880         (gst_queue_handle_sink_event), (gst_queue_chain):
29881         Bufferalloc: return GstFlowReturn to more accuratly report
29882         why allocation failed.
29883
29884 2005-06-02  Wim Taymans  <wim@fluendo.com>
29885
29886         * gst/gstpipeline.c: (gst_pipeline_send_event):
29887         Take snapshot of state without blocking.
29888
29889 2005-06-02  Wim Taymans  <wim@fluendo.com>
29890
29891         * docs/design/part-TODO.txt:
29892         * docs/design/part-caps.txt:
29893         * docs/design/part-clocks.txt:
29894         * docs/design/part-negotiation.txt:
29895         * docs/design/part-preroll.txt:
29896         Small doc updates 
29897
29898 2005-05-30  Wim Taymans  <wim@fluendo.com>
29899
29900         * gst/elements/gstidentity.c: (gst_identity_event),
29901         (gst_identity_transform), (gst_identity_get_property):
29902         Protect last_message property as it is accessed from
29903         multiple threads.
29904
29905 2005-05-30  Wim Taymans  <wim@fluendo.com>
29906
29907         * gst/gstelement.c: (gst_element_init),
29908         (gst_element_pads_activate), (gst_element_change_state):
29909         Slicker pad activation code.
29910
29911 2005-05-30  Wim Taymans  <wim@fluendo.com>
29912
29913         * gst/Makefile.am:
29914         * gst/gstelement.h:
29915         * gst/gstelementfactory.h:
29916         * gst/gsttypes.h:
29917         Move elementfactory methods to separate .h file.
29918
29919 2005-05-30  Wim Taymans  <wim@fluendo.com>
29920
29921         * docs/design/part-overview.txt:
29922         * gst/gstsystemclock.h:
29923         Small typo fixes, doc updates.
29924
29925 2005-05-30  Wim Taymans  <wim@fluendo.com>
29926
29927         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29928         (init_popt_callback):
29929         Remove cpu-opt flag.
29930
29931 2005-05-30  Wim Taymans  <wim@fluendo.com>
29932
29933         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29934         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29935         * gst/gstbuffer.h:
29936         Avoid typechecking in places where not needed.
29937         Added accessor for malloc_data.
29938
29939 2005-05-30  Wim Taymans  <wim@fluendo.com>
29940
29941         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
29942         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
29943         (gst_pad_configure_sink), (gst_pad_configure_src),
29944         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
29945         (gst_pad_start_task):
29946         Propagate errors from _set_caps() in configure_src/sink
29947         functions instead of returning TRUE.
29948         FLUSH events can travel up and downstream
29949
29950
29951 2005-05-30  Wim Taymans  <wim@fluendo.com>
29952
29953         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
29954         (gst_basesink_activate):
29955         Handle EOS in preroll.
29956
29957 2005-05-30  Wim Taymans  <wim@fluendo.com>
29958
29959         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
29960         (gst_queue_loop), (gst_queue_handle_src_event):
29961         Remove old pieces of code
29962         Flushing the queue in an upstream event is a very bad idea.
29963
29964 2005-05-26  Andy Wingo  <wingo@pobox.com>
29965
29966         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
29967         gst_value_set_mini_object so as to add a ref on the object (which
29968         will be removed when the value is unset).
29969
29970         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
29971         arg type in ::handoff.
29972
29973         * gst/gstelement.c (gst_element_change_state): Also deactivate
29974         pads in READY->NULL, just in case the element didn't make it to
29975         PAUSED. Wingo tested, Wim approved.
29976
29977 2005-05-26  Wim Taymans  <wim@fluendo.com>
29978
29979         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29980         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29981         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
29982         A flushing pad cannot be used to alloc_buffer from.
29983
29984 2005-05-26  Wim Taymans  <wim@fluendo.com>
29985
29986         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
29987         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
29988         (gst_bus_source_dispatch), (gst_bus_source_finalize),
29989         (gst_bus_create_watch), (gst_bus_add_watch_full):
29990         * gst/gstbus.h:
29991         Implement a real GSource and use g_main_context_wakeup() to
29992         signal new messages instead of the socketpair.
29993
29994 2005-05-25  Wim Taymans  <wim@fluendo.com>
29995
29996         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
29997         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
29998         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29999         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30000         (gst_pad_send_event), (gst_pad_start_task):
30001         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30002         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30003         (gst_queue_sink_activate), (gst_queue_src_activate),
30004         (gst_queue_change_state):
30005         * gst/gstqueue.h:
30006         Fix state changes for non sinks. We now change sinks, then elements
30007         with unconnected srcpads, then the rest.
30008         More efficient queue unlocking in flush and state changes.
30009         Set the pad activate mode even if it does not have an activate
30010         function.
30011
30012 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30013
30014         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30015           Don't go in pull mode for non-seekable sources.
30016         * gst/elements/gsttypefindelement.h:
30017         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30018         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30019         (free_entry), (stop_typefinding),
30020         (gst_type_find_element_handle_event), (find_peek),
30021         (gst_type_find_element_chain), (do_pull_typefind),
30022         (gst_type_find_element_change_state):
30023           Allow typefinding (w/o seeking) in push-mode, simplified version
30024           of what was in 0.8.
30025         * gst/gstutils.c: (gst_buffer_join):
30026         * gst/gstutils.h:
30027           gst_buffer_join() from 0.8.
30028
30029 2005-05-25  Wim Taymans  <wim@fluendo.com>
30030
30031         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30032         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30033         (gst_pad_send_event), (gst_pad_start_task):
30034         Disable attempt at mode switching until it is figured out.
30035
30036 2005-05-25  Wim Taymans  <wim@fluendo.com>
30037
30038         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30039         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30040         (gst_basesink_finish_preroll), (gst_basesink_chain),
30041         (gst_basesink_loop), (gst_basesink_activate),
30042         (gst_basesink_change_state):
30043         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30044         (gst_basesrc_get_range), (gst_basesrc_loop),
30045         (gst_basesrc_activate):
30046         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30047         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30048         (gst_real_pad_init), (gst_real_pad_set_property),
30049         (gst_real_pad_get_property), (gst_pad_set_active),
30050         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30051         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30052         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30053         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30054         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30055         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30056         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30057         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30058         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30059         (gst_pad_stop_task):
30060         * gst/gstpad.h:
30061         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30062         (gst_queue_loop), (gst_queue_src_activate):
30063         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30064         (gst_task_get_state):
30065         * gst/gsttask.h:
30066         * gst/schedulers/threadscheduler.c:
30067         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30068         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30069         in task function.
30070         Remove ACTIVE pad flag, use FLUSHING everywhere
30071         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30072         functions.
30073         Add locks around IS_FLUSHING when reading.
30074         Take STREAM lock in chain(), get_range() functions so plugins
30075         don't need to take it anymore.
30076         
30077
30078
30079 2005-05-25  Wim Taymans  <wim@fluendo.com>
30080
30081         * tools/gst-launch.c: (event_loop):
30082         Unref message after using its contents instead of
30083         before.
30084
30085 2005-05-24  Wim Taymans  <wim@fluendo.com>
30086
30087         * docs/design/draft-ghostpads.txt:
30088         * docs/design/draft-push-pull.txt:
30089         * docs/design/draft-query.txt:
30090         * docs/design/part-overview.txt:
30091         Docs updates, added general overview doc.
30092
30093 2005-05-21  David Schleef  <ds@schleef.org>
30094
30095         * docs/gst/tmpl/old/GstBin.sgml:
30096         * docs/gst/tmpl/old/GstBuffer.sgml:
30097         * docs/gst/tmpl/old/GstCaps.sgml:
30098         * docs/gst/tmpl/old/GstClock.sgml:
30099         * docs/gst/tmpl/old/GstCompat.sgml:
30100         * docs/gst/tmpl/old/GstData.sgml:
30101         * docs/gst/tmpl/old/GstElement.sgml:
30102         * docs/gst/tmpl/old/GstEvent.sgml:
30103         * docs/gst/tmpl/old/GstIndex.sgml:
30104         * docs/gst/tmpl/old/GstStructure.sgml:
30105         * docs/gst/tmpl/old/GstTag.sgml:
30106         * docs/gst/tmpl/old/cothreads.sgml:
30107         * docs/gst/tmpl/old/cothreads_compat.sgml:
30108         * docs/gst/tmpl/old/gettext.sgml:
30109         * docs/gst/tmpl/old/gobject2gtk.sgml:
30110         * docs/gst/tmpl/old/grammar.tab.sgml:
30111         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30112         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30113         * docs/gst/tmpl/old/gst_private.sgml:
30114         * docs/gst/tmpl/old/gstaggregator.sgml:
30115         * docs/gst/tmpl/old/gstarch.sgml:
30116         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30117         * docs/gst/tmpl/old/gstbufferstore.sgml:
30118         * docs/gst/tmpl/old/gstdata_private.sgml:
30119         * docs/gst/tmpl/old/gstdisksink.sgml:
30120         * docs/gst/tmpl/old/gstdisksrc.sgml:
30121         * docs/gst/tmpl/old/gstelementfactory.sgml:
30122         * docs/gst/tmpl/old/gstextratypes.sgml:
30123         * docs/gst/tmpl/old/gstfakesink.sgml:
30124         * docs/gst/tmpl/old/gstfakesrc.sgml:
30125         * docs/gst/tmpl/old/gstfdsink.sgml:
30126         * docs/gst/tmpl/old/gstfdsrc.sgml:
30127         * docs/gst/tmpl/old/gstfilesink.sgml:
30128         * docs/gst/tmpl/old/gstfilesrc.sgml:
30129         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30130         * docs/gst/tmpl/old/gstidentity.sgml:
30131         * docs/gst/tmpl/old/gstindexfactory.sgml:
30132         * docs/gst/tmpl/old/gstmarshal.sgml:
30133         * docs/gst/tmpl/old/gstmd5sink.sgml:
30134         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30135         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30136         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30137         * docs/gst/tmpl/old/gstpipefilter.sgml:
30138         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30139         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30140         * docs/gst/tmpl/old/gstshaper.sgml:
30141         * docs/gst/tmpl/old/gstspider.sgml:
30142         * docs/gst/tmpl/old/gstspideridentity.sgml:
30143         * docs/gst/tmpl/old/gststatistics.sgml:
30144         * docs/gst/tmpl/old/gsttee.sgml:
30145         * docs/gst/tmpl/old/gsttimecache.sgml:
30146         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30147         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30148         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30149         * docs/gst/tmpl/old/types.sgml:
30150           I didn't intend to add these or check them in.
30151
30152 2005-05-19  David Schleef  <ds@schleef.org>
30153
30154         * configure.ac: Use -no-common everywhere.  In a sane world, it
30155           would be the default in libtool, because without it, you can't
30156           build DLLs on Windows.
30157         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30158         * docs/gst/gstreamer-sections.txt:
30159         * docs/gst/tmpl/gstcpu.sgml:
30160         * docs/gst/tmpl/gstdata.sgml:
30161         * docs/gst/tmpl/gstthread.sgml:
30162
30163 2005-05-19  David Schleef  <ds@schleef.org>
30164
30165         * gst/gstminiobject.c: (gst_value_set_mini_object),
30166         (gst_value_take_mini_object), (gst_value_get_mini_object):
30167         * gst/gstminiobject.h: Add GValue set/get functions.
30168
30169 2005-05-19  Wim Taymans  <wim@fluendo.com>
30170
30171         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30172         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30173         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30174         * gst/gstbuffer.h:
30175         * gst/gstbus.c: (gst_bus_post):
30176         * gst/gstelement.c: (gst_element_get_random_pad):
30177         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30178         Make subbufer unref the parent in finalize.
30179         some more debugging info.
30180
30181
30182 2005-05-19  Wim Taymans  <wim@fluendo.com>
30183
30184         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30185         (gst_basesink_init), (gst_basesink_finalize),
30186         (gst_basesink_activate), (gst_basesink_change_state):
30187         Don't free preroll queue too early.
30188
30189 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30190
30191         * gst/Makefile.am:
30192         * gst/ROADMAP:
30193           Hi, I'm outdated. Please shoot me.
30194
30195 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30196
30197         * gst/gstpipeline.c: (gst_pipeline_send_event):
30198           Do not access variables after they have been deleted.
30199
30200 2005-05-19  Wim Taymans  <wim@fluendo.com>
30201
30202         * tools/gst-inspect.c: (print_plugin_features):
30203         A plugin feature does unfortunatly not use the
30204         object name yet...
30205
30206 2005-05-18  Wim Taymans  <wim@fluendo.com>
30207
30208         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30209         Port _span() functions to new subbuffers.
30210
30211 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30212
30213         * gst/gstbin.c: (gst_bin_add_func):
30214           Fix clock settery in bins when adding kids after the clock has
30215           been selected.
30216
30217 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30218
30219         * gst/elements/gstidentity.c: (gst_identity_class_init):
30220           Workaround until signals support GstMiniObject.
30221
30222 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30223
30224         * gst/gstbuffer.c:
30225         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30226
30227 2005-05-18  Wim Taymans  <wim@fluendo.com>
30228
30229         * gst/base/Makefile.am:
30230         * gst/base/gstadapter.c: (gst_adapter_base_init),
30231         (gst_adapter_class_init), (gst_adapter_init),
30232         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30233         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30234         (gst_adapter_flush), (gst_adapter_available),
30235         (gst_adapter_available_fast):
30236         * gst/base/gstadapter.h:
30237         Ported and added adapter to the base classes.
30238
30239 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30240
30241         * gst/gst.c:
30242         * gst/gstmessage.c:
30243           Make sure the class is reffed/unreffed once before threads can be
30244           used.  Fixes #304551.
30245
30246 2005-05-17  Wim Taymans  <wim@fluendo.com>
30247
30248         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30249         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30250         * gst/gstminiobject.c: (gst_mini_object_get_type),
30251         (gst_mini_object_free):
30252         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30253         (gst_pad_push), (gst_pad_push_event):
30254         * gst/gstqueue.c: (gst_queue_change_state):
30255         Don't queue buffers in basesink when we are flushing.
30256         Unref buffer when flushing in basesink.
30257         Flush queue when going to READY
30258         Unref buffer when _push() returns an error.
30259         Don't free MiniObject instance when refcount is incremented
30260         in _finalize() so that we can recover objects.
30261
30262 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30263
30264         * docs/manual/advanced-schedulers.xml:
30265         * docs/manual/appendix-checklist.xml:
30266         * docs/pwg/advanced-clock.xml:
30267         * docs/pwg/advanced-interfaces.xml:
30268         * docs/pwg/advanced-request.xml:
30269         * docs/pwg/advanced-types.xml:
30270         * docs/pwg/intro-preface.xml:
30271         * examples/plugins/example.c: (gst_example_get_type),
30272         (gst_example_class_init), (gst_example_chain),
30273         (gst_example_set_property), (gst_example_get_property),
30274         (gst_example_change_state), (plugin_init):
30275         * examples/plugins/example.h:
30276           small doc fixes
30277
30278 2005-05-17  Wim Taymans  <wim@fluendo.com>
30279
30280         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30281         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30282         * gst/gstqueue.c: (gst_queue_change_state):
30283         Clear queue when going to READY.
30284         Remove IN_SETCAPS flag too.
30285
30286 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30287
30288         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30289           Remove implicit cast from gboolean to GstElementStateReturn;
30290           make sure we still return failure in paused => ready case if
30291           the parent class fails to change state and our own stop 
30292           vfunc succeeds.
30293
30294 2005-05-17  Wim Taymans  <wim@fluendo.com>
30295
30296         * tools/gst-launch.c: (event_loop):
30297         Message was unreffed too soon.
30298
30299 2005-05-16  Andy Wingo  <wingo@pobox.com>
30300
30301         * gst/gstbin.c (sink_iterator_filter): Err... um...
30302
30303         * check/gst/gstbin.c (test_ghost_pads): New test for the
30304         ghosting-if-elements-not-in-same-bin behavior.
30305
30306 2005-05-16  David Schleef  <ds@schleef.org>
30307
30308         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30309         accessing refcount directly.
30310
30311 2005-05-15  David Schleef  <ds@schleef.org>
30312
30313         * check/Makefile.am: remove GstData checks
30314         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30315         * gst/Makefile.am: add miniobject, remove data
30316         * gst/gst.h: add miniobject, remove data
30317         * gst/gstdata.c: remove
30318         * gst/gstdata.h: remove
30319         * gst/gstdata_private.h: remove
30320         * gst/gsttypes.h: remove GstEvent and GstMessage
30321         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30322         * gst/gstmarshal.list: change BOXED -> OBJECT
30323
30324         Implement GstMiniObject.
30325         * gst/gstminiobject.c:
30326         * gst/gstminiobject.h:
30327
30328         Modify to be subclasses of GstMiniObject.
30329         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30330         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30331         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30332         (gst_subbuffer_get_type), (gst_subbuffer_init),
30333         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30334         (gst_buffer_span):
30335         * gst/gstbuffer.h:
30336         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30337         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30338         (_gst_event_copy), (gst_event_new):
30339         * gst/gstevent.h:
30340         * gst/gstmessage.c: (_gst_message_initialize),
30341         (gst_message_get_type), (gst_message_class_init),
30342         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30343         (gst_message_new), (gst_message_new_error),
30344         (gst_message_new_warning), (gst_message_new_tag),
30345         (gst_message_new_state_changed), (gst_message_new_application):
30346         * gst/gstmessage.h:
30347         * gst/gstprobe.c: (gst_probe_perform),
30348         (gst_probe_dispatcher_dispatch):
30349         * gst/gstprobe.h:
30350         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30351         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30352         (_gst_query_copy), (gst_query_new):
30353
30354         Update elements for GstData -> GstMiniObject changes
30355         * gst/gstquery.h:
30356         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30357         (gst_queue_chain), (gst_queue_loop):
30358         * gst/elements/gstbufferstore.c:
30359         (gst_buffer_store_add_buffer_func),
30360         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30361         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30362         (gst_fakesink_render):
30363         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30364         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30365         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30366         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30367         (gst_filesrc_create_read):
30368         * gst/elements/gstidentity.c: (gst_identity_class_init):
30369         * gst/elements/gsttypefindelement.c:
30370         (gst_type_find_element_src_event), (free_entry_buffers),
30371         (gst_type_find_element_handle_event):
30372         * libs/gst/dataprotocol/dataprotocol.c:
30373         (gst_dp_header_from_buffer):
30374         * libs/gst/dataprotocol/dataprotocol.h:
30375         * libs/gst/dataprotocol/dp-private.h:
30376
30377 2005-05-15  David Schleef  <ds@schleef.org>
30378
30379         * gst/elements/gstelements.c: Don't include headers that were
30380         just removed.
30381
30382 2005-05-15  David Schleef  <ds@schleef.org>
30383
30384         * gst/elements/Makefile.am: Remove some elements that don't
30385         need to be in the core (or even exist at all).
30386         * gst/elements/gstaggregator.c:
30387         * gst/elements/gstaggregator.h:
30388         * gst/elements/gstmd5sink.c:
30389         * gst/elements/gstmd5sink.h:
30390         * gst/elements/gstmultifilesrc.c:
30391         * gst/elements/gstmultifilesrc.h:
30392         * gst/elements/gstpipefilter.c:
30393         * gst/elements/gstpipefilter.h:
30394         * gst/elements/gstshaper.c:
30395         * gst/elements/gstshaper.h:
30396         * gst/elements/gststatistics.c:
30397         * gst/elements/gststatistics.h:
30398         * po/POTFILES.in: Remove above files.
30399
30400 2005-05-14  Andy Wingo  <wingo@pobox.com>
30401
30402         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30403         so as to get the refs right.
30404         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30405         unreffing objects that don't pass the filter.
30406
30407         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30408         gst_element_set_bus.
30409         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30410         normal cases, this will destroy the bus.
30411
30412         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30413         object.
30414
30415         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30416         has no sinks.
30417
30418 2005-05-13  Andy Wingo  <wingo@pobox.com>
30419
30420         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30421         gst_pad_link, call pad_link_maybe_ghosting,
30422         (pad_link_maybe_ghosting): Links pads, making sure that the
30423         elements being linked are in the same bin.
30424         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30425         Helpers for pad_link_maybe_ghosting.
30426
30427 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30428
30429         * configure.ac:
30430           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30431
30432 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30433
30434         * docs/design/part-element-source.txt:
30435           Mention GstPushSrc
30436
30437 2005-05-12  Wim Taymans  <wim@fluendo.com>
30438
30439         * gst/base/gstbasesink.c: (gst_basesink_init),
30440         (gst_basesink_activate):
30441         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30442         (gst_basesrc_is_seekable):
30443         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30444         (bin_element_is_sink), (gst_bin_change_state):
30445         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30446         * gst/gstelement.h:
30447         Identify sinks by their flag to avoid overly complicated
30448         checks (fow now).
30449         Do state changes even for elements not reachable from the
30450         sinks.
30451         BaseSink is a sink now :)
30452         Some more debugging info in the basesrc.
30453
30454
30455 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30456
30457         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30458           Implement _query on a bin, similar to _send_event.
30459
30460 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30461
30462         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30463           Discont event offset format should be GST_FORMAT_BYTES,
30464           not GST_FORMAT_TIME.
30465
30466 2005-05-12  Wim Taymans  <wim@fluendo.com>
30467
30468         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30469         Same fix as Ronald's but without the signal. 
30470
30471 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30472
30473         * gst/gstutils.c: (gst_element_query_position):
30474           No, an element is not a pad.
30475
30476 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30477
30478         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30479         (gst_bin_get_state):
30480           If a child is removed from a bin while we remove the child from
30481           the bin and while we're retrieving its state, signal this to the
30482           get_state function so we abort the wait (instead of waiting for
30483           a timeout) and can immediately re-iterate over all other elements.
30484
30485 2005-05-12  Wim Taymans  <wim@fluendo.com>
30486
30487         * gst/base/Makefile.am:
30488         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30489         (gst_basesrc_start):
30490         * gst/base/gstbasesrc.h:
30491         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30492         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30493         (gst_pushsrc_init), (gst_pushsrc_create):
30494         * gst/base/gstpushsrc.h:
30495         Added is_seekable to BaseSrc
30496         Added simple PushSrc.
30497
30498 2005-05-11  Wim Taymans  <wim@fluendo.com>
30499
30500         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30501         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30502         (gst_element_link_pads), (gst_element_query_position),
30503         (gst_element_query_convert), (intersect_caps_func),
30504         (gst_pad_query_position), (gst_pad_query_convert):
30505         Fix refcounting in utils function.
30506         No point in trying to activate a pad when it's added, it could
30507         be added from the state change function and then we deadlock, the
30508         element has to decide what to do.
30509
30510 2005-05-10  Andy Wingo  <wingo@pobox.com>
30511
30512         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30513         *all* the arguments.
30514
30515         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30516         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30517         lock (according to the docs -- if this is wrong change the docs).
30518
30519         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30520         flush messages in the NULL state.
30521
30522         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30523         message immediately and return.
30524         (gst_bus_set_flushing): New function. If a bus is flushing, it
30525         flushes out any queued messages and immediately unrefs new
30526         messages. This is so when an element goes to NULL, all of the
30527         unhandled messages coming from it can be freed, and their
30528         references to the element dropped. In other words: message source
30529         ref considered harmful :P
30530
30531         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30532         we're finished with it.
30533
30534         * gst/gstmessage.c (gst_message_new_state_changed): 
30535
30536 2005-05-10  Wim Taymans  <wim@fluendo.com>
30537
30538         * gst/gstvalue.c: (gst_value_compare_flags),
30539         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30540         (_gst_value_initialize):
30541         Added flags serialize/deserialize/compare code.
30542
30543 2005-05-09  Andy Wingo  <wingo@pobox.com>
30544
30545         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30546         Intersect the peer's caps with our caps.
30547
30548 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30549
30550         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30551         * gst/elements/gsttypefindelement.c: (find_peek):
30552           Handle negative offsets better. Fixes decodebin.
30553
30554 2005-05-09  Wim Taymans  <wim@fluendo.com>
30555
30556         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30557         (gst_base_transform_event):
30558         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30559         Implement accept_caps.
30560         Fix silly lock/unlock mismatch in base class.
30561
30562 2005-05-09  Wim Taymans  <wim@fluendo.com>
30563
30564         * docs/design/draft-push-pull.txt:
30565         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30566         * gst/elements/gstfilesink.c: (gst_filesink_init),
30567         (gst_filesink_query):
30568         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30569         (gst_type_find_handle_src_query), (find_element_get_length):
30570         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30571         * gst/gstelement.h:
30572         * gst/gstmessage.c:
30573         * gst/gstmessage.h:
30574         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30575         (gst_real_pad_get_caps_unlocked),
30576         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30577         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30578         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30579         (gst_real_pad_dispose), (gst_real_pad_finalize),
30580         (gst_pad_load_and_link), (gst_pad_save_thyself),
30581         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30582         (gst_pad_check_pull_range), (gst_pad_pull_range),
30583         (gst_pad_template_get_type), (gst_pad_template_class_init),
30584         (gst_pad_template_init), (gst_pad_template_dispose),
30585         (name_is_valid), (gst_static_pad_template_get),
30586         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30587         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30588         (gst_pad_get_element_private), (gst_pad_start_task),
30589         (gst_pad_pause_task), (gst_pad_stop_task),
30590         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30591         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30592         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30593         (gst_ghost_pad_new):
30594         * gst/gstpad.h:
30595         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30596         (gst_query_new_position), (gst_query_set_position),
30597         (gst_query_parse_position), (gst_query_new_convert),
30598         (gst_query_set_convert), (gst_query_parse_convert):
30599         * gst/gstquery.h:
30600         * gst/gstqueryutils.c:
30601         * gst/gstqueryutils.h:
30602         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30603         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30604         (gst_queue_handle_src_query):
30605         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30606         (gst_element_query_position), (gst_element_query_convert),
30607         (intersect_caps_func), (gst_pad_query_position),
30608         (gst_pad_query_convert):
30609         * gst/gstutils.h:
30610         * tools/gst-inspect.c: (print_pad_info):
30611         * tools/gst-xmlinspect.c: (print_element_info):
30612         Remove old query functions. Ported old code.
30613         Added position/convert helper functions to gstutils.
30614         Reordered gstpad.c code, grouping relevant things.
30615         Remove gst_message_new(), always need to speficy a specific
30616         message.
30617
30618
30619 2005-05-09  Andy Wingo  <wingo@pobox.com>
30620
30621         * gst/gstiterator.h: Add some includes.
30622
30623         * gst/gstqueryutils.h: Include more headers.
30624
30625         * gst/gstpad.h:
30626         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30627         some uses of gst_pad_query.
30628
30629         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30630         NULL out parameters.
30631         (gst_query_new_position): New proc, allocates a new position
30632         query.
30633
30634         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30635         gstqueryutils.c to the build.
30636
30637         * gst/gststructure.c (gst_structure_set_valist): Implement with
30638         the generic G_VALUE_COLLECT.
30639         
30640 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30641
30642         * gst/Makefile.am: (gst_headers):
30643         Added gstqueryutils.h to the list of headers to install, that was
30644         a 'nachty' move wingo :)
30645
30646 2005-05-06  Andy Wingo  <wingo@pobox.com>
30647
30648         * gst/gstquery.h
30649         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30650         GstData, init a memchunk.
30651         (standard_definitions): Add a few query types, deprecate a few.
30652         (gst_query_get_type): New proc.
30653         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30654         implementation.
30655         (gst_query_new_application, gst_query_get_structure): New public
30656         procs.
30657
30658         * docs/design/draft-query.txt: Removed LINKS from the query types,
30659         because all the rest can be dispatched to other pads -- seemed
30660         ugly to have a query that couldn't be dispatched. internal_links
30661         is fine as a pad method.
30662
30663         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30664         in gstpad.c, but maintain binary compatibility for the moment.
30665         Will fix before 0.9 is out.
30666
30667         * gst/gstqueryutils.c: 
30668         * gst/gstqueryutils.h: New files, implement 3 methods for each
30669         query type: parse_query, parse_response, and set. Probably need an
30670         allocator as well.
30671
30672         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30673
30674         * gst/elements/gstfilesink.c (gst_filesink_query2):
30675         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30676         query_types, and formats methods.
30677
30678         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30679         (gst_pad_set_query2_function): New functions.
30680         (gst_real_pad_init): Set query2_default as the default query2
30681         function. Basically just dispatches to internally linked pads.
30682
30683         Needs review!
30684         
30685         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30686         without using the atomic operations. Only one thread can possibly
30687         be accessing the data at this point. Changed so as to avoid
30688         gst_atomic operations.
30689
30690 2005-05-06  Wim Taymans  <wim@fluendo.com>
30691
30692         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30693         Also set caps if we use the fallback buffer alloc.
30694
30695 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30696
30697         * docs/gst/Makefile.am:
30698         * docs/gst/gstreamer-docs.sgml:
30699         * docs/gst/gstreamer-sections.txt:
30700         * docs/gst/tmpl/gstatomic.sgml:
30701         * docs/gst/tmpl/gstmemchunk.sgml:
30702         * testsuite/elements/struct_i386.h:
30703         * win32/GStreamer.vcproj:
30704         * win32/Makefile:
30705           Purge GstAtomic stuff from docs and win32 makefiles as well
30706
30707 2005-05-06  Wim Taymans  <wim@fluendo.com>
30708
30709         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30710         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30711         * gst/gstpad.c: (gst_pad_peer_get_caps):
30712         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30713         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30714         (gst_queue_src_activate), (gst_queue_change_state):
30715         * gst/gstqueue.h:
30716         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30717         (intersect_caps_func):
30718         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30719         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30720         Some fixes for the peer_get_caps() change.
30721
30722 2005-05-06  Wim Taymans  <wim@fluendo.com>
30723
30724         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30725         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30726         (gst_basesink_activate):
30727         Actually do something with error codes returned from the push
30728         functions.
30729
30730 2005-05-06  Wim Taymans  <wim@fluendo.com>
30731
30732         * docs/design/part-element-sink.txt:
30733         * docs/design/part-element-source.txt:
30734         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30735         (gst_basesink_event), (gst_basesink_activate):
30736         * gst/base/gstbasesink.h:
30737         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30738         (gst_basesrc_activate):
30739         * gst/base/gstbasesrc.h:
30740         * gst/gstelement.c: (gst_element_pads_activate):
30741         Some more documentation.
30742         Fixed scheduling decision in _pads_activate().
30743
30744 2005-05-05  Andy Wingo  <wingo@pobox.com>
30745
30746         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30747         the test suite.
30748
30749 2005-05-05  Wim Taymans  <wim@fluendo.com>
30750
30751         * gst/base/Makefile.am:
30752         * gst/base/gstbasesink.h:
30753         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30754         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30755         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30756         (gst_collectpads_class_init), (gst_collectpads_init),
30757         (gst_collectpads_finalize), (gst_collectpads_new),
30758         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30759         (find_pad), (gst_collectpads_remove_pad),
30760         (gst_collectpads_is_active), (gst_collectpads_collect),
30761         (gst_collectpads_collect_range), (gst_collectpads_start),
30762         (gst_collectpads_stop), (gst_collectpads_peek),
30763         (gst_collectpads_pop), (gst_collectpads_available),
30764         (gst_collectpads_read), (gst_collectpads_flush),
30765         (gst_collectpads_chain):
30766         * gst/base/gstcollectpads.h:
30767         * gst/elements/Makefile.am:
30768         * gst/elements/gstelements.c:
30769         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30770         (gst_fakesink_get_times), (gst_fakesink_event),
30771         (gst_fakesink_preroll), (gst_fakesink_render):
30772         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30773         (gst_filesink_init), (gst_filesink_set_location),
30774         (gst_filesink_open_file), (gst_filesink_close_file),
30775         (gst_filesink_pad_query), (gst_filesink_event),
30776         (gst_filesink_render), (gst_filesink_change_state):
30777         * gst/elements/gstfilesink.h:
30778         Added object to help in making collect pad based elements.
30779         Ported filesink.
30780         Make event function in sink baseclass return gboolean.
30781
30782 2005-05-05  Wim Taymans  <wim@fluendo.com>
30783
30784         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30785         (gst_bin_get_by_name):
30786         * gst/gstbuffer.h:
30787         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30788         (gst_clock_finalize):
30789         * gst/gstdata.c: (gst_data_replace):
30790         * gst/gstdata.h:
30791         * gst/gstelement.c: (gst_element_request_pad),
30792         (gst_element_pads_activate):
30793         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30794         (gst_object_unref):
30795         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30796         (gst_pad_set_checkgetrange_function),
30797         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30798         (gst_pad_check_pull_range), (gst_pad_pull_range),
30799         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30800         (gst_pad_pause_task), (gst_pad_stop_task):
30801         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30802         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30803         Fix name lookup in GstBin.
30804         Added _data_replace() function and _buffer_replace()
30805         Use finalize method to clean up clock.
30806         Fix refcounting on request pads.
30807         Fix pad schedule mode error.
30808         Some more object refcounting debug info,
30809
30810
30811 2005-05-04  Andy Wingo <wingo@pobox.com>
30812
30813         * check/Makefile.am:
30814         * docs/gst/tmpl/gstatomic.sgml:
30815         * docs/gst/tmpl/gstplugin.sgml:
30816         * gst/base/gstbasesink.c: (gst_basesink_activate):
30817         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30818         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30819         (gst_basesrc_query), (gst_basesrc_set_property),
30820         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30821         (gst_basesrc_activate):
30822         * gst/base/gstbasesrc.h:
30823         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30824         (gst_base_transform_src_activate):
30825         * gst/elements/gstelements.c:
30826         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30827         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30828         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30829         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30830         (gst_type_find_element_checkgetrange),
30831         (gst_type_find_element_activate):
30832         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30833         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30834         (gst_caps_load_thyself):
30835         * gst/gstelement.c: (gst_element_pads_activate),
30836         (gst_element_save_thyself), (gst_element_restore_thyself):
30837         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30838         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30839         * gst/gstpad.h:
30840         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30841         (gst_xml_parse_file), (gst_xml_parse_memory),
30842         (gst_xml_get_element), (gst_xml_make_element):
30843         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30844         (_file_index_id_save_xml), (gst_file_index_commit):
30845         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30846         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30847         (load_paths):
30848         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30849         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30850         * tools/gst-complete.c: (main):
30851         * tools/gst-compprep.c: (main):
30852         * tools/gst-inspect.c: (print_element_properties_info):
30853         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30854         * tools/gst-xmlinspect.c: (print_element_properties):
30855         GCC 4 fixen.
30856         
30857 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30858
30859         * gst/gstplugin.c: (gst_plugin_check_module),
30860         (gst_plugin_check_file), (gst_plugin_load_file):
30861             apply patch from #172526 to make register work on MacOSX
30862
30863 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30864
30865         * docs/gst/tmpl/gstconfig.sgml:
30866         * gst/gstconfig.h.in:
30867           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30868         * testsuite/debug/printf_extension.c: (main):
30869           Do not use GST_PTR_FORMAT on pointers to types with
30870           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30871         * testsuite/elements/property.h:
30872           use correct printf format
30873
30874 2005-05-02  Wim Taymans  <wim@fluendo.com>
30875
30876         * docs/design/draft-push-pull.txt:
30877         * docs/design/draft-query.txt:
30878         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30879         (gst_basesrc_start):
30880         Added draft for new query API.
30881         Added draft for better selecting scheduling methods.
30882         Make basesrc ignore length if the subclass does not support
30883         it.
30884
30885 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30886
30887         * gst/Makefile.am:
30888           possible fixes for automake-1.5 - _LIBADD is reserved
30889
30890 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30891
30892         * docs/faq/Makefile.am:
30893         * docs/manual/Makefile.am:
30894         * docs/manuals.mak:
30895         * docs/pwg/Makefile.am:
30896         * gst/Makefile.am:
30897           possible fixes for automake-1.5
30898
30899 2005-04-28  Wim Taymans  <wim@fluendo.com>
30900
30901         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30902         (gst_basesink_pad_getcaps), (gst_basesink_init),
30903         (gst_basesink_do_sync):
30904         * gst/gstclock.c: (gst_clock_entry_new):
30905         * gst/gstevent.c: (gst_event_discont_get_value):
30906         * gst/gstpipeline.c: (pipeline_bus_handler),
30907         (gst_pipeline_change_state):
30908         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30909         Better debugging of clocking info.
30910         Allow NULL values when getting discont values.
30911
30912 2005-04-27  Wim Taymans  <wim@fluendo.com>
30913
30914         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30915         * check/gst/gstpad.c: (gst_pad_suite):
30916         Increase timeout for checks.
30917
30918 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30919
30920         * check/Makefile.am:
30921           fix the broken rule for cleanup.  Apparently this rule is
30922           only needed on FC2, so maybe this warrants further autotool
30923           inspection.
30924
30925 2005-04-26  Wim Taymans  <wim@fluendo.com>
30926
30927         * gst/gsttrashstack.h:
30928         Ooohh. a nasty one! After having a failed pop() from the stack,
30929         it's possible that the stack is empty. In that case, don't
30930         follow the NULL pointer.
30931
30932 2005-04-25  Wim Taymans  <wim@fluendo.com>
30933
30934         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30935         (gst_pad_set_checkgetrange_function),
30936         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30937         (gst_pad_check_pull_range), (gst_pad_pull_range),
30938         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30939         (gst_pad_pause_task), (gst_pad_stop_task):
30940         * gst/gstplugin.c: (gst_plugin_load):
30941         * gst/gstplugin.h:
30942         Remove gst_library_load as it does more harm than good with
30943         the new g_module flags.
30944         Revert bogus caps template check in pad linking, pad caps
30945         are important when linking not the template, which is more
30946         general than the current caps.
30947
30948 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30949
30950         * gst/autoplug/.cvsignore:
30951         * gst/autoplug/Makefile.am:
30952         * gst/autoplug/gstsearchfuncs.c:
30953         * gst/autoplug/gstsearchfuncs.h:
30954         * gst/autoplug/gstspider.c:
30955         * gst/autoplug/gstspider.h:
30956         * gst/autoplug/gstspideridentity.c:
30957         * gst/autoplug/gstspideridentity.h:
30958         * gst/autoplug/spidertest.c:
30959           Die, spider, die.
30960
30961 2005-04-25  Wim Taymans  <wim@fluendo.com>
30962
30963         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30964         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
30965         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
30966         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
30967         * gst/gstpad.h:
30968         Added stubs for unimplemented functions. 
30969
30970 2005-04-24  David Schleef  <ds@schleef.org>
30971
30972         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
30973         please fix.
30974
30975 2005-04-24  David Schleef  <ds@schleef.org>
30976
30977         Convert everything from GstAtomicInt to g_atomic_int_*, and
30978         remove gstatomic.
30979         * gst/Makefile.am:
30980         * gst/gstatomic.c:
30981         * gst/gstatomic.h:
30982         * gst/gstatomic_impl.h:
30983         * gst/gstbuffer.c:
30984         * gst/gstcaps.c:
30985         * gst/gstcaps.h:
30986         * gst/gstclock.c:
30987         * gst/gstclock.h:
30988         * gst/gstdata.c:
30989         * gst/gstdata.h:
30990         * gst/gstdata_private.h:
30991         * gst/gstevent.c:
30992         * gst/gstinfo.c:
30993         * gst/gstinfo.h:
30994         * gst/gstmessage.c:
30995         * gst/gstobject.c:
30996         * gst/gstobject.h:
30997         * gst/gststructure.c:
30998         * gst/gststructure.h:
30999         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31000         * gst/gstutils.h:
31001
31002 2005-04-24  David Schleef  <ds@schleef.org>
31003
31004         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31005         make the regressions tests work.  Remove some code that is no
31006         longer true.
31007         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31008         Disable warning for pads without templates.
31009
31010 2005-04-24  David Schleef  <ds@schleef.org>
31011
31012         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31013         functions that handle filtered links.
31014         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31015         removed functions.
31016         * gst/gstutils.c: Fix/remove utility functions that handle
31017         filtered caps.
31018         * gst/gstutils.h:
31019         * gst/gstvalue.c: Add serialization/deserialization of caps
31020         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31021         requires fixing so that the filter caps notation creates
31022         a capsfilter element and sets the filter_caps property.  I
31023         think everyone probably wants to keep the shorthand notation.
31024         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31025         * docs/gst/tmpl/gstpad.sgml:
31026
31027         * gst/elements/gstelements.c: Register capsfilter element.
31028         * gst/Makefile.am: fix spacing
31029         * docs/random/ds/0.9-suggested-changes: random
31030
31031 2005-04-23  David Schleef  <ds@schleef.org>
31032
31033         * gst/elements/Makefile.am:
31034         * gst/elements/gstcapsfilter.c: New element that acts like an
31035         identity, but filters caps.  Will eventually replace filtered
31036         caps in pad linking.
31037         * gst/gstutils.c: (gst_element_create_all_pads): New function
31038         to create all the ALWAYS pads that are registered with an
31039         element class.  This functionality should eventually be
31040         merged in with GstElement initialization.
31041         * gst/gstutils.h:
31042         * testsuite/trigger/README: part of trigger test code that should
31043         have been checked in a long time ago.
31044
31045 2005-04-23  David Schleef  <ds@schleef.org>
31046
31047         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31048         needed with new versions of libtool (nobody will confirm this),
31049         and hard to carry around.
31050         * gst/autoplug/Makefile.am:
31051         * gst/base/Makefile.am:
31052         * gst/elements/Makefile.am:
31053         * gst/indexers/Makefile.am:
31054         * gst/schedulers/Makefile.am:
31055         * libs/gst/bytestream/Makefile.am:
31056         * libs/gst/control/Makefile.am:
31057         * libs/gst/dataprotocol/Makefile.am:
31058         * libs/gst/getbits/Makefile.am:
31059
31060 2005-04-21  Wim Taymans  <wim@fluendo.com>
31061
31062         * docs/design/draft-push-pull.txt:
31063         * docs/design/part-MT-refcounting.txt:
31064         * docs/design/part-TODO.txt:
31065         * docs/design/part-caps.txt:
31066         * docs/design/part-events.txt:
31067         * docs/design/part-gstbus.txt:
31068         * docs/design/part-gstpipeline.txt:
31069         * docs/design/part-messages.txt:
31070         * docs/design/part-push-pull.txt:
31071         * docs/design/part-query.txt:
31072         Some more docs.
31073
31074 2005-04-21  Wim Taymans  <wim@fluendo.com>
31075
31076         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31077         (gst_message_new), (gst_message_new_error),
31078         (gst_message_new_warning), (gst_message_new_tag),
31079         (gst_message_new_state_changed), (gst_message_new_application),
31080         (gst_message_get_structure):
31081         * gst/gstmessage.h:
31082         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31083         (gst_structure_copy_conditional):
31084         Use parent refcount in GstMessage to ensure GstStructure
31085         consistency.
31086         Cleaned up headers a bit.
31087         
31088
31089 2005-04-20  Wim Taymans  <wim@fluendo.com>
31090
31091         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31092         (gst_basesink_pad_getcaps), (gst_basesink_init),
31093         (gst_basesink_chain_unlocked):
31094         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31095         (gst_type_find_helper):
31096         * gst/elements/gsttypefindelement.c:
31097         (gst_type_find_element_have_type), (gst_type_find_element_init),
31098         (stop_typefinding), (gst_type_find_element_handle_event),
31099         (find_suggest), (gst_type_find_element_chain),
31100         (gst_type_find_element_checkgetrange),
31101         (gst_type_find_element_getrange), (do_typefind),
31102         (gst_type_find_element_activate):
31103         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31104         (gst_buffer_default_free), (gst_buffer_default_copy),
31105         (gst_buffer_set_caps):
31106         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31107         (gst_caps_replace):
31108         * gst/gstmessage.c: (gst_message_new),
31109         (gst_message_new_state_changed):
31110         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31111         (gst_pad_set_checkgetrange_function),
31112         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31113         (gst_pad_set_caps), (gst_pad_check_pull_range),
31114         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31115         * gst/gstpad.h:
31116         * gst/gsttypefind.c: (gst_type_find_register):
31117         Make gst_caps_replace() work like other _replace() functions.
31118         Use _caps_replace() where possible.
31119         Make sure _message_new() initialises its field.
31120         Add gst_static_pad_template_get_caps()
31121
31122
31123 2005-04-18  Andy Wingo  <wingo@pobox.com>
31124
31125         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31126         on the peer, not the pad. I think that was a typo. Pass an extra
31127         arg to see if random access is possible. Activate the pads as
31128         PULL_RANGE if possible.
31129
31130         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31131
31132         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31133         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31134         to PROP_....
31135
31136 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31137
31138         * docs/faq/using.xml:
31139           Add note on gstreamer-properties (#154996).
31140
31141 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31142
31143         * docs/random/bbb/optional-properties:
31144           Some analysis on optional properties.
31145
31146 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31147
31148         * docs/gst/tmpl/gstelementfactory.sgml:
31149         * gst/gstelement.h:
31150         * gst/gstelementfactory.c: (gst_element_factory_init),
31151         (gst_element_factory_cleanup), (gst_element_register),
31152         (__gst_element_factory_add_static_pad_template),
31153         (gst_element_factory_get_static_pad_templates),
31154         (gst_element_factory_can_src_caps),
31155         (gst_element_factory_can_sink_caps):
31156         * gst/registries/Makefile.am:
31157         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31158         (gst_xml_registry_class_init), (gst_xml_registry_init),
31159         (gst_xml_registry_new), (gst_xml_registry_set_property),
31160         (gst_xml_registry_get_property), (get_time), (make_dir),
31161         (gst_xml_registry_get_perms_func),
31162         (plugin_times_older_than_recurse), (plugin_times_older_than),
31163         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31164         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31165         (add_to_char_array), (read_string), (read_uint), (read_enum),
31166         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31167         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31168         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31169         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31170         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31171         (gst_xml_registry_rebuild):
31172         * gst/registries/gstlibxmlregistry.h:
31173         * tools/gst-compprep.c: (main):
31174         * tools/gst-inspect.c: (print_pad_templates_info):
31175         * tools/gst-xmlinspect.c: (print_element_info):
31176           Use libxml2 for registry parsing, use staticpadtemplates in
31177           elementfactories. Makes gst_init() +/- 10x faster.
31178
31179 2005-04-12  Wim Taymans  <wim@fluendo.com>
31180
31181         * gst/base/Makefile.am:
31182         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31183         (gst_basesink_pad_getcaps), (gst_basesink_init),
31184         (gst_basesink_event), (gst_basesink_change_state):
31185         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31186         (gst_basesrc_init), (gst_basesrc_query),
31187         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31188         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31189         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31190         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31191         (gst_basesrc_stop), (gst_basesrc_activate),
31192         (gst_basesrc_change_state):
31193         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31194         (helper_find_suggest), (gst_type_find_helper):
31195         * gst/base/gsttypefindhelper.h:
31196         * gst/elements/Makefile.am:
31197         * gst/elements/gstelements.c:
31198         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31199         (gst_fakesink_get_times), (gst_fakesink_event),
31200         (gst_fakesink_preroll), (gst_fakesink_render):
31201         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31202         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31203         (gst_fakesrc_get_property), (gst_fakesrc_create),
31204         (gst_fakesrc_start), (gst_fakesrc_stop):
31205         * gst/elements/gstfakesrc.h:
31206         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31207         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31208         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31209         (gst_filesrc_create_read), (gst_filesrc_create),
31210         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31211         (gst_filesrc_start):
31212         * gst/elements/gsttypefindelement.c:
31213         (gst_type_find_element_have_type), (gst_type_find_element_init),
31214         (start_typefinding), (stop_typefinding), (push_buffer_store),
31215         (gst_type_find_element_handle_event),
31216         (gst_type_find_element_chain),
31217         (gst_type_find_element_checkgetrange),
31218         (gst_type_find_element_getrange), (do_typefind),
31219         (gst_type_find_element_activate),
31220         (gst_type_find_element_change_state):
31221         * gst/elements/gsttypefindelement.h:
31222         * gst/gstpipeline.c: (pipeline_bus_handler):
31223         Added typefind helper.
31224         Small preroll fix in the base sink.
31225         Disable typefind code in basesrc.
31226         Crude port of typefindelement.
31227         Fakesrc cleanups.
31228
31229
31230 2005-04-11  Wim Taymans  <wim@fluendo.com>
31231
31232         * check/gst/gstbus.c: (gstbus_suite):
31233         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31234         * check/gstcheck.h:
31235           Fix up the timeout so that the test does not fail.
31236
31237 2005-04-06  Wim Taymans  <wim@fluendo.com>
31238
31239         * gst/base/README:
31240         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31241         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31242         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31243         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31244         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31245         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31246         (gst_basesrc_stop), (gst_basesrc_activate),
31247         (gst_basesrc_change_state), (basesrc_find_peek),
31248         (basesrc_find_suggest), (gst_basesrc_type_find):
31249         * gst/base/gstbasesrc.h:
31250         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31251         (gst_filesrc_class_init), (gst_filesrc_init),
31252         (gst_filesrc_finalize), (gst_filesrc_set_location),
31253         (gst_filesrc_set_property), (gst_filesrc_get_property),
31254         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31255         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31256         (gst_filesrc_create_read), (gst_filesrc_create),
31257         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31258         * gst/elements/gstfilesrc.h:
31259         * gst/gstelement.c: (gst_element_get_state_func),
31260         (gst_element_lost_state), (gst_element_pads_activate):
31261         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31262         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31263         (gst_pad_pull_range):
31264         * gst/gstpad.h:
31265         More work on the generic source base class, implement seeking,
31266         query.
31267         Make filesrc extend the base source class.
31268         Added gst_pad_set_checkgetrange_function to GstPad.
31269
31270 2005-04-06  Andy Wingo  <wingo@pobox.com>
31271
31272         * pkgconfig/gstreamer-base.pc.in:
31273         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31274
31275         * pkgconfig/Makefile.am:
31276         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31277
31278 2005-04-04  Wim Taymans  <wim@fluendo.com>
31279
31280         * gst/base/Makefile.am:
31281         * gst/base/README:
31282         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31283         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31284         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31285         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31286         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31287         (gst_basesrc_base_init), (gst_basesrc_class_init),
31288         (gst_basesrc_init), (gst_basesrc_get_formats),
31289         (gst_basesrc_get_query_types), (gst_basesrc_query),
31290         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31291         (gst_basesrc_set_property), (gst_basesrc_get_property),
31292         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31293         (gst_basesrc_loop), (gst_basesrc_activate),
31294         (gst_basesrc_change_state):
31295         * gst/base/gstbasesrc.h:
31296         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31297         (gst_fakesrc_class_init), (gst_fakesrc_init),
31298         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31299         (gst_fakesrc_get_property), (gst_fakesrc_create):
31300         * gst/elements/gstfakesrc.h:
31301         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31302         (gst_filesrc_open_file), (gst_filesrc_loop),
31303         (gst_filesrc_activate), (filesrc_find_peek),
31304         (gst_filesrc_type_find):
31305         Made base source class, make fakesrc extend it.
31306         Add comments to basesink class.
31307         Some filesrc cleanup.
31308
31309 2005-03-31  David Schleef  <ds@schleef.org>
31310
31311         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31312         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31313         expected to link against libgstreamer.
31314         * gst/base/Makefile.am: link against libgstreamer
31315         * gst/elements/Makefile.am: same
31316
31317 2005-03-31  Andy Wingo  <wingo@pobox.com>
31318
31319         * tests/instantiate/Makefile.am:
31320         * tests/instantiate/caps.c: Add test to test speed of caps copy
31321         and free.
31322
31323         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31324         GMemChunk to be fair.
31325
31326         * gst/gsttrashstack.h: Remove warning about using the fallback
31327         trash stack implementation, it's still faster than malloc.
31328
31329 2005-03-30  Andy Wingo  <wingo@pobox.com>
31330
31331         * tests/complexity.c: Add a copyright.
31332
31333 2005-03-31  Wim Taymans  <wim@fluendo.com>
31334
31335         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31336         (gst_base_transform_class_init), (gst_base_transform_init),
31337         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31338         (gst_base_transform_get_property),
31339         (gst_base_transform_sink_activate),
31340         (gst_base_transform_src_activate),
31341         (gst_base_transform_change_state):
31342         * gst/base/gstbasetransform.h:
31343         * gst/elements/gstidentity.c: (gst_identity_class_init),
31344         (gst_identity_event), (gst_identity_check_perfect),
31345         (gst_identity_transform), (gst_identity_start),
31346         (gst_identity_stop):
31347         Added start/stop methods to transform base class so subclasses 
31348         don't need to deal with state changes even.
31349
31350 2005-03-31  Wim Taymans  <wim@fluendo.com>
31351
31352         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31353         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31354         * gst/gstevent.h:
31355         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31356         (gst_pad_pull_range):
31357         Added rate to the discont event to prepare for variable speed
31358         and reverse playback.
31359
31360 2005-03-29  David Schleef  <ds@schleef.org>
31361
31362         * configure.ac:
31363         * testsuite/trigger/Makefile.am:
31364         * testsuite/trigger/trigger.c: A little example program to show
31365         how trigger-based elements can work.
31366
31367 2005-03-29  Wim Taymans  <wim@fluendo.com>
31368
31369         * gst/base/Makefile.am:
31370         * gst/base/README:
31371         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31372         (gst_basesink_base_init), (gst_basesink_class_init),
31373         (gst_basesink_pad_getcaps), (gst_basesink_init),
31374         (gst_basesink_activate), (gst_basesink_change_state):
31375         * gst/base/gstbasesink.h:
31376         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31377         (gst_base_transform_base_init), (gst_base_transform_finalize),
31378         (gst_base_transform_class_init), (gst_base_transform_init),
31379         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31380         (gst_base_transform_event), (gst_base_transform_getrange),
31381         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31382         (gst_base_transform_set_property),
31383         (gst_base_transform_get_property),
31384         (gst_base_transform_sink_activate),
31385         (gst_base_transform_src_activate),
31386         (gst_base_transform_change_state):
31387         * gst/base/gstbasetransform.h:
31388         * gst/elements/gstidentity.c: (gst_identity_finalize),
31389         (gst_identity_class_init), (gst_identity_init),
31390         (gst_identity_event), (gst_identity_check_perfect),
31391         (gst_identity_transform), (gst_identity_set_property),
31392         (gst_identity_get_property), (gst_identity_change_state):
31393         * gst/elements/gstidentity.h:
31394         * gst/gstelement.c: (gst_element_get_state_func),
31395         (gst_element_lost_state), (gst_element_pads_activate):
31396         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31397         (gst_pad_check_pull_range), (gst_pad_pull_range):
31398         * gst/gstpad.h:
31399         Simplify pad activation.
31400         Added function to check if pull_range can be performed.
31401         Error out when pulling inactive or flushing pads.
31402         Removed const from refcounted types as it does not make sense.
31403         Simplify pad templates in basesink
31404         Added base class for simple 1-to-1 transforms.
31405         Make identity subclass the base transform.
31406
31407 2005-03-29  Andy Wingo  <wingo@pobox.com>
31408
31409         * docs/libs/gstreamer-libs-overrides.txt: 
31410         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31411         really don't understand what's going on, but like whatever. I want
31412         green buildbot!
31413
31414         * docs/gst/Makefile.am:
31415         * docs/libs/Makefile.am: Dist the overrides files.
31416
31417         * check/Makefile.am (clean-local): Remove .libs directories.
31418
31419         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31420         elements to EXTRA_DIST, so po/ files are happy.
31421
31422         * po/POTFILES.in: Er, remove it here.
31423
31424         * po/POTFILES: Remove gstspider.c.
31425
31426         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31427
31428         * docs/libs/gstreamer-libs-docs.sgml: 
31429         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31430         bytestream.
31431
31432         * tests/complexity.c (main): Set the length of the preroll queue
31433         on the sinks to prevent a lockup.
31434
31435         * libs/gst/dataprotocol/Makefile.am: 
31436         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31437         the same as the one in check/gst-libs/gdp.c.
31438
31439         * po/, docs/gst/: Commit automatic changes to docs and po files.
31440
31441         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31442         the versioned libgstbase.
31443
31444         * check/Makefile.am: Depend on an unversioned gst-register, seems
31445         to make autoconf happier.
31446
31447         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31448
31449 2005-03-28  Wim Taymans  <wim@fluendo.com>
31450
31451         * configure.ac:
31452         * docs/design/part-gstelement.txt:
31453         * docs/design/part-negotiation.txt:
31454         * docs/design/part-preroll.txt:
31455         * docs/design/part-scheduling.txt:
31456         * docs/design/part-states.txt:
31457         * gst/Makefile.am:
31458         * gst/base/Makefile.am:
31459         * gst/base/README:
31460         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31461         (gst_basesink_base_init), (gst_basesink_class_init),
31462         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31463         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31464         (gst_basesink_set_pad_functions),
31465         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31466         (gst_basesink_set_property), (gst_basesink_get_property),
31467         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31468         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31469         (gst_basesink_preroll_queue_push),
31470         (gst_basesink_preroll_queue_empty),
31471         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31472         (gst_basesink_event), (gst_basesink_get_times),
31473         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31474         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31475         (gst_basesink_loop), (gst_basesink_activate),
31476         (gst_basesink_change_state):
31477         * gst/base/gstbasesink.h:
31478         * gst/elements/Makefile.am:
31479         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31480         (gst_fakesink_class_init), (gst_fakesink_init),
31481         (gst_fakesink_set_property), (gst_fakesink_get_property),
31482         (gst_fakesink_get_times), (gst_fakesink_event),
31483         (gst_fakesink_preroll), (gst_fakesink_render),
31484         (gst_fakesink_change_state):
31485         * gst/elements/gstfakesink.h:
31486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31487         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31488         * gst/gstelement.c: (gst_element_add_pad),
31489         (gst_element_get_state_func), (gst_element_abort_state),
31490         (gst_element_commit_state), (gst_element_lost_state),
31491         (gst_element_set_state), (gst_element_pads_activate):
31492         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31493         * gst/gstpipeline.c: (gst_pipeline_send_event),
31494         (gst_pipeline_change_state):
31495         Added state change code.
31496         Added/updated docs.
31497         Added sink base class, make fakesink extend the base class.
31498         Small cleanups in GstPipeline.
31499
31500 2005-03-26  David Schleef  <ds@schleef.org>
31501
31502         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31503         is broken and should be implemented in a different library.
31504         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31505         * gst/gst.h: remove gstcpu.h
31506         * gst/gstcpu.c: remove
31507         * gst/gstcpu.h: remove
31508         * gst/Makefile.am.future: Remove this file.  It's ancient.
31509
31510 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31511
31512         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31513         (gst_bin_send_event):
31514           Add default event/set_manager handlers. The set_manager handler
31515           takes care that the manager is distributed over kids that were
31516           already in the bin before the manager was set. The event handler
31517           is a utility virtual function that sends the event over all sinks,
31518           so that gst_element_send_event (bin, event); has the expected
31519           behaviour.
31520         * gst/gstpad.c: (gst_pad_event_default):
31521           Re-install default event handling for discontinuities, so that
31522           seeking works without requiring hacks in applications or extra
31523           code in sinks.
31524         * gst/gstpipeline.c: (gst_pipeline_class_init),
31525         (gst_pipeline_send_event):
31526           Half hack, half utility: set a pipeline to PAUSED for seek events,
31527           since that is the only way we can guarantee a/v sync. Means that
31528           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31529           and it "just works".
31530
31531 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31532
31533         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31534           Lock/unlock mismatch.
31535
31536 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31537
31538         * docs/faq/gst-uninstalled:
31539           add gst-plugins-base
31540         * docs/gst/Makefile.am:
31541           don't error out until docs are fixed
31542         * docs/gst/gstreamer.types:
31543           remove thread
31544
31545 2005-03-22  Wim Taymans  <wim@fluendo.com>
31546
31547         * check/Makefile.am:
31548         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31549         * gst/gststructure.c: (gst_structure_set_valist),
31550         (gst_structure_copy_conditional):
31551         Activated more tests.
31552         Added message test.
31553         Added G_TYPE_POINTER to GstStructure.
31554         
31555
31556 2005-03-22  Wim Taymans  <wim@fluendo.com>
31557
31558         * docs/design/part-TODO.txt:
31559         * docs/design/part-events.txt:
31560         * docs/design/part-gstbin.txt:
31561         * docs/design/part-gstbus.txt:
31562         * docs/design/part-gstpipeline.txt:
31563         * docs/design/part-messages.txt:
31564         * gst/gstbus.c:
31565         * gst/gstmessage.c:
31566         Docs updates
31567
31568 2005-03-21  Wim Taymans  <wim@fluendo.com>
31569
31570         * gst/gstbus.c: (gst_bus_post):
31571         Fix copy-and-paste error.
31572
31573 2005-03-21  Wim Taymans  <wim@fluendo.com>
31574
31575         * check/Makefile.am:
31576         * gst/Makefile.am:
31577         * gst/elements/Makefile.am:
31578         * gst/elements/gstelements.c:
31579         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31580         (gst_fakesink_event), (gst_fakesink_chain):
31581         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31582         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31583         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31584         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31585         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31586         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31587         (gst_fakesrc_loop), (gst_fakesrc_activate),
31588         (gst_fakesrc_change_state):
31589         * gst/elements/gstfakesrc.h:
31590         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31591         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31592         (gst_filesrc_open_file), (gst_filesrc_loop),
31593         (gst_filesrc_activate), (gst_filesrc_change_state),
31594         (filesrc_find_peek), (filesrc_find_suggest),
31595         (gst_filesrc_type_find):
31596         * gst/elements/gstidentity.c: (gst_identity_finalize),
31597         (gst_identity_class_init), (gst_identity_init),
31598         (gst_identity_proxy_getcaps), (identity_queue_push),
31599         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31600         (gst_identity_getrange), (gst_identity_chain),
31601         (gst_identity_sink_loop), (gst_identity_src_loop),
31602         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31603         (gst_identity_set_property), (gst_identity_get_property),
31604         (gst_identity_change_state):
31605         * gst/elements/gstidentity.h:
31606         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31607         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31608         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31609         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31610         (gst_tee_sink_activate):
31611         * gst/elements/gsttee.h:
31612         * gst/gst.c: (gst_register_core_elements), (init_post):
31613         * gst/gst.h:
31614         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31615         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31616         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31617         (gst_bin_change_state):
31618         * gst/gstbin.h:
31619         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31620         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31621         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31622         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31623         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31624         (bus_watch_callback), (bus_watch_destroy),
31625         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31626         (poll_timeout), (gst_bus_poll):
31627         * gst/gstbus.h:
31628         * gst/gstcaps.h:
31629         * gst/gstdata.h:
31630         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31631         (gst_element_post_message), (gst_element_message_full),
31632         (gst_element_get_state_func), (gst_element_get_state),
31633         (gst_element_abort_state), (gst_element_commit_state),
31634         (gst_element_lost_state), (gst_element_set_state),
31635         (gst_element_pads_activate), (gst_element_change_state),
31636         (gst_element_dispose), (gst_element_set_manager_func),
31637         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31638         (gst_element_set_manager), (gst_element_get_manager),
31639         (gst_element_set_bus), (gst_element_get_bus),
31640         (gst_element_set_scheduler), (gst_element_get_scheduler):
31641         * gst/gstelement.h:
31642         * gst/gstevent.c: (gst_event_new_segment_seek),
31643         (gst_event_new_flush):
31644         * gst/gstevent.h:
31645         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31646         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31647         (gst_message_new_eos), (gst_message_new_error),
31648         (gst_message_new_warning), (gst_message_new_tag),
31649         (gst_message_new_state_changed), (gst_message_new_application),
31650         (gst_message_get_structure), (gst_message_parse_tag),
31651         (gst_message_parse_state_changed), (gst_message_parse_error),
31652         (gst_message_parse_warning):
31653         * gst/gstmessage.h:
31654         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31655         (gst_real_pad_set_property), (gst_pad_set_active),
31656         (gst_pad_is_active), (gst_pad_set_blocked_async),
31657         (gst_pad_set_blocked), (gst_pad_is_blocked),
31658         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31659         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31660         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31661         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31662         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31663         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31664         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31665         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31666         (gst_pad_set_caps), (gst_pad_configure_sink),
31667         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31668         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31669         (gst_real_pad_dispose), (gst_real_pad_finalize),
31670         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31671         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31672         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31673         * gst/gstpad.h:
31674         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31675         (pipeline_bus_handler), (gst_pipeline_change_state),
31676         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31677         * gst/gstpipeline.h:
31678         * gst/gstprobe.h:
31679         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31680         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31681         (gst_queue_link_src), (gst_queue_bufferalloc),
31682         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31683         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31684         (gst_queue_loop), (gst_queue_handle_src_event),
31685         (gst_queue_handle_src_query), (gst_queue_src_activate),
31686         (gst_queue_change_state):
31687         * gst/gstqueue.h:
31688         * gst/gstscheduler.c: (gst_scheduler_init),
31689         (gst_scheduler_dispose), (gst_scheduler_create_task),
31690         (gst_scheduler_factory_create):
31691         * gst/gstscheduler.h:
31692         * gst/gststructure.c: (gst_structure_get_type),
31693         (gst_structure_copy_conditional):
31694         * gst/gststructure.h:
31695         * gst/gsttaginterface.h:
31696         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31697         (gst_task_init), (gst_task_dispose), (gst_task_create),
31698         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31699         (gst_task_pause):
31700         * gst/gsttask.h:
31701         * gst/gstthread.c:
31702         * gst/gstthread.h:
31703         * gst/gsttypes.h:
31704         * gst/schedulers/Makefile.am:
31705         * gst/schedulers/cothreads_compat.h:
31706         * gst/schedulers/entryscheduler.c:
31707         * gst/schedulers/faircothreads.c:
31708         * gst/schedulers/faircothreads.h:
31709         * gst/schedulers/fairscheduler.c:
31710         * gst/schedulers/gstbasicscheduler.c:
31711         * gst/schedulers/gstoptimalscheduler.c:
31712         * gst/schedulers/gthread-cothreads.h:
31713         * gst/schedulers/threadscheduler.c:
31714         (gst_thread_scheduler_task_get_type),
31715         (gst_thread_scheduler_task_class_init),
31716         (gst_thread_scheduler_task_init),
31717         (gst_thread_scheduler_task_start),
31718         (gst_thread_scheduler_task_stop),
31719         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31720         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31721         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31722         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31723         (plugin_init):
31724         * libs/gst/Makefile.am:
31725         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31726         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31727         (gst_file_pad_parent_set):
31728         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31729         (gst_dp_event_from_packet):
31730         * tests/complexity.c: (main):
31731         * tests/mass_elements.c: (main):
31732         * testsuite/states/locked.c: (message_received), (main):
31733         * testsuite/states/parent.c: (main):
31734         * tools/gst-inspect.c: (print_element_flag_info),
31735         (print_implementation_info), (print_pad_info):
31736         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31737         (main):
31738         * tools/gst-md5sum.c: (event_loop), (main):
31739         * tools/gst-typefind.c: (main):
31740         * tools/gst-xmlinspect.c: (print_element_info):
31741         Next big merge.
31742         Added GstBus for mainloop integration.
31743         Added GstMessage for sending notifications on the bus.
31744         Added GstTask as an abstraction for pipeline entry points.
31745         Removed GstThread.
31746         Removed Schedulers.
31747         Simplified GstQueue for multithreaded core.
31748         Made _link threadsafe, removed old capsnego.
31749         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31750         Added pad blocking functions.
31751         Reworked scheduling functions in GstPad to prepare for
31752         scheduling updates soon.
31753         Moved events out of data stream.
31754         Simplified GstEvent types.
31755         Added return values to push/pull.
31756         Removed clocking from GstElement.
31757         Added prototypes for state change function for next merge.
31758         Removed iterate from bins and state change management.
31759         Fixed some elements, disabled others for now.
31760         Fixed -inspect and -launch.
31761         Added check for GstBus.
31762
31763 2005-03-10  Wim Taymans  <wim@fluendo.com>
31764
31765         * docs/design/part-MT-refcounting.txt:
31766         * docs/design/part-clocks.txt:
31767         * docs/design/part-gstelement.txt:
31768         * docs/design/part-gstobject.txt:
31769         * docs/design/part-standards.txt:
31770         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31771         (gst_bin_remove_func), (gst_bin_remove):
31772         * gst/gstbin.h:
31773         * gst/gstbuffer.c:
31774         * gst/gstcaps.h:
31775         * testsuite/clock/clock1.c: (main):
31776         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31777         (main):
31778         * testsuite/dlopen/loadgst.c: (do_test):
31779         * testsuite/refcounting/bin.c: (add_remove_test1),
31780         (add_remove_test2), (main):
31781         * testsuite/refcounting/element.c: (main):
31782         * testsuite/refcounting/element_pad.c: (main):
31783         * testsuite/refcounting/pad.c: (main):
31784         * tools/gst-launch.c: (sigint_handler_sighandler):
31785         * tools/gst-typefind.c: (main):
31786         Doc updates.
31787         Added doc about clock.
31788         removed gst_bin_iterate_recurse_up(), marked methods
31789         for removal.
31790         Fix more testsuites.
31791
31792 2005-03-09  Wim Taymans  <wim@fluendo.com>
31793
31794         * gst/gstpad.c: (gst_pad_get_direction),
31795         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31796         (gst_pad_collect_valist):
31797         * testsuite/bins/interface.c: (main):
31798         * testsuite/caps/audioscale.c: (test_caps):
31799         * testsuite/caps/caps.c: (test1), (test2), (test3):
31800         * testsuite/caps/deserialize.c: (main):
31801         * testsuite/caps/enumcaps.c: (main):
31802         * testsuite/caps/filtercaps.c: (main):
31803         * testsuite/caps/intersect2.c: (main):
31804         * testsuite/caps/random.c: (main):
31805         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31806         * testsuite/caps/sets.c: (check_caps):
31807         * testsuite/caps/simplify.c: (check_caps), (main):
31808         * testsuite/caps/subtract.c: (check_caps):
31809         Fix _pad_get_direction wrt ghostpads.
31810         Fix caps testsuite.
31811
31812 2005-03-09  Wim Taymans  <wim@fluendo.com>
31813
31814         * check/Makefile.am:
31815         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31816         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31817         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31819         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31820         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31821         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31822         (bin_element_is_sink), (gst_bin_iterate_sinks),
31823         (gst_bin_iterate_all_by_interface):
31824         * gst/gstbin.h:
31825         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31826         (gst_element_change_state), (gst_element_dispose),
31827         (gst_element_finalize), (gst_element_set_loop_function):
31828         * gst/gstelement.h:
31829         * gst/gstiterator.c: (find_custom_fold_func):
31830         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31831         (gst_pad_collectv), (gst_pad_collect_valist),
31832         (gst_pad_template_new):
31833         * gst/gstpipeline.c: (gst_pipeline_class_init),
31834         (gst_pipeline_dispose), (gst_pipeline_set_property),
31835         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31836         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31837         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31838         * gst/gstutils.h:
31839         * gst/schedulers/entryscheduler.c:
31840         * gst/schedulers/gstbasicscheduler.c:
31841         (gst_basic_scheduler_cothreaded_chain),
31842         (gst_basic_scheduler_chain_add_element):
31843         * testsuite/bins/interface.c: (main):
31844         Added GstBin test.
31845         Added GstSystemClock test.
31846         Implemented clock distribution code in GstBin.
31847         Implemented iterate sinks method for future use.
31848         Rearranged gstelement.h
31849         Fix GstIterator comparison bug.
31850         Moved some code to GstPipeline, mostly clocking related.
31851
31852 2005-03-09  Wim Taymans  <wim@fluendo.com>
31853
31854         * configure.ac:
31855         * gst/gst_private.h:
31856         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31857         (gst_bin_remove_func), (gst_bin_remove),
31858         (gst_bin_get_by_name_recurse_up):
31859         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31860         (gst_clock_id_compare_func), (gst_clock_id_wait),
31861         (gst_clock_id_wait_async), (gst_clock_init),
31862         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31863         * gst/gstelement.h:
31864         * gst/gstinfo.c: (_gst_debug_init):
31865         * gst/gstobject.h:
31866         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31867         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31868         * gst/gstpad.h:
31869         Bump version number, we're now 0.9.0
31870         Add future debugging category.
31871         Fix NULL _unref() in _get_by_name_recurse_up
31872         Rearrange gstpad.h.
31873         Update some docs.
31874
31875 2005-03-08  Wim Taymans  <wim@fluendo.com>
31876
31877         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31878         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31879         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31880         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31881         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31882         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31883         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31884         * gst/elements/gstidentity.c: (gst_identity_class_init):
31885         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31886         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31887         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31888         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31889         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31890         (gst_tee_link):
31891         * gst/gstelement.c: (gst_element_class_init),
31892         (gst_element_base_class_init), (gst_element_init),
31893         (gst_element_get_random_pad), (gst_element_wait_state_change),
31894         (gst_element_change_state), (gst_element_dispose),
31895         (gst_element_finalize), (gst_element_set_loop_function):
31896         * gst/gstelement.h:
31897         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31898         * gst/gstthread.c: (gst_thread_class_init),
31899         (gst_thread_release_children_locks), (gst_thread_change_state):
31900         * gst/schedulers/gstbasicscheduler.c:
31901         (gst_basic_scheduler_loopfunc_wrapper),
31902         (gst_basic_scheduler_chain_wrapper),
31903         (gst_basic_scheduler_src_wrapper),
31904         (gst_basic_scheduler_remove_element):
31905         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31906         Remove threadsafe properties. Fix elements because GObject
31907         complains when installing a property before declaring a
31908         set/get_property handler.
31909         Rearrange gstelement.h file, use STATE macros for state locks.
31910         Free mutexes in the finalize method instead of dispose.
31911
31912 2005-03-08  Wim Taymans  <wim@fluendo.com>
31913
31914         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31915         * gst/gstthread.c: (gst_thread_release_children_locks):
31916         Added parentage check.
31917         Fix build og GstThread again.
31918
31919 2005-03-08  Wim Taymans  <wim@fluendo.com>
31920
31921         * docs/design/part-MT-refcounting.txt:
31922         * docs/design/part-conventions.txt:
31923         * docs/design/part-gstobject.txt:
31924         * docs/design/part-relations.txt:
31925         * docs/design/part-standards.txt:
31926         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31927         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31928         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31929         (gst_bin_iterate_all_by_interface):
31930         * gst/gstbuffer.h:
31931         * gst/gstclock.h:
31932         * gst/gstelement.c: (gst_element_class_init),
31933         (gst_element_change_state), (gst_element_set_loop_function):
31934         * gst/gstelement.h:
31935         * gst/gstiterator.c:
31936         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31937         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31938         (gst_object_dispatch_properties_changed), (gst_object_set_name),
31939         (gst_object_set_parent), (gst_object_unparent),
31940         (gst_object_check_uniqueness):
31941         * gst/gstobject.h:
31942         Docs updates, clean up some headers.
31943
31944 2005-03-07  Wim Taymans  <wim@fluendo.com>
31945
31946         * check/.cvsignore:
31947         * check/Makefile.am:
31948         * check/gst-libs/.cvsignore:
31949         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
31950         * check/gst/.cvsignore:
31951         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
31952         (START_TEST), (gstbus_suite), (main):
31953         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
31954         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
31955         (gst_data_suite), (main):
31956         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
31957         (add_fold_func), (gstiterator_suite), (main):
31958         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
31959         (thread_name_object), (thread_name_object_default),
31960         (gst_object_name_compare), (gst_object_suite), (main):
31961         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
31962         (gst_pad_suite), (main):
31963         * check/gstcheck.c: (gst_check_log_message_func),
31964         (gst_check_log_critical_func), (gst_check_init):
31965         * check/gstcheck.h:
31966         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
31967         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
31968         Added checks.
31969
31970 2005-03-07  Wim Taymans  <wim@fluendo.com>
31971
31972         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
31973         (gst_list_iterator_next), (gst_list_iterator_resync),
31974         (gst_list_iterator_free), (gst_iterator_new_list),
31975         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
31976         (gst_iterator_free), (gst_iterator_push), (filter_next),
31977         (filter_resync), (filter_uninit), (filter_free),
31978         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
31979         (gst_iterator_foreach), (find_custom_fold_func),
31980         (gst_iterator_find_custom):
31981         * gst/gstiterator.h:
31982         Added missing files.
31983
31984 2005-03-07  Wim Taymans  <wim@fluendo.com>
31985
31986         * Makefile.am:
31987         * configure.ac:
31988         * docs/design/part-MT-refcounting.txt:
31989         * docs/design/part-conventions.txt:
31990         * docs/design/part-gstobject.txt:
31991         * docs/design/part-relations.txt:
31992         * examples/mixer/mixer.c: (main):
31993         * examples/thread/thread.c: (eos), (main):
31994         * gst/Makefile.am:
31995         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
31996         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
31997         (gst_spider_plug_from_srcpad):
31998         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
31999         (gst_spider_identity_change_state),
32000         (gst_spider_identity_sink_loop_type_finding):
32001         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32002         * gst/elements/gstidentity.c: (gst_identity_init):
32003         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32004         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32005         * gst/elements/gsttypefindelement.c: (free_entry):
32006         * gst/gst.c:
32007         * gst/gst.h:
32008         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32009         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32010         (gst_bin_set_index), (gst_bin_set_element_sched),
32011         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32012         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32013         (gst_bin_iterate_elements), (iterate_child_recurse),
32014         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32015         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32016         (compare_interface), (gst_bin_get_by_interface),
32017         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32018         * gst/gstbin.h:
32019         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32020         (gst_buffer_default_free), (gst_buffer_default_copy),
32021         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32022         (gst_buffer_create_sub):
32023         * gst/gstbuffer.h:
32024         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32025         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32026         (gst_caps_unref), (gst_static_caps_get),
32027         (gst_caps_remove_and_get_structure), (gst_caps_append),
32028         (gst_caps_append_structure), (gst_caps_remove_structure),
32029         (gst_caps_copy_nth), (gst_caps_set_simple),
32030         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32031         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32032         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32033         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32034         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32035         (gst_caps_structure_figure_out_union),
32036         (gst_caps_switch_structures), (gst_caps_do_simplify),
32037         (gst_caps_replace), (gst_caps_from_string),
32038         (gst_caps_copy_conditional):
32039         * gst/gstcaps.h:
32040         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32041         (_gst_clock_id_free), (gst_clock_id_unref),
32042         (gst_clock_id_compare_func), (gst_clock_id_wait),
32043         (gst_clock_id_wait_async), (gst_clock_class_init),
32044         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32045         (gst_clock_get_time), (gst_clock_set_time_adjust),
32046         (gst_clock_set_property), (gst_clock_get_property):
32047         * gst/gstclock.h:
32048         * gst/gstcompat.h:
32049         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32050         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32051         * gst/gstdata.h:
32052         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32053         (gst_element_requires_clock), (gst_element_provides_clock),
32054         (gst_element_set_clock), (gst_element_clock_wait),
32055         (gst_element_wait), (gst_element_set_time_delay),
32056         (gst_element_is_indexable), (gst_element_add_pad),
32057         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32058         (pad_compare_name), (gst_element_get_static_pad),
32059         (gst_element_request_pad), (gst_element_get_request_pad),
32060         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32061         (gst_element_class_get_pad_template_list),
32062         (gst_element_class_get_pad_template), (gst_element_error_func),
32063         (gst_element_get_random_pad), (gst_element_get_event_masks),
32064         (gst_element_send_event), (gst_element_seek),
32065         (gst_element_get_query_types), (gst_element_query),
32066         (gst_element_get_formats), (gst_element_convert),
32067         (gst_element_is_locked_state), (gst_element_set_locked_state),
32068         (gst_element_sync_state_with_parent), (gst_element_change_state),
32069         (gst_element_finalize), (gst_element_yield),
32070         (gst_element_interrupt), (gst_element_set_scheduler),
32071         (gst_element_get_scheduler), (gst_element_set_loop_function):
32072         * gst/gstelement.h:
32073         * gst/gstevent.h:
32074         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32075         (gst_format_get_by_nick), (gst_format_get_details),
32076         (gst_format_iterate_definitions):
32077         * gst/gstformat.h:
32078         * gst/gstindex.c: (gst_index_gtype_resolver):
32079         * gst/gstinfo.c:
32080         * gst/gstinfo.h:
32081         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32082         (gst_mem_chunk_free):
32083         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32084         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32085         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32086         (gst_object_dispatch_properties_changed),
32087         (gst_object_set_name_default), (gst_object_set_name),
32088         (gst_object_get_name), (gst_object_set_name_prefix),
32089         (gst_object_get_name_prefix), (gst_object_set_parent),
32090         (gst_object_get_parent), (gst_object_unparent),
32091         (gst_object_check_uniqueness), (gst_object_save_thyself),
32092         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32093         (gst_object_set_property), (gst_object_get_property),
32094         (gst_object_get_path_string):
32095         * gst/gstobject.h:
32096         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32097         (gst_real_pad_init), (gst_real_pad_get_property),
32098         (gst_pad_custom_new), (gst_pad_get_direction),
32099         (gst_pad_set_active), (gst_pad_is_active),
32100         (gst_pad_set_event_function), (gst_pad_is_linked),
32101         (gst_pad_link_free), (gst_pad_link_intersect),
32102         (gst_pad_link_fixate), (gst_pad_set_caps),
32103         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32104         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32105         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32106         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32107         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32108         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32109         (gst_pad_realize), (gst_pad_get_allowed_caps),
32110         (gst_real_pad_dispose), (gst_real_pad_finalize),
32111         (gst_pad_collectv), (gst_pad_collect_valist),
32112         (gst_pad_template_dispose), (gst_pad_template_new),
32113         (gst_pad_get_internal_links):
32114         * gst/gstpad.h:
32115         * gst/gstpipeline.c: (gst_pipeline_dispose),
32116         (gst_pipeline_change_state):
32117         * gst/gstpipeline.h:
32118         * gst/gstplugin.c:
32119         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32120         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32121         * gst/gstpluginfeature.h:
32122         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32123         * gst/gstquery.c: (_gst_query_type_initialize),
32124         (gst_query_type_register), (gst_query_type_get_by_nick),
32125         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32126         * gst/gstquery.h:
32127         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32128         * gst/gstscheduler.c: (gst_scheduler_add_element),
32129         (gst_scheduler_factory_create):
32130         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32131         (gst_structure_free), (gst_structure_set_name),
32132         (gst_structure_id_set_value), (gst_structure_set_value),
32133         (gst_structure_set_valist), (gst_structure_remove_field),
32134         (gst_structure_remove_fields),
32135         (gst_structure_remove_fields_valist),
32136         (gst_structure_remove_all_fields), (gst_structure_foreach),
32137         (gst_structure_map_in_place),
32138         (gst_caps_structure_fixate_field_nearest_int),
32139         (gst_caps_structure_fixate_field_nearest_double):
32140         * gst/gststructure.h:
32141         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32142         (gst_system_clock_init), (gst_system_clock_dispose),
32143         (gst_system_clock_async_thread),
32144         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32145         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32146         * gst/gstsystemclock.h:
32147         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32148         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32149         * gst/gsttaginterface.c:
32150         * gst/gstthread.c: (gst_thread_dispose),
32151         (gst_thread_release_children_locks), (gst_thread_change_state),
32152         (gst_thread_main_loop):
32153         * gst/gsttrashstack.h:
32154         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32155         * gst/gsttypes.h:
32156         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32157         (gst_element_request_pad), (gst_element_get_pad_from_template),
32158         (gst_element_request_compatible_pad),
32159         (gst_element_get_compatible_pad_filtered),
32160         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32161         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32162         (gst_element_link_many), (gst_element_link),
32163         (gst_element_link_pads), (gst_element_unlink_pads),
32164         (gst_element_unlink_many), (gst_element_unlink),
32165         (gst_pad_can_link_filtered), (gst_pad_can_link),
32166         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32167         (gst_object_default_error), (gst_bin_add_many),
32168         (gst_bin_remove_many), (gst_element_populate_std_props),
32169         (gst_element_class_install_std_props), (gst_buffer_merge),
32170         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32171         (link_fold_func), (gst_pad_proxy_setcaps):
32172         * gst/gstutils.h:
32173         * gst/gstvalue.c: (gst_value_deserialize_string):
32174         * gst/parse/grammar.y:
32175         * gst/schedulers/gstbasicscheduler.c:
32176         (gst_basic_scheduler_cothreaded_chain),
32177         (gst_basic_scheduler_chain_recursive_add),
32178         (gst_basic_scheduler_pad_link):
32179         * gst/schedulers/gstoptimalscheduler.c:
32180         (get_group_schedule_function),
32181         (gst_opt_scheduler_state_transition),
32182         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32183         * libs/gst/bytestream/bytestream.c:
32184         * libs/gst/dataprotocol/dataprotocol.c:
32185         (gst_dp_header_from_buffer):
32186         * po/nb.po:
32187         * po/ru.po:
32188         * tests/threadstate/threadstate2.c: (eos):
32189         * tools/gst-compprep.c: (main):
32190         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32191         (print_pad_info), (print_children_info):
32192         * tools/gst-launch.c: (idle_func), (main):
32193         * tools/gst-md5sum.c: (idle_func), (main):
32194         * tools/gst-xmlinspect.c: (print_element_info):
32195         First THREADED backport attempt, focusing on adding locks and
32196         making sure the API is threadsafe. Needs more work. More docs
32197         follow this week.
32198
32199 2005-02-24  Andy Wingo  <wingo@pobox.com>
32200
32201         * tests/bench-complexity.scm:
32202         * tests/complexity.gnuplot: New files, good for running complexity
32203         benchmarks.
32204
32205         * tests/Makefile.am:
32206         * tests/complexity.c: New test, sets up N elements, at each level
32207         teeing into M streams per element. Eeeenteresting.
32208
32209         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32210         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32211         running bench-mass_elements.scm.
32212
32213         * tests/bench-mass_elements.scm: New script, runs mass_elements
32214         for various numbers of identities, outputting the results to a
32215         file. Requires guile 1.6. Just for testing.
32216
32217 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32218
32219         * gst/schedulers/fairscheduler.c:
32220           compile with debug disabled
32221
32222 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32223
32224         * configure.ac:
32225           hunting season on 0.9 is now OPEN