libs/gst/base/gstcollectpads.c: Use the name of the pads instead of a pointer, helps...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2
3         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
4         Use the name of the pads instead of a pointer, helps in debugging.
5
6 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
7
8         * gst/gstindex.c: (gst_index_get_type):
9         Add a debugging category for GstIndex, first little step in making
10         indexing top-notch.
11
12 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
13
14         * gst/gstelement.c: (gst_element_message_full),
15         (gst_element_pads_activate):
16         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
17         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
18         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
19         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
20         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
21         Assign debug statements to relevant categories instead of the 'default'
22         category so they don't get lost in debugging.
23
24 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
25
26         * gst/gstdebugutils.c:
27           Add some ideas, how to make the graph smaller.
28
29         * gst/gstutils.c:
30           Add a comment from a debug session.
31
32         * libs/gst/base/gstbasetransform.c:
33           Log more context.
34
35         * libs/gst/controller/gstinterpolationcontrolsource.c:
36           Indet.
37
38         * plugins/elements/gstcapsfilter.c:
39           Fix typo in docs.
40
41 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
42
43         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
44           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
45           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
46           (gst_bus_create_watch):
47           Make GstBusSource work with non-default main contexts (#562170).
48
49         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
50           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
51           Add test case for GstBusSource with a non-default main context.
52
53         * tests/check/libs/.cvsignore:
54           Ignore more.
55
56 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
57
58         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
59           (unpack_string)::
60           Wrap multi-line macros in G_STMT_{START|END}.
61
62 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
63
64         * docs/gst/gstreamer-sections.txt:
65         * gst/gstquark.c:
66         * gst/gstquark.h:
67         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
68         (gst_query_parse_uri):
69         * gst/gstquery.h:
70         API: Add URI query type. This is useful to query the URI
71         of a sink/source element and can be used by demuxers that
72         need to get data from other files.
73         This query should go upstream by default.
74         Fixes bug #562949.
75         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
76         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
77         (gst_fd_src_query):
78         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
79         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
80         (gst_file_src_query):
81         Implement URI query.
82
83 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
84
85         * gst/gstghostpad.c:
86         * tests/check/gst/gstghostpad.c:
87         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
88         That would cause the ghostpad to emit notify::caps two times (fist
89         from gst_pad_set_caps() and after from on_src_target_notify()).
90
91 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
92
93         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
94         (GST_START_TEST):
95         Add some more unit-tests for the ghostpad notify signal, one of which
96         currently fails.
97
98 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
99
100         * win32/common/libgstreamer.def:
101         Add gst_tag_setter_reset_tags to the list of exported symbols.
102
103 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
104
105         * gst/gstghostpad.c:
106         * tests/check/gst/gstghostpad.c:
107         In a source ghostpad, when caps are changed in the target pad, the
108         change needs to be reflected in the ghostpad.
109         Fixes #564863.
110
111 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
112
113         * gst/gstutils.c: (gst_element_found_tags_for_pad):
114         Add FIXME for 0.11 to set the pad as message source and not
115         the element. Otherwise it's impossible to detect for which
116         pad the tags were found without adding an event probe
117         or something similar to the pad.
118
119 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
120
121         * docs/faq/general.xml:
122         Update the faq.
123
124 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
125
126         * docs/gst/gstreamer-sections.txt:
127         * gst/gsttagsetter.c:
128         * gst/gsttagsetter.h:
129           Rename api added in previous commit and add since tag to docs.
130           API: gst_tag_setter_reset_tags()
131
132 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
133
134         * docs/gst/gstreamer-sections.txt:
135         * gst/gsttagsetter.c:
136         * gst/gsttagsetter.h:
137           Add function to reset tagsetter for element reuse.
138
139 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
140
141         * gst/gsttaglist.c:
142           Avoid copy of empty taglist.
143
144 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
145
146         * gst/gsttaglist.c:
147         * tests/check/gst/gsttag.c:
148           More complete unit tests. Fix handling of empty taglists (they were
149           not merged before).
150
151 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
152
153         * gst/gsttaglist.h:
154         * gst/gsttagsetter.c:
155           Update GstTagSetter and GstTagMergeMode documentation. Mention
156           that tags can come from events and from application. Fix example.
157
158 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
159
160         * docs/design/part-TODO.txt:
161         Remove the seqnum entry that we implemented in 0.10 already.
162         Add entry about removing the format return value for queries.
163
164 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
165
166         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
167         (gst_base_sink_init), (gst_base_sink_set_property),
168         (gst_base_sink_get_property):
169         Expose the render-delay as a property so things like appsink can use it
170         to tweak the synchronisation.
171
172 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
173
174         * libs/gst/check/gstcheck.h: Allow check tests to use
175         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
176         CK_FORK=no to be used with multiple check test that use threads.
177
178 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
179
180         * gst/gstutils.c: (gst_element_get_compatible_pad):
181         Fix a caps memory leak introduced by the last change.
182
183 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
184
185         * gst/gstutils.c: (gst_element_get_compatible_pad):
186         Check if the caps of the pads are compatible before returning
187         a pad and claiming it is compatible. This, among other things,
188         fixes a bug with gst-launch where an incompatible pad is chosen
189         and linking fails. Fixes bug #544003.
190
191 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
192
193         * libs/gst/check/gstcheck.c: (gst_check_init):
194         Revert accidentially commited patch for bug #404631 which
195         tries to print a backtrace if a testcase is terminated by
196         a signal. This code was never activated as the corresponding
197         configure.ac change wasn't committed.
198
199 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
200
201         * tests/check/libs/controller.c: (GST_START_TEST):
202         This test should return TRUE now as syncing an uncontrolled
203         object will succeed now (there's nothing to sync).
204
205 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
206
207         * libs/gst/controller/gstcontroller.c:
208           Aggregate return value for gst_controller_sync_values(). More info in
209           logging. Always set values on first sync-call.
210
211         * libs/gst/controller/gstcontrolsource.c:
212           Microoptimizations.
213
214         * libs/gst/controller/gsthelper.c:
215           Fix return code and comment.
216
217 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
218
219         * tools/gst-launch.1.in:
220           Fix description of how to specify a type in caps. Fixes #553873.
221           Also ranges and list contain values and not property-assignments.
222
223 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
224
225         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
226         Check for changed pads-list before checking the last returned
227         GstFlowReturn because the pad could have been removed and we
228         need to ignore the value in that case.
229
230 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
231
232         * libs/gst/base/gstbasetransform.c:
233         (gst_base_transform_prepare_output_buffer),
234         (gst_base_transform_getrange), (gst_base_transform_chain):
235         * libs/gst/base/gstbasetransform.h:
236         Add vmethod that is called before we start the transform and which can
237         be used to configure the transform, such as dynamic properties.
238
239 2008-12-05  David Schleef  <ds@schleef.org>
240
241         * gst/gst.c:
242         Search for plugins on win32 based on the location of the
243         gstreamer DLL.  Fixes #548786
244
245 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
246
247         * configure.ac:
248         Apparently AC_CONFIG_MACRO_DIR breaks when using more
249         than one macro directory, reverting last change.
250
251 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
252
253         * configure.ac:
254         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
255         our M4 macros.
256
257 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
258
259         Patch by: Cygwin Ports maintainer
260                   <yselkowitz at users dot sourceforge dot net>
261
262         * autogen.sh:
263         * configure.ac:
264         Require gettext 0.17 because older versions don't mix with libtool
265         2.2. At build time an older gettext version will still work.
266         Fixes bug #556091.
267
268 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
269
270         Patch by: 이문형 <iwings at gmail dot com>
271
272         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
273         Adds support for FD_CONNECT event (win32). See #562258.
274
275 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
276
277         * libs/gst/base/gstbasesink.c:
278           Turn comment into gtk-doc comment.
279
280 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * libs/gst/base/gstbasetransform.c:
283         (gst_base_transform_acceptcaps):
284         Revert quick accepcaps attempt, it's not fully equivalent to the old
285         behaviour and thus causes regressions.
286
287 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
288
289         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
290         Fix memory leak.
291
292 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
293
294         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
295
296         * gst/gstregistry.c: (gst_registry_scan_path_level):
297         Reduce the number of stat() calls for every file from three times
298         to one time. Fixes bug #560360.
299
300 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
301
302         * libs/gst/base/gstbasetransform.c:
303         (gst_base_transform_acceptcaps):
304         Rename a variable to make the code clearer.
305
306 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
307
308         * plugins/elements/gstidentity.c:
309         Don't warning on offset==-1. Taken from _check_imperfect_offset().
310
311 2008-11-21  Michael Smith <msmith@songbirdnest.com>
312
313         * plugins/elements/gstfilesrc.c:
314           Check for localhost in URI was backwards, fix it. Fixes unit test.
315
316 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
317
318         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
319         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
320         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
321         Add beginnings of a more optimized acceptcaps function than the default
322         core one.
323
324 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
325
326         * gst/gstpad.c: (gst_pad_accept_caps):
327         Avoid getting the acceptcaps function too early.
328
329 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
330
331         * tools/gst-launch.c: (event_loop):
332         Make gst-launch handle LATENCY messages and make it recalculate the
333         latency.
334
335 2008-11-20  Michael Smith <msmith@songbirdnest.com>
336
337         * plugins/elements/gstfilesrc.c:
338           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
339           out own slightly incorrect version. Fixes use of some paths on
340           win32.
341
342 2008-11-20  Michael Smith <msmith@songbirdnest.com>
343
344         * gst/gstregistrybinary.c:
345           In win32 codepath, if we fail to write the registry, create the
346           directory for it and try again, matching the behaviour in non-win32
347           codepaths.
348
349 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
352         Changing the render delay changes the latency and so we must post a
353         latency message.
354
355 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
356
357         * gst/gstquery.c:
358         * gst/gstquery.h:
359         Add GstQueryType for custom queries instead of having to use the
360         not-so-very-convenient registration infrastructure to register new
361         types.
362
363 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
364
365         Patch by: Andrew Feren <acferen at yahoo dot com>
366
367         * gst/gstobject.c: (gst_object_default_deep_notify):
368         Unref the GEnumClass after usage again. Fixes bug #561501.
369
370 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
371
372         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
373         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
374         (gst_bin_change_state_func):
375         * gst/gstbin.h:
376         Add do-latency signal with the old default fallback implementation. This
377         allows for custom latency calculations for when the default is not
378         sufficient.
379         API: GstBin::do-latency signal.
380
381 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
382
383         * win32/common/libgstreamer.def:
384         Add new symbols to .def file.
385
386 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
387
388         * docs/gst/gstreamer-sections.txt:
389         * gst/gstbin.c: (gst_bin_recalculate_latency),
390         (gst_bin_change_state_func):
391         * gst/gstbin.h:
392         Add method to recalculate and redistribute the latency on a bin.
393         API: gst_bin_recalculate_latency().
394
395 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
396
397         * gst/gstbuffer.h:
398         Document the free_func.
399
400 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
401
402         * libs/gst/controller/gstinterpolation.c:
403         * libs/gst/controller/gstlfocontrolsource.c:
404         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
405         as it is mapped to a cast on non-win32 platforms.
406
407 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
408
409         * libs/gst/controller/gstcontroller.c:
410         * libs/gst/controller/gstcontrollerprivate.h:
411           Keep last-value and only call set_property if value has changed. This
412           supresses all the g_object_notifies we would trigger otherwise. It
413           also allows the user to chage the value while there is no controller
414           change.
415
416 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
417
418         * gst/gstvalue.c:
419           Don't crash if either of the string GValues is empty.
420
421 2008-11-17  Andy Wingo  <wingo@pobox.com>
422
423         * tools/gst-inspect.c (print_all_uri_handlers): New function,
424         prints a summary of what URI schemes are supported by what
425         elements.
426         (main): Plumb in support for --uri-handlers or -u, and fix the
427         argc check for -a and -u.
428
429 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
430
431         * gst/gstutils.h:
432         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
433         conversion functions.
434
435 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
436
437         * gst/gstbuffer.c: (gst_buffer_finalize):
438         Avoid costly typechecking for trivially correct pointers.
439
440         * gst/gstpoll.c: (gst_poll_wait):
441         Add some G_LIKELY here and there.
442
443         * libs/gst/base/gstadapter.c: (gst_adapter_push):
444         Add some debug info.
445
446 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
447
448         * docs/random/wtay/poll-timeout:
449         Small tweaks.
450
451 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
452
453         * tests/old/testsuite/caps/intersection.c: (main):
454         * tests/old/testsuite/plugin/loading.c: (main):
455         Remove references to deprecated API g_mem_chunk*.
456         Fixes #560442.
457
458 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
459
460         * tools/gst-inspect.c: (main):
461         Add --plugin option. Fixes #560301.
462
463 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
464
465         * docs/random/wtay/poll-timeout:
466         Quick braindump for a possible (not totally verified) atomic case.
467
468 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
469
470         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
471         (gst_registry_binary_initialize_magic),
472         (gst_registry_binary_write_cache),
473         (gst_registry_binary_check_magic):
474         * gst/gstregistrybinary.h:
475         Don't write and check a CRC for the binary registry file. It's
476         guaranteed that the registry is completely written (it's first written
477         to a temporary file and then moved) and if the registry was corrupted
478         by some hardware failure we would have bigger problems.
479
480         Bump binary registry version to 0.10.21.1 for this as it's an
481         incompatible change and to ensure that the registry gets rebuild
482         after the update.
483
484         This saves some milliseconds for reading/writing the registry.
485         Fixes bug #560399.
486
487 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
488
489         * docs/random/wtay/poll-timeout:
490         Some pseudo code for how we could implement clock timeouts with GstPoll.
491
492 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
493
494         * plugins/elements/gstfilesink.c:
495           Update Author string to match others.
496
497 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
498
499         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
500         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
501         being fixed and inline the trivial check.
502
503 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
504
505         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
506         (gst_caps_merge_structure), (gst_caps_get_structure),
507         (gst_caps_copy_nth), (gst_caps_set_simple),
508         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
509         (gst_caps_is_equal_fixed), (gst_caps_intersect),
510         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
511         (gst_caps_to_string):
512         Callgrind micro optimisations.
513         Avoid array bounds checks and force inline of trivial function.
514
515         * gst/gstobject.c: (gst_object_set_name_default):
516         -1 is equivalent to letting glib to the strlen but then there is more
517         room for optimisations and it's not our fault.
518
519         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
520         no need to clear the array, we're cool.
521
522         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
523         The most common _is_fixed() check is done on fundamental glib base
524         types so we check this first instead of doing a huge amount of
525         useless GST_TYPE_ARRAY calls.
526
527 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
528
529         * gst/gstevent.h:
530         Add a SKIP seek flag for use with advanced trickmodes.
531         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
532
533 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
536         No need to memset, we can clear the value ourselves.
537
538         * gst/gstvalue.c: (gst_type_is_fixed),
539         (gst_value_get_compare_func):
540         Some optimisations from a few callgrind sessions:
541         When checking if a type is fixed, check for trivial fundamental types
542         first before checking types for which we need to get the type followed
543         by the heavy duty type checks, this reduces the amount of
544         g_type_fundamental() calls a lot.
545         When getting the compare function, first check for our registered types.
546         If that fails, do the heavy duty g_type_is_a() checks, reduces the
547         amount of g_type_is_a() considerably.
548
549 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * docs/design/part-TODO.txt:
552         Mumble something about removing GstXML.
553
554 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
555
556         * gst/gstbin.c: (gst_bin_handle_message_func):
557         Get the seqnum before we dispose the message.
558
559 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
560
561         * docs/design/part-TODO.txt:
562         Refer to the framestepping document.
563
564 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
565
566         * gst/gstbin.c: (bin_handle_async_start),
567         (gst_bin_handle_message_func), (gst_bin_query):
568         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
569         (gst_base_sink_event), (gst_base_sink_change_state):
570         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
571         (gst_base_src_loop), (gst_base_src_change_state):
572         Copy seqnums from events to messages so that they can all be related
573         back to eachother.
574
575 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
576
577         * tools/gst-launch.c: (event_loop):
578         Print the message seqnums.
579
580 2008-11-04  Andy Wingo  <wingo@pobox.com>
581
582         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
583
584 2008-11-04  Andy Wingo  <wingo@pobox.com>
585
586         Add sequence numbers to events and messages. See #559250.
587
588         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
589         API: New functions.
590
591         * gst/gstevent.h:
592         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
593         events with a new sequence number, and copy it when copying.
594         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
595         an event's sequence number.
596
597         * gst/gstmessage.h:
598         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
599         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
600         so with messages.
601
602         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
603
604 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
605
606         * docs/manual/advanced-position.xml:
607         * docs/manual/basics-bins.xml:
608         * docs/manual/basics-bus.xml:
609         * docs/manual/basics-pads.xml:
610         * docs/manual/intro-gstreamer.xml:
611         * docs/manual/intro-preface.xml:
612         Some Application Development Manual fixes thanks to
613         Andrew Feren. Fixes #558459.
614
615 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
616
617         * gst/gstregistrybinary.c:
618           Don't bother with the GTimer if we don't output the results.
619
620 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
621
622         Patch by: David Schleef  <ds@schleef.org>
623
624         * libs/gst/net/Makefile.am:
625         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
626
627 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
628
629         * gst/gstregistrybinary.c:
630           Oh my, studip, stupid me. Remove double stat() call.
631
632 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
633
634         * gst/gstpreset.c:
635           Use g_unlink instead of unlink.
636
637         * gst/gststructure.c:
638           Use glib type.
639
640         * gst/gstutils.c:
641           Add a FIXME:.
642
643         * gst/gsttaglist.c:
644         * gst/gsttypefind.c:
645         * gst/gstvalue.c:
646           Formatting & whitespaces.
647
648 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
649
650         * plugins/elements/gstidentity.c:
651           Doc typo. Use return value of parent_class->event.
652   
653         * plugins/elements/gsttypefindelement.c:
654           Chain up at the end for consistency.
655   
656 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
657
658         * docs/Makefile.am:
659         * docs/gst/gstreamer-docs.sgml:
660         * docs/gst/gstreamer-sections.txt:
661         * docs/gst/running.xml:
662         * docs/libs/gstreamer-libs-docs.sgml:
663           Change to xinclude based build - its faster and easier to maintain.
664
665 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
666
667         * gst/gstregistrybinary.c:
668         * gst/gstregistryxml.c:
669           Use g_unlink() as none of these are directories.
670
671 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
672
673         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
674         Some more comments.
675
676 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
677
678         * libs/gst/base/gstbasetransform.c:
679         (gst_base_transform_find_transform), (gst_base_transform_getrange):
680         If we have a fixate function, call it even if we already have fixed caps
681         because the subclass might add some caps. Makes audioconvert add a
682         default channel layout.
683
684 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
685
686         * libs/gst/base/gstbasetransform.c:
687         (gst_base_transform_prepare_output_buffer),
688         (gst_base_transform_getrange):
689         Clear the output buffer variable.
690         Cleanups to the error path in the getrange function.
691         Fixes #557649.
692
693 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
694
695         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
696         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
697         Use gst_buffer_try_new_and_alloc() and handle errors instead of
698         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
699         be allocated.
700
701 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
702
703         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
704         Set the last_stop to a more meaningful position when configuring the
705         segment. ie. the start/stop of the segment or clipped against the
706         updated segment boundaries.
707
708         * tests/check/gst/gstsegment.c: (GST_START_TEST):
709         Add some unit tests for the last_stop.
710
711 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
712
713         * libs/gst/base/gstbytereader.c:
714         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
715         copies of them.
716
717 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
718
719         * docs/gst/gstreamer-sections.txt:
720         * gst/gstutils.h:
721         API: Move float endianness conversion macros from libgstfloatcast
722         to core as it's useful in general, even in core. Fixes bug #555196.
723         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
724         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
725         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
726
727         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
728         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
729         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
730         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
731
732 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
733
734         * docs/libs/gstreamer-libs-sections.txt:
735         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
736         (gst_byte_reader_peek_data):
737         * libs/gst/base/gstbytereader.h:
738         * win32/common/libgstbase.def:
739         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
740         to get a pointer to the data at the current position and have
741         a guaranteed size.
742
743 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
744
745         * configure.ac:
746         Fix a bug in the output of the configure script summary
747         when --gst-disable-registry is supplied
748
749 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
750
751         * libs/gst/base/gstbitreader.c:
752         * libs/gst/base/gstbytereader.c:
753         Fix the names of 2 functions in the docs strings.
754
755 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
756
757         * libs/gst/base/gstbasetransform.c:
758         (gst_base_transform_prepare_output_buffer),
759         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
760         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
761         refcount problems as seen in banshee and maybe also in farsight2.
762         Remove atomic int now that we need to take the lock anyways.
763
764 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
765
766         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
767         (gst_base_sink_default_prepare_seek_segment),
768         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
769         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
770         (gst_base_sink_query):
771         Implement more seeking in pull mode.
772         Use pad convert functions to convert position to the requested format.
773         Fix position/duration reporting in pull mode.
774         Implement position and duration reporting in other formats than time.
775
776         * libs/gst/base/gstbasesink.h:
777         Add member to keep track of when the segment is playing.
778
779 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
780
781         * gst/gstpad.c: (gst_pad_configure_src):
782         When we use gst_pad_alloc_buffer() without wanting to set the caps we
783         also don't need to check if the caps are compatible because the caller
784         presumably is going to perform its own custom checks. Fixes some cases
785         where basetransform elements would error out when it was not needed.
786
787 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
788
789         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
790         Update comment.
791
792         * libs/gst/base/gstbasetransform.c:
793         (gst_base_transform_handle_buffer),
794         (gst_base_transform_reconfigure):
795         Add some debug info.
796
797         * win32/common/libgstbase.def:
798         Add new method.
799
800 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
801
802         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
803           Remove duplicated assignment and log a message in failure case.
804
805 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
806
807         Patch by: Dig Ge <dig.ge.cn at gmail com>
808
809         * tests/examples/helloworld/helloworld.c: (main):
810           Fix copy'n'paste bug in hello world example (#556900).
811
812 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
813
814         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
815         (gst_base_sink_query):
816         Query the total number of bytes when activating the pad in pull mode.
817         Implement duration query in pull mode by using the installed pad convert
818         function to convert from bytes to the requested format.
819
820 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
821
822         * docs/libs/gstreamer-libs-sections.txt:
823         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
824         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
825         (gst_base_sink_event), (gst_base_sink_perform_seek),
826         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
827         (gst_base_sink_send_event), (gst_base_sink_change_state):
828         * libs/gst/base/gstbasesink.h:
829         Add method to commit the state in subclasses.
830         Refactor the flush_start and flush_stop code because we need it for
831         flushing while seeking too.
832         Implement the beginnings of seeking in pull mode.
833         Use the segment last_stop field for the pulling offset.
834         Fix the pause method in pull mode.
835         Configure the segment to BYTES for pull mode.
836         API: GstBaseSink::gst_base_sink_do_preroll()
837
838 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
839
840         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
841         Update some docs.
842
843 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
844
845         * gst/gstquark.c: (_priv_gst_quarks_initialize):
846           Fix printf format warning.
847
848 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
849
850         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
851         Fix flow aggregation of tee. Error out immediately for all flow returns
852         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
853         and return OK if at least one pad is linked.
854
855         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
856         and otherwise returned the flow return of the last pad, which is wrong.
857         
858         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
859         (GST_START_TEST), (tee_suite):
860         Add unit tests for the flow aggregation.
861
862 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
863
864         * docs/design/part-TODO.txt:
865         Remove item from the todo list because it was fixed with the latency
866         state change rewrites.
867
868         * docs/design/part-seeking.txt:
869         * docs/design/part-segments.txt:
870         Update some docs.
871
872         * gst/gstevent.c: (gst_event_new_new_segment_full),
873         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
874         (gst_event_parse_buffer_size), (gst_event_new_qos),
875         (gst_event_parse_qos), (gst_event_new_seek),
876         (gst_event_parse_seek), (gst_event_new_latency),
877         (gst_event_parse_latency):
878         Use quarks to construct and parse events.
879
880         * gst/gstquark.c: (_priv_gst_quarks_initialize):
881         * gst/gstquark.h:
882         Add some more quarks to the table.
883         Emit a warning when the quark tables are not in sync.
884
885         * tests/check/gst/gstbus.c: (GST_START_TEST):
886         Add an assert.
887
888 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
889
890         * plugins/elements/Makefile.am:
891         * plugins/indexers/Makefile.am:
892           Don't install static libs for plugins. Fixes #550851 for core.
893
894 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
895
896         * gst/gstbus.c: (gst_bus_source_finalize),
897         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
898         (gst_bus_enable_sync_message_emission),
899         (gst_bus_disable_sync_message_emission),
900         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
901         Fix deadlock, g_source_get_id() cannot be called in finalize.
902         Keep track of the watch source by keeping a pointer to the source object
903         instead.
904         Use the bus lock to protect access to the pointer to the current
905         watch source.
906
907 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
908
909         Base on Patch by: Olivier Crete <tester at tester dot ca>
910
911         * gst/gstbus.c: (gst_bus_source_finalize),
912         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
913         Only allow one bus watch to be set at a time. This is necessary
914         because the dispatcher pops the message from the bus and the second
915         watcher will then get NULL or the next message (and the first won't
916         get this next message then, etc). If more than one "watcher" is
917         required signal watches should be used. Fixes bug #526044.
918
919 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
920
921         * tools/gst-launch.c:
922         Change the printing of the 'buffering...' output to avoid putting
923         a \r in a translateable string (flagged by the TP).
924
925 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
926
927         * gst/gstxml.c:
928         Clarify that the save_thyself() and restore_thyself() virtual
929         functions of GstObject need to be overriden, not
930         gst_object_(save|restore)_thyself() which is impossible.
931         Fixes bug #555700.
932
933 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
934
935         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
936         Revert a patch from 21 months ago that broke caps negotiation in pull
937         mode. Basically, having a buffer pass over a pad will trigger the
938         setcaps function when caps change, just like in push mode.
939
940 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
941
942         * docs/design/part-negotiation.txt:
943         Update the docs some more.
944
945         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
946         If we pull a buffer with non-trivial caps, suggest those caps with the
947         max probability.
948
949 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
950
951         * docs/design/part-TODO.txt:
952         Add another limitation of pad-blocking with segment seeks not pushing
953         EOS events.
954
955 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
956
957         * win32/common/libgstbase.def:
958         * win32/common/libgstreamer.def:
959         Add new symbols to the win32 defs files
960
961 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
962
963         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
964         (gst_bin_handle_message_func):
965         The message src can be NULL, don't try to print the object names in that
966         case.
967
968         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
969         Add some more debug info.
970
971         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
972         (GST_START_TEST):
973         Add some debug.
974         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
975         scheduling modes.
976
977 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
978
979         * docs/design/part-negotiation.txt:
980         Small doc update.
981
982         * docs/libs/gstreamer-libs-sections.txt:
983         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
984         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
985         (gst_base_sink_init), (gst_base_sink_set_blocksize),
986         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
987         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
988         (gst_base_sink_loop), (gst_base_sink_pad_activate),
989         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
990         (gst_base_sink_change_state):
991         * libs/gst/base/gstbasesink.h:
992         Add blocksize property and methods to control the amount of data
993         to pull.
994         Negotiate first before activating upstream in pull mode so that they can
995         negotiate themselves.
996         When we operate in pull mode, we only accept the caps that we
997         negotiated.
998         Make the sink go ASYNC to PAUSED, like all other sinks.
999         API: GstBaseSink::gst_base_sink_set_blocksize()
1000         API: GstBaseSink::gst_base_sink_get_blocksize()
1001         API: GstBaseSink::blocksize
1002
1003         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1004         (gst_base_src_set_live), (gst_base_src_is_live),
1005         (gst_base_src_set_format), (gst_base_src_query_latency),
1006         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1007         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1008         (gst_base_src_set_property), (gst_base_src_get_property):
1009         * libs/gst/base/gstbasesrc.h:
1010         Add typechecking in public API functions.
1011         Add methods to control the blocksize in subclasses.
1012         API: GstBaseSrc::gst_base_src_set_blocksize()
1013         API: GstBaseSrc::gst_base_src_get_blocksize()
1014
1015 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1016
1017         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1018         (buffer_probe), (event_probe), (GST_START_TEST):
1019         We now see 3 events go through our pad, since basesink now sends
1020         upstream latency events.
1021
1022 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1023
1024         * gst/gstpipeline.c: (gst_pipeline_change_state):
1025         Release the object lock before trying to flush the bus.
1026
1027 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1028
1029         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1030         Forward LATENCY events upstreams so that elements know about the total
1031         pipeline latency. Fixes #555307.
1032
1033 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1034
1035         * plugins/elements/gstqueue.c:
1036         Allow through queries when we don't know how
1037         to adjust them (not TIME or BYTES), as otherwise it's
1038         not possible to query the current position in order
1039         to seek in other formats at all.
1040
1041 2008-10-08  Andy Wingo  <wingo@pobox.com>
1042
1043         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1044
1045 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1046
1047         * gst/gstghostpad.c:
1048         * gst/gstghostpad.h:
1049         Unbreak -good build, private is a reserved c++ keyword.
1050
1051 2008-10-08  Andy Wingo  <wingo@pobox.com>
1052
1053         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1054         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1055         removal: re-add GST_GHOST_PAD_CAST to the header.
1056
1057         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1058         (GstGhostPadClass): Publically expose these structures so as to
1059         allow easy subclassing from C. Hide the member data behind a
1060         private opaque data pointer.
1061
1062         * gst/gstghostpad.c: Adapt to store instance data in the type
1063         instance's private data region, not in the public struct.
1064
1065 2008-10-08  Andy Wingo  <wingo@pobox.com>
1066
1067         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1068         template via g_object_get(), be sure to unref it.
1069
1070         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1071
1072 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1073
1074         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1075         If we can't get a cache file don't try to save something to it.
1076         Dereferencing NULL pointers usually isn't a good idea.
1077
1078 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1079
1080         * tests/check/Makefile.am:
1081         * tests/check/gst/gstabi.c:
1082         * tests/check/gst/struct_sparc.h:
1083         * tests/check/libs/libsabi.c:
1084         * tests/check/libs/struct_sparc.h:
1085         Add Sparc ABI checks
1086
1087         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1088         Cast signed integer to unsigned to avoid a compiler warning.
1089
1090 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1091
1092         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1093         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1094         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1095         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1096         (gst_byte_reader_peek_int24_be):
1097         Use new GST_READ_UINT24_(LE|BE) macros.
1098
1099 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1100
1101         * docs/gst/gstreamer-sections.txt:
1102         * gst/gstutils.h:
1103         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1104         as it's too easy to break the ISO C strict aliasing rules with simple
1105         casts to the corresponding type and this would introduce hard to debug
1106         bugs. Fixes bug #545714.
1107
1108         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1109
1110 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1111
1112         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1113         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1114           Add 'Since' bits to gtk-doc chunks for new API.
1115
1116 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1117
1118         * docs/gst/gstreamer-sections.txt:
1119         Fix documentation
1120
1121 2008-10-06  Andy Wingo  <wingo@pobox.com>
1122
1123         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1124         that will be called on the malloc_data to free it. Basically a way
1125         to avoid subclassing when all you need is a different free
1126         function, i.e. free() instead of g_free().
1127
1128         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1129         calling the free function.
1130         (gst_buffer_init): Initialize the free function to g_free.
1131
1132 2008-10-06  Andy Wingo  <wingo@pobox.com>
1133
1134         * gst/gstghostpad.h:
1135         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1136         finishes the initialization of ghost pad. Useful for language
1137         bindings and subclassers of GstGhostPad. Fixes #539108.
1138         (gst_ghost_pad_new_full): Use the new constructor.
1139
1140 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1141
1142         Base on Patch by: Olivier Crete <tester at tester dot ca>
1143
1144         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1145         (gst_bin_remove_func), (update_degree),
1146         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1147         Keep track of pads that are being linked/unlinked and resync the state
1148         changes.
1149
1150         * gst/gstpad.c: (gst_pad_get_direction),
1151         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1152         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1153         (gst_pad_link_prepare), (gst_pad_link),
1154         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1155         (gst_pad_check_pull_range), (gst_pad_get_range),
1156         (gst_pad_pull_range):
1157         Some code cleanups, use macros to check pad direction.
1158         Don't need to take the lock on the pad direction.
1159         Post structure change when pads are linked/unlinked.
1160         Change some checks into _return_if_fail().
1161
1162         * tests/check/gst/gstbin.c:
1163         (test_link_structure_change_state_changed_sync_cb),
1164         (GST_START_TEST), (gst_bin_suite):
1165         Add testcase for pad link/unlinke resync during a state change.
1166         Fixes #510354.
1167
1168 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1169
1170         * docs/gst/gstreamer-sections.txt:
1171         * gst/gstmessage.c: (gst_message_new_structure_change),
1172         (gst_message_parse_structure_change):
1173         * gst/gstmessage.h:
1174         Implement STRUCTURE_CHANGED messages. These messages will be used to
1175         signal the parent bin of link/unlink operations that could require a
1176         resync when doing a state change. See ##510354.
1177         API: gst_message_new_structure_change()
1178         API: gst_message_parse_structure_change()
1179
1180 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1181
1182         * gst/gstquark.c:
1183         * gst/gstquark.h:
1184         Add some more quarks for new message. See #510354.
1185
1186 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1187
1188         * docs/libs/gstreamer-libs-docs.sgml:
1189         * docs/libs/gstreamer-libs-sections.txt:
1190         * libs/gst/base/Makefile.am:
1191         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1192         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1193         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1194         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1195         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1196         (gst_bit_reader_skip_to_byte):
1197         * libs/gst/base/gstbitreader.h:
1198         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1199         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1200         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1201         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1202         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1203         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1204         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1205         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1206         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1207         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1208         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1209         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1210         * libs/gst/base/gstbytereader.h:
1211         * tests/check/Makefile.am:
1212         * tests/check/libs/bitreader.c: (GST_START_TEST),
1213         (gst_bit_reader_suite):
1214         * tests/check/libs/bytereader.c: (GST_START_TEST),
1215         (gst_byte_reader_suite):
1216         API: Add bit reader and byte reader classes, including documentation
1217         and an extensive unit test suite. Fixes bug #553554.
1218
1219 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1220
1221         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1222         (gst_base_sink_query):
1223         Improve position reporting while flushing and other intermediate state
1224         changes. Fixes #553874.
1225
1226 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1227
1228         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1229
1230         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1231         Original patch by : Simon Descaries
1232         Fix small refount leak in caps compatibility check.
1233         Fixes #551676.
1234
1235 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1236
1237         * docs/pwg/advanced-request.xml:
1238           Fix 0.8 api usage in example. Fixes #554561
1239
1240         * docs/pwg/appendix-porting.xml:
1241           Change 0.9 to 0.10 here.
1242
1243 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1244
1245         * docs/manual/basics-data.xml:
1246           Change "event-event interaction" to "element-element interaction".
1247           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1248           updates.
1249
1250 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1251
1252         * configure.ac:
1253         Back to development -> 0.10.21.1
1254
1255 === release 0.10.21 ===
1256
1257 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1258
1259         * configure.ac:
1260           releasing 0.10.21, "Take These Things From Me"
1261
1262 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1263
1264         * configure.ac:
1265         0.10.20.4 pre-release
1266
1267 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1268
1269         * libs/gst/base/gstbasetransform.c:
1270         * plugins/elements/gstcapsfilter.c:
1271         * tests/check/Makefile.am:
1272         * tests/check/elements/.cvsignore:
1273         * tests/check/elements/capsfilter.c:
1274         Fix assertion in basetransform when the subclass chooses not to
1275         allocate a buffer in prepare_buffer(), and make capsfilter error out
1276         cleanly if requested to apply caps that don't completely specify the
1277         buffer. Fixes #551509
1278
1279 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1280
1281         * libs/gst/base/gstbasetransform.c:
1282         (gst_base_transform_prepare_output_buffer):
1283         Take new caps ref because our old one might have been gone when the
1284         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1285
1286 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1287
1288         * configure.ac:
1289           Do not probe availability of check unit test library when cross
1290           compiling, as test would not work anyway. Also cleanup verbose output
1291           of the check test. Fixes #551952.
1292
1293 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1294
1295         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1296
1297         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1298         Avoid leaking the parent ref when we fail changing the state of the
1299         element using gst_element_sync_state_with_parent(). Fixes #551978.
1300
1301 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1302
1303         * docs/manual/intro-motivation.xml::
1304           Remove some bits that no longer apply, update others (#551642).
1305
1306 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1307
1308         * configure.ac:
1309         0.10.20.2 pre-release
1310
1311         * po/LINGUAS:
1312         * po/id.po:
1313         * po/pt_BR.po:
1314
1315         New translations.
1316
1317 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1318
1319         * win32/common/config.h.in:
1320           Add GST_DATADIR, hard-code cpu to x86.
1321
1322         * win32/common/libgstreamer.def:
1323           Spaces to tabs.
1324
1325 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1326
1327         * gst/gsttaglist.h:
1328           Fix Since: markers for new geo tags.
1329
1330 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1331
1332         * gst/gsttaglist.h:
1333           Fix actual tag name define after renaming from altitude to elevation.
1334
1335 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1336
1337         * gst/gstpad.c: (add_unref_pad_to_list),
1338         (gst_pad_get_internal_links_default):
1339         Add fallback when calling the deprecated function on an element that
1340         implements the new internal_link handler.
1341
1342 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1343
1344         * docs/gst/gstreamer-sections.txt:
1345         * gst/gsttaglist.c:
1346         * gst/gsttaglist.h:
1347           Add new tags for geo location and clarify purpose of existing location
1348           tag. Fixes #481169
1349
1350 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1351
1352         Patch by: Olivier Crete <tester at tester dot ca>
1353
1354         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1355         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1356         Use thread-safe internal links iterator. Fixes #549504.
1357
1358 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1359
1360         Based on patch by: Olivier Crete <tester at tester dot ca>
1361
1362         * docs/gst/gstreamer-sections.txt:
1363         * win32/common/libgstreamer.def:
1364         * gst/gstpad.c: (gst_pad_init),
1365         (gst_pad_set_iterate_internal_links_function),
1366         (int_link_iter_data_free), (iterate_pad),
1367         (gst_pad_iterate_internal_links_default),
1368         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1369         * gst/gstpad.h:
1370         Add threadsafe replacement functions for getting internal links of an
1371         element. Deprecate the old internal links functions.
1372         API:GstPad::gst_pad_set_iterate_internal_links_function()
1373         API:GstPad::GstPadIterIntLinkFunction
1374         API:GstPad::gst_pad_iterate_internal_links()
1375         API:GstPad::gst_pad_iterate_internal_links_default()
1376
1377         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1378         (gst_proxy_pad_init):
1379         Implement threadsafe internal links.
1380
1381         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1382         Unit test for internal links on tee. See #549504.
1383
1384 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1385
1386         * tests/check/Makefile.am:
1387         libs/transform1 test requires libs/test_transform.c
1388
1389 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1390
1391         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1392         Die evil deadlock, die !
1393
1394 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1395
1396         * gst/gstutils.c: (gst_element_get_compatible_pad):
1397         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1398         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1399         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1400         not steal the refcount of the given caps as stated.
1401
1402         REVERT THIS COMMIT ONCE FIXED !
1403         REVERT THIS COMMIT ONCE FIXED !
1404         REVERT THIS COMMIT ONCE FIXED !
1405         REVERT THIS COMMIT ONCE FIXED !
1406         REVERT THIS COMMIT ONCE FIXED !
1407         REVERT THIS COMMIT ONCE FIXED !
1408
1409 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1410
1411         * gst/gstiterator.c:
1412         * gst/gstiterator.h:
1413         After 3 years it's about time to revise the documentation of the
1414         iterator objects.
1415
1416 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1417
1418         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1419         Make the internal links function less thread-unsafe and add some
1420         comments, dunno why.
1421
1422 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1423
1424         * gst/gst_private.h:
1425           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1426           build with --disable-gst-debug.
1427
1428 2008-08-28  David Schleef  <ds@schleef.org>
1429
1430         * gst/gstpadtemplate.c: Revert last change, since it breaks
1431           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1432           but shouldn't be enabled until we've released fixed versions
1433           of -good and -ffmpeg.
1434
1435 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * gst/gstobject.c:
1438           Put the gst_object_get_name() back in.
1439
1440 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1441
1442         * gst/gstpadtemplate.c:
1443           The old behaviour was that gst_pad_template_new() takes ownership of
1444           the caps. As we now call g_object_new() which calls g_object_set() and
1445           which copies the caps, we have to unref them to not leak them. Fixes
1446           make valgrid for me.
1447
1448 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1449
1450         * gst/gsturi.c:
1451           Don't segfault on input like "tel:+1-123-555-1234".
1452
1453 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1454
1455         * gst/gstobject.c:
1456           Due to popular request also include ObjectType in
1457           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1458
1459 2008-08-26  David Schleef  <ds@schleef.org>
1460
1461         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1462           src_val must be positive, because that's not a requirement.
1463           This causes problems with converting negative granulepos
1464           values for Dirac.
1465         * gst/gstquery.c: Same, gst_query_new_convert().
1466
1467 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1468
1469         * gst/gstclock.c: (gst_clock_add_observation):
1470         Add some more debugging to the clock slaving code.
1471
1472         * win32/common/libgstbase.def:
1473         Add new basetransform method.
1474
1475 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1476
1477         * gst/gstbin.c: (gst_bin_element_set_state):
1478         Take the (recursive) state lock between getting the locked state of an
1479         element and changing the element state. This allows the application to
1480         lock an element's state and then change its state without races.
1481
1482 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1483
1484         * gst/gstbin.c: (gst_bin_element_set_state):
1485         When an element is in the locked state we still want to update the
1486         base_time of the element.
1487
1488 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1489
1490         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1491         Use the result from gst_pad_set_caps() instead of assuming the element
1492         always accepted the caps computed by the default negotiate function.
1493
1494 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1495
1496         * docs/libs/gstreamer-libs-sections.txt:
1497         * libs/gst/base/gstbasetransform.c:
1498         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1499         (gst_base_transform_chain), (gst_base_transform_suggest),
1500         (gst_base_transform_reconfigure):
1501         * libs/gst/base/gstbasetransform.h:
1502         Implement method for reconfiguring basetransform.
1503         API: GstBaseTransform::gst_base_transform_reconfigure()
1504
1505 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1506
1507         patch by: Murray Cumming <murrayc@murrayc.com>
1508
1509         * gst/gstutils.c:
1510           Mention that this is just like gst_buffer_merge() but with extra
1511           unreffing for C coders. Advise language bindings not to wrap it.
1512           Fixes Bug #533856.
1513           
1514           Also fix file comment.
1515
1516 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1517
1518         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1519
1520         * plugins/elements/gstfakesink.c:
1521         * plugins/elements/gstfakesrc.c:
1522           Call super::event() when not handling it. Fixes #544855.
1523
1524 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1525
1526         Patch by: Alessandro Decina <alessandro@nnva.org>
1527         * plugins/elements/gstfilesrc.c:
1528           Use 64 bit variants of stat functions on win32, to enable support
1529           of large files there.
1530           Fixes #547277.
1531
1532 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1533
1534         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1535         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1536         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1537         (gst_base_sink_get_position), (gst_base_sink_change_state):
1538         Improve position reporting in the flushing state.
1539         Also report the position when we are not yet prerolled but we
1540         have a newsegment event. Fixes #543444.
1541         Improve the pull-based negotiation code.
1542
1543         * tests/check/elements/fakesink.c: (GST_START_TEST),
1544         (fakesink_suite):
1545         Add testcase for position reporting while flushing in PAUSED and
1546         PLAYING.
1547
1548         * tests/check/generic/sinks.c: (GST_START_TEST):
1549         Update unit-test, we can now query the position as soon as we receive a
1550         NEWSEGMENT event.
1551
1552 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1553
1554         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1555
1556         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1557         When the subclass event handler releases the PREROLL_LOCK, we could be
1558         in the flushing state and we have to ignore the event. Fixes #548394.
1559
1560 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1561
1562         * tools/gst-launch.1.in:
1563           Document GST_REGISTRY_UPDATE environment variable.
1564
1565 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1566
1567         * libs/gst/base/gstbasetransform.c:
1568         (gst_base_transform_prepare_output_buffer):
1569         If the element is configured in passthrough mode but the
1570         prepare_output_buffer gave us a new output buffer, discard that buffer
1571         and reuse the input buffer.
1572
1573 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1574
1575         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1576
1577         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1578         (gst_tee_request_new_pad), (gst_tee_release_pad),
1579         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1580         * plugins/elements/gsttee.h:
1581         Protect pad_alloc with a new lock so that we can be sure that nothing is
1582         performing a pad_alloc when removing the pad. Fixes #547835.
1583
1584         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1585         (buffer_alloc_harness_teardown), (app_thread_func),
1586         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1587         Added testcase for shutdown race.
1588
1589 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1590
1591         * gst/gstpad.h:
1592         Add doc
1593
1594 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1595
1596         * libs/gst/base/gstbasetransform.c:
1597         (gst_base_transform_prepare_output_buffer),
1598         (gst_base_transform_buffer_alloc):
1599         Go over the buffer_alloc function again and make sure we always end up
1600         allocating a buffer.
1601         Add some more docs.
1602         Avoid doing pad alloc when we have a pending suggestion because we
1603         cannot yet deal with changing caps in that case. Fixes #547728
1604
1605 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1606
1607         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1608
1609         * docs/manual/advanced-clocks.xml:
1610         * docs/manual/clocks.png:
1611         * docs/manual/diagrams-clocks.svg:
1612           Add one more image showing different times together with a describing
1613           paragraph. Fixes #547729.
1614
1615 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1616
1617         * win32/common/libgstbase.def:
1618         Add new method.
1619
1620 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1621
1622         * libs/gst/base/gstbasetransform.c:
1623         (gst_base_transform_transform_caps),
1624         (gst_base_transform_prepare_output_buffer),
1625         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1626         Don't overwrite the outsize when calculating the expected size of a new
1627         buffer because we still need it in case we cannot process the new
1628         buffer.
1629         When converting the size of the new buffer to an upstream size, actually
1630         use the expected size of the buffer, not some other random value.
1631         Use an atomic int to signal that a new upstream caps suggestion is
1632         available.
1633         When we can convert the current buffer to a new format, check if the
1634         buffer size is of the expected size and allocate a new buffer of the
1635         expected size when this is not the case. Fixes #546883.
1636
1637         * tests/check/libs/transform1.c: (GST_START_TEST):
1638         remove ifdeffed code from the unit test.
1639
1640 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1641
1642         * pkgconfig/gstreamer-uninstalled.pc.in:
1643         * pkgconfig/gstreamer.pc.in:
1644           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1645           called gstcontroller-0.10.
1646
1647 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1648
1649         * gst/gstchildproxy.h:
1650         * gst/gstpreset.h:
1651           Remove double interface from doc-string.        
1652
1653 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1654
1655         * libs/gst/base/gstbasesrc.c:
1656         * libs/gst/base/gstbasetransform.c:
1657           Fix headings in docs and gtk-doc warnings.
1658
1659 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1660
1661         * gst/gstregistrybinary.c:
1662           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1663           libc.
1664           Fixes #544776.
1665
1666 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1667
1668         * libs/gst/base/gstbasetransform.c:
1669         (gst_base_transform_buffer_alloc):
1670         Fix a "may be used unitialized" warning.
1671
1672 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1673
1674         * docs/gst/gstreamer-sections.txt:
1675         * gst/gstpreset.h:
1676           Document preset-iface vmethods.
1677
1678 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1679
1680         * docs/manual/advanced-interfaces.xml:
1681           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1682           only used to discover devices.
1683
1684 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1685
1686         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1687
1688         * gst/gst.c: (init_pre):
1689         Make sure gettext returns translations in UTF-8 encoding rather
1690         than in the current locale encoding (#546822).
1691
1692 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1693
1694         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1695         Fix subset test.
1696
1697         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1698         Improve unit test subset tests and add a testcase for the subset failure
1699         cases.
1700
1701         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1702         Improve subtraction unit test.
1703
1704 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1705
1706         * plugins/elements/gsttee.c:
1707           Unlock, instead of locking again.
1708
1709 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1710
1711         * gst/gstpad.h:
1712         Clarify the docs a bit more.
1713
1714 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1715
1716         * tests/examples/metadata/read-metadata.c:
1717           Don't leak old taglist.
1718
1719 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1720
1721         Patch by: Olivier Crete <tester at tester dot ca>
1722
1723         * gst/gststructure.c:
1724         (gst_structure_fixate_field_nearest_fraction):
1725         Avoid overflows in fixation code when dealing with MAXINT values, which
1726         v4l2src seems to do.
1727         Fixes #546328.
1728
1729         * tests/check/gst/gststructure.c: (GST_START_TEST):
1730         Make a unit test to check the fix. 
1731
1732 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1733
1734         * plugins/elements/gstcapsfilter.c: (copy_func),
1735         (gst_capsfilter_set_property):
1736         Use new caps suggestion feature of basetransform to request a caps
1737         negotiation upstream.
1738
1739 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         * docs/libs/gstreamer-libs-sections.txt:
1742         Add new function:
1743         API: GstBaseTransform::gst_base_transform_suggest()
1744
1745         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1746         (gst_base_transform_init), (gst_base_transform_transform_caps),
1747         (gst_base_transform_transform_size),
1748         (gst_base_transform_configure_caps),
1749         (gst_base_transform_can_transform),
1750         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1751         (gst_base_transform_prepare_output_buffer),
1752         (gst_base_transform_buffer_alloc),
1753         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1754         (gst_base_transform_chain), (gst_base_transform_activate),
1755         (gst_base_transform_set_passthrough),
1756         (gst_base_transform_is_passthrough),
1757         (gst_base_transform_set_in_place),
1758         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1759         (gst_base_transform_set_qos_enabled),
1760         (gst_base_transform_is_qos_enabled),
1761         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1762         (gst_base_transform_reconfigure):
1763         * libs/gst/base/gstbasetransform.h:
1764         Rewrite of basetransform to perform negotiation outside of the
1765         buffer_alloc functions.  Fixes #545853.
1766
1767         * tests/check/libs/transform1.c: (GST_START_TEST),
1768         (buffer_alloc_ct2):
1769         Update unit test.
1770
1771 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1772
1773         * tests/check/gst/gstpreset.c:
1774           Only run preset tests when $HOME is writable. Preliminary fix for
1775           #545433.
1776
1777 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1778
1779         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1780         (gst_bin_change_state_func), (bin_handle_async_done),
1781         (gst_bin_handle_message_func):
1782         Fix race for bins that simulate ASYNC state changes by inserting
1783         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1784         pending ASYNC messages even when the bin does not have ASYNC children.
1785         We note detect this behaviour because we will receive an ASYNC message
1786         that is originating from the bin itself. 
1787         Fixes races with decodebin2 state changes.
1788
1789         * tests/check/gst/gstbin.c: (GST_START_TEST):
1790         Add some more debug.
1791
1792 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1793
1794         * gst/gsttaglist.c: (_gst_tag_initialize):
1795           Fix typo.
1796
1797 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1798
1799         * gst/gsttaglist.c:
1800           Argh. actually save the text before committing. Now adds
1801           gst_tag_merge_strings_with_comma() to gst_tag_register().
1802
1803 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1804
1805         * gst/gsttaglist.c:
1806         * gst/gsttaglist.h:
1807           Do as tim pointed out and actually register the new tag. Also improve
1808           te docs and use gst_tag_merge_strings_with_comma() method to allow
1809           retriving all keywords merged in one list.
1810
1811 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1812
1813         * configure.ac:
1814         * docs/gst/gstreamer.types:
1815           Revert 'accidential' change of the configure option removal. We still
1816           need to generate the types file in configure --disable-load-save.
1817
1818 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1819
1820         * docs/gst/gstreamer-sections.txt:
1821         * gst/gsttaglist.h:
1822           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1823
1824 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1825
1826         * gst/gstpadtemplate.c:
1827           (gst_pad_template_class_init), (gst_static_pad_template_get),
1828           (gst_pad_template_new), (gst_pad_template_pad_created),
1829           (gst_pad_template_set_property), (gst_pad_template_get_property):
1830           Add "name-template", "direction", "presence" and "caps" properties,
1831           so that gst_pad_template_new() is just a thin wrapper around
1832           g_object_new(), which is better for bindings. (Fixes: #539772)
1833
1834 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1835
1836         * gst/gsturi.c:
1837           Be more liberal in what URIs we accept.
1838           Do not unescape bits of the URI for no apparent reason before passing to
1839           the element. Fixes #545352.
1840
1841 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1842
1843         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1844
1845         * gst/gst.c:
1846         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1847
1848 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1849
1850         * configure.ac:
1851         * docs/gst/gstreamer-sections.txt:
1852         * docs/gst/gstreamer.types:
1853         * docs/gst/gstreamer.types.in:
1854         * gst/Makefile.am:
1855         * gst/gst.c:
1856         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1857         * gst/gstconfig.h.in:
1858         * gst/gstelement.c: (gst_element_get_index):
1859         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1860         (gst_registry_binary_load_feature),
1861         (gst_registry_binary_read_cache):
1862         * gst/gstregistryxml.c: (load_feature),
1863         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1864         * plugins/Makefile.am:
1865         * tools/gst-indent:
1866         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1867         (print_plugin_features), (print_element_features):
1868         * tools/gst-xmlinspect.c: (print_event_masks),
1869         (print_element_info):
1870         * win32/common/gstconfig.h:
1871         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1872
1873         Disabling the indexers and URI handler code will only reduce the
1874         required amount of memory by a very small amount but on the other hand
1875         requires much more maintaince work. Apart from that many places of
1876         code are broken when disabling them.
1877
1878         Disabling the enum types doesn't reduce the required amount of memory
1879         by more than a few bytes and makes it hard to fix bugs like #539772,
1880         i.e. use the enums as GObject properties.
1881
1882 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1883
1884         * docs/design/part-TODO.txt:
1885         Add some thoughts and problems with upstream renegotiation.
1886
1887 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1888
1889         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1890         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1891         Remove silly redundant debug.
1892         Add some more debug info.
1893         Clarify the docs regarding new caps received from pad_alloc.
1894
1895 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1896
1897         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1898         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1899         Make setting the caps more threadsafe.
1900
1901 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1902
1903         * docs/design/part-element-transform.txt:
1904         Update docs.
1905
1906 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1907
1908         * plugins/elements/gstqueue.c: (gst_queue_init),
1909         (gst_queue_acceptcaps):
1910         Add and use a custom acceptcaps function instead of falling back to the
1911         potentially less optimized default implementation.
1912
1913 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1914
1915         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1916           Only sanity-check the buffer size if requested_caps == buffer_caps
1917           (ie. don't take pad caps into account, they're not relevant here)
1918
1919 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1920
1921         * plugins/elements/gsttee.c:
1922         * plugins/elements/gsttee.h:
1923           Reverting as not everything is clear yet. Needs some general design
1924           work.
1925
1926 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1927
1928         * ChangeLog:
1929           ChangeLog surgery for tee commit.
1930
1931 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1932
1933         * docs/gst/gstreamer-sections.txt:
1934           Cleanup section-file.
1935
1936 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1937
1938         * plugins/elements/gsttee.c:
1939         * plugins/elements/gsttee.h:
1940           Relay tag events in tee. Fixes parts of #474016.
1941           Downgrades 3 reoccurring debugs to log.
1942
1943 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1944
1945         * configure.ac:
1946         * libs/gst/Makefile.am:
1947           Build the net library if we have winsock2.
1948
1949 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1950
1951         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1952
1953         * docs/manual/advanced-threads.xml:
1954         * docs/manual/diagrams-pipelines.svg:
1955         * docs/manual/hello-world.png:
1956         * docs/manual/linked-elements.png:
1957         * docs/manual/mime-world.png:
1958         * docs/manual/queue.png:
1959         * docs/manual/thread-buffering.png:
1960         * docs/manual/thread-synchronizing.png:
1961           Replace one diagram with two separate ones and updates others.
1962           Fixes #542401.
1963
1964 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1965
1966         * gst/gstelement.h:
1967         Fix link in documentation.
1968
1969 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1970
1971         * gst/gstmessage.c:
1972         Fix confusing documentation.
1973
1974 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1975
1976         * libs/gst/base/gstbasesrc.h:
1977         revert the changes to the header file for the ABI.
1978
1979 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1980
1981         * libs/gst/base/gstbasesrc.c:
1982         * libs/gst/base/gstbasesrc.h:
1983         Don't cache the seekable status.
1984         Fixes bug #544174
1985
1986 2008-07-24  Rene Stadler  <mail@renestadler.de>
1987
1988         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
1989         code to close the pipeline graph.  This prevents the program from
1990         printing internal data flow errors.
1991
1992 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1993
1994         * docs/manual/basics-bus.xml:
1995         Correct typo. Fixes bug #544320.
1996
1997 2008-07-22  Michael Smith <msmith@songbirdnest.com>
1998
1999         * configure.ac:
2000           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2001           Add check (taken from -base) for winsock, adds WIN32_LIBS
2002         * gst/Makefile.am:
2003           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2004           winsock.
2005           Define GST_EXPORTS when building libgstreamer (only used on win32)
2006         * gst/gst_private.h:
2007         * gst/gstinfo.h:
2008           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2009           for symbols that we need to export in both these files.
2010         * gst/gstpoll.c:
2011           Include gst_private.h higher up to avoid some compile problems on win32.
2012
2013 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2014
2015         * gst/gstvalue.c:
2016         Fix typos.
2017
2018 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2019
2020         * gst/gstcaps.c:
2021         Previous commit was wrong NULL caps does not exist
2022         and indicate an error, so also add a FIXME to
2023         gst_caps_is_equal where NULL caps are accepted.
2024
2025 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2026
2027         * gst/gstcaps.c:
2028         Allow passing of NULL to gst_caps_union
2029
2030 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2031
2032         * gst/gstghostpad.c:
2033         Add in doc that gst_ghost_pad_set_target can accept
2034         NULL to clear target
2035
2036 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2037
2038         * gst/gstplugin.c:
2039         * gst/gstregistry.c:
2040           GstRegistryPool doesn't exist; don't refer to it in docs.
2041           Don't refer to functions that don't exist in docs, it's
2042           unhelpful.
2043
2044 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2045
2046         * gst/gst.c:
2047         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2048
2049 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2050
2051         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2052
2053         * docs/pwg/building-testapp.xml:
2054         Don't use an undeclared variable in the example program.
2055         Fixes bug #542573.
2056
2057 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2058
2059         * gst/gstdebugutils.c:
2060           Squeeze ghost-pad links and remove <> from classname labels to save
2061           more horizontal space.
2062
2063 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2064
2065         * gst/gstdebugutils.c:
2066           Give request and sometimes pads a different shpe style. Condense the
2067           graphs a little more.
2068
2069 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2070
2071         * configure.ac:
2072           Don't require flex and bison if the parser is disabled.
2073
2074 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2075
2076         * libs/gst/controller/gstinterpolationcontrolsource.c:
2077         (_list_find_sorted_custom):
2078         Don't use declarations after statements.
2079
2080 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2081
2082         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2083         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2084         of the the child-added / -removed signals as GstChildProxy
2085         only supports GstObjects.
2086
2087 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2088
2089         * gst/gstdebugutils.c:
2090         Fix memleak
2091
2092 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2093
2094         Patch by: Alessandro Decina <alessandro at nnva dot org>
2095
2096         * gst/gstpoll.c:
2097         Fix "ignored return value" compiler warning with newer glibc.
2098
2099 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2100
2101         * gst/gstchildproxy.c:
2102         Fix copy&paste error in gst_child_proxy_removed() documentation.
2103
2104 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2105
2106         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2107           Print error debug message if plugin description fields that should
2108           be set are NULL.
2109
2110         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2111           Don't crash if the string to serialise is NULL (it really should
2112           not be, but apparently this used to work with the xml registry ...).
2113
2114 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2115
2116         * tools/gst-plot-timeline.py:
2117         Fix parsing of log messages
2118
2119 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2120
2121         * win32/common/libgstbase.def::
2122           Sort alphabetically so make check-exports doesn't barf.
2123
2124 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2125
2126         * gst/gstevent.c:
2127           Use gst_format_get_name() to improve debug output.
2128
2129         * gst/gstpreset.c:
2130           Remove #ifdef'ed code. Add TODO comment.
2131
2132         * gst/gstsegment.c:
2133           Add debug output to ease spotting format != segment.format assertions.
2134
2135 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2136
2137         * tests/check/libs/gdp.c: (gst_dp_suite):
2138         Also enable the GDP unit test again on PPC now that the bug
2139         is fixed.
2140
2141 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2142
2143         * libs/gst/dataprotocol/dataprotocol.c:
2144         Don't write to the same region of memory as a uint64 and uint16
2145         as this breaks strict aliasing rules and apparantly breaks on PPC
2146         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2147
2148 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2149
2150         * libs/gst/controller/gstinterpolationcontrolsource.c:
2151           Optimize list handling. Use own find function. Exploit that fact that
2152           the list is sorted. Also pass back the node before, so that we can
2153           insert quickly. Have a fast path for append.
2154
2155 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * docs/design/draft-framestep.txt:
2158         * docs/design/part-negotiation.txt:
2159           Fix two typos.
2160
2161 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2162
2163         * configure.ac:
2164           Show configuration sumary after configure run. Based on patch by
2165           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2166
2167 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2168
2169         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2170
2171         * docs/manual/advanced-autoplugging.xml:
2172         * docs/manual/advanced-threads.xml:
2173         * docs/manual/basics-bins.xml:
2174         * docs/manual/basics-elements.xml:
2175         * docs/manual/basics-helloworld.xml:
2176         * docs/manual/basics-pads.xml:
2177           Add scale factor for pdf output.
2178
2179         * docs/manual/intro-basics.xml:
2180           Switched sections "pads" and "bins" and added a pipeline diagram.
2181
2182         * docs/manual/intro-gstreamer.xml:
2183           Added more info on gstreamer.
2184
2185         * docs/manual/intro-motivation.xml:
2186           Commented out the whole section "current problem", which sounds
2187           historical and somehow osolete; it could be turned in a positive
2188           way and reused to improve the design principles.
2189
2190         * docs/manual/intro-preface.xml:
2191           - Update URLs to library.gnome.org. 
2192           - Do not mention GTK+ in preliminary reading (irrelevant). 
2193           - Mention Plugin Writer's Manual and further reading only in the
2194             previous section.
2195           - Added a list of most relevant GObject/glib topics.
2196
2197         * docs/manual/Makefile.am:
2198         * docs/manual/bin-element-ghost.fig:
2199         * docs/manual/bin-element-ghost.png:
2200         * docs/manual/bin-element-noghost.fig:
2201         * docs/manual/bin-element-noghost.png:
2202         * docs/manual/bin-element.fig:
2203         * docs/manual/bin-element.png:
2204         * docs/manual/filter-element-multi.fig:
2205         * docs/manual/filter-element-multi.png:
2206         * docs/manual/filter-element.fig:
2207         * docs/manual/filter-element.png:
2208         * docs/manual/gstreamer-overview.png:
2209         * docs/manual/hello-world.fig:
2210         * docs/manual/hello-world.png:
2211         * docs/manual/linked-elements.fig:
2212         * docs/manual/linked-elements.png:
2213         * docs/manual/mime-world.fig:
2214         * docs/manual/mime-world.png:
2215         * docs/manual/queue.fig:
2216         * docs/manual/queue.png:
2217         * docs/manual/simple-player.png:
2218         * docs/manual/sink-element.fig:
2219         * docs/manual/sink-element.png:
2220         * docs/manual/src-element.fig:
2221         * docs/manual/src-element.png:
2222         * docs/manual/diagrams-general.svg:
2223         * docs/manual/diagrams-pipelines.svg:
2224           Removed .fig, added .png counterpart.
2225           
2226           Fixes: #539137
2227
2228 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2229
2230         * plugins/elements/gstmultiqueue.c:
2231         * plugins/elements/gstmultiqueue.h:
2232         revert extra-size-buffers stuff, caused some race conditions
2233         and extra-size-buffers is not used anymore. Docs needs some updates
2234
2235 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2236
2237         * win32/common/config.h:
2238         * win32/common/gstenumtypes.c:
2239         * win32/common/gstenumtypes.h:
2240         * win32/common/gstversion.h:
2241           Update win32 files.
2242
2243 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2244
2245         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2246           (GST_DEBUG_BIN_TO_DOT_FILE):
2247           Add missing Since' markers to gtk-doc blurbs.
2248
2249 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2250
2251         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2252         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2253         (set_caps_1), (set_caps_ct1), (transform_ct1),
2254         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2255         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2256         (transform_size_ct2), (buffer_alloc_ct2):
2257         Add some more tests with switching caps in buffer_alloc.
2258
2259 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2260
2261         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2262         (gst_test_trans_class_init), (result_sink_chain),
2263         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2264         (gst_test_trans_push), (gst_test_trans_pop):
2265         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2266         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2267         (set_caps_1), (set_caps_ct1), (transform_ct1),
2268         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2269         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2270         (transform_size_ct2), (buffer_alloc_ct2),
2271         (gst_basetransform_suite):
2272         More tests, prepare for tests with switching caps in buffer_alloc.
2273
2274 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2275
2276         * plugins/elements/gstmultiqueue.c:
2277         * plugins/elements/gstmultiqueue.h:
2278         Fix dead-lock in underrun_cb
2279
2280 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2281
2282         * docs/design/part-states.txt:
2283         Fix device open/close docs.
2284
2285 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2286
2287         * ChangeLog:
2288           Mention bugnumber for last commit.
2289
2290 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2291
2292         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2293
2294         * docs/manual/manual.xml:
2295         - Reorganised the previous "introduction" bundle into Foreword,
2296         Introduction, and About GStreamer. The two first are <preface>
2297         docbook elements. The later is the first part of the book.
2298         - added intro-gstreamer.xml (content partially from
2299         intro-preface.xml)
2300         - moved appendix-win32.xml into appendix-integration.xml
2301
2302         * docs/manual/intro-preface.xml: gstreamer section moved...
2303         * docs/manual/intro-gstreamer.xml: ...here. new file.
2304
2305         * docs/manual/appendix-win32.xml: removed file. Content moved...
2306         * docs/manual/appendix-integration.xml: ...here.
2307         
2308         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2309         * docs/manual/appendix-checklist.xml: ...here.
2310         
2311         Fixes: 538764
2312
2313 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2314
2315         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2316
2317         * docs/manual/basics-helloworld.xml:
2318         * docs/manual/hello-world.fig:
2319           - Explicitely include glib.h.
2320           - Do not use global variables.
2321           - Use g_printerr() instead of g_print().
2322           - Minor formating/renaming to increase readibility.
2323           - Renamed new_pad() to on_pad_added()
2324           - Improved explenatory comments.
2325           - renamed ogg parser to ogg demuxer
2326           - Use "autoaudiosink" instead of "alsasink".
2327           Fixes: #538619
2328
2329 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2330
2331         * ChangeLog:
2332           Remove cvs conflict marker.
2333
2334 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2335
2336         * docs/README:
2337           Document that for plgin-docs we extraxt he short-desc from the element
2338           details.
2339
2340         * docs/design/part-states.txt:
2341           Tell that devices should be closed in PAUSED -> READY.
2342
2343         * docs/manual/README:
2344           Document how tests in the manual are handled.
2345
2346         * docs/manuals.mak:
2347           Typo in comment.
2348
2349 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2350
2351         * gst/gstbin.c: (bin_query_latency_fold):
2352         Only care about latency min and max when the sink is actually a live
2353         sink.
2354
2355 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2356
2357         * docs/design/part-block.txt:
2358         Fix typo.
2359
2360         * docs/design/part-element-transform.txt:
2361         Add notes about why transform needs to know input/output sizes.
2362         Add some issues that need to be solved.
2363         Add some more use cases.
2364
2365         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2366         (gst_test_trans_class_init), (result_sink_chain),
2367         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2368         (gst_test_trans_push), (gst_test_trans_pop):
2369         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2370         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2371         (set_caps_1), (set_caps_ct1), (transform_ct1),
2372         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2373         (gst_basetransform_suite):
2374         Add suport for different pad templates and buffer-alloc.
2375         Add more checks for caps and buffer-alloc.
2376         Add checks for proxy buffer alloc.
2377         Add unit test for copy transform.
2378
2379 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2380
2381         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2382
2383         * docs/manual/appendix-integration.xml:
2384         * docs/manual/appendix-licensing.xml:
2385         * docs/manual/basics-elements.xml:
2386         * docs/manual/basics-helloworld.xml:
2387         * docs/manual/basics-pads.xml:
2388         * docs/manual/highlevel-components.xml:
2389         * docs/manual/highlevel-xml.xml:
2390         * docs/manual/intro-basics.xml:
2391         * docs/manual/intro-preface.xml:
2392           Typo and formatting fixes (#538594).
2393
2394 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2395
2396         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2397         Fix some memory leaks and uses of object instances that we don't
2398         actually own.
2399
2400 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2401
2402         * plugins/elements/gstmultiqueue.c:
2403         Add functionality to extra-size-buffers property.
2404
2405 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2406
2407         * plugins/elements/gstmultiqueue.c:
2408         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2409         activate the pads if they are added in STATE_NULL.
2410
2411 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2412
2413         * docs/libs/gstreamer-libs-sections.txt:
2414         Add new API to doc
2415         * libs/gst/check/gstcheck.c:
2416         * libs/gst/check/gstcheck.h:
2417         API: gst_check_teardown_pad_by_name
2418
2419 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2420
2421         * libs/gst/check/gstcheck.c:
2422         * libs/gst/check/gstcheck.h:
2423         Also setup request pads and allow setup pads by name (#537812)
2424         API: gst_check_setup_src_pad_by_name
2425         API: gst_check_setup_sink_pad_by_name
2426
2427 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2428
2429         * tests/check/gst/gstbuffer.c:
2430         * tests/check/pipelines/parse-launch.c:
2431           Use HAVE_VALGRIND_H some more.
2432
2433 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2434
2435         * scripts/cvs-update.sh:
2436           Pass arguments to make.
2437           Run autoregen.sh if Makefile is not there.
2438
2439 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2440
2441         * configure.ac:
2442         * gst/gstinfo.c:
2443           Don't assume that <valgrind/valgrind.h> exists just because
2444           the binary is there.
2445
2446 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2447
2448         * tests/check/Makefile.am:
2449         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2450         (gst_test_trans_class_init), (gst_test_trans_init),
2451         (gst_test_trans_set_data), (result_sink_chain),
2452         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2453         (gst_test_trans_pop):
2454         * tests/check/libs/transform1.c: (GST_START_TEST),
2455         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2456         Add some test basetransform element and the beginnings of various
2457         unit tests for it.
2458
2459 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2460
2461         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2462         Increase code readability.
2463         Don't try to compare buffer offsets when ther are invalid.
2464
2465 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2466
2467         * docs/design/Makefile.am:
2468           Dist some more design docs.
2469
2470         * docs/random/moving-plugins:
2471           Small addition: good plugins mustn't have functional code
2472           within assertion macros.
2473
2474 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2475
2476         * docs/design/draft-framestep.txt:
2477         Some ideas about a framestep API
2478
2479         * docs/design/part-element-transform.txt:
2480         Start design and use cases for basetransform in order to get it
2481         fixed soon.
2482
2483 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2484
2485         * gst/gsttaglist.h:
2486           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2487           be in UTF-8 encoding.
2488
2489 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2490
2491         * gst/gstbus.c:
2492           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2493
2494 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2495
2496         * plugins/elements/gstcapsfilter.c:
2497         * plugins/elements/gstfakesink.c:
2498         * plugins/elements/gstfakesrc.c:
2499         * plugins/elements/gstfdsink.c:
2500         * plugins/elements/gstfdsrc.c:
2501         * plugins/elements/gstfilesink.c:
2502         * plugins/elements/gstfilesrc.c:
2503         * plugins/elements/gstidentity.c:
2504         * plugins/elements/gstmultiqueue.c:
2505         * plugins/elements/gstqueue.c:
2506         * plugins/elements/gsttee.c:
2507         * plugins/elements/gsttypefindelement.c:
2508           Remove short_description. Add basic docs for gsttypefindelement.
2509           Simplify markup for fakesrc/fdsrc.
2510
2511 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2512
2513         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2514         Added Since doc.
2515
2516 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2517
2518         Patch by: Joel Larsson <tilljoel at gmail dot com>
2519
2520         * docs/plugins/gstreamer-plugins.args:
2521         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2522         (gst_fd_src_init), (gst_fd_src_update_fd),
2523         (gst_fd_src_set_property), (gst_fd_src_get_property),
2524         (gst_fd_src_create):
2525         * plugins/elements/gstfdsrc.h:
2526         Add timeout property like udpsrc. Fixes #538628.
2527         Add some more docs and example pipelines.
2528
2529 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2530
2531         * docs/libs/gstreamer-libs-sections.txt:
2532         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2533         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2534         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2535         (gst_base_sink_do_sync):
2536         * libs/gst/base/gstbasesink.h:
2537         * win32/common/libgstbase.def:
2538         Add method to allow sinks to specify additional delay between the sync
2539         times and the actual rendering of the data.
2540         API: gst_base_sink_set_render_delay()
2541         API: gst_base_sink_get_render_delay()
2542
2543 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2544
2545         * configure.ac:
2546         Bump version number back to dev -> 0.10.20.1
2547
2548 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2549
2550         * docs/gst/gstreamer-sections.txt:
2551         * gst/gsttaglist.c: (_gst_tag_initialize):
2552         * gst/gsttaglist.h:
2553         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2554         Fixes bug #538568.
2555
2556 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2557
2558         * libs/gst/controller/gstcontroller.c:
2559           Revert one change, that make ret value possible uninitialized.
2560
2561 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2562
2563         * libs/gst/controller/gstcontroller.c:
2564           Use freeze/thaw notify to sync notify emission a bit (its also more
2565           efficient). Move debug output to LOG (is called a lot in a loop).
2566           Always unset g_values if the have been initialized.
2567
2568 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2569
2570         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2571         (gst_base_sink_wait_eos), (gst_base_sink_event):
2572         If we have not seen a buffer before EOS, use the segment values to
2573         report the current position instead of invalid positions.
2574
2575 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2576
2577         * docs/plugins/tmpl/.cvsignore:
2578         * tests/check/gst/.cvsignore:
2579           Ignore more.
2580
2581 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2582
2583         * libs/gst/controller/gstinterpolation.c:
2584         * libs/gst/controller/gstinterpolationcontrolsource.c:
2585         * tests/check/libs/controller.c:
2586           Rewrite handling of default values. Fix overflow with unsigned types
2587           in linear interpolation. Remove now obsolete _first_value() function.
2588           Add more tests. Fixes #538201.
2589
2590 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2591
2592         * libs/gst/base/gstbasetransform.c:
2593         (gst_base_transform_class_init), (gst_base_transform_init),
2594         (gst_base_transform_transform_caps),
2595         (gst_base_transform_prepare_output_buffer):
2596         Add debug info.
2597         When a buffer is writable, its metadata is also writable so we don't
2598         need to subbuffer (which then makes the buffer not-writable anymore).
2599
2600 === release 0.10.20 ===
2601
2602 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2603
2604         * configure.ac:
2605           releasing 0.10.20, "You Crazy Diamond"
2606
2607 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2608
2609         * configure.ac:
2610         0.10.19.3 pre-release
2611
2612 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2613
2614         * configure.ac:
2615         * gst/gstpreset.c:
2616         Rename DATADIR to GST_DATADIR to avoid build problems
2617         on win32. Patch By: David Schleef <ds@schleef.org>
2618         Fixes: #536857
2619
2620 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2621
2622         * configure.ac:
2623         Explicitely link with -ldl if dladdr() is found there. Before it was
2624         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2625         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2626
2627 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2628
2629         * gst/gsterror.c: (_gst_stream_errors_init):
2630           Fix typo (spotted by Fabricio Godoy, #536723).
2631
2632 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2633
2634         * configure.ac:
2635         0.10.19.2 pre-release
2636
2637 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2638
2639         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2640         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2641         Add some debug.
2642         Make sure we don't generate invalid QoS messages.
2643
2644 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2645
2646         * gst/gstevent.c: (gst_event_new_qos):
2647         Add some assert and docs for invalid input to the qos function.
2648
2649 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
2650
2651         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2652         (gst_base_sink_get_position):
2653         The reported position must always be smaller than the last seen
2654         timestamps (or timestamp + duration for reverse).
2655
2656 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2657
2658         Patch by: Rob Bradford <rob at robster dot org dot uk>
2659
2660         * gst/gstregistry.c: (gst_registry_scan_path_level):
2661         Don't recurse into .debug directories as some distros install
2662         the debugging symbols next to the plugins in .debug directories
2663         and dlopen() crashes on them sometimes. Fixes bug #508070.
2664
2665         Add FIXME for 0.11 to not recurse into directories at all because
2666         it's very inconsistent to the behaviour of other PATH environment
2667         variables.
2668
2669 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2670
2671         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2672         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2673         Fix position query range checks in reverse playback.
2674
2675 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2676
2677         * gst/gstelement.c:
2678         * gst/gstelement.h:
2679         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2680         clear of the reference to the resulting pad must be released later
2681         or not, resulting in possible leaks. Fixes bug #533865.
2682
2683 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2684
2685         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2686
2687         * gst/gstelementfactory.c:
2688         Small doc fix. Fixes #535285.
2689
2690 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2691
2692         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2693
2694         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2695         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2696         (gst_base_src_loop), (gst_base_src_set_flushing),
2697         (gst_base_src_change_state):
2698         Make sending an EOS event to the basesrc non-blocking even if the
2699         implementation does blocking waits in the create function. This is done
2700         by unlocking the create function when EOS is sent.
2701         Fixes #535218.
2702
2703 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2704
2705         * tools/gst-inspect.c: (print_element_properties_info):
2706         If possible print the element type of GValueArray properties.
2707
2708 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2709
2710         * gst/gstiterator.c:
2711         Remove an unused field from the private GstListIterator struct.
2712
2713 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2714
2715         * libs/gst/controller/gstcontroller.c:
2716           Add parameter guards.
2717
2718 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2719
2720         * tests/check/gst/gstpipeline.c:
2721           Revert test change and add comment why it should not work.
2722
2723 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2724
2725         * tests/check/gst/gstpipeline.c:
2726           Extending the test a little to verify that we also get the NULL state-
2727           change message.
2728
2729 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2730
2731         * gst/gstpreset.c: (gst_preset_default_get_meta),
2732           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2733           (gst_preset_load_preset), (gst_preset_save_preset),
2734           (gst_preset_rename_preset), (gst_preset_delete_preset),
2735           (gst_preset_set_meta):
2736           Add Since: markers to docs blurbs.
2737
2738         * win32/common/libgstreamer.def:
2739           Add recently-added API.
2740
2741 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2742
2743         Patch by: Stefan Kost  <ensonic@users.sf.net>
2744
2745         * configure.ac:
2746         Add DATADIR for storing presets.
2747
2748         * docs/gst/gstreamer-docs.sgml:
2749         * docs/gst/gstreamer-sections.txt:
2750         * docs/gst/gstreamer.types.in:
2751         Add GstPreset to docs.
2752
2753         * gst/Makefile.am:
2754         * gst/gst.h:
2755         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2756         (preset_open_and_parse_header), (preset_parse_version),
2757         (preset_merge), (preset_get_keyfile),
2758         (gst_preset_default_get_preset_names),
2759         (gst_preset_default_get_property_names),
2760         (gst_preset_default_load_preset),
2761         (gst_preset_default_save_presets_file),
2762         (gst_preset_default_save_preset),
2763         (gst_preset_default_rename_preset),
2764         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2765         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2766         (gst_preset_default_reset), (gst_preset_get_preset_names),
2767         (gst_preset_get_property_names), (gst_preset_load_preset),
2768         (gst_preset_save_preset), (gst_preset_rename_preset),
2769         (gst_preset_delete_preset), (gst_preset_set_meta),
2770         (gst_preset_get_meta), (gst_preset_class_init),
2771         (gst_preset_base_init), (gst_preset_get_type):
2772         * gst/gstpreset.h:
2773         Add GstPreset to core. Fixes #396779
2774
2775         * tests/check/Makefile.am:
2776         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2777         (gst_preset_test_set_property), (gst_preset_test_class_init),
2778         (gst_preset_test_base_init), (gst_preset_test_get_type),
2779         (gst_preset_test_plugin_init), (GST_START_TEST),
2780         (remove_preset_file), (test_setup), (test_teardown),
2781         (gst_preset_suite):
2782         Add GstPreset unit tests.
2783
2784 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2785
2786         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2787         The default event function on a sinkpad should return TRUE when
2788         there are no internal links but should collect the return values from
2789         the internal links otherwise.
2790
2791 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2792
2793         * plugins/elements/gsttypefindelement.c:
2794         (gst_type_find_element_src_event),
2795         (gst_type_find_element_handle_event):
2796         Use faster and safer _pad_push_event().
2797
2798 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2799
2800         * docs/gst/gstreamer-sections.txt:
2801         * gst/gstutils.c: (element_find_unlinked_pad),
2802           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2803         * gst/gstutils.h:
2804           API: add gst_bin_find_unlinked_pad()
2805           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2806
2807 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2808
2809         * gst/gstclock.c:
2810         * gst/gstclock.h:
2811         * gst/gsttask.c:
2812         * gst/gsttask.h:
2813         Fixed a bunch of typos.
2814
2815 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2816
2817         * gst/gstpad.h:
2818         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2819           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2820           (gst_parse_bin_from_description_full):
2821         * gst/gstutils.h:
2822           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2823
2824 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2825
2826         * docs/pwg/advanced-tagging.xml:
2827           Small docs update, can't be bothered to rewrite the nonsensical
2828           examples right now.
2829
2830 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2831
2832         * gst/gstevent.h:
2833           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2834
2835 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/parse/grammar.y:
2838           Remove unneeded casts.
2839
2840 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2841
2842         * gst/parse/grammar.y:
2843         * tests/check/pipelines/parse-launch.c:
2844           Get all missing elements from a parse launch string if possible
2845           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2846
2847 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2848
2849         * tests/check/Makefile.am:
2850         * tests/check/pipelines/parse-launch.c:
2851           Add some unit tests for the new gst_parse_launch*_full() API.
2852           (Exposes a previously-existing memory leak in the error code
2853           path, so adding to VALGRIND_TO_FIX for now).
2854
2855 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2856
2857         * docs/gst/gstreamer-sections.txt:
2858         * gst/gst.c: (init_post):
2859         * gst/gst_private.h: (_GstParseContext):
2860         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2861           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2862           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2863           (gst_parse_launch_full):
2864         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2865           (GstParseFlags), (GstParseContext):
2866         * gst/gstutils.c: (gst_parse_bin_from_description),
2867           (gst_parse_bin_from_description_full):
2868         * gst/gstutils.h:
2869         * gst/parse/grammar.y:
2870         * gst/parse/types.h:
2871         * win32/common/libgstreamer.def:
2872           Add new gst_parse_*_full API (#528178):
2873           API: gst_parse_launch_full()
2874           API: gst_parse_launchv_full()
2875           API: gst_parse_bin_from_description_full()
2876           API: gst_parse_context_new()
2877           API: gst_parse_context_free()
2878           API: gst_parse_context_get_missing_elements()
2879
2880 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2881
2882         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2883
2884         * docs/faq/gst-uninstalled:
2885           Also support ffmpeg in gst-uninstalled.
2886
2887 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2888
2889         * configure.ac:
2890         After discussion on IRC use the binary registry as default
2891         but allow to disable it with --disable-binary-registry.
2892
2893         * win32/common/libgstreamer.def:
2894         Add the two new symbols for the binary registry.
2895
2896 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2897
2898         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2899         * gst/gstutils.c: (gst_parse_bin_from_description):
2900         * gst/parse/grammar.y: (graph):
2901           More guards against bad input; typo fix; some minor clean-ups.
2902
2903 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2904
2905         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2906
2907         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2908         If nothing else can be used, use the last buffer's start time as
2909         the segment's last stop. Fixes bug #534258.
2910
2911 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2912
2913         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2914           Move size sanity check to the right place: downstream may return
2915           a buffer with a smaller size if the buffer caps are different than
2916           the requested ones, as may happen when doing reverse negotiation.
2917
2918 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2919
2920         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2921         (gst_file_sink_render):
2922         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2923         (gst_file_src_start):
2924         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2925         use it yet.
2926
2927 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2928
2929         * gst/gstpad.c: (gst_pad_load_and_link):
2930         * gst/gstutils.c: (gst_element_link_pads),
2931         (gst_element_unlink_pads):
2932         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2933         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2934         (gst_check_teardown_sink_pad),
2935         (gst_check_element_push_buffer_list):
2936         * tests/check/elements/fakesink.c: (GST_START_TEST):
2937         * tests/check/elements/filesink.c:
2938         * tests/check/elements/filesrc.c: (GST_START_TEST):
2939         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2940         (mq_sinkpad_to_srcpad):
2941         * tests/check/elements/tee.c: (GST_START_TEST):
2942         * tests/check/generic/sinks.c: (GST_START_TEST):
2943         * tests/check/gst/gstbin.c: (GST_START_TEST):
2944         * tests/check/gst/gstevent.c: (GST_START_TEST):
2945         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2946         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2947         * tests/check/gst/gstquery.c: (GST_START_TEST):
2948         * tests/check/gst/gstutils.c: (GST_START_TEST):
2949         * tests/check/libs/basesrc.c: (GST_START_TEST):
2950         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2951         (gst_parse_test_element_change_state):
2952         Don't use gst_element_get_pad().
2953
2954 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2955
2956         * docs/Makefile.am:
2957         Fix installing plugin documentation when gtk-doc is disabled.
2958
2959 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2960
2961         * docs/manual/advanced-autoplugging.xml:
2962         * docs/manual/basics-helloworld.xml:
2963         * docs/manual/basics-pads.xml:
2964         * docs/manual/highlevel-components.xml:
2965         Avoid using a bad function in the example code.
2966
2967 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2968
2969         * gst/gstclock.c: (gst_clock_set_calibration):
2970         Fix debug of the new clock rate.
2971
2972 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2973
2974         * win32/common/libgstbase.def:
2975         Add gst_base_sink_wait_clock() to the exported symbols.
2976
2977 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2978
2979         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
2980
2981         * libs/gst/base/gstbasetransform.c:
2982         (gst_base_transform_sink_event):
2983         Unref events that the GstBaseTransform::event vfunc didn't want to
2984         have forwarded by the base class. Closes a leak in identity.
2985         Fixes bug #446763.
2986
2987 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2988
2989         * docs/libs/gstreamer-libs-sections.txt:
2990         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
2991         * libs/gst/base/gstbasesink.h:
2992         Expose a method that was previously used internally to synchronize
2993         against the clock because it can be useful for subclasses too.
2994         API: GstBaseSink::gst_base_sink_wait_clock()
2995
2996 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
2997
2998         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
2999           Add sanity check to make sure we don't get smaller buffers
3000           than requested (and fallback to normal buffer alloc if we do).
3001
3002 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3003
3004         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3005         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3006         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3007         Refactor adjusting the running_time with latency and offset into a
3008         separate method.
3009         When doing clipping, we still want to use the subclass get_times method,
3010         just in case the DURATION or TIMESTAMP are not set.
3011
3012 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3013
3014         * docs/gst/gstreamer-sections.txt:
3015         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3016         * gst/gsttypefind.h:
3017         * win32/common/libgstreamer.def:
3018           API: add gst_type_find_suggest_simple(), #533740.
3019
3020 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3021
3022         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3023           Use right error code when typefinding fails, so we can use
3024           the default (translated) error messages.
3025
3026 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3027
3028         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3029         (gst_base_src_start):
3030         When the subclass did not set caps on outgoing buffers, configure the
3031         caps we negotiated on the source pad.
3032         When the typefind helper does not find caps, error out properly instead
3033         of doing things with NULL caps.
3034
3035 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3036
3037         * gst/gsttypefind.h:
3038           Tabs to spaces, oh yes!
3039
3040 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3041
3042         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3043           Add David's and Benjamin's tests for array intersection to the
3044           unit test suite (#147931).
3045
3046 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3047
3048         * gst/gstevent.c:
3049           Document that gst_event_new_tag() and gst_event_new_navigation()
3050           take ownership of the taglist/structure passed to them. (#533635).
3051
3052 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3053
3054         * docs/Makefile.am:
3055         Don't descend into the plugins dir if plugin docs building
3056         is disabled.
3057
3058         * docs/README:
3059         Add a note about the new type:GTypeName syntax for the plugin
3060         documentation .types file.
3061
3062 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3063
3064         * gst/gstmessage.c: (gst_message_new_error),
3065         (gst_message_new_warning), (gst_message_new_info):
3066         * gst/gstmessage.h:
3067         Mark the debug string parameters as const. Fixes bug #533490.
3068
3069 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3070
3071         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3072         Sort buffer cache list by end offsets. This makes sure that we don't
3073         stop to search for a cached buffer that contains the requested data
3074         too early.
3075         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3076         more efficient. Fixes bug #459862.
3077
3078 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3079
3080         * gst/gstinfo.c:
3081           Explain why we copy the list.
3082
3083         * gst/gstpipeline.c:
3084           Improve docs.
3085
3086         * gst/gstutils.c:
3087           Add one debug-log statement to help tracing probelms with linking pads.
3088
3089 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3090
3091         * tests/check/gst/gstinfo.c:
3092         Add a test for removing the default log handler. Seems to fail under
3093         windows.
3094
3095 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3096
3097         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3098         Release pad lock before calling out to avoid a possible deadlock.
3099
3100 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3101
3102         * gst/parse/grammar.y:
3103         Remove unneeded value unset.
3104
3105         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3106         Add unit test for de/serialization of caps.
3107
3108 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3109
3110         * plugins/elements/gstfakesink.c:
3111         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3112         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3113         (gst_fake_src_class_init):
3114         Use custom marshalers that take GstMiniObject as first parameter.
3115         Using OBJECT as parameter while a GstMiniObject is given will lead
3116         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3117
3118 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3119
3120         * plugins/elements/gsttypefindelement.c:
3121         (gst_type_find_element_handle_event),
3122         (gst_type_find_element_send_cached_events),
3123         (gst_type_find_element_change_state):
3124         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3125         immediately.
3126
3127 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3128
3129         * plugins/elements/gsttypefindelement.c:
3130         (gst_type_find_handle_src_query), (stop_typefinding),
3131         (gst_type_find_element_handle_event),
3132         (gst_type_find_element_send_cached_events),
3133         (gst_type_find_element_change_state):
3134         Forward FLUSH_START events immediately and clean up instead of
3135         caching them.
3136
3137 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3138
3139         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3140
3141         * libs/gst/base/gstbasetransform.c:
3142         (gst_base_transform_buffer_alloc):
3143         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3144         fall back to default negotiation in the chain function if the caps
3145         are different from what was requested. Fixes bug #526768.
3146
3147 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3148
3149         * gst/gstsegment.c:
3150         * tests/check/gst/gstsegment.c:
3151           No, let's not use g_slice_{dup|copy} here, since they only exist
3152           since GLib 2.14 and we still depend only on >= 2.12. Also add
3153           unit test for gst_segment_copy().
3154
3155 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3156
3157         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3158           Try to fix 'dereferencing type-punned pointer will break strict
3159           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3160           changed the default GType typedef from gulong to gsize at some point,
3161           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3162           g_once_* functions all take a gsize * though, so work around the type
3163           mismatch for C++ by doing everything in gsize and casting to GType
3164           later.
3165
3166 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3167
3168         * plugins/elements/gstmultiqueue.c:
3169         Add documentation for the signals to push our core plugin docs
3170         coverage back up to 100%.
3171
3172 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3173
3174         * gst/gstinfo.h (GST_FUNCTION):
3175           Reverted GST_FUNCTION to the old version as we don't want the
3176           full signature in C++ code. Also added support for MSVC.
3177
3178 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3179
3180         * gst/gstutils.h:
3181         Intern the type name string, similar to what G_DEFINE_TYPE does.
3182
3183 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3184
3185         * gst/gstutils.h:
3186         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3187
3188 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3189
3190         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3191
3192         * libs/gst/base/gstbasetransform.c:
3193         (gst_base_transform_buffer_alloc):
3194         Don't passthrough buffer allocation too easily if the caps change.
3195         This breaks when working in passthrough mode and upstream changes
3196         it's caps. Fixes bug #526768.
3197
3198 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3199
3200         * gst/gstinfo.c (gst_debug_log_valist):
3201           Improved the __FILE__ part of debug output for MSVC.
3202
3203 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3204
3205         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3206           Declaration after statement fix for compilers like MSVC.
3207
3208 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3209
3210         * win32/common/config.h.in:
3211           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3212           use the real thing than having "???" unconditionally.
3213
3214 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3215
3216         * gst/gstinfo.h (GST_FUNCTION):
3217           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3218
3219 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3220
3221         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3222         Small code cleanup.
3223
3224         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3225         (gst_base_sink_set_flushing):
3226         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3227         Fix some comments.
3228
3229 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3230
3231         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3232         (gst_fake_src_init), (gst_fake_src_set_property),
3233         (gst_fake_src_get_property), (gst_fake_src_start):
3234         * plugins/elements/gstfakesrc.h:
3235         Added format property to control the format of the newsegment events.
3236         API: GstFakeSrc:format
3237
3238 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3239
3240         * win32/common/libgstreamer.def:
3241         Add gst_pad_has_name() to the exported symbols.
3242
3243 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3244
3245         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3246         * libs/gst/base/gstbasetransform.c:
3247         (gst_base_transform_prepare_output_buffer):
3248         Don't allow negative sizes when allocating new buffers.
3249         Fixes bug #461253.
3250
3251 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3252
3253         Patch by: Sjoerd Simons <sjoerd at luon net>
3254
3255         * gst/gstbus.c: (gst_bus_source_dispatch):
3256           Don't print a warning if the queue is empty when we try to pop
3257           here. That could happen if another thread or callback set the
3258           bus to flushing between the source's check/prepare and the
3259           dispatch being called (#531538).
3260
3261 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3262
3263         * plugins/elements/gstmultiqueue.c:
3264           Small docs fix.
3265         
3266 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3267
3268         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3269         Add unit test for deserializing uint64s and check some really large
3270         numbers in the int64 test.
3271
3272 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3273
3274         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3275         (print_interfaces), (print_element_properties_info),
3276         (print_signal_info):
3277         Use "%s" as format string instead of printing strings directly.
3278
3279 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3280
3281         * gst/gstclock.c: (gst_clock_set_calibration):
3282         Make some checks actually useful.
3283
3284         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3285         Remove some unused code. Unsigned integers tend to be >= 0.
3286
3287 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3288
3289         * gst/gstminiobject.c: (gst_value_get_mini_object):
3290           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3291           function was not in the unscheduled 0.10.19 release.
3292
3293 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3294
3295         * gst/gstregistry.c: (gst_registry_scan_path_level):
3296           Only print one log message per non-plugin file.
3297
3298 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3299
3300         * gst/gstinfo.c: (gst_debug_log_default):
3301           Fix alignment of debug log columns on 64-bit.
3302
3303 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3304
3305         * docs/libs/Makefile.am:
3306         * docs/libs/gstreamer-libs-sections.txt:
3307           Ignore private controller headers for docs.
3308
3309 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3310
3311         * libs/gst/controller/gstcontrollerprivate.h:
3312         * libs/gst/controller/gsthelper.c:
3313         * libs/gst/controller/gstinterpolation.c:
3314         * libs/gst/controller/gstinterpolationcontrolsource.c:
3315         (gst_interpolation_control_source_set_interpolation_mode):
3316         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3317         * libs/gst/controller/lib.c:
3318         Move some private declarations into private headers.
3319
3320 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3321
3322         * gst/gstdebugutils.c: (debug_dump_element_pad):
3323         Remove some code that is unused after Stefan's refactoring and uses
3324         uninitialized variables now, resulting in a compiler warning.
3325
3326 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3327
3328         * gst/gstregistry.c: (gst_registry_scan_path_level):
3329           Run g_str_has_suffix() only on the file name, not the
3330           entire file path.
3331
3332 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3333
3334         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3335           Since we're not called only from the chain function any longer,
3336           we can't assume that there's always data in the queue, so move
3337           the is_full check to the beginning of the loop (otherwise we'd
3338           hit the assert when changing the limit properties while the
3339           queue is empty or not running yet).
3340           Also, only set a discont if items were actually removed from
3341           the queue.
3342
3343         * tests/check/elements/queue.c: (test_leaky_downstream):
3344           Test case for the above.
3345
3346 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3347
3348         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3349
3350         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3351         (gst_queue_chain), (queue_capacity_change),
3352         (gst_queue_set_property):
3353         When changing thr max capacity of a leaky queue, immediatly drop buffers
3354         instead of waiting for a push on the sinkpad. Fixes #530637.
3355
3356 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3357
3358         * gst/gstdebugutils.c:
3359           Refactor code and fix handling of ghostpads and their proxypads.
3360
3361 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3362
3363         * docs/gst/gstreamer-sections.txt:
3364         * gst/gstevent.c: (gst_event_has_name):
3365         * gst/gstevent.h:
3366         * tests/check/gst/gstevent.c: (GST_START_TEST):
3367         Add method to conveniently check the name of a custom event with
3368         gst_event_has_name().
3369         Reformat the event docs so that related methods are put together instead
3370         of the default alphabetical sort.
3371         Update unit test with new method.
3372         API: GstEvent::gst_event_has_name()
3373
3374 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3375
3376         * libs/gst/check/Makefile.am:
3377           Don't add an explicit link to libgstreamer-0.10.la; it's already
3378           included in GST_OBJ_LIBS.
3379
3380 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3381
3382         * gst/gst.c:
3383         Register GstClock type from a type-safe context. Fixes bug #530317.
3384
3385 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3386
3387         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3388         * tools/gst-run.c:
3389           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3390
3391 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3392
3393         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3394         (gst_bin_dispose):
3395         Use the GLib stuff to create a private structure.
3396         Add some locking around some dispose methods to make them a little
3397         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3398
3399 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3400
3401         * libs/gst/base/gstbasesink.h:
3402         * libs/gst/base/gstbasesrc.h:
3403         * libs/gst/base/gstbasetransform.h:
3404         * libs/gst/base/gstcollectpads.h:
3405           Fix doc typos and unify caps a bit.
3406
3407 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3408
3409         * tools/gst-launch.1.in:
3410           Forgot to also add the envvar docs here.
3411
3412 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * gst/gst.c: (init_post), (gst_deinit):
3415         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3416           (test_concurrent_create), (gst_pipeline_suite):
3417           Ref some more classes in gst_init() to work around thread-safety
3418           issues in pre-2.16 GLibs, and add basic unit test.
3419
3420 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3421
3422         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3423         (gst_base_sink_send_event):
3424         Rearrange the latency query code. We always want to do the upstream
3425         query, even if we are not live so that the upstream elements can get the
3426         latency results too. If we fail doing the query and we are live, we
3427         return TRUE afterwards.
3428
3429 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3430
3431         patch by: Jason Zhao <e3423c@motorola.com>
3432
3433         * docs/gst/running.xml:
3434         * gst/gst.c:
3435           Enable/disable scan_and_update_registry() based on commandline switch
3436           or environment variable. Fixes #520468.
3437           
3438         * ChangeLog:
3439           Fix typo in my previous commit.
3440
3441 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3442
3443         * gst/gstregistrybinary.c:
3444           Add a warning if we hit unhandled factories when saving.
3445           More debug logging detail, but move to LOG category.
3446
3447 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3448
3449         * gst/gstregistry.c:
3450           Tell the *truth* when improving the documentation.
3451
3452 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3453
3454         * gst/gstelementfactory.c: (gst_element_factory_make):
3455         Unref the factory after it was used the last time, not before.
3456
3457         * gst/gstindexfactory.c: (gst_index_factory_make):
3458         Improve debugging a bit and don't leak a ref to the index factory with
3459         each call.
3460
3461 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3462
3463         * gst/gstregistry.c:
3464           Improve the documentation.
3465
3466 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3467
3468         * gst/gstsegment.c:
3469           The glib macro seems to be borked. Use g_slice_copy directly and cast
3470           in the hope that this fixes the warning on 64bit.
3471
3472 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3473
3474         * gst/gstsegment.c:
3475           Document the new function. Use g_slice_dup() (no need for
3476           gst_segment_init()).    
3477
3478 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3479
3480         * docs/gst/gstreamer-sections.txt:
3481           Move GParamSepc macros to standart section.
3482   
3483         * gst/gstbin.c:
3484           Dn't document _get_type - its in private section in docs anyway and
3485           this doc-blob was incomplete.
3486
3487         * gst/gstclock.h:
3488           Fix wrong symbol names in docs.
3489
3490         * gst/gstmacros.h:
3491           Add once doc sentence.
3492
3493         * tests/check/gst/.cvsignore:
3494           Ignore more.
3495
3496 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * docs/gst/Makefile.am:
3499           And remove those libs here.
3500
3501 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3502
3503         * docs/libs/Makefile.am:
3504           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3505
3506 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3507
3508         Patch by: Olivier Crete <tester at tester dot ca>
3509
3510         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3511         Add the min-threshold to the min latency if possible. Fixes #529148.
3512
3513 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3514
3515         * docs/gst/gstreamer.types.in:
3516           Stupid editor, I removed that line as it should go in yet.
3517
3518 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3519
3520         * docs/gst/gstreamer.types.in:
3521         * docs/libs/gstreamer-libs.types:
3522           Remove library types fro core docs and have them in libs docs.
3523           Reformat and cleanup. Add comment for miniobject types.
3524
3525 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * gst/gsturi.c: (gst_uri_get_protocol):
3528           Fix leak: g_strdown operates on the string in place, while
3529           g_ascii_strdown() returns a newly-allocated string.
3530
3531 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3532
3533         * tools/gst-inspect.c: (print_uri_handler_info),
3534         (print_element_info):
3535         Print the URI protocols and the URI type supported by the element.
3536
3537 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3538
3539         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3540         Use g_value_take_string() instead of the deprecated
3541         g_value_set_string_take_ownership().
3542
3543 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3544
3545         * gst/gstregistrybinary.c: (_gst_crc32):
3546         Return the old CRC instead of 0 if we give a NULL buffer
3547         or a buffer with a length of 0.
3548
3549 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3550
3551         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3552         (gst_uri_get_protocol), (gst_uri_has_protocol),
3553         (gst_uri_construct), (gst_uri_handler_set_uri):
3554         A valid URI scheme can also include '+', '-' and '.' additional
3555         to alphanumeric characters as per RFC 3986 Section 3.1.
3556
3557         Handle URI schemes case insensitive in all places and convert
3558         to lower-case when constructing an URI or setting an URI with
3559         the GstURIHandler interface. Fixes bug #528868.
3560         All elements can still assume (as before) that they will
3561         get passed URIs with a lower-case URI scheme by the GstURIHandler
3562         interface.
3563
3564 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3565
3566         * gst/gstcaps.c: (gst_static_caps_get):
3567         * gst/gstclock.c: (gst_clock_entry_new):
3568           Don't use g_atomic_set_int where it's not needed.
3569
3570 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3571
3572         * gst/gstvalue.c: (gst_value_deserialize_caps):
3573         * gst/parse/grammar.y:
3574         Fix 2 caps leaks.
3575
3576 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3577
3578         * gst/gstutils.c: (gst_atomic_int_set):
3579         Use g_atomic_int_set() here too instead of assignment +
3580         g_atomic_int_get().
3581
3582 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3583         
3584         * gst/gstutils.c:
3585         * gst/gstutils.h:
3586         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3587         now that we depend on new enough GLib.
3588
3589         * gst/gstcaps.c: (gst_static_caps_get):
3590         * gst/gstclock.c: (gst_clock_entry_new):
3591         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3592         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3593         (gst_debug_category_set_threshold):
3594         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3595         (gst_base_sink_set_qos_enabled):
3596         * libs/gst/net/gstnettimeprovider.c:
3597         (gst_net_time_provider_set_property):
3598         Use g_atomic_int_set() instead of gst_atomic_int_set().
3599
3600 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3601
3602         * gst/gstquery.c:
3603           Also use G_GINT64_CONSTANT for the queries.
3604
3605 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3606
3607         * gst/gstmessage.c:
3608           Use G_GINT64_CONSTANT in varargs function.
3609
3610 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3611
3612         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3613         Initialize the registry magic with zeroes.
3614
3615 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3616
3617         * gst/gstregistrybinary.c: (_gst_crc32),
3618         (gst_registry_binary_write),
3619         (gst_registry_binary_initialize_magic),
3620         (gst_registry_binary_write_cache),
3621         (gst_registry_binary_check_magic),
3622         (gst_registry_binary_read_cache):
3623         * gst/gstregistrybinary.h:
3624         Add crc32 checksum to the binary registry file and check this before
3625         accepting a registry file.
3626
3627         Also free the data list when writing to the registry file fails.
3628
3629 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3630
3631         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3632         (gst_registry_binary_load_feature),
3633         (gst_registry_binary_load_plugin):
3634         If an element supports the Uri interface, returns a valid pointer
3635         to the supported URI protocols but this pointer contains nothing
3636         don't try to save that as it will corrupt the registry.
3637
3638         Don't unref the plugin if we added it to the registry already but
3639         fail to load a feature as gst_registry_add_plugin() takes ownership
3640         of the plugin.
3641
3642         Improve debugging a bit.
3643
3644 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3645
3646         * gst/gsttaglist.h:
3647           Clarify some tag item docs after discussion on irc.
3648
3649 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3650
3651         * docs/gst/gstreamer-docs.sgml:
3652           Remove commented out plugins (they have their own docs). Update
3653           comments.
3654
3655 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3656
3657         * docs/gst/gstreamer-docs.sgml:
3658         * docs/gst/gstreamer-sections.txt:
3659         * gst/gstparamspecs.c:
3660         * gst/gstparamspecs.h:
3661           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3662           docs to own section.
3663
3664         * gst/gstvalue.c:
3665           This now only documents GValue.
3666           
3667         * docs/libs/gstreamer-libs-sections.txt:
3668         * libs/gst/controller/gstcontroller.h:
3669           Remove GST_PARAM_CONTROLLABLE.
3670
3671 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3672
3673         * docs/README:
3674           Correct file path. Tell about how to use -overrides.txt.
3675         * docs/design/draft-tagreading.txt:
3676           Small design update.
3677
3678 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3679
3680         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3681         (gst_registry_binary_load_plugin):
3682         Fix a typo in a debug message and revert change from yesterday as
3683         gst_registry_add_plugin() will only fail if something is really wrong
3684         already and we can't survive it anyway.
3685
3686 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3687
3688         * gst/gst.c: (init_post), (gst_deinit):
3689           Pre-register GstGError GType from a thread-safe context
3690           (fixes #527967); unref enum type classes in deinit.
3691
3692 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3693
3694         Patch by: Rene Stadler <mail at renestadler de>
3695
3696         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3697           Merging an empty list with another list in KEEP_ALL mode should
3698           yield an empty list as result and not the second list (#512578).
3699
3700         * tests/check/gst/gsttagsetter.c:
3701           Add unit test for tag merge modes and the aforementioned bug.
3702
3703 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3704
3705         Patch by: Rene Stadler <mail at renestadler de>
3706
3707         * gst/gsttaglist.h:
3708           Fix description to match the order in the table (#512577).
3709   
3710 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3711
3712         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3713
3714         * libs/gst/net/gstnettimepacket.h:
3715         * docs/libs/gstreamer-libs-sections.txt:
3716           Define socklen_t as int if it's not defined yet. Fixes compilation
3717           with MSVC6 and other versions where socklen_t is not defined in
3718           the windows headers (#518022).
3719
3720 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3721
3722         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3723         If gst_registry_add_plugin() fails our reference to the plugin is
3724         invalid so don't try to use it anymore and instead error out.
3725
3726 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3727
3728         * tools/gst-xmlinspect.c: (print_element_info), (main):
3729           De-cruft a bit. If no argument is specified, print all elements in
3730           XML syntax rather than a freestyle list of elements like gst-inspect.
3731           Also, don't print XML header chunk unless we actually have something
3732           to print (ie. don't print it before an error message); print error
3733           message to stderr not stdout. Remove support for printing plugin
3734           info (it would just output something freestyle along the lines of
3735           gst-inspect so far), which fixes #514507. Also add license header.
3736
3737 2008-04-11  Julien Moutte  <julien@fluendo.com>
3738
3739         Mac OS X love...
3740         * configure.ac: Merge platform specific defines, introduce a new
3741         define on OS X to remember that forking when updating registry is
3742         unsafe.
3743         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3744         module.
3745         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3746         is defined.
3747         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3748         condition that leads to absolutely no plugins being registered on
3749         OS X.
3750
3751 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3752
3753         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3754
3755         * gst/gstutils.c: (gst_pad_add_data_probe),
3756           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3757           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3758           (gst_pad_add_buffer_probe_full):
3759         * gst/gstutils.h:
3760         * docs/gst/gstreamer-sections.txt:
3761         * win32/common/libgstreamer.def:
3762           Add gst_pad_add_*_probe_full() functions with a notify callback that
3763           lets the caller free the data it passes to the probe functions. This
3764           is useful for bindings such as gst-python or gstreamermm (#526814).
3765           API: gst_pad_add_data_probe_full
3766           API: gst_pad_add_buffer_probe_full
3767           API: gst_pad_add_event_probe_full
3768
3769         * tests/check/gst/gstutils.c:
3770           Add minimal unit test to make sure freeing the data actually works
3771           as expected.
3772
3773         * tests/benchmarks/.cvsignore:
3774           Random cvsignore addendum.
3775
3776 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3777
3778         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3779           (GST_DEBUG_BIN_TO_DOT_FILE):
3780           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3781           to it in the docs (since these are macros the types of the arguments
3782           won't be shown in the docs otherwise).
3783
3784 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3785
3786         * gst/gstpad.c:
3787           Do not abort on out of memory for pad_alloc_buffer.
3788
3789 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3790
3791         * libs/gst/check/gstcheck.c:
3792           Remove blank line between symbol name ad parameters to fix gtkdoc
3793           warning.
3794
3795 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3796
3797         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3798
3799         * docs/gst/gstreamer-sections.txt:
3800         * gst/gstsegment.c:
3801         * gst/gstsegment.h:
3802         * win32/common/libgstreamer.def:
3803           Expose gst_segment_copy() to make things easier for the c++ bindings.
3804           Fixes #518932.
3805           API: gst_segment_copy()
3806
3807 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3808
3809         * gst/gst.c: (gst_init_get_option_group), (init_post):
3810           Fix const position; ref GType classes for enum types to work
3811           around thread-safety issues in GLib versions < 2.16.
3812
3813 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3814
3815         * docs/design/part-buffering.txt:
3816         Fix some typos and set the estimated total for push mode to -1.
3817
3818         * gst/gstquery.c: (gst_query_new_buffering):
3819         Set buffering-left to 0 as we're not buffering by default.
3820
3821         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3822         Implement BUFFERING query.
3823
3824 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3825
3826         Based on patch by: Milosz Derezynski <internalerror gmail com>
3827
3828         * gst/gsterror.c: (_gst_stream_errors_init):
3829         * gst/gsterror.h:
3830           Add two new error codes for encrypted content. Fixes #524659.
3831           API: GST_STREAM_ERROR_DECRYPT
3832           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3833
3834 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3835
3836         * gst/gstquery.h:
3837           Fix typo.
3838
3839         * win32/common/libgstreamer.def:
3840           Add new functions.
3841
3842 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3843
3844         * plugins/elements/gstidentity.c: (gst_identity_event),
3845         (gst_identity_start):
3846         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3847         event after processing some data. Fixes bug #526042.
3848
3849 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3850
3851         * docs/gst/gstreamer-sections.txt:
3852         * gst/gstquery.c: (gst_query_parse_latency),
3853         (gst_query_set_buffering_percent),
3854         (gst_query_parse_buffering_percent),
3855         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3856         * gst/gstquery.h:
3857         Rename _avail -> _range
3858         API: gst_query_set_buffering_range
3859         API: gst_query_parse_buffering_range
3860
3861 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3862
3863         * docs/design/part-buffering.txt:
3864         * gst/gstquark.c:
3865         * gst/gstquark.h:
3866         * gst/gstquery.c: (gst_query_parse_latency),
3867         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3868         (gst_query_parse_buffering_percent):
3869         * gst/gstquery.h:
3870         Add busy field and quark for the buffering query so that the app can
3871         only use the query to see if buffering is in progress.
3872
3873 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3874
3875         * docs/gst/gstreamer-sections.txt:
3876         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3877         (gst_message_parse_buffering_stats):
3878         * gst/gstmessage.h:
3879         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3880         (gst_query_parse_latency), (gst_query_new_buffering),
3881         (gst_query_set_buffering_percent),
3882         (gst_query_parse_buffering_percent),
3883         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3884         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3885         * gst/gstquery.h:
3886         Reorder the message docs and headers for clarity.
3887         Add aditional buffering stats API for messages.
3888         Add buffering query.
3889         Convert some leftover queries to use GstQuark.
3890         API: gst_message_set_buffering_stats
3891         API: gst_message_parse_buffering_stats
3892         API: GST_QUERY_BUFFERING
3893         API: GstBufferingMode
3894         API: gst_query_new_buffering
3895         API: gst_query_set_buffering_percent
3896         API: gst_query_parse_buffering_percent
3897         API: gst_query_set_buffering_stats
3898         API: gst_query_parse_buffering_stats
3899
3900 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3901
3902         * gst/gstmessage.c: (gst_message_new_error),
3903         (gst_message_new_warning), (gst_message_new_info),
3904         (gst_message_new_buffering), (gst_message_new_state_changed),
3905         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3906         (gst_message_new_new_clock), (gst_message_new_segment_start),
3907         (gst_message_new_segment_done), (gst_message_new_duration),
3908         (gst_message_new_async_start), (gst_message_parse_buffering),
3909         (gst_message_parse_state_changed),
3910         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3911         (gst_message_parse_new_clock), (gst_message_parse_error),
3912         (gst_message_parse_warning), (gst_message_parse_info),
3913         (gst_message_parse_segment_start),
3914         (gst_message_parse_segment_done), (gst_message_parse_duration),
3915         (gst_message_parse_async_start):
3916         Use GstQuark for messages.
3917
3918 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3919
3920         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3921         * gst/gstquark.h:
3922         Add some more quarks needed for messages and queries.
3923
3924 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3925
3926         * docs/design/part-buffering.txt:
3927         Remove the "none" buffering mode, STREAM is a good default.
3928         Move estimated-time to the avail query, that's when it will be needed.
3929         Other small typo fixes and updates.
3930
3931 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * gst/gstindex.c: (gst_index_resolver_get_type):
3934           Don't put descriptions into the nick field of a GEnumValue: it's not
3935           meant for that and some language bindings rely on the nick field to
3936           construct constants and the like. Fixes #526705.
3937
3938 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3939
3940         * NEWS:
3941         * RELEASE:
3942         * gstreamer.doap:
3943           Merge other changes from 0.10.19 release branch.
3944
3945 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3946
3947         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3948
3949         * configure.ac:
3950         Actually build dlls when cross-compiling with mingw32.
3951         Fixes bug #526247.
3952
3953 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3954
3955         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3956
3957         * gst/gstpoll.c:
3958         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3959
3960 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3961
3962         * docs/design/draft-latency.txt:
3963         Fix typo.
3964
3965         * docs/design/part-buffering.txt:
3966         Update design docs with more buffering ideas.
3967
3968 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * configure.ac:
3971           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3972
3973 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3974
3975         * configure.ac:
3976           Revert part that belongs to the preset patch.
3977
3978 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3979
3980         * configure.ac:
3981           Add qoutes to the define. Fixes # 525961.
3982
3983 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
3984
3985         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
3986         (gst_file_index_load), (gst_file_index_add_id),
3987         (gst_file_index_get_assoc_entry):
3988         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
3989         (gst_mem_index_free_id), (gst_mem_index_add_id),
3990         (gst_mem_index_index_format):
3991         Use GSlice when possible.
3992
3993 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
3994
3995         * libs/gst/controller/gstinterpolationcontrolsource.c:
3996         (gst_control_point_free),
3997         (gst_interpolation_control_source_set_internal):
3998         Use GSlice for allocating the control points.
3999
4000 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4001
4002         * plugins/elements/gsttypefindelement.c:
4003         (gst_type_find_element_class_init),
4004         (gst_type_find_element_set_property),
4005         (gst_type_find_element_get_property),
4006         (gst_type_find_element_activate):
4007         * plugins/elements/gsttypefindelement.h:
4008         Cleanup properties.
4009         Fix pad leak when peer query fails.
4010         We can still typefind when the peer returns -1.
4011         Add property to force caps and bypass typefinding. This will be used in
4012         uridecodebin.
4013         API::force-caps
4014
4015 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4016
4017         * configure.ac:
4018         Require GLib 2.12.
4019
4020         * gst/glib-compat-private.h:
4021         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4022         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4023         Unconditionally use GSlice for allocation.
4024
4025         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4026         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4027         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4028         (gst_structure_free):
4029         Use GSlice for allocation.
4030
4031 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4032
4033         * gst/parse/Makefile.am:
4034         * gst/parse/grammar.tab.pre.c:
4035         * gst/parse/grammar.tab.pre.h:
4036         * gst/parse/lex._gst_parse_yy.pre.c:
4037         Require a new enough flex and bison and remove the parser hacks to use
4038         a pre-regenerated version.
4039
4040 2008-04-01  Julien Moutte  <julien@fluendo.com>
4041
4042         patch by: Jason Zhao <E3423C@motorola.com>
4043
4044         * configure.ac: Add a configure switch to disable option parsing
4045         in gst_init.
4046         Fixes #522882.
4047
4048 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4049
4050         * configure.ac:
4051         * gst/gstregistry.c:
4052           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4053           and handle this case.
4054
4055         * gst/gst.c:
4056           Add a comment here describing, why we stat each plugin and not try to
4057           be smart.
4058
4059 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4060
4061         * libs/gst/base/gstbasetransform.c:
4062         (gst_base_transform_prepare_output_buffer):
4063         Also unset the GAP flag on buffers if we're working inplace but
4064         the element is not GAP-aware.
4065
4066         Mark a comment as FIXME 0.11.
4067
4068 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4069
4070         * gst/gst.c:
4071           Fix type in log message and add one to ease seeing how long registry
4072           cache verification takes.
4073
4074         * gst/gstregistry.c:
4075           Only test plugin filenames against G_MODULE_SUFFIX.
4076
4077 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4078
4079         * gst/gstdebugutils.c:
4080           Improve handling ghost/proxy pads.
4081
4082 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4083
4084         * docs/gst/gstreamer-sections.txt:
4085         * gst/gstpad.c:
4086         * gst/gstpad.h:
4087           Expose macro to docs and fix link to it.
4088
4089 2008-03-27  Michael Smith <msmith@fluendo.com>
4090
4091         * libs/gst/dataprotocol/dataprotocol.c:
4092         (gst_dp_packet_from_event_1_0):
4093           When calculating GDP body CRC, use the correct pointer. 
4094           Fixes part of #522401.
4095
4096 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4097
4098         Patch by: Mark Nauwelaerts <manauw at skynet be>
4099
4100         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4101         (gst_identity_init), (gst_identity_prepare_output_buffer):
4102         Identity is not always a passthrough element, it can modify the buffer
4103         timestamps when it has a datarate and operates in single-segment mode.
4104         We therefore make it an in_place filter with a custom buffer prepare
4105         function that conditionally makes the input buffer metadata writable
4106         when needed.  Fixes #523985.
4107
4108 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4109
4110         Patch by: Mark Nauwelaerts <manauw at skynet be>
4111
4112         * gst/gstclock.h:
4113         * libs/gst/base/gstbasesrc.h:
4114         * libs/gst/base/gstbasetransform.c:
4115         * libs/gst/check/gstcheck.c:
4116         Small documentation fixes. Fixes #523978.
4117
4118 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4119
4120         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4121         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4122         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4123
4124 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4125
4126         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4127         (single_queue_underrun_cb):
4128         When trying to make room in the queue, bump the max allowed buffers
4129         bigger than the current amount of buffers in the queue. this fixes some
4130         nasty deadlocks in multiqueue when dynamically changing the limits of
4131         the queue.
4132
4133 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4134
4135         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4136
4137         * gst/gstcaps.c: (gst_caps_set_simple),
4138         (gst_caps_set_simple_valist), (gst_caps_intersect):
4139         * gst/gstcaps.h:
4140         Constify the field gchar * params in set_simple and friends.
4141         Fixes #522326.
4142
4143 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4144
4145         * gst/gstvalue.c: (gst_value_transform_object_string):
4146         Transform a GstObject to a more meaningfull string that includes the
4147         object type in addition to its name.
4148
4149 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4150
4151         * ChangeLog:
4152           ChangeLog surgery to add bugnumber to commit.
4153
4154 2008-03-23  Rene Stadler  <mail@renestadler.de>
4155
4156         * libs/gst/base/gstbasetransform.c:
4157         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4158
4159 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4160
4161         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4162         Rename constant everywhere and don't forget one occurence.
4163
4164 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4165
4166         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4167         Align memory to the pointer size even if the architecture allows
4168         unaligned memory access. Unaligned memory access usually comes with
4169         performance penality.
4170
4171 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4172
4173         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4174         (gst_registry_binary_check_magic),
4175         (gst_registry_binary_load_pad_template),
4176         (gst_registry_binary_load_feature),
4177         (gst_registry_binary_load_plugin):
4178         Align memory to the pointer size instead of always 32 bit. Fixes
4179         unaligned memory accesses on ia64 and friends.
4180
4181         * gst/gstregistrybinary.h:
4182         Bump binary registry format version for this as it changes the
4183         format on those architectures that don't have unaligned access
4184         and 64 bit pointers.
4185
4186 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4187
4188         * docs/pwg/advanced-dparams.xml:
4189         * docs/pwg/building-props.xml:
4190         * docs/pwg/other-source.xml:
4191         * gst/glib-compat.h:
4192         * gst/gstbin.c: (gst_bin_class_init):
4193         * gst/gstclock.c: (gst_clock_class_init):
4194         * gst/gstindex.c: (gst_index_class_init):
4195         * gst/gstobject.c: (gst_object_class_init):
4196         * gst/gstpad.c: (gst_pad_class_init):
4197         * gst/gstpipeline.c: (gst_pipeline_class_init):
4198         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4199         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4200         * libs/gst/base/gstbasetransform.c:
4201         (gst_base_transform_class_init):
4202         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4203         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4204         (_gst_check_fault_handler_sighandler),
4205         (_gst_check_fault_handler_setup), (gst_check_init):
4206         * libs/gst/controller/gstcontroller.c:
4207         (_gst_controller_class_init):
4208         * libs/gst/controller/gstlfocontrolsource.c:
4209         (gst_lfo_control_source_class_init):
4210         * libs/gst/net/gstnetclientclock.c:
4211         (gst_net_client_clock_class_init):
4212         * libs/gst/net/gstnettimeprovider.c:
4213         (gst_net_time_provider_class_init):
4214         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4215         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4216         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4217         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4218         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4219         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4220         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4221         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4222         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4223         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4224         * plugins/elements/gsttee.c: (gst_tee_class_init):
4225         * plugins/elements/gsttypefindelement.c:
4226         (gst_type_find_element_class_init):
4227         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4228         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4229         use it everywhere for GParamSpecs that use static strings (i.e. all).
4230         This gives us less memory usage, fewer allocations and thus less
4231         memory defragmentation. Fixes bug #523806.
4232
4233 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4234
4235         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4236         (gst_param_spec_mini_object):
4237         * gst/gstminiobject.h:
4238         * win32/common/libgstreamer.def:
4239         * docs/gst/gstreamer-sections.txt:
4240         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4241         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4242         GstParamSpecMiniObject into a public header for this.
4243
4244         This make GstMiniObject a bit more consistent with GObject and makes
4245         it possible to extend the param specs.
4246
4247         gst_value_dup_mini_object is mainly useful for set_property methods.
4248
4249         Fixes bug #523798.
4250
4251         * tools/gst-inspect.c: (print_element_properties_info):
4252         Print something useful for GstMiniObject properties and not just
4253         "unknown type".
4254
4255 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4256
4257         * docs/gst/gstreamer-sections.txt:
4258         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4259         (gst_registry_binary_check_magic):
4260         * gst/gstregistrybinary.h:
4261         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4262         and add it to the (private part) of the docs to fix the build.
4263
4264 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4265
4266         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4267         (gst_registry_binary_check_magic),
4268         (gst_registry_binary_read_cache):
4269         * gst/gstregistrybinary.h:
4270         Don't use GST_MAJORMINOR for the binary registry version. Instead
4271         hardcode a value that must be changed whenever the format changes
4272         in an incompatible way.
4273         Also don't GST_ERROR when there is a version mismatch, just
4274         regenerate the registry silently.
4275
4276 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4277
4278         * configure.ac:
4279         Back to development - 0.10.18.1
4280
4281 === release 0.10.18 ===
4282
4283 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4284
4285         * configure.ac:
4286           releasing 0.10.18, "So far away"
4287
4288 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4289
4290         * configure.ac:
4291         * win32/common/config.h:
4292         0.10.17.4 pre-release
4293
4294 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4295
4296         Patch by: Ole André Vadla Ravnås
4297             <ole dot andre dot ravnas at tandberg dot com>
4298
4299         * docs/gst/gstreamer-sections.txt:
4300         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4301         (gst_poll_update_winsock_event_mask),
4302         (gst_poll_prepare_winsock_active_sets),
4303         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4304         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4305         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4306         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4307         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4308         * gst/gstpoll.h:
4309         * win32/common/libgstreamer.def:
4310         Add new function gst_poll_fd_ignored() for improved Windows
4311         compatibility.
4312         Various minor fixes and cleanups. See #520808.
4313
4314 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4315
4316         * gst/gstindex.c: (gst_index_entry_free):
4317         * gst/gstindex.h:
4318           Don't free key strings which we don't own. Fixes crash in
4319           gst_index_entry_free() (#522741).
4320
4321         * tests/check/Makefile.am:
4322         * tests/check/gst/.cvsignore:
4323         * tests/check/gst/gstindex.c: (test_index_entries),
4324           (gst_index_suite), (gst_index):
4325           Add unit test for the above.
4326
4327 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4328
4329         * win32/common/libgstreamer.def:
4330         Remove symbols that were removed recently. Fixes bug #521740.
4331
4332 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4333
4334         * configure.ac:
4335         * win32/common/config.h:
4336         0.10.17.3 pre-release
4337
4338 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4339
4340         Patch by: Ole André Vadla Ravnås
4341             <ole dot andre dot ravnas at tandberg dot com>
4342
4343         * docs/gst/gstreamer-sections.txt:
4344         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4345         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4346         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4347         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4348         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4349         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4350         (gst_poll_fd_can_write), (gst_poll_wait),
4351         (gst_poll_set_controllable), (gst_poll_restart),
4352         (gst_poll_set_flushing):
4353         * gst/gstpoll.h:
4354         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4355         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4356         (gst_net_time_provider_new):
4357         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4358         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4359         * tests/benchmarks/gstpollstress.c: (main):
4360         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4361         Remove GstPollMode from the API, it does not make sense to let the
4362         application control this.
4363         Add support for Win32.
4364         Fix the testsuite. Fixes #520671.
4365
4366 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4367
4368         Patch by: Ole André Vadla Ravnås
4369             <ole dot andre dot ravnas at tandberg dot com>
4370
4371         * gst/gstregistrybinary.c:
4372         Include io.h for write() and close() when building with MSVC. Fixes
4373         bug #520877.
4374
4375 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4376
4377         * configure.ac:
4378         * gst/gst_private.h:
4379         * gst/gstconfig.h.in:
4380         * gst/gstregistry.h:
4381         * gst/gstregistrybinary.c:
4382         * win32/common/gstconfig.h:
4383           Move registry backend API to private headers where we can. Add
4384           fixme-0.11 comments for the others. Add stubs for the xml backend when
4385           using the binary to ensure they functions exists (they should not be
4386           used though). Fixes #520756.
4387
4388 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4389
4390         * configure.ac:
4391         * win32/common/config.h:
4392         0.10.17.2 prelease
4393
4394 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4395
4396         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4397         (gst_registry_binary_read_cache):
4398         * gst/gstregistryxml.c: (gst_registry_save):
4399         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4400         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4401         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4402         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4403         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4404         Fixes #520152
4405
4406 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4407
4408         * gst/gstminiobject.c:
4409         Import gst_private.h before any other header that might include other
4410         glib headers. This fixes the build on windows using native compilers.
4411
4412 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4413
4414         * win32/common/gstconfig.h:
4415           Add here too, just for completeness.
4416
4417 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4418
4419         * configure.ac:
4420         * gst/gstconfig.h.in:
4421         * gst/gstregistry.h:
4422           Fix broken use of config.h-defined preprocessor directive in a public
4423           header file. Add a corresponding define to gstconfig.h, since we can't
4424           really remove those function declarations from the header file now
4425           (or can we? and why are they there in the first place?).
4426
4427 2008-03-03  Andy Wingo  <wingo@pobox.com>
4428
4429         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4430         the new warning.
4431
4432         * gst/gststructure.c (gst_structure_from_string): Warn if
4433         structure_from_string didn't consume the whole string, but the
4434         caller did not provide an end pointer.
4435
4436 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4439
4440         * gst/gstregistryxml.c: (read_string), (load_feature):
4441           Strings allocated by libxml2 should be freed with xmlFree(), not
4442           with g_free(). Fixes issues on windows in certain contexts (#519698).
4443
4444 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * gst/gstinterface.c: (gst_element_implements_interface):
4447           Don't crash if the element supports the interface queried, but does
4448           not implement GstImplementsInterface. Fixes #519584.
4449
4450         * tests/check/Makefile.am:
4451         * tests/check/gst/.cvsignore:
4452         * tests/check/gst/gstinterface.c:
4453           Add unit test for the above.
4454
4455 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4456
4457         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4458         Small doc update.
4459
4460 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4461
4462         * gst/gstsegment.c: (gst_segment_set_seek),
4463         (gst_segment_to_stream_time):
4464         Improve some comment.
4465         Update variables where it makes more sense.
4466
4467 2008-02-29  Rene Stadler  <mail@renestadler.de>
4468
4469         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4470         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4471         URIHandlers implemented using language bindings.
4472
4473 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4474
4475         * gst/gstelementfactory.h:
4476         * tests/check/elements/fakesink.c:
4477         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4478         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4479         * tests/check/elements/filesink.c: (setup_filesink):
4480         * tests/check/elements/filesrc.c: (setup_filesrc):
4481         * tests/check/elements/identity.c: (setup_identity):
4482         * tests/check/elements/tee.c:
4483         * tests/check/generic/sinks.c:
4484         * tests/check/generic/states.c: (setup), (teardown):
4485         * tests/check/gst/gst.c:
4486         * tests/check/gst/gstabi.c:
4487         * tests/check/gst/gstbin.c:
4488         * tests/check/gst/gstbus.c: (pull_messages):
4489         * tests/check/gst/gstcaps.c:
4490         * tests/check/gst/gstelement.c:
4491         * tests/check/gst/gstevent.c:
4492         * tests/check/gst/gstghostpad.c:
4493         * tests/check/gst/gstiterator.c:
4494         * tests/check/gst/gstmessage.c:
4495         * tests/check/gst/gstminiobject.c: (my_foo_init):
4496         * tests/check/gst/gstobject.c: (thread_name_object),
4497         (gst_object_suite):
4498         * tests/check/gst/gstpad.c:
4499         * tests/check/gst/gstplugin.c:
4500         * tests/check/gst/gstpoll.c:
4501         * tests/check/gst/gstquery.c:
4502         * tests/check/gst/gstsegment.c:
4503         * tests/check/gst/gststructure.c:
4504         * tests/check/gst/gstsystemclock.c:
4505         * tests/check/gst/gsttask.c:
4506         * tests/check/gst/gstutils.c:
4507         * tests/check/gst/gstvalue.c:
4508         * tests/check/gst/struct_hppa.h:
4509         * tests/check/gst/struct_i386.h:
4510         * tests/check/gst/struct_ppc32.h:
4511         * tests/check/gst/struct_ppc64.h:
4512         * tests/check/gst/struct_x86_64.h:
4513         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4514         * tests/check/libs/basesrc.c:
4515         * tests/check/libs/controller.c: (GST_START_TEST):
4516         * tests/check/libs/gdp.c:
4517         * tests/check/libs/gstnetclientclock.c:
4518         * tests/check/libs/gstnettimeprovider.c:
4519         * tests/check/libs/libsabi.c:
4520         * tests/check/libs/struct_hppa.h:
4521         * tests/check/libs/struct_i386.h:
4522         * tests/check/libs/struct_ppc32.h:
4523         * tests/check/libs/struct_ppc64.h:
4524         * tests/check/libs/struct_x86_64.h:
4525         * tests/check/pipelines/cleanup.c:
4526         * tests/check/pipelines/simple-launch-lines.c:
4527         * tests/check/pipelines/stress.c:
4528         And correct even more valid sparse warnings.
4529
4530         * win32/common/libgstreamer.def:
4531         Add gst_poll_fd_init to the list of symbols.
4532
4533 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4534
4535         * gst/gstconfig.h.in:
4536         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4537         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4538         (gst_check_log_critical_func), (gst_check_drop_buffers),
4539         (gst_check_element_push_buffer_list):
4540         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4541         (gst_controller_get_type):
4542         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4543         (gst_object_get_controller), (gst_object_get_control_source):
4544         * libs/gst/controller/gstinterpolationcontrolsource.c:
4545         (gst_interpolation_control_source_new):
4546         * libs/gst/controller/gstlfocontrolsource.c:
4547         (gst_lfo_control_source_new):
4548         * libs/gst/dataprotocol/dataprotocol.c:
4549         (gst_dp_event_from_packet_0_2):
4550         * plugins/elements/gstfdsrc.c:
4551         * plugins/elements/gstmultiqueue.c:
4552         * plugins/elements/gsttee.c:
4553         * plugins/elements/gsttypefindelement.c:
4554         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4555         (gst_file_index_add_association):
4556         * plugins/indexers/gstmemindex.c:
4557         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4558         * tests/check/elements/queue.c: (setup_queue):
4559         * tests/check/gst/gstpipeline.c:
4560         * tests/check/libs/collectpads.c: (setup), (teardown),
4561         (gst_collect_pads_suite):
4562         * tests/examples/adapter/adapter_test.c:
4563         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4564         * tests/examples/xml/createxml.c:
4565         * tests/examples/xml/runxml.c:
4566         * tools/gst-inspect.c:
4567         * tools/gst-run.c:
4568         Correct all relevant warnings found by the sparse semantic code
4569         analyzer. This include marking several symbols static, using
4570         NULL instead of 0 for pointers, not using variable sized arrays
4571         on the stack, moving variable declarations to the beginning of
4572         a block and using "foo (void)" instead of "foo ()" for declarations.
4573
4574 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4575
4576         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4577         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4578         Don't reset GstPollFDs, this is not necessary at all.
4579
4580         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4581         (delayed_restart), (delayed_control):
4582         Use GST_POLL_FD_INIT.
4583
4584 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4585
4586         * gst/gstpoll.c: (gst_poll_fd_init):
4587         * gst/gstpoll.h:
4588         Added Since tags.
4589
4590         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4591         Use some more init macros.
4592
4593 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4594
4595         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4596         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4597         Use init macros and functions.
4598
4599 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4600
4601         * docs/gst/gstreamer-sections.txt:
4602         * gst/gstpoll.c: (gst_poll_fd_init):
4603         * gst/gstpoll.h:
4604         Add INIT macro and _init method for initializing the GstPollFD.
4605
4606 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4607
4608         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4609         (gst_fd_sink_update_fd):
4610         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4611         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4612         (delayed_restart), (delayed_control):
4613         Initialize some uninitialized variables as spotted by valgrind.
4614
4615 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4616
4617         * tests/benchmarks/Makefile.am:
4618         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4619         (main):
4620         Add poll stress test.
4621
4622 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4623
4624         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4625
4626         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4627         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4628         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4629         * plugins/elements/gstfdsink.h:
4630         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4631         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4632         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4633         (gst_fd_src_uri_set_uri):
4634         * plugins/elements/gstfdsrc.h:
4635         Port to GstPoll. See #505417.
4636
4637 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4638
4639         * win32/common/libgstreamer.def:
4640         Add new gst_poll_ symbols to win32 defs.
4641
4642 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4643
4644         * docs/libs/gstreamer-libs-sections.txt:
4645         * libs/gst/net/gstnetclientclock.c:
4646         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4647         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4648         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4649         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4650         * libs/gst/net/gstnetclientclock.h:
4651         * libs/gst/net/gstnettimeprovider.c:
4652         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4653         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4654         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4655         (gst_net_time_provider_new):
4656         * libs/gst/net/gstnettimeprovider.h:
4657         Use a private stuct to not break ABI.
4658
4659 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4660
4661         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4662
4663         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4664         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4665         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4666         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4667         * libs/gst/net/gstnetclientclock.h:
4668         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4669         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4670         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4671         (gst_net_time_provider_new):
4672         * libs/gst/net/gstnettimeprovider.h:
4673         Massive code removal and cleanups because of GstPoll.
4674         Fixes #505417.
4675
4676 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4677
4678         * configure.ac:
4679         Add checks for poll, ppoll and pselect.
4680
4681         * docs/gst/gstreamer-docs.sgml:
4682         * docs/gst/gstreamer-sections.txt:
4683         Add docs for GstPoll.
4684
4685         * gst/Makefile.am:
4686         * gst/gst.h:
4687         * gst/gstpoll.c: (find_index), (selectable_fds),
4688         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4689         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4690         (gst_poll_set_mode), (gst_poll_get_mode),
4691         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4692         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4693         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4694         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4695         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4696         (gst_poll_fd_can_write), (gst_poll_wait),
4697         (gst_poll_set_controllable), (gst_poll_restart),
4698         (gst_poll_set_flushing):
4699         * gst/gstpoll.h:
4700         Add generic poll abstraction. We ideally don't want to have this in core
4701         here but in glib intead...
4702         This code will be used in various network elements and ultimately for
4703         the nanosecond precision monotonic clock (that's why it's here in core).
4704         It'll allow us to implement cancelable socket operations for windows too.
4705
4706         * tests/check/Makefile.am:
4707         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4708         (delayed_stop), (delayed_restart), (delayed_flush),
4709         (delayed_control), (gst_poll_suite):
4710         Add GstPoll unit test.
4711
4712 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4713
4714         * gst/gstfilter.c:
4715           Improve documentation of gst_filter_run(). Fixes #518627.
4716
4717 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4718
4719         * docs/README:
4720           Add a few lines about the new 'check-inspected-versions' target.
4721
4722 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4723
4724         * tests/check/gst/gstevent.c:
4725           Add qos to the event test. Rename tcase/tsuite; is not only about
4726           custom events.
4727
4728 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4729
4730         * plugins/elements/gstqueue.c:
4731           Ensure that buffer metadata is writeable, before modifying. Spotted by
4732           Mike.
4733
4734 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4735
4736         * plugins/elements/gstqueue.c:
4737         * plugins/elements/gstqueue.h:
4738           When dropping buffers in leaky modes, mark next buffers we sent as
4739           DISCONT.
4740
4741 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4742
4743         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4744           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4745
4746 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4747
4748         * plugins/elements/Makefile.am:
4749         * plugins/elements/gstbufferstore.c:
4750         * plugins/elements/gstbufferstore.h:
4751         * plugins/elements/gsttypefindelement.h:
4752           Remove GstBufferStore, no idea why we were still building it.
4753           It's not used anywhere and superseded by GstAdapter.
4754
4755         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4756           (gst_file_src_create_mmap):
4757         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4758           Printf format fixes for 64-bit integers.
4759
4760 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4761
4762         * configure.ac:
4763         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4764         We're not in 0.8 times anymore.
4765
4766 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4767
4768         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4769         (gst_check_element_push_buffer_list):
4770         * libs/gst/check/gstcheck.h:
4771         Make the declaration in the header for
4772         gst_check_element_push_buffer_list match the implementation.
4773
4774         Fix up spelling, grammar and wording of the documentation in a few
4775         places, and add the Since keyword to new API functions.
4776         Use g_list_delete_link instead of g_list_remove in
4777         gst_check_drop_buffers, since it's immeasurably more efficient.
4778
4779         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4780         Use new gst_check_drop_buffers function where appropriate.
4781
4782         * win32/common/libgstbase.def:
4783         * win32/common/libgstreamer.def:
4784         Add new symbols gst_collect_pads_take_buffer, 
4785         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4786         exports
4787
4788         Changelog surgery to add API keyword to new gst_check API.
4789
4790 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4791
4792         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4793         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4794         Update pre-generated flex files with flex 2.3.34.
4795
4796 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4797
4798         * gst/gstminiobject.c:
4799           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4800           friendly to subclasses and not require them to know all internals
4801           of their parent class.
4802
4803 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4804
4805         * docs/libs/gstreamer-libs-sections.txt:
4806         * libs/gst/base/gstcollectpads.c:
4807         * libs/gst/base/gstcollectpads.h:
4808           Add sub-buffer functions to collectpads. Fixes #516187.
4809           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4810
4811 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4812
4813         * gst/gstbuffer.c:
4814           Copy selected buffer-flags when creating subbuffers.
4815           Fixes #516395.
4816
4817 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4818
4819         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4820         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4821         * gst/gstmessage.c: (gst_message_class_init),
4822         (gst_message_finalize):
4823         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4824         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4825         (gst_mmap_buffer_finalize):
4826         Properly chain up finalize functions to the parent class.
4827
4828 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4829
4830         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4831
4832         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4833         (gst_index_set_resolver_full):
4834         * gst/gstindex.h:
4835         Add new function with option to dispose of user_data in resolver.
4836         Actually call the dispose function when finalizing the object and not
4837         just when changing the resolver/filter.
4838         API: GstIndex::gst_index_set_resolver_full()
4839
4840         * docs/gst/gstreamer-sections.txt:
4841         Add new function to docs. Fixes #515469.
4842
4843 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4844
4845         * gst/gstindex.c: (gst_index_finalize):
4846         Chain up finalize to the parent class. Fixes leaking the GstObject
4847         name and other things.
4848
4849 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4850
4851         * configure.ac:
4852         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4853         pre-releases or releases.
4854
4855         * docs/faq/gst-uninstalled:
4856         Add gst-plugins-gl
4857
4858         * docs/random/release:
4859         Change one of the steps - we only upload core & base to Gnome FTP
4860
4861 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4862
4863         * gst/gstconfig.h.in:
4864           Add 'id' for example.
4865
4866         * gst/gstpad.c:
4867         * gst/gstutils.c:
4868         * plugins/elements/gstfdsink.c:
4869           Link to signals. Doc and comment fixes.
4870
4871 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4874         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4875           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4876           unused and unimplemented; finally, it is plugin features, not
4877           plugins, that have ranks.
4878           
4879 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4880
4881         * gst/gstpluginfeature.h:
4882           Clarify GstRank range docs.
4883
4884 2008-02-05  David Schleef  <ds@schleef.org>
4885
4886         * gst/gst.c: Add a separate gst_deinitialized that prevents
4887           gst_init() from being called after gst_deinit().  Fixes #509559
4888
4889 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4890
4891         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4892         (gst_bin_class_init):
4893         * gst/gstelement.c: (gst_element_base_class_init),
4894         (gst_element_class_add_pad_template):
4895         * gst/gstpadtemplate.c: (gst_pad_template_init):
4896         * gst/gstpipeline.c: (gst_pipeline_get_type),
4897         (gst_pipeline_base_init), (gst_pipeline_class_init):
4898         * libs/gst/base/gstbasesink.c:
4899         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4900         (gst_base_src_base_init), (gst_base_src_class_init):
4901         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4902         (gst_capsfilter_class_init):
4903         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4904         (gst_fake_sink_class_init):
4905         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4906         (gst_fake_src_class_init):
4907         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4908         (gst_fd_sink_class_init):
4909         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4910         (gst_fd_src_class_init):
4911         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4912         (gst_file_sink_class_init):
4913         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4914         (gst_file_src_class_init):
4915         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4916         (gst_identity_class_init):
4917         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4918         (gst_multi_queue_class_init):
4919         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4920         (gst_queue_class_init):
4921         * plugins/elements/gsttee.c: (gst_tee_base_init),
4922         (gst_tee_class_init):
4923         * plugins/elements/gsttypefindelement.c:
4924         (gst_type_find_element_base_init),
4925         (gst_type_find_element_class_init):
4926         * tests/check/gst/gstelement.c: (gst_element_suite):
4927         Revert previous changes to the behaviour of GstPadTemplates, etc
4928         and the possiblity to call them in class_init as it breaks too
4929         many elements. Reopens bug #491501.
4930
4931         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4932         several places.
4933
4934 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4935
4936         * tools/gst-launch.c:
4937         Dump one graph per pipeline state-change and state change name
4938         (if GST_DEBUG_DUMP_DOT_DIR is set).
4939
4940 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4941
4942         * gst/gstpad.c:
4943         * tests/check/gst/gstpad.c:
4944         Be sure that we have a new copy of the caps and not
4945         reffed caps from a template
4946
4947 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4948
4949         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4950         * gst/gstpipeline.c: (gst_pipeline_get_type),
4951         (gst_pipeline_class_init):
4952         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4953         (gst_base_sink_class_init):
4954         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4955         (gst_base_src_class_init):
4956         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4957         (gst_base_transform_class_init):
4958         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4959         (gst_collect_pads_class_init):
4960         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4961         * libs/gst/net/gstnettimeprovider.c:
4962         (gst_net_time_provider_base_init),
4963         (gst_net_time_provider_class_init):
4964         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4965         (gst_capsfilter_class_init):
4966         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4967         (gst_fake_sink_class_init):
4968         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4969         (gst_fake_src_class_init):
4970         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4971         (gst_fd_sink_class_init):
4972         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4973         (gst_fd_src_class_init):
4974         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4975         (gst_file_sink_class_init):
4976         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4977         (gst_file_src_class_init):
4978         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4979         (gst_identity_class_init):
4980         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4981         (gst_multi_queue_class_init):
4982         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4983         (gst_queue_class_init):
4984         * plugins/elements/gsttee.c: (gst_tee_base_init),
4985         (gst_tee_class_init):
4986         * plugins/elements/gsttypefindelement.c:
4987         (gst_type_find_element_base_init),
4988         (gst_type_find_element_class_init):
4989         Don't use base_init where not absolutely necessary. For example it's
4990         not necessary anymore for adding pad templates or setting element
4991         details.
4992
4993         Leave empty base_init functions in several places as GST_BOILERPLATE
4994         still defines and uses them.
4995
4996 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4997
4998         * gst/gstelement.c: (gst_element_base_class_init),
4999         (gst_element_class_add_pad_template):
5000         * gst/gstpadtemplate.c:
5001         Make it possible (and recommended) to set element details and add
5002         pad templates in the class_init functions by copying the details/pad
5003         templates in GstElement's base_init.
5004
5005         Also make it possible to replace existing pad templates by adding
5006         a new one with the same name. This was done in a hackish fashion
5007         in same elements before already.
5008
5009         Don't reference pad templates that are added a second time. A
5010         new pad template has a refcount of one and is not floating anymore
5011         and to be owned by the element's class. Make this more explicit by
5012         mentioning it in the docs of gst_element_class_add_pad_template().
5013
5014         These changes are backwards compatible. Fixes bug #491501.
5015
5016         * tests/check/gst/gstelement.c:
5017         Add unit test for setting element details, adding pad templates and
5018         replacing them in a subclass.
5019
5020 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5021
5022         * tools/gst-inspect.c: (print_interfaces),
5023         (print_element_properties_info), (print_pad_info),
5024         (print_signal_info), (print_element_info):
5025         Fix a few memory leaks.
5026
5027 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5028
5029         * docs/libs/gstreamer-libs-sections.txt:
5030         * libs/gst/check/gstcheck.c:
5031         * libs/gst/check/gstcheck.h:
5032         Add more functions for unit testing: gst_check_drop_buffers,
5033         gst_check_caps_equal, gst_check_element_push_buffer_list,
5034         gst_check_element_push_buffer
5035         API: gst_check_drop_buffers
5036         API: gst_check_caps_equal
5037         API: gst_check_element_push_buffer_list
5038         API: gst_check_element_push_buffer
5039
5040 2008-02-01  Julien Moutte  <julien@fluendo.com>
5041
5042         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5043         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5044         (gst_index_finalize), (gst_index_entry_free),
5045         (gst_index_add_association): Fix memory leaks.
5046         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5047         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5048         (gst_mem_index_free_format), (gst_mem_index_free_id),
5049         (gst_mem_index_finalize): Fix memory leaks.
5050         * win32/common/config.h: Updated to CVS HEAD.
5051
5052 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5053
5054         * docs/README:
5055           Some more details about how the plugin docs works.
5056
5057         * docs/plugins/gstreamer-plugins-sections.txt:
5058           Whitespace cleanup.
5059
5060 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5061
5062         * gst/parse/grammar.tab.pre.c:
5063         * gst/parse/grammar.tab.pre.h:
5064         * gst/parse/grammar.y:
5065         * gst/parse/lex._gst_parse_yy.pre.c:
5066           Add delayed set-property. This allows to set properties on dynamicaly
5067           created objects (pads in videomxer). Fixes #509391.
5068
5069 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5070
5071         * gst/gstutils.c:
5072         Check if caps are not NULL (fix bug #510194)
5073
5074 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5075
5076         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5077         (gst_base_sink_get_position_paused):
5078         Add fixme regarding EOS in pull mode.
5079         Fix position reporting in PAUSED for negative rates.
5080
5081 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5082
5083         * gst/gstminiobject.c: (gst_mini_object_replace):
5084         When replacing a miniobject, do a quick equality check first so that we
5085         can avoid a ref/unref pair.
5086
5087 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5088
5089         * docs/design/part-synchronisation.txt:
5090         Update some docs.
5091
5092         * docs/plugins/Makefile.am:
5093         * docs/plugins/gstreamer-plugins-docs.sgml:
5094         * docs/plugins/gstreamer-plugins-sections.txt:
5095         * plugins/elements/gstmultiqueue.c:
5096         Add multiqueue to the docs.
5097
5098 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5099
5100         * configure.ac:
5101           Back to CVS
5102
5103 === release 0.10.17 ===
5104
5105 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5106
5107         * configure.ac:
5108           releasing 0.10.17, "Due Negligence"
5109
5110 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5111
5112         * gst/gstutils.c:
5113         Revert caps != NULL check temporarily for 0.10.17 release.
5114
5115 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5116
5117         * gst/gstutils.c:
5118         Check if caps are not NULL (fix bug #510194)
5119
5120 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5121
5122         * gst/gstutils.c:
5123         Fix compilation on systems that have posix timers but no
5124         monotonic clock.
5125         Fixes: #512715
5126         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5127         dot net>
5128
5129 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5130
5131         * tools/gst-inspect.c:
5132         Revert previous commit in preparation for an impromptu 0.10.17 release
5133
5134 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5135
5136         * tools/gst-inspect.c: (print_interfaces),
5137         (print_element_properties_info), (print_pad_info),
5138         (print_signal_info), (print_element_info):
5139         Fix a few memory leaks.
5140
5141 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5142
5143         * configure.ac:
5144         Back to CVS
5145
5146 === release 0.10.16 ===
5147
5148 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5149
5150         * configure.ac:
5151           releasing 0.10.16, "Special Dispensation"
5152
5153 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5154
5155         * configure.ac:
5156           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5157           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5158           not fail when trying to crosscompile on OpenEmbedded (#511750).
5159
5160 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5161
5162         * docs/manuals.mak:
5163         Use $(MAKE) instead of make to fix the build if GNU make is
5164         called different. Fixes bug #510747.
5165
5166 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5167
5168         * gst/gstplugin.c: (_gst_plugin_initialize):
5169           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5170           again, which I broke two commits ago when changing the API
5171           of gst_plugin_register_static(): the g_list_foreach() in
5172           _gst_plugin_register_static still assumed the old function
5173           signature and would therefore fail (re-fixes #510187).
5174
5175         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5176           (_gst_plugin_register_static), (gst_plugin_register_static):
5177           Revert the (technically correct) change to call g_thread_init() from
5178           the pre-main() constructor. This will break programs which call
5179           g_thread_init() without an if (!g_thread_supported()) guard in their
5180           main function. We could just blame it on GLib or the application, but
5181           it's probably best to just avoid this altogether and simply not use
5182           any GLib functions here and use plain old malloc() with a simple
5183           array to store the plugins to register later when gst_init() is
5184           finally called (re-fixes #510187).
5185
5186         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5187           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5188           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5189           (GST_START_TEST), (gst_plugin_suite):
5190           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5191           works.
5192
5193 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5194
5195         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5196           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5197           This makes gtk-doc complain, but results in slightly better
5198           compiler errors. The old _gst_plugin_register_static() is
5199           still guarded, so there'll be a compiler warning about that
5200           instead. Fixes #510187 too.
5201
5202 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5203
5204         * gst/gst.c: (init_post):
5205         * gst/gstplugin.c: (_gst_plugin_register_static),
5206           (gst_plugin_register_static), (_gst_plugin_initialize):
5207         * gst/gstplugin.h: (GstPluginFilter):
5208           Change API of gst_plugin_register_static() to not take
5209           a GstPluginDesc, but rather just take all the arguments
5210           in a GstPluginDesc directly. This is more intuitive and
5211           avoids certain mistakes when porting code from
5212           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5213           Fixes #510187.
5214
5215         * tests/check/gst/gstplugin.c:
5216           Fix up for changed API.
5217
5218 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5219
5220         * docs/faq/legal.xml:
5221           Update FAQ, Totem actually has an exception these days.
5222
5223 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5224
5225         * win32/common/libgstreamer.def:
5226         Add new API declarations
5227
5228 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5229
5230         * gst/gstminiobject.c:
5231           Spelling fixes for the API docs.
5232
5233 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5234
5235         * libs/gst/base/gstbasetransform.c:
5236           Fix long property description for QoS.
5237
5238 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5239
5240         * gst/gst.c:
5241         _gst_trace_on is already provided by gsttrace.h, no need to declare
5242         it ourselves.
5243
5244         * docs/libs/gstreamer-libs-sections.txt:
5245         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5246         and remove strange tcase_add_test which is outputting a warning.
5247
5248         * libs/gst/check/gstcheck.c:
5249         * libs/gst/check/gstcheck.h:
5250         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5251         and define them in gstcheck.c instead of having every .c file whcih
5252         includes gstcheck.h be defining its own copy and relying on symbol
5253         interposing to marry them all, which doesn't work on Solaris.
5254
5255         * tests/check/elements/identity.c: (GST_START_TEST):
5256         Don't define 'buffers' locally, it comes from libgstcheck.
5257
5258         * tests/check/generic/sinks.c: (send_buffer):
5259         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5260
5261         * tests/check/gst/gststructure.c: (GST_START_TEST):
5262         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5263         * tests/check/gst/gstutils.c: (GST_START_TEST):
5264         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5265         Add a bunch of casts to make various constants fit the types
5266         they're being assigned to.
5267
5268 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5269
5270         * gst/gstchildproxy.c:
5271           Improve docs and add some ideas for making this more general-purpose.
5272
5273 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5274
5275         * gst/gst_private.h: (GST_CAT_TYPES):
5276           Add GST_CAT_TYPES, for consistency, and so that the other
5277           debug categories don't make fun of it. Spotted by Saur on IRC.
5278
5279 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5280
5281         * gst/parse/Makefile.am:
5282           Move types.h from EXTRA_DIST to noinst_HEADERS.
5283
5284 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5285
5286         * autogen.sh:
5287           Add -Wno-portability to the automake parameters to stop warnings
5288           about GNU make extensions being used. We require GNU make in almost
5289           every Makefile anyway.
5290
5291         * configure.ac:
5292           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5293           at the same time is required for per target flags.
5294
5295 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5296
5297         * gst/gstmacros.h:
5298           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5299           __GNUC__ is defined before using it.
5300
5301 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * docs/gst/gstreamer-sections.txt:
5304         * gst/gst.c: (init_post):
5305         * gst/gstplugin.c: (_gst_plugin_register_static),
5306           (gst_plugin_register_static), (_gst_plugin_initialize),
5307           (gst_plugin_register_func):
5308         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5309           API: add gst_plugin_register_static() and deprecate
5310           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5311           (#498924).
5312           Also, in _gst_plugin_register_static(), make sure to call
5313           g_thread_init() before calling GLib functions such as
5314           g_list_append() if we're not initialised yet, since that
5315           may lead to random crashes with older GSlice/GLib versions.
5316
5317         * tests/check/gst/gstplugin.c:
5318           Adapt unit test to above changes.
5319
5320 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5321
5322         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5323         * gst/gstcaps.c: (gst_caps_to_string):
5324         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5325           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5326           Yet another gratuitous GString micro-optimisation: add a (private)
5327           function that serialises a structure appending to an existing
5328           GString, so that when we serialise caps we don't need to alloc+free
5329           a throwaway GString for each structure (each of which also entailing
5330           multiple reallocs on the way); also use g_string_sized_new() in
5331           various places with an approximate string length to avoid reallocs
5332           within GString. See #500143.
5333
5334 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5335
5336         * gst/gststructure.c: (gst_structure_id_set_value):
5337           Always check UTF-8 conformance of structure strings and not only
5338           if the debugging system is enabled; reasoning: the behaviour of
5339           the actual code shouldn't really change depending on whether the
5340           debugging system is enabled or not (#508291).
5341
5342 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5343
5344         * Makefile.am:
5345           Remove old coverage target in favour of "make lcov".
5346
5347 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5348
5349         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5350         (gst_base_src_loop):
5351         The start segment for reverse playback goes from start to last_stop.
5352
5353 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5354
5355         Patch by: Peter Kjellerstedt <pkj axis com>
5356
5357         * gst/gstclock.h:
5358         Cast the results from the timeval/spec_to_time macros to what the
5359         docs say it casts to, a GstClockTime. fixes #508175.
5360
5361 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5362
5363         * gst/gstbuffer.c:
5364         Update some comments.
5365
5366         * tools/gst-inspect.c: (print_element_properties_info):
5367         Improve printing of flags.
5368
5369 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * libs/gst/base/gstbasetransform.c:
5372           (gst_base_transform_transform_size):
5373           Print element name with g_warning() if there's a problem
5374           with the unit size.
5375
5376 2008-01-07  David Schleef  <ds@schleef.org>
5377
5378         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5379
5380         * libs/gst/controller/gstcontroller.h:
5381         * libs/gst/controller/gstcontrolsource.h:
5382         * libs/gst/controller/gstinterpolationcontrolsource.h:
5383         * libs/gst/controller/gstlfocontrolsource.h:
5384         * libs/gst/dataprotocol/dataprotocol.h:
5385           Fix empty prototypes.  Fixes bug #507957.
5386
5387 2008-01-07  David Schleef  <ds@schleef.org>
5388
5389         * docs/faq/dependencies.xml: Fix typo.
5390
5391 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5392
5393         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5394         (gst_base_src_loop):
5395         Don't update the last_stop position in do_seek, that's the position we
5396         did a seek to.
5397         Read backwards when we have a negative rate.
5398
5399         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5400         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5401         (filesrc_suite):
5402         Add check for reverse reading.
5403
5404 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5405
5406         Patch by: Alexis Ballier <aballier at gentoo org>
5407
5408         * tests/check/gst/gstabi.c:
5409         * tests/check/gst/struct_ppc64.h:
5410         * tests/check/libs/libsabi.c:
5411         * tests/check/libs/struct_ppc64.h:
5412           Decide which header to include based on the userland ABI target
5413           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5414           for 64-bit userland (#503590).  Might need something similar for
5415           x86 too.
5416
5417 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5418
5419         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5420           Log the reason why fopen fails in addition to the fact that it failed.
5421           
5422 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5423
5424         * gst/parse/parse.l:
5425         Use "%option never-interactive" to prevent useless calls to isatty()
5426         on every input when parsing. Also use "%option noinput" to not define
5427         the static input/yyinput functions which we don't use anyway. This
5428         removes a compiler warning with gcc 4.3 and saves some bytes in the
5429         library.
5430         
5431         * gst/parse/lex._gst_parse_yy.pre.c:
5432         Regenerated for the above change.
5433
5434 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5435
5436         * gst/gstpad.c: (fixate_value):
5437         Don't crash when trying to fixate and empty list.
5438         Fixes #506643.
5439
5440 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5441
5442         * docs/faq/gst-uninstalled:
5443         Clarify the comments to make the usage of this script and what it
5444         does easier to understand.
5445
5446 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5447
5448         * tools/gst-plot-timeline.py:
5449         Add more options to gst-plot-timeline
5450
5451 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5452
5453         * docs/design/part-synchronisation.txt:
5454         Some more info on how the stream_time in GstBaseSink is done.
5455
5456 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5457
5458         * tests/check/generic/sinks.c: (gst_sinks_suite):
5459           Put back the tcase_set_timeout(), apparently it's needed after
5460           all; fix it up in a way that makes things work with valgrind too.
5461
5462 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5463
5464         * gst/gstdebugutils.c:
5465           Add warning when failed to open file for writing.
5466
5467 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5468
5469         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5470
5471         * gst/gstvalue.c: (gst_value_is_fixed):
5472           Optimisation: bail out of the loop as early as possible (#500143).
5473
5474 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5475
5476         * gst/gstcaps.c: (gst_caps_to_string):
5477         * gst/gstinfo.c: (gst_debug_construct_term_color):
5478         * gst/gstparse.c: (gst_parse_launchv):
5479         * gst/gstutils.c: (gst_util_dump_mem):
5480         * gst/gstvalue.c: (gst_value_serialize_any_list),
5481           (gst_value_transform_any_list_string):
5482           Bunch of gratuitous nano-optimisations.
5483
5484 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5485
5486         * tests/check/generic/sinks.c: (async_done_func),
5487           (async_done_eos_func):
5488           Fix leak in unit test (bus sync handler must unref the message
5489           if it returns GST_BUS_DROP). Don't fiddle with the default test
5490           timeout, this is smaller than the current preconfigured value
5491           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5492           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5493
5494 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5495
5496         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5497
5498         * configure.ac:
5499         Check for stdio_ext.h for the filesink changes.
5500
5501         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5502         (gst_file_sink_class_init), (gst_file_sink_init),
5503         (gst_file_sink_dispose), (gst_file_sink_set_property),
5504         (gst_file_sink_get_property), (gst_file_sink_open_file),
5505         (gst_file_sink_close_file):
5506         * plugins/elements/gstfilesink.h:
5507         Add two properties to control the buffering mode and size.
5508         API: GstFileSink::buffer-mode
5509         API: GstFileSink::buffer-size
5510         Fixes #500150.
5511
5512 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5513
5514         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5515         Add some more docs to explain why a FIXME was wrongly added. 
5516
5517 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5518
5519         * gst/gstobject.c:
5520           Fix typo in the gst_object_{ref,unref} documentation.
5521
5522 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5523
5524         * tests/check/libs/controller.c:
5525         * tests/check/libs/typefindhelper.c:
5526         * tests/check/pipelines/parse-launch.c:
5527           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5528           going to be deprecated (see #498924).
5529
5530 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         * gst/gsttypefind.c: (gst_type_find_register):
5533           Make gst_type_find_register work for static typefind functions,
5534           ie. allow passing plugin == NULL (prerequisite for #498924).
5535
5536         * gst/gstelementfactory.c: (gst_element_register):
5537           Small docs addition.
5538
5539 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5540
5541         * gst/gstpad.c: (gst_pad_dispose):
5542         Really unlink the peer pad instead of setting the peer pointer to NULL
5543         when we dispose the pad.
5544         This correctly calls the unlink functions and makes sure that the peer
5545         does not have a handle to invalid memory. See #504671.
5546
5547         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5548         Add testsuite for above case.
5549
5550 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5551
5552         Patch by: Peter Kjellerstedt <pkj axis com>
5553
5554         * libs/gst/check/gstcheck.h:
5555           Fix detection of the check version we're compiling against (would
5556           otherwise break if check goes v0.10.0); correctly report the
5557           name of the failed test again in case of failure, instead of
5558           just 'tf' (fixes #504499).
5559
5560 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5561
5562         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5563         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5564         (gst_base_src_loop), (gst_base_src_set_flushing),
5565         (gst_base_src_change_state):
5566         Allow sending EOS to the source to make it send out an EOS event from
5567         the streaming thread.
5568         Update docs and deprecate the old NULL/READY shutdown method.
5569
5570         * tests/check/libs/basesrc.c: (GST_START_TEST),
5571         (gst_basesrc_suite):
5572         Add unit test for controlled shutdown.
5573
5574 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5575
5576         * docs/design/part-synchronisation.txt:
5577         Small updates.
5578
5579         * gst/gstsegment.c: (gst_segment_set_seek),
5580         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5581         (gst_segment_to_running_time):
5582         The seek format can be different from the segment format when the start
5583         and stop values are not to be updated, when we only do a rate change for
5584         example.
5585
5586         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5587         (gst_segment_suite):
5588         Add a testcase for the rate-only seeks, checking that the format is
5589         correctly ignored when start and stop are not updated.
5590
5591 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5592
5593         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5594
5595         * win32/vs8/grammar.vcproj:
5596         * win32/vs8/libgstcontroller.vcproj:
5597         * win32/vs8/libgstreamer.vcproj:
5598         Fix compilation with VS8 and include some missing files.
5599
5600 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5601
5602         * gst/gsttaglist.c:
5603           Small docs addition: mention that the strings returned by
5604           gst_tag_list_get_string*() are in UTF-8 encoding.
5605
5606 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5607
5608         * Makefile.am:
5609           The check-exports stuff moved to common/win32.mak, so include that.
5610
5611 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5612
5613         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5614         (gst_base_src_perform_seek), (gst_base_src_get_range),
5615         (gst_base_src_set_playing), (gst_base_src_change_state):
5616         Make _wait_playing() not check any variables so that we can call this
5617         function from subclasses. Move the checks elsewhere similar to
5618         _wait_preroll() in basesink.
5619         Add some debugging.
5620         Only signal the LIVE cond when we are going back to PLAYING.
5621
5622 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5623
5624         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5625           Use g_remove() and g_rename(). Check result of g_rename(), and
5626           don't leak the open file descriptor if we error out when writing.
5627
5628         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5629           Must check the return value of close() after writing out the new
5630           registry file.  Sometimes write problems such as out-of-diskspace
5631           are only reported when the file is closed and not already during
5632           the write.  This may have caused partial/broken registry files in
5633           some rare circumstances. Should fix #503675.
5634
5635 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5636
5637         * docs/gst/.cvsignore:
5638         * docs/libs/.cvsignore:
5639         * docs/plugins/.cvsignore:
5640         Ignore files generated by new common/* modifications
5641
5642 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5643
5644         * win32/common/libgstbase.def:
5645           Yes, you can also have a <TAB> if you want.
5646
5647 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5648
5649         * win32/common/libgstbase.def:
5650           Add new basetransform API to win export file.
5651
5652 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5653
5654         * tests/check/gst/gstbin.c:
5655           Adjust the test to the refcount change two days ago.
5656
5657 2007-12-14  David Schleef  <ds@schleef.org>
5658
5659         * docs/faq/getting.xml: Fix typo.
5660
5661 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5662
5663         * docs/libs/gstreamer-libs-sections.txt:
5664         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5665           (gst_base_transform_prepare_output_buffer),
5666           (gst_base_transform_set_gap_aware):
5667         * libs/gst/base/gstbasetransform.h:
5668           API: Add gst_base_transform_set_gap_aware() to control whether
5669           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5670           get buffers with this flag at all. Fixes #503231.
5671
5672 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5673
5674         * libs/gst/base/gstbasesink.c:
5675         * libs/gst/base/gstbasesrc.c:
5676         * libs/gst/base/gstbasetransform.c:
5677           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5678           thread. Correct log message in gstbasesrc.c.
5679
5680 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         * gst/gstutils.c: (element_find_unconnected_pad):
5683           Fix possible compiler warning (#503417).
5684
5685 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5686
5687         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5688           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5689
5690 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5691
5692         * tools/gst-inspect.c: (print_element_properties_info):
5693           Add support for GstFraction properties.
5694
5695 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5696
5697         * Makefile.am:
5698           Add check-exports target and run it as part of 'make check'
5699           (see #499140 and #493983).
5700
5701         * gst/gst_private.h:
5702         * gst/gstelementfactory.h:
5703         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5704         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5705           (_priv_gst_in_valgrind):
5706         * gst/gstinfo.h: (GstLogFunction):
5707         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5708           (gst_type_find_register):
5709         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5710           (gst_type_find_factory_get_type):
5711         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5712           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5713           (gst_controller_new_valist), (gst_controller_new_list),
5714           (_gst_controller_dispose), (_gst_controller_class_init):
5715         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5716         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5717           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5718           (gst_object_get_controller), (gst_object_set_controller),
5719           (gst_object_suggest_next_sync), (gst_object_sync_values),
5720           (gst_object_set_control_source), (gst_object_get_control_source),
5721           (gst_object_get_value_arrays), (gst_object_get_value_array),
5722           (gst_object_get_control_rate), (gst_object_set_control_rate):
5723         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5724         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5725           Make some functions that should be static static; rename some
5726           private symbols so that they don't get exported; add some FIXME
5727           comments so we can move accidentally exported functions into
5728           our private section in 0.11.
5729
5730         * win32/common/libgstreamer.def:
5731           Add gst_utils_get_timestamp().
5732
5733 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5734
5735         * gst/gstvalue.c:
5736         * gst/gstvalue.h:
5737           Add more missing "Since:" tags to docs.
5738
5739 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5740
5741         * gst/gstutils.c:
5742           Add mising "Since:" to docs.
5743
5744 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5745
5746         * gst/gstplugin.c:
5747           Include "glib-compat-private.h" to fix the build on system with
5748           glib < 2.10. Fixes #503131.
5749
5750 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5751
5752         * gst/gstutils.c:
5753         * gst/gstutils.h:
5754           Actually its not PURE as it gets the time from elsewhere.
5755
5756 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5757
5758         * docs/gst/gstreamer-sections.txt:
5759         * gst/gstclock.h:
5760         * gst/gstdebugutils.c:
5761         * gst/gstinfo.c:
5762         * gst/gstutils.c:
5763         * gst/gstutils.h:
5764         * libs/gst/base/gstbasesink.c:
5765         * tools/gst-launch.c:
5766           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5767           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5768           Thanks Tim for spotting.
5769           API: gst_util_get_timestamp
5770
5771 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5772
5773         * configure.ac:
5774           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5775
5776 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5777
5778         * gst/gststructure.c: (gst_structure_validate_name),
5779           (gst_structure_new_valist), (gst_structure_parse_value),
5780           (gst_structure_from_string):
5781           Don't crash in _from_string() if the structure name is not valid
5782           (fixes #501560).  Allow structure names to start with a number
5783           again (this apparently broke the ubuntu codec installer).
5784
5785         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5786           (GST_START_TEST):
5787           Add unit test for the crash; update unit tests for new behaviour.
5788
5789 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5790
5791         * gst/gstutils.c:
5792         Clarify gst_element_get_compatible_pad() documentation.
5793         Fixes #500919.
5794
5795 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5796
5797         * tests/check/Makefile.am:
5798           Don't forget to dist {gst,libs}/struct_hppa.h.
5799
5800 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * libs/gst/base/gstbasesink.c:
5803           Use new API to get elapsed time.
5804
5805 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5806
5807         * gst/gstdebugutils.c:
5808         * gst/gstinfo.c:
5809           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5810
5811         * tools/gst-launch.c:
5812           Use new API to get elapsed time.
5813
5814 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5815
5816         * docs/gst/gstreamer-sections.txt:
5817         * gst/gstclock.h:
5818         * gst/gstdebugutils.c:
5819         * gst/gstinfo.c:
5820           Rename new API + ChangeLog surgery to remove old name from last entry..
5821
5822 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5823
5824         * docs/gst/gstreamer-sections.txt:
5825         * gst/gstclock.h:
5826         * gst/gstdebugutils.c:
5827         * gst/gstinfo.c:
5828           Now hide the different clock stuff behind a macro.
5829
5830 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5831
5832         * configure.ac:
5833         * gst/gstdebugutils.c:
5834         * gst/gstinfo.c:
5835           Apply the posix-timer check from #361155. Conditionally use the posix
5836           timer for logging. This gives better timestamp precission, less
5837           overhead and no ntp jitter.
5838
5839 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5840
5841         * gst/gstminiobject.c: (gst_mini_object_get_type),
5842         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5843         (gst_mini_object_finalize), (gst_mini_object_copy),
5844         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5845         (gst_mini_object_replace), (param_mini_object_validate),
5846         (gst_param_spec_mini_object_get_type):
5847         Some cleanup and checking against invalid function parameters.
5848
5849 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5850
5851         * docs/gst/gstreamer-sections.txt:
5852         * gst/gstclock.h:
5853         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5854         (gst_systemclock_suite):
5855         Start merging in the easy bits of #361155, the monotonic clock patch.
5856         This one adds a few handy macros with docs and a testsuite.
5857
5858 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5859
5860         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5861         Be a bit smarter when seeking, like, don't try to do a seek when it's
5862         not needed. This avoids errors when the file is not seekable.
5863         Fixes #499771.
5864
5865 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5866
5867         * docs/gst/gstreamer-docs.sgml:
5868         * docs/gst/gstreamer-sections.txt:
5869         * docs/gst/gstreamer.types.in:
5870         * gst/Makefile.am:
5871         * gst/gst.h:
5872         * gst/gstpreset.c:
5873         * gst/gstpreset.h:
5874         * plugins/elements/gstqueue.c:
5875           Due to popular request remove preset interface again. :-(.
5876
5877 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5878
5879         * tools/gst-inspect.c:
5880           Print 'default value' for enums and flags too.
5881
5882 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5883
5884         * docs/random/ensonic/profiling.txt:
5885           More ideas.
5886
5887         * gst/gstbin.c:
5888           Fix typo and give better log output.
5889
5890         * gst/gstdebugutils.c:
5891         * gst/gstdebugutils.h:
5892           More ideas, make graphs a bit smaller and fix param name in macro.
5893
5894 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5895
5896         * gst/gstpreset.c:
5897           Try harder to use the return value from fgets().
5898
5899 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5900
5901         * gst/gstpreset.c:
5902           For theses two fgets we handle the error below.
5903
5904 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5905
5906         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5907         Only send upstream events upstream. Fixes #498746.
5908
5909 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5910
5911         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5912
5913         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5914         (gst_identity_init), (gst_identity_transform_ip),
5915         (gst_identity_set_property), (gst_identity_get_property):
5916         * plugins/elements/gstidentity.h:
5917         Add property to disable handoff signal emission. Fixes #498694.
5918         API: GstIdentity::signal-handoffs
5919
5920 2007-11-21  Julien Moutte  <julien@fluendo.com>
5921
5922         * docs/faq/gst-uninstalled: Yet another missing library for the
5923         uninstalled script (fft)
5924
5925 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5926
5927         * docs/faq/developing.xml:
5928         Add a question about how to submit new translations.
5929
5930         * docs/random/release:
5931         Update the contact email address for the Translation Project
5932
5933         * plugins/elements/gstfdsrc.c:
5934         The parent_class for fdsrc is pushsrc, not GstElement.
5935
5936 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5937
5938         * gst/gstpreset.c:
5939           Plug a leak and fix saving.
5940
5941 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5942
5943         * docs/gst/gstreamer-sections.txt:
5944         Add new gst_preset__get_property_names() function to the docs
5945         to fix the build.
5946
5947 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5948
5949         * gst/gstpreset.c:
5950         * gst/gstpreset.h:
5951           Change _get_preset_names API to return a strv with copies. Add
5952           _get_property_names to allow implementations to filter and provide
5953           good default implementation.
5954
5955 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5956
5957         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5958         script (sdp).
5959
5960 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * gst/gstpreset.c:
5963           More cleanups, docs, and TODOs from comments that now slowly come in.
5964
5965 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5966
5967         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5968         search path.
5969
5970 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5971
5972         * gst/gstpreset.c:
5973           Fix bogus warning and make the property type specific code more
5974           similar.
5975
5976 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5977
5978         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5979         it build on OS X.
5980
5981 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
5982
5983         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5984         (gst_bin_add_func), (gst_bin_remove_func),
5985         (gst_bin_change_state_func), (gst_bin_continue_func):
5986         Change email, cleanups add some more debug and comments.
5987         Also set bus and clock on new elements when the pipeline was in error.
5988
5989 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
5990
5991         * gst/gstbin.c:
5992         * gst/gstdebugutils.c:
5993           Fix build with --disable-gst-debug. Fixes #497859.
5994           Spotted by Sameer Naik.
5995
5996 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
5997
5998         * gst/gstevent.c:
5999           Little documentation improvment.
6000
6001         * gst/gstpreset.c:
6002           More TODO cleanups. Remove c++ comments.
6003
6004         * libs/gst/controller/gstcontroller.c:
6005           Add TODO and use quark from static string.
6006
6007         * tests/check/gst/gstmessage.c:
6008         * tests/check/gst/gststructure.c:
6009           Use quark from static string.
6010
6011 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6012
6013         * gst/gstpreset.c:
6014           Add some comments and TODOs.
6015
6016         * gst/gstpreset.h:
6017           Add padding for future changes.
6018
6019         * plugins/elements/gstqueue.c:
6020           Implement the iface.    
6021
6022 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6023
6024         * docs/gst/gstreamer-docs.sgml:
6025         * docs/gst/gstreamer-sections.txt:
6026         * docs/gst/gstreamer.types.in:
6027         * gst/Makefile.am:
6028         * gst/gst.h:
6029         * gst/gstpreset.c:
6030         * gst/gstpreset.h:
6031           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6032
6033 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6034
6035         * configure.ac:
6036
6037         Back to CVS
6038
6039 === release 0.10.15 ===
6040
6041 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6042
6043         * configure.ac:
6044           releasing 0.10.15, "October"
6045
6046 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6047
6048         * win32/vs6/libgstreamer.dsp:
6049         Convert line endings back to DOS.
6050
6051 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6052
6053         * docs/design/draft-tagreading.txt:
6054         * docs/random/ensonic/profiling.txt:
6055         Update fast tagreading draft and performance profiling ideas.
6056
6057 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6058
6059         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6060         Don't hold the object lock when unreffing a buffer because it could
6061         cause a deadlock when the finalize function wants to grab the object
6062         lock too. Fixes #495133.
6063
6064 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6065
6066         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6067         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6068         Also accumulate time correctly when doing reverse playback. Fixes
6069         #488201,
6070         When converting to running and stream time, use default values for
6071         start/stop/time/accum when comparing different formats. Fixes #494245.
6072
6073         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6074         Do running/stream time in TIME format.
6075
6076         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6077         (gst_segment_suite):
6078         2 new unit tests for segment accumulation.
6079
6080 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6081
6082         * gst/gst.c: (init_pre):
6083         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6084           (_gst_debug_bin_to_dot_file):
6085           Move getenv() back into gst_init, so everyone can live happily
6086           ever after. Make sure the symbol isn't exported though.
6087
6088 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6089
6090         Patch by: Sebastien Moutte  <sebastien moutte net>
6091
6092         * win32/common/gstenumtypes.c:
6093         * win32/common/gstenumtypes.h:
6094           Update enum types.
6095
6096         * win32/vs6/libgstreamer.dsp:
6097           Update vs6 project files (#494343).
6098
6099 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6100
6101         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6102         (gst_base_src_perform_seek), (gst_base_src_default_event),
6103         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6104         (gst_base_src_activate_pull):
6105         Unify flushing code, remove some old unlock code that is no longer used.
6106         Take the streaming lock when seeking to avoid races. Fixes #492729.
6107         Added some more comments.
6108
6109 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6110
6111         * gst/gst.c: (_gst_disable_segtrap):
6112           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6113           we can use gst_segtrap_is_enabled() there now that we have that API.
6114           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6115           to do the getenv here (and export the variable).
6116
6117         * gst/gstdebugutils.c: (debug_dump_element),
6118           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6119           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6120
6121         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6122           (gst_debug_log_default):
6123           Rename _gst_info_start_time to priv_gst_info_start_time so it
6124           doesn't get exported (was never in any header).
6125
6126         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6127           (gst_plugin_loading_mutex):
6128           Make static mutex gst_plugin_loading_mutex really static (was never
6129           in any header), and use gst_segtrap_is_enabled() instead of
6130           _gst_disable_segtrap.
6131
6132         * gst/gsttrace.c: (_gst_trace_default):
6133           Make local _gst_trace_default static (was never in any header).
6134
6135 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6136
6137         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6138
6139         * win32/common/libgstbase.def:
6140         * win32/common/libgstcontroller.def:
6141         * win32/common/libgstdataprotocol.def:
6142         * win32/common/libgstnet.def:
6143         * win32/common/libgstreamer.def:
6144           Add more missing symbols, remove some duplicates, and sort
6145           as the 'sort' command sorts it (partially fixes #493983).
6146
6147 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6148
6149         * gst/gstelement.c: (gst_element_set_state_func):
6150         Only change the state cookie if a different state was set on the
6151         element. See #492729.
6152
6153 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         * gst/gstvalue.c:
6156           Remove unused and uninitialised type variables that were still
6157           exported for some reason (they were never in any header files
6158           though).
6159
6160 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6161
6162         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6163         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6164         (gst_base_sink_event), (gst_base_sink_get_position_last),
6165         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6166         (gst_base_sink_change_state):
6167         Don't try to report a 0 position when we don't know, return -1 and FALSE
6168         instead. This mostly happens when we are prerolling.
6169         Make sure we can report the right position before we post the ASYNC_DONE
6170         message so that a message handler can query position without races.
6171
6172         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6173         (async_done_handoff), (async_done_func), (send_buffer),
6174         (async_done_eos_func), (gst_sinks_suite):
6175         Add two tests for the above.
6176
6177 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6178
6179         * MAINTAINERS:
6180         Update with new email address.
6181
6182         * docs/design/part-TODO.txt:
6183         Add some more info about future pad-block and negotiation changes.
6184
6185         * docs/design/part-buffering.txt:
6186         Add some ideas about buffering reporting.
6187
6188 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6189
6190         * tests/check/gst/gstobject.c:
6191         Disable silly racy test that always fails on this combination of CPU
6192         and kernel.
6193
6194 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6195
6196         Patch by: Murray Cumming  <murrayc@murrayc.com>
6197
6198         * gst/gstobject.c:
6199           Corrected the registration of the parent-set and parent-unset
6200           signals: The parameter is a GstObject, not a GObject (#493134).
6201
6202 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6203
6204         * gst/gst_private.h:
6205         * gst/gstbuffer.h:
6206         * gst/gstevent.h:
6207         * gst/gstformat.h:
6208         * gst/gstmessage.h:
6209         * gst/gstplugin.h:
6210         * gst/gstquery.h:
6211         * gst/gsttaglist.h:
6212         * gst/gstvalue.h:
6213           Move declaration of private _gst_foo_initialize() functions into
6214           our private header file where they should have been all along.
6215
6216 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6217
6218         * docs/plugins/gstreamer-plugins-sections.txt:
6219         * gst/gstdebugutils.h:
6220         * gst/gstxml.h:
6221         * plugins/elements/gstqueue.c:
6222           gtk-doc fixes; trailing-comma-in-enum fix.
6223
6224 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6225
6226         * gst/gst.c: (gst_deinit):
6227           Clean up on deinit (not the external ones though, doesn't seem to be
6228           needed for some reason).
6229
6230 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6231
6232         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6233           Remove __declspec(dllimport) for MSVC that was copied over into core
6234           from a plugin, obviously without ever having been tested (note the
6235           single underscore in _declspec in the initial commit), and that doesn't
6236           really make sense.  See #492077.
6237
6238 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6239
6240         * gst/gst.c: (init_post):
6241         * gst/gstevent.c: (_gst_event_initialize):
6242         * gst/gstquery.c: (_gst_query_initialize):
6243         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6244           g_type_class_ref() other types as well, see #349410 and #64764.
6245
6246         * gst/gstbuffer.c: (_gst_buffer_initialize):
6247         * gst/gstmessage.c: (_gst_message_initialize):
6248           Simplify existing g_type_class_ref().
6249
6250 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * gst/gstformat.c: (_gst_format_initialize):
6253           g_type_class_ref() our GstFormat type to make sure we avoid the
6254           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6255           bug #64764. Should fix intermittent tee unit test failures (#474823).
6256
6257 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6258
6259         * tests/check/elements/tee.c: (test_num_buffers):
6260           Simplify, simplify, simplify - or not.  Rewrite unit test
6261           not to use gst_parse_launch(); allow N sub-streams. Increasing
6262           the number of sub-streams seems to reproduce #474823 more easily.
6263
6264 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6265
6266         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6267
6268         * gst/gsttrace.c:
6269         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6270         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6271         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6272           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6273           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6274           so use _pipe() directly (#492077).
6275
6276         * win32/common/dirent.c: (_treaddir):
6277           Add a couple of casts to make it build without warnings with MSVC.
6278
6279         * win32/common/libgstreamer.def:
6280           Add some more symbols that need to be exported.
6281
6282 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6283
6284         * tests/examples/metadata/read-metadata.c: (message_loop):
6285           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6286           arriving in a second or third tag message are added to
6287           the tag list as well.
6288
6289 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6290
6291         * libs/gst/base/gstbasesrc.c:
6292           Its "Since:" and not "@Since:". And remove an superflous cast.
6293
6294 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6295
6296         * docs/libs/gstreamer-libs-sections.txt:
6297         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6298         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6299         (gst_base_sink_get_property), (gst_base_sink_render_object),
6300         (gst_base_sink_preroll_object),
6301         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6302         (gst_base_sink_change_state):
6303         * libs/gst/base/gstbasesink.h:
6304         Add a new last-buffer property that contains the last buffer used in
6305         basesink for preroll or rendering. useful for making snapshots.
6306         API: gst_base_sink_get_last_buffer()
6307         API: GstBaseSink::last-buffer
6308
6309 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * docs/gst/running.xml:
6312         * gst/gst.c:
6313         * gst/gstdebugutils.c:
6314         * gst/gstdebugutils.h:
6315         * tools/gst-launch.c:
6316           Improve bin graph dumping, by using the envvar to specify a path.
6317           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6318
6319 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6320
6321         * plugins/elements/gsttypefindelement.c:
6322           (gst_type_find_element_handle_event),
6323           (gst_type_find_element_activate):
6324           Post special error message if we can't determine the type of a stream
6325           because it's empty.
6326
6327 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6328
6329         * docs/gst/running.xml:
6330         * gst/gstdebugutils.c:
6331           Document new env-var. Add one log-line after dumpng a graph.
6332
6333 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6334
6335         * configure.ac:
6336           Ugly hack to put the (recently removed and non-portable, apparently)
6337           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6338           GNU ld, because without that 'make check' fails miserably on my debian
6339           stable box.  Someone with more knowledge of linker intricacies and
6340           portability issues than me fix this properly please.
6341
6342 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6343
6344         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6345         Reset last seen position after flushing so that we don't report the old
6346         position anymore.
6347
6348 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6349
6350         * gst/gstelementfactory.c: (gst_element_register):
6351         * gst/gsturi.h:
6352         Patch from Alessandro Decina adding get_type_full and
6353         get_protocols_full private vfuncs to the URIHandler interface
6354         to allow bindings to support creating URI handlers. 
6355         Partially fixes: #339279
6356         API: GstURIHandlerInterface::get_type_full
6357         API: GstURIHandlerInterface::get_protocols_full
6358
6359 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6360
6361         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6362         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6363         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6364         Make it so that pads are considered linked until a buffer is pushed
6365         and discovered otherwise. This avoids problems with decodebin2 hanging
6366         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6367         case.
6368
6369         Make sure we lock the multiqueue when updating the max-size properties.
6370         
6371         Fix a crash on Solaris in a debug statement in get_request_pad that
6372         passes a NULL string to GST_DEBUG. 
6373
6374         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6375         (run_output_order_test):
6376         Fix the test to allow the first buffer on not-linked pads to come out
6377         of sequence while multiqueue discovers that they are not-linked.
6378
6379 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6380
6381         * configure.ac:
6382         * libs/gst/check/Makefile.am:
6383         Use a custom export symbol regex for libgstcheck, as it needs
6384         to export symbols that don't match the standard GStreamer gst_*
6385         pattern, and  --export-dynamic is not portable (only works on 
6386         GNU ld)
6387
6388         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6389         (gst_check_setup_sink_pad):
6390         Make sure to pass a message parameter to the fail_* macros.
6391
6392         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6393         Fix some compiler warnings.
6394
6395 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6396
6397         * tests/check/gst/gststructure.c: (test_to_string):
6398           Disable test that checks that white spaces are not allowed
6399           in structure names or field names, since we need to
6400           support that for now for backwards compatibility reasons.
6401
6402 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6403
6404         * docs/gst/gstreamer-sections.txt:
6405         * gst/gsttaglist.c:
6406         * gst/gsttaglist.h:
6407           API: add GST_TAG_ARTIST_SORTNAME
6408           API: add GST_TAG_ALBUM_SORTNAME
6409           API: add GST_TAG_TITLE_SORTNAME
6410           Add tag variants for sorting (#414539).
6411
6412 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6413
6414         * gst/gststructure.c:
6415           Also allow white space for names so we don't break
6416           backwards compatibility.
6417
6418 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6419
6420         * docs/design/part-TODO.txt:
6421         * docs/design/part-segments.txt:
6422         * docs/design/part-streams.txt:
6423         Small updates.
6424
6425 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6426
6427         * docs/gst/gstreamer-sections.txt:
6428          Fixed documentation from my previous commit (added new API add
6429          gst_value_set_structure(), add gst_value_get_structure() and
6430          GST_VALUE_HOLDS_STRUCTURE).
6431
6432 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6433
6434         * gst/gstdebugutils.c:
6435           Reflow code to fix uninitialized variable warning.
6436
6437 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6438
6439         * gst/gstcaps.c: (gst_caps_to_string),
6440         (gst_caps_from_string_inplace):
6441         * gst/gststructure.c: (gst_structure_get_abbrs),
6442         (gst_structure_to_string), (gst_structure_from_string):
6443         * gst/gstvalue.c: (gst_value_set_structure),
6444         (gst_value_get_structure), (gst_value_serialize_structure),
6445         (gst_value_deserialize_structure), (_gst_value_initialize):
6446         * gst/gstvalue.h:
6447         * tests/check/gst/gststructure.c: (GST_START_TEST),
6448         (gst_structure_suite):
6449         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6450          Added GstStructure to gst_value_table and its related functions.
6451          Changed gst_structure_to_string to print ';' in the end.
6452          Changed gst_caps_to_string to not print ';' beteween its
6453          fields (structures) anymore and remove the lastes ';' from latest
6454          structure. Now it is possible to have nested structures.
6455          In addition, backward compatibilty is assured by accepting '\0' as
6456          end delimiter. Fixes: #487969.
6457          API: add gst_value_set_structure()
6458          API: add gst_value_get_structure()
6459          API: add GST_VALUE_HOLDS_STRUCTURE
6460
6461 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6462
6463         * gst/gstbus.c:
6464           When no GSource callback has been set up, tell developer
6465           to use a function that actually exists.
6466
6467 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6468
6469         * docs/gst/gstreamer-sections.txt:
6470         * gst/Makefile.am:
6471         * gst/gst.c:
6472         * gst/gst.h:
6473         * gst/gstdebugutils.c:
6474         * gst/gstdebugutils.h:
6475         * gst/gstinfo.c:
6476         * gst/gstinfo.h:
6477         * tools/gst-launch.c:
6478           Allow dumping pipelines as dot graphs. Fixes #456573.
6479
6480 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * gst/gststructure.c:
6483           Allow '+' as well, it can be part of media or mime types
6484           such as image/svg+xml.
6485
6486 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6487
6488         * docs/gst/gstreamer-sections.txt:
6489         * gst/gstbus.c:
6490         * gst/gstbus.h:
6491           API: add gst_bus_pop_filtered
6492           API: add gst_bus_timed_pop_filtered
6493           Two new functions for waiting for specific message types on the
6494           bus for a specified amount of time without iterating any main
6495           loops or main contexts.
6496
6497         * tests/check/gst/gstbus.c:
6498           Some tests for the new functions.
6499
6500 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * docs/libs/gstreamer-libs-sections.txt:
6503           Make gtk-doc ignore stuff it should ignore.
6504
6505 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6506
6507         * libs/gst/check/gstcheck.c:
6508         * libs/gst/check/gstcheck.h:
6509           Allow runtime selection of unit tests to run via the GST_CHECKS
6510           environment variable (test case function names, comma-separated).
6511
6512 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6513
6514         * gst/gststructure.c:
6515         * tests/check/gst/gststructure.c:
6516           Revert serialisation change and constrain structure-names after
6517           consensus on irc. Update api documentation to reflect the change.
6518
6519 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6520
6521         * gst/gststructure.c:
6522           Improve serialization and fix tests.
6523
6524         * tests/check/gst/gststructure.c:
6525           Add another test that covers why I actually did the previous structure
6526           change.
6527
6528 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6529
6530         * tools/gst-inspect.c: (print_element_info):
6531         Don't crash when inspecting an element.
6532
6533 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6534
6535         * tests/check/gst/gststructure.c:
6536           Add unit test for escaping of structure name when serialising
6537           and deserialising to/from strings.
6538
6539 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6540
6541         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6542         (gst_single_queue_new):
6543         * plugins/elements/gstqueue.c: (gst_queue_init),
6544         (gst_queue_push_one):
6545         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6546         upstream is tricked into thinking it can suggest a format downstream
6547         while downstream does not support that format. The real problem is that
6548         core calls acceptcaps when pushing a buffer with new caps, for which we
6549         do a little workaround by setting the caps on the srcpad ourselves
6550         before pushing the buffer (until this is figured out). Fixes #486758.
6551
6552 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6553
6554         * gst/gststructure.c:
6555         * gst/gstvalue.c:
6556           Add some more comments and debug output. Quote structure name to fix
6557           deserialisation of some strings.
6558
6559 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6560
6561         * gst/gstbuffer.h:
6562           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6563           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6564
6565 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6566
6567         * tools/gst-inspect.c:
6568           Save approx. 400 1 byte allocs when printing. Use API to acces element
6569           details.
6570
6571         * tools/gst-run.c:
6572           Avoid a strdup.
6573
6574         * tools/gst-xmlinspect.c:
6575           Use API to acces element details.
6576
6577 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6578
6579         * gst/gstinfo.c:
6580           Fix some spelling errors.
6581
6582 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6583
6584         * gst/gstbin.c: (bin_handle_async_done):
6585         Correctly set the next state if all of our async children commited their
6586         state. This makes sure we can actually cancel the state change in
6587         progress. Fixes a regression in Rhythmbox when seeking.
6588
6589 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6590
6591         * gst/gstbin.c:
6592           Don't shadow local variable.
6593
6594         * gst/gstinfo.c:
6595           Don't shadow global function name.
6596
6597 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6598
6599         * gst/gstelementfactory.c:
6600         * gst/gstpluginfeature.c:
6601         * gst/gstpluginfeature.h:
6602         * gst/gstregistrybinary.c:
6603         * gst/gstregistryxml.c:
6604         * gst/gsttypefind.c:
6605           Use already-interned string for the private GstPluginFeature
6606           plugin_name field.
6607
6608 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6609
6610         * docs/libs/gstreamer-libs-sections.txt:
6611           Add new API to docs; fixes the build.
6612
6613 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6614         
6615         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6616
6617         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6618         (gst_base_sink_event):
6619         * libs/gst/base/gstbasesink.h:
6620         Add function to wait for EOS, subclasses can use this to correctly wait
6621         for devices to drain before performing the EOS logic. Fixes #485343.
6622         API: gst_base_sink_wait_eos()
6623
6624 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6625
6626         * gst/gstplugin.h:
6627           Cast description string constants in GST_PLUGIN_DEFINE macros
6628           to a (gchar*) to make C++ code using these macros compile
6629           without warning with g++-4.2 (see #462737).  Even if slightly
6630           ugly, this seems preferable to putting the description strings
6631           into the GLib quark table or making the structure member a
6632           const gchar * and doing casts in core code that allocs and
6633           frees these strings, or requiring a cast in the C++ code.
6634
6635 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6636
6637         * gst/gstinfo.h:
6638           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6639           to print the entire class/function signature into the log
6640           file for C++ code.  This only affects C++ code, for C code
6641           everything remains the same.
6642
6643 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6644
6645         * gst/gstbin.c: (remove_from_queue):
6646         Work around a problem with pipelines containing (semi)loops until a
6647         proper, more complicated solution is ready. See #475455.
6648
6649 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6650
6651         * gst/gstplugin.c:
6652         * gst/gstplugin.h:
6653         * gst/gstregistrybinary.c:
6654         * gst/gstregistryxml.c:
6655           Put more strings into the GLib quark table. No need to keep
6656           a hundred-something copies of identical version strings,
6657           license strings, package name strings and package origin
6658           strings around. 
6659
6660 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6661
6662         * docs/manual/advanced-dataaccess.xml:
6663           Don't imply that it's okay to unconditionally change
6664           buffer data or buffer metadata in a pad probe callback,
6665           and a bunch of other comments. Fixes #430031.
6666
6667 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * win32/common/gstenumtypes.c:
6670         * win32/common/gstenumtypes.h:
6671         * win32/common/gstversion.h:
6672           Update generated files.
6673
6674 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6675
6676         * docs/manual/advanced-autoplugging.xml:
6677           Prefix section with broken code with a warning (see #342432).
6678
6679 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6680
6681         * docs/manual/appendix-integration.xml:
6682         * docs/manual/basics-init.xml:
6683           Call g_thread_init() before g_option_context_new() to
6684           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6685
6686 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6687
6688         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6689         (gst_base_sink_queue_object_unlocked),
6690         (gst_base_sink_queue_object), (gst_base_sink_event),
6691         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6692         When we received EOS and are waiting for when to post the EOS message,
6693         our state is prerolled and we should not return ASYNC.
6694         Reorganize some code paths to implement this behavior.
6695
6696         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6697         (gst_sinks_suite):
6698         Add unit test to verify above EOS fix.
6699
6700 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6701
6702         * plugins/elements/gsttypefindelement.c:
6703         (gst_type_find_element_have_type), (gst_type_find_element_init),
6704         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6705         Move detecting the input caps of the sinkpad to the setcaps function.
6706         This allows us to update the output caps when we receive new input caps
6707         instead of always using the first detected caps.
6708
6709 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6710
6711         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6712         (gst_base_sink_get_position):
6713         Don't try to preroll non-async elements after a flush.
6714         Subtract latency form clock times when reporting position.
6715
6716 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6717
6718         * gst/gstpad.c: (gst_pad_pause_task):
6719         * gst/gstutils.c:
6720         Small comment and documentation update.
6721
6722 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6723
6724         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6725         (gst_base_src_set_live), (gst_base_src_is_live),
6726         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6727         (gst_base_src_default_event), (gst_base_src_wait),
6728         (gst_base_src_do_sync), (gst_base_src_get_range),
6729         (gst_base_src_pad_get_range), (gst_base_src_loop),
6730         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6731         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6732         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6733         (gst_base_src_change_state):
6734         Rework the locking of basesrc in a similar fashion to basesink. We
6735         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6736         us to handle live sources and semi live ones much better.
6737         Simplify flushing.
6738         Fix unlocking when seeking, shutting down and pausing in live sources.
6739
6740 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6741
6742         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6743         Fix compilation again.
6744
6745 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6746
6747         * gst/gstelement.c:
6748           Use meaningful categories for the logs to clean the default one.
6749
6750 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6751
6752         * tests/check/pipelines/cleanup.c:
6753           Print message name and not just number.
6754
6755 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6756
6757         * docs/design/draft-tagreading.txt:
6758           Add some more thoughts.
6759
6760 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6761
6762         * tests/check/pipelines/simple-launch-lines.c:
6763           Print message name and not just number.
6764
6765 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * libs/gst/base/gsttypefindhelper.c:
6768           Speedup typefinding. This is work in progress (see #459862).
6769
6770 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6771
6772         * gst/gstplugin.c:
6773           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6774           Spotted by Josep Torra Valles <josep@fluendo.com>.
6775
6776 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6777
6778         * gst/gstclock.h:
6779           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6780           field has moved to GstObject.
6781
6782 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6783
6784         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6785         (gst_base_src_get_range), (gst_base_src_change_state):
6786         Call unlock for live sources so that they can't get stuck in _create and
6787         produce a buffer before they are set back to PLAYING.
6788
6789 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6790
6791         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6792         (gst_queue_locked_dequeue):
6793         Comment the segment-related code... in the PROPER function.
6794         See #482147 and my commit from yesterday.
6795
6796 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6797
6798         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6799         Also initialize the counter that calculates the first timestamp on a
6800         buffer correctly for non-live sources.
6801
6802 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6803
6804         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6805         Disable code that's breaking the current-time-level reporting.
6806         See #482147
6807
6808 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6809
6810         * docs/gst/gstreamer-sections.txt:
6811         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6812         as they shouldn't show up. Fixes the docs build.
6813
6814 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6815         
6816         * gst/gstinfo.h:
6817         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6818         Define M_PI which is used in files which are including gstinfo.h. 
6819         VS6 includes doesn't define it.
6820         * win32/common/libgstbase.def:
6821         * win32/common/libgstcontroller.def:
6822         * win32/common/libgstreamer.def:
6823         Add new exported functions and variables.
6824         * win32/vs6/libgstcontroller.dsp:
6825         * win32/vs6/libgstreamer.dsp:
6826         Update the list of files to build.
6827         
6828 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6829
6830         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6831
6832         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6833         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6834         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6835         Improve debugging. Fixes #480858.
6836
6837 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6838
6839         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6840
6841         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6842         First patch of code cleanups, use the macros and right arguments in the
6843         macros to signal and lock the queue. See #480858.
6844
6845 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6846
6847         * gst/gstbus.c: (poll_func):
6848         Improve debugging when dealing with _poll().
6849
6850 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6851
6852         * gst/gstregistryxml.c:
6853           Fix memory leak I introduced a few days ago.
6854
6855 2007-09-26  Michael Smith <msmith@fluendo.com>
6856
6857         * gst/gstbuffer.c: (gst_buffer_finalize):
6858           Make it once again possible to free GstBuffers in the default
6859           build.
6860           The poisoning scribbles on parts of the miniobject we need in
6861           order to free it.
6862           Fixes #480341
6863
6864 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6865
6866         * docs/gst/gstreamer-sections.txt:
6867         * gst/gsttaglist.c:
6868         * gst/gsttaglist.h:
6869         API: add GST_TAG_COMPOSER, fixes #459809.
6870
6871 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6872
6873         * gst/gstplugin.c:
6874         * gst/gstplugin.h:
6875         Add the 3-clause BSD license and the MIT/X11 license to the license
6876         list. Fixes #479784.
6877
6878 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6879
6880         * docs/faq/getting.xml:
6881           Add Q+A about different GStreamer versions (#364056).
6882
6883 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6884
6885         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6886         (gst_base_sink_event), (gst_base_sink_change_state):
6887         Return correct gboolean from query function.
6888
6889 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6890
6891         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6892         (gst_base_sink_event), (gst_base_sink_query),
6893         (gst_base_sink_change_state):
6894         Simplify latency query.
6895         When not synchronizing, we can report latency without querying the peer
6896         element.
6897
6898 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6899
6900         * gst/gstobject.h:
6901         * gst/gstvalue.c:
6902         Fix small typos in the docs.
6903
6904 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6905
6906         * docs/design/draft-latency.txt:
6907         * docs/design/draft-push-pull.txt:
6908         * docs/design/draft-tagreading.txt:
6909         * docs/design/part-MT-refcounting.txt:
6910         * docs/design/part-activation.txt:
6911         * docs/design/part-block.txt:
6912         * docs/design/part-element-source.txt:
6913         * docs/design/part-events.txt:
6914         * docs/design/part-gstbin.txt:
6915         * docs/design/part-gstelement.txt:
6916         * docs/design/part-gstobject.txt:
6917         * docs/design/part-gstpipeline.txt:
6918         * docs/design/part-messages.txt:
6919         * docs/design/part-preroll.txt:
6920         * docs/design/part-push-pull.txt:
6921         * docs/design/part-qos.txt:
6922         * docs/design/part-query.txt:
6923         * docs/design/part-scheduling.txt:
6924         * docs/design/part-seeking.txt:
6925         * docs/design/part-segments.txt:
6926         * docs/design/part-states.txt:
6927         Documentation updates and typo fixes.
6928
6929 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6930
6931         * plugins/elements/gstfakesink.c:
6932           Add some debug text to error message to indicate that
6933           we errored out on request.
6934
6935         * tools/gst-launch.c:
6936           When the state change to PLAYING fails, check for an
6937           error message on the bus and print it.
6938
6939 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6940
6941         translated by: Jorge González González <aloriel@gmail.com>
6942
6943         * po/LINGUAS:
6944         * po/es.po:
6945           Added Spanish translation.
6946
6947 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6948
6949         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6950         Fix printf arguments.
6951
6952 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * tests/check/generic/states.c:
6955           Improved state change unit test.
6956
6957 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6958
6959         * gst/gstbin.h:
6960           Move priv to the right place.
6961
6962         * gst/gstsystemclock.c:
6963           Add FIXME: and improve log.
6964
6965         * tests/check/Makefile.am:
6966         * tests/examples/manual/Makefile.am:
6967           Work with all types of registries.
6968
6969 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6970
6971         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6972         Don't unref the event after pushing it. Fixes #478401.
6973
6974 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6975
6976         * .cvsignore:
6977         * tests/examples/manual/.cvsignore:
6978           Ignore registries in any format.
6979
6980 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
6981
6982         * gst/glib-compat-private.h:
6983           Add compatibility macro for g_intern_string() for
6984           GLib-2.8 (any reason we can't just bump the
6985           requirement to at least 2.10?)
6986
6987         * gst/gstpadtemplate.h:
6988         * gst/gstelementfactory.c:
6989         * gst/gstregistryxml.c:
6990         * gst/gstregistrybinary.c:
6991           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
6992           up the internal code accordingly.  This shouldn't be a problem, since
6993           there is no reason external code could ever assume the string in such
6994           a structure is dynamically allocated unless it did that itself;  the
6995           use of g_strdup() is private to element factories.  The new code also
6996           saves some memory by putting pad template name strings into the GLib
6997           quark table instead of allocating them dynamically.
6998           Declaring this field constant fixes warnings with g++-4.2 when using
6999           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7000
7001 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7002
7003         * gst/gstelementfactory.c:
7004           Release static caps. Fixes #475723.
7005
7006 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7007
7008         * gst/gstinfo.c:
7009         * gst/gstinfo.h:
7010           Make some internal API take const gchar * instead of just
7011           gchar * to avoid compiler warnings with g++-4.2.2 when
7012           passing string constants (partially fixes #478092).
7013
7014 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7015
7016         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7017         A latency query fails when one of the sinks fail.
7018
7019         * gst/gstelement.c: (gst_element_set_base_time):
7020         Improve debugging.
7021
7022 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7023
7024         * gst/gstbin.c: (gst_bin_continue_func):
7025         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7026         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7027         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7028
7029         Fix minor compilation warnings shown with Forte.
7030
7031 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7032
7033         * plugins/elements/gstqueue.c: (apply_buffer),
7034         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7035         Measure queue level based on the diff between head and tail timestamps
7036         even when pushing the first buffer.
7037
7038 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7039
7040         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7041         (gst_base_sink_event), (gst_base_sink_change_state):
7042         Sinks that don't preroll can always be queried for the latency.
7043         Don't post ASYNC start when we are not async.
7044
7045 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7046
7047         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7048         (gst_queue_handle_sink_event), (gst_queue_chain),
7049         (gst_queue_push_one), (gst_queue_handle_src_query),
7050         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7051         * plugins/elements/gstqueue.h:
7052         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7053         push more buffers but allow pushing of EOS and NEWSEGMENT.
7054         Add some more debug info here and there. Fixes #476514.
7055
7056 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7057
7058         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7059         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7060         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7061         (gst_base_sink_set_flushing), (gst_base_sink_query),
7062         (gst_base_sink_change_state):
7063         Latency query is allowed after we are prerolled. Introduce a new flag
7064         for this and stop abusing other variables.
7065
7066 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7067
7068         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7069         Push OOB events downstream when we get them in send_event. This allows
7070         the application to insert events in the pipeline.
7071         Add some more comments.
7072
7073 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7074
7075         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7076         (do_bin_latency), (gst_bin_change_state_func):
7077         * gst/gstpipeline.c: (gst_pipeline_change_state):
7078         Move latency query from GstPipeline to GstBin so that we can also
7079         use it when async-handling is enabled on bins.
7080
7081 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7082
7083         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7084         (gst_base_src_do_sync), (gst_base_src_change_state):
7085         Update docs.
7086         Clean up the timestamping and syncing code for pseudo live sources.
7087
7088 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7089
7090         Patch by: Steve Fink  <sphink gmail com>
7091
7092         * docs/manual/appendix-checklist.xml:
7093           Mention less -R switch in the section about debug output (#474055).
7094
7095 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7096
7097         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7098         Queue can latency to the pipeline up to the configured max size in time.
7099         Report this fact in the latency query.
7100
7101 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7102
7103         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7104
7105         * libs/gst/controller/gstinterpolation.c:
7106         * libs/gst/controller/gstlfocontrolsource.c:
7107         Use gst_guint64_to_gdouble() when converting from a uint64 or
7108         GstClockTime to double to fix the build on win32. Fixes #474371.
7109
7110 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7111
7112         * gst/gstbuffer.c: (gst_buffer_finalize):
7113         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7114         When finalizing a buffer the complete struct is filled with 0xff,
7115         thus making a use of the buffer after the final unref impossible.
7116
7117 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7118
7119         * tests/check/libs/controller.c: (GST_START_TEST):
7120         Use fail_unless_equals_int(a, b) instead of
7121         fail_unless_equals (a == b) to get better output on failures.
7122
7123 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7124
7125         * tests/check/gst/gsturi.c:
7126           Also check for the other file URI variant on win32.
7127
7128 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7129
7130         * gst/gsturi.c: (gst_uri_get_location):
7131           If there's no hostname, we want to return 'c:/foo/bar.txt'
7132           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7133
7134         * tests/check/gst/gsturi.c:
7135           Unit test for the above and a few more things.
7136
7137 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7138
7139         * docs/design/part-live-source.txt:
7140         Add docs on how live sources should timestamp.
7141
7142         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7143         Add some more debug info.
7144         For subclasses that are live and like to sync, add aditional startup
7145         latency to sync time and timestamps so that we timstamp according to the
7146         design doc.
7147
7148 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7149
7150         * gst/gstbuffer.c:
7151           Also do a g_type_class_ref() for the subbuffer type in
7152           the init function.
7153
7154 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7155
7156         * docs/gst/gstreamer-sections.txt:
7157         * gst/gstpad.c: (gst_pad_peer_query):
7158         * gst/gstpad.h:
7159         Add function to perform a query on the peer of a pad.
7160         API: gst_pad_peer_query()
7161
7162 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7163
7164         * tests/check/gst/gstsystemclock.c:
7165           Cleanup the test a little (use gst-logging and not g_message). Improve
7166           test to check if a wait reached the target.
7167
7168 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7169
7170         * docs/libs/gstreamer-libs-sections.txt:
7171           Add new API to docs and fix the build.
7172
7173 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7174
7175         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7176         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7177         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7178         (gst_base_src_get_property), (gst_base_src_do_sync):
7179         * libs/gst/base/gstbasesrc.h:
7180         Add property to make the basesrc timestamp buffers based on the current
7181         running time.
7182         API: GstBaseSrc::do-timestamp
7183         API: gst_base_src_set_do_timestamp()
7184         API: gst_base_src_get_do_timestamp()
7185
7186 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7187
7188         * docs/random/release:
7189           Really make sure translations are up-to-date before
7190           a release (#465010).
7191
7192 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7193
7194         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7195         Always destroy the timer, also in error cases.
7196
7197 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7198
7199         * docs/manual/highlevel-xml.xml:
7200         Fix XML example code. Fixes #472714.
7201
7202 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7203
7204         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7205         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7206         (gst_base_sink_query):
7207         Protect eos and have_preroll with the OBJECT lock so we don't need to
7208         take the PREROLL lock when querying the latency. Fixes #473846.
7209
7210 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7211
7212         * gst/gstelement.c:
7213           Give some log-messages a category.
7214
7215 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7216
7217         * gst/gststructure.c:
7218         (gst_structure_fixate_field_nearest_fraction):
7219         Fix fraction list fixation code. Take the fraction with the smallest
7220         difference with the target instead of the first one in the list.
7221
7222         * tests/check/gst/gststructure.c: (GST_START_TEST),
7223         (gst_structure_suite):
7224         Added test to verify correct fraction list fixation behaviour.
7225
7226 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7227
7228         * win32/common/libgstreamer.def:
7229           Export gst_bus_add_signal_watch too.
7230
7231 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7232
7233         * docs/libs/gstreamer-libs-sections.txt:
7234         Add new methods to docs.
7235
7236         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7237         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7238         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7239         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7240         * libs/gst/base/gstbasesink.h:
7241         Add ts-offset property to fine-tune the synchronisation.
7242         API: GstBaseSink::ts-offset property
7243         API: gst_base_sink_set_ts_offset()
7244         API: gst_base_sink_get_ts_offset()
7245
7246 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7247
7248         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7249         (gst_base_sink_init), (gst_base_sink_set_sync),
7250         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7251         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7252         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7253         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7254         (gst_base_sink_get_property), (gst_base_sink_change_state):
7255         * libs/gst/base/gstbasesink.h:
7256         Add async property to instruct the sink never to inform the parent about
7257         ASYNC state changes, update docs.
7258         Check argument with g_return_* for the public functions.
7259         API: GstBaseSink::async property
7260         API: gst_base_sink_set_async_enabled()
7261         API: gst_base_sink_is_async_enabled()
7262
7263 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7264
7265         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7266         Improve debugging.
7267
7268         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7269         (gst_base_src_default_query), (gst_base_src_wait),
7270         (gst_base_src_do_sync), (gst_base_src_change_state):
7271         Rearrange some code so that we can add support for measuring the 
7272         startup latency.
7273
7274 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7275
7276         * docs/random/ensonic/dynlink.txt:
7277           More thoughs on this.
7278
7279         * plugins/elements/gstcapsfilter.c:
7280           Add bugzilla ticket number to FIXME comment.
7281
7282 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7283
7284         * docs/design/part-TODO.txt:
7285         * docs/design/part-block.txt:
7286         Update some docs.
7287
7288 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7289
7290         * gst/Makefile.am:
7291           Revert patch which uses $(gst_headers) instead of $^ because it
7292           breaks make dist.
7293
7294 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7295
7296         * tests/check/gst/gstbin.c: (GST_START_TEST):
7297           Fix leaks in the new unit test.
7298
7299 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7300
7301         * gst/gst.c:
7302           Don't use GST_INFO before the debug system is actually initialised
7303           (shouldn't do any harm, but won't print anything either, so we can
7304           just as well remove it).
7305
7306         * gst/gstinfo.h:
7307           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7308           compilers that don't support variadic macros (such as MSVC), should
7309           check for debug_level <= __gst_debug_min as well, since that's the
7310           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7311           inline helper functions. Should improve performance a bit, but also
7312           makes sure uses of GST_INFO et.al are ignored if the debugging
7313           system isn't initialised yet (instead of printing an assertion
7314           failure).
7315
7316 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7317
7318         patch by: David Nečas <yeti@physics.muni.cz>
7319
7320         * gst/Makefile.am:
7321           Replace some non portable makefile constructs.
7322
7323 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7324
7325         * common/gtk-doc-plugins.mak:
7326           Grrrrr. Don't remove the types file on make clean.
7327
7328 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7329
7330         * tools/gst-launch.1.in:
7331         Add colorspace to example pipeline. Fixes #458274.
7332
7333 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7334
7335         * docs/random/release:
7336           The release manager should run 'make download-po' before making a
7337           release to make sure translations are up-to-date.
7338
7339         * po/LINGUAS:
7340         * po/be.po:
7341         * po/pl.po:
7342         * po/rw.po:
7343           Add some new translations.
7344
7345 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7346
7347         * tools/gst-launch.c: (event_loop), (main):
7348         Don´t try to do any state management when a live pipeline posts
7349         buffering messages.
7350         Also make the buffering string translatable.
7351
7352 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7353
7354         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7355         (bin_handle_async_start), (gst_bin_handle_message_func):
7356         Improve debugging.
7357         When adding elements, insert messages into the bus of the newly added
7358         element and make sure the element is the source of the message. This
7359         allows the parent bin to intercept the message and do the
7360         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7361         messages to the app (which is not allowed).
7362         Update some docs.
7363
7364         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7365         Fix testsuite so that is does not work around messages that should not
7366         have been posted in the first place.
7367
7368 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7369
7370         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7371         (update_degree), (gst_bin_sort_iterator_next):
7372         Fix annoying bug in the sorted iterator where a sink that is not really
7373         a sink (when it has downstream links) screwed up the iterator.
7374
7375         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7376         Unit test to verify the fix.
7377
7378 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7379
7380         * gst/gstmessage.h:
7381         Add some more docs for the messages.
7382
7383         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7384         (gst_base_sink_query):
7385         Add some more debugging.
7386
7387         * tools/gst-launch.c: (event_loop):
7388         When interrupting, don't try to set pipeline to PAUSED twice.
7389
7390 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7391
7392         
7393         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7394         (bin_handle_async_start), (gst_bin_handle_message_func):
7395         Move ASYNC_START message posting to where it belongs, similar to
7396         async_done. 
7397         Don't post ASYNC_START when we are in error. 
7398         Post ASYNC_START when we added an async element to a bin.
7399
7400 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7401
7402         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7403         generation from vargs. Fixes #466595.
7404
7405 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7406
7407         * gst/gstbin.c: (gst_bin_element_set_state):
7408         Always change the state of a NO_PREROLL element even if it has ASYNC
7409         elements inside (in case of a bin).
7410
7411         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7412         Unit test for this case.
7413
7414 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7415
7416         * libs/gst/check/gstbufferstraw.c:
7417         * libs/gst/check/gstcheck.h:
7418         * libs/gst/controller/gstcontroller.c:
7419         * libs/gst/controller/gstcontrolsource.h:
7420         * libs/gst/controller/gstlfocontrolsource.h:
7421         * plugins/elements/gstcapsfilter.h:
7422         * plugins/elements/gstfdsink.h:
7423         * plugins/elements/gstfdsrc.h:
7424           Add more missing docs.
7425
7426 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7427
7428         * gst/gststructure.c:
7429         Add Since tag to docs.
7430
7431 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7432
7433         * docs/gst/gstreamer-sections.txt:
7434         * gst/gststructure.c: (gst_structure_get_uint):
7435         * gst/gststructure.h:
7436         Add function to get uint from a structure.
7437         API: gst_structure_get_uint()
7438
7439 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7440
7441         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7442         (gst_caps_intersect):
7443         Fix proper check for simple caps.
7444
7445 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7446
7447         * docs/gst/Makefile.am:
7448         * docs/libs/Makefile.am:
7449           Remove cruft and do some cleanups.
7450
7451         * docs/gst/gstreamer-docs.sgml:
7452         * docs/libs/gstreamer-libs-docs.sgml:
7453           Prepare for comming gtkdoc features (rebase against online docs).
7454
7455 2007-08-10  Michael Smith <msmith@fluendo.com>
7456
7457         * docs/gst/gstreamer-sections.txt:
7458           Add gst_registry_add_path to docs.
7459
7460 2007-08-10  Michael Smith <msmith@fluendo.com>
7461
7462         * gst/gstregistry.h:
7463           Add gst_registry_add_path, which was missing from this header.
7464
7465 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7466
7467         * libs/gst/controller/gstlfocontrolsource.c:
7468           Printf format fix.
7469
7470 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7471
7472         * libs/gst/base/gstbasesink.c:
7473           Don't send an async_start message during downwards state change if 
7474           target state is less than READY
7475
7476 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7477
7478         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7479
7480         * po/LINGUAS:
7481         * po/hu.po:
7482           Added Hungarian translation.
7483
7484 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7485
7486         * po/fi.po:
7487         * po/it.po:
7488         * po/nl.po:
7489         * po/sv.po:
7490         * po/uk.po:
7491           Updated translations.
7492
7493 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7494
7495         * libs/gst/controller/Makefile.am:
7496         Dist gstlfocontrolsourceprivate.h
7497
7498 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7499
7500         * docs/libs/gstreamer-libs.types:
7501         Don't register the enum type gst_lfo_waveform_get_type() in the
7502         .types file - only GObject derived types belong.
7503
7504 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7505
7506         Patch by: <arenevier at fdn dot fr>
7507
7508         * gst/gstbuffer.h:
7509         Remove comma from last element in enum to avoid compile errors when
7510         using -pendantic. Fixes #464366.
7511
7512 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7513
7514         * docs/design/part-TODO.txt:
7515         Add some more TODO items
7516
7517         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7518         Improve debugging.
7519
7520         * gst/gstcaps.c: (gst_caps_intersect):
7521         Optimize trivial intersection case between identical caps pointers.
7522
7523         * gst/gstelement.c: (gst_element_continue_state),
7524         (gst_element_set_state_func):
7525         * gst/gstpad.c:
7526         Fix spelling and grammar mistakes.
7527
7528 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7529
7530         * po/POTFILES.in:
7531         * po/POTFILES.skip:
7532           Update POTFILES. Fixes #461599.
7533
7534 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7535
7536         * gst/gst.c:
7537         Fix confusing typo in debug output.
7538
7539 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7540
7541         reviewed by: Stefan Kost <ensonic@users.sf.net>
7542
7543         * libs/gst/controller/Makefile.am:
7544         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7545         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7546         (gst_lfo_control_source_new),
7547         (gst_lfo_control_source_set_waveform),
7548         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7549         (gst_lfo_control_source_finalize),
7550         (gst_lfo_control_source_dispose),
7551         (gst_lfo_control_source_set_property),
7552         (gst_lfo_control_source_get_property),
7553         (gst_lfo_control_source_class_init):
7554         * libs/gst/controller/gstlfocontrolsource.h:
7555         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7556         API: Add GstLFOControlSource, a control source that gives values
7557         for specific timestamps based on several periodic waveforms.
7558         Fixes #459717.
7559
7560         * tests/check/libs/controller.c: (GST_START_TEST),
7561         (gst_controller_suite):
7562         * docs/libs/gstreamer-libs-docs.sgml:
7563         * docs/libs/gstreamer-libs-sections.txt:
7564         * docs/libs/gstreamer-libs.types:
7565         Add documentation and unit tests for GstLFOControlSource.
7566
7567 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7568
7569         * configure.ac:
7570         Back to CVS
7571
7572 === release 0.10.14 ===
7573
7574 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7575
7576         * configure.ac:
7577           releasing 0.10.14, "Breathing Vacuum"
7578
7579 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7580
7581         * gst/gstelement.c: (gst_element_class_set_details_simple):
7582         * gst/gstelement.h:
7583           Make strings passed to gst_element_class_set_details_simple()
7584           constant, as they should be (#462752).
7585
7586 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7587
7588         * gst/gstbin.c: (gst_bin_change_state_func),
7589         (bin_handle_async_done), (gst_bin_handle_message_func):
7590         Don't forget about the fact that some element went ASYNC even after a
7591         resync. This makes us post the ASYNC_DONE message correctly.
7592         Fixes #462558.
7593
7594 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7595
7596         * gst/gstregistry.c: (gst_registry_add_feature):
7597         When replacing an existing feature in the registry, make sure to
7598         continue holding a reference until we've replaced the name string
7599         within our feature hash table. Make sure to use g_hash_table_replace
7600         instead of g_hash_table_insert to ensure the new name string is used
7601         as a key instead of the old one that we're about to free.
7602         Fixes: #462085
7603
7604 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7605
7606         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7607         (gst_plugin_feature_set_name):
7608         Revert patch from #459466 until after the release and we can work
7609         out exactly what the problem is (if any).
7610
7611 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7612
7613         * docs/gst/gstreamer-sections.txt:
7614         * gst/gsttaglist.c:
7615         * gst/gsttaglist.h:
7616           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7617
7618 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7619
7620         * docs/libs/Makefile.am:
7621         Include our build-prefix libs and includes before the generic ones to
7622         avoid linking against the installed libs when we want the build-tree
7623         ones.
7624
7625 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7626
7627         Patch by: Steve Fink  <sphink gmail com>
7628
7629         * docs/pwg/building-testapp.xml:
7630           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7631           if people try to build or install the example from the plugin
7632           template against a GStreamer from package using the configure
7633           defaults.
7634
7635 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7636
7637         Patch by: Steve Fink  <sphink gmail com>
7638
7639         * tools/gst-inspect.1.in:
7640           Document --print-all and --print-plugin-auto-install-info command
7641           line options in man page.
7642
7643 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7644
7645         * docs/gst/gstreamer-sections.txt:
7646         Add docs for new api function.
7647
7648 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7649
7650         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7651         * gst/gstelementfactory.h:
7652         API: gst_element_factory_has_interface()
7653         Added method to check if an element factory implements a named
7654         interface.
7655
7656 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7657
7658         * configure.ac:
7659         * docs/gst/gstreamer.types.in:
7660           Another conditional doc check.
7661
7662         * gst/gstmessage.c:
7663         * gst/gstparamspecs.h:
7664         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7665         * gst/gstvalue.c:
7666         * gst/gstxml.h:
7667           API-doc fixes.
7668
7669 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7670
7671         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7672         (gst_registry_binary_load_feature),
7673         (gst_registry_binary_load_plugin),
7674         (gst_registry_binary_read_cache):
7675           Print error just once and with additional info.
7676
7677 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7678
7679         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7680         (helper_find_suggest), (helper_find_get_length),
7681         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7682         (gst_type_find_helper_for_buffer):
7683           Cleanup the typefindhelper code and add private doc comments.
7684
7685 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7686
7687         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7688         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7689         Fix capsfilter for cases where the caps set on capsfilter will provide
7690         additional information.
7691         Fixes #449197
7692
7693 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7694
7695         * gst/gsttypefindfactory.c:
7696           Fix docs that recommened wrong function to use.
7697
7698 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7699
7700         * tools/gst-inspect.c: (print_plugin_features):
7701           Also give media-type for typefinders in element output.
7702
7703 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7704
7705         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7706         (gst_registry_remove_features_for_plugin_unlocked),
7707         (gst_registry_add_feature), (gst_registry_remove_feature),
7708         (gst_registry_lookup_feature_locked):
7709         * gst/gstregistry.h:
7710           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7711           Fixes #459501.
7712
7713 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7714
7715         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7716         (gst_plugin_feature_set_name):
7717           Avoid double memory usage for pluginfeature names. Fixes #459466.
7718
7719 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7720
7721         * gst/gstpad.h:
7722           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7723           driving the pipeline may need to explicitly check for NOT_LINKED as
7724           well, since IS_FATAL doesn't cover that.
7725
7726 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7727
7728         * docs/pwg/advanced-types.xml:
7729           Fix typo and duplicate entry in video formats list.
7730
7731 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7732
7733         * libs/gst/controller/gstinterpolation.c:
7734         Also round to the nearest int when using cubic interpolation.
7735
7736 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7737
7738         * libs/gst/controller/gstinterpolation.c:
7739         When linearly interpolating integer types, round to the nearest int
7740         by adding 0.5. Don't do it for float/double types.
7741         Fixes the failing controller test on my machine, which is somehow
7742         rounding differently than on the buildbots.
7743
7744 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7745
7746         * tools/gst-plot-timeline.py:
7747           Better log parsing (categories can have -). Adjust text vs. lines, so
7748           that they span the same y-range.        
7749
7750 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7751
7752         * docs/random/ensonic/audiobaseclasses.txt:
7753         * docs/random/ensonic/dynlink.txt:
7754         * docs/random/ensonic/profiling.txt:
7755           Save my thoughts.
7756
7757         * docs/random/moving-plugins:
7758           Add note to use g_assert type macros.
7759
7760 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7761
7762         * configure.ac:
7763         * libs/gst/check/Makefile.am:
7764           Add libm check as we use in for plugins.
7765
7766 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7767
7768         * gst/gstbin.c: (gst_bin_continue_func):
7769         Check that the state_cookie hasn't changed since the continue_func
7770         was scheduled. Avoids problems where the state changes back to
7771         something it shouldn't be because it was changed in the meantime.
7772
7773 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7774
7775         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7776         (gst_registry_binary_save_string),
7777         (gst_registry_binary_save_pad_template),
7778         (gst_registry_binary_save_feature),
7779         (gst_registry_binary_save_plugin),
7780         (gst_registry_binary_load_feature),
7781         (gst_registry_binary_load_plugin),
7782         (gst_registry_binary_read_cache):
7783           Fix memory leak. Be less verbose in the log.
7784
7785 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7786
7787         * tests/check/elements/.cvsignore:
7788         Add file to cvsignore as commanded.
7789
7790 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7791
7792         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7793         (mq_dummypad_event), (run_output_order_test):
7794         Use a GStaticMutex to protect all cases where libcheck
7795         fail_if/fail_unless macros might be called from multiple threads
7796         simultaneously to avoid errors like:
7797           "check_pack.c:107: :-1081725400:Bad message type arg"
7798
7799 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7800
7801         * tests/check/pipelines/stress.c: (GST_START_TEST):
7802         Make sure we set the pipeline back to the NULL state before
7803         dropping our final reference.
7804
7805 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7806
7807         * tests/check/elements/tee.c: (GST_START_TEST):
7808         Make the tee stress-test a little less stressful so it doesn't just
7809         time out on slow-machines, and remove a small race when it's starting 
7810         up by adding a get_state() call.
7811
7812 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7813
7814         * gst/gst.c:
7815           Avoid reading registry twice on startup. Fixes #457322.
7816
7817 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7818
7819         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7820         * pkgconfig/gstreamer-check.pc.in:
7821         Substitute the CFLAGS for libcheck into our .pc file too so that
7822         dependent modules will pick it up properly if libcheck is installed
7823         into some other prefix.
7824
7825 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7826
7827         * configure.ac:
7828         Revert the pkg-config check for libcheck, since it pulls in the
7829         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7830         a proper solution, either from the check project, or something else.
7831
7832 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7833
7834         * configure.ac:
7835           Use pkg-config to locate check.
7836
7837 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7838
7839         * gst/gsttaglist.c:
7840           Fix doc syntax.
7841
7842         * gst/gstutils.c:
7843         * gst/gstutils.h:
7844           Add deprecation guards.
7845
7846         * libs/gst/base/gstcollectpads.h:
7847           Don't document object (this is implicitly private).
7848
7849 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7850
7851         * gst/gststructure.c: (gst_structure_parse_value):
7852           When deserialising foo=bar without a type cast, check if it's a
7853           boolean before falling back to a string type, otherwise things like
7854           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7855           because the filtercaps end up having a signed=(string)true field,
7856           which causes problems later when intersection caps.
7857
7858         * tests/check/gst/gststructure.c: (GST_START_TEST):
7859           Add a unit test for this.
7860
7861 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7862
7863         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7864
7865         * libs/gst/controller/Makefile.am:
7866         * libs/gst/controller/gstcontroller.c:
7867         (gst_controlled_property_add_interpolation_control_source),
7868         (gst_controlled_property_new), (gst_controlled_property_free),
7869         (gst_controller_find_controlled_property),
7870         (gst_controller_new_valist), (gst_controller_new_list),
7871         (gst_controller_new), (gst_controller_remove_properties_valist),
7872         (gst_controller_remove_properties_list),
7873         (gst_controller_remove_properties),
7874         (gst_controller_set_property_disabled),
7875         (gst_controller_set_disabled), (gst_controller_set_control_source),
7876         (gst_controller_get_control_source), (gst_controller_get),
7877         (gst_controller_sync_values), (gst_controller_get_value_array),
7878         (_gst_controller_dispose), (gst_controller_get_type),
7879         (gst_controlled_property_set_interpolation_mode),
7880         (gst_controller_set), (gst_controller_set_from_list),
7881         (gst_controller_unset), (gst_controller_unset_all),
7882         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7883         * libs/gst/controller/gstcontroller.h:
7884         * libs/gst/controller/gstcontrollerprivate.h:
7885         * libs/gst/controller/gstcontrolsource.c:
7886         (gst_control_source_class_init), (gst_control_source_init),
7887         (gst_control_source_get_value),
7888         (gst_control_source_get_value_array), (gst_control_source_bind):
7889         * libs/gst/controller/gstcontrolsource.h:
7890         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7891         (gst_object_get_control_source):
7892         * libs/gst/controller/gstinterpolation.c:
7893         (gst_interpolation_control_source_find_control_point_node),
7894         (gst_interpolation_control_source_get_first_value),
7895         (_interpolate_none_get), (interpolate_none_get),
7896         (interpolate_none_get_boolean_value_array),
7897         (interpolate_none_get_enum_value_array),
7898         (interpolate_none_get_string_value_array),
7899         (_interpolate_trigger_get), (interpolate_trigger_get),
7900         (interpolate_trigger_get_boolean_value_array),
7901         (interpolate_trigger_get_enum_value_array),
7902         (interpolate_trigger_get_string_value_array):
7903         * libs/gst/controller/gstinterpolationcontrolsource.c:
7904         (gst_control_point_free), (gst_interpolation_control_source_reset),
7905         (gst_interpolation_control_source_new),
7906         (gst_interpolation_control_source_set_interpolation_mode),
7907         (gst_interpolation_control_source_bind),
7908         (gst_control_point_compare), (gst_control_point_find),
7909         (gst_interpolation_control_source_set_internal),
7910         (gst_interpolation_control_source_set),
7911         (gst_interpolation_control_source_set_from_list),
7912         (gst_interpolation_control_source_unset),
7913         (gst_interpolation_control_source_unset_all),
7914         (gst_interpolation_control_source_get_all),
7915         (gst_interpolation_control_source_get_count),
7916         (gst_interpolation_control_source_init),
7917         (gst_interpolation_control_source_finalize),
7918         (gst_interpolation_control_source_dispose),
7919         (gst_interpolation_control_source_class_init):
7920         * libs/gst/controller/gstinterpolationcontrolsource.h:
7921         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7922         API: Refactor GstController into the core controller which can take
7923         a GstControlSource for providing actual values for timestamps.
7924         Implement a interpolation control source and use this for backward
7925         compatibility, deprecate a bunch of functions that are now handled
7926         by GstControlSource or GstInterpolationControlSource.
7927         Make it possible to disable the controller completely or only for
7928         specific properties. Fixes #450711.
7929         * docs/libs/gstreamer-libs-docs.sgml:
7930         * docs/libs/gstreamer-libs-sections.txt:
7931         * docs/libs/gstreamer-libs.types:
7932         Add new functions and classes to the docs.
7933         * tests/check/libs/controller.c: (GST_START_TEST),
7934         (gst_controller_suite):
7935         * tests/examples/controller/audio-example.c: (main):
7936         Port unit test and example to the new API and add some new
7937         unit tests.
7938
7939 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7940
7941         Patch by: Mark Nauwelaerts <manauw at skynet be>
7942
7943         * plugins/elements/gstmultiqueue.c:
7944         (gst_multi_queue_get_internal_links), (apply_buffer),
7945         (single_queue_overrun_cb), (gst_single_queue_new):
7946         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7947         the pipeline layout can be tracked correctly. Fixes #453732.
7948
7949 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7950
7951         * docs/gst/Makefile.am:
7952         * docs/libs/Makefile.am:
7953         * docs/plugins/Makefile.am:
7954           Simplify --extra-dir as gtkdoc scans recursively.
7955
7956 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7957
7958         * tools/gst-launch.c: (main):
7959         When we got an error, there is no point in waiting for preroll when
7960         shutting down.
7961
7962 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7963
7964         * plugins/elements/gsttee.c: (gst_tee_base_init),
7965         (gst_tee_request_new_pad), (gst_tee_release_pad),
7966         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7967         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7968         (gst_tee_chain):
7969         Be a lot smarter when deciding what srcpad to use for proxying
7970         the buffer_alloc. Also handle pad added/removed when doing so.
7971         Fixes #357959.
7972         Keep track of what pads we already pushed on in case we have pads
7973         added/removed while pushing. Fixes #374639 
7974
7975         * tests/check/Makefile.am:
7976         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7977         (tee_suite):
7978         Added unit test for pad resync.
7979
7980 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7981
7982         * po/nl.po:
7983         * po/sv.po:
7984           Updated translations.
7985
7986 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7987
7988         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
7989
7990         * po/LINGUAS:
7991         * po/fi.po:
7992           Added new Finnish translation.
7993
7994 2007-06-28  Wim Taymans  <wim@fluendo.com>
7995
7996         * plugins/elements/gstmultiqueue.c: (apply_buffer),
7997         (single_queue_overrun_cb):
7998         When figuring out when a queue is filled, use our internal time estimate
7999         based on segments, just like check_full does.
8000
8001 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8002
8003         * gst/gstminiobject.c: (gst_mini_object_get_type):
8004           Remove 3 do-nothing methods.
8005
8006 2007-06-27  Wim Taymans  <wim@fluendo.com>
8007
8008         Patch by: Tim Angus <tim at ngus dot net>
8009
8010         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8011         (gst_capsfilter_set_property):
8012         Take a reference instead of a copy when setting "caps".
8013         Fix documentation to clarify this behaviour. Fixes #449414.
8014
8015 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8016
8017         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8018         * gst/gstplugin.c: (gst_plugin_init):
8019         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8020         * gst/gstquery.c: (gst_query_get_type):
8021         * gst/gstregistry.c: (gst_registry_init):
8022         * gst/gsturi.c: (gst_uri_handler_base_init):
8023           Remove empty instance_init() functions to save relocs and lessen the
8024           noise. Remove some of the function prototypes that are doubled by
8025           G_DEFINE_TYPE.
8026           
8027 2007-06-27  Wim Taymans  <wim@fluendo.com>
8028
8029         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8030
8031         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8032         Add peer and direction in the XML serialisation of ghostpads.
8033         Fixes #449226.
8034
8035 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8036
8037         * configure.ac:
8038           Preserve useful information, thanks Tim.
8039
8040 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8041
8042         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8043         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8044         (gst_single_queue_push_one), (gst_multi_queue_loop),
8045         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8046         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8047         (compute_high_id), (gst_single_queue_new):
8048         * plugins/elements/gstmultiqueue.h:
8049         Take the multiqueue lock when updating the fill level so we don't get
8050         confused. 
8051
8052         After applying a buffer or event on the src pad segment, make sure to
8053         call gst_data_queue_limits_changed() to get the data queue to unblock
8054         and check the filled state again.
8055         
8056         Rework the not-linked pad handling so the logic is that not-linked 
8057         pads can push as fast as they like, but only so they never get 
8058         ahead of any linked pads.
8059
8060         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8061         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8062         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8063
8064         Add a test to check that not-linked pads always stay behind
8065         linked pads.
8066
8067         Fixes: #430682
8068
8069 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8070
8071         * docs/random/release:
8072           Some updates to the release procedure.
8073
8074 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8075
8076         * gst/gstelementfactory.c: (__gst_element_details_clear):
8077           Microoptimization that saves stunning 80 bytes.
8078
8079 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8080
8081         * docs/plugins/gstreamer-plugins.args:
8082         * docs/plugins/inspect/plugin-coreelements.xml:
8083         * docs/plugins/inspect/plugin-coreindexers.xml:
8084           Update docs with caps info.
8085
8086 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8087
8088         * po/it.po:
8089           Updated Italian translation.
8090
8091 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8092
8093         * ChangeLog:
8094         * po/vi.po:
8095           Update Vietnamese translations.
8096
8097 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8098
8099         * libs/gst/base/gstbasesink.c:
8100           Remove unused signal enum.
8101
8102 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8103
8104         * docs/gst/gstreamer-sections.txt:
8105         * gst/gstelement.c:
8106         * gst/gstutils.c: (gst_type_register_static_full):
8107         Beef up and include the docs for gst_type_register_static_full and
8108         gst_element_class_set_details_simple and add the API keyword
8109         in the ChangeLog.
8110
8111 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8112
8113         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8114         (update_time_level), (gst_single_queue_push_one),
8115         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8116         (single_queue_overrun_cb), (single_queue_underrun_cb),
8117         (single_queue_check_full):
8118         Fix setting max-* properties after adding queues.
8119         Use IS_FILLED for checking visible items.
8120         Signal overrun if multiple queues overrun.
8121         Add extra debug output.
8122         Patch by: Wim Taymans <wim@fluendo.com>
8123
8124 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8125
8126         * gst/gstelement.c: (gst_element_class_set_details_simple):
8127         * gst/gstelement.h:
8128         * gst/gstutils.c: (gst_type_register_static_full):
8129         * gst/gstutils.h:
8130         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8131         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8132         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8133         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8134         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8135         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8136         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8137         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8138         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8139         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8140         (apply_buffer), (gst_queue_chain):
8141         * plugins/elements/gsttee.c: (gst_tee_base_init):
8142         * plugins/elements/gsttypefindelement.c:
8143         (gst_type_find_element_base_init),
8144         (gst_type_find_element_class_init):
8145           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8146           API: add gst_type_register_static_full
8147           API: add gst_element_class_set_details_simple
8148
8149 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8150
8151         * docs/pwg/advanced-types.xml:
8152           Fix typo in iana.org URI.
8153
8154 2007-06-19  Andy Wingo  <wingo@pobox.com>
8155
8156         * tests/check/pipelines/simple-launch-lines.c
8157         (test_state_change_returns): Enable pull-mode tests now that
8158         basesink has been fixed.
8159
8160         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8161         Changed from gst_base_sink_is_prerolled, reversing the sense of
8162         the return value. Returns FALSE also if the sink is in pull mode,
8163         in which case it needs no preroll.
8164         (gst_base_sink_query, gst_base_sink_change_state): Update for
8165         needs_preroll change.
8166         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8167         chaining up, in which we return SUCCESS directly if we activated
8168         in pull mode instead of ASYNC. Involves countering an async_start
8169         message sent before chaining up; not sure if this is correct, in
8170         an ideal world we only send async-start when activating in push
8171         mode.
8172
8173         * tests/check/pipelines/simple-launch-lines.c
8174         (test_state_change_returns): New test, partially disabled until
8175         basesink is fixed.
8176
8177 2007-06-19  Wim Taymans  <wim@fluendo.com>
8178
8179         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8180         (gst_multi_queue_sink_event):
8181         Fix event leak.
8182
8183 2007-06-19  Wim Taymans  <wim@fluendo.com>
8184
8185         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8186         (gst_bin_change_state_func), (bin_push_state_continue),
8187         (bin_handle_async_start), (bin_handle_async_done),
8188         (gst_bin_handle_message_func):
8189         Move the common code for posting state-change messages into
8190         one function.
8191         Broadcast the state signal after we posted the messages.
8192         Mark the bin as busy when it's doing a state-change.
8193         Make sure async-start/done messages don't interfere with the bin's
8194         state when it's busy.
8195         After the state change, let the bin check which elements completed the
8196         state change while it was busy so that it can update its state.
8197
8198 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8199
8200         * docs/random/release:
8201         Add a note about updating the doap file to the release checklist
8202
8203 2007-06-18  Wim Taymans  <wim@fluendo.com>
8204
8205         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8206         (gst_single_queue_push_one), (gst_multi_queue_chain),
8207         (gst_multi_queue_sink_event):
8208         Make sure we don't reference the buffer/event after we have given away
8209         ownership in the queue.
8210
8211 2007-06-18  Wim Taymans  <wim@fluendo.com>
8212
8213         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8214         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8215         Update queue state _after_ adding the item in the queue because else we
8216         could end up being full without the element added yet.
8217
8218 2007-06-18  Wim Taymans  <wim@fluendo.com>
8219
8220         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8221         (gst_bin_remove_func), (gst_bin_get_state_func),
8222         (gst_bin_element_set_state), (gst_bin_continue_func),
8223         (bin_push_state_continue), (bin_handle_async_start),
8224         (bin_handle_async_done), (gst_bin_handle_message_func):
8225         * gst/gstbin.h:
8226         Immediatly commit the toplevel bin state when receiving an async-done
8227         message. This enables us to avoid spawning a thread to commit the state
8228         in some common cases and it also avoids some races.
8229         Avoid spawning a state thread when adding/removing async elements to a
8230         toplevel bin. Instead we immediatly update the bin state.
8231         Get rid of iterating all the children when getting the state in the bin
8232         because it is now always up-to-date.
8233         Fix bug where locked elements would always return _SUCCESS even it they
8234         returned NO_PREROLL before being locked.
8235         Fix the order of the state_change, async-start/done messages that was
8236         sometimes incorrect.
8237         Mark the state_dirty field as deprecated, we don't need it anymore as we
8238         are always up-to-date.
8239
8240         * gst/gstelement.c: (gst_element_get_state_func),
8241         (gst_element_continue_state):
8242         Small debug inprovements.
8243         Return the previous element state return when nothing is pending instead
8244         of blindly returning SUCCESS.
8245
8246         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8247         (gst_sinks_suite):
8248         Add a whole bunch of new testcases.
8249
8250 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8251
8252         * po/uk.po:
8253         * po/vi.po:
8254           Update translations.
8255
8256 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8257
8258         * gst/gstpad.c:
8259         Fix typo in the docs.
8260
8261 2007-06-15  Wim Taymans  <wim@fluendo.com>
8262
8263         * docs/libs/gstreamer-libs-sections.txt:
8264         Add docs for new methods.
8265
8266 2007-06-15  Wim Taymans  <wim@fluendo.com>
8267
8268         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8269         (gst_multi_queue_item_new):
8270         Don't use GSlice because we don't depend on >= 2.10 yet.
8271
8272 2007-06-15  Wim Taymans  <wim@fluendo.com>
8273
8274         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8275         (update_time_level), (apply_segment), (apply_buffer),
8276         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8277         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8278         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8279         (single_queue_underrun_cb), (single_queue_check_full):
8280         Remove debug printf.
8281
8282 2007-06-15  Wim Taymans  <wim@fluendo.com>
8283
8284         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8285         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8286         (gst_data_queue_set_flushing), (gst_data_queue_push),
8287         (gst_data_queue_pop), (gst_data_queue_drop_head),
8288         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8289         * libs/gst/base/gstdataqueue.h:
8290         Various cleanups.
8291         Added methods to get the current levels and to inform the queue that the
8292         'full' limits changed.
8293
8294         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8295         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8296         (gst_single_queue_flush), (update_time_level), (apply_segment),
8297         (apply_buffer), (gst_single_queue_push_one),
8298         (gst_multi_queue_item_steal_object),
8299         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8300         (gst_multi_queue_loop), (gst_multi_queue_chain),
8301         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8302         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8303         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8304         (single_queue_underrun_cb), (single_queue_check_full),
8305         (gst_single_queue_new):
8306         Keep track of time in the queue by measuring the difference between
8307         running_time on input and output. This gives more accurate results and
8308         can compensate for segments correctly.
8309         Make a queue by default only 5 buffers deep. We will now increase the
8310         buffer size depending on the filledness of the other queues.
8311         Factor out commong flush code.
8312         Make sure we don't add additional refcounts to buffers when we can avoid
8313         it.
8314         Propagate GstFlowReturn differently.
8315         Use GSlice for intermediate GstMultiQueueItems.
8316         Keep track of EOS.
8317         Resize queues on over and underruns based on filled level of other
8318         queues.
8319         When checking if the queue is filled, prefer to measure in time if we
8320         can and fall back to bytes when no time is known.
8321
8322         * plugins/elements/gstqueue.c:
8323         Fix return value.
8324
8325 2007-06-15  Wim Taymans  <wim@fluendo.com>
8326
8327         * libs/gst/base/gstbasetransform.c:
8328         (gst_base_transform_sink_event):
8329         Work around the brokenness of the event vmethod in basetransform. Prefer
8330         to return TRUE when the subclass returned FALSE (meaning don't forward
8331         the event). 
8332
8333         * libs/gst/base/gstbasetransform.h:
8334         Clarify the docs.
8335
8336 2007-06-15  Wim Taymans  <wim@fluendo.com>
8337
8338         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8339         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8340         (gst_base_src_default_query), (gst_base_src_get_range),
8341         (gst_base_src_start):
8342         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8343         Improve debugging.
8344
8345 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8346
8347         * docs/pwg/advanced-types.xml:
8348           Added more formats to caps table.
8349
8350 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8351
8352         * tools/gst-launch.c: (main):
8353           Remove crufy code. GOption does not need this workaround.
8354
8355 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8356
8357         * libs/gst/controller/gstcontroller.c:
8358         (gst_controlled_property_set_interpolation_mode):
8359           Fix wrong getter for enums in controller.
8360
8361 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8362
8363         * libs/gst/check/gstcheck.c: (gst_check_init):
8364           Intercept criticals and warnings in the Gst-Phonon log domain, so
8365           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8366           well.
8367         
8368 2007-06-14  Edward Hervey  <edward@fluendo.com>
8369
8370         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8371         Since this file doesn't include "gst.h" it will not go through the
8372         macros that disable GST_LOG if debugging was disabled.
8373
8374 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8375
8376         * libs/gst/check/Makefile.am:
8377         * libs/gst/check/gstcheck.h:
8378         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8379         * pkgconfig/gstreamer-check.pc.in:
8380           Ugly 'fix' for the controller unit test on the p5 bot: in
8381           fail_unless_equals_float() check whether the values are 'almost
8382           equal' by allowing a small absolute error, which should be good
8383           enough for our use cases (normal numbers and values close to 0).
8384           Proper fixage left to floating point arithmetic aficionados.
8385
8386 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8387
8388         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8389         (gst_base_sink_render_object), (gst_base_sink_get_position):
8390           Add two breaks thats where missing.
8391
8392 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8393
8394         * docs/libs/gstreamer-libs-sections.txt:
8395         * libs/gst/check/gstcheck.h:
8396           API: add fail_unless_equals_float() and assert_equals_float().
8397           Add documentation for some of the macros.
8398
8399         * tests/check/libs/controller.c: (GST_START_TEST):
8400           Use newly-added asserts.
8401
8402 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8403
8404         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8405           Show the caps change in the log to help spotting the case of not
8406           exactly matching caps.
8407
8408 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8409
8410         * docs/pwg/building-boiler.xml:
8411           Fix typos, spotted by Thijs Vermeir (#447190).
8412
8413 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8414
8415         * docs/plugins/tmpl/.cvsignore:
8416         Ignore file to keep the buildbots happy
8417
8418 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8419
8420         * docs/plugins/Makefile.am:
8421         * docs/plugins/gstreamer-plugins-docs.sgml:
8422         * docs/plugins/gstreamer-plugins-sections.txt:
8423         Pull fdsink into the docs too.
8424
8425 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8426
8427         * libs/gst/controller/gstinterpolation.c:
8428         Actually use the new functions with min/max checks for the trigger and
8429         none interpolation modes for get() and get_value_array() instead of
8430         just the latter.
8431
8432 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8433
8434         * libs/gst/controller/gstcontroller.c:
8435         (gst_controlled_property_free):
8436         Unset the minimum and maximum GValues when freeing the corresponding
8437         GstControllerProperty struct.
8438
8439 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8440
8441         * libs/gst/controller/gstcontroller.c:
8442         (gst_controlled_property_new):
8443         * libs/gst/controller/gstcontrollerprivate.h:
8444         * libs/gst/controller/gstinterpolation.c:
8445         (gst_controlled_property_find_control_point_node),
8446         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8447         (interpolate_none_get_string_value_array),
8448         (interpolate_trigger_get),
8449         (interpolate_trigger_get_enum_value_array),
8450         (interpolate_trigger_get_string_value_array):
8451         Protect against values larger or smaller than the minimum or maximum
8452         allowed value for the property when using values that can be compared.
8453
8454         Optimize trigger interpolator a bit by taking the last requested value
8455         into account instead of always looping through the complete list.
8456
8457         Fix coding style a bit, everywhere else we use "return foo" instead
8458         of "return (foo)".
8459         
8460         * tests/check/libs/controller.c: (GST_START_TEST),
8461         (gst_controller_suite):
8462         Add unit test for the protection against too large or too small
8463         values.
8464
8465 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8466
8467         * docs/random/slomo/controller.txt:
8468         Add some thoughts about the future of the controller.
8469
8470 2007-06-08  Wim Taymans  <wim@fluendo.com>
8471
8472         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8473         Don't overflow in retimestamping code.
8474
8475 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8476
8477         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8478         Use gst_util_guint64_to_gdouble for conversions.
8479         * win32/common/libgstreamer.def:
8480         Add new exported functions.
8481
8482 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8483
8484         * gst/gstutils.c:
8485           Small docs addition.
8486
8487 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8488
8489         * README:
8490           Remove that test line again.
8491
8492 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8493
8494         * README:
8495           Test commit mail sending.
8496
8497 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8498
8499         * configure.ac:
8500           Fix typo and test commit mail sending.
8501
8502 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8503
8504         * tests/examples/controller/audio-example.c:
8505           Improve comment and test commit mail sending.
8506
8507 2007-06-07  Wim Taymans  <wim@fluendo.com>
8508
8509         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8510         (gst_bin_remove_func), (gst_bin_element_set_state),
8511         (bin_handle_async_start), (bin_handle_async_done),
8512         (gst_bin_handle_message_func):
8513         Add helper function to find messages.
8514         Generate the async-done messages together with the state change
8515         messages.
8516         Small cleanups in handling toplevel bins.
8517
8518 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8519
8520         * libs/gst/base/gstdataqueue.c:
8521         * libs/gst/base/gstdataqueue.h:
8522         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8523         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8524         (gst_multi_queue_sink_event):
8525         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8526           Fix multiqueue leaking buffers and events when downstream or the
8527           queue are flushing. Make refcounting assumptions explicit and
8528           document them (shouldn't break existing code that uses it other than
8529           maybe leak miniobjects, but that already happens anyway). Add unit
8530           test for the most common flushing case. Fixes #423700.
8531           
8532 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8533
8534         * libs/gst/controller/gstcontroller.c:
8535         Clarify docs: The get_all, get_value_array(s) functions
8536         don't modify the GObject properties.
8537
8538 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8539
8540         * libs/gst/controller/gstcontroller.c:
8541         (gst_controlled_property_set_interpolation_mode),
8542         (gst_controlled_property_prepend_default),
8543         (gst_controlled_property_new), (gst_controller_set_unlocked),
8544         (gst_controller_set), (gst_controller_set_from_list),
8545         (gst_controller_unset), (gst_controller_unset_all):
8546         * libs/gst/controller/gstcontrollerprivate.h:
8547         * libs/gst/controller/gstinterpolation.c:
8548         Factor out the 'set' logic into gst_controller_set_unlocked for the
8549         gst_controller_set and gst_controller_set_from_list functions.
8550
8551         To make life of the interpolators easier always add a control point
8552         at timestamp zero with the default value.
8553
8554         In the linear interpolator make things more obvious by better variable
8555         naming (slope).
8556
8557         Implement cubic interpolation mode (by using a natural cubic spline)
8558         and map the quadratic interpolation mode to this too (as quadratic
8559         doesn't make much sense, see discussion on the list).
8560
8561         * tests/check/libs/controller.c: (GST_START_TEST),
8562         (gst_controller_suite):
8563         Add unit test for the cubic interpolation mode and check everywhere
8564         if the interpolation mode could be set as expected.
8565
8566 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8567
8568         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8569           Don't use GLib-2.10 functions, we still depend on
8570           GLib-how-old-is-it-again-2.8.
8571
8572 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8573
8574         * docs/gst/gstreamer-sections.txt:
8575         * gst/Makefile.am:
8576         * gst/gst.c:
8577         * gst/gst.h:
8578         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8579         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8580         (_gst_param_fraction_values_cmp),
8581         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8582         * gst/gstparamspecs.h:
8583         * gst/gstvalue.c:
8584         * tests/check/Makefile.am:
8585         * tests/check/gst/.cvsignore:
8586         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8587         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8588         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8589         (GST_START_TEST), (gst_param_spec_suite):
8590           API: add GstParamSpecFraction, so elements can have fraction
8591           properties without lots of painful string parsing (#444648).
8592
8593 2007-06-05  Wim Taymans  <wim@fluendo.com>
8594
8595         * gst/gstobject.c: (gst_object_class_init):
8596         Fix signal signature.
8597
8598         * gst/gstsegment.c:
8599         Add small clarification in the api docs.
8600
8601         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8602         States are protected with object lock.
8603
8604 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8605
8606         * AUTHORS:
8607         I should probably be listed as an author by now.
8608
8609         * docs/random/release:
8610         Update the release doc
8611
8612 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8613
8614         * gst/gstvalue.c:
8615           Make docs for gst_value_compare() mention return enums that
8616           actually exist.
8617
8618 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8619
8620         * configure.ac:
8621           Back to CVS
8622
8623 === release 0.10.13 ===
8624
8625 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8626
8627         * configure.ac:
8628           releasing 0.10.13, "With or without you"
8629
8630 2007-05-25  Wim Taymans  <wim@fluendo.com>
8631
8632         * gst/gstbin.c: (bin_handle_async_done):
8633         Make sure that the child bin stops after completing the async state
8634         change so that the parent can continue the state change to PLAYING.
8635         Fixes #441159.
8636
8637 2007-05-25  Wim Taymans  <wim@fluendo.com>
8638
8639         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8640         (unref_data), (gst_collect_pads_remove_pad),
8641         (gst_collect_pads_check_pads):
8642         Use additional refcounting to avoid crashes when dynamically adding and
8643         removing pads. Fixes #420206.
8644
8645 2007-05-24  Wim Taymans  <wim@fluendo.com>
8646
8647         * tools/gst-launch.c: (event_loop):
8648         When buffering goes from a two digit to a single digit number, make sure
8649         to remove the old second digit by writing a blank over it.
8650
8651 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8652
8653         * libs/gst/base/gstdataqueue.c:
8654           Eliminate tabs and trailing comma in enum list; fix some typos.
8655
8656 2007-05-24  Wim Taymans  <wim@fluendo.com>
8657
8658         * tests/check/gst/gstbin.c: (GST_START_TEST):
8659         Allow refcount of 3 and 4 because some state thread might still be busy
8660         with it.
8661
8662 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8663
8664         * plugins/elements/Makefile.am:
8665         * plugins/elements/gstmultiqueue.h:
8666         * plugins/elements/gstqueue.h:
8667           These are not installed headers, no need for padding.
8668
8669 2007-05-24  Wim Taymans  <wim@fluendo.com>
8670
8671         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8672         (gst_bin_continue_func):
8673         Enable latency for next release.
8674         Restore STATE_LOCK around recalc_state that was left out during the
8675         rewrite and could result in racy behaviour when _get_state and
8676         recalc_state are run concurrently. See #440463.
8677
8678 2007-05-23  Wim Taymans  <wim@fluendo.com>
8679
8680         * tests/check/gst/gstsystemclock.c: (store_callback),
8681         (GST_START_TEST):
8682         Improve test_async_order to also work when both timers are already
8683         expired when we get scheduled to check it.
8684
8685 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8686
8687         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8688         (gst_bin_set_property), (gst_bin_get_property),
8689         (gst_bin_remove_func), (gst_bin_handle_message_func):
8690         * gst/gstbin.h:
8691           'private' is a c++ keyword, let's not use that in header files,
8692           otherwise c++ compilers will throw a tantrum.
8693
8694 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8695
8696         * plugins/elements/gstelements.c:
8697         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8698         (gst_file_sink_get_current_offset):
8699         * plugins/indexers/gstindexers.c: (plugin_init):
8700           Use #ifdef for HAVE_XYZ for consistency.
8701
8702         * tests/check/Makefile.am:
8703         * tests/check/elements/.cvsignore:
8704         * tests/check/elements/filesink.c: (setup_filesink),
8705         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8706           Add some unit tests for filesink.
8707
8708 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8709
8710         Patch by: Mark Nauwelaerts <manauw at skynet be>
8711
8712         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8713         (gst_file_sink_query), (gst_file_sink_do_seek),
8714         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8715         * plugins/elements/gstfilesink.h:
8716           Fix position reporting; rename data_written member to current_pos to
8717           reflect its real meaning (fixes #412648).
8718
8719 2007-05-22  Edward Hervey  <edward@fluendo.com>
8720
8721         * docs/gst/gstreamer-sections.txt:
8722         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8723         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8724         (gst_bin_remove_func), (gst_bin_handle_message_func):
8725         * gst/gstbin.h:
8726         Add a property for bins that handle the state change of their childs.
8727         Fixes #435880
8728
8729 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8730
8731         * libs/gst/controller/gstinterpolation.c:
8732         Use an array of the correct type when using _get_value_array with
8733         linear interpolation.
8734
8735 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8736
8737         * gst/gstelement.c (gst_element_requires_clock,
8738           gst_element_provides_clock, gst_element_request_pad,
8739           gst_element_class_set_details, gst_element_class_set_details_simple,
8740           gst_element_default_send_event, gst_element_abort_state,
8741           gst_element_continue_state, gst_element_set_state,
8742           gst_element_set_state_func, iterator_activate_fold_with_resync):
8743         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8744           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8745           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8746           gst_pad_get_range, gst_pad_pull_range):
8747         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8748           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8749           GstPadActivateModeFunction, GstPadChainFunction,
8750           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8751           GstPadFixateCapsFunction, GstPadTemplate):
8752         * gst/gstpipeline.c (gst_pipeline_change_state,
8753           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8754           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8755           gst_pipeline_get_delay):
8756           Whitespace and docs fixes.
8757
8758 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8759
8760         * libs/gst/controller/gstinterpolation.c:
8761         (interpolate_trigger_get_enum_value_array),
8762         (interpolate_trigger_get_string_value_array):
8763         Add support for retrieving value arrays when using the trigger
8764         interpolation mode. 
8765
8766 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8767
8768         * libs/gst/controller/gstcontroller.c:
8769         (gst_controller_get_value_array):
8770         * libs/gst/controller/gstcontroller.h:
8771         Clarify the docs of gst_controller_get_value_array(): The array where
8772         the values should be written to must be allocated as there seems to be
8773         no way to get the size of a random GType. This doesn't change any
8774         behaviour. Also fix some typos all over the place and remove an unused,
8775         commented function that is not necessary as g_object_set() could be
8776         used instead.
8777         * tests/check/libs/controller.c: (GST_START_TEST),
8778         (gst_controller_suite):
8779         Add unit test for gst_controller_get_value_array().
8780
8781 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8782
8783         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8784
8785         Disable part of the gst_buffer_try_new_and_alloc test, because
8786         it can happily succeed on 64-bit systems where there's more address
8787         space available.
8788
8789 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8790
8791         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8792         Add unit test for the improved caps checking from bug #421543.
8793
8794 2007-05-21  Wim Taymans  <wim@fluendo.com>
8795
8796         * docs/design/part-synchronisation.txt:
8797         Small addition.
8798
8799         * gst/gstbin.c: (gst_bin_query):
8800         * plugins/elements/gstqueue.c: (apply_segment):
8801         Improve debugging.
8802
8803         * gst/gstmessage.h:
8804         Improve docs.
8805
8806 2007-05-21  Wim Taymans  <wim@fluendo.com>
8807
8808         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8809         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8810         (gst_pad_configure_src):
8811         Added simple version of improved caps checking. It was previously
8812         assumed that a setcaps function would check the validity of the caps but
8813         people prefer us to check caps against the template automatically. 
8814         Fixes #421543.
8815
8816 2007-05-21  Wim Taymans  <wim@fluendo.com>
8817
8818         * libs/gst/base/gstbasetransform.h:
8819         Fix macro for locking/unlocking the transform lock.
8820
8821 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8822
8823         * docs/plugins/tmpl/.cvsignore:
8824           Ignore more.
8825
8826 2007-05-18  Edward Hervey  <edward@fluendo.com>
8827
8828         * plugins/elements/gstqueue.c: (gst_queue_loop):
8829         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8830         for the subtle art of warning a potentially blocking thread that it
8831         should check the source pad return value, and relay the information
8832         upstream.
8833
8834 2007-05-18  Edward Hervey  <edward@fluendo.com>
8835
8836         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8837         Release the queue lock !
8838
8839 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8840
8841         * docs/libs/gstreamer-libs-sections.txt:
8842         Add the two new controller functions to the appropiate places.
8843
8844 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8845
8846         reviewed by: Stefan Kost <ensonic@users.sf.net>
8847
8848         * libs/gst/controller/gstcontroller.c:
8849         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8850         (_gst_controller_get_property), (_gst_controller_set_property),
8851         (_gst_controller_init), (_gst_controller_class_init):
8852         * libs/gst/controller/gstcontroller.h:
8853         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8854         (gst_object_get_control_rate), (gst_object_set_control_rate):
8855         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8856         Add API that provides sync suggestion timestamps for elements that
8857         call gst_object_sync_values() from which those elements can subdivide
8858         their processing loop to get the best results for the controlled
8859         properties. For now it just suggests last_sync + control_rate as
8860         new timestamp but this will be improved in the future.
8861
8862         While doing that change the control-rate property to a GstClockTime
8863         from guint and change it's meaning from samples to nanoseconds as
8864         the GstController doesn't know anything about sampling rate. Strictly
8865         speaking this breaks ABI but as the control-rate property didn't do
8866         anything in the past and as such couldn't be used this should be no
8867         problem.        
8868
8869 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8870
8871         reviewed by: Stefan Kost <ensonic@users.sf.net>
8872
8873         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8874         (gst_controller_unset_all):
8875         * libs/gst/controller/gstcontrollerprivate.h:
8876         * libs/gst/controller/gstinterpolation.c:
8877         (gst_controlled_property_find_control_point_node):
8878         Save last synced value from the list to continue searching from there
8879         in future syncs. This speeds everything up a bit.
8880         
8881 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8882
8883         reviewed by: Stefan Kost <ensonic@users.sf.net>
8884
8885         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8886         (gst_control_point_find), (gst_controlled_property_new),
8887         (gst_control_point_free), (gst_controlled_property_free),
8888         (gst_controller_set), (gst_controller_set_from_list),
8889         (gst_controller_unset), (gst_controller_unset_all),
8890         (gst_controller_sync_values):
8891         * libs/gst/controller/gstcontroller.h:
8892         * libs/gst/controller/gstcontrollerprivate.h:
8893         * libs/gst/controller/gstinterpolation.c:
8894         (gst_controlled_property_find_control_point_node),
8895         (interpolate_none_get), (interpolate_trigger_get):
8896         Add a new private GstControlPoint struct which "inherits" from
8897         GstTimedValue to allow different interpolators to store internal
8898         values next to each control point. From the outside everything is
8899         still a GstControlPoint so we don't loose binary compatibility.
8900         Also fixup all the GValue handling to not leak GValues or list nodes.
8901         * tests/check/libs/controller.c: (GST_START_TEST):
8902         Free the list nodes and GValues in the controller_misc test.
8903
8904 2007-05-17  Edward Hervey  <edward@fluendo.com>
8905
8906         * gst/gstsegment.c:
8907         Small doc fix.
8908
8909 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8910
8911         * gst/gstplugin.c: (gst_plugin_load_file):
8912           If we fail to load a plugin because of unresolved symbols or missing
8913           libraries and spew a warning to stderr, we may just as well mention
8914           which plugin it was that failed to load.
8915
8916 2007-05-13  David Schleef  <ds@schleef.org>
8917
8918         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8919           handles the case when ENABLE_GTK_DOC is false, and installs
8920           the prebuilt documentation.  So gtk-doc subdirs are 
8921           unconditionally enabled.  Fixes: #349099.
8922
8923 2007-05-13  David Schleef  <ds@schleef.org>
8924
8925         * gst/gstutils.h: Reword some documentation.
8926
8927 2007-05-12  David Schleef  <ds@schleef.org>
8928
8929         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8930           do anything with the passed "module" parameter, so remove it.
8931           Allows removal of additional vestigal code.
8932
8933 2007-05-12  David Schleef  <ds@schleef.org>
8934
8935         * gst/gstplugin.c:
8936           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8937           Switch to using g_stat() because it's more portable.
8938
8939 2007-05-12  David Schleef  <ds@schleef.org>
8940
8941         * gst/gst.c:
8942           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8943           parsing for embedded systems.
8944         * gst/gstelementfactory.c:
8945           Allow gst_element_register() to be called with plugin==NULL.
8946           Did nobody notice that static elements were broken?
8947
8948 2007-05-12  Wim Taymans  <wim@fluendo.com>
8949
8950         * tools/gst-launch.c: (event_loop):
8951         Give more interesting info when buffering starts and stops.
8952         Fix case where buffering starts but we fail to update the buffering flag
8953         because the target state is not PLAYING.
8954
8955 2007-05-12  Wim Taymans  <wim@fluendo.com>
8956
8957         * plugins/elements/gstqueue.c: (gst_queue_init),
8958         (gst_queue_finalize), (update_time_level), (apply_segment),
8959         (apply_buffer), (gst_queue_locked_flush),
8960         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8961         (gst_queue_handle_sink_event), (gst_queue_chain),
8962         (gst_queue_push_one), (gst_queue_loop):
8963         * plugins/elements/gstqueue.h:
8964         Refactor an cleanup queue a bit.
8965         Do better time level calculations that also work when the srcpad is not
8966         yet running.
8967         Remove some unneeded debug lines.
8968
8969         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8970         Added testcase for time level measurement.
8971         Try to make some stuff more racefree.
8972
8973 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8974
8975         * gst/gsturi.c: (gst_element_make_from_uri):
8976           Don't leak plugin feature.
8977
8978         * tests/check/Makefile.am:
8979         * tests/check/gst/.cvsignore:
8980         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
8981           Add brain-dead unit test.
8982
8983 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         Patch by: Jeroen Wouters <woutersj at gmail com>
8986
8987         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
8988           Treat protocol strings in a case-insensitive way (#437563).
8989
8990 2007-05-11  Michael Smith <msmith@fluendo.com>
8991
8992         * gst/gstplugin.c: (gst_plugin_load_file):
8993         * gst/gstregistry.c: (gst_registry_scan_path_level):
8994           Don't print a g_warning for any failure to load a shared object.
8995           Instead, push this down into gstplugin.c, and warn _only_ if we
8996           failed to open the module (i.e. failure to link).
8997           Avoids warnings on normal, working, non-plugin .so files.
8998
8999 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9000
9001         * gst/gstplugin.c (gst_plugin_load_file):
9002         * gst/gstregistry.c (GST_CAT_DEFAULT,
9003           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9004           Print a g_warning if there was an error when loading a plugins during
9005           registry scan. The shuld help beginners starting with gst-plugin
9006           template.
9007
9008 2007-05-10  Wim Taymans  <wim@fluendo.com>
9009
9010         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9011         (update_time_level), (gst_queue_locked_flush),
9012         (gst_queue_handle_sink_event), (gst_queue_chain),
9013         (gst_queue_push_one), (gst_queue_loop):
9014         * plugins/elements/gstqueue.h:
9015         Be smarter when calculating the current amount of data in the queue by
9016         measuring the difference between start and end timestamps (in running
9017         time) inside the queue. Fixes #432876.
9018         API: GstQueue::pushing to notify elements that we are pushing data again
9019         since the running signal is rather broken for this purpose.
9020
9021 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9022
9023         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9024           gst_queue_base_init, gst_queue_init):
9025           use GST_BOILERPLATE
9026
9027 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9028
9029         * win32/common/libgstreamer.def:
9030         Add new exported functions.
9031         * win32/vs6/grammar.dsp:
9032         Use grammar pre-generated files.
9033
9034 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9037
9038         * gst/Makefile.am:
9039         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9040         * gst/gstparse.h:
9041         * gst/gstutils.c: (gst_parse_bin_from_description):
9042         * gst/gstutils.h:
9043           Maintain API and ABI when --disable-parse is used. Now that
9044           we have an appropriate error code, we can just return NULL and the
9045           appropriate error when gst_parse_launch() is used despite it having
9046           been disabled (#342564).
9047
9048         * tests/check/Makefile.am:
9049         * tests/check/pipelines/.cvsignore:
9050         * tests/check/pipelines/parse-disabled.c:
9051           Make sure these functions exist and return NULL plus a GError when
9052           --disable-parse is used.
9053
9054 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * tests/benchmarks/complexity.c: (main):
9057         * tests/benchmarks/mass-elements.c: (main):
9058           Set a good example and don't leak messages.
9059
9060 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9061
9062         * docs/gst/Makefile.am:
9063         * docs/libs/Makefile.am:
9064           Correct fixxrefs options.
9065
9066         * docs/plugins/Makefile.am:
9067         * docs/plugins/gstreamer-plugins-docs.sgml:
9068         * docs/plugins/gstreamer-plugins-sections.txt:
9069         * plugins/elements/Makefile.am:
9070         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9071         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9072           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9073           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9074           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9075           _GstCapsFilterClass, trans_class):
9076         * plugins/elements/gstelements.c (name, rank, type, _elements):
9077         * plugins/elements/gstidentity.c
9078           (gst_identity_check_imperfect_timestamp,
9079           gst_identity_check_imperfect_offset):
9080           Document capsfilter and add doc-blurb to identity.
9081
9082 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         * libs/gst/controller/gstcontroller.c:
9085         (gst_controlled_property_set_interpolation_mode):
9086         * libs/gst/controller/gstinterpolation.c:
9087           Don't crash if someone tries to set an interpolation mode that
9088           is invalid or that isn't supported yet. Fixes #422295.
9089
9090         * tests/check/libs/controller.c: (GST_START_TEST),
9091         (gst_controller_suite):
9092           Add a test case for the above.
9093
9094 2007-05-03  Edward Hervey  <edward@fluendo.com>
9095
9096         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9097         Properly set the last_stop position on GstSegment. This will only happen
9098         if there is a buffer to push out.
9099
9100 2007-05-03  Wim Taymans  <wim@fluendo.com>
9101
9102         * libs/gst/base/gstbasetransform.c:
9103         (gst_base_transform_buffer_alloc):
9104         always_in_place does not mean that the sink and source caps are the
9105         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9106
9107 2007-05-03  Wim Taymans  <wim@fluendo.com>
9108
9109         * docs/libs/gstreamer-libs-sections.txt:
9110         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9111         (gst_base_src_default_query), (gst_base_src_get_range):
9112         * libs/gst/base/gstbasesrc.h:
9113         API: gst_base_src_query_latency(). Added method so that subclasses can
9114         easily get the latency values of the base source class.
9115
9116 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9117
9118         * tools/gst-inspect.c (print_implementation_info):
9119         Remove 0.8 cruft.
9120
9121 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9122
9123         * tools/Makefile.am:
9124         * tools/gst-launch.1.in:
9125           Don't create a customised man page based on the host architecture,
9126           describe the default registry path generically. That way the man
9127           page is the same for all architectures and packagers have one
9128           multilib issue less to deal with. Fixes #434926.
9129
9130 2007-05-02  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstpad.c:
9133         Fix documentation as spotted by rg on IRC. 
9134
9135 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9136
9137         * gst/gstutils.c:
9138           Improve docs for gst_element_{link,unlink}.
9139
9140 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         * docs/design/part-events.txt:
9143         * docs/design/part-overview.txt:
9144         * gst/gstevent.c:
9145         * gst/gsturi.c:
9146         * gst/gsturi.h:
9147         * libs/gst/base/gstbasesink.c:
9148           Typo fixes; minor docs addition.
9149
9150 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9151
9152         * docs/gst/gstreamer-sections.txt:
9153         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9154         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9155         * gst/gsturi.h:
9156         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9157         or src that supports a given URI protocol exists.
9158
9159 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9160
9161         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9162         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9163         Set the location to NULL if "file://" is set as URI. Otherwise
9164         some random previous URI would still be set if "file://" is
9165         set on an already used filesink/filesrc.
9166
9167 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9168
9169         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9170         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9171         Special case the "file://" URI as as this is used by some
9172         applications to test with gst_element_make_from_uri if there's
9173         an element that supports the URI protocol.
9174         Also move the g_path_is_absolute() check for the location part
9175         of the URI to also check this for "file://localhost/bla" URIs.
9176
9177 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9178
9179         * docs/gst/gstreamer-sections.txt:
9180         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9181         * gst/gstbuffer.h:
9182         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9183         (gst_buffer_suite):
9184           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9185
9186 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9187
9188         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9189         (gst_registry_binary_load_pad_template),
9190         (gst_registry_binary_load_plugin),
9191         (gst_registry_binary_read_cache):
9192         * gst/gstregistrybinary.h:
9193           Implement no-mmap alternative for registry reading. Do code cleanups.
9194           Add more comments about avoiding strdups for all text data. Comments
9195           welcome.
9196
9197 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9198
9199         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9200           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9201           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9202           Comment structs and reformat to fix the build (that stuff should go
9203           into a priv. header).
9204
9205 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9206
9207         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9208         (gst_registry_binary_load_feature):
9209         * gst/gstregistrybinary.h:
9210           Refactor so that we can implement multiple features. Add support for
9211           TypeFindFactory features.
9212
9213 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9214
9215         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9216
9217         * configure.ac:
9218           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9219
9220 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9221
9222         * gst/gstbin.c: (gst_bin_element_set_state),
9223         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9224         (bin_handle_async_done), (gst_bin_handle_message_func):
9225           Fix build with --gst-disable-gst-debug
9226
9227 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9228
9229         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9230           Make sure streaming has finished before calling the ::stop() vfunc,
9231           since that vfunc might clear state which is being used in the
9232           streaming thread. This fixes a race that caused crashes in
9233           audioresample when shutting down a pipeline (#420106).
9234
9235 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * docs/gst/gstreamer-sections.txt:
9238           That was one byte missing.
9239
9240 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9241
9242         * configure.ac:
9243         * docs/gst/gstreamer-sections.txt:
9244         * gst/Makefile.am:
9245         * gst/gstconfig.h.in:
9246         * gst/gstobject.c: (gst_object_class_init),
9247         (gst_signal_object_class_init):
9248         * gst/gstobject.h:
9249           2nd attempt to have a xml-less build as a joined effort of #413123
9250           and #421480.
9251
9252 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9253
9254         * docs/design/draft-tagreading.txt:
9255           Added open issues/thoughts to draft.
9256
9257 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9258
9259         * gst/parse/grammar.tab.pre.c:
9260         * gst/parse/grammar.tab.pre.h:
9261         * gst/parse/lex._gst_parse_yy.pre.c:
9262         Update the prebuild parser sources.
9263
9264 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9265
9266         * gst/parse/Makefile.am:
9267         And now fix the building of the flex sources. Now everything should
9268         work as expected.
9269
9270 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9271
9272         * gst/parse/Makefile.am:
9273         Now hopefully fix the build failures by setting proper rule
9274         dependencies and moving instead of copying.
9275
9276 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9277
9278         * tests/benchmarks/complexity.gnuplot:
9279         * tests/benchmarks/complexity.scm:
9280         * tests/benchmarks/mass-elements.gnuplot:
9281         * tests/benchmarks/mass-elements.scm:
9282           Total licensification.
9283
9284 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9285
9286         * gst/parse/Makefile.am:
9287           Fix the build by correcting the rule that gave wrong files to flex.
9288
9289 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9290
9291         * tests/benchmarks/complexity.c:
9292         * tests/benchmarks/mass-elements.c:
9293           Change licence to LGPL as granted by Benjamin and Andy.
9294
9295 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9296
9297         * gst/parse/Makefile.am:
9298         Add correct grammar.tab.h dependency if compiling without new enough
9299         flex. Fixes #431150.
9300
9301 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9302
9303         * gst/parse/Makefile.am:
9304         Fix typo and use outdated sources if the flex/bison sources are newer
9305         than the pregenerated ones but flex is too old. Print a warning in
9306         that case. This should fix the build on the build bot.
9307
9308 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9309
9310         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9311         * gst/parse/Makefile.am:
9312         * gst/parse/grammar.y:
9313         * gst/parse/parse.l:
9314         Make the parser reentrant and recursively callable. This requires flex
9315         >= 2.5.31, for older versions pregenerated sources are used as we
9316         can't bump the build dependency. Finally fixes #349180.
9317
9318         * gst/gstparse.c: (gst_parse_launch):
9319         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9320         now anyway.
9321
9322         * docs/gst/Makefile.am:
9323         * docs/gst/Makefile.am:
9324         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9325         (__gst_parse_strfree), (__gst_parse_link_new),
9326         (__gst_parse_link_free), (__gst_parse_chain_new),
9327         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9328         (gst_parse_element_set), (gst_parse_free_link),
9329         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9330         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9331         (_gst_parse_launch):
9332         * gst/parse/grammar.tab.pre.h:
9333         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9334         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9335         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9336         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9337         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9338         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9339         (_gst_parse_yypop_buffer_state),
9340         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9341         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9342         (yy_fatal_error), (_gst_parse_yyget_extra),
9343         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9344         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9345         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9346         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9347         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9348         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9349         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9350         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9351         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9352         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9353         (_gst_parse_yyfree):
9354         If the installed flex version is too old use pre-generated parser
9355         sources. These pre-generated parser sources are always updated when
9356         the actual flex/bison sources change but require everybody who wants
9357         to change something in the parser to have flex >= 2.5.31 installed.
9358
9359 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9360
9361         * common/m4/gst-gettext.m4:
9362         * gst/gst-i18n-lib.h:
9363           Make --disable-nls to work
9364
9365 2007-04-17  Wim Taymans  <wim@fluendo.com>
9366
9367         * gst/gstconfig.h.in:
9368         Revert previous change that broke the build.
9369
9370 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9371
9372         * configure.ac:
9373         * gst/Makefile.am:
9374         * gst/gstconfig.h.in:
9375           Drop libxml2 dependency when building with 
9376           --enable-binary-registry --disable-loadsave
9377
9378 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9379
9380         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9381         (gst_registry_binary_read_cache):
9382         * gst/gstregistrybinary.h:
9383           Remove unnecessary <sys/mman.h> include which broke the win32 build
9384           with MingW; move includes from header file to .c file, even if the
9385           header file isn't installed; use g_strerror() where UTF-8 strings
9386           are expected, such as in GST_DEBUG messages.
9387
9388 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9389
9390         * docs/libs/gstreamer-libs-sections.txt:
9391         Remove bogus addition for API I didn't end up keeping.
9392
9393         * libs/gst/base/gstbasesrc.h:
9394         Mention Since: 0.10.13 in the documentation.
9395
9396         Add the API keyword to the previous ChangeLog entry.
9397
9398 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9399
9400         * docs/libs/gstreamer-libs-sections.txt:
9401         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9402         (gst_base_src_default_prepare_seek_segment),
9403         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9404         * libs/gst/base/gstbasesrc.h:
9405         Allow basesrc derived classes to execute seeks in other formats
9406         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9407         to prepare the GstSegment in any format that their perform_seek method
9408         will be able to understand. The default implementation provides the
9409         old behaviour of attempting to convert the seek offsets to the 
9410         configured native format.
9411
9412         API: basesrc::prepare_seek_segment vmethod.
9413
9414 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9415
9416         * gst/gstelement.c: (gst_element_get_state_func):
9417         Don't output the same debug statement twice.
9418
9419         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9420         (gst_adapter_peek), (gst_adapter_take_buffer):
9421         Optimise the case where we have buffers at the head of the queue that
9422         can be joined quickly (because they're contiguous sub-buffers) by
9423         merging them together rather than copying data out into new memory.
9424
9425         * gst/parse/grammar.y:
9426         * tests/check/pipelines/parse-launch.c:
9427         Fix a leak in an error path for parse_launch, and add a check 
9428         for it to the testsuite.
9429
9430 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9431
9432         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9433           Don't deadlock when releasing a pad - gst_pad_set_active may try
9434           and take the multiqueue lock too.
9435
9436 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9437
9438         * gst/gsterror.c: (_gst_core_errors_init):
9439         * gst/gsterror.h:
9440           API: add GST_CORE_ERROR_DISABLED (#392804).
9441
9442 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9443
9444         * docs/faq/gst-uninstalled:
9445           don't get empty paths on the PATH variables
9446         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9447           Don't format for the uncommon terminal width of 84 characters.
9448
9449 2007-04-06  Wim Taymans  <wim@fluendo.com>
9450
9451         * gst/gstpipeline.c: (reset_stream_time),
9452         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9453         Only try to select a different pipeline clock when we went back to
9454         PAUSED and not when we merely got flushed.
9455
9456 2007-04-05  Michael Smith  <msmith@fluendo.com>
9457
9458         * tools/gst-launch.1.in:
9459           fractions are better supported in gstreamer than ractions, so
9460           suggest using those.
9461
9462 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9465
9466         * po/LINGUAS:
9467         * po/da.po:
9468           Added Danish translation.
9469
9470 2007-04-05  Wim Taymans  <wim@fluendo.com>
9471
9472         * libs/gst/base/gstbasesink.c:
9473         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
9474         Fix leak caused when refusing newsegment after EOS.
9475
9476         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9477         (gst_fake_sink_init), (gst_fake_sink_set_property),
9478         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9479         (gst_fake_sink_render), (gst_fake_sink_change_state):
9480         * plugins/elements/gstfakesink.h:
9481         Add num-buffers property to make the element generate EOS after a
9482         configurable amount of buffers.
9483         API: fakesink::num-buffers property.
9484
9485         * tests/check/elements/fakesink.c: (GST_START_TEST),
9486         (fakesink_suite):
9487         Fix GstBus leak in test.
9488         Test for fakesink num-buffers.
9489
9490 2007-04-05  Wim Taymans  <wim@fluendo.com>
9491
9492         * libs/gst/base/gstbasesink.c:
9493         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9494         (gst_base_sink_change_state):
9495         Don't accept anything after an EOS, return UNEXPECTED instead.
9496
9497         * tests/check/elements/fakesink.c: (GST_START_TEST),
9498         (fakesink_suite):
9499         Unit test for new EOS behaviour.
9500
9501 2007-04-05  Wim Taymans  <wim@fluendo.com>
9502
9503         * gst/gstelement.c: (gst_element_get_request_pad):
9504         Make padtemplates also work when they don't contain %s or %d.
9505
9506 2007-04-05  Wim Taymans  <wim@fluendo.com>
9507
9508         * docs/gst/gstreamer-sections.txt:
9509         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9510         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9511         * gst/gstclock.h:
9512         Improve _adjust_unlocked() so that it overflows less.
9513         Add gst_clock_unadjust_unlocked to convert from external time to
9514         internal time based on calibration.
9515         Add some more debug.
9516         API: GstClock::gst_clock_unadjust_unlocked()
9517
9518 2007-04-03  Wim Taymans  <wim@fluendo.com>
9519
9520         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9521
9522         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9523         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9524         when releasing sink pad. Fixes #425400.
9525
9526 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9527
9528         * docs/random/ensonic/dynlink.txt:
9529           More work on proposal for new core api.
9530
9531         * docs/libs/gstreamer-libs-sections.txt:
9532         * libs/gst/base/gstbasetransform.h:
9533           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9534           
9535         * libs/gst/controller/gstcontroller.c:
9536         (on_object_controlled_property_changed),
9537         (gst_controller_sync_values),
9538         (gst_controller_set_interpolation_mode):
9539         * libs/gst/controller/gstcontroller.h:
9540           Less verbose logging add docs for unimplemented parts and correctly
9541           return when using unavailable parts.
9542
9543 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9544
9545         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9546         Move all the debug to the CLOCK category, and associate it with
9547         the clock object.
9548
9549 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9550
9551         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9552         Make take_buffer a bit quicker by removing redundant checks
9553         caused by calling gst_adapter_take.
9554
9555 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9556
9557         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9558           Don't leak GCond.
9559
9560         * tests/check/Makefile.am:
9561         * tests/check/elements/.cvsignore:
9562         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9563         (GST_START_TEST), (multiqueue_suite):
9564           Add some dead simple unit tests for the 'multiqueue' element
9565           (some bits don't work yet and are disabled for now).
9566
9567 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9568
9569         * gst/gstelement.c: (gst_element_get_request_pad),
9570         (gst_element_class_get_request_pad_template):
9571           Make gst_element_get_request_pad() create request pads only for
9572           request pad templates and not for, say, sometimes pad templates.
9573
9574 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9575
9576         * docs/design/draft-klass.txt:
9577           Add example that needs more thinking.
9578         
9579         * docs/design/draft-missing-plugins.txt:
9580           More thoughts about wrapper plugins.
9581         
9582         * docs/random/ensonic/embedded.txt:
9583         * docs/random/ensonic/profiling.txt:
9584           More design work.
9585
9586 2007-03-25  Wim Taymans  <wim@fluendo.com>
9587
9588         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9589         (gst_base_src_loop):
9590         Only push the segment events in the PLAYING state for live sources.
9591
9592 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9593
9594         * gst/gstpipeline.c: (gst_pipeline_change_state):
9595         Modify the clock distribution path in PAUSED->PLAYING so that we 
9596         never attempt to choose a new clock unless we're actually leaving
9597         the PAUSED state for the first time. This prevents choosing a
9598         different clock when the state_change gets called for a 2nd time due
9599         to some element doing an async state change.
9600
9601 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9602
9603         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9604         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9605         (gst_pad_chain_unchecked), (gst_pad_push):
9606         Revert last commit. This needs some more thoughts.
9607
9608 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9609
9610         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9611         (gst_pad_chain_unchecked), (gst_pad_push):
9612         Check in set_caps if the caps are compatible with the pad and remove
9613         two functions that are redundant now. Fixes #421543.
9614
9615 2007-03-22  Wim Taymans  <wim@fluendo.com>
9616
9617         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9618         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9619         Unref some more to make valgrind happy.
9620
9621 2007-03-22  Wim Taymans  <wim@fluendo.com>
9622
9623         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9624         (gst_system_clock_id_wait_jitter),
9625         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9626         Fix anoying regression that survived a few releases. When adding an
9627         async entry while blocking on a sync entry, the sync entry will unblock
9628         but still be busy, so it should continue to wait instead of returning
9629         _BUSY to the app.
9630         Add some comments here and there.
9631
9632         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9633         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9634         Add testcase for this.
9635
9636 2007-03-22  Wim Taymans  <wim@fluendo.com>
9637
9638         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9639         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9640         WRONG_STATE and can silently pause the task. All other cases should
9641         error out.
9642
9643 2007-03-22  Wim Taymans  <wim@fluendo.com>
9644
9645         Patch by: Ville Syrjala <syrjala at sci dot fi>
9646
9647         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9648         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9649         Improve debugging.
9650
9651 2007-03-21  Michael Smith  <msmith@fluendo.com>
9652
9653         * docs/pwg/advanced-types.xml:
9654           Fix some errors in the typefinding docs pointed out on irc.
9655
9656 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9657
9658         * libs/gst/base/gstbasesrc.c:
9659         Clarify FIXME comment in the face of having added unlock_stop()
9660
9661 2007-03-21  Wim Taymans  <wim@fluendo.com>
9662
9663         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9664         Prepare for release where we warn against possible app breakage in the
9665         case of live pipelines along with an env var to enable/disable live
9666         preroll mode (GST_COMPAT=[no-]live-preroll).
9667
9668 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9669
9670         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9671         So we should use correct constants for checking for None offset.
9672
9673 2007-03-20  Wim Taymans  <wim@fluendo.com>
9674
9675         * docs/design/part-block.txt:
9676         Mention the fact that the newly switched element should be set to at
9677         least PAUSED.
9678
9679 2007-03-20  Wim Taymans  <wim@fluendo.com>
9680
9681         * gst/gst.c:
9682         Fix compilation with registry disabled as spotted by Saur.
9683
9684 2007-03-20  Wim Taymans  <wim@fluendo.com>
9685
9686         Patch by: Olivier Crete <tester at tester dot ca>
9687
9688         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9689         Look at the pending state too when syncing the element state to the
9690         parent. Fixes #420133.
9691
9692 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9693
9694         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9695         (gst_base_sink_change_state):
9696         * libs/gst/base/gstbasesink.h:
9697         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9698         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9699         (gst_base_src_deactivate):
9700         * libs/gst/base/gstbasesrc.h:
9701         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9702         for sub-classes to correctly clear any state they set trying to
9703         unlock, such as clearing out unlock commands from a command fd.
9704         API: basesrc::unlock_stop
9705         API: basesink::unlock_stop
9706
9707         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9708         (gst_fd_sink_render), (gst_fd_sink_unlock),
9709         (gst_fd_sink_unlock_stop):
9710         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9711         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9712         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9713
9714         Implement unlock_stop in fdsrc and fdsink.
9715         Implement seeking in fdsrc when a seekable fd is passed, as in
9716         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9717
9718 2007-03-19  Wim Taymans  <wim@fluendo.com>
9719
9720         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9721
9722         * gst/gstelement.c: (gst_element_class_init):
9723         Fix pad-added and pad-removed signal signatures so that the pad type is
9724         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9725
9726 2007-03-19  Wim Taymans  <wim@fluendo.com>
9727
9728         * docs/gst/gstreamer-sections.txt:
9729         Add new element field and method.
9730
9731         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9732         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9733         (gst_bin_recalc_state), (gst_bin_get_state_func),
9734         (gst_bin_element_set_state), (gst_bin_change_state_func),
9735         (gst_bin_continue_func), (bin_bus_handler),
9736         (bin_push_state_continue), (bin_handle_async_start),
9737         (bin_handle_async_done), (gst_bin_handle_message_func):
9738         Make async state changes a bit smarter by using new ASYNC_START and
9739         ASYNC_DONE messages. This reduces the number of times we run the state
9740         recalculation thread.
9741         Don't change state of element with a pending ASYNC_START message.
9742         Deprecate STATE_DIRTY messages.
9743         
9744         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9745         (gst_element_get_state_func), (gst_element_continue_state),
9746         (gst_element_lost_state), (gst_element_set_state_func),
9747         (gst_element_change_state):
9748         * gst/gstelement.h:
9749         Keep the state that was last set by the app in a new element field.
9750         Don't allow state changes when handling an element event.
9751         Post ASYNC_START and ASYNC_DONE messages.
9752         Change lost_state so that we go to PAUSED and wait for the parent to set
9753         us to PLAYING again (so latency calculation can be performed)
9754         Export gst_element_change_state() method so that subclasses can use it.
9755         API: gst_element_change_state()
9756         API: GST_STATE_TARGET
9757
9758         * gst/gstpipeline.c: (gst_pipeline_class_init),
9759         (reset_stream_time), (gst_pipeline_change_state),
9760         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9761         Using the new ASYNC_START message we can reset the base_time when
9762         needed. This can then be used to implement base_time redistribution in
9763         flushing seeks so that we can remove the explicit seek handling.
9764         Perform latency query and configuration when going to PLAYING.
9765
9766         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9767         (gst_base_sink_query), (gst_base_sink_change_state):
9768         Post new ASYNC_START/ASYNC_DONE messages.
9769
9770         * tests/check/generic/sinks.c: (GST_START_TEST):
9771         Fix test because the bin will not set the async element to PLAYING right
9772         away.
9773
9774         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9775         Make the message check a little stronger.
9776         Handle ASYNC messages.
9777
9778         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9779         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9780         Expect ASYNC_DONE messages.
9781
9782 2007-03-19  Wim Taymans  <wim@fluendo.com>
9783
9784         * docs/gst/gstreamer-sections.txt:
9785         * gst/gstmessage.c: (gst_message_new_async_start),
9786         (gst_message_new_async_done), (gst_message_parse_info),
9787         (gst_message_parse_async_start):
9788         * gst/gstmessage.h:
9789         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9790         support.
9791
9792 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9793
9794         * tools/gst-inspect.c:
9795         (print_plugin_automatic_install_info_codecs):
9796           Now that we don't check for the 'Codec' keyword any longer in the
9797           klass, we shouldn't spew a warning if the klass isn't a decoder or
9798           encoder (since it might be a Source/Network, for example).
9799
9800 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9801
9802         * tools/gst-inspect.c:
9803         (print_plugin_automatic_install_info_codecs):
9804           Don't require decoder/demuxer/depayloader elements or
9805           encoder/muxer/paylader elements to have 'Codec' as part of their
9806           factory class string when introspecting a plugin's capabilities.
9807           draft-klass.txt mentions that it might be removed in future, and
9808           flump3dec doesn't have it as part of its class string, so chances
9809           are others might also not have it.
9810
9811 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9812
9813         * po/af.po:
9814         * po/az.po:
9815         * po/bg.po:
9816         * po/ca.po:
9817         * po/cs.po:
9818         * po/de.po:
9819         * po/en_GB.po:
9820         * po/fr.po:
9821         * po/it.po:
9822         * po/nb.po:
9823         * po/nl.po:
9824         * po/ru.po:
9825         * po/sq.po:
9826         * po/sr.po:
9827         * po/sv.po:
9828         * po/tr.po:
9829         * po/uk.po:
9830         * po/vi.po:
9831         * po/zh_CN.po:
9832         * po/zh_TW.po:
9833           Update translations from translation project
9834
9835 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9836
9837         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9838         (gst_child_proxy_set_property):
9839           Invert precondition check to be alike the ones in the mimiced gobject
9840           api.
9841
9842 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9843
9844         * docs/design/draft-tagreading.txt:
9845         * docs/random/ensonic/audiobaseclasses.txt:
9846           Do some Architect work.
9847
9848         * gst/gstobject.c: (gst_object_set_name):
9849           Add a WARNING.
9850
9851         * gst/gstpad.c:
9852           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9853
9854 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9855
9856         * gst/gstsystemclock.c: (gst_system_clock_init),
9857         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9858         Defer starting the async system clock thread until the first async
9859         wait is scheduled. Fixes #414986.
9860
9861 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9862
9863         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9864         (gst_single_queue_free):
9865           Fix small leak (free GstSingleQueue structure too, not only contents).
9866
9867 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9868
9869         * gst/gstbin.c:(gst_bin_add):
9870         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9871         * win32/common/libgstbase.def:
9872         * win32/common/libgstreamer.def:
9873         Add new exported functions.
9874
9875 2007-03-09  Wim Taymans  <wim@fluendo.com>
9876
9877         * docs/plugins/gstreamer-plugins-sections.txt:
9878         Fix GstTee docs.
9879
9880 2007-03-09  Wim Taymans  <wim@fluendo.com>
9881
9882         * docs/gst/gstreamer-sections.txt:
9883         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9884         * gst/gstbuffer.h:
9885         Add metadata copy functions. Fixes #393099.
9886         API: gst_buffer_copy_metadata()
9887
9888         * gst/gstutils.c: (gst_buffer_stamp):
9889         * libs/gst/base/gstbasetransform.c:
9890         (gst_base_transform_prepare_output_buffer):
9891         Use new metadata copy functions.
9892
9893 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9894
9895         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9896         (gst_identity_init), (gst_identity_check_perfect),
9897         (gst_identity_check_imperfect_timestamp),
9898         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9899         (gst_identity_set_property), (gst_identity_get_property):
9900         * plugins/elements/gstidentity.h:
9901         Separate out check-imperfect-timestamp and check-imperfect-offset.
9902         Put back check-perfect as it was to keep compatibility.
9903
9904 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9905
9906         * gst/gstelement.c: (gst_element_dispose):
9907         There's no need to warn if VOID_PENDING is not NONE here, as
9908         long as the state is NULL it's ok, and that's checked immediately
9909         above.
9910
9911 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9912
9913         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9914         Fix check for perfect stream to ignore buffers with -1 
9915         offsets/offset ends when checking data contiguity.
9916
9917 2007-03-08  Wim Taymans  <wim@fluendo.com>
9918
9919         * tools/gst-launch.c: (event_loop):
9920         Print INFO messages.
9921
9922 2007-03-08  Wim Taymans  <wim@fluendo.com>
9923
9924         * libs/gst/base/gstbasetransform.c:
9925         (gst_base_transform_sink_eventfunc),
9926         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9927         (gst_base_transform_activate):
9928         * libs/gst/base/gstbasetransform.h:
9929         Add support for dropping buffers with custom GstFlowReturn.
9930         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9931         buffers or dropped buffers.
9932
9933         * docs/libs/gstreamer-libs-sections.txt:
9934         docs for new custom return code.
9935
9936         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9937         Use drop support in base class to implement drop-probability.
9938
9939 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9940
9941         * gst/gst.c: (load_plugin_func):
9942         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9943         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9944         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9945           Remove newlines at end of debug log strings.
9946
9947 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9948
9949         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9950         Only post bus message at max, once per buffer received.
9951
9952 2007-03-07  Wim Taymans  <wim@fluendo.com>
9953
9954         * docs/design/Makefile.am:
9955         * docs/design/part-synchronisation.txt:
9956         Add doc about synchronisation
9957
9958         * docs/design/draft-latency.txt:
9959         * docs/design/part-TODO.txt:
9960         * docs/design/part-clocks.txt:
9961         * docs/design/part-events.txt:
9962         * docs/design/part-gstbus.txt:
9963         * docs/design/part-gstpipeline.txt:
9964         * docs/design/part-live-source.txt:
9965         * docs/design/part-messages.txt:
9966         * docs/design/part-overview.txt:
9967         * docs/design/part-streams.txt:
9968         * docs/design/part-trickmodes.txt:
9969         Documentation updates.
9970
9971 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9972
9973         * gstreamer.doap:
9974         Update the doap file.
9975
9976 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9977
9978         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9979         Rename non-perfect to imperfect for Mike and for the sanctity of the
9980         language.
9981         Also make sure bus message gets emitted for data-incontiguities.
9982
9983 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9984
9985         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
9986         (gst_identity_start):
9987         * plugins/elements/gstidentity.h:
9988         Emit bus message if check-perfect is true and we encounter a
9989         non-perfect stream between 2 consecutive buffers.
9990         Fixes #415394.
9991
9992 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9993
9994         * configure.ac:
9995         Back to CVS
9996
9997 === release 0.10.12 ===
9998
9999 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10000
10001         * configure.ac:
10002           releasing 0.10.12, "Inevitable Demise"
10003
10004 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10005
10006         * configure.ac:
10007          Version 0.10.11.2 (0.10.12 pre-release)
10008          Bump libtool versioning.
10009
10010 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10011
10012         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10013           Log flow-names and not numbers.
10014
10015 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10016
10017         * configure.ac:
10018           Convert to new AG_GST style.
10019
10020 2007-02-28  Wim Taymans  <wim@fluendo.com>
10021
10022         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10023         Don't unref query twice.
10024
10025 2007-02-28  Wim Taymans  <wim@fluendo.com>
10026
10027         * gst/gstvalue.c: (gst_value_transform_object_string),
10028         (_gst_value_initialize):
10029         Implement GstObject -> string transform so we print object names
10030         when serializing GValues containing GstObjects.
10031
10032 2007-02-28  Wim Taymans  <wim@fluendo.com>
10033
10034         * docs/gst/gstreamer-sections.txt:
10035         Add new stuff to docs.
10036
10037 2007-02-28  Wim Taymans  <wim@fluendo.com>
10038
10039         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10040         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10041         (gst_base_sink_change_state):
10042         Improve latency query code.
10043         Don't leak latency events.
10044
10045         * tests/check/gst/gstbin.c: (GST_START_TEST):
10046         Improve debugging.
10047
10048 2007-02-28  Wim Taymans  <wim@fluendo.com>
10049
10050         * gst/gstelement.c: (gst_element_message_full),
10051         (gst_element_get_state_func):
10052         * gst/gstelement.h:
10053         Improve docs a little. Added Since: for new macro.
10054
10055         * gst/gstobject.c: (gst_object_sink):
10056         * gst/gstpipeline.c: (gst_pipeline_change_state),
10057         (gst_pipeline_set_new_stream_time):
10058         * gst/gstpipeline.h:
10059         Improve debugging and docs.
10060
10061         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10062         Improve debugging.
10063
10064 2007-02-28  Wim Taymans  <wim@fluendo.com>
10065
10066         * gst/gstelement.c: (gst_element_message_full),
10067         (gst_element_set_locked_state), (gst_element_get_state_func),
10068         (gst_element_change_state):
10069         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10070         Documentation updates.
10071         Small code cleanups.
10072
10073         * gst/gstmessage.c: (gst_message_new_info),
10074         (gst_message_parse_info):
10075         * gst/gstmessage.h:
10076         API: gst_message_new_info()
10077         API: gst_message_parse_info()
10078         Add INFO message create and parse code.
10079
10080 2007-02-28  Wim Taymans  <wim@fluendo.com>
10081
10082         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10083         (bin_query_latency_done):
10084         Also report the live parameter of a latency query.
10085
10086 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10087
10088         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10089           Copy the current generic/states example from -base and adapt so
10090           we can use the exact same code everywhere.
10091           Check a STATES_IGNORE_ELEMENTS env var which can be used
10092           to ignore certain element factories for this test, which is
10093           what is being done in -base
10094         * tests/check/Makefile.am:
10095           Mention this environment variable.
10096
10097 2007-02-27  Wim Taymans  <wim@fluendo.com>
10098
10099         * docs/gst/gstreamer-sections.txt:
10100         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10101         (gst_bus_timed_pop), (gst_bus_pop):
10102         * gst/gstbus.h:
10103         API: gst_bus_timed_pop()
10104         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10105         message to arrive on the bus.
10106
10107         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10108         (gst_bus_suite):
10109         Two unit tests for new _timed_pop() function.
10110
10111 2007-02-23  Wim Taymans  <wim@fluendo.com>
10112
10113         * gst/gstpipeline.c: (gst_pipeline_change_state),
10114         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10115         Don't ref a NULL clock in _provide_clock_func().
10116         Don't allow an INVALID delay.
10117         Don't try to calculate base_time with an invalid start_time.
10118         Also distribute and notify a NULL clock when it was selected.
10119
10120         * tools/gst-launch.c: (event_loop):
10121         Don't crash when a NULL clock was selected in the pipeline.
10122
10123 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10124
10125         * docs/design/Makefile.am:
10126         * docs/design/draft-missing-plugins.txt:
10127         * docs/random/draft-missing-plugins.txt:
10128           Some small updates: update plugin system identifier prefix
10129           ('gstreamer.net' to 'gstreamer'), mention our new install
10130           API in libgstbaseutils rather than libgimme-codec, add
10131           reference to the online docs.
10132
10133 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10134
10135         * win32/common/config.h:
10136           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10137           use moap cl ci to only check in what is mentioned in the ChangeLog.
10138
10139 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10140
10141         * docs/gst/gstreamer-sections.txt:
10142         * gst/gstelement.h:
10143           Fix up documentation to link to the correct GstGError section.
10144           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10145
10146 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10147
10148         * tools/gst-launch.c: (event_loop):
10149           Make sure that we actually show the important message part of a
10150           warning message.
10151           No need to check if the gerror is not NULL to free; first of all
10152           g_free accepts NULL; and second the default error handler would
10153           segfault if gerror was NULL.
10154
10155 2007-02-21  Wim Taymans  <wim@fluendo.com>
10156
10157         * docs/gst/gstreamer-sections.txt:
10158         Removed docs as well.
10159
10160 2007-02-21  Wim Taymans  <wim@fluendo.com>
10161
10162         * gst/gstmessage.c: (gst_message_parse_duration):
10163         * gst/gstmessage.h:
10164         Remove new messages for release.
10165
10166 2007-02-20  Wim Taymans  <wim@fluendo.com>
10167
10168         * docs/design/part-gstghostpad.txt:
10169         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10170         (gst_ghost_pad_new_full):
10171         Make the ghostpad a parent of the internal pad again for better backward
10172         compatibility. Don't write code that relies on this however.
10173
10174         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10175         (gst_pad_link_check_hierarchy):
10176         Require that parents should be GstElements in the hierarchy check.
10177
10178 2007-02-20  Wim Taymans  <wim@fluendo.com>
10179
10180         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10181         (gst_bin_change_state_func), (bin_query_min_max_init),
10182         (bin_query_latency_fold), (bin_query_latency_done),
10183         (gst_bin_query):
10184         Improve debug info.
10185         Implement latency query.
10186
10187 2007-02-20  Wim Taymans  <wim@fluendo.com>
10188
10189         * docs/design/part-gstghostpad.txt:
10190         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10191         (gst_ghost_pad_internal_do_activate_push),
10192         (gst_ghost_pad_internal_do_activate_pull),
10193         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10194         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10195         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10196         Do not set the internal pad as a parent anymore so we can avoid
10197         hierarchy linking errors when the ghostpad has no parent yet. This also
10198         fixes failed activation because of unlinked internal pads, which in
10199         turn fixes the impossible case where you have to activate a pad before
10200         you can add it to a running element.
10201         Also fix the docs.
10202
10203         * gst/gstpad.c: (pre_activate), (post_activate),
10204         (gst_pad_set_active), (gst_pad_activate_pull),
10205         (gst_pad_activate_push), (gst_pad_check_pull_range):
10206         Add some more debug info.
10207         Mark activation mode in pre_activate so that we don't try to activate in
10208         endless loops. Fixes #385084.
10209
10210 2007-02-19  Wim Taymans  <wim@fluendo.com>
10211
10212         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10213         (gst_base_transform_check_get_range):
10214         Implement a checkgetrange function instead of relying on the default
10215         core behaviour that assumes we can operate in pull mode if we have a
10216         getrange function. First step at fixing #385084.
10217
10218 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10219
10220         * gst/gstchildproxy.h:
10221         * libs/gst/base/gstbasesink.h:
10222         * libs/gst/base/gstbasesrc.h:
10223         * libs/gst/base/gstbasetransform.h:
10224         More docs coverage and some ChangeLog surgery (add missing names)
10225
10226 2007-02-15  Wim Taymans  <wim@fluendo.com>
10227
10228         * docs/design/part-TODO.txt:
10229         * docs/design/part-activation.txt:
10230         * docs/design/part-block.txt:
10231         * docs/design/part-buffering.txt:
10232         * docs/design/part-clocks.txt:
10233         * docs/design/part-element-source.txt:
10234         * docs/design/part-events.txt:
10235         * docs/design/part-gstbin.txt:
10236         * docs/design/part-gstbus.txt:
10237         * docs/design/part-gstpipeline.txt:
10238         * docs/design/part-live-source.txt:
10239         * docs/design/part-messages.txt:
10240         * docs/design/part-overview.txt:
10241         * docs/design/part-qos.txt:
10242         * docs/design/part-query.txt:
10243         * docs/design/part-states.txt:
10244         * docs/design/part-trickmodes.txt:
10245         Some doc updates. Start renaming from stream_time to running_time where
10246         it was used wrongly.
10247
10248 2007-02-15  Wim Taymans  <wim@fluendo.com>
10249
10250         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10251         Answer LATENCY query.
10252
10253 2007-02-15  Wim Taymans  <wim@fluendo.com>
10254
10255         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10256         (GST_START_TEST):
10257         Improve debugging.
10258
10259 2007-02-15  Wim Taymans  <wim@fluendo.com>
10260
10261         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10262         (gst_pad_dispatcher):
10263         Improve debugging of default pad dispatcher and query functions.
10264
10265 2007-02-15  Wim Taymans  <wim@fluendo.com>
10266
10267         * docs/gst/gstreamer-sections.txt:
10268         Remove old unused method.
10269
10270 2007-02-13  Wim Taymans  <wim@fluendo.com>
10271
10272         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10273         Fix check
10274
10275 2007-02-13  Wim Taymans  <wim@fluendo.com>
10276
10277         * docs/design/part-seeking.txt:
10278         Some small update.
10279
10280         * gst/gstsegment.c: (gst_segment_set_seek):
10281         Revert old bogus change that should make seeking work again.
10282
10283 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10284
10285         * docs/random/ensonic/dynlink.txt:
10286         * docs/random/ensonic/interfaces.txt:
10287         * docs/random/ensonic/receipies.txt:
10288           Possible dynamic reconnection api, plus some type fixes the other two
10289           docs.
10290
10291 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10292
10293         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10294         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10295         Also check for an absolute path following file:// in the filesrc
10296         element. Remove redundant check and call g_path_is_absolute() on the
10297         unescaped location.
10298
10299 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10300
10301         * docs/design/draft-klass.txt:
10302           Add existing category analysis.
10303           
10304         * gst/gstcaps.c:
10305           Fix doc example, framerate is a fraction.
10306
10307 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10308
10309         * configure.ac:
10310         * docs/gst/Makefile.am:
10311         * docs/gst/gstreamer-sections.txt:
10312         * docs/libs/Makefile.am:
10313           Erm, forgot a bunch of --extra-dir.
10314
10315 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10316
10317         * configure.ac:
10318         * docs/gst/Makefile.am:
10319         * docs/libs/Makefile.am:
10320         * docs/plugins/Makefile.am:
10321           Add crossreferences to glib/gobject docs.
10322
10323 2007-02-12  Wim Taymans  <wim@fluendo.com>
10324
10325         * docs/design/draft-latency.txt:
10326         Small update.
10327
10328         * docs/libs/gstreamer-libs-sections.txt:
10329         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10330         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10331         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10332         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10333         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10334         (gst_base_sink_get_position), (gst_base_sink_query),
10335         (gst_base_sink_change_state):
10336         * libs/gst/base/gstbasesink.h:
10337         API: gst_base_sink_query_latency() to let subclasses query the upstream
10338         latency.
10339         API: gst_base_sink_get_latency() to let subclasses query the configured
10340         latency in the sink.
10341         Implement query and set latency.
10342         Update some docs.
10343         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10344         don't continue preroll when we are flushing. Fixes #405284.
10345
10346         * tests/check/pipelines/stress.c: (change_state_timeout),
10347         (quit_timeout), (GST_START_TEST), (stress_suite):
10348         Test for #405284.
10349
10350 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10351
10352         Patch by: René Stadler <mail at renestadler de>
10353
10354         * docs/gst/gstreamer-sections.txt:
10355         * gst/gsttaglist.c: (_gst_tag_initialize):
10356         * gst/gsttaglist.h:
10357           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10358
10359 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10360
10361         * docs/libs/Makefile.am:
10362           Fix path to core docs.
10363
10364         * gst/gstbin.c: (gst_bin_get_by_interface),
10365         (gst_bin_iterate_all_by_interface):
10366           Refix docs by also renaming 'interface' to 'iface' in implementation.
10367
10368         * docs/gst/gstreamer-sections.txt:
10369         * gst/gstcaps.c:
10370         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10371         * gst/gstchildproxy.h:
10372         * gst/gstelementfactory.c:
10373         * gst/gstpadtemplate.h:
10374         * libs/gst/controller/gstcontroller.c:
10375         (gst_controlled_property_new):
10376           Document more.
10377
10378 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10379
10380         * gst/gstbin.h:(gst_bin_get_by_interface),
10381         (gst_bin_iterate_all_by_interface):
10382         Replace interface parameter name by iface as interface is 
10383         a reserved keyword in Visual Studio for C++ projects so it removes
10384         a build error for application developpers using VS.
10385         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10386         Fix a bug on Windows in uri format check. Now the prefix checked
10387         is file:// and next we check if the path after file:// is absolute.
10388         * win32/common/libgstbase.def:
10389         * win32/common/libgstdataprotocol.def:
10390         * win32/common/libgstgstreamer.def:
10391         Add new exported functions.
10392
10393 2007-02-09  Andy Wingo  <wingo@pobox.com>
10394
10395         * tests/check/pipelines/simple-launch-lines.c
10396         (simple_launch_lines_suite, test_tee): Disable tee test until I
10397         have time to fix it :-(
10398
10399         * tests/check/Makefile.am (noinst_HEADERS): 
10400         * tests/check/libs/libsabi.c: 
10401         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10402         * tests/check/gst/gstabi.c: 
10403         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10404
10405         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10406         tests for push and pull tee behavior.
10407
10408         * plugins/elements/gsttee.h: 
10409         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10410         mark as deprecated as well as unimplemented. It was a crack idea.
10411         Add support for tee operating in pull mode, off by default.
10412
10413         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10414         normal-case logs down to LOG, raise errors to WARNING.
10415         (gst_registry_xml_read_cache): Don't log before calling a function
10416         that logs.
10417
10418         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10419         exit (registry finalize).
10420         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10421         DEBUG log when we emit signals that people don't even have the
10422         chance to connect to.
10423         (gst_registry_scan_path_level): Less logging in the normal case.
10424
10425 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10426
10427         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10428
10429         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10430         Correctly generate EOS for non-seekable files. We don't have a total
10431         length for them and would get an unexpected end of file if we only
10432         special-cased for regular files. (Fixes: #404569)
10433
10434 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10435
10436         * tests/check/elements/filesrc.c: (GST_START_TEST),
10437         (filesrc_suite):
10438         Add unit test for the GstURIHandler interface in filesrc. This also
10439         tests the newly added file://localhost/foo/bar support.
10440
10441 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10442
10443         * gst/gstelementfactory.h:
10444           The klass string is not a hierarchy. Add reference to the design doc
10445           for more information and common types.
10446
10447 2007-02-02  Wim Taymans  <wim@fluendo.com>
10448
10449         * gst/gstquery.c: (gst_query_new_latency):
10450         Remove old structure field.
10451
10452 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10453
10454         * tools/gst-launch.1.in:
10455           Give example for network streaming (#351998)
10456
10457 2007-02-02  Wim Taymans  <wim@fluendo.com>
10458
10459         * docs/gst/gstreamer-sections.txt:
10460         Add docs for new methods.
10461
10462         * gst/gstevent.c: (gst_event_new_latency),
10463         (gst_event_parse_latency):
10464         * gst/gstevent.h:
10465         Add new LATENCY event to configure latency in a pipeline.
10466         API: gst_event_new_latency
10467         API: gst_event_parse_latency
10468
10469         * gst/gstmessage.c: (gst_message_new_buffering),
10470         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10471         (gst_message_new_latency), (gst_message_parse_buffering),
10472         (gst_message_parse_lost_preroll):
10473         * gst/gstmessage.h:
10474         Added messages used in draft-latency.
10475         API: gst_message_new_lost_preroll
10476         API: gst_message_parse_lost_preroll
10477         API: gst_message_new_prerolled
10478         API: gst_message_new_latency
10479
10480         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10481         (gst_query_parse_latency):
10482         * gst/gstquery.h:
10483         Implemented new latency query as in design doc.
10484         API: gst_query_new_latency
10485         API: gst_query_set_latency
10486         API: gst_query_parse_latency
10487
10488 2007-02-02  Wim Taymans  <wim@fluendo.com>
10489
10490         * docs/design/draft-latency.txt:
10491         Slight redesign to allow for dynamic latency adjustments.
10492
10493         * docs/design/part-negotiation.txt:
10494         Fix some typos.
10495
10496 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10497
10498         reviewed by: Wim Taymans <wim@fluendo.com>
10499
10500         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10501         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10502         Allow file://localhost/foo/bar URLs and correctly fail for every other
10503         hostname that one sets. This was gnomevfssrc is linked for those if
10504         installed as it can handle it (#403172)
10505
10506 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10507
10508         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10509
10510         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10511         (unref_data), (gst_collect_pads_add_pad_full):
10512         * libs/gst/base/gstcollectpads.h:
10513         Don't put the previously added destroy notify in the GstCollectData
10514         struct as all it's padding is already used and we don't want to break
10515         ABI. Instead put in the pad's GObject data for now. This should be
10516         cleaned up for 0.11 (#402393).
10517
10518 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10519
10520         reviewed by: Wim Taymans <wim@fluendo.com>
10521
10522         * docs/libs/gstreamer-libs-sections.txt:
10523         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10524         (unref_data), (gst_collect_pads_add_pad),
10525         (gst_collect_pads_add_pad_full):
10526         * libs/gst/base/gstcollectpads.h:
10527         API: Add function to specify a destroy notification for custom
10528         GstCollectData when adding new pads in GstCollectPads (#402393).
10529
10530 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10531
10532         * po/sv.po:
10533           Update Swedish translation (#378255).
10534
10535 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10536
10537         * docs/design/draft-klass.txt:
10538           Fix the previous change, this is a list of categories and not a hierarchy.
10539
10540 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10541
10542         * docs/design/draft-klass.txt:
10543           Add info about how to get a list of used classes.
10544
10545 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10546
10547         * plugins/elements/gsttypefindelement.c:
10548         (gst_type_find_element_chain_do_typefinding),
10549         (gst_type_find_element_change_state):
10550           Don't leak found caps in chain function (no idea why that never
10551           showed up as a leak anywhere).
10552
10553 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10554
10555         * gst/gstplugin.h:
10556           Fix and expand GstPluginDesc API docs.
10557
10558 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10559
10560         * gst/gstcaps.c:
10561         * gst/gstelementfactory.c:
10562         * gst/gstpadtemplate.h:
10563           api doc fixes
10564
10565         * libs/gst/controller/gstcontroller.c:
10566         (gst_controlled_property_new):
10567         * tests/examples/controller/audio-example.c:
10568           comment fixes
10569
10570 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10571
10572         * configure.ac:
10573           comment about refining the xml deps
10574
10575         * docs/manuals.mak:
10576           comments about moving away from jade for docs
10577         
10578         * gst/gst.c:
10579           recommit the ifdefs to use the binary registry
10580         
10581         * gst/gstbin.c: (gst_bin_change_state_func):
10582           this break is obsolete
10583
10584         * gst/gstelementfactory.h:
10585           better GST_ELEMENT_DETAILS docs, add comment about translation
10586
10587         * gst/gstinfo.h:
10588           remove eol slash
10589
10590         * gst/gstobject.c: (gst_signal_object_get_type):
10591           add G_UNLIKELY as usual
10592
10593         * gst/gstpad.c: (gst_pad_event_default):
10594           add fall trhu comment
10595
10596         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10597         (gst_registry_binary_initialize_magic),
10598         (gst_registry_binary_save_string),
10599         (gst_registry_binary_save_pad_template),
10600         (gst_registry_binary_save_feature),
10601         (gst_registry_binary_save_plugin),
10602         (gst_registry_binary_write_cache),
10603         (gst_registry_binary_check_magic),
10604         (gst_registry_binary_load_pad_template),
10605         (gst_registry_binary_load_feature),
10606         (gst_registry_binary_load_plugin),
10607         (gst_registry_binary_read_cache):
10608           comment typo and formatting
10609
10610         * gst/gstutils.c: (gst_element_state_get_name),
10611         (gst_element_state_change_return_get_name):
10612           remove obsolete breaks
10613
10614         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10615           add FIXME 0.11 and remove cpp comment
10616
10617 2007-01-29  Edward Hervey  <edward@fluendo.com>
10618
10619         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10620         Fix print statement in an even more portable way.
10621
10622 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10623
10624         * docs/gst/gstreamer-sections.txt:
10625         * gst/gstutils.h:
10626           API: add GST_ROUND_DOWN_* macros (#401781).
10627
10628 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * docs/gst/gstreamer.types.in:
10631         * gst/gstregistry.c: (gst_registry_class_init):
10632           Document registry signals and make gtk-doc pick them up (#401381).
10633
10634 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10635
10636         * docs/pwg/building-testapp.xml:
10637           Add some audioconverts and audioresample to the pipeline, and some
10638           more comments and error handling.
10639
10640 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10641
10642         * docs/manual/manual.xml:
10643         * docs/pwg/pwg.xml:
10644           Fix typo (#400987).
10645
10646 2007-01-26  Wim Taymans  <wim@fluendo.com>
10647
10648         * gst/gstcaps.c: (gst_static_caps_get):
10649         Init caps flags too.
10650
10651 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10652
10653         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10654
10655         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10656         If not using mmap'ed files try to seek to the end instead of the
10657         start to determine whether we can seek at all. This fixes the case
10658         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10659         seeks for everything afterwards fail. Fixes #400656
10660
10661 2007-01-25  Wim Taymans  <wim@fluendo.com>
10662
10663         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10664         Add some refcount debugging.
10665         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10666         in multiple streaming threads.
10667
10668 2007-01-25  Wim Taymans  <wim@fluendo.com>
10669
10670         Patch by: David Schleef <ds at schleef dot org>
10671
10672         * docs/libs/gstreamer-libs-sections.txt:
10673         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10674         * libs/gst/base/gstadapter.h:
10675         API: gst_adapter_copy() that can reduce the amount of memcpy when
10676         getting data from the adapter. Fixes #388201.
10677
10678 2007-01-25  Edward Hervey  <edward@fluendo.com>
10679
10680         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10681         In print statements, "%x" is for guint. Fixes build on macosx.
10682
10683 2007-01-24  Edward Hervey  <edward@fluendo.com>
10684
10685         * plugins/elements/gstmultiqueue.c:
10686         (gst_multi_queue_loop):
10687         Small fix.
10688         (single_queue_overrun_cb), (single_queue_underrun_cb),
10689         (single_queue_check_full), (gst_single_queue_new):
10690         Implement single queue growth system.
10691         This uses the extra-size properties, and will grow single queues by
10692         that much if one goes full whereas there are others empty. This is
10693         called extra-mode in the code.
10694         When a single queue's levels go back below the initial max-size
10695         limits, it is no longer in extra-mode. This is to ensure we don't
10696         consume too much memory.
10697         Fixes #399875
10698
10699 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10700
10701         * gst/gst.c: (gst_init_get_option_group):
10702           Make warning about late g_thread_init() calls a bit more explicit,
10703           so that it's more obvious to application developers what they need
10704           to do if a user files a bug against their application.
10705
10706 2007-01-22  Edward Hervey  <edward@fluendo.com>
10707
10708         * plugins/elements/gstmultiqueue.c:
10709         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10710         Remove previous hack of unsetting the flushing flag for the source pad
10711         instead of activating it. Instead, fix the source pad activate function
10712         so that it no longer depends on having a parent set or not.
10713
10714 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10715
10716         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10717
10718         * docs/manual/basics-bus.xml:
10719           Fix example code, gst_element_unref() doesn't exist any longer.
10720
10721 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10722
10723         Patch by: Mark Nauwelaerts <manauw at skynet be>
10724
10725         * gst/gstpad.c:
10726           Fix two docs typoes (#399094).
10727
10728 2007-01-19  Edward Hervey  <edward@fluendo.com>
10729
10730         * docs/faq/gst-uninstalled:
10731         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10732         depending on libgstbaseutils can work in uninstalled environment.
10733
10734 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10735
10736         * gst/gsttaglist.h:
10737         * gst/gsttagsetter.c:
10738         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10739         statement for new tag.
10740
10741 2007-01-17  Edward Hervey  <edward@fluendo.com>
10742
10743         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10744         When dynamically creating single queues, activate sinkpad before adding
10745         it.
10746         We should be doing the same thing for the source pad, but we can't
10747         since it would call a method which needs the parent to be set in order
10748         to work propertly. Instead of activating the source pad, we just unset
10749         the flushing flag, which is the minimal requirement for adding a pad
10750         to an element in a state greater than READY.
10751
10752 2007-01-17  Edward Hervey  <edward@fluendo.com>
10753
10754         * docs/faq/gst-uninstalled:
10755         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10756         Mac OS X.
10757
10758 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10759
10760         * tests/check/gst/gstabi.c:
10761         * tests/check/gst/struct_hppa.h:
10762         * tests/check/libs/libsabi.c:
10763         * tests/check/libs/struct_hppa.h:
10764           Add ABI structs for HPPA (see #393796).
10765
10766 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10767
10768         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10769           Actually write ABI structs to the file specified in the GST_ABI
10770           environment variable, as the message we print claims we would.
10771
10772 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10773
10774         * tests/check/gst/gsttask.c:
10775           Fix header comment.
10776
10777 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10778
10779         * gst/gsttaglist.c: (_gst_tag_initialize):
10780           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10781           previous two entries.
10782
10783 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10784
10785         * docs/gst/gstreamer-sections.txt:
10786         * gst/gsttaglist.c: (_gst_tag_initialize):
10787         * gst/gsttaglist.h:
10788           Add tag support for beat-per-minute.
10789
10790 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10791
10792         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10793         (gst_registry_binary_initialize_magic),
10794         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10795         (gst_registry_binary_save_pad_template),
10796         (gst_registry_binary_save_feature),
10797         (gst_registry_binary_save_plugin),
10798         (gst_registry_binary_write_cache),
10799         (gst_registry_binary_check_magic),
10800         (gst_registry_binary_load_pad_template),
10801         (gst_registry_binary_load_feature),
10802         (gst_registry_binary_load_plugin),
10803         (gst_registry_binary_read_cache):
10804         * gst/gstregistrybinary.h:
10805           Use glib types, cleanup comments, impement interfaces and uri-types.
10806
10807 2007-01-13  Andy Wingo  <wingo@pobox.com>
10808
10809         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10810         getrange() to return buffers with other caps, while we fix
10811         demuxers and typefind, or otherwise change part-negotiation.txt.
10812
10813 2007-01-12  Andy Wingo  <wingo@pobox.com>
10814
10815         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10816         Factor start/stop into this private function instead of partially
10817         in activate functions and partially in the change_state function.
10818         Fixes setup before the element has changed from READY->PAUSED, as
10819         is the case in pull-mode pipelines.
10820         (gst_base_transform_sink_activate_push)
10821         (gst_base_transform_src_activate_pull): Refactor to use
10822         gst_base_transform_activate().
10823         (gst_base_transform_change_state): Removed, not needed any more.
10824
10825         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10826         Truncate before fixating.
10827         
10828         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10829         Don't set_caps() if the result of fixating is ANY, as it's not
10830         supported, and not necessary in the case of a link with no
10831         template caps on either side. Fixes tests/check/libs/basesrc in
10832         some pull-mode tests.
10833
10834         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10835         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10836         (gst_base_transform_src_activate_pull): 
10837         Track the activation mode.
10838         (gst_base_transform_setcaps): In pull mode, when activating the
10839         src pad, after activating the sink pad, activate the sink pad's
10840         peer, as discussed in part-negotiation.txt.
10841
10842         * libs/gst/base/gstbasesrc.h: 
10843         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10844         vmethod, as in basesink.
10845
10846         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10847
10848         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10849         mode, first proxy the setcaps to the peer pad.
10850         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10851         new fixate vmethod.
10852         (gst_base_sink_default_activate_pull): Rename from
10853         gst_base_sink_activate_pull.
10854         (gst_base_sink_negotiate_pull): New function, performs negotiation
10855         in pull mode before calling ::activate_pull().
10856         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10857         vmethod instead of the default implementation. I have no idea how
10858         this worked before. Negotiate before calling activate_pull.
10859
10860         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10861         sink pads in pull mode. In addition to being correct, fixes
10862         filesrc ! decodebin ! identity ! fakesink.
10863         (gst_pad_get_range, gst_pad_pull_range): Don't call
10864         gst_pad_set_caps() if the caps changes; instead error out with
10865         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10866
10867 2007-01-12  Andy Wingo  <wingo@pobox.com>
10868
10869         * docs/design/part-negotiation.txt: Update with more policy.
10870
10871 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * libs/gst/check/gstbufferstraw.h:
10874         * libs/gst/check/gstcheck.h:
10875           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10876           belongs.
10877
10878 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * tests/check/Makefile.am:
10881         * tests/check/gst/.cvsignore:
10882         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10883         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10884         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10885         (GST_START_TEST), (gst_tag_setter_suite):
10886           Add minimal unit test for beforementioned GstTagSetter bug.
10887
10888 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10889
10890         Patch by: René Stadler <mail at renestadler dot de>
10891
10892         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10893           gst_tag_list_merge() returns a new list, so it's not the best idea
10894           to ingore its return value. Effectively meant that tags could only
10895           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10896           Also add function guard to require a non-NULL taglist as input (has
10897           always been so due to gst_tag_list_copy(), just making it explicit).
10898
10899 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10900
10901         * docs/random/draft-missing-plugins.txt:
10902           Some additions: mention new API that is supposed to be used at the
10903           various stages; short blob about new gst-inspect introspection
10904           option; mention potential future problem with plugins that have
10905           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10906
10907 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10908
10909         * tools/gst-inspect.c:
10910         (print_plugin_automatic_install_info_codecs),
10911         (print_plugin_automatic_install_info_protocols),
10912         (print_plugin_automatic_install_info), (main):
10913         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10914         introspect plugin files and get machine-parsable output that corresponds
10915         to the last bit of the missing-plugin installer string (small gotcha:
10916         doesn't take into account ranks).
10917
10918 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10919
10920         * configure.ac:
10921         * docs/gst/gstreamer-sections.txt:
10922         * gst/Makefile.am:
10923         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10924         (gst_registry_lookup_locked):
10925         * gst/gstregistry.h:
10926         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10927         (gst_registry_binary_initialize_magic),
10928         (gst_registry_binary_save_string),
10929         (gst_registry_binary_save_pad_template),
10930         (gst_registry_binary_save_feature),
10931         (gst_registry_binary_save_plugin),
10932         (gst_registry_binary_write_cache),
10933         (gst_registry_binary_check_magic),
10934         (gst_registry_binary_load_pad_template),
10935         (gst_registry_binary_load_feature),
10936         (gst_registry_binary_load_plugin),
10937         (gst_registry_binary_read_cache):
10938         * gst/gstregistrybinary.h:
10939         * gst/gstregistryxml.c: (load_feature),
10940         (gst_registry_xml_read_cache):
10941           commit binary registry (disabled by default, see #359653)
10942
10943 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10944
10945         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10946           Fix 'make check' too.
10947
10948 2007-01-10  Andy Wingo  <wingo@pobox.com>
10949
10950         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10951         notes.
10952         
10953         * docs/design/part-negotiation.txt: Update with, um, one way that
10954         pull-mode negotiation might work?
10955
10956         * gst/gstpad.h: 
10957         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10958         that the pad must be a src pad; makes sense to call it the other
10959         way in pull mode, and the logic is symmetric anyway.
10960
10961 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10962
10963         * plugins/elements/gstfilesink.c:
10964           Include <stdio.h> for fseeko().
10965
10966 2007-01-10  Wim Taymans  <wim@fluendo.com>
10967
10968         * gst/gstevent.c:
10969         * gst/gstevent.h:
10970         Reserve LATENCY event.
10971
10972 2007-01-09  Wim Taymans  <wim@fluendo.com>
10973
10974         * docs/design/draft-latency.txt:
10975         Updates.
10976
10977 2007-01-09  Wim Taymans  <wim@fluendo.com>
10978
10979         * docs/design/draft-latency.txt:
10980         Updates.
10981
10982         * gst/gstelement.h:
10983         * gst/gststructure.c:
10984         * gst/gsttrace.c:
10985         Small typo fixes.
10986
10987 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
10988
10989         * tests/check/.cvsignore:
10990           Ignore test-registry.xml as well.
10991
10992 2007-01-09  Wim Taymans  <wim@fluendo.com>
10993
10994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10995         unref data at the end when we are done with the pad.
10996
10997 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
10998
10999         * docs/gst/gstreamer-sections.txt:
11000         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11001         (init_post), (gst_deinit), (gst_update_registry):
11002         * gst/gst.h:
11003           API: add gst_update_registry() (#391296).
11004
11005         * tests/check/Makefile.am:
11006         * tests/check/gst/gstregistry.c:
11007         * tests/check/gst/.cvsignore:
11008           Simple unit test for the above.
11009
11010 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11011
11012         * gst/gstregistry.c: (gst_registry_scan_path_level):
11013           Plugin extension on HP-UX is .sl, add that to the list of approved
11014           plugin extensions (see #393796).
11015
11016         * tests/check/gst/gstpad.c: (GST_START_TEST):
11017           ulong => gulong. Fixes compilation with HP-UX compiler.
11018
11019         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11020           Fix compilation if valgrind headers are not available.
11021
11022 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11023
11024         * win32/common/libgstreamer.def: 
11025           Add new exported function.
11026         * win32/vs6/libgstbase.dsp: 
11027           Add gstdataqueue.c to the build.
11028         * win32/vs6/libgstcoreelements.dsp:
11029           Add gstmultiqueue.c to the build.
11030         
11031 2007-01-06  Andy Wingo  <wingo@pobox.com>
11032
11033         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11034         activate_pull(), providing for a way to specialize the process of
11035         spawning a thread to pull on the sink pad. There is a default
11036         implementation.
11037
11038         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11039         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11040         (gst_base_sink_init): Renamed pad activation functions (inserting
11041         "_pad" in their names). Refactor to use the new activate_pull
11042         vmethod, as appropriate.
11043         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11044         default activate_pull function to start a task pulling from the
11045         sink pad, as before.
11046
11047         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11048         on the pads if necessary, as in push()/chain(). Update docs.
11049         Shouldn't affect existing pull() usage as it is currently only
11050         being used on buffers without caps.
11051
11052 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11055         (init_pre):
11056           Call g_thread_init() first thing in gst_init() / gst_check_init().
11057           When initialisation is done via gst_init_get_option_group() and
11058           GOption parsing, issue a warning if the GLib thread system has not
11059           been initialised yet by the time gst_init_get_option_group() is
11060           called, as it's quite likely other GLib functions such as
11061           g_option_context_new() have been called already then, and
11062           g_thread_init() must be called before any other GLib function. The
11063           application in question must be fixed in that case, since memory
11064           corruption might happen otherwise.
11065           We issue the warning because even if the GLib folks decide to work
11066           around the problem on their end in future, this is still an issue
11067           with all GLib versions >= 2.10.0, so we should warn until we depend
11068           on a GLib version we know to be safe.
11069           Update documentation as well.
11070           Closes bug #391278.
11071
11072 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11073
11074         * tools/gst-inspect.c: (main):
11075         * tools/gst-launch.c: (main):
11076         * tools/gst-typefind.c: (main):
11077         * tools/gst-xmlinspect.c: (main):
11078           Call g_thread_init() really really early, before any other GLib
11079           function (see #342564 and recent discussion on gtk-devel-list).
11080
11081 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11082
11083         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11084
11085         * gst/gst_private.h:
11086         * gst/gstconfig.h.in:
11087         * gst/gstinfo.h:
11088           On win32, all the __declspec stuff for symbol exporting is
11089           apparently only needed with MSVC, but doesn't work with MingW.
11090           Fixes compilation with MingW and #391909.
11091
11092 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11093
11094         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11095           Change some GST_ERROR_OBJECT that aren't really errors to
11096           GST_WARNING_OBJECT in order to reduce terminal spam.
11097
11098 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11099
11100         * tests/check/Makefile.am:
11101           disable test again, as there seem to be still race problems
11102
11103 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11104
11105         * tests/check/Makefile.am:
11106         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11107         (GST_START_TEST), (queue_suite):
11108           enable queue test again, add tests for the leaky behaviour
11109
11110 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11111
11112         * configure.ac:
11113         * tests/examples/Makefile.am:
11114           Compile adapter test/example only if the required headers are
11115           available (fixes #391915).
11116
11117 2007-01-01  David Schleef  <ds@schleef.org>
11118
11119         * gst/gstplugin.c:
11120           Restore the previous signal handler for SIGSEGV instead of
11121           setting to default, since we may have stolen it away from
11122           someone.  (i.e., Mono)
11123
11124 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * docs/random/draft-missing-plugins.txt:
11127           Some small additions and clarifications.
11128
11129 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11130
11131         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11132           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11133           since that can lead to random memory corruptions and crashes
11134           (may or may not be related to #383244, #386711, and #386711).
11135
11136 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11137
11138         * tests/check/.cvsignore:
11139         * tests/check/Makefile.am:
11140           sync .cvsignome and CLEANFILES
11141
11142 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11143
11144         * tests/check/Makefile.am:
11145           fix distcheck
11146
11147 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11148
11149         * docs/design/part-states.txt:
11150           two tiny additional comments
11151         
11152         * gst/gststructure.c:
11153           doc fixing
11154
11155         * tests/check/Makefile.am:
11156         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11157         (GST_START_TEST):
11158           disable test for now, unless it gets fixed
11159
11160 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11161
11162         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11163         (GST_START_TEST):
11164           fix race in underrun test
11165
11166 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11167
11168         * tests/check/elements/.cvsignore:
11169           ignore more
11170
11171         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11172         (GST_START_TEST):
11173           try to narrow test failure
11174
11175 2006-12-21  David Schleef  <ds@schleef.org>
11176
11177         * plugins/elements/gstfakesrc.c:
11178           Use g_random_int_range(), since it produces better random
11179           numbers in a range than almost-correct floating point code.
11180
11181 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11182
11183         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11184         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11185         (gst_check_teardown_sink_pad):
11186           do not automatically (de)activate pads
11187
11188         * tests/check/Makefile.am:
11189         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11190         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11191           add new, yet simple tests for queue
11192
11193         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11194         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11195         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11196         (GST_START_TEST):
11197         * tests/check/elements/identity.c: (cleanup_identity):
11198           consistent pad (de)activation
11199
11200 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11201
11202         Patch by: Sebastian Dröge  <slomo ubuntu com>
11203
11204         * libs/gst/base/gstcollectpads.c:
11205           Fix two doc typos (#387866).
11206
11207 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11208
11209         * docs/manual/advanced-dparams.xml:
11210           Fix typo (g_object_control_properties() doesn't exist).
11211
11212 2006-12-19  Edward Hervey  <edward@fluendo.com>
11213
11214         * gst/gstsegment.c: (gst_segment_set_seek):
11215         Fine tune the cases where the segment start/stop values are really
11216         updated.
11217         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11218         Add tests for the return values of gst_segment_set_seek().
11219
11220 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11221
11222         * gst/gst.c:
11223           Docs typo fix.
11224
11225         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11226         (gst_queue_init):
11227           Fix incorrect documentation and flesh it out a bit more.
11228           Set default values for the max properties on the GParamSpec as well,
11229           so it shows up correctly in gst-inspect.
11230
11231 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11232
11233         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11234           Correct docs of queue, add more detail and crosslink it more.
11235
11236 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11237
11238         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11239           Print additional debug info when the stream isn't perfectly
11240           timestamped; don't try to use invalid durations.
11241
11242 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * docs/design/Makefile.am:
11245           Dist new design docs.
11246
11247 2006-12-16  Wim Taymans  <wim@fluendo.com>
11248
11249         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11250
11251         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11252         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11253         (gst_collect_pads_stop), (gst_collect_pads_event),
11254         (gst_collect_pads_chain):
11255         * libs/gst/base/gstcollectpads.h:
11256         Add refcounting to the collectpads data so we can track when it's safe
11257         to free the data. Fixes #383382.
11258
11259 2006-12-15  Wim Taymans  <wim@fluendo.com>
11260
11261         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11262         (gst_collect_pads_remove_pad):
11263         Automatically activate/deactivate pads when they are added to a
11264         started/stoped collectpads.
11265
11266 2006-12-15  Wim Taymans  <wim@fluendo.com>
11267
11268         * gst/gstelement.c: (gst_element_add_pad):
11269         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11270         * gst/gstpad.c: (gst_pad_init):
11271         Set pads to FLUSHING when they are created. Check, warn and fix when a
11272         demuxer adds an inactive pad to itself when running. Fixes #339326.
11273
11274 2006-12-15  Wim Taymans  <wim@fluendo.com>
11275
11276         * gst/gstelement.c: (gst_element_class_init),
11277         (gst_element_default_send_event), (gst_element_send_event),
11278         (gst_element_default_query), (gst_element_query):
11279         Expose default element send_event and query handling as vmethods that
11280         subclasses can chain up to.
11281
11282 2006-12-15  Wim Taymans  <wim@fluendo.com>
11283
11284         * gst/gstelement.c: (gst_element_set_state_func):
11285         Small documentation fixes.
11286
11287 2006-12-15  Wim Taymans  <wim@fluendo.com>
11288
11289         * docs/design/draft-latency.txt:
11290         Checked in draft for handling latency in pipelines.
11291
11292 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11293
11294         * Makefile.am:
11295         * gstreamer.doap:
11296         * gstreamer.spec.in:
11297           adding .doap file
11298
11299 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         * gst/gst.c: (init_pre), (init_post):
11302           init_pre() and init_post() might be called via our GOptionGroup or
11303           from gst_init(), and we should skip both of them if we've already
11304           been initialised, otherwise we will init some things twice or add
11305           two default log functions.
11306
11307 2006-12-13  Edward Hervey  <edward@fluendo.com>
11308
11309         * docs/manual/basics-bus.xml:
11310         No, gst_main_loop does not exist. Its g_main_loop.
11311         Discovered by somebody who abused the copy-paste technique of coding :)
11312
11313 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11314
11315         * gst/gstghostpad.c:
11316           Log ghostpad debug stuff to the GST_PADS category as well rather
11317           than just to the default category.
11318
11319 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11320
11321         * configure.ac:
11322         * gst/gst.c: (init_pre):
11323           Add some basic system details such as OS and architecture
11324           to the debug output if possible, courtesy of uname().
11325
11326 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11327
11328         * docs/gst/running.xml:
11329           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11330           environment variables.
11331
11332 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11333
11334         * tests/check/gst/gstbin.c: (GST_START_TEST):
11335         It is acceptable to have a refcount of 2 or 3 at this point in the
11336         test, because the pipeline might be just posting its state_change
11337         message. The next line then waits for that message to appear using
11338         bus_poll, so that should be fine too.
11339
11340 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11341
11342         * gst/gst.c: (ensure_current_registry_forking):
11343         Ignore EINTR when reading from the child registry pipe.
11344         Explicitly ignore the return value from close, since it makes no
11345         difference.
11346
11347         * gst/gstminiobject.c: (gst_mini_object_ref),
11348         (gst_mini_object_unref):
11349         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11350
11351         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11352         When removing cached plugins, remove their features too, so they're
11353         not visible after they've disappeared.
11354
11355         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11356         In the unlikely case that we are linking pads with no parents, don't
11357         crash trying to get the non-existent parent bin.
11358
11359         * gst/parse/grammar.y:
11360         Output debug in the PIPELINE category
11361
11362 2005-03-08  Wim Taymans  <wim@fluendo.com>
11363
11364         Patch by: René Stadler <mail at renestadler dot de>
11365
11366         * gst/gstclock.c: (gst_clock_new_periodic_id):
11367         Reject invalid clock times for interval of periodic ids.
11368         Fixes ##383506.
11369
11370 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11371
11372         * gst/gstelementfactory.c: (gst_element_factory_create):
11373         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11374         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11375         * tools/gst-inspect.c: (print_element_info):
11376         Fix refcounting of gst_plugin_feature_load to match the docs. 
11377         Fixes: #380129
11378
11379 2006-12-07  Wim Taymans  <wim@fluendo.com>
11380
11381         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11382         (gst_base_sink_get_position):
11383         Improve debugging of events.
11384
11385 2006-12-07  Wim Taymans  <wim@fluendo.com>
11386
11387         Patch by: René Stadler <mail at renestadler dot de>
11388
11389         * gst/gstclock.c: (gst_clock_id_wait):
11390         Make period ids add the interval to the origial requested time instead
11391         of the possibly updated time which can be wrong when there are multiple
11392         waiters for the same id. Fixes #382592.
11393
11394         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11395         (gst_system_clock_id_wait_jitter_unlocked),
11396         (gst_system_clock_id_wait_jitter):
11397         Fix restart in the async notify thread when an async entry is added to
11398         the front of the list. Fixes #381492. 
11399
11400         * tests/check/gst/gstsystemclock.c: (store_callback),
11401         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11402         Added test for multiple async waits.
11403         Added test for async wait order.
11404
11405 2006-12-07  Wim Taymans  <wim@fluendo.com>
11406
11407         * gst/gstbin.c: (gst_bin_query):
11408         Add some more docs about the POSITION query.
11409
11410 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11411
11412         * configure.ac:
11413         Bump version nano - back to CVS.
11414
11415 === release 0.10.11 ===
11416
11417 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11418
11419         * configure.ac:
11420           releasing 0.10.11, "Love never runs on time"
11421
11422 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11423
11424         * win32/common/libgstbase.def:
11425         * win32/common/libgstreamer.def:
11426         * win32/vs8/libgstbase.vcproj:
11427         * win32/vs8/libgstcoreelements.vcproj:
11428         * win32/vs8/libgstreamer.vcproj:
11429         Fix compilation on win32 under VS8
11430         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11431         Partially fixes #381175
11432
11433 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11434
11435         * gst/gstvalue.c: (gst_value_compare_fraction):
11436         If someone is foolish enough to compare 2 fractions with denominator =
11437         0, return UNORDERED rather than aborting.
11438
11439 2006-11-28  Edward Hervey  <edward@fluendo.com>
11440
11441         * libs/gst/base/Makefile.am:
11442         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11443         (gst_data_queue_base_init), (gst_data_queue_class_init),
11444         (gst_data_queue_init), (gst_data_queue_new),
11445         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11446         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11447         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11448         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11449         (gst_data_queue_set_flushing), (gst_data_queue_push),
11450         (gst_data_queue_pop), (gst_data_queue_drop_head),
11451         (gst_data_queue_set_property), (gst_data_queue_get_property):
11452         * libs/gst/base/gstdataqueue.h:
11453         New GstDataQueue object for threadsafe queueing. Most useful for
11454         elements that need some queueing functionnality.
11455         * docs/libs/gstreamer-libs-docs.sgml:
11456         * docs/libs/gstreamer-libs-sections.txt:
11457         Insert documentation for GstDataQueue
11458         * plugins/elements/Makefile.am:
11459         * plugins/elements/gstelements.c:
11460         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11461         (gst_multi_queue_class_init), (gst_multi_queue_init),
11462         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11463         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11464         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11465         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11466         (gst_multi_queue_loop), (gst_multi_queue_chain),
11467         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11468         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11469         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11470         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11471         (wake_up_next_non_linked), (compute_next_non_linked),
11472         (single_queue_overrun_cb), (single_queue_underrun_cb),
11473         (single_queue_check_full), (gst_single_queue_new):
11474         * plugins/elements/gstmultiqueue.h:
11475         New multiqueue element, using GstDataQueue. Used for queuing multiple
11476         streams.
11477         Closes #344639 and #347785
11478
11479 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11480
11481         * docs/pwg/advanced-types.xml:
11482           add more missing type details
11483
11484         * tools/gst-run.c: (main):
11485           remove unused variable
11486
11487 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11488
11489         * docs/libs/Makefile.am:
11490         * docs/libs/gstreamer-libs.types:
11491           add types of base classes to enable gobject specific stuff in the docs
11492
11493         * docs/random/ensonic/embedded.txt:
11494           more ideas about isolating platform specific things
11495
11496 2006-11-20  Wim Taymans  <wim@fluendo.com>
11497
11498         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11499
11500         * libs/gst/check/gstcheck.h:
11501         Fix compilation and running against 0.9.4. Fixes #377332.
11502
11503 2006-11-20  Wim Taymans  <wim@fluendo.com>
11504
11505         * gst/gstsegment.c: (gst_segment_set_seek),
11506         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11507         (gst_segment_to_running_time):
11508         Fix boundary checking in to_running_time() and to_stream_time().
11509         Fixes #377183.
11510
11511         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11512         stream and running time can now be calculated for the complete
11513         clipped segment.
11514
11515 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11516
11517         * gst/gstpad.c: (gst_pad_push_event):
11518           Can't access event structure after giving away ownership of
11519           the event.
11520
11521 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11522
11523         * docs/random/ensonic/embedded.txt:
11524         * docs/random/ensonic/profiling.txt:
11525         * docs/random/ensonic/receipies.txt:
11526           more thinking
11527
11528 2006-11-13  Wim Taymans  <wim@fluendo.com>
11529
11530         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11531
11532         * gst/gstpad.c:
11533         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11534
11535 2006-11-13  Wim Taymans  <wim@fluendo.com>
11536
11537         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11538
11539         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11540         Store new length in segment duration so we don't keep on calling the
11541         potentially expensize get_size() call. Fixes #370865.
11542
11543 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11544
11545         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11546
11547         * win32/common/libgstreamer.def:
11548           Add two missing symbols (#366492).
11549
11550 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11551
11552         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11553         (gst_adapter_take_buffer):
11554         Fix format string to use all its arguments.
11555         Remove useless >= check on a guint
11556
11557 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11558
11559         * tests/examples/adapter/.cvsignore:
11560         Ignore build file as commanded by the build-bot
11561
11562 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11563
11564         * tests/examples/adapter/Makefile.am:
11565         * tests/examples/adapter/adapter_test.c: (run_test_take),
11566         (run_test_take_buffer), (run_tests), (main):
11567
11568         Add new files from the previous commit
11569
11570 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11571
11572         * Makefile.am:
11573         * configure.ac:
11574         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11575         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11576         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11577         * libs/gst/base/gstadapter.h:
11578         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11579         (GST_START_TEST), (gst_adapter_suite):
11580         * tests/examples/Makefile.am:
11581         Do some optimisation work in GstAdapter to avoid copies in more cases.
11582         It could still do slightly better by merging buffers when
11583         gst_buffer_is_span_fast is true, but is already faster. 
11584
11585         Also, avoid traversing a single-linked list to append each incoming 
11586         buffer inside the adapter.
11587
11588         Add simple test app that times the adapter behaviour in different
11589         situations, and extend the unit test to check that bytes enter and
11590         exit the adapter in their original order.
11591
11592 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11593
11594         * docs/random/draft-missing-plugins.txt:
11595           Update: use element message instead of adding a new message
11596           type to the core; don't provide GStreamer API to initiate the
11597           plugin download, just provide API to compose the strings needed
11598           and let an external libgimmestuff handle the rest.
11599
11600 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11601
11602         * tools/gst-inspect.c: (print_element_properties_info):
11603         Print a string instead of 'unknown type' for GValueArray properties
11604
11605 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11606
11607         * docs/random/draft-missing-plugins.txt:
11608         More small fixes.
11609
11610 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11611
11612         * tests/examples/typefind/typefind.c: (type_found), (main):
11613           Make typefind element example work again (#371894); add a
11614           license header.
11615
11616 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11617
11618         * docs/random/draft-missing-plugins.txt:
11619           Commit initial draft about how to deal with missing plugins,
11620           needs work (API too).
11621
11622 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11623
11624         * docs/pwg/advanced-types.xml:
11625           documents the new caps elements (see #363118)
11626
11627 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11628
11629         * gst/gstplugin.c: (gst_plugin_load_file):
11630         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11631         (gst_file_src_map_region), (gst_file_src_start):
11632         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11633         (gst_file_index_commit):
11634           Use g_strerror() instead of strerror() - we want UTF-8.
11635
11636 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11637
11638         Patch by: Peter Kjellerstedt <pkj at axis com>
11639
11640         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11641           Another printf fix (#371493).
11642
11643 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11644
11645         * tests/check/gst/gsttag.c:
11646           relicence (okay with author=company)
11647
11648 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11649
11650         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11651         (gst_pad_push_event):
11652           Enhance debug and improve docs
11653         
11654         * gst/gsturi.c:
11655           Fix docs
11656
11657 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11658
11659         * docs/random/ensonic/distributed.txt:
11660         * docs/random/ensonic/profiling.txt:
11661           more ideas
11662
11663 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11664
11665         * docs/gst/gstreamer-sections.txt:
11666           add new API and fix the build
11667           
11668         * gst/gstbin.c: (gst_bin_recalc_state):
11669         * gst/gstelement.c: (gst_element_message_full),
11670         (gst_element_get_state_func), (gst_element_set_state_func):
11671           use new API and improve logging
11672         
11673         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11674         * gst/gstutils.h:
11675           API: add function to get StateChangereturn names to improve logs 
11676
11677 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11678
11679         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11680           I'm considering shooting the next person to put strerror stuff
11681           in the translateable part of the message.
11682
11683 2006-11-03  Wim Taymans  <wim@fluendo.com>
11684
11685         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11686         Get the type and printf conversion specifiers right.
11687
11688 2006-11-03  Wim Taymans  <wim@fluendo.com>
11689
11690         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11691
11692         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11693         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11694         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11695         Some small cleanups. Improve debugging.
11696         * gst/gstpad.h:
11697         Signal all waiting threads with a broadcast instead of just one.
11698         Fixes #369942.
11699
11700 2006-11-03  Wim Taymans  <wim@fluendo.com>
11701
11702         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11703         (gst_fd_src_create):
11704         Add some debugging. 
11705         Only update fd when it's different from the old.
11706
11707 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11708
11709         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11710           Printf fixes for PPC/OSX, take two (#369366).
11711
11712 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11713
11714         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11715
11716         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11717         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11718         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11719           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11720           don't cast to long long for portability reasons, but use
11721           GLib's types instead.
11722
11723 2006-10-30  Michael Smith  <msmith@fluendo.com>
11724
11725         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11726           Get the arguments to lseek() the right way around.
11727           Fixes 367677.
11728
11729 2006-10-30  Wim Taymans  <wim@fluendo.com>
11730
11731         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11732
11733         * gst/gstinfo.h:
11734         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11735
11736 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11737
11738         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11739
11740         * docs/design/part-MT-refcounting.txt:
11741         * docs/random/wtay/capsnego2-docs:
11742         * gst/gstclock.c:
11743         * gst/gstxml.c:
11744           Typo fixes (#366212).
11745
11746 2006-10-28  Wim Taymans  <wim@fluendo.com>
11747
11748         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11749
11750         * gst/gst.c:
11751         * win32/common/libgstbase.def:
11752         * win32/common/libgstreamer.def:
11753         * win32/vs8/libgstbase.vcproj:
11754         * win32/vs8/libgstcontroller.vcproj:
11755         Add needed entries in .def files.
11756         Use HAVE_UNISTD_H.
11757         Rearrange def files in vs8 solutions. Fixes #366286.
11758
11759 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11760
11761         * win32/common/gstconfig.h:
11762           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11763           hand-made win32 gstconfig.h. Fixes #366321.
11764
11765 2006-10-27  Wim Taymans  <wim@fluendo.com>
11766
11767         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11768         (gst_ghost_pad_new_full):
11769         Make acceptcaps return TRUE when we don't have a target, just like
11770         setcaps does.
11771
11772 2006-10-27  Wim Taymans  <wim@fluendo.com>
11773
11774         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11775         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11776
11777 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11778
11779         * gst/gststructure.c: (gst_structure_id_set_value):
11780           If someone tries to set a non-UTF8 string field on a structure,
11781           don't just print a warning, but also ignore the request and do
11782           not change/add that field to the structure.
11783
11784         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11785           Test for the above.
11786
11787 2006-10-25  David Schleef  <ds@schleef.org>
11788
11789         * gst/gstinfo.c:
11790           g_hash_table_insert() needs a cast to a non-const pointer duh.
11791
11792 2006-10-25  David Schleef  <ds@schleef.org>
11793
11794         * gst/gstinfo.c:
11795         * gst/gstinfo.h:
11796           Change name parameter of _gst_debug_register_funcptr to const
11797           to reflect the constness of its use in the function as well
11798           as to quiet a gcc warning.
11799
11800 2006-10-25  Edward Hervey  <edward@fluendo.com>
11801
11802         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11803         Don't push the buffer if it's empty.
11804         Closes #363095
11805
11806 2006-10-24  Wim Taymans  <wim@fluendo.com>
11807
11808         * gst/gstevent.h:
11809         Add small comment.
11810
11811         * libs/gst/base/gstbasetransform.c:
11812         (gst_base_transform_sink_eventfunc):
11813         Debug segment values *after* updating them as this is more
11814         interesting.
11815
11816 2006-10-23  Wim Taymans  <wim@fluendo.com>
11817
11818         * docs/design/part-events.txt:
11819         Update some docs.
11820
11821         * docs/design/part-block.txt:
11822         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11823         (gst_pad_push_event):
11824         Revert BLOCKING patch, it tries to be smart without really having a
11825         clear idea what or how. So, now we discard all FLUSHING events again on
11826         a blocking pad. Should fix gnonlin again.
11827
11828 2006-10-23  Wim Taymans  <wim@fluendo.com>
11829
11830         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11831
11832         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11833         (gst_base_src_start), (gst_base_src_activate_push):
11834         Make sure size is always initialized. Fixes #364388.
11835
11836 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11837
11838         * docs/random/ensonic/distributed.txt:
11839           add some ideas about doing distributed processing
11840
11841         * docs/random/ensonic/profiling.txt:
11842           get_rusage look promising
11843
11844 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11845
11846         * docs/manual/basics-helloworld.xml:
11847           Add a cast in example to fix compile warning
11848
11849 2006-10-18  Wim Taymans  <wim@fluendo.com>
11850
11851         * gst/gstsegment.c: (gst_segment_set_last_stop),
11852         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11853         Relax arg checking again, -1 is allowed.
11854
11855 2006-10-18  Wim Taymans  <wim@fluendo.com>
11856
11857         * gst/gstsegment.c: (gst_segment_set_last_stop),
11858         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11859         _set_last_stop() must be with a value != -1
11860         A _TYPE_SET to -1 means seek to 0.
11861         Calc last_stop correctly for negative rates.
11862         Make sure we work with positive durations when updating a segment.
11863
11864 2006-10-18  Wim Taymans  <wim@fluendo.com>
11865
11866         * docs/design/part-live-source.txt:
11867         * gst/gstclock.h:
11868         Small docs fixes.
11869
11870 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11871
11872         * gst/gstbuffer.h:
11873           Add an explicit cast to GstBuffer** to keep old code that added an
11874           explicit cast to GstMiniObject** for gst_mini_object_replace()
11875           compiling without warning.
11876
11877 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11878
11879         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11880           check for validity of dates
11881
11882 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         * docs/gst/gstreamer-sections.txt:
11885           Forgot this one, makes gtk-doc shut up.
11886
11887 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11888
11889         Patch by: Peter Kjellerstedt <pkj at axis com>
11890
11891         * gst/gstobject.h:
11892           Don't define xmlNodePtr to gpointer if the core was built with
11893           --disable-loadsave and --disable-registry, this will break
11894           applications that want to use libxml2 but are buildling against a
11895           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11896           instead so we don't have to mess with the libxml2 namespace
11897           (#361675).
11898
11899 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11900
11901         * gst/gstbuffer.h:
11902           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11903           type-punned pointer warnings.
11904
11905 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11906
11907         * gst/gstelement.h:
11908           Add casts to the correct return type to state <=> state transition
11909           macros.
11910
11911 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11912
11913         * docs/design/part-live-source.txt:
11914           describe howto handle latency
11915         
11916         * docs/random/ensonic/profiling.txt:
11917           more ideas
11918
11919         * tools/gst-plot-timeline.py:
11920           fix log parsing for solaris, remove unused function
11921
11922 2006-10-16  Wim Taymans  <wim@fluendo.com>
11923
11924         * docs/design/part-trickmodes.txt:
11925         * gst/gstevent.c:
11926         Update some docs regarding reverse playback.
11927
11928 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11931
11932         * win32/vs8/grammar.vcproj:
11933           Error out with a warning if glib-genmarshal.exe is not in path,
11934           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11935
11936 2006-10-13  Wim Taymans  <wim@fluendo.com>
11937
11938         * gst/gstsegment.c: (gst_segment_set_seek):
11939         When seeking to stop -1, set last_stop (current position) to the
11940         duration of the segment.
11941
11942 2006-10-13  Wim Taymans  <wim@fluendo.com>
11943
11944         * gst/gstelement.h:
11945         Clarify _NO_PREROLL a bit more.
11946
11947         * gst/gstevent.c:
11948         Fix docs.
11949
11950         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11951         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11952         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11953         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11954         due to wrong locking order. Fixes #361769.
11955         Remove some redundant/misplaced checks in pad_block.
11956
11957         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11958         For negative rates, count backwards from the duration.
11959
11960 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11961
11962         * gst/gsterror.c: (_gst_library_errors_init):
11963           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11964           up with something better).
11965
11966 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11967
11968         * win32/vs6/libgstreamer.dsp:
11969         * win32/vs7/libgstreamer.vcproj:
11970         * win32/vs8/libgstreamer.vcproj:
11971           Don't reference glib-compat.c which is currently not used and not
11972           disted; add gstquark.c which was recently added. Fixes #361730.
11973
11974 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11975
11976         * win32/common/libgstbase.def:
11977         * win32/common/libgstcontroller.def:
11978         * win32/common/libgstreamer.def:
11979           Add gst_caps_merge() and a bunch of other recently-added functions.
11980           Fixes #361732.
11981
11982 2006-10-11  Wim Taymans  <wim@fluendo.com>
11983
11984         * docs/plugins/gstreamer-plugins.args:
11985         * docs/plugins/inspect/plugin-coreelements.xml:
11986         * docs/plugins/inspect/plugin-coreindexers.xml:
11987         Update element args.
11988
11989         * gst/gstsystemclock.c:
11990         Small comment update.
11991
11992         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
11993         (gst_tee_request_new_pad), (gst_tee_release_pad),
11994         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
11995         (gst_tee_sink_activate_pull):
11996         * plugins/elements/gsttee.h:
11997         Some tee loving:
11998         Add default property defines.
11999         Implement release pad function.
12000         Give properties better blubs etc.
12001         Activate pads before adding them to a running tee.
12002         Do simple buffer_alloc on the first requested pad.
12003         Post error when activation fails.
12004
12005 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12006
12007         * gst/gst.c: (ensure_current_registry_forking):
12008           Check return value of write() to make compiler happy.
12009
12010 2006-10-11  Wim Taymans  <wim@fluendo.com>
12011
12012         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12013
12014         * plugins/elements/gstqueue.c: (gst_queue_chain):
12015         Recheck queue filledness after signalling the overrun when we're about
12016         to leak downstream because we released the lock when emitting the signal
12017         and the queue could be empty again. Fixes #352345.
12018
12019 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12020
12021         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12022           Fix refcounting here too, just like we did for _new_valist() a few
12023           days ago (#357180) (thanks to René Stadler). Also remove all those
12024           'Since: 0.9' from the gtk-doc blobs.
12025
12026         * tests/check/libs/controller.c: (controller_refcount_new_list),
12027         (gst_controller_suite):
12028           Unit test for the above.
12029
12030 2006-10-10  Wim Taymans  <wim@fluendo.com>
12031
12032         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12033
12034         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12035         (gst_pad_save_thyself):
12036         Update some docs.
12037         Write pad direction in XML output. Fixes #345496.
12038
12039 2006-10-10  Wim Taymans  <wim@fluendo.com>
12040
12041         Patch by: René Stadler <mail at renestadler dot de>
12042
12043         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12044         (gst_controller_new_list), (_gst_controller_dispose),
12045         (_gst_controller_finalize), (_gst_controller_class_init):
12046         Take ref to controlled object so that it cannot disappear. 
12047         Fixes #357432.
12048
12049 2006-10-10  Wim Taymans  <wim@fluendo.com>
12050
12051         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12052         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12053         (gst_check_teardown_sink_pad):
12054         Activate/deactivate pads in setup/teardown respectively.
12055
12056 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12057
12058         Patch by: Josep Torra Valles <josep@fluendo.com>
12059
12060         * gst/Makefile.am:
12061         Cast values when making gstenumtypes.h.  This pacifies Forte
12062         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12063         in the enumeration.
12064
12065 2006-10-09  Wim Taymans  <wim@fluendo.com>
12066
12067         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12068         Rename some more @cur to @start to fix docs. 
12069
12070         * gst/gstsegment.c: (gst_segment_set_seek):
12071         Fix typo.
12072         time and start must always stay in sync as defined in design doc.
12073
12074         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12075         Rename param to fix docs.
12076
12077         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12078         Check that start and time are in sync.
12079
12080         * tests/check/pipelines/parse-launch.c:
12081         (gst_parse_test_element_change_state):
12082         Activate pad before adding to the element.
12083
12084 2006-10-09  Wim Taymans  <wim@fluendo.com>
12085
12086         * docs/design/part-qos.txt:
12087         Fix typo.
12088
12089         * gst/gstevent.c:
12090         * gst/gstevent.h:
12091         Update seek event docs regarding negative rates.
12092         Rename @cur to @start. 
12093
12094         * gst/gstsegment.c: (gst_segment_set_seek):
12095         * gst/gstsegment.h:
12096         Update set_seek docs regarding negative rates.
12097         Correctly update last_stop to @stop when dealing with negative
12098         rates.
12099         Rename @cur to @start. 
12100
12101         * tests/check/gst/gstpad.c: (GST_START_TEST):
12102         Activate pads before trying to use them.
12103
12104         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12105         (gst_segment_suite):
12106         Add simple check for segments and negative rates.
12107
12108 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12109
12110         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12111         * gst/gsttaglist.h:
12112         * docs/gst/gstreamer-sections.txt:
12113           API: add gst_tag_list_is_empty() (#360467).
12114
12115         * tests/check/gst/gsttag.c: (GST_START_TEST):
12116           And a test case.
12117
12118 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12119
12120         * gst/gstmessage.h:
12121         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12122         a value that doesn't fit on enumeration.
12123
12124 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12125
12126         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12127         Remove local debugging system and use Gstreamer's instead.
12128
12129 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12130
12131         Patch by: Josep Torra Valles <josep@fluendo.com>
12132
12133         * common/m4/gst-error.m4:
12134         Disable warning of statement not reached on Forte.
12135         * gst/gstmessage.h:
12136         Fix warning on Forte (value doesn't fit on enumeration).
12137         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12138         Fix warning on Forte (value doesn't fit on enumeration).
12139         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12140         DEBUG macro says it takes minimum of 2 args and so Forte
12141         complains about the use with just 1 arg.
12142         * plugins/elements/gstfdsink.c:
12143         * plugins/elements/gstfdsrc.c:
12144         * plugins/elements/gstfilesink.c:
12145         * plugins/elements/gstfilesrc.c:
12146         Use correct return type for the uri handler implementations.
12147
12148         All these fix warnings in Forte.  Fixes bug #360860.
12149
12150 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12151
12152         * gst/gstelement.h:
12153           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12154           format string, so don't use G_GNUC_PRINTF for those versions.
12155
12156 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12157
12158         * gst/gsttaglist.c: (gst_is_tag_list):
12159         * gst/gsttaglist.h:
12160           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12161
12162         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12163           Small test for the above.
12164
12165 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12166
12167         * gst/gsttaglist.h:
12168           Less tabs, more spaces.
12169
12170 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12171
12172         * gst/gstinfo.h:
12173           Those two function declarations do actually belong there, revert
12174           commit from yesterday that turned them intro macros.
12175
12176 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12177
12178         Patch by: Josep Torra Valles <josep@fluendo.com>
12179
12180         * gst/gst.c: (gst_init_get_option_group):
12181         Fix empty declaration and type mismatch.
12182         * gst/gstbin.c: (gst_bin_change_state_func):
12183         Fix type mismatch.
12184         * gst/gstelement.c: (gst_element_continue_state),
12185         (gst_element_set_state_func), (gst_element_change_state),
12186         (gst_element_change_state_func):
12187         Fix type mismatches.
12188         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12189         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12190         Cast as appropriate.
12191         * gst/gstobject.c: (gst_class_signal_connect):
12192         Cast as appropriate.  The function pointer parameter really
12193         has the wrong type but would break API if we change it.
12194         * gst/gstquery.c:
12195         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12196         order of including string.h.
12197         * gst/gstutils.c: (gst_element_state_get_name):
12198         Remove unreachable line.
12199         * gst/gstxml.c: (gst_xml_parse_doc):
12200         Fix type mismatch.
12201         All these caught by Forte.
12202
12203 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12204
12205         Patch by: Josep Torra Valles <josep@fluendo.com>
12206
12207         * common/m4/gst-error.m4:
12208         Fixed bug #360151.
12209         We need to disable warnings on Forte for empty declarations
12210         due to gst-indent adding ;s to lines that just use macros
12211         where the macro actually doesn't need a ; at end to end
12212         statement.
12213
12214 2006-10-06  Wim Taymans  <wim@fluendo.com>
12215
12216         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12217         (gst_file_sink_close_file), (gst_file_sink_event),
12218         (gst_file_sink_render):
12219         Add some FIXME for the NEWSEGMENT handling.
12220
12221 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12222
12223         * gst/parse/grammar.y:
12224         Remove static function gst_parse_element_lock as all it does
12225         is return.  Looks like cruft from 0.8.
12226
12227 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12228
12229         Patch by: Josep Torra Valles <josep@fluendo.com>
12230
12231         * common/m4/gst-error.m4:
12232         * configure.ac:
12233         * libs/gst/net/Makefile.am:
12234         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12235         libresolv.
12236
12237 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12238
12239         * gst/gstpad.c: (pre_activate):
12240         * gst/gstregistry.c: (gst_registry_scan_path_level):
12241         * gst/gstregistryxml.c: (load_plugin):
12242         * libs/gst/controller/gstcontroller.c:
12243         (gst_controlled_property_set_interpolation_mode):
12244         * libs/gst/dataprotocol/dataprotocol.c:
12245         (gst_dp_packet_from_event_1_0):
12246         * libs/gst/net/gstnetclientclock.c:
12247         (gst_net_client_clock_observe_times):
12248         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12249           Printf fixes.
12250
12251 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12252
12253         * configure.ac:
12254         * docs/gst/gstreamer-sections.txt:
12255         * gst/gstconfig.h.in:
12256         * gst/gstelement.h:
12257         * gst/gstinfo.h:
12258           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12259           whether we can use G_GNUC_PRINTF in other header files and at
12260           least check the printf format/arguments of debug messages and
12261           GST_ELEMENT_ERROR messages when the printf extension is not
12262           being used.
12263           Replace more tabs with spaces in gstinfo.h and remove two spurious
12264           function declarations in GST_DISABLE_DEBUG part with macros.
12265
12266 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12267
12268         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12269           More docs for the sync-message signal (mention that it is not
12270           emitted by default); log message structures of messages posted on
12271           the bus as well.
12272
12273 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12274
12275         * gst/gst.c: (ensure_current_registry_forking):
12276         Use a pipe pair to receive status results from the forked child, and
12277         ignore the result from waitpid. Fixes #355499
12278
12279 2006-10-02  Wim Taymans  <wim@fluendo.com>
12280
12281         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12282         (gst_ghost_pad_suite):
12283         Fix leak in check.
12284
12285 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12286
12287         * gst/gstpad.c:
12288           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12289
12290 2006-10-02  Edward Hervey  <edward@fluendo.com>
12291
12292         * docs/design/part-block.txt:
12293         Further explain the use of flushing on blocked pads.
12294         * docs/gst/gstreamer-sections.txt:
12295         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12296         (gst_pad_push_event):
12297         * gst/gstpad.h:
12298         Added new GstPadFlag : GST_PAD_BLOCKING.
12299         Adds the notion of pads really blocking, which enables to properly
12300         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12301         Fixes #358999
12302         API: gst_pad_is_blocking()
12303         API: GST_PAD_IS_BLOCKING() macro
12304         API: GST_PAD_BLOCKING GstPadFlag
12305         
12306 2006-10-02  Wim Taymans  <wim@fluendo.com>
12307
12308         Patch by: mrcgran <mrc.gran at gmail dot com>
12309
12310         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12311         Filter the proxied caps against the padtemplate if we have one.
12312
12313         * gst/gstquery.c: (gst_query_new_segment):
12314         Add include for gstinfo.h so that compilation with
12315         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12316
12317 2006-10-02  Wim Taymans  <wim@fluendo.com>
12318
12319         Patch by: Alessandro Decina  <alessandro at nnva org>
12320
12321         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12322         (gst_file_sink_set_location), (gst_file_sink_open_file),
12323         (gst_file_sink_close_file), (gst_file_sink_event),
12324         (gst_file_sink_render):
12325         Set file to NULL when closing filesink so that we can set a new filename
12326         in READY. Fixes #358613.
12327
12328 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12329
12330         Patch by: Alessandro Decina  <alessandro at nnva org>
12331
12332         * gst/gstevent.c: (_gst_event_copy):
12333           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12334           with event structures by setting the parent refcount address of the
12335           copied structure to the address of the refcount member of the newly
12336           copied event rather than the address of the refcount member of the
12337           original event. Fixes #358737.
12338
12339         * tests/check/gst/gstevent.c: (GST_START_TEST):
12340           Unit test for the above.
12341
12342 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12343
12344         * docs/design/Makefile.am:
12345           Dist some more files.
12346
12347 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12348
12349         * tests/check/libs/controller.c: (GST_START_TEST),
12350         (gst_controller_suite):
12351           Add test for the previous fix; add some more tests
12352           for correct refcounting behaviour; fix a few leaks
12353           in test cases; call gst_controller_init() at start
12354           of all tests.
12355
12356 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12357
12358         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12359         (gst_controller_set_from_list):
12360           Don't g_return_val_if_fail() on timed values with invalid timestamps
12361           inside a critical section without unlocking the mutex. Spotted by
12362           René Stadler. (#357617)
12363           Also, fix up refcounting properly: when returning an existing
12364           controller, we should increase the reference only once and not
12365           once per property and when trying to control a property again
12366           we should also increase the refcount.
12367
12368 2006-09-29  Wim Taymans  <wim@fluendo.com>
12369
12370         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12371         * libs/gst/net/gstnettimeprovider.c:
12372         (gst_net_time_provider_thread):
12373         Stop reading commands when EOF as well.
12374
12375         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12376         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12377         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12378         Unify description of the dump property.
12379
12380 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12381
12382         * tests/examples/manual/.cvsignore:
12383         OK, so it's actually cvsignore that needs changing. Stop laughing.
12384
12385 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12386
12387         * tests/examples/manual/Makefile.am:
12388         Gah, declare vars *before* using them
12389
12390 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12391
12392         * gst/gst.c: (init_pre), (scan_and_update_registry),
12393         (ensure_current_registry_nonforking),
12394         (ensure_current_registry_forking), (ensure_current_registry),
12395         (init_post), (gst_debug_help), (gst_deinit):
12396         * gst/gst_private.h:
12397         * gst/gstregistry.c: (gst_registry_finalize),
12398         (gst_registry_remove_features_for_plugin_unlocked),
12399         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12400         (gst_registry_scan_path),
12401         (_priv_gst_registry_remove_cache_plugins),
12402         (_priv_gst_registry_cleanup):
12403         * gst/gstregistry.h:
12404         Re-commit the registry changes, along with an extra fix:
12405           When a cached plugin is encountered at a different file path,
12406           update the stored path in the registry cache so that the parent
12407           process knows where it actually is now when it re-reads the registry
12408           cache. Fixes the thing that broke distcheck with the previous commit.
12409
12410         * tests/check/Makefile.am:
12411         Clean up files named 'core' too when running make clean.
12412
12413         * tests/examples/manual/Makefile.am:
12414         Set up a registry path for running these tests, and clean it properly
12415         for distcheck.
12416
12417 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12418
12419         * configure.ac:
12420         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12421         want gmodule-no-export-2.0.pc instead so that we don't drag in
12422         --export-dynamic on every project that links to GStreamer.
12423
12424         Also, make our export regex only match the start of symbols, rather 
12425         than any symbol that contains '_gst' somewhere.
12426
12427         * libs/gst/check/Makefile.am:
12428         The libgstcheck we build does however need export-dynamic, as it
12429         produces some symbols that don't match our _gst... style regex.
12430         Fixes: #318031
12431
12432 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12433
12434         * gst/gst.c: (init_pre), (scan_and_update_registry),
12435         (ensure_current_registry_nonforking),
12436         (ensure_current_registry_forking), (ensure_current_registry),
12437         (init_post), (gst_debug_help), (gst_deinit):
12438         * gst/gst_private.h:
12439         * gst/gstregistry.c: (gst_registry_finalize),
12440         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12441         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12442         (_gst_registry_cleanup):
12443         * gst/gstregistry.h:
12444           Revert previous change until I figure out why it breaks distcheck.
12445
12446 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12447
12448         * gst/gst.c: (init_pre), (scan_and_update_registry),
12449         (ensure_current_registry_nonforking),
12450         (ensure_current_registry_forking), (ensure_current_registry),
12451         (init_post), (gst_debug_help), (gst_deinit):
12452
12453           Make init_pre and init_post take the full complement of GOptionFunc
12454           args so they can return useful GErrors. Make the registry updating
12455           functions do so.
12456
12457           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12458           ensure that the registry we're about to write out doesn't contain
12459           stale information about old-deleted plugin files.
12460
12461           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12462           that deletion of plugin files is considered a registry change.
12463
12464         * gst/gst_private.h:
12465         * gst/gstregistry.c: (gst_registry_finalize),
12466         (gst_registry_remove_features_for_plugin_unlocked),
12467         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12468         (gst_registry_scan_path),
12469         (_priv_gst_registry_remove_cache_plugins),
12470         (_priv_gst_registry_cleanup):
12471         * gst/gstregistry.h:
12472         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12473         by adding _priv prefix, so that they won't appear in the global
12474         symbol table. They still do atm though because of #318031. Move the
12475         prototypes to gst_private.h
12476
12477         When removing a plugin, remove all features for that plugin too. 
12478         Fixes #340878.
12479
12480 2006-09-27  Wim Taymans  <wim@fluendo.com>
12481
12482         * docs/random/moving-plugins:
12483         Make it clear that the "compiled-in descriptions" really mean
12484         the element details.
12485
12486         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12487         (gst_base_sink_wait_preroll):
12488         Update docs.
12489
12490         * docs/libs/gstreamer-libs-sections.txt:
12491         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12492         (gst_base_src_get_range), (gst_base_src_activate_push):
12493         * libs/gst/base/gstbasesrc.h:
12494         Added function to block while waiting for PLAYING, this function
12495         is used by live sources that block on the clock.
12496         API: gst_base_src_wait_playing()
12497
12498 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12499
12500         Patch by: Peter Kjellerstedt <pkj at axis com>
12501
12502         * Makefile.am:
12503           gst-element-check.m4 is generated and should therefore be
12504           copied from the build dir rather than the source dir (#357593).
12505           'make distcheck' hasn't noticed this because we were disting
12506           the file as well, so stop doing that.
12507
12508 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12509
12510         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12511           Add some tests for gst_caps_intersect().
12512
12513         * tools/gst-launch.c: (event_loop):
12514           Print all buffering percentages we get, even the 100% one.
12515
12516 2006-09-26  Wim Taymans  <wim@fluendo.com>
12517
12518         * tools/gst-inspect.c: (print_element_properties_info),
12519         (print_signal_info):
12520         Fix printing of flags to match the look of enums.
12521
12522 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12523
12524         * gst/gstelementfactory.c:
12525           Fix typo in docs blurb.
12526
12527 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12528
12529         * gst/gsturi.c: (search_by_entry):
12530           Don't assert/crash here if a uri handler doesn't return any
12531           supported protocols. The list of protocols could be generated
12532           dynamically at runtime or at plugin registration, and an error
12533           in the underlying library shouldn't be fatal (#353301).
12534
12535 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12536
12537         * gst/gstinfo.c:
12538           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12539           (spotted by Peter Kjellerstedt).
12540
12541 2006-09-23  Wim Taymans  <wim@fluendo.com>
12542
12543         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12544
12545         * libs/gst/base/gstbasesrc.c:
12546         (gst_base_src_default_check_get_range), (gst_base_src_start),
12547         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12548         (gst_base_src_change_state):
12549         Match _start/_stop calls in the activate functions. Remove redundant
12550         _stop call from the state change function. Fixes #356910.
12551         Turn failure DEBUG into ERROR. 
12552
12553 2006-09-22  Wim Taymans  <wim@fluendo.com>
12554
12555         * docs/design/part-buffering.txt:
12556         * gst/gstmessage.c: (gst_message_new_buffering),
12557         (gst_message_parse_buffering):
12558         Update docs about buffering.
12559
12560         * docs/design/part-trickmodes.txt:
12561         Fix typo.
12562
12563 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12564
12565         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12566         (gst_controller_new_list):
12567           Ref instances when returning them again (fixes #357180)
12568
12569 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12570
12571         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12572           Don't forget to release proxy lock when there's an error.
12573
12574 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12575
12576         * gst/gstcaps.h:
12577           Add extra initialisers for Caps things, to fix some plugin warnings
12578           when using -Wextra
12579
12580 2006-09-18  Wim Taymans  <wim@fluendo.com>
12581
12582         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12583           Also set template on the internal pad so that a getcaps from the 
12584           target pad returns the template caps.
12585
12586 2006-09-18  Wim Taymans  <wim@fluendo.com>
12587
12588         * gst/gstelement.c: (gst_element_post_message),
12589         (gst_element_dispose):
12590         Use _DEBUG_OBJECT some more.
12591
12592         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12593         Avoid typechecks.
12594
12595         * tools/gst-launch.c: (main):
12596         If the toplevel element is not a GstPipeline, it must be put in a
12597         pipeline so that a bus and clock is selected.
12598
12599 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12600
12601         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12602           JITTER, RATE, and LATENCY query should be handled by the
12603           default case and not by the CONVERT query code.
12604
12605 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12606
12607         * gst/gstformat.c: (gst_format_register):
12608           Fix locking order (must take lock before using n_values).
12609
12610         * gst/gstvalue.c: (gst_value_serialize_enum),
12611         (gst_value_deserialize_enum_iter_cmp),
12612         (gst_value_deserialize_enum):
12613           Fix serialisation/deserialisation of custom registered GstFormats.
12614
12615         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12616           Unit test for custom format serialisation/deserialisation.
12617
12618 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12619
12620         * docs/pwg/building-boiler.xml:
12621         * plugins/elements/gstcapsfilter.c:
12622         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12623         section.
12624
12625 2006-09-16  Edward Hervey  <edward@fluendo.com>
12626
12627         * libs/gst/base/gstbasetransform.c:
12628         (gst_base_transform_buffer_alloc):
12629         Check if requested caps are the same as the sinks caps IF
12630         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12631         is FALSE.
12632         This fixes the renegotiation issues stated in #352827.
12633
12634 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12635
12636         * configure.ac:
12637         * docs/manual/advanced-autoplugging.xml:
12638         * tests/examples/Makefile.am:
12639         * tests/examples/manual/.cvsignore:
12640         * tests/examples/manual/Makefile.am:
12641         * tests/examples/manual/extract.pl:
12642           Extract the manual examples again like we used to do.
12643           Fix one of them.
12644
12645 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12646
12647         * win32/common/config.h:
12648           update for version
12649
12650 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12651
12652         * gst/gsterror.c:
12653           Documents how to receive errors.
12654
12655 2006-09-15  Wim Taymans  <wim@fluendo.com>
12656
12657         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12658         (event_loop), (main):
12659         Added some comments here and there.
12660         Post an application message when an interrupt is caught instead of doing
12661         an uncontrolled state change.
12662         Clean up the event loop.
12663         Handle buffering messages, pause/resume the pipeline.
12664         Make shutdown because of an interrupt more reliable.
12665
12666 2006-09-15  Wim Taymans  <wim@fluendo.com>
12667
12668         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12669         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12670         (gst_base_sink_preroll_object):
12671         Make sure that our internal state is correct when we commit our state
12672         asynchronously. This solves a race where a state change to PLAYING
12673         could cause the sink to remain blocked in preroll in some situations.
12674
12675 2006-09-15  Wim Taymans  <wim@fluendo.com>
12676
12677         * tools/gst-inspect.c: (print_element_properties_info),
12678         (print_signal_info):
12679         List flags as hex so it's easier to deal with.
12680
12681 2006-09-15  Wim Taymans  <wim@fluendo.com>
12682
12683         * docs/libs/gstreamer-libs-sections.txt:
12684         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12685         (gst_base_sink_do_sync):
12686         * libs/gst/base/gstbasesink.h:
12687         Expose logic to wait for preroll so that subclasses such as audiosink
12688         can also use this method.
12689         API: gst_base_sink_wait_preroll()
12690
12691 2006-09-15  Wim Taymans  <wim@fluendo.com>
12692
12693         * gst/gstobject.c: (gst_object_set_parent):
12694         * gst/gstpipeline.c: (do_pipeline_seek):
12695         Small cleanups in docs and code.
12696
12697         * gst/gstsegment.c: (gst_segment_clip):
12698         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12699         if stop == start and start is in the segment, no clipping should be
12700         done. Also add a test for this.
12701
12702 2006-09-15  Wim Taymans  <wim@fluendo.com>
12703
12704         * docs/design/part-buffering.txt:
12705         * docs/gst/gstreamer-sections.txt:
12706         * gst/gstmessage.c: (gst_message_new_buffering),
12707         (gst_message_parse_buffering):
12708         * gst/gstmessage.h:
12709         Added methods to create and parse BUFFERING messages.
12710         Added preliminary docs about buffering.
12711         API: gst_message_new_buffering
12712         API: gst_message_parse_buffering
12713
12714 2006-09-06  Wim Taymans  <wim@fluendo.com>
12715
12716         * gst/gstbin.c:
12717         Update documentation.
12718
12719         * gst/gstelement.c: (gst_element_class_init),
12720         (gst_element_release_request_pad), (gst_element_set_clock),
12721         (gst_element_get_index), (gst_element_add_pad),
12722         (gst_element_remove_pad), (gst_element_get_random_pad),
12723         (gst_element_send_event), (gst_element_get_query_types),
12724         (gst_element_query), (gst_element_post_message),
12725         (gst_element_message_full), (gst_element_continue_state),
12726         (gst_element_lost_state), (gst_element_save_thyself),
12727         (gst_element_restore_thyself):
12728         Documentation updates.
12729         Rename last bit of the new-pad -> pad-added signal rename.
12730         Fix the case where an element query would only work if the source
12731         pad was linked.
12732         Avoid some useless type checking in message handling.
12733
12734         * gst/gstevent.c:
12735         * gst/gstevent.h:
12736         * gst/gstutils.c:
12737         Documentation updates.
12738
12739 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12740
12741         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12742           add an INFO line for when we actually update the fd
12743
12744 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12745
12746         * configure.ac:
12747           back to TRUNK
12748
12749 === release 0.10.10 ===
12750
12751 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12752
12753         * configure.ac:
12754           releasing 0.10.10, "Pais"
12755
12756 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12757
12758         * docs/manual/advanced-position.xml:
12759           Fix typo in sample code.
12760
12761 2006-09-05  Wim Taymans  <wim@fluendo.com>
12762
12763         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12764         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12765         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12766         * libs/gst/net/gstnetclientclock.h:
12767         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12768         * libs/gst/net/gstnettimepacket.h:
12769         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12770         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12771         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12772         * libs/gst/net/gstnettimeprovider.h:
12773         Make stuff compile on windows. Fixes #345295.
12774
12775 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12776
12777         * gst/gst.c: (ensure_current_registry_forking):
12778           Print better details when child was terminated by signal.
12779
12780 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12781
12782         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12783           Print a warning rather than g_assert() if a plugin feature
12784           is a URI handler but returns no protocols (#353976).
12785
12786 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12787
12788         * docs/random/moving-plugins:
12789         Fix two typos.         
12790
12791 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12792
12793         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12794           Fix locking order, handle NULL function values properly.
12795
12796         * gst/gstinfo.h:
12797           Fix docs.
12798
12799         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12800           Initialise variable before using it and fix debug statement to
12801           print the address of the function rather than the address of the
12802           variable on the stack holding the address of the function.
12803
12804 2006-09-01  Wim Taymans  <wim@fluendo.com>
12805
12806         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12807         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12808         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12809         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12810         (gst_ghost_pad_parent_unset),
12811         (gst_ghost_pad_internal_do_activate_push),
12812         (gst_ghost_pad_internal_do_activate_pull),
12813         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12814         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12815         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12816         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12817         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12818         (gst_ghost_pad_new_no_target_from_template),
12819         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12820         More cleanups.
12821         Avoid needless typechecking in macros.
12822         Since the internal pad is always present and never changes, there is
12823         no need to locking or ref when retrieving it.
12824         Improve debugging a bit.
12825         Handle link errors when setting the target. Fixes #341029.
12826
12827 2006-09-01  Wim Taymans  <wim@fluendo.com>
12828
12829         * docs/libs/gstreamer-libs-sections.txt:
12830         * docs/plugins/gstreamer-plugins-sections.txt:
12831         Fix docs some more.
12832
12833         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12834         (gst_collect_pads_event):
12835         * libs/gst/base/gstcollectpads.h:
12836         Documentation updates.
12837         Free queued buffer when removing a pad.
12838
12839 2006-08-31  Michael Smith  <msmith@fluendo.com>
12840
12841         * gst/gstutils.c: (gst_element_link_pads),
12842         (gst_element_link_pads_filtered):
12843           Ensure that we set a capsfilter to NULL if we failed to link it
12844           when doing filtered linking, to avoid criticals.
12845
12846           No need to check for unreffing srcpad, which is explicly NULLed
12847           above (a trivial code cleanup).
12848
12849 2006-08-31  Wim Taymans  <wim@fluendo.com>
12850
12851         * docs/design/part-gstghostpad.txt:
12852         Update ascii art in documentation.
12853
12854         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12855         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12856         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12857         (gst_ghost_pad_internal_do_activate_push),
12858         (gst_ghost_pad_internal_do_activate_pull),
12859         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12860         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12861         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12862         (gst_ghost_pad_set_target):
12863         Small cleanups and leak fixes.
12864         Remove some checks now that the internal pad is never NULL.
12865         Fix the case where linking pads without a target would create nasty
12866         criticals. Fixes #341029.
12867         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12868         value of _set_target().
12869
12870         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12871         (gst_ghost_pad_suite):
12872         Some more tests for creating and linking untargeted ghostpads.
12873
12874 2006-08-31  Edward Hervey  <edward@fluendo.com>
12875
12876         * docs/gst/gstreamer-sections.txt:
12877         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12878         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12879         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12880         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12881         (gst_ghost_pad_new_from_template),
12882         (gst_ghost_pad_new_no_target_from_template):
12883         * gst/gstghostpad.h:
12884         Refactored *_new() functions.
12885         Templates are now used as a g_object_new() parameter.
12886         Use template in _do_getcaps() if we don't have a target.
12887         Small documentation cleanups.
12888         Added two new constructors:
12889         gst_ghost_pad_new_from_template()
12890         gst_ghost_pad_new_no_target_from_template()
12891         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12892         (gst_ghost_pad_suite):
12893         Added tests for new ghostpad instanciation functions.
12894
12895         API additions: gst_ghost_pad_new_from_template,
12896         gst_ghost_pad_new_no_target_from_template
12897
12898 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12899
12900         * docs/random/ensonic/profiling.txt:
12901           Ideas about qos profiling.
12902
12903 2006-08-29  Wim Taymans  <wim@fluendo.com>
12904
12905         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12906         Code cleanups.
12907         Fix memleak.
12908
12909 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12910
12911         * gst/gstxml.c:
12912           Improve and detypofy docs.
12913
12914         * tests/check/Makefile.am:
12915         * tests/check/gst/.cvsignore:
12916         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12917           Add a basic test suite for GstXML.
12918
12919 2006-08-29  Wim Taymans  <wim@fluendo.com>
12920
12921         * gst/gstelement.c: (activate_pads), (clear_caps),
12922         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12923         Clear the pad caps when the element shut down all of the pads and
12924         is not streaming data that could modify the caps. 
12925         Fixes #352958.
12926
12927 2006-08-28  Michael Smith  <msmith@fluendo.com>
12928
12929         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12930           Revert previous change; I misunderstood single-segment mode.
12931
12932 2006-08-28  Michael Smith  <msmith@fluendo.com>
12933
12934         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12935           Unset DISCONT on buffers when using single-segment mode.
12936
12937 2006-08-28  Wim Taymans  <wim@fluendo.com>
12938
12939         * gst/gstcaps.c: (gst_caps_merge_structure):
12940         * gst/gstcaps.h:
12941         Fix docs and indentation again.
12942
12943         * tests/check/gst/gstquery.c: (GST_START_TEST):
12944         Fix leak in tests and add some more tests.
12945
12946 2006-08-28  Edward Hervey  <edward@fluendo.com>
12947
12948         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12949         Inform GstSegment of the last stop position in order for the current
12950         segment to have a proper duration if it doesn't have a specific stop
12951         position from which a duration could be calculated.
12952         This bug was noticeable when a non-flushing, non-update new segment was
12953         followed by another segment (all buffers from the new segment were being
12954         dropped).
12955
12956 2006-08-28  Wim Taymans  <wim@fluendo.com>
12957
12958         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12959         Small comment update.
12960
12961         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12962         (gst_identity_transform_ip):
12963         Drop-probability is broken, mention this in the code with a 
12964         FIXME and also in the property description.
12965         Make silent also be silent about the drop messages.
12966
12967 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12968
12969         * docs/manual/appendix-win32.xml:
12970           Remove mention of popt, we don't depend on that any
12971           longer (#353136). Add some comments pointing out that
12972           this section is slightly outdated.
12973
12974 2006-08-28  Wim Taymans  <wim@fluendo.com>
12975
12976         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12977
12978         * gst/gstquery.c: (gst_query_new_segment):
12979         * tests/check/gst/gstquery.c: (GST_START_TEST):
12980         Initialize variables when creating a new segment query.
12981         Fixes #353121.
12982
12983 2006-08-28  Wim Taymans  <wim@fluendo.com>
12984
12985         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12986
12987         * gst/gstelement.c: (gst_element_get_bus):
12988         * tests/check/gst/gstelement.c: (GST_START_TEST):
12989         Check for NULL before _reffing the bus. Fixes #353122.
12990
12991 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
12992
12993         * docs/manual/basics-bus.xml:
12994           Docs update: fix wrong callback return value explanation; add
12995           some lines about the implicit relationship between main loop
12996           and main context; remove duplicate main loop variable declaration.
12997
12998 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
12999
13000         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13001           Don't leak caps in unit test; add a few more simple
13002           checks. 
13003
13004 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13005
13006         * docs/gst/gstreamer-sections.txt:
13007         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13008         (gst_caps_structure_is_subset), (gst_caps_merge),
13009         (gst_caps_merge_structure):
13010         * gst/gstcaps.h:
13011         * libs/gst/base/gstbasetransform.c:
13012         (gst_base_transform_transform_caps):
13013         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13014           implement caps merging (fixes #352580)
13015
13016 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13017
13018         * tools/Makefile.am:
13019         * tools/gst-plot-timeline.py:
13020           add debug-log plotting developer tool (#340674)
13021
13022 2006-08-23  Wim Taymans  <wim@fluendo.com>
13023
13024         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13025         (gst_pad_stop_task):
13026         Improve debugging for task functions.
13027
13028         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13029         (gst_task_start), (gst_task_pause), (gst_task_join):
13030         Make sure that the task function started and finished after a 
13031         join(). 
13032         Don't try to push the task function on the threadpool multiple
13033         times.
13034         Improve the g_warning message with some useful suggestions
13035         about how to fix the problem. 
13036
13037 2006-08-23  Wim Taymans  <wim@fluendo.com>
13038
13039         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13040         Handle RESYNC correctly in _proxy_getcaps.
13041
13042 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13043
13044         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13045         (gst_xml_parse_memory), (gst_xml_get_element):
13046           Chain up to parent class in dispose function and also
13047           unref the elements in the toplevel_elements GList.
13048           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13049           Always return a reference in gst_xml_get_element() rather
13050           than only sometimes.
13051
13052         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13053           Don't leak GstXml object.
13054
13055 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13056
13057         * docs/gst/gstreamer-sections.txt:
13058         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13059         (gst_caps_merge):
13060         * gst/gstcaps.h:
13061         * libs/gst/base/gstbasetransform.c:
13062         (gst_base_transform_transform_caps):
13063           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13064           in a better way
13065
13066 2006-08-21  Edward Hervey  <edward@fluendo.com>
13067
13068         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13069         Implement GObject::dispose virtual method in GstXML so we can free the
13070         top_elements GList.
13071
13072 2006-08-21  Wim Taymans  <wim@fluendo.com>
13073
13074         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13075         (gst_buffer_create_sub):
13076         Copy duration/offset_end/caps when creating a subbuffer of the
13077         complete parent.
13078         Make the subbuffer read-only when we make the metadata writable for
13079         now. Fixes #351768.
13080
13081         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13082         Added check for metadata copy when creating subbuffers.
13083
13084 2006-08-21  Edward Hervey  <edward@fluendo.com>
13085
13086         * libs/gst/base/gstbasetransform.c:
13087         (gst_base_transform_buffer_alloc):
13088         Only call downstream buffer_alloc if transform element is passthrough
13089         or always_in_place. Closes #350449.
13090
13091 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13092
13093         * ChangeLog:
13094           ChangeLog surgery to add comments to previous changes
13095
13096 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13097
13098         * gst/gst.c:
13099           Add comments
13100
13101         * gst/gstpad.c: (gst_pad_set_active):
13102           Be more verbose in the log
13103
13104         * libs/gst/base/gstbasetransform.c:
13105         (gst_base_transform_transform_caps):
13106           Simplify caps to get rid of duplicates, fixes #345444
13107
13108 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13109
13110         * gst/gstvalue.c:
13111         * gst/gstvalue.h:
13112           Use these optimizations only internally.
13113
13114 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13115
13116         * gst/gstvalue.c: (gst_value_compare_list),
13117         (gst_value_compare_fraction_range),
13118         (gst_value_intersect_fraction_fraction_range),
13119         (gst_value_intersect_fraction_range_fraction_range),
13120         (gst_value_subtract_fraction_fraction_range),
13121         (gst_value_subtract_fraction_range_fraction_range),
13122         (gst_value_get_compare_func), (gst_value_compare),
13123         (gst_value_compare_with_func):
13124         * gst/gstvalue.h:
13125           Saves the expensive lookup of the compare function in many cases
13126          (#345444)
13127
13128 2006-08-18  Edward Hervey  <edward@fluendo.com>
13129
13130         * tests/check/gst/gstinfo.c: (gst_info_suite):
13131         Disable test that require gstdebug if it wasn't built in core.
13132
13133 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13134
13135         * docs/random/ensonic/logging.txt:
13136           update ideas
13137           
13138         * gst/gstinfo.c: (gst_debug_log_default):
13139           reorder fields, save some columns, add optional color codes for log
13140           levels
13141
13142 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13143
13144         * docs/random/ensonic/logging.txt:
13145           add ideas about making the logs a bit more useful
13146
13147 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13148
13149         * docs/pwg/advanced-events.xml:
13150         * docs/pwg/titlepage.xml:
13151           Update for 0.10 API (#340627). Add myself
13152           to authors list.
13153
13154 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13155
13156         * docs/libs/gstreamer-libs-docs.sgml:
13157         * docs/libs/gstreamer-libs-sections.txt:
13158         * libs/gst/check/gstbufferstraw.c:
13159           Make gstcheck stuff show up in docs (still needs to
13160           be documented properly though).
13161
13162 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13163
13164         * docs/gst/gstreamer-sections.txt:
13165         * gst/Makefile.am:
13166         * gst/gst.c: (init_post):
13167         * gst/gst_private.h:
13168         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13169         * gst/gstquark.h:
13170         * gst/gstquery.c: (gst_query_new_position),
13171         (gst_query_set_position), (gst_query_parse_position),
13172         (gst_query_new_duration), (gst_query_set_duration),
13173         (gst_query_parse_duration), (gst_query_new_convert),
13174         (gst_query_set_convert), (gst_query_parse_convert),
13175         (gst_query_new_segment), (gst_query_set_segment),
13176         (gst_query_parse_segment), (gst_query_new_seeking),
13177         (gst_query_set_seeking), (gst_query_parse_seeking):
13178         Add internal helpers for pre-registering quarks from static strings
13179         and using the quark values directly instead of looking them up when
13180         creating and parsing queries. Can be used for event construction too.
13181         Closes #350432.
13182
13183 2006-08-16  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstbin.c:
13186         Fix bogus docs.
13187
13188 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13189
13190         * gst/gstutils.c: (gst_util_set_value_from_string):
13191           Fix memleak (#351502).
13192
13193         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13194           Add unit test for most of gst_util_set_value_from_string()
13195           (not that one would want to encourage use of this function).
13196
13197 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13198
13199         * libs/gst/check/gstcheck.h:
13200           Use const gchar * variables in fail_unless_equals_string
13201           macro to avoid compiler warnings (and don't use tabs for
13202           indenting).
13203
13204 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13205
13206         * tools/gst-launch.c: (print_tag):
13207           More space on the left for the tag names, to cater
13208           for the 'extended comment' tag (not touching the
13209           string for the first line since it's translated).
13210
13211 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13212
13213         * libs/gst/check/gstcheck.h:
13214           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13215           print something when they fail.
13216
13217 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * docs/gst/gstreamer-sections.txt:
13220         * gst/gsttaglist.c: (_gst_tag_initialize):
13221         * gst/gsttaglist.h:
13222           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13223           Also change merge function for GST_TAG_COMMENT to
13224           use_first.
13225
13226 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13227
13228         * gst/gstinfo.c: (gst_debug_print_object):
13229           Make GST_PTR_FORMAT print messages as well.
13230
13231         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13232         (GST_START_TEST), (gst_info_suite):
13233           More tests.
13234
13235 2006-08-14  Edward Hervey  <edward@fluendo.com>
13236
13237         * gst/gstelementfactory.c: (gst_element_register):
13238         If the GstElementClass doesn't have a GstElementDetails with all fields
13239         filled up correctly (longname, description AND author), then error out
13240         nicely instead of crashing.
13241
13242 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13243
13244         * gst/gststructure.c:
13245           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13246
13247         * gst/gstvalue.h:
13248           Expand on the difference between arrays and lists as we use them.
13249           
13250 2006-08-14  Wim Taymans  <wim@fluendo.com>
13251
13252         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13253         If the parent state change function failed, don't assume we can safely
13254         stop the source, this will be done when the pads are deactivated.
13255
13256 2006-08-14  Wim Taymans  <wim@fluendo.com>
13257
13258         * gst/gstbuffer.c:
13259         * gst/gsttask.c: (gst_task_join):
13260         Small doc updates.
13261
13262         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13263         (gst_pad_stop_task):
13264         When pad (de)activation failed for some reason, restore the old
13265         activation mode and set the pad to flushing instead of assuming the
13266         pad is deactivated.
13267         If the _task_join() failed, reinstall the task on the pad so that it can
13268         be stopped later and return an error.
13269
13270 2006-08-11  Andy Wingo  <wingo@pobox.com>
13271
13272         * configure.ac:
13273         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13274         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13275         is only for users of API that don't want to see deprecated
13276         functions in the headers; people that want to compile out
13277         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13278         CFLAGS. Fixes the build of multifdsink, or will soon..
13279
13280 2006-08-11  Wim Taymans  <wim@fluendo.com>
13281
13282         * docs/gst/gstreamer-sections.txt:
13283         Add GstClockClass vmethod docs.
13284
13285         * gst/gstcaps.h:
13286         Mark #endif with comment for associated #if
13287
13288         * gst/gstclock.c: (gst_clock_id_wait):
13289         * gst/gstclock.h:
13290         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13291         most clock implementations.
13292         Document vmethods.
13293         Flesh out docs about resolution methods.
13294         API: GstClockClass::wait_jitter
13295
13296         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13297         (gst_system_clock_async_thread),
13298         (gst_system_clock_id_wait_jitter_unlocked),
13299         (gst_system_clock_id_wait_jitter):
13300         Use base class wait_jitter variant for improved performance
13301         due to less clock polling.
13302
13303 2006-08-11  Edward Hervey  <edward@fluendo.com>
13304
13305         * gst/gst.c: (gst_init_check), (init_post):
13306         Set gst as being initialized before scanning/updating the registry,
13307         since there might be my python plugin loader that calls gst_init() and
13308         we don't want to loop back in.
13309         Closes #350879
13310
13311 2006-08-11  Wim Taymans  <wim@fluendo.com>
13312
13313         * docs/design/part-qos.txt:
13314         Bring docs in line with the code. Mostly the sign of the jitter was
13315         wrong in the docs. Fixes #349943.
13316
13317         * gst/gstclock.c:
13318         Fix the docs for the jitter.
13319
13320         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13321         (gst_event_parse_tag), (gst_event_new_buffer_size),
13322         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13323         (gst_event_new_seek), (gst_event_parse_seek),
13324         (gst_event_new_navigation):
13325         Make sure the GstStructure has no parent when creating custom
13326         events.
13327         Add some more argument checking so that we avoid 0.0 rates.
13328         Flesh out the docs for the QoS event some more.
13329
13330 2006-08-11  Wim Taymans  <wim@fluendo.com>
13331
13332         * docs/gst/gstreamer-sections.txt:
13333         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13334         (ensure_current_registry_forking), (ensure_current_registry),
13335         (parse_one_option), (parse_goption_arg), (gst_deinit),
13336         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13337         * gst/gst.h:
13338         Doc updates.
13339         Added API and command line option to disable registry forking in
13340         addition to the environment variable.
13341         Constify some static arrays.
13342         Added some more debug.
13343         Don't deinit twice.
13344         API: gst_registry_fork_is_enabled()
13345         API: gst_registry_fork_set_enabled()
13346         API: --gst-disable-registry-fork command line option
13347         Fixes #348918.
13348
13349 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13350
13351         * gst/gst.c: (gst_init):
13352           Fix typo in error message.
13353
13354 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13355
13356         * libs/gst/controller/gstcontroller.h:
13357           fix ABI size-correction
13358
13359         * tests/check/libs/gdp.c: (gst_dp_suite):
13360           make tests that use deprecated API conditional
13361
13362 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13363
13364         * docs/libs/gstreamer-libs-sections.txt:
13365         * libs/gst/controller/gstcontroller.c:
13366         (_gst_controller_get_property), (_gst_controller_set_property),
13367         (_gst_controller_init), (_gst_controller_class_init):
13368         * libs/gst/controller/gstcontroller.h:
13369         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13370         (gst_object_set_control_rate):
13371           API: add gst_object_{s,g}et_control_rate(), add private data section,
13372           fix docs
13373
13374         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13375         * libs/gst/dataprotocol/dataprotocol.h:
13376           add deprecation guards to make gtk-doc happy and allow disabling cruft
13377
13378 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13379
13380         * tests/check/Makefile.am:
13381         * tests/check/gst/.cvsignore:
13382           Let's enable the new unit test as well.
13383
13384 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13385
13386         * configure.ac:
13387         * docs/gst/gstreamer-sections.txt:
13388         * gst/gstconfig.h.in:
13389         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13390         (_gst_info_printf_extension_ptr),
13391         (_gst_info_printf_extension_segment):
13392           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13393           register that lets us easily dump GstSegments into debug
13394           logs (#350419).
13395
13396         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13397         (info_segment_format_printf_extension), (gst_info_suite):
13398           Add simple unit test that logs a bunch of different segments (not
13399           valgrinded at the moment because of leaks in
13400           gst_debug_add_log_function).
13401
13402 2006-08-09  Edward Hervey  <edward@fluendo.com>
13403
13404         * libs/gst/base/gstbasetransform.c:
13405         (gst_base_transform_buffer_alloc):
13406         Even if we can't figure out the proper format to request downstream,
13407         call buffer_alloc() downstream with the input parameters without setting
13408         the caps on the srcpad. This will force negotiation in the chain
13409         function.
13410         Closes #350449
13411
13412 2006-08-08  Edward Hervey  <edward@fluendo.com>
13413
13414         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13415         Unlinking from a pad without a target is now a perfectly valid case
13416         which should NOT raise an assertion.
13417         This case would happen if a linked ghostpad its target set to NULL after
13418         it was previously linked.
13419
13420 2006-08-08  Edward Hervey  <edward@fluendo.com>
13421
13422         * tests/check/libs/gdp.c:
13423         Also comment out the test (see below).
13424
13425 2006-08-08  Edward Hervey  <edward@fluendo.com>
13426
13427         * tests/check/libs/gdp.c: (gst_dp_suite):
13428         Use the architecture information from config.h and not gcc macros
13429         in order to properly disable a test that fails on PPC64.
13430
13431 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13432
13433         * gst/gstelement.c: (gst_element_remove_pad):
13434           Don't crash printing the warning if the pad has no parent.
13435
13436 2006-08-02  Wim Taymans  <wim@fluendo.com>
13437
13438         * libs/gst/dataprotocol/dataprotocol.c:
13439         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13440         (gst_dp_crc), (gst_dp_header_payload_length),
13441         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13442         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13443         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13444         (gst_dp_event_from_packet), (gst_dp_validate_header),
13445         (gst_dp_validate_payload):
13446         Make debug category static
13447         Constify the crc table.
13448         Do some more arg checking in public functions.
13449         Fix some docs and do some small cleanups.
13450
13451         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13452         Add some more checks to see if GDP deals with bogus input.
13453
13454 2006-07-31  Wim Taymans  <wim@fluendo.com>
13455
13456         * gst/gstvalue.c: (gst_value_compare_list):
13457         Fix GstValueList comparison code. Fixes #347293.
13458
13459         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13460         Check to test GstValueList comparison.
13461
13462 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13463
13464         * gst/gstelementfactory.c: (gst_element_factory_create):
13465         Remove unnecessary ref/unref pair
13466
13467         * gst/parse/grammar.y:
13468         Make sure to free the parse buffer on all code paths.
13469         Move a g_free up to the error handler where it's easier to see.
13470
13471         * tests/check/gst/gstevent.c: (test_event):
13472         Extending timeout for downstream travelling events to 10 seconds to
13473         hopefully avoid intermittent failure on the buildbots.
13474
13475         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13476         Don't manually set the state of the src element - it will happen as a
13477         natural consequence of the pipeline changing state, and that way it
13478         will do it in the right order too.
13479
13480 2006-07-31  Wim Taymans  <wim@fluendo.com>
13481
13482         * libs/gst/base/gstbasetransform.c:
13483         (gst_base_transform_buffer_alloc):
13484         Use OBJECT_LOCK and refcounting to get the pad caps in the
13485         buffer_alloc function because the caps could change while we are
13486         busy with them. Fixes #349105
13487
13488 2006-07-31  Wim Taymans  <wim@fluendo.com>
13489
13490         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13491         Protect _PAD_CAPS with OBJECT_LOCK.
13492
13493 2006-07-31  Wim Taymans  <wim@fluendo.com>
13494
13495         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13496         (gst_pad_get_property), (gst_pad_activate_pull),
13497         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13498         (gst_pad_set_activate_function),
13499         (gst_pad_set_activatepull_function),
13500         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13501         (gst_pad_set_getrange_function),
13502         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13503         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13504         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13505         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13506         (gst_pad_set_acceptcaps_function),
13507         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13508         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13509         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13510         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13511         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13512         (gst_pad_configure_sink), (gst_pad_configure_src),
13513         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13514         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13515         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13516         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13517         (gst_pad_send_event):
13518         Use _DEBUG_OBJECT when it makes sense.
13519         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13520         Small cleanups and code reflows.
13521         Avoid caps refcounting in _accept_caps.
13522         Refactor alloc_buffer so that the code performed on the peer is in a
13523         separate function. Also if the pad does not implement a buffer alloc
13524         function, we should still check if the pad is flushing before falling
13525         back to the default allocator.
13526
13527 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13528
13529         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13530         Make all uses of identity and fakesink have silent=true to avoid
13531         serialising every passing data structure, which is breaking tests
13532         on FC4 for some unknown reason.
13533
13534 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13535
13536         * gst/parse/Makefile.am:
13537         * gst/parse/grammar.y:
13538         * gst/parse/parse.l:
13539           Reverted previous patch as it required to bump the flex dependency to
13540           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13541
13542 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13543
13544         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13545
13546         * gst/parse/Makefile.am:
13547         * gst/parse/grammar.y:
13548         * gst/parse/parse.l:
13549           push & pop the state of the lexer for reentrant use case
13550           Fixes #349180
13551
13552 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13553
13554         * libs/gst/base/gstbasesrc.h:
13555           Note in the docs that the ::newsegment vfunc is not actually used by
13556           GstBaseSrc.
13557
13558 2006-07-28  Wim Taymans  <wim@fluendo.com>
13559
13560         * libs/gst/base/gstcollectpads.c:
13561         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13562         (gst_collect_pads_clear), (gst_collect_pads_flush),
13563         (gst_collect_pads_event), (gst_collect_pads_chain):
13564         When flushing a pad, also clear the queued buffer so that we don't
13565         accidentally use it when we shouldn't.
13566         Fix leaks by inreffing incomming buffer.
13567         Flush out queued buffers in case of errors.
13568         Fixes #347452.
13569
13570 2006-07-28  Wim Taymans  <wim@fluendo.com>
13571
13572         * docs/random/phonon-gst:
13573         Random notes about a Phonon backend.
13574
13575 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13576
13577         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13578         Extra debug output
13579         * tests/check/libs/gdp.c: (gst_dp_suite):
13580         Take a whack at fixing the ppc compile using a different define to
13581         disable the broken test.
13582
13583         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13584         Remove excess g_print()
13585
13586 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13587
13588         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13589         Oops, meant to uncomment this line too to dampen the noise a bit.
13590
13591 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13592
13593         * gst/parse/grammar.y:
13594         * gst/parse/parse.l:
13595         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13596         (GST_START_TEST), (parse_suite):
13597         Fix some of the leaks exposed by extending the parse-launch testsuite,
13598         and move the 3 I can't figure out into a separate test that won't run
13599         the pipelines unless the appropriate line is uncommented.
13600
13601 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13602
13603         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13604           Requesting 0 bytes before the end of the file should result in
13605           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13606           unit test.
13607
13608 2006-07-27  Wim Taymans  <wim@fluendo.com>
13609
13610         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13611         Fix useless assert, a uint is always positive.
13612
13613         * gst/gststructure.c: (gst_structure_nth_field_name),
13614         (gst_structure_foreach), (gst_structure_map_in_place):
13615         Check input arguments for public functions to avoid obvious crashes.
13616
13617         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13618         * plugins/elements/gstfakesink.h:
13619         Do less useless typechecking.
13620
13621 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13622
13623         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13624           Do not use mmap() by default since there are a number of error
13625           conditions that we would like to handle in a non-fatal way that
13626           will result in a SIGBUS if we use mmap(). Examples: external
13627           devices (USB harddrive, portable music player) being unplugged
13628           while in use; file on mounted CD/DVD that can't be read because
13629           the medium is partly damaged. Fixes #348455 and #348475.
13630
13631 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13632
13633         * gst/gstquery.h:
13634         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13635         rates are a gdouble
13636
13637 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13638
13639         * gst/gstregistry.c:
13640           Move big documentation comment into class section header, so that it
13641           appears in the API docs.
13642
13643 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13644
13645         * docs/gst/gstreamer-sections.txt:
13646         Oops. Commit the docs additions too for new API.
13647         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13648
13649 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13650
13651         * gst/gststructure.c: (gst_structure_id_set),
13652         (gst_structure_id_set_valist):
13653         * gst/gststructure.h:
13654         Add API for setting values into structures without performing
13655         a quark lookup, if the appropriate quark is already known.
13656
13657         API: gst_structure_id_set
13658         API: gst_structure_id_set_valist
13659
13660         * gst/parse/grammar.y:
13661         * gst/parse/parse.l:
13662         Remove some dead code shown by the coverage information.
13663         Don't throw a critical g_warning when encountering a syntax error,
13664         just warn and let the normal error path handle it.
13665
13666         * plugins/elements/gstelements.c:
13667         Bump the rank of filesink up to PRIMARY so that it is preferred over
13668         gnomevfssink for file:// sink uri's
13669
13670         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13671         (GST_START_TEST), (run_delayed_test),
13672         (gst_parse_test_element_base_init),
13673         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13674         (gst_parse_test_element_change_state),
13675         (gst_register_parse_element), (parse_suite):
13676         Beef up the tests for parse syntax to check that more error cases
13677         fail as they are supposed to. Increases the test coverage a bit.
13678
13679 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13680
13681         * docs/manual/basics-elements.xml:
13682           Fix gst_element_link() example.
13683
13684         * gst/gstutils.c:
13685           Mention in API docs that one should usually gst_bin_add()
13686           elements to a bin or pipeline before doing the linking.
13687           
13688 2006-07-26  Wim Taymans  <wim@fluendo.com>
13689
13690         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13691         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13692         Avoid function call for known types by keeping the buffer and
13693         subbuffer GType global.
13694
13695         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13696         Random silly optimisations in read() path.
13697
13698 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13699
13700         * tools/gst-launch.c: (main):
13701           If the top-level of the parse is a normal bin, it doesn't do the
13702           right logic to run as a top-level element, so place it inside a
13703           pipeline.
13704
13705 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13706
13707         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13708           Remove superfluous g_object_notify() calls, GObject does
13709           that for us automatically.
13710
13711 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13712
13713         * gst/gstinfo.h:
13714           on Win32, use dllspec to export the debug category symbols
13715
13716 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * gst/gsttaglist.c: (_gst_tag_initialize):
13719           Allow more than one GST_TAG_IMAGE per taglist.
13720
13721 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13722
13723         * gst/gstminiobject.c:
13724           update docs
13725         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13726         (gst_fd_src_create):
13727           log recurring events at LOG level
13728           add more debug for when the fd gets set
13729
13730 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13731
13732         * gst/gstparse.c: (gst_parse_launch):
13733           Also remove reentrance checks if flex is MT safe (#348179)
13734          Fix my empty ChangeLog entry below
13735
13736 2006-07-21  Andy Wingo  <wingo@pobox.com>
13737
13738         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13739
13740         * libs/gst/check/Makefile.am
13741         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13742         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13743         * libs/gst/check/gstbufferstraw.h:
13744         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13745         functions, thus proving I am still a GStreamer haxor. OK I wrote
13746         them a long time ago, but anyways.
13747
13748 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13749
13750         * configure.ac:
13751         * gst/gstparse.c: (gst_parse_launch):
13752           Check for flex version and omit mutex if we have a MT save flex
13753           (fixes #348179)
13754
13755 2006-07-21  Wim Taymans  <wim@fluendo.com>
13756
13757         * gst/gstparse.c: (gst_parse_launch):
13758         Protect recursive calls to _parse with a recursive mutex
13759         and busy flag.
13760
13761 2006-07-21  Wim Taymans  <wim@fluendo.com>
13762
13763         * tests/check/gst/gstpad.c: (GST_START_TEST):
13764         Fix leak in test.
13765
13766 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13767
13768         * gst/gstparse.c: (gst_parse_launch):
13769           Do not hang on recursive usage of gst_parse_launch()
13770
13771 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13772
13773         * gst/gsttaglist.c:
13774           Add some more docs, comments and FIXME 0.11s here and there
13775           and also fix some typos.
13776
13777 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13778
13779         * gst/gstsegment.h:
13780           Convert tabs to spaces for better readability. 
13781
13782 2006-07-20  Edward Hervey  <edward@fluendo.com>
13783
13784         * tests/check/libs/gdp.c: (gst_dp_suite):
13785         the test_buffer test fails at line 140 on ppc64 at the following
13786         check:
13787         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13788                 GST_BUFFER_FLAG_IN_CAPS),
13789                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13790         See bug #348114 for more details.
13791
13792 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13793
13794         * docs/pwg/advanced-scheduling.xml:
13795         * gst/gstpad.c:
13796           Fix typos (#348000).
13797
13798 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13799
13800         * docs/pwg/intro-basics.xml:
13801           Fix wrong links (#347927).
13802
13803 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13804
13805         * gst/gstregistry.h:
13806         * gst/gstregistryxml.c: (load_feature),
13807         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13808         * win32/common/config.h:
13809           make --disable-index work (#342564)
13810
13811 2006-07-18  Wim Taymans  <wim@fluendo.com>
13812
13813         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13814
13815         * gst/Makefile.am:
13816         * gst/gsttrace.h:
13817         The attached patch adds two missing defines to gsttrace.h when tracing
13818         is disabled.  It also corrects one existing define.
13819         Fixes #347756.
13820
13821 2006-07-17  Wim Taymans  <wim@fluendo.com>
13822
13823         * docs/gst/gstreamer-sections.txt:
13824         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13825         * gst/gst.h:
13826         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13827         Add two functions to check and change the SIGSEGV behaviour
13828         when loading plugins.
13829         Don't mess with the SIGSEGV handler when we were told not to.
13830         Fixes #347794.
13831         API: gst_segtrap_is_enabled
13832         API: gst_segtrap_set_enabled
13833
13834 2006-07-14  Wim Taymans  <wim@fluendo.com>
13835
13836         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13837         * tests/check/elements/filesrc.c: (GST_START_TEST):
13838         Revert fix for regression in #347408 after release.
13839
13840 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13841
13842         Patch by: Antoine Tremblay <hexa00 at gmail com>
13843
13844         * gst/gstutils.c: (gst_element_unlink):
13845           Free iterator when done (#347311).
13846
13847         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13848           And add a test case for this.
13849
13850 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13851
13852         * configure.ac:
13853         Bump nano back to CVS
13854
13855 === release 0.10.9 ===
13856
13857 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13858
13859         * configure.ac:
13860           releasing 0.10.9, "On the road again"
13861
13862 2006-07-13  Wim Taymans  <wim@fluendo.com>
13863
13864         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13865         * tests/check/elements/filesrc.c: (GST_START_TEST):
13866         Revert pull-0 fix for release. Disable check. Fixes #347408.
13867
13868 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13869
13870         * libs/gst/dataprotocol/dataprotocol.c:
13871         (gst_dp_event_from_packet_1_0):
13872           Fixes #347337: failure to deserialize event packets with
13873           empty payload (only event type)
13874
13875 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13876
13877         * gst/Makefile.am:
13878           do not install a .c file in the header directory
13879
13880 2006-07-13  Edward Hervey  <edward@fluendo.com>
13881
13882         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13883         GhostPad no longer implicitely use the padtemplates of the targets.
13884         Fixes #347384
13885
13886 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13887
13888         * gst/gstvalue.c: (gst_value_compare_list),
13889         (gst_value_compare_array), (_gst_value_initialize):
13890         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13891         Make GstValueArray comparison be order dependent as designed.
13892         Add checks for value lists and value array comparisons.
13893         Fixes #347221
13894
13895 2006-07-11  Edward Hervey  <edward@fluendo.com>
13896
13897         * gst/gstbin.c: (activate_pads),
13898         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13899         (gst_bin_change_state_func):
13900         (de)activate src pads before calling state_change on the childs.
13901         This is to avoid the case where a src ghostpad is blocked (holding the
13902         stream lock), which would block the deactivation of the ghostpad's
13903         target pad.
13904         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13905         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13906         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13907         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13908         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13909         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13910         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13911         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13912         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13913         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13914         (gst_ghost_pad_class_init),
13915         (gst_ghost_pad_internal_do_activate_push),
13916         (gst_ghost_pad_internal_do_activate_pull),
13917         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13918         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13919         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13920         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13921         GhostPads now create their internal GstProxyPad at creation (and not
13922         when they're linked, as it was being done previously).
13923         The internal and target pads are linked straight away.
13924         The data will also travel through the other pad in order to make
13925         pad blocking and probes non-hackish (the probe/block now really happens
13926         on the GhostPad and not on the target).
13927         * gst/gstpad.c: (gst_pad_set_blocked_async),
13928         (gst_pad_link_prepare), (gst_pad_push_event):
13929         Remove previous ghostpad cruft.
13930         * gst/gstutils.c: (gst_pad_add_data_probe),
13931         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13932         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13933         (gst_pad_remove_buffer_probe):
13934         Remove previous ghost pad cruft.
13935         Added more detailed debug statements.
13936         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13937         Fix the testsuite for refcounting changes.
13938         The comments about who has references were correct, but the refcount
13939         being checked wasn't the same (!?!).
13940
13941         Fixes #341029
13942
13943 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13944
13945         * docs/gst/gstreamer-sections.txt:
13946         * gst/gstconfig.h.in:
13947         More docs for configuration options, add docs to gtk-doc.
13948
13949 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13950
13951         * gst/Makefile.am:
13952         * gst/gstconfig.h.in:
13953         * win32/common/config.h:
13954         Fix build when disabling tracing (fixes #344016). Also start to document
13955         the defines that disable the sub-systems.
13956
13957 2006-07-10  Edward Hervey  <edward@fluendo.com>
13958
13959         * gst/gst.c: (ensure_current_registry_forking):
13960         let's make valgrind happy...
13961
13962 2006-07-09  Wim Taymans  <wim@fluendo.com>
13963
13964         * gst/gstelement.c: (activate_pads),
13965         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13966         Better pad activation code: Reset the collect value too on resync.
13967         Add some comments.
13968
13969 2006-07-09  Wim Taymans  <wim@fluendo.com>
13970
13971         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13972         (gst_pad_activate_push):
13973         Use some more macros where it makes sense.
13974         Allow pad mode switching instead of asserting. When a pad
13975         is activated in one mode and we activate it in another, 
13976         deactivate it first before activating it in a different mode.
13977         Fixes #329198.
13978
13979 2006-07-08  Andy Wingo  <wingo@pobox.com>
13980
13981         * tools/gst-launch.c (main): Handle err == NULL.
13982
13983         * gst/gst.c (init_post, ensure_current_registry)
13984         (ensure_current_registry_forking)
13985         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
13986         factoring out the registry scanning into separate functions. Don't
13987         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
13988         Better environment var name/interface suggestions accepted.
13989
13990 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
13991
13992         * gst/gstobject.c: (gst_object_set_name_default),
13993         (gst_object_set_name):
13994           Random micro-optimisation: don't use a hash table
13995           with strings as keys and the usual strdup/strcmp
13996           involved, but rather just use the GQuark of the
13997           type name as key, since it needs to be looked up
13998           anyway to get the type name string.
13999
14000         * tests/check/gst/gstobject.c: (GST_START_TEST):
14001           Fix various leaks.
14002
14003 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14004
14005         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14006         (gst_bin_iterate_all_by_interface):
14007           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14008           GTypes are gulongs and thus the top 4 bytes might be cut
14009           off on some platforms when doing GPOINTER_TO_INT, leading
14010           to invalid GTypes and bad things happening (see RH bug #179654).
14011           Also add a check to make sure the type passed in is really
14012           an interface type.
14013
14014 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14015
14016         * .cvsignore:
14017           Ignore more.
14018
14019 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14020
14021         * Makefile.am:
14022         * configure.ac:
14023         * gst-element-check.m4:
14024         * gst-element-check.m4.in:
14025           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14026           instead of the unversioned gst-inspect (#324176, #168659).
14027
14028 2006-07-06  Wim Taymans  <wim@fluendo.com>
14029
14030         * gst/gstmessage.h:
14031         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14032         warnings.
14033
14034 2006-07-06  Wim Taymans  <wim@fluendo.com>
14035
14036         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14037         (gst_base_src_wait), (gst_base_src_update_length),
14038         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14039         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14040         (gst_base_src_loop), (gst_base_src_start),
14041         (gst_base_src_activate_pull):
14042         Update docs.
14043         blocksize == 0 now means the default blocksize when working in push
14044         based mode.
14045         Remove some pointless asserts in _wait function.
14046         Fix offset/length calculations and EOS handling. We can now pull 0
14047         bytes as well, which is allowed.
14048         use _check_get_range() to decide if we can operate in _pull based
14049         mode.
14050         Fix refcounting leak when check_get_range function was not 
14051         implemented.
14052         API GstBaseSrc::blocksize range can be 0 too now (default)
14053
14054         * tests/check/elements/filesrc.c: (GST_START_TEST),
14055         (filesrc_suite):
14056         Added check to test _get_range() behaviour.
14057
14058 2006-07-06  Wim Taymans  <wim@fluendo.com>
14059
14060         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14061         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14062         (gst_pad_pull_range):
14063         * gst/gstpad.h:
14064         Lots of comments and docs added to the pad functions.
14065         Flesh out the expected behaviour of the get_range() functions.
14066
14067 2006-07-06  Wim Taymans  <wim@fluendo.com>
14068
14069         * gst/gstbus.h:
14070         * gst/gstclock.h:
14071         * gst/gstevent.h:
14072         * gst/gstiterator.h:
14073         * gst/gstpad.h:
14074         * gst/gstplugin.h:
14075         * gst/gsttask.h:
14076         Remove comma at end of enumerator list. 
14077
14078 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14079
14080         * win32/common/libgstbase.def:
14081         * win32/common/libgstdataprotocol.def:
14082         * win32/common/libsgtreamer.def:
14083         Add new exported functions.
14084
14085 2006-07-05  Wim Taymans  <wim@fluendo.com>
14086
14087         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14088         Add some more docs here and there.
14089
14090 2006-07-05  Wim Taymans  <wim@fluendo.com>
14091
14092         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14093         (gst_base_sink_loop), (gst_base_sink_get_position):
14094         When operating in pull mode update the offset so that we
14095         read sequentially.
14096
14097 2006-07-05  Wim Taymans  <wim@fluendo.com>
14098
14099         * gst/gstregistryxml.c: (read_string):
14100         Avoid strdup. (will happen in libxml, but hey!)
14101
14102         * gst/gsturi.c:
14103         Add some more docs.
14104
14105 2006-07-05  Wim Taymans  <wim@fluendo.com>
14106
14107         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14108         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14109         (gst_buffer_suite):
14110         No point in checking if the size of the subbuffer > 0, the
14111         code handles it correclty as demonstrated by unit test.
14112         Also add a unit test for the zero sized _new_and_alloc and
14113         _copy. Fixes #346663.
14114
14115 2006-07-05  Wim Taymans  <wim@fluendo.com>
14116
14117         * libs/gst/base/gstbasetransform.c:
14118         (gst_base_transform_prepare_output_buffer),
14119         (gst_base_transform_buffer_alloc),
14120         (gst_base_transform_handle_buffer):
14121         Make sure the buffer we pass to transform_ip has a refcount of
14122         1 and thus is writable. Fixes #343196
14123
14124 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14125
14126         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14127         (gst_file_src_init), (gst_file_src_set_property),
14128         (gst_file_src_get_property), (gst_file_src_map_region):
14129         * plugins/elements/gstfilesrc.h:
14130         Add "sequential" property, off by default, to use madvise and hint
14131         to the kernel that sequential access is desired.
14132         Touch all retrieved pages by default to ensure they are pulled
14133         into memory. (Closes #345720)
14134
14135 2006-07-03  Wim Taymans  <wim@fluendo.com>
14136
14137         * docs/design/part-block.txt:
14138         * docs/design/part-dynamic.txt:
14139         Small docs updates.
14140
14141 2006-07-03  Wim Taymans  <wim@fluendo.com>
14142
14143         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14144         (gst_caps_unref), (gst_static_caps_get),
14145         (gst_caps_append_structure):
14146         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14147         Use GSlice when the glib we build against is >= 2.10
14148
14149 2006-07-03  Wim Taymans  <wim@fluendo.com>
14150
14151         * gst/gstelement.c: (gst_element_pads_activate):
14152         Small cleanup in pad activation code.
14153
14154 2006-07-03  Wim Taymans  <wim@fluendo.com>
14155
14156         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14157
14158         * gst/gst-i18n-app.h:
14159         * gst/gst-i18n-lib.h:
14160         * tools/gst-inspect.c: (print_signal_info):
14161         The attached patch will make the inclusion of gettext.h unconditional in
14162         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14163         libintl.h in tools/gst-inspect.c.
14164         This allows use of --disable-nls again and fixes #344642.
14165
14166 2006-07-03  Edward Hervey  <edward@fluendo.com>
14167
14168         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14169         Implement pad blocking on events according to part-block.txt.
14170         More comments on behaviour.
14171         * tests/check/gst/gstevent.c: (test_event):
14172         Send event to peer pad of blocked pad (else it will block).
14173
14174 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14175
14176         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14177         (gst_check_run_suite):
14178           if we get the wrong message, give us the types as string
14179         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14180           Fix a translatable
14181         * tests/check/elements/filesrc.c: (GST_START_TEST):
14182           add a test for trying to open a non-existing file
14183
14184 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14185
14186         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14187           add a test for adding self
14188
14189 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14190
14191         * libs/gst/check/gstcheck.h:
14192           add some assert_ as alias for fail_unless_*
14193         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14194           increase test coverage
14195
14196 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * Makefile.am:
14199           include lcov.mak for lcov coverage generation
14200         * tools/Makefile.am:
14201           add to CLEANFILES
14202
14203 2006-07-02  Edward Hervey  <edward@fluendo.com>
14204
14205         * tests/check/elements/.cvsignore:
14206         moaping
14207
14208 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14209
14210         * configure.ac:
14211           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14212         * tests/check/Makefile.am:
14213           clean up gcov files
14214
14215 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14216
14217         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14218           remove gst_caps_simplify; it was not declared and not used
14219           and deprecated in 0.8
14220
14221 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14222
14223         * docs/faq/gst-uninstalled:
14224           don't put empty paths on PYTHONPATH
14225         * docs/gst/gstreamer-sections.txt:
14226           remove some symbols that are not there
14227
14228 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * gst/gstcaps.c: (gst_caps_compare_structures):
14231           whitespace fixes
14232         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14233         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14234           add more tests
14235
14236 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14237
14238         * libs/gst/dataprotocol/Makefile.am:
14239           build dataprotocol test by linking to the lib, instead of
14240           compiling the source, so we get coverage
14241         * tests/check/Makefile.am:
14242         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14243         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14244           add a test for filesrc
14245
14246 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14247
14248         * tests/check/gst/gststructure.c: (GST_START_TEST),
14249         (gst_structure_suite):
14250           Push coverage from 59.04% to 70.00%
14251
14252 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14253
14254         * tests/check/Makefile.am:
14255           gst-inspect every element; this makes sure that we also get
14256           coverage on element's get/set functions
14257
14258 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14259
14260         * configure.ac:
14261           set CFLAGS and friends to -O0 if gcov is being used
14262           add GCOV LIBS
14263         * gst/Makefile.am:
14264         * libs/gst/base/Makefile.am:
14265         * libs/gst/check/Makefile.am:
14266         * libs/gst/controller/Makefile.am:
14267         * libs/gst/dataprotocol/Makefile.am:
14268         * libs/gst/net/Makefile.am:
14269         * plugins/elements/Makefile.am:
14270         * plugins/indexers/Makefile.am:
14271           add makefile rules to generate gcov data and clean up
14272         * tests/check/Makefile.am:
14273           add a coverage target that generates an html overview
14274           of coverage data
14275
14276 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14277
14278         * tests/check/elements/fakesink.c:
14279         * tests/check/elements/fakesrc.c:
14280         * tests/check/elements/fdsrc.c:
14281         * tests/check/elements/identity.c:
14282         * tests/check/generic/sinks.c: (gst_sinks_suite):
14283         * tests/check/generic/states.c:
14284         * tests/check/gst/gst.c:
14285         * tests/check/gst/gstabi.c:
14286         * tests/check/gst/gstbin.c:
14287         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14288         * tests/check/gst/gstbus.c: (gst_bus_suite):
14289         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14290         * tests/check/gst/gstelement.c:
14291         * tests/check/gst/gstevent.c: (gst_event_suite):
14292         * tests/check/gst/gstghostpad.c:
14293         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14294         * tests/check/gst/gstmessage.c: (gst_message_suite):
14295         * tests/check/gst/gstminiobject.c:
14296         * tests/check/gst/gstobject.c:
14297         * tests/check/gst/gstpad.c:
14298         * tests/check/gst/gstpipeline.c:
14299         * tests/check/gst/gstplugin.c:
14300         * tests/check/gst/gstquery.c: (gst_query_suite):
14301         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14302         * tests/check/gst/gststructure.c:
14303         * tests/check/gst/gstsystemclock.c:
14304         * tests/check/gst/gsttag.c:
14305         * tests/check/gst/gsttask.c: (gst_task_suite):
14306         * tests/check/gst/gstutils.c:
14307         * tests/check/gst/gstvalue.c:
14308         * tests/check/libs/adapter.c:
14309         * tests/check/libs/basesrc.c:
14310         * tests/check/libs/collectpads.c:
14311         * tests/check/libs/controller.c:
14312         * tests/check/libs/gdp.c: (gst_dp_suite):
14313         * tests/check/libs/gstnetclientclock.c:
14314         * tests/check/libs/gstnettimeprovider.c:
14315         * tests/check/libs/libsabi.c: (libsabi_suite):
14316         * tests/check/libs/typefindhelper.c:
14317         * tests/check/pipelines/cleanup.c:
14318         * tests/check/pipelines/parse-launch.c:
14319         * tests/check/pipelines/simple-launch-lines.c:
14320         * tests/check/pipelines/stress.c: (stress_suite):
14321           use the new macro
14322
14323 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14324
14325         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14326         * libs/gst/check/gstcheck.h:
14327           create a macro and function so that the simple unit test
14328           case can be just one macro to create main()
14329
14330 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14331
14332         * gst/gstbin.c: (gst_bin_restore_thyself):
14333         * gst/gstxml.c: (gst_xml_make_element):
14334           Fix deserialisation from XML. Set parent manually
14335           instead of using gst_bin_add(), since gst_bin_add()
14336           will unlink all pads of the element being added.
14337           Fixes #341667.
14338
14339 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14340
14341         Patch by: Peter Kjellerstedt <pkj at axis com>
14342
14343         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14344           Fix missing g_strdup() and double free when using the
14345           --gst-plugin-load command line option (#346097).
14346
14347 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14348
14349         * gst/gstinfo.c:
14350           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14351
14352         * libs/gst/net/gstnetclientclock.c:
14353         * libs/gst/net/gstnettimeprovider.c:
14354           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14355
14356 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14357
14358         * docs/manual/advanced-dataaccess.xml:
14359           Fix buffer probe example compilation in
14360           ADM (#345708).
14361         
14362 2006-06-22  Edward Hervey  <edward@fluendo.com>
14363
14364         * gst/gstelement.c: (gst_element_pads_activate):
14365         We need to deactivate src pads first and then sink pads.
14366         The reason is the src pads might be blocking while holding the streaming
14367         lock, so we need to deactivate them first so that deactivating the sink
14368         pads doesn't block (since it will require the streaming lock).
14369
14370 2006-06-22  Wim Taymans  <wim@fluendo.com>
14371
14372         * libs/gst/base/gstbasetransform.c:
14373         (gst_base_transform_buffer_alloc):
14374         Forgot to remove two unneeded unrefs.
14375         Simplify a check _is_equal allready checks the obvious case.
14376
14377 2006-06-22  Wim Taymans  <wim@fluendo.com>
14378
14379         * docs/design/part-block.txt:
14380         Some docs about what pad_block should do.
14381
14382 2006-06-22  Wim Taymans  <wim@fluendo.com>
14383
14384         * gst/gstcaps.c: (gst_caps_replace):
14385         Fix crasher when passed NULL. Doc clarification.
14386         Optimize for the trivial case.
14387
14388         * gst/gstpipeline.c: (gst_pipeline_change_state):
14389         Small cleanups.
14390
14391         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14392         Small documentation cleanup.
14393
14394         * libs/gst/base/gstbasetransform.c:
14395         (gst_base_transform_buffer_alloc):
14396         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14397         is what we need and it avoids a whole lot of redundant 
14398         refcount operations.
14399
14400 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14401
14402         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14403
14404         * docs/manual/advanced-dataaccess.xml:
14405           Fix 'Embedding static elements' section to use
14406           GST_PLUGIN_DEFINE_STATIC (#345607).
14407
14408 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14409
14410         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14411           Attempt to 'fix' spuriously failing test case: it seems like the
14412           timeout of half a second is simply too small when the system is under
14413           load otherwise, and the timeout doesn't really seem to serve any
14414           particular purpose here. Give the pipeline a few seconds to preroll
14415           first, and then give it another half a second to go from PAUSED to
14416           PLAYING and marshal the message into the main thread.
14417
14418 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14419
14420         * tools/gst-feedback-m.m:
14421           Don't only use unversioned tools, try versioned tools as well
14422           (#345086).
14423
14424 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14425
14426         * gst/gstbus.c: (gst_bus_class_init):
14427           Fix some typos, make docs more explicit.
14428
14429 2006-06-20  Wim Taymans  <wim@fluendo.com>
14430
14431         * tests/check/gst/gstghostpad.c: (block_callback),
14432         (GST_START_TEST), (gst_ghost_pad_suite):
14433         Added some more ghostpad tests, mainly blocking
14434         and probes.
14435
14436 2006-06-16  Wim Taymans  <wim@fluendo.com>
14437
14438         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14439         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14440         (gst_file_sink_event), (gst_file_sink_render):
14441         * plugins/elements/gstfilesink.h:
14442         Check if we can seek in the file instead of assuming
14443         we always can. Post an error when we are asked to seek in a
14444         non-seekable file (like a fifo). Fixes #343312.
14445         Some cleanups.
14446
14447 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14448
14449         * tools/gst-launch.1.in:
14450           Un-garble (fourcc) bit in filtered caps section.
14451
14452 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14453
14454         * docs/manual/advanced-autoplugging.xml:
14455         * docs/manual/basics-helloworld.xml:
14456         * docs/manual/highlevel-components.xml:
14457           Don't leak bus reference in sample code.
14458
14459 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14460
14461         * autogen.sh:
14462           Add default for new --enable-plugin-docs switch.
14463
14464         * configure.ac:
14465           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14466           Fixes #344039.
14467
14468         * docs/Makefile.am:
14469           Use new ENABLE_PLUGIN_DOCS conditional.
14470
14471 2006-06-14  Wim Taymans  <wim@fluendo.com>
14472
14473         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14474         Make it clear with a FIXME and a real define what the #if 0
14475         previously disabled.
14476
14477 2006-06-14  Wim Taymans  <wim@fluendo.com>
14478
14479         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14480         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14481         * libs/gst/base/gstbasetransform.c:
14482         (gst_base_transform_sink_eventfunc):
14483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14484         Don't randomly and silently reset a segment when the format 
14485         changes as this is a bug somewhere upstream. Fixes #330379.
14486
14487 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14488
14489         Patch by: Wouter Paesen  <wouter at kangaroot net>
14490
14491         * libs/gst/controller/gstcontroller.c:
14492         (gst_controlled_property_new):
14493           Fix controlling of float properties (#344849).
14494
14495         * tests/check/libs/controller.c:
14496         (gst_test_mono_source_get_property),
14497         (gst_test_mono_source_set_property),
14498         (gst_test_mono_source_class_init), (GST_START_TEST):
14499           While we're at it, add some float stuff to unit test.
14500
14501 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14502
14503         * docs/README:
14504         * docs/images/gdp-header.svg:
14505           add a gdp image
14506         * docs/libs/Makefile.am:
14507         * docs/libs/gdp-header.png:
14508         * libs/gst/dataprotocol/dataprotocol.c:
14509           add it to the API docs
14510         * docs/manual/intro-motivation.xml:
14511           fix typo
14512
14513 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14514
14515         * gst/gst.c: (scan_and_update_registry), (init_post):
14516           If the fork()'ed child process can't write the updated registry cache
14517           file to disk for some reason, make it exit with a failure exit code,
14518           so that the parent can then re-scan the plugins itself and update the
14519           registry structures in memory and work with that (rather than failing
14520           when creating elements because seemingly no plugins are available).
14521           Refactor registry scanning code into separate function for this and
14522           also separate fork() and non-fork() code paths. Fixes #344748.
14523
14524 2006-06-13  Wim Taymans  <wim@fluendo.com>
14525
14526         * docs/manual/advanced-dataaccess.xml:
14527         Fix wrong PluginDesc. Fixes #344755.
14528
14529 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14530
14531         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14532           Fix silly bug that prevented us from creating
14533           ~/.gstreamer-0.10 and writing the registry in one
14534           go (the first call to g_mkstemp() would overwrite the
14535           placeholder in the template string, so the second call
14536           to g_mkstemp() after creating the missing directory
14537           would then error out with 'invalid argument').
14538
14539 2006-06-13  Edward Hervey  <edward@fluendo.com>
14540
14541         * gst/gst.c: (init_post):
14542         Free string.
14543
14544 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14545
14546         * gst/glib-compat-private.h:
14547         * gst/glib-compat.c:
14548         * gst/glib-compat.h:
14549         * gst/gstvalue.c: (gst_value_serialize_flags):
14550           remove GLib 2.6 compatibility code
14551
14552 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14553
14554         * gst/parse/Makefile.am:
14555           Fix build with 'make -j N' even more (#340016).
14556
14557 2006-06-12  Wim Taymans  <wim@fluendo.com>
14558
14559         * docs/gst/gstreamer-sections.txt:
14560         Fix docs.
14561
14562 2006-06-12  Wim Taymans  <wim@fluendo.com>
14563
14564         * gst/gstsegment.c: (gst_segment_set_duration),
14565         (gst_segment_set_last_stop), (gst_segment_set_seek),
14566         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14567         (gst_segment_to_running_time), (gst_segment_clip):
14568         Use G_UNLIKELY to help the compiler a bit.
14569
14570 2006-06-12  Wim Taymans  <wim@fluendo.com>
14571
14572         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14573
14574         * gst/gstevent.c: (gst_event_get_type):
14575         * gst/gstmessage.c:
14576         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14577         (gst_pad_push):
14578         constify quark registration strings. Fixes #344115
14579         Avoid unneeded type checking is _pad_push() by internally
14580         calling gst_pad_chain_unchecked().
14581
14582 2006-06-12  Wim Taymans  <wim@fluendo.com>
14583
14584         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14585         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14586         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14587         (gst_buffer_is_span_fast), (gst_buffer_span):
14588         Init _type for consistency.
14589         Use _FLAGS macro to avoid type check.
14590         Avoid unneeded type checks in subbufer code.
14591
14592 2006-06-12  Wim Taymans  <wim@fluendo.com>
14593
14594         * gst/gst.c: (gst_debug_help):
14595         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14596         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14597         (gst_plugin_feature_list_free):
14598         * gst/gstregistry.c: (gst_registry_add_plugin),
14599         (gst_registry_add_feature), (gst_registry_plugin_filter),
14600         (gst_registry_feature_filter), (gst_registry_find_plugin),
14601         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14602         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14603         * gst/gstregistryxml.c: (load_feature),
14604         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14605         * gst/gstminiobject.c: (gst_mini_object_unref),
14606         (gst_mini_object_replace), (gst_value_mini_object_free),
14607         (gst_value_mini_object_copy):
14608         Use _CAST macros to avoid unneeded type checking.
14609         Added some more G_UNLIKELY.
14610
14611 2006-06-12  Wim Taymans  <wim@fluendo.com>
14612
14613         * gst/gstbuffer.h:
14614         Avoid unneeded type checking.
14615         API: GST_BUFFER_IS_DISCONT
14616
14617         * gst/gstminiobject.h:
14618         Avoid type check in flag accessor.
14619
14620         * gst/gstelementfactory.h:
14621         * gst/gstplugin.h:
14622         * gst/gstpluginfeature.h:
14623         Add _CAST macros.
14624         API: GST_ELEMENT_FACTORY_CAST
14625         API: GST_PLUGIN_CAST
14626         API: GST_PLUGIN_FEATURE_CAST
14627
14628 2006-06-12  Wim Taymans  <wim@fluendo.com>
14629
14630         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14631         (gst_object_unref):
14632         Add G_UNLIKELY in type registration.
14633         Avoid type check in _ref/_unref since that is also
14634         done in glib.
14635
14636 2006-06-12  Wim Taymans  <wim@fluendo.com>
14637
14638         * gst/gsterror.c: (gst_g_error_get_type):
14639         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14640         (gst_static_pad_template_get_type):
14641         * gst/gsttaglist.c: (gst_tag_list_get_type):
14642         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14643         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14644         * gst/gsturi.c: (gst_uri_handler_get_type):
14645         * gst/gstvalue.c: (gst_date_get_type):
14646         * gst/gstxml.c: (gst_xml_get_type):
14647         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14648         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14649         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14650         Add G_UNLIKELY in type registration.
14651
14652 2006-06-12  Wim Taymans  <wim@fluendo.com>
14653
14654         * tools/gst-inspect.c: (print_signal_info):
14655         Properly print enum values.
14656
14657 2006-06-12  Wim Taymans  <wim@fluendo.com>
14658
14659         * gst/gstinfo.c: (gst_debug_set_active),
14660         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14661         * gst/gstinfo.h:
14662         Add some G_[UN]LIKELY.
14663         Maintain __gst_debug_min to avoid formatting the arguments of
14664         debug messages that will be dropped anyway to avoid a lot of 
14665         overhead from the debugging system.
14666
14667 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14668
14669         * po/POTFILES.in:
14670         * po/POTFILES.skip:
14671           add missing files containing translatable strings, tell intltool about
14672           one exception
14673
14674 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14675
14676         * tests/check/libs/.cvsignore:
14677         add test-binary to ignore list
14678
14679 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14680
14681         * docs/libs/gstreamer-libs-docs.sgml:
14682         reorder (put dp into a chapter) and indent
14683
14684 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14685
14686         * configure.ac:
14687           back to HEAD
14688
14689 === release 0.10.8 ===
14690
14691 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14692
14693         * configure.ac:
14694           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14695
14696 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14697
14698         * gst/gst.c: (init_post):
14699           move pid declaration to declaration block
14700
14701 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14702
14703         * gst/gst.c: (init_post):
14704           use _exit() instead of exit() in our forked child; this ensures
14705           that none of the registered exit handlers from whatever is using
14706           GStreamer get executed.  This fixes gnome-mixer-applet failing
14707           to load, because ORBit would shut down.
14708           Spotted by: Edward Hervey  <edward@fluendo.com>
14709           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14710           Fixes #344474
14711
14712 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14713
14714         * configure.ac:
14715           back to TRUNK
14716
14717 === release 0.10.7 ===
14718
14719 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14720
14721         * configure.ac:
14722           releasing 0.10.7, "Soepeke, ik zie ou"
14723
14724 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14725
14726         * configure.ac:
14727         * po/af.po:
14728         * po/az.po:
14729         * po/bg.po:
14730         * po/ca.po:
14731         * po/cs.po:
14732         * po/de.po:
14733         * po/en_GB.po:
14734         * po/fr.po:
14735         * po/it.po:
14736         * po/nb.po:
14737         * po/nl.po:
14738         * po/ru.po:
14739         * po/sq.po:
14740         * po/sr.po:
14741         * po/sv.po:
14742         * po/tr.po:
14743         * po/uk.po:
14744         * po/vi.po:
14745         * po/zh_CN.po:
14746         * po/zh_TW.po:
14747         * win32/common/config.h:
14748           0.10.6.2 prerelease
14749
14750 2006-06-07  Wim Taymans  <wim@fluendo.com>
14751
14752         * gst/gstindex.c: (gst_index_gtype_resolver):
14753         * tools/gst-xmlinspect.c: (print_plugin_info):
14754         Fix leak spotted by coverity checker. Fixes #343827
14755         Fix another other leak found by paolo borelli.
14756
14757 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14758
14759         * libs/gst/dataprotocol/dataprotocol.c:
14760         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14761         (gst_dp_version_get_type), (gst_dp_init),
14762         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14763         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14764         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14765         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14766         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14767         (gst_dp_packetizer_free):
14768         * libs/gst/dataprotocol/dataprotocol.h:
14769           API: add a GstDPPacketizer object, and create/free functions
14770           API: add GstDPVersion enum
14771           Add 1.0 event function that uses the string serialization
14772           Serialize more useful buffer flags
14773           Fixes #343988
14774
14775 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14776
14777         * tests/check/Makefile.am:
14778         * tests/check/gst/gstabi.c:
14779         * tests/check/gst/struct_ppc64.h:
14780         * tests/check/libs/libsabi.c:
14781         * tests/check/libs/struct_ppc64.h:
14782           add ppc64 structure sizes
14783
14784 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14785
14786         * tests/check/Makefile.am:
14787         * tests/check/gst/gstabi.c:
14788         * tests/check/gst/struct_x86_64.h:
14789         * tests/check/libs/libsabi.c:
14790         * tests/check/libs/struct_x86_64.h:
14791           generate and add structure size lists for x86_64
14792
14793 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14794
14795         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14796         * libs/gst/check/gstcheck.h:
14797           factor out the method from tests that checks size of structures,
14798           and add code to generate the header containing these sizes
14799         * tests/check/gst/gstabi.c: (GST_START_TEST):
14800         * tests/check/gst/struct_i386.h:
14801         * tests/check/libs/libsabi.c: (GST_START_TEST):
14802         * tests/check/libs/struct_i386.h:
14803           use it
14804
14805 2006-06-06  Michael Smith  <msmith@fluendo.com>
14806
14807         * gst/gstsegment.h:
14808           Don't use c++-style comments, fixes #343929
14809
14810 2006-06-05  Edward Hervey  <edward@fluendo.com>
14811
14812         * gst/gst.c:
14813         plugin_paths is not used if we build without registry support.
14814
14815         * gst/gstsegment.c: (gst_segment_copy): 
14816         _copy() was always returning NULL...
14817
14818 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14819
14820         * libs/gst/dataprotocol/dataprotocol.c:
14821         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14822         (gst_dp_packet_from_event):
14823           factor out CRC code
14824
14825 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14826
14827         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14828           make sure we unset caps
14829
14830 2006-06-02  Michael Smith  <msmith@fluendo.com>
14831
14832         * libs/gst/check/gstcheck.c: (gst_check_init),
14833         (gst_check_chain_func):
14834         * libs/gst/check/gstcheck.h:
14835           Add a cond/mutex to the check support lib, signal this whenever we
14836           add to the buffers list. This will allow tests to not busy-wait on
14837           the buffer-list.
14838
14839 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14840
14841         * libs/gst/dataprotocol/dataprotocol.c:
14842         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14843         (gst_dp_packet_from_event):
14844           factor out some common header init code
14845
14846 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14847
14848         * docs/libs/gstreamer-libs-sections.txt:
14849         * docs/libs/tmpl/gstdataprotocol.sgml:
14850         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14851         * libs/gst/dataprotocol/dataprotocol.h:
14852           API: make gst_dp_crc() public
14853
14854 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14855
14856         * plugins/indexers/gstindexers.c: (plugin_init):
14857         conditionally register fileindexer (fixes #343598)
14858
14859 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14860
14861         * gst/gsttagsetter.h:
14862         Can't cast ifaces to a class
14863
14864         * libs/gst/net/gstnetclientclock.h:
14865         * libs/gst/net/gstnettimeprovider.h:
14866         * plugins/elements/gstfakesink.h:
14867         * plugins/elements/gstfakesrc.h:
14868         * plugins/elements/gstfdsink.h:
14869         * plugins/elements/gstfdsrc.h:
14870         * plugins/elements/gstfilesink.h:
14871         * plugins/elements/gstfilesrc.h:
14872         * plugins/elements/gstidentity.h:
14873         * plugins/elements/gstqueue.h:
14874         * plugins/elements/gsttee.h:
14875         * plugins/indexers/gstfileindex.c:
14876         * plugins/indexers/gstmemindex.c:
14877         * tests/old/examples/plugins/example.h:
14878         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14879
14880 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14881
14882         * libs/gst/dataprotocol/dataprotocol.c:
14883         (gst_dp_header_from_buffer):
14884           make sure we zero the whole ABI-compatible area
14885
14886 2006-06-01  Wim Taymans  <wim@fluendo.com>
14887
14888         Patch by: Alessandro Decina <alessandro at nnva dot org>
14889
14890         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14891         Make sure the EOS flag is cleared from pads after a flush
14892         or stop. Fixes #343538.
14893
14894         * tests/check/libs/collectpads.c: (GST_START_TEST),
14895         (gst_collect_pads_suite):
14896         Added test for collectpads reusage after EOS.
14897
14898 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14899
14900         * gst/gst.c:
14901          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14902         * win32/common/libgstbase.def:
14903          export gst_collect_pads_set_flushing
14904         * win32/common/libgstreamer.def:
14905          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14906          gst_value_fraction_multiply
14907         * win32/vs6/gst_inspect.dsp:
14908          add a link to intl.lib
14909
14910 2006-05-30  Wim Taymans  <wim@fluendo.com>
14911
14912         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14913         (gst_collect_pads_chain):
14914         Handle the case where a pad is removed from the collection
14915         that could cause the other pads to become collectable.
14916
14917 2006-05-30  Wim Taymans  <wim@fluendo.com>
14918
14919         * gst/gstelement.c:
14920         Clarify the use of _release_request_pad() and
14921         _get_request_pad() a bit better.
14922
14923         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14924         (gst_adapter_take_buffer):
14925         Fix some doc and comment typos.
14926
14927 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14928
14929         * docs/gst/gstreamer-sections.txt:
14930         * docs/libs/gstreamer-libs-sections.txt:
14931           add declared symbols
14932
14933 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14934
14935         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14936         Add debug that can be enabled using a #define at the top of the file,
14937         for dumping stats about how late/early we were when waking up from
14938         waiting on the clock.
14939
14940 2006-05-30  Wim Taymans  <wim@fluendo.com>
14941
14942         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14943         When rebuilding the pad list, don't leak the previous list.
14944
14945 2006-05-30  Wim Taymans  <wim@fluendo.com>
14946
14947         Patch by: Lutz Mueller <lutz at topfrose dot de>
14948
14949         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14950         (gst_base_src_get_query_types), (gst_base_src_update_length):
14951         Publish supported query types.
14952         Update last_stop field in get_range mode so the position
14953         query works. Fixes #342321.
14954
14955 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14956
14957         * docs/gst/gstreamer-sections.txt:
14958         * gst/gsttaglist.c: (_gst_tag_initialize):
14959         * gst/gsttaglist.h:
14960           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14961
14962 2006-05-30  Wim Taymans  <wim@fluendo.com>
14963
14964         Patch by: Alessandro Decina <alessandro at nnva dot org>
14965
14966         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14967         Unlock mutex when removing an unknown pad.
14968         Fixes #343334.
14969
14970         * tests/check/Makefile.am:
14971         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14972         (push_event), (setup), (teardown), (GST_START_TEST),
14973         (gst_collect_pads_suite), (main):
14974         Added collecpads check, disabled for now as check crashes for
14975         some reason.
14976
14977 2006-05-29  Wim Taymans  <wim@fluendo.com>
14978
14979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
14980         Don't leak pads lists.
14981
14982 2006-05-29  Wim Taymans  <wim@fluendo.com>
14983
14984         * docs/libs/gstreamer-libs-sections.txt:
14985         * libs/gst/base/gstcollectpads.c:
14986         (gst_collect_pads_set_flushing_unlocked),
14987         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
14988         (gst_collect_pads_stop):
14989         * libs/gst/base/gstcollectpads.h:
14990         API: gst_collect_pads_set_flushing()
14991         Added api to set the pads to flushing, useful for seeking
14992         code in elements using collectpads.
14993         Clear segment when receiving a flush.
14994
14995 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * gst/gst.c: (add_path_func), (init_post):
14998           Don't scan registry paths passed via --gst-plugin-path immediately
14999           (will crash, because absolutely nothing is set up and no types are
15000           registered etc.); do this later in init_post(). Fixes #343057.
15001
15002 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15003
15004         * gst/gst.c: (init_post):
15005           if we have fork, fork while reading/rebuilding the registry
15006           so the parent doesn't take the hit of having all plugins loaded
15007           in memory.  Fixes #342777.
15008         * configure.ac:
15009           Check if we have fork()
15010         * win32/common/config.h.in:
15011           no fork() on win32
15012
15013 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15014
15015         * plugins/elements/gstelements.c:
15016         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15017         (gst_file_src_init), (gst_file_src_set_property),
15018         (gst_file_src_get_property), (gst_file_src_start):
15019         * plugins/elements/gstfilesrc.h:
15020           API: GstFileSrc::use-mmap
15021
15022         Add a use-mmap property to enable easier testing of all code paths.
15023         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15024         in the absence of gnomevfssrc. (Closes #340501)
15025
15026 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15027
15028         * tools/gst-inspect.c:
15029         Add missing include, removes warning of ngettext not being defined on
15030         some arches.
15031
15032 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15033
15034         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15035         Handle NULL input and output pointers silently as a failed conversion,
15036         rather than g_warnings.
15037
15038 2006-05-25  Wim Taymans  <wim@fluendo.com>
15039
15040         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15041         Initialize variable before using. Fixes #342820.
15042
15043 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15044
15045         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15046           Fix off-by-one bug that would only allow peeks of N-1 bytes
15047           from the start even if the buffer to typefind on contains
15048           in fact N bytes of data (makes vorbis typefinding from a
15049           vorbis identification header buffer work).
15050
15051         * tests/check/Makefile.am:
15052         * tests/check/libs/.cvsignore:
15053         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15054         (gst_typefindhelper_suite), (main), (foobar_typefind),
15055         (plugin_init):
15056           Add very basic unit test for gst_type_find_helper_for_buffer()
15057           that checks for the problem fixed above.
15058
15059 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15060
15061         * tools/gst-inspect.c: (print_interfaces),
15062         (print_element_properties_info), (print_element_list), (main):
15063           add more translatable strings
15064
15065 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15066
15067         Patch by: Julien Moutte  <julien at moutte net>
15068
15069         * docs/gst/gstreamer-sections.txt:
15070           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15071           
15072         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15073         (gst_fake_sink_preroll):
15074         * plugins/elements/gstfakesink.h:
15075           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15076
15077 2006-05-23  Wim Taymans  <wim@fluendo.com>
15078
15079         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15080         * gst/gstpad.h:
15081         Added _CUSTOM error and success GstFlowReturn that can be
15082         used be elements internally. 
15083         Added macro to check for SUCCESS flowreturns.
15084         API: GST_FLOW_CUSTOM_SUCCESS
15085         API: GST_FLOW_CUSTOM_ERROR
15086         API: GST_FLOW_IS_SUCCESS
15087
15088         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15089         Added check for GstFlowReturn sanity.
15090
15091 2006-05-23  Wim Taymans  <wim@fluendo.com>
15092
15093         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15094
15095         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15096         (gst_collect_pads_event):
15097         clear/reset segment info in FLUSH_STOP.
15098         Fixes #336929.
15099
15100 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15101
15102         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15103         (gst_collect_pads_check_collected):
15104         Flush queued buffer on _stop(), fixes playing again (#342454)
15105
15106 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15107
15108         * tests/check/gst/gststructure.c: (GST_START_TEST),
15109         (gst_structure_suite):
15110           add a test for a complete structure
15111
15112 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15113
15114         * docs/faq/developing.xml:
15115         * docs/faq/faq.xml:
15116         * docs/faq/troubleshooting.xml:
15117         * docs/faq/using.xml:
15118           Some minor FAQ updates that won't change the fact that
15119           our FAQ is badly structured, full of information hardly
15120           anyone new to GStreamer needs to know and lacking lots
15121           of information people constantly ask for.
15122           
15123 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15124
15125         * gst/gstpad.c: (gst_pad_set_caps):
15126           Short-circuit gst_pad_set_caps if setting the existing
15127           caps pointer again, and avoid printing debug and 
15128           reffing/unreffing the caps.
15129
15130         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15131           There's actually no need to set the caps before pushing -
15132           the acceptcaps method will handle it anyway.
15133
15134 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15135
15136         * docs/gst/gstreamer-sections.txt:
15137         * win32/common/libgstreamer.def:
15138         * gst/gstutils.c: (gst_element_seek_simple):
15139         * gst/gstutils.h:
15140           API: add gst_element_seek_simple() (#342238).
15141
15142 2006-05-18  Edward Hervey  <edward@fluendo.com>
15143
15144         * gst/gsttypefind.c: (gst_type_find_get_type):
15145         * gst/gsttypefind.h:
15146         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15147         registered for GstTypeFind pointers. This allows wrapping the structure
15148         in bindings (i.e. gst-python).
15149
15150 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15151
15152         * gst/gsttagsetter.c:
15153           Docs additions and fixes (see #339918).
15154
15155 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15156
15157         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15158         The caps intersection algorithm can produce multiple copies of the
15159         caps. Until that is fixed, we need to simplify the result to be
15160         sure whether the allowed caps are fixed or not.
15161
15162         * plugins/elements/gstqueue.c: (gst_queue_init),
15163         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15164         (gst_queue_push_one):
15165         Proxied buffer alloc should not set the caps on the source pad.
15166         When pushing buffers, we always accept the caps change that triggers.
15167         This prevents negotiation errors caused by caps changing mid-stream 
15168         and then being refused on our source pad (because upstream is now
15169         refusing those caps).
15170
15171 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15172
15173         * tests/examples/helloworld/helloworld.c: (main):
15174           Must plug audioconvert and audioresample between decoder
15175           and audio sink.
15176
15177 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15178
15179         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15180         (load_feature), (load_plugin):
15181         Allow empty strings for some of the plugin fields so we don't 
15182         drop valid plugin entries that were written out correctly
15183         (Fixes #341479)
15184
15185 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15186         
15187         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15188           Use g_remove and g_rename instead of remove and rename that don't 
15189           handle utf8 characters. rename was failing for users who had specific
15190           characters in their name then the registry was built at each 
15191           gstreamer init.
15192         * win32/vs6/gst_inspect.dsp:
15193         * win32/vs6/gst_launch.dsp:
15194         * win32/vs6/libgstbase.dsp:
15195         * win32/vs6/libgstcoreelements.dsp:
15196         * win32/vs6/libgstreamer.dsp:
15197           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15198           build of libgstreamer and clean unused libraries in projects link 
15199           settings.
15200
15201 2006-05-17  Edward Hervey  <edward@fluendo.com>
15202
15203         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15204         The queue is not responsible for pushing an EOS when receiving a fatal
15205         flow error. It's up to the real element driving the pipeline to do that.
15206
15207 2006-05-16  Edward Hervey  <edward@fluendo.com>
15208
15209         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15210         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15211         buffer returned a fatal error. It should just send an EOS and stop
15212         its task.
15213         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15214         when pushing buffers on the queue and will be able to handle the event.
15215
15216 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15217
15218         * docs/manual/basics-bins.xml:
15219         * docs/manual/basics-init.xml:
15220           Fix typos and minor errors in sample code (#341856).
15221
15222 2006-05-16  Wim Taymans  <wim@fluendo.com>
15223
15224         * docs/design/part-qos.txt:
15225         Fix indexes in formulas to make more sense.
15226
15227 2006-05-15  Wim Taymans  <wim@fluendo.com>
15228
15229         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15230         Don't report POSITION based on clock time if sync is
15231         disabled in a sink.
15232
15233 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15234
15235         * gst/gstobject.h:
15236           Add cast to make compiler happy - refcount variable was a gint
15237           in GstObject but is a guint in GObject and g_atomic_int_get()
15238           wants a gint *.
15239
15240 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15241
15242         * gst/parse/Makefile.am:
15243           chain commands using &&, which also makes parallel make work
15244
15245 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15246
15247         * docs/gst/gstreamer-sections.txt:
15248         * gst/gstevent.c:
15249         * gst/gstevent.h:
15250         * gst/gstmessage.h:
15251           Minor docs fixes.
15252
15253 === release 0.10.6 ===
15254
15255 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15256
15257         * configure.ac:
15258           releasing 0.10.6, "Take the cannoli"
15259
15260 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15261
15262         * tools/gst-launch.c: (print_tag):
15263           Fix use of uninitialized variable in the hypothetical
15264           case that some broken plugin creates a GST_TAG_IMAGE
15265           tag containing a NULL buffer (#341667).
15266
15267 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15268
15269         * tools/gst-launch.c: (print_tag):
15270           Print something more intelligible for image tags when
15271           using the -t switch (#341556).
15272
15273 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15274
15275         * Makefile.am:
15276           updates for win32
15277         * configure.ac:
15278           define GST_MAJORMINOR so we have it available in win32/common/config.h
15279           Possibly remove it from our Makefile.am files later
15280         * win32/common/config.h:
15281         * win32/common/config.h.in:
15282           added GST_MAJORMINOR
15283         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15284         * win32/common/gstversion.h:
15285           updated
15286
15287 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15288
15289         * win32/MANIFEST:
15290           Update win32 files listing.
15291         * win32/common/gstversion.h:
15292           Add GST_MAJORMINOR definition.
15293         * win32/common/libgstreamer.def:
15294           Add new exported functions.
15295           
15296 2006-05-12  Michael Smith  <msmith@fluendo.com>
15297
15298         * gst/gstplugin.c: (gst_plugin_load_file):
15299           If an so file has no plugin entry point, unload the module.
15300
15301 2006-05-11  Wim Taymans  <wim@fluendo.com>
15302
15303         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15304         (gst_queue_set_property):
15305         Don't forget to signal the _chain or _loop function 
15306         when the queue size or thresholds change since that might
15307         cause them to make progres again.
15308
15309 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15310
15311         * gst/gstclock.c: (gst_clock_class_init):
15312         * gst/gstindex.c: (gst_index_class_init):
15313         * gst/gstobject.c: (gst_object_class_init):
15314         * gst/gstpad.c: (gst_pad_class_init):
15315         * gst/gstpipeline.c: (gst_pipeline_class_init):
15316         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15317         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15318         * libs/gst/base/gstbasetransform.c:
15319         (gst_base_transform_class_init):
15320         * libs/gst/net/gstnetclientclock.c:
15321         (gst_net_client_clock_class_init):
15322         * libs/gst/net/gstnettimeprovider.c:
15323         (gst_net_time_provider_class_init):
15324         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15325         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15326         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15327         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15328         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15329         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15330         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15331         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15332         * plugins/elements/gsttee.c: (gst_tee_class_init):
15333         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15334         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15335           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15336
15337 2006-05-11  Wim Taymans  <wim@fluendo.com>
15338
15339         * gst/gstbuffer.c: (_gst_buffer_initialize):
15340         Register subbufer along with the buffer type so that
15341         it does not accidentally gets registered from N
15342         different streaming threads in a non threadsafe way.
15343
15344 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15345
15346         * gst/gstbuffer.h:
15347         * gst/gstevent.h:
15348         * gst/gstmessage.h:
15349           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15350           gst_event_ref() and gst_message_ref() functions again
15351           (ugly hack, please do fix if there's a better way besides
15352           overrides.txt, which doesn't seem to work).
15353
15354 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15355
15356         * libs/gst/check/gstcheck.h:
15357           add an assert for setting state to avoid lots of repetitive code
15358           in the future
15359
15360 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15361
15362         * gst/gstvalue.c: (gst_value_serialize_flags):
15363           fix a leak if no flags are set
15364         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15365           fix leak in tests
15366
15367 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * docs/manual/basics-pads.xml:
15370           Expand a bit on caps and filtered links and update
15371           examples that were still using the no longer existing
15372           gst_pad_link_filtered() (#338206).
15373
15374 2006-05-10  Wim Taymans  <wim@fluendo.com>
15375
15376         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15377         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15378         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15379         (gst_collect_pads_stop):
15380         * libs/gst/base/gstcollectpads.h:
15381         No need to call _stop in _finalize.
15382         Iterate the main pad list in _finalize.
15383         Added some more debug.
15384         Free lists and data in the right order.
15385         Also free data whem doing _remove_pad when stopped for
15386         backward compatibility protect ::started with PAD_LOCK as
15387         well.
15388
15389 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15390
15391         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15392         (gst_structure_parse_value):
15393           add some comments
15394           rename a method so that it actually says what it does better
15395
15396 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15397
15398         * gst/gstevent.c: (_gst_event_initialize):
15399         * gst/gstformat.c: (_gst_format_initialize):
15400           make sure some essential types used by events are registered
15401           as part of gst_init()
15402         * gst/gstvalue.c: (gst_value_serialize_flags):
15403           if no flags are set, serialize them to a value that represents NONE
15404           so that deserializing them works
15405         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15406           add tests for serialization and deserialization of flags
15407
15408 2006-05-10  Wim Taymans  <wim@fluendo.com>
15409
15410         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15411         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15412         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15413         (gst_collect_pads_event), (gst_collect_pads_chain):
15414         Update docs.
15415         Better debug info.
15416         Catch and return errors from the collect function
15417         Refuse data on eos pads.
15418
15419 2006-05-10  Edward Hervey  <edward@fluendo.com>
15420
15421         * gst/gstinterface.h:
15422         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15423         GInterface type checking.
15424         They were previously using non-defined macros.
15425
15426 2006-05-09  Wim Taymans  <wim@fluendo.com>
15427
15428         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15429         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15430         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15431         (gst_collect_pads_start), (gst_collect_pads_stop),
15432         (gst_collect_pads_peek), (gst_collect_pads_pop),
15433         (gst_collect_pads_available), (gst_collect_pads_read),
15434         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15435         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15436         (gst_collect_pads_chain):
15437         * libs/gst/base/gstcollectpads.h:
15438         Clean up the mess that is collectpads, add comments and
15439         FIXMEs where needed.
15440         Maintain a separate pad list so we can add pads while
15441         collecting the other ones. For this we need a new separate 
15442         lock (see comics).
15443         Fix memory leak in finalize.
15444         Refactor some weird code to set/unset pad flushing flags, mark
15445         with comments.
15446         Don't crash in _available, _read, _flush when we're EOS.
15447
15448         * tests/check/libs/.cvsignore:
15449         Ignore adapter check binary.
15450
15451 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15452
15453         * gst/gstindex.c: (gst_index_resolver_get_type):
15454         * plugins/elements/gstfakesink.c:
15455         (gst_fake_sink_state_error_get_type):
15456         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15457         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15458         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15459           Const-ify GEnumValue arrays.
15460
15461 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15462
15463         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15464           Add test case for flags + gst_buffer_make_metadata_writable().
15465
15466 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15467
15468         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15469           gst_buffer_make_metadata_writable() should maintain the
15470           buffer flags (those that make sense at least) (see #340859).
15471
15472 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15473
15474         * tools/gst-inspect.c:
15475         * tools/gst-launch.c:
15476         * tools/gst-typefind.c:
15477         * tools/gst-xmlinspect.c:
15478         * tools/tools.h:
15479           Fix up includes: need to include stdlib.h in tools.h for exit().
15480
15481 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15482
15483         * gst/gsttaglist.c: (_gst_tag_initialize):
15484         * gst/gsttaglist.h:
15485           API: add GST_TAG_IMAGE tag (#340721).
15486
15487 2006-05-08  Wim Taymans  <wim@fluendo.com>
15488
15489         * gst/gstquery.c:
15490         Added some docs for the segment query.
15491
15492 2006-05-08  Wim Taymans  <wim@fluendo.com>
15493
15494         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15495         (gst_base_src_loop), (gst_base_src_change_state):
15496         Always push non-flushing serialized events in the streaming 
15497         thread.
15498
15499 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15500
15501         * gst/gsterror.c: (_gst_stream_errors_init):
15502           Add a missing error string.
15503
15504 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15505
15506         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15507         Add applied_rate to the debug
15508
15509         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15510         Copy applied_rate into the outgoing NEWSEGMENT event
15511
15512 2006-05-08  Wim Taymans  <wim@fluendo.com>
15513
15514         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15515
15516         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15517         (gst_base_sink_change_state):
15518         call ::unlock before taking the PREROLL_LOCK so we can safely
15519         handle elements that lock in ::render.
15520         Fixes #340174.
15521
15522 2006-05-08  Edward Hervey  <edward@fluendo.com>
15523
15524         * autogen.sh: (CONFIGURE_DEF_OPT): 
15525         Darwin's libtoolize is in fact called glibtoolize.
15526         Adding glibtoolize to the list of accepted names for libtoolize.
15527
15528 2006-05-08  Wim Taymans  <wim@fluendo.com>
15529
15530         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15531         Unify error handling, don't post an error message
15532         when a push() returns EOS but perform our normal EOS
15533         handling code. Fixes #340772.
15534
15535 2006-05-08  Wim Taymans  <wim@fluendo.com>
15536
15537         * docs/design/part-overview.txt:
15538         Make upsteam/downstream concepts more clear.
15539         Give an example of serialized/non-serialized events.
15540
15541         * docs/design/part-events.txt:
15542         * docs/design/part-streams.txt:
15543         Mention applied_rate.
15544
15545         * docs/design/part-trickmodes.txt:
15546         Mention applied rate, flesh out some more use cases.
15547
15548         * gst/gstevent.c: (gst_event_new_new_segment),
15549         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15550         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15551         (gst_event_parse_tag), (gst_event_new_buffer_size),
15552         (gst_event_parse_buffer_size), (gst_event_new_qos),
15553         (gst_event_parse_qos), (gst_event_parse_seek),
15554         (gst_event_new_navigation):
15555         * gst/gstevent.h:
15556         Add applied_rate field to NEWSEGMENT event.
15557         API: gst_event_new_new_segment_full()
15558         API: gst_event_parse_new_segment_full()
15559
15560         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15561         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15562         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15563         * gst/gstsegment.h:
15564         Add applied_rate to GstSegment structure.
15565         Make calculation of stream_time and running_time more correct
15566         wrt rate/applied_rate.
15567         Add some more docs.
15568         API: GstSegment::applied_rate field
15569         API: gst_segment_set_newsegment_full();
15570
15571         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15572         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15573         * libs/gst/base/gstbasetransform.c:
15574         (gst_base_transform_sink_eventfunc),
15575         (gst_base_transform_handle_buffer):
15576         Parse and use applied_rate in the GstSegment field.
15577
15578         * tests/check/gst/gstevent.c: (GST_START_TEST):
15579         Add check for applied_rate field.
15580
15581         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15582         (gstsegments_suite):
15583         Add more checks for various GstSegment operations.
15584
15585 2006-05-08  Wim Taymans  <wim@fluendo.com>
15586
15587         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15588         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15589         (gst_base_sink_get_position), (gst_base_sink_change_state):
15590         Store the sync time of the buffer end position separatly in a
15591         new variable eos_rtime so we can properly sync the EOS event.
15592         Fixes #340697.
15593         Fix the docs for gst_base_sink_set_qos_enabled().
15594         Don't set segment start to invalid value when we receive a 
15595         non TIME newsegment.
15596         get closer to handling position reporting for negative rates 
15597         correctly.
15598
15599 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15600
15601         * gst/gstcaps.c:
15602         Docs about how to print caps for debug purposes.
15603
15604         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15605         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15606
15607 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15608
15609         * gst/gstelement.c:
15610           use full enum names and preprend a '%' in docs strings to make recent 
15611           gtk-doc turn that into a link
15612
15613 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15614
15615         * docs/manual/basics-bins.xml:
15616         * docs/manual/basics-bus.xml:
15617         * docs/manual/basics-pads.xml:
15618           Some typo fixes, some additions, some clarifications. 
15619
15620 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * tools/gst-inspect.c: (main):
15623         * tools/gst-launch.c: (main):
15624         * tools/gst-run.c: (main):
15625         * tools/gst-typefind.c: (main):
15626         * tools/gst-xmlinspect.c: (main):
15627           Use the string passed to g_option_context_new() for
15628           what it's intended for - the program name is already
15629           printed elsewhere.
15630
15631 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15632
15633         * tools/Makefile.am:
15634         * tools/gst-inspect.c: (main):
15635         * tools/gst-launch.c: (main):
15636         * tools/gst-xmlinspect.c: (main):
15637         * tools/tools.h:
15638           Add back --version command line option (#340460).
15639
15640         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15641           Add --version option and use GOption for argument parsing; refactor a
15642           bit; accept directories as arguments and recurse into them; lastly,
15643           print a decent error message when things go wrong.
15644
15645 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15646
15647         * docs/manual/basics-bins.xml:
15648         Don't mention GstThread (#340611)
15649         * docs/manual/basics-elements.xml:
15650         Update link to GObject tutorial (#340607)
15651         
15652 2006-05-05  Wim Taymans  <wim@fluendo.com>
15653
15654         * gst/gstbuffer.h:
15655         * gst/gstminiobject.c:
15656         Add note about refcounting and miniobject/buffer writeability
15657         to docs. Fixes #340604
15658
15659         * gst/gstelementfactory.h:
15660         Added some explanation about @klass.
15661
15662 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15663
15664         * docs/manual/intro-motivation.xml:
15665         * docs/manual/manual.xml:
15666         Avoid CORBA & Bonobo references (#340598)
15667
15668 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15669
15670         * docs/manual/basics-bus.xml:
15671         * docs/manual/basics-pads.xml:
15672         Fix up some inaccuracies and omissions (#340609)
15673         
15674 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15675
15676         * gst/gstghostpad.c:
15677           Small typo in docs (#340625)
15678
15679 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15680
15681         * gst/parse/Makefile.am:
15682           Make 'make -j' proof (see #340698).
15683
15684 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15685
15686         * configure.ac:
15687           Require GLib-2.8 here as well.
15688
15689 2006-05-05  Wim Taymans  <wim@fluendo.com>
15690
15691         * gst/glib-compat.c:
15692         * gst/gst.c: (init_pre):
15693         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15694         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15695         (gst_object_dispatch_properties_changed):
15696         * gst/gstobject.h:
15697         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15698         * gst/gststructure.c: (gst_structure_set_valist):
15699         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15700         Remove pre glib2.8 compatibility, fixes #340508
15701
15702 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15703
15704         * gst/gsttaglist.h:
15705           Mention type of tags in doc blurbs.
15706
15707 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15708
15709         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15710         (gst_pad_configure_src), (gst_pad_push):
15711         Restore acceptcaps checking behaviour now that good plugins have
15712         been released.
15713
15714 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15715
15716         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15717
15718         * gst/gst.c:
15719         * gst/gstbus.c:
15720         * gst/gstclock.c:
15721         * gst/gstevent.c:
15722         * gst/gstformat.c:
15723         * gst/gstmessage.c:
15724         * gst/gstparse.c:
15725         * gst/gstquery.c:
15726         * gst/gstutils.c:
15727         * gst/parse/Makefile.am:
15728         * libs/gst/base/gstadapter.c:
15729         * libs/gst/base/gstbasesrc.c:
15730         * libs/gst/base/gstpushsrc.c:
15731         * libs/gst/base/gsttypefindhelper.c:
15732         * plugins/elements/gstfakesrc.c:
15733         * plugins/elements/gstidentity.c:
15734           Make sure gstprivate.h and/or config.h are
15735           always included first, otherwise some of our
15736           defines (like _FILE_OFFSET_BITS) might be
15737           redefined in the system headers. Fixes build
15738           on opensolaris (#340016).
15739
15740 2006-05-04  Wim Taymans  <wim@fluendo.com>
15741
15742         * docs/libs/gstreamer-libs-sections.txt:
15743         API: addition: gst_adapter_take_buffer()
15744         
15745         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15746         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15747         (gst_adapter_available_fast):
15748         * libs/gst/base/gstadapter.h:
15749         Prepare for optimizing the hell out of this hugely inefficient
15750         piece of code. 
15751         Added gst_adapter_take_buffer() so we can at least start thinking
15752         about subbuffering and merging.
15753         Added some comments.
15754
15755         * tests/check/Makefile.am:
15756         * tests/check/libs/adapter.c: (GST_START_TEST),
15757         (gst_adapter_suite), (main):
15758         Added GstAdapter check.
15759
15760 2006-05-04  Wim Taymans  <wim@fluendo.com>
15761
15762         * docs/design/part-overview.txt:
15763         Fix some typos, add blurb about buffer flags.
15764
15765 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15766
15767         * docs/libs/gstreamer-libs-sections.txt:
15768           make sure GstBaseTransformClass shows up in the docs
15769         * libs/gst/base/gstbasetransform.c:
15770         * libs/gst/base/gstbasetransform.h:
15771           move docs so gtk-doc picks it up now
15772
15773 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15774
15775         * docs/libs/gstreamer-libs-sections.txt:
15776           add missing symbols to docs
15777
15778 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15779
15780         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15781           back out the newsegment handling change, see #340060 for ongoing
15782           discussion
15783
15784 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15785
15786         * tools/gst-run.c: (get_candidates), (main):
15787           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15788           work); fix typo in error message. Fixes #340079.
15789
15790 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15791
15792         * common/Makefile.am:
15793         * docs/Makefile.am:
15794         * docs/faq/Makefile.am:
15795         * docs/gst/Makefile.am:
15796         * docs/libs/Makefile.am:
15797         * docs/manual/Makefile.am:
15798         * docs/plugins/Makefile.am:
15799         * docs/pwg/Makefile.am:
15800         * docs/slides/Makefile.am:
15801         * docs/upload.mak:
15802         * common/upload.mak:
15803           move upload.mak to common
15804
15805 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15806
15807         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15808           add more asserts on refcounts
15809           do more cleanup at end of tests
15810           fix test leaks showing in FC5
15811
15812 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15813
15814         * plugins/elements/gsttypefindelement.c:
15815         (gst_type_find_element_handle_event):
15816         reverted wrong change and reflowed code to avoid others falling into
15817         this trap
15818
15819 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15820
15821         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15822           fix changelog entry about last collectpads change,
15823           add notes about proper fix
15824
15825 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15826
15827         * gst/gst.c:
15828         * gst/gstregistry.c: (gst_registry_scan_path_level),
15829         (gst_registry_scan_path):
15830         * gst/gstregistry.h:
15831           only write out registry if it has changed, fixes #338339
15832
15833 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15834
15835         * gst/gstbin.c:
15836         * gst/gstpipeline.c:
15837         * plugins/elements/gstcapsfilter.c:
15838         * plugins/elements/gstfakesink.c:
15839         * plugins/elements/gstfakesrc.c:
15840         * plugins/elements/gstfdsink.c:
15841         * plugins/elements/gstfdsrc.c:
15842         * plugins/elements/gstfilesink.c:
15843         * plugins/elements/gstfilesrc.c:
15844         * plugins/elements/gstidentity.c:
15845         * plugins/elements/gstqueue.c:
15846         * plugins/elements/gsttee.c:
15847         * plugins/elements/gsttypefindelement.c:
15848         (gst_type_find_element_handle_event):
15849           make GstElementDetails const
15850
15851 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15852
15853         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15854         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15855         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15856           more detailed debug and formatting cleanup,
15857           forward newsegments to src-pad (so that e.g. adder not eats them)
15858
15859 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15860
15861         * gst/gstutils.c: (gst_element_link_pads):
15862           cleanup double code
15863
15864 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15865
15866         * libs/gst/controller/gstcontroller.c:
15867         (gst_controller_sync_values):
15868           some little tuning
15869         * tests/check/libs/controller.c: (GST_START_TEST),
15870         (gst_controller_suite):
15871           a new test for live value handling
15872
15873 2006-04-28  Wim Taymans  <wim@fluendo.com>
15874
15875         * gst/gstutils.c: (push_and_ref):
15876         Added some more docs.
15877         Fix refcount issue whith gst_element_found_tags() helper 
15878         function. Fixes #338335
15879
15880         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15881         Added testsuite for gst_element_found_tags().
15882
15883 2006-04-28  Michael Smith  <msmith@fluendo.com>
15884
15885         * gst/gstvalue.c: (gst_value_serialize_flags):
15886           Avoid NULL dereference when trying to serialize flags containing
15887           invalid values.
15888
15889 2006-04-28  Michael Smith  <msmith@fluendo.com>
15890
15891         * plugins/elements/gsttypefindelement.c:
15892         (gst_type_find_element_handle_event):
15893           If we get EOS before any data is accumulated, don't use
15894           uninitialised local variables.
15895
15896 2006-04-28  Michael Smith  <msmith@fluendo.com>
15897
15898         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15899         (gst_dp_event_from_packet):
15900           Fixes in reading/writing events over GDP (not currently used?) - 
15901           dereferencing NULL events for unknown/invalid event types, memory
15902           leak, and change g_warning to GST_WARNING.
15903
15904 2006-04-28  Wim Taymans  <wim@fluendo.com>
15905
15906         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15907         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15908         (gst_base_sink_get_position), (gst_base_sink_change_state):
15909         When frame dropping is enabled, we should not ignore frames
15910         without a duration.
15911         Update some documentation.
15912
15913 2006-04-28  Wim Taymans  <wim@fluendo.com>
15914
15915         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15916         (gst_base_src_send_event), (gst_base_src_change_state):
15917         Documentation updates.
15918
15919 2006-04-28  Wim Taymans  <wim@fluendo.com>
15920
15921         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15922         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15923         handle EAGAIN, EINTR and short writes correctly. Also clean
15924         up some error cases, avoid a deadlock on bad file descriptors and
15925         use GST_DEBUG_OBJECT.
15926         Fixes #339843
15927
15928 2006-04-28  Wim Taymans  <wim@fluendo.com>
15929
15930         * gst/gstvalue.c: (gst_value_serialize_buffer),
15931         (gst_value_deserialize_buffer):
15932         Don't try to serialize a GValue with a NULL buffer. 
15933         Fixes #339821.
15934
15935         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15936         Added check for serialisation of NULL buffers.
15937
15938 2006-04-28  Wim Taymans  <wim@fluendo.com>
15939
15940         * gst/gstminiobject.c: (gst_value_take_mini_object):
15941         Taking a NULL miniobject is valid, fix the case where
15942         we try to unref the NULL miniobject.
15943
15944 2006-04-28  Wim Taymans  <wim@fluendo.com>
15945
15946         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15947
15948         * gst/gstbin.c: (gst_bin_handle_message_func):
15949         Update docs.
15950         Don't leak bin refcount when a state recalc is
15951         in progress and we delay another one #339808.
15952
15953 2006-04-28  Wim Taymans  <wim@fluendo.com>
15954
15955         * docs/design/part-TODO.txt:
15956         Mention QoS as an ongoing work item.
15957
15958         * docs/design/part-buffering.txt:
15959         New doc about buffering that needs to be fleshed out
15960         at some point.
15961
15962         * docs/design/part-qos.txt:
15963         More QoS policy for decoders/demuxers/transforms
15964
15965         * docs/design/part-trickmodes.txt:
15966         Small update.
15967
15968 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15969
15970         * configure.ac:
15971           back to HEAD
15972
15973 === release 0.10.5 ===
15974
15975 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15976
15977         * configure.ac:
15978           releasing 0.10.5, "Fogo"
15979
15980 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15981
15982         patch by: Wim Taymans
15983
15984         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15985         (gst_pad_configure_src), (gst_pad_push):
15986         * gst/gstpipeline.c: (gst_pipeline_init):
15987           Fix internal data flow errors.  Fixes #338711.
15988
15989 2006-04-12  Wim Taymans  <wim@fluendo.com>
15990
15991         * tests/check/gst/gstelement.c: (GST_START_TEST):
15992         Don't leak the factory.
15993
15994 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15995
15996         * configure.ac:
15997         * win32/common/config.h:
15998           prerelease
15999
16000 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16001
16002         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16003         (gst_controller_unset_all):
16004           Free allocated GstTimedValues when freeing list nodes.
16005           Should fix leaks 'make check-valgrind' complains about.
16006
16007         * win32/common/libgstcontroller.def:
16008           Add gst_controller_unset_all.
16009
16010 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16011
16012         * docs/libs/gstreamer-libs-sections.txt:
16013         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16014         (gst_controller_unset_all):
16015         * libs/gst/controller/gstcontroller.h:
16016         API: Added new method gst_controller_unset_all()
16017         fixed gst_controller_unset()
16018         * tests/check/libs/controller.c: (GST_START_TEST),
16019         (gst_controller_suite):
16020         Added two testcases for new and fixed method
16021
16022 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16023
16024         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16025           MSG_DONTWAIT is not defined on Cygwin, so work
16026           around that (fixes #317048).
16027           
16028 2006-04-11  Wim Taymans  <wim@fluendo.com>
16029
16030         * gst/gstelementfactory.c: (gst_element_register),
16031         (gst_element_factory_create), (gst_element_factory_make):
16032         Some cleanups.
16033         Fixed a FIXME.
16034         Updated docs (Fixes #131079)
16035
16036         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16037         Small cleanups.
16038
16039         * tests/check/gst/gstelement.c: (GST_START_TEST),
16040         (gst_element_suite):
16041         Added testcase for elementfactory class field.
16042
16043 2006-04-10  Wim Taymans  <wim@fluendo.com>
16044
16045         * gst/gstsegment.c:
16046         Added some more docs.
16047
16048         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16049         (gst_base_sink_reset_qos):
16050         Calculate more accurate rate values.
16051
16052 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16053
16054         * gst/gst_private.h:
16055           add a new #ifdef to use __declspec(dllimport) only for
16056           other modules and not for gstreamer core
16057         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16058           use gst_guint64_to_gdouble for conversion
16059         * win32/common/libgstreamer.def:
16060           add new exported functions
16061         * win32/vs6/gst_inspect.dsp:
16062         * win32/vs6/gst_launch.dsp:
16063         * win32/vs6/libgstbase.dsp:
16064         * win32/vs6/libgstcontroller.dsp:
16065         * win32/vs6/libgstcoreelements.dsp:
16066         * win32/vs6/libgstdataprotocol.dsp:
16067         * win32/vs6/libgstnet.dsp:
16068           update project files
16069
16070 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16071
16072         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16073         * gst/gstclock.c: (gst_clock_class_init):
16074         * gst/gstelement.c: (gst_element_class_init):
16075         * gst/gstindex.c: (gst_index_class_init):
16076         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16077         * gst/gstobject.c: (gst_object_class_init),
16078         (gst_signal_object_class_init):
16079         * gst/gstpad.c: (gst_pad_class_init):
16080         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16081         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16082         * gst/gstregistry.c: (gst_registry_class_init):
16083         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16084         * gst/gsttask.c: (gst_task_class_init):
16085         * gst/gstxml.c: (gst_xml_class_init):
16086         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16087         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16088         (gst_base_src_loop):
16089         * libs/gst/controller/gstcontroller.c:/
16090         (_gst_controller_class_init):
16091         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16092         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16093         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16094         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16095         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16096         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16097
16098 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16099
16100         * gst/gstpad.c: (gst_pad_link):
16101           Must set peer pads before calling the link function, otherwise
16102           a task started from a link function might get a flow-not-linked
16103           result when trying to push because the other thread where the
16104           linking happens hasn't had a chance to set the peers yet. This
16105           might happen for example when a queue gets linked to a downstream
16106           element, as queue starts a streaming task when its source pad
16107           gets linked. Happens in real life when playing back flac/musepack
16108           files in playbin (#332390).
16109           
16110 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16111
16112         * gst/gstindex.h:
16113         * gst/gstxml.h:
16114         * libs/gst/base/gstadapter.h:
16115         * libs/gst/base/gstbasesink.h:
16116         * libs/gst/base/gstbasesrc.h:
16117         * libs/gst/base/gstbasetransform.h:
16118         * libs/gst/base/gstcollectpads.h:
16119         * libs/gst/base/gstpushsrc.h:
16120         Fix broken GObject macros
16121
16122 2006-04-07  Wim Taymans  <wim@fluendo.com>
16123
16124         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16125         Initialize start and stop times, thanks valgrind.
16126
16127 2006-04-07  Wim Taymans  <wim@fluendo.com>
16128
16129         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16130         Be a bit nicer to badly behaving upstream elements that expect
16131         us to deal with non TIME segments and timestamps (such as fakesrc
16132         in the testsuite).
16133
16134 2006-04-07  Wim Taymans  <wim@fluendo.com>
16135
16136         * gst/gstbus.c:
16137         Small documentation clarification about the signal watch.
16138
16139         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16140         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16141         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16142         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16143         (gst_base_sink_get_position_last),
16144         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16145         Convert and store timestamps in stream time and running time, the
16146         raw timestamps are not useful, also document this better.
16147         Use different window sizes for good and bad QoS observations so
16148         we react to badness a little quicker.
16149         Keep track of the amount of rendered and dropped buffers.
16150         Send QoS timestamps in running time.
16151
16152         * libs/gst/base/gstbasetransform.c:
16153         (gst_base_transform_sink_eventfunc),
16154         (gst_base_transform_handle_buffer):
16155         Compare QoS timestamps against running time.
16156
16157 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16158
16159         * gst/gstpad.c:
16160           Typo fixes in docs.
16161
16162 2006-04-06  Michael Smith  <msmith@fluendo.com>
16163
16164         * gst/gstpad.c: (gst_pad_set_property):
16165           Use g_value_get_object() instead of g_value_dup_gst_object(),
16166           to avoid double-reffing the pad template (which we then sink,
16167           so this worked previously if (and only if) the pad template
16168           was floating.
16169
16170         * gst/gstpadtemplate.c: (gst_pad_template_init),
16171         (gst_pad_template_pad_created):
16172           Never return floating references to pad templates, create
16173           them as initially-sunken.
16174
16175           Document an extra function (and make this stop sinking our
16176           pad template, since that is now guaranteed to do nothing,
16177           since we created it sunken).
16178
16179         * gst/gstghostpad.c:
16180           Fix docs typo.
16181
16182 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16183
16184         * gst/gstinfo.c: (__gst_in_valgrind):
16185           Add some newlines.
16186
16187         * plugins/elements/gsttypefindelement.c:
16188         (gst_type_find_element_chain):
16189           Don't leak buffer caps.
16190
16191 2006-04-06  Michael Smith  <msmith@fluendo.com>
16192
16193         * gst/parse/grammar.y:
16194           Fix a leak in parse-launch for any source-or-sink named element 
16195           references used.
16196
16197         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16198           Unref the pipeline if it exists after we've failed parsing.
16199
16200 2006-04-05  Michael Smith  <msmith@fluendo.com>
16201
16202         * gst/gstpipeline.c: (gst_pipeline_init):
16203           When we create a pipeline bus, initially create it in flushing mode.
16204           Fixes leaks in at least one test, and makes a new pipeline work the
16205           same as one that has gone to READY and then back to NULL.
16206
16207         * gst/gstelement.c:
16208           Typo fix in docs.
16209
16210 2006-04-05  Michael Smith  <msmith@fluendo.com>
16211
16212         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16213           Unref a pad we reffed.
16214         * tests/check/gst/gstutils.c: (GST_START_TEST):
16215           Unref bins
16216
16217 2006-04-05  Michael Smith  <msmith@fluendo.com>
16218
16219         * gst/gstquery.c: (gst_query_set_formats),
16220         (gst_query_set_formatsv):
16221           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16222
16223 2006-04-05  Michael Smith  <msmith@fluendo.com>
16224
16225         * tests/check/generic/sinks.c: (GST_START_TEST):
16226           Fix a variety of memleaks in sinks check, which are only sometimes 
16227           shown by running the tests under valgrind (weird?).
16228
16229 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16230
16231         * docs/version.entities.in:
16232           Fix the substituted entity name after thomas' changes on the
16233           weekend.
16234
16235 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16236
16237         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16238         VALGRIND_PRINTF
16239         
16240 2006-04-05  Andy Wingo  <wingo@pobox.com>
16241
16242         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16243
16244         * libs/gst/base/gstbasetransform.c
16245         (gst_base_transform_sink_eventfunc): When resetting our segment on
16246         FLUSH_STOP, also update the flag saying we haven't seen a
16247         newsegment.
16248
16249 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16250
16251         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16252
16253         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16254         (gst_plugin_check_license):
16255           minor clean-ups: G_DEFINE_TYPE already takes care of the
16256           parent_class stuff, no need to do it twice. Mark array of
16257           license strings as constant. (#337103)
16258           
16259 2006-04-04  Michael Smith  <msmith@fluendo.com>
16260
16261         * tools/gst-inspect.c: (print_element_list):
16262           Free the right plugin list; fixes a memory leak.
16263
16264 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16265
16266         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16267
16268         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16269           Don't error out on empty buffers (#336945).
16270           
16271 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16272
16273         * docs/libs/gstreamer-libs-sections.txt:
16274         * gst/gsttaglist.c:
16275         * libs/gst/base/gstbasesink.c:
16276         * libs/gst/base/gstbasesink.h:
16277         * libs/gst/base/gstbasesrc.c:
16278         * libs/gst/base/gstbasesrc.h:
16279           Documentation updates. Make BaseSink and BaseSrc docs contain the
16280           class structure so that people can actually see the prototypes for
16281           virtual functions they're supposed to be overriding.
16282
16283 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16284
16285         * plugins/elements/gsttypefindelement.c:
16286         (gst_type_find_element_chain):
16287           More debug info; when skipping typefinding, send cached
16288           events in all cases.
16289
16290 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16291
16292         * configure.ac:
16293           use new AS_VERSION and AS_NANO macros
16294         * gst/gst-i18n-lib.h:
16295         * gst/gst.c:
16296         * gst/gsterror.c:
16297         * gst/gstversion.h.in:
16298         * win32/common/config.h:
16299         * win32/common/config.h.in:
16300           update accordingly
16301
16302 2006-03-31  Michael Smith  <msmith@fluendo.com>
16303
16304         * plugins/elements/gsttypefindelement.c:
16305         (gst_type_find_element_chain):
16306           Do not typefind content if the buffers already have caps.
16307           Neccesary for icydemux (#333657), and the right thing to do anyway.
16308
16309 2006-03-30  Wim Taymans  <wim@fluendo.com>
16310
16311         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16312         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16313         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16314         (gst_base_sink_record_qos_observation),
16315         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16316         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16317         (gst_base_sink_change_state):
16318         More QoS measurements as described in the design doc.
16319         Get rid of ringbuffer with observations, running average is
16320         more simple and equally good.
16321         Calculates valid proportion now.
16322         Added beginning of flood measurement.
16323
16324 2006-03-29  Wim Taymans  <wim@fluendo.com>
16325
16326         * docs/design/part-qos.txt:
16327         * gst/gstclock.c:
16328         Small documentation updates and additions.
16329
16330 2006-03-29  Wim Taymans  <wim@fluendo.com>
16331
16332         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16333         (gst_base_src_send_event), (gst_base_src_loop),
16334         (gst_base_src_change_state):
16335         Perform the EOS logic when we reach the segment stop position.
16336         Fix compilation on gcc4.1
16337
16338 2006-03-29  Wim Taymans  <wim@fluendo.com>
16339
16340         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16341
16342         * plugins/elements/gstqueue.c: (gst_queue_init),
16343         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16344         (gst_queue_set_property):
16345         * plugins/elements/gstqueue.h:
16346         In queue, when EOS is received, if minimum threshold > max_size -
16347         current_level, there is chance that queue blocks forever in conditional
16348         item del wait. This is because the queue is not emptied completely due
16349         to minimum threshold.  Here is another approach. Instead of setting
16350         cur_levels to max in EOS, just zero all minimum threshold levels. This
16351         should make sure that queue gives out all data. When going to READY
16352         (stop) state, just reset the original minimum threshold levels.
16353         Fixes #336336.
16354
16355 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16356
16357         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16358         (gst_type_find_element_handle_event),
16359         (gst_type_find_element_send_cached_events),
16360         (gst_type_find_element_change_state):
16361         * plugins/elements/gsttypefindelement.h:
16362           When typefinding is done in push mode, we should cache
16363           events we receive during typefinding instead of just
16364           dropping them (e.g. newsegment, custom events from
16365           dvdreadsrc etc.) and then send them out once we've
16366           determined the type of the stream (and decodebin
16367           has had a chance to plug in a decoder/demuxer).
16368           
16369 2006-03-27  Wim Taymans  <wim@fluendo.com>
16370
16371         * docs/design/part-qos.txt:
16372         First QoS ideas.
16373
16374 2006-03-27  Wim Taymans  <wim@fluendo.com>
16375
16376         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16377
16378         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16379         (gst_base_src_send_event), (gst_base_src_change_state):
16380         Handle element seek correctly when we are streaming.
16381         Fixes #326998.
16382
16383 2006-03-24  Michael Smith  <msmith@fluendo.com>
16384
16385         * docs/faq/gst-uninstalled:
16386           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16387           allow you to correctly run intalled applications built against old 
16388           core, using plugins that require updated core (e.g. running
16389           installed totem against a full uninstalled gstreamer stack)
16390
16391 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16392
16393         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16394         more debug details
16395
16396 2006-03-24  Wim Taymans  <wim@fluendo.com>
16397
16398         * docs/gst/gstreamer-sections.txt:
16399         Rearrange the order of the methods so that related methods
16400         are grouped together in sections.
16401
16402 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16403
16404         * gst/gstelement.c:
16405           Little clarification in the docs
16406
16407 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16408
16409         * docs/README:
16410         formatting fix
16411         * plugins/elements/gstidentity.c:
16412         * plugins/elements/gstqueue.c:
16413         * plugins/elements/gsttee.c:
16414         * plugins/elements/gsttypefindelement.c:
16415         GST_ELEMENT_DETAILS formatting
16416
16417 2006-03-24  Wim Taymans  <wim@fluendo.com>
16418
16419         * libs/gst/base/gstbasesink.h:
16420         Only add fields, not insert or we break ABI.
16421
16422 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16423
16424         * win32/common/libgstbase.def:
16425         * win32/common/libgstreamer.def:
16426           Update, add recently added functions.
16427
16428 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16429
16430         * docs/gst/gstreamer-sections.txt:
16431         * gst/gstutils.c: (gst_pad_query_peer_position),
16432         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16433         * gst/gstutils.h:
16434           API: add some new utility functions:
16435            - gst_pad_query_peer_position()
16436            - gst_pad_query_peer_duration()
16437            - gst_pad_query_peer_convert()
16438           
16439 2006-03-23  Wim Taymans  <wim@fluendo.com>
16440
16441         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16442         (gst_base_sink_init), (gst_base_sink_finalize),
16443         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16444         (gst_base_sink_set_property), (gst_base_sink_get_property),
16445         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16446         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16447         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16448         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16449         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16450         (gst_base_sink_preroll_object), (gst_base_sink_event),
16451         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16452         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16453         (gst_base_sink_query), (gst_base_sink_change_state):
16454         Decouple max-lateness and the fact that QoS messages are generated
16455         with a new property (qos).
16456         added API: GstBaseSink::async_play()
16457         Add vmethod so subclasses can be notified of ASYNC playing
16458         state changes.
16459         Collect timestamp start and stop to report better current
16460         position in EOS/PLAYING/PAUSED/READY/NULL.
16461         Refactor QoS/frame dropping and other measurements.
16462         API: GstBaseSrc::qos
16463         Fixes #326311
16464
16465         * libs/gst/base/gstbasesink.h:
16466         Added Private struct.
16467         API: gst_base_sink_set_qos_enabled()
16468         API: gst_base_sink_is_qos_enabled()
16469
16470 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16471
16472         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16473           If compiling against GLib-2.8 or newer, try to read the
16474           registry file using GMappedFile first before falling back
16475           to fopen() + fread() (#332151).
16476
16477 2006-03-22  Wim Taymans  <wim@fluendo.com>
16478
16479         * gst/gstinfo.c: (gst_debug_set_active),
16480         (gst_debug_category_set_threshold):
16481         Disable debugging unless explicitly activated.
16482         Fixes #335480.
16483
16484 2006-03-22  Wim Taymans  <wim@fluendo.com>
16485
16486         * gst/gstelement.c: (gst_element_set_locked_state),
16487         (gst_element_dispose):
16488         Cleanup the error case.
16489
16490         * gst/gstobject.c: (gst_object_dispose):
16491         print a critical when some object was disposed with
16492         a parent, also revive the object since it might
16493         crash the parent.
16494
16495 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16496
16497         * tools/gst-launch.1.in:
16498           Fix another typo.
16499
16500 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16501
16502         * configure.ac:
16503         * tests/check/Makefile.am:
16504           disable some tests when we don't have a registry
16505         * tests/check/gst/gstutils.c: (gst_utils_suite):
16506           don't build the part that needs parsing
16507
16508 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16509
16510         * gst/Makefile.am
16511         * tests/examples/Makefile.am:
16512           fix --disable-parse build
16513
16514 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16515
16516         * tools/gst-feedback.1.in:
16517           Fix typo: s/feeback/feedback/ (#133494).
16518
16519 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16520
16521         * tools/Makefile.am:
16522         * tools/gst-launch.1.in:
16523           Add FILES section and correct entry about GST_REGISTRY_PATH
16524           environment variable (#133495; #133494).
16525
16526 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16527
16528         * tools/Makefile.am:
16529         * tools/gst-md5sum.1.in:
16530         * tools/gst-md5sum.c:
16531           Remove gst-md5sum and man page (the md5sink element
16532           required was removed ages ago)
16533
16534 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16535
16536         * gst/gststructure.c: (gst_structure_id_set_value):
16537           Make sure that string fields in structures/taglists
16538           contain valid UTF-8 - we don't want to pass rubbish to
16539           applications because of a buggy plugin (cp. #334167).
16540
16541 2006-03-21  Edward Hervey  <edward@fluendo.com>
16542
16543         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16544         (gst_bin_handle_message_func):
16545         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16546         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16547         (gst_element_set_bus_func):
16548         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16549         * gst/gstminiobject.c: (gst_value_set_mini_object),
16550         (gst_value_take_mini_object):
16551         * gst/gstpad.c: (gst_pad_set_pad_template):
16552         * gst/gstpipeline.c: (gst_pipeline_dispose),
16553         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16554         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16555         (gst_collect_pads_chain):
16556         * libs/gst/net/gstnettimeprovider.c:
16557         (gst_net_time_provider_set_property):
16558         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16559         It's in fact all issues with gst_*object_replace().
16560
16561 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16562
16563         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16564         
16565         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16566         * pkgconfig/gstreamer-check.pc.in:
16567           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16568
16569 2006-03-21  Edward Hervey  <edward@fluendo.com>
16570
16571         * gst/gstbuffer.h:
16572         * gst/gstevent.h:
16573         * gst/gstmessage.h:
16574         gst_[buffer|event|message]_ref() macros are replaced by a static
16575         inline functions because gcc-4.1 will about if the return value
16576         isn't used.
16577         * tests/check/gst/gstevent.c: (event_probe):
16578         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16579
16580 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16581
16582         * gst/gstutils.h:
16583         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16584         the type' case. (Closes: #335195 for now). In the future, when we
16585         depend on GLib 2.10, we could also intern the type name using
16586         g_intern_static_string()
16587
16588 2006-03-20  Wim Taymans  <wim@fluendo.com>
16589
16590         * gst/gstbin.c: (gst_bin_handle_message_func),
16591         (bin_query_max_init), (bin_query_position_fold),
16592         (bin_query_position_done), (gst_bin_query):
16593         Position query should also take max of all streams.
16594
16595 2006-03-20  Wim Taymans  <wim@fluendo.com>
16596
16597         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16598         (gst_fake_src_finalize):
16599         Fix leaks in fakesrc.
16600
16601         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16602         Fix leaks in the testcase.
16603
16604 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16605
16606         * gst/gst_private.h:
16607           add win32 specific import decoration(__declspec(dllimport)) 
16608           for all extern GstDebugCategory * variables
16609         * win32/common/libgstbase.def:
16610         * win32/common/libgstcontroller.def:
16611         * win32/common/libgstreamer.def:
16612           Add some exports, remove empty lines
16613         * win32/common/libgstdataprotocol.def:
16614         * win32/common/libgstdataprotocol.dsp:
16615         * win32/common/libgstnet.def:
16616         * win32/common/libgstnet.dsp:
16617           new project files and exportation files added
16618         
16619 2006-03-19  Wim Taymans  <wim@fluendo.com>
16620
16621         * tests/check/libs/basesrc.c: (eos_event_counter):
16622         Use proper return value for probe.
16623
16624 2006-03-17  Wim Taymans  <wim@fluendo.com>
16625
16626         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16627         (gst_pad_push):
16628         Don't leak buffers, caps and pads on negotiation errors.
16629
16630 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16631
16632         * docs/faq/cvs.xml:
16633         * docs/faq/dependencies.xml:
16634         * docs/faq/developing.xml:
16635         * docs/faq/faq.xml:
16636         * docs/faq/general.xml:
16637         * docs/faq/getting.xml:
16638         * docs/faq/legal.xml:
16639         * docs/faq/troubleshooting.xml:
16640         * docs/faq/using.xml:
16641         Faq review and update.
16642
16643 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16644
16645         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16646         (gst_pad_push):
16647         Don't pound the cpu to pieces by checking get_caps when accept_caps
16648         is called with the same caps as the pad already has.
16649         Use GST_DEBUG_OBJECT when outputting caps change information.
16650
16651 2006-03-15  Wim Taymans  <wim@fluendo.com>
16652
16653         * gst/gstclock.c: (gst_clock_class_init):
16654         Fix docs.
16655
16656 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16657
16658         * gst/gstbuffer.h:
16659         Documentation fix.
16660
16661         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16662         (gst_pad_accept_caps), (gst_pad_configure_sink),
16663         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16664         Make the default acceptcaps behaviour be to check the requested 
16665         caps against the gst_pad_get_caps output. 
16666
16667         Ensure that gst_pad_accept_caps is used to check caps when a pad
16668         doesn't have a setcaps function, so that pads automatically refuse 
16669         caps that they don't allow in their pad template. (Fixes #332986)
16670
16671         When a buffer with attached caps is pushed, ensure that the source 
16672         pad receives those caps even if the element didn't call
16673         gst_pad_set_caps first.
16674
16675 2006-03-15  Wim Taymans  <wim@fluendo.com>
16676
16677         * libs/gst/base/gstadapter.c:
16678         Add some docs.
16679
16680 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16681
16682         * win32/common/libgstbase.def:
16683         * win32/common/libgstcontroller.def:
16684         * win32/common/libgstreamer.def:
16685           Add a whole bunch of missing functions (#334434).
16686
16687 2006-03-14  Wim Taymans  <wim@fluendo.com>
16688
16689         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16690         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16691         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16692         Better debug info when we receive a segment event.
16693         Reorganize a bit so we can pass the get_times() results around.
16694         Use the segment format when calculating the running time.
16695         Don't do QoS is sync is disabled or we have no clock or the
16696         element does not want us to sync to the clock.
16697         Don't drop buffers if QoS is disabled for now.
16698
16699 2006-03-14  Wim Taymans  <wim@fluendo.com>
16700
16701         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16702         Marked the stats property as unimplemented so people don't get
16703         wild ideas.
16704         Add debug message when regression goes wrong.
16705         Added some more docs.
16706
16707 2006-03-14  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/gstsegment.c: (gst_segment_to_stream_time):
16710         Return correct return type in case of errors.
16711
16712 2006-03-14  Wim Taymans  <wim@fluendo.com>
16713
16714         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16715           Don't segfault on invalid formats.
16716
16717 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16718
16719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16720           Can't use gst_segment_to_running_time() when the segment
16721           is not in GST_TIME_FORMAT (like with filesink, for example).
16722           Stops flac encoding pipelines from spewing critical warnings
16723           at EOS (#331248).
16724           
16725 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16726
16727         * gst/gstpipeline.c: (gst_pipeline_class_init):
16728           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16729
16730         * plugins/elements/gsttypefindelement.c:
16731         (gst_type_find_element_handle_event):
16732           Don't try to typefind empty streams.
16733
16734 2006-03-14  Wim Taymans  <wim@fluendo.com>
16735
16736         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16737         (gst_base_sink_do_qos):
16738         Separate QoS calculation.
16739         Only drop buffers when lateness is bigger than the 
16740         duration of the buffer.
16741
16742 2006-03-13  Wim Taymans  <wim@fluendo.com>
16743
16744         * gst/gstpipeline.c: (gst_pipeline_set_property),
16745         (gst_pipeline_get_property), (do_pipeline_seek),
16746         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16747         (gst_pipeline_get_delay):
16748         Don't deadlock when reading properties.
16749
16750 2006-03-13  Wim Taymans  <wim@fluendo.com>
16751
16752         * libs/gst/base/gstbasetransform.c:
16753         (gst_base_transform_class_init), (gst_base_transform_init),
16754         (gst_base_transform_sink_event),
16755         (gst_base_transform_sink_eventfunc),
16756         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16757         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16758         (gst_base_transform_set_property),
16759         (gst_base_transform_get_property),
16760         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16761         (gst_base_transform_set_qos_enabled),
16762         (gst_base_transform_is_qos_enabled):
16763         * libs/gst/base/gstbasetransform.h:
16764         Make basetransform virtual method for src events too.
16765         Handle QOS in basetransform.
16766         API: gst_base_transform_update_qos()
16767         API: gst_base_transform_set_qos_enabled()
16768         API: gst_base_transform_is_qos_enabled()
16769
16770 2006-03-13  Wim Taymans  <wim@fluendo.com>
16771
16772         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16773         (gst_base_sink_do_sync):
16774         Small cleanups.
16775         Use QOS debug category.
16776
16777 2006-03-13  Wim Taymans  <wim@fluendo.com>
16778
16779         * plugins/elements/gstqueue.c:
16780         Very small doc update.
16781
16782 2006-03-13  Wim Taymans  <wim@fluendo.com>
16783
16784         * gst/gst_private.h:
16785         * gst/gstinfo.c: (_gst_debug_init):
16786         Added QOS debug category
16787
16788 2006-03-13  Wim Taymans  <wim@fluendo.com>
16789
16790         * docs/gst/gstreamer-sections.txt:
16791         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16792         * gst/gstbin.h:
16793         * gst/gstbus.c: (gst_bus_class_init):
16794         * gst/gstbus.h:
16795         * gst/gstclock.c:
16796         * gst/gstelement.c: (gst_element_set_locked_state):
16797         * gst/gstsegment.c:
16798         Documentation updates.
16799
16800         * gst/gstpipeline.c: (gst_pipeline_get_type),
16801         (gst_pipeline_class_init), (gst_pipeline_init),
16802         (gst_pipeline_dispose), (gst_pipeline_set_property),
16803         (gst_pipeline_get_property), (do_pipeline_seek),
16804         (gst_pipeline_send_event), (gst_pipeline_change_state),
16805         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16806         (gst_pipeline_get_delay):
16807         * gst/gstpipeline.h:
16808         Added methods for setting the delay.
16809         API: gst_pipeline_set_delay()
16810         API: gst_pipeline_get_delay()
16811         Add pipeline debug category
16812         Various cleanups.
16813         Updated docs.
16814         Don't reset stream time when seek failed.
16815
16816 2006-03-13  Wim Taymans  <wim@fluendo.com>
16817
16818         * docs/design/draft-klass.txt:
16819         * docs/design/part-clocks.txt:
16820         * docs/design/part-events.txt:
16821         * docs/design/part-gstbin.txt:
16822         * docs/design/part-gstpipeline.txt:
16823         * docs/design/part-messages.txt:
16824         * docs/design/part-negotiation.txt:
16825         * docs/design/part-overview.txt:
16826         * docs/design/part-preroll.txt:
16827         * docs/design/part-seeking.txt:
16828         * docs/design/part-states.txt:
16829         * docs/design/part-streams.txt:
16830         Documentation updates.
16831
16832 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16833
16834         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16835         us to leak strings...
16836
16837 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16838
16839         * libs/gst/net/gstnettimeprovider.c:
16840           fix docs
16841         * win32/common/config.h:
16842           update
16843
16844 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16845
16846         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16847
16848         * configure.ac:
16849           Don't check for libgnomeui (leftover from old examples
16850           that aren't built or disted any longer) (#334303).
16851           
16852 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16853
16854         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16855         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16856           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16857           there's no space left on the device.
16858
16859 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16860
16861         * gst/gstclock.h:
16862           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16863           to cast the input to GstClockTime before comparing with
16864           another GstClockTime value.
16865
16866 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16867
16868         * configure.ac:
16869           back to trunk
16870
16871 === release 0.10.4 ===
16872
16873 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16874
16875         * configure.ac:
16876           releasing 0.10.4, "Light"
16877
16878 2006-03-10  Michael Smith  <msmith@fluendo.com>
16879
16880         * libs/gst/dataprotocol/dataprotocol.c:
16881           Fix docs for dataprocotol to not get the return types completely
16882           wrong for a few functions.
16883
16884 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16885
16886         * docs/gst/gstreamer-sections.txt:
16887         * gst/gstpipeline.c: (gst_pipeline_class_init),
16888         (gst_pipeline_init), (gst_pipeline_set_property),
16889         (gst_pipeline_get_property), (gst_pipeline_change_state),
16890         (gst_pipeline_set_auto_flush_bus),
16891         (gst_pipeline_get_auto_flush_bus):
16892         * gst/gstpipeline.h:
16893           Add new API: gst_pipeline_set_auto_flush_bus() and
16894           gst_pipeline_get_auto_flush_bus() to disable automatic
16895           flushing of the pipeline's GstBus when going from READY
16896           to NULL state (#332045).
16897
16898 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16899
16900         * docs/gst/gstreamer-sections.txt:
16901         * gst/gsturi.c: (gst_uri_has_protocol):
16902         * gst/gsturi.h:
16903            Add new API: gst_uri_has_protocol() (#333779).
16904
16905 2006-03-09  Wim Taymans  <wim@fluendo.com>
16906
16907         * gst/gstclock.c: (gst_clock_entry_new),
16908         (gst_clock_id_compare_func), (gst_clock_id_wait),
16909         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16910         (gst_clock_init), (gst_clock_get_internal_time),
16911         (gst_clock_set_master), (do_linear_regression),
16912         (gst_clock_add_observation), (gst_clock_set_property):
16913         * gst/gstclock.h:
16914         Review docs.
16915         Small cleanups.
16916         Fix a possible segfault when the window-size is made smaller.
16917         Calculate jitter before performing the clock wait. Ideally
16918         the clock implementation should calculate jitter but we need
16919         API breakage for that.
16920
16921         * gst/gstsystemclock.c: (gst_system_clock_init):
16922         Docs review.
16923         
16924         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16925         Remove leftover else
16926
16927         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16928         (gst_systemclock_suite):
16929         Added check to test GST_CLOCK_DIFF.
16930
16931 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16932
16933         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16934         (gst_type_find_helper_get_range):
16935           If we are provided with the size, we should implement
16936           GstTypeFind::get_length, so that typefind functions who
16937           want to can actually peek at the middle of a file.
16938
16939 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16940
16941         * docs/manual/advanced-dataaccess.xml:
16942           Add some very very basic error checking.
16943
16944         * docs/pwg/appendix-checklist.xml:
16945           Some updates to the list of things to check when writing an element.
16946
16947 2006-03-08  Wim Taymans  <wim@fluendo.com>
16948
16949         * docs/design/part-element-transform.txt:
16950         Added some docs about the design of tranform elements.
16951
16952         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16953         (gst_base_src_loop), (gst_base_src_change_state):
16954         Mark buffers with the DISCONT flag.
16955
16956 2006-03-08  Michael Smith  <msmith@fluendo.com>
16957
16958         * gst/gstregistry.h:
16959         * gst/gstregistryxml.c: (gst_registry_save),
16960         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16961         (gst_registry_xml_save_pad_template),
16962         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16963         (gst_registry_xml_write_cache):
16964           Rewrite registry-saving to avoid race conditions and check for
16965           failed writes.
16966
16967 2006-03-08  Wim Taymans  <wim@fluendo.com>
16968
16969         * libs/gst/base/gstbasetransform.c:
16970         (gst_base_transform_transform_caps),
16971         (gst_base_transform_transform_size),
16972         (gst_base_transform_prepare_output_buffer),
16973         (gst_base_transform_get_unit_size),
16974         (gst_base_transform_buffer_alloc),
16975         (gst_base_transform_handle_buffer),
16976         (gst_base_transform_change_state):
16977         Cleanups, separate normal flow from errors, add sensible
16978         DEBUG lines.
16979         Don't try to renegotiate when allocating an output buffer.
16980         Also copy DISCONT buffer flag when copying a buffer.
16981         Reset the transform after we finish streaming, not during.
16982
16983 2006-03-08  Wim Taymans  <wim@fluendo.com>
16984
16985         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16986         Use last buffer timestamp in qos message.
16987
16988 2006-03-07  Wim Taymans  <wim@fluendo.com>
16989
16990         Patch by: Christophe Fergeau
16991
16992         * docs/pwg/advanced-tagging.xml:
16993         * docs/pwg/building-pads.xml:
16994           fixes #333416
16995
16996 2006-03-07  Wim Taymans  <wim@fluendo.com>
16997
16998         * docs/libs/gstreamer-libs-sections.txt:
16999         Added basesink new methods.
17000
17001         * gst/gstevent.c:
17002         * gst/gstevent.h:
17003         Docs updates. Flesh out the QoS docs.
17004
17005         * libs/gst/base/gstadapter.c:
17006         Small doc clarification about ownership and flushing.
17007
17008         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17009         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17010         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17011         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17012         * libs/gst/base/gstbasesink.h:
17013         API additions: 
17014         Added new methods to allow subclass to control max-lateness 
17015         and sync.
17016         Generate very basic QoS events based on last sync observation.
17017         Updated docs, fix typo, added some QoS blurb.
17018
17019         * libs/gst/base/gstbasesrc.c:
17020         Remove obsolete _get_state() calls from docs.
17021
17022 2006-03-07  Wim Taymans  <wim@fluendo.com>
17023
17024         * docs/libs/gstreamer-libs-sections.txt:
17025         * libs/gst/base/gstbasetransform.h:
17026         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17027         Fix docs for GstBaseSrc.
17028
17029 2006-03-07  Wim Taymans  <wim@fluendo.com>
17030
17031         * docs/gst/gstreamer-sections.txt:
17032         * gst/gstbuffer.h:
17033         * gst/gstvalue.c:
17034         * libs/gst/base/gstbasetransform.h:
17035         Small documentation fixes.
17036
17037 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17038
17039         * gst/gstvalue.c:
17040           Document thread-unsafety of gst_value_register_foo_func()
17041           when used at the same time as gst_value_foo() (#322628).
17042
17043 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17044
17045         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17046         (gst_push_src_check_get_range):
17047           Push sources don't support pull mode by default.
17048
17049 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17050
17051         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17052         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17053         (gst_base_src_default_check_get_range):
17054         * libs/gst/base/gstbasesrc.h:
17055           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17056           provide default implementation, and rename
17057           gst_base_src_check_get_range() to
17058           gst_base_src_pad_check_get_range() for clarity.
17059
17060 2006-03-06  Wim Taymans  <wim@fluendo.com>
17061
17062         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17063         Make property overridable.
17064
17065 2006-03-06  Wim Taymans  <wim@fluendo.com>
17066
17067         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17068         (gst_base_sink_init), (gst_base_sink_set_property),
17069         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17070         * libs/gst/base/gstbasesink.h:
17071         API addition: Make max-lateness a property.
17072
17073 2006-03-06  Wim Taymans  <wim@fluendo.com>
17074
17075         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17076         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17077         Don't ever draw a frame that is >10ms late.
17078
17079 2006-03-06  Michael Smith  <msmith@fluendo.com>
17080
17081         * gst/gstmessage.c: (_gst_message_copy):
17082           When copying a message, set the parent_refcount of the enclosed
17083           structure to point at the copy, not the original message.
17084
17085 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17086
17087         Patch by: Christophe Fergeau
17088
17089         * gst/gstutils.h:
17090           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17091           usable in c++ code (#333417)
17092
17093 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17094
17095         * gst/gstclock.h:
17096           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17097
17098 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17099
17100         * libs/gst/base/gstbasetransform.c:
17101         (gst_base_transform_transform_caps):
17102           Make sure caps are writable before passing them to
17103           gst_caps_append().
17104
17105 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17106
17107         * gst/gsterror.h:
17108           Fix some minor docs errors.
17109
17110 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17111
17112           Patch by: Ross Burton <ross at burtonini dot com>
17113
17114         * gst/gsterror.c: (_gst_resource_errors_init):
17115         * gst/gsterror.h:
17116           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17117
17118 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17119
17120         * gst/gst.c:
17121         Add a check and output a g_warning when GStreamer is built
17122         against GLib 2.6 but running against 2.8 or higher, and vice 
17123         versa. (Closes: #323542)
17124
17125 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17126
17127         * gst/parse/parse.l:
17128           Commit patch for parse_launch syntax from #331255. Removes 
17129           support for quoted strings and mimetypes when writing filtered 
17130           caps. See the bug report for more details - I'm pretty sure this
17131           obscure feature is not in use by _anyone_ anywhere.
17132
17133           With this simple change, the size of the gstreamer.so here 
17134           drops from 2193KB to 1565KB.
17135
17136 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17137
17138         * plugins/elements/gsttypefindelement.h:
17139         * plugins/elements/gsttypefindelement.c:
17140         (gst_type_find_element_src_event), (start_typefinding),
17141         (stop_typefinding), (gst_type_find_element_handle_event),
17142         (gst_type_find_element_chain),
17143         (gst_type_find_element_chain_do_typefinding):
17144           Use gst_type_find_helper_for_buffer() for chain-based
17145           typefinding.
17146
17147 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17148
17149         * plugins/elements/gsttypefindelement.c:
17150         (gst_type_find_element_class_init),
17151         (gst_type_find_element_set_property),
17152         (gst_type_find_element_get_property):
17153           Deprecate "maximum" property (not only was it only taken into
17154           account for typefinding in push-mode anyway, it also was never
17155           actually possible to set it in the first place because the
17156           property was registered with the numeric property ID for the
17157           "minimum" property). Register "maximum" property correctly,
17158           for the sake of future copy'n'pasters. Remove some cruft
17159           from property get/set functions.
17160
17161 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17162
17163         * plugins/elements/gsttypefindelement.c:
17164         (gst_type_find_element_activate):
17165           Use gst_type_find_helper_get_range() here, so we
17166           can honour the "minimum" property and also emit
17167           the signal with the correct probability of the found caps.
17168
17169 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17170
17171         * docs/libs/gstreamer-libs-sections.txt:
17172         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17173         (helper_find_suggest), (gst_type_find_helper_get_range),
17174         (gst_type_find_helper):
17175         * libs/gst/base/gsttypefindhelper.h:
17176           New API: gst_type_find_helper_get_range() (#333042).
17177
17178 2006-03-02  Michael Smith  <msmith@fluendo.com>
17179
17180         * gst/gstregistryxml.c: (load_feature):
17181           Asserting on a failure to read part of the registry is Not Cool.
17182           Just log a warning and return NULL (which is already handled)
17183
17184 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17185
17186         * win32/common/libgstbase.def:
17187           added export of gst_type_find_helper_for_buffer
17188         * win32/common/libgstbase.def:
17189           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17190           gst_ghost_pad_get_target
17191
17192 2006-02-28  Wim Taymans  <wim@fluendo.com>
17193
17194         * docs/design/draft-klass.txt:
17195         We use Filter now.
17196         Added Connector to mark elements that are only used to
17197         allow pipeline connections.
17198         Moved Debug to extra feature since most of them are 
17199         functionally something else.
17200
17201 2006-02-28  Wim Taymans  <wim@fluendo.com>
17202
17203         * docs/design/draft-klass.txt:
17204         Some updates and clarifications.
17205
17206 2006-02-28  Wim Taymans  <wim@fluendo.com>
17207
17208         * docs/design/draft-klass.txt:
17209         Proposal for klass field values.
17210
17211         * docs/design/part-streams.txt:
17212         Start of a doc describing stream anatomy.
17213
17214 2006-02-28  Wim Taymans  <wim@fluendo.com>
17215
17216         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17217         Help the compiler a bit with type registration.
17218         Use existing forward cod path instead of duplicating it when 
17219         handling a message.
17220         
17221         * gst/gstbus.c: (gst_bus_get_type):
17222         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17223         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17224         * gst/gstclock.c: (gst_clock_get_type):
17225         * gst/gstelement.c: (gst_element_get_type),
17226         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17227         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17228         * gst/gstminiobject.c: (gst_mini_object_get_type):
17229         * gst/gstpad.c: (gst_pad_get_type):
17230         * gst/gstsegment.c: (gst_segment_get_type):
17231         * gst/gststructure.c: (gst_structure_get_type):
17232         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17233         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17234         * gst/gstvalue.c:
17235         Help compiler with type registration.
17236
17237         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17238         Small doc update.
17239
17240 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17241
17242         * plugins/elements/gsttypefindelement.c:
17243         (gst_type_find_element_handle_event):
17244           When we get an EOS event and have not found a type yet
17245           (most likely because we had not yet accumulated
17246           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17247           type given the data we have so far. Fixes typefinding
17248           for very short streams again, most notably quicktime
17249           redirections as used on Apple's trailer site (#331701).
17250
17251 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17252
17253         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17254         (gst_type_find_helper):
17255           Try typefinding factories with the highest rank first.
17256
17257 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17258
17259         * docs/libs/gstreamer-libs-docs.sgml:
17260         * docs/libs/gstreamer-libs-sections.txt:
17261         * libs/gst/base/gsttypefindhelper.c:
17262           Add section for typefind helper and add documentation
17263           for the old and the new function.
17264
17265 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17266
17267         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17268         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17269         (gst_type_find_helper_for_buffer):
17270         * libs/gst/base/gsttypefindhelper.h:
17271           New API: gst_type_find_helper_for_buffer() (#332723).
17272           
17273 2006-02-27  Michael Smith  <msmith@fluendo.com>
17274
17275         Patch by: Loïc Minier
17276
17277         * configure.ac:
17278         * docs/Makefile.am:
17279         * docs/slides/Makefile.am:
17280           prevent CVS directories getting disted.
17281
17282 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17283
17284         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17285           Use the REFCOUNTING category for caps refcounting.
17286           
17287 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17288
17289         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17290           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17291
17292 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17293
17294         * plugins/elements/gsttypefindelement.c:
17295         (gst_type_find_element_activate):
17296           Use gst_pad_check_pull_range() before _activate_pull()
17297           to avoid unnecessary open/close (see #331690).
17298
17299 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17300
17301         * gst/gstutils.c:
17302           Docs enhancement: make it crystal clear what the
17303           gst_pad_add_*_probe() callbacks should look like.
17304
17305 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17306
17307         * libs/gst/base/gstbasesrc.c:
17308           Document how applications can stop recording from
17309           live sources (see #330996).
17310
17311 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17312
17313         * tests/check/Makefile.am:
17314         * tests/check/libs/basesrc.c: (eos_event_counter),
17315         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17316         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17317         (gst_basesrc_suite), (main):
17318           ... and add some tests for the base source EOS stuff.
17319
17320 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17321
17322         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17323           Test case originally showed the problem fixed below,
17324           but was then amended. Add checks back at the place
17325           where they used to be.
17326
17327 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17328
17329         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17330         (gst_base_src_init), (gst_base_src_loop),
17331         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17332         (gst_base_src_change_state):
17333         * libs/gst/base/gstbasesrc.h:
17334           Don't unconditionally send EOS when going from PAUSED to
17335           READY state, esp. make sure we don't send two EOS events
17336           in some cases (e.g. one when reaching EOS and one when
17337           going from PAUSED to READY). Also, we don't want to send
17338           EOS events when operating in pull mode. However, we do
17339           want to send an EOS event when shutting down a live
17340           source explicitly, for example (fixes #330996).
17341           
17342 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17343
17344         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17345           Update src->read_position after a seek when not using mmap.
17346           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17347
17348 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17349
17350         * gst/Makefile.am:
17351         * gst/gstparse.h:
17352         * gst/gstutils.c:
17353         * gst/gstutils.h:
17354         Make things work with --disable-parse as they do with 
17355         --disable-load-save - the symbols involved disappear, but the
17356         header is still installed and GST_DISABLE_PARSE is included via
17357         gstconfig.h
17358
17359 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17360
17361         * libs/gst/base/gstbasetransform.c:
17362         (gst_base_transform_change_state): Fix a stupid bug. I was 
17363         sure I compiled that.
17364
17365 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17366
17367         * gst/gstpad.c: (gst_pad_set_blocked_async):
17368         * gst/gstutils.c: (gst_pad_add_data_probe),
17369         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17370         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17371         (gst_pad_remove_buffer_probe): Make those function act on the
17372         ghostpad target when it's a ghostpad. (Closes #331727)
17373
17374 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17375
17376         * libs/gst/base/gstbasetransform.c:
17377         (gst_base_transform_change_state): Make basetransform reusable.
17378         (Closes #331898)
17379
17380 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17381
17382         * docs/random/release:
17383         Move the current documentation of how to do a release to the top
17384         of the file.
17385
17386         * gst/gstbin.c: (gst_bin_class_init),
17387         (gst_bin_handle_message_func):
17388         Allow multiple state-recalculation threads. (Closes #328873)
17389
17390 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17391
17392         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17393         * gst/gstpad.c: (gst_pad_set_event_function),
17394         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17395         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17396         2 strings. You can't use the STR_NULL macro on that.
17397
17398 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17399
17400         * gst/gstpad.c: (gst_pad_set_event_function),
17401         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17402         (gst_pad_set_getcaps_function)
17403         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17404           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17405           So now, we can use --gst-debug-level=5 on Windows
17406         * win32/common/libgstcontroller.def:
17407           Added export of gst_controller_init
17408         * win32/vs6/libgstcontroller.dsp:
17409           Fixed Release post build configuration
17410
17411 2006-02-17  Wim Taymans  <wim@fluendo.com>
17412
17413         * tests/check/gst/gstquery.c: (GST_START_TEST):
17414         Added another check.
17415
17416 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17417
17418         * plugins/elements/gsttypefindelement.c: (find_peek):
17419           We can do peeks at non-zero offsets, as long as they
17420           fall within the buffer we have.
17421
17422 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17423
17424         * tests/check/Makefile.am:
17425         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17426         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17427         (parse_suite), (main):
17428           Add testsuite for parse launch syntax
17429
17430 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17431
17432         * plugins/elements/gsttypefindelement.c:
17433         (gst_type_find_element_chain):
17434           When typefinding is unsuccessful in the chain function, don't
17435           error out immediately. Only error out with NO_CAPS_FOUND if
17436           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17437           otherwise simply wait for more data so we can try typefinding
17438           again with more data later. Also, don't attempt to typefind
17439           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17440           this should improve typefinding from network sources where the
17441           size of the first buffer can be somewhat random.
17442
17443 2006-02-14  Wim Taymans  <wim@fluendo.com>
17444
17445         * docs/gst/gstreamer-sections.txt:
17446         * gst/gstpadtemplate.c:
17447         * gst/gstpadtemplate.h:
17448         Fix padtemplate docs, fixes #328805.
17449
17450 2006-02-14  Wim Taymans  <wim@fluendo.com>
17451
17452         * tools/gst-launch.c: (main):
17453         NO_PREROLL is not an ERROR so don't send confusing messages
17454         to the user.
17455
17456 2006-02-14  Wim Taymans  <wim@fluendo.com>
17457
17458         Patch by: Torsten Schoenfeld
17459
17460         * gst/gstregistry.c: (gst_registry_get_default),
17461         (_gst_registry_cleanup):
17462         Protect default registry with lock and ref/sink it.
17463         Fixes #324818
17464
17465 2006-02-14  Wim Taymans  <wim@fluendo.com>
17466
17467         * gst/gstbuffer.c:
17468         * gst/gstquery.c: (gst_query_list_add_format),
17469         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17470         (gst_query_parse_formats_nth):
17471         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17472         Docs fixes.
17473
17474 2006-02-14  Wim Taymans  <wim@fluendo.com>
17475
17476         * docs/gst/gstreamer-sections.txt:
17477         Reworked query docs.
17478
17479         * gst/gstquery.c: (gst_query_new_formats),
17480         (gst_query_list_add_format), (gst_query_set_formats),
17481         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17482         (gst_query_parse_formats_nth):
17483         * gst/gstquery.h:
17484         Flesh out formats query, added some new methods.
17485         Fix part of #324398.
17486
17487         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17488         Added query creation tests.
17489
17490 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17491
17492         * gst/gstpad.c: (fixate_value):
17493         Add a default fixation for fraction lists.
17494
17495 2006-02-13  Wim Taymans  <wim@fluendo.com>
17496
17497         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17498         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17499         (gst_task_join):
17500         * gst/gsttask.h:
17501         Detect and warn for obvious deadlocks. fixes #320340
17502         Fix error case where lock was not released.
17503
17504         * tests/check/Makefile.am:
17505         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17506         (task_func), (gst_element_suite), (main):
17507         Add task check.
17508
17509 2006-02-13  Wim Taymans  <wim@fluendo.com>
17510
17511         * docs/gst/gstreamer-sections.txt:
17512         * gst/gstbus.c:
17513         Add new functions to docs.
17514
17515 2006-02-13  Wim Taymans  <wim@fluendo.com>
17516
17517         * docs/design/part-TODO.txt:
17518         Updated TODO list, basesrc supports seeking to non-bytes
17519         formats.
17520
17521         * docs/design/part-element-sink.txt:
17522         Update docs.
17523
17524         * gst/gstbin.c: (bin_replace_message),
17525         (gst_bin_handle_message_func):
17526         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17527         * gst/gstevent.c: (gst_event_finalize):
17528         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17529         (gst_pad_send_event):
17530         Use shiny new _TYPE_NAME macros.
17531
17532         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17533         Move debug statement up.
17534
17535         * gst/gstelement.c: (gst_element_set_locked_state):
17536         Add some debugging.
17537
17538 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17539
17540         * docs/gst/gstreamer-sections.txt:
17541         * gst/gstmessage.h:
17542         * gst/gstquery.h:
17543           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17544           macros (#330906). Also, document the already existing
17545           GST_QUERY_TYPE macro.
17546
17547 2006-02-13  Wim Taymans  <wim@fluendo.com>
17548
17549         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17550         (event_probe), (GST_START_TEST):
17551         Only events up to the pipeline EOS are counted, there are
17552         some more when going to NULL currently which we don't care
17553         about for now.
17554
17555 2006-02-13  Wim Taymans  <wim@fluendo.com>
17556
17557         * gst/gstpad.c: (gst_pad_send_event):
17558         Correctly check flushing and emit probes. fixes #330125
17559
17560 2006-02-10  Andy Wingo  <wingo@pobox.com>
17561
17562         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17563         structure.
17564         (gst_bus_init): Cache the location of the private data in the
17565         instance structure.
17566         (gst_bus_enable_sync_message_emission) 
17567         (gst_bus_disable_sync_message_emission): Implement new public
17568         functions.
17569         (gst_bus_post): Emit the sync-message signal if the user asked for
17570         it. Fixes #330684.
17571
17572         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17573         location of the bus-private structure.
17574         (gst_bus_enable_sync_message_emission)
17575         (gst_bus_disable_sync_message_emission): API addition
17576
17577 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17578
17579         Patch by: Vincent Torri
17580
17581         * docs/pwg/building-boiler.xml:
17582         PWG patch from #326800
17583
17584 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17585
17586         * configure.ac:
17587         * docs/Makefile.am:
17588         * docs/design/Makefile.am:
17589           Dist design docs.
17590
17591 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17592
17593         * configure.ac:
17594           back to CVS
17595
17596 === release 0.10.3 ===
17597
17598 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17599
17600         * configure.ac:
17601           releasing 0.10.3, "Like a virgin"
17602
17603 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17604
17605         * configure.ac:
17606           2nd prerelease of 0.10.3
17607           Bump libtool versioning.
17608
17609 2006-02-07  Andy Wingo  <wingo@pobox.com>
17610
17611         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17612         update last_stop if we're in TIME format and the timestamp is
17613         valid.
17614
17615         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17616         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17617         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17618         If we get a new newsegment with a different format, adapt
17619         accordingly.
17620
17621         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17622         of 0. Not a problem, really.
17623
17624         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17625         warn if sync=true.
17626
17627 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17628
17629         * configure.ac:
17630           Prelease of 0.10.3
17631
17632 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17633
17634         * win32/vs7:
17635           project files updated to the default vs7 configuration
17636         * win32/common/libgstbase.def:
17637         * win32/common/libgstreamer.def:
17638           added new symbols,
17639           removed empty lines,
17640           sorted all exported symbols alphabetically
17641         * win32/common/dirent.c:
17642         * win32/common/dirent.h:
17643         * win32/common/gchar.h:
17644           use windows line end.
17645           
17646 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17647
17648         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17649           Send EOS event when stopping.
17650
17651 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17652
17653         * docs/README:
17654           Tell folks what to do if the plugin-foobar.xml file
17655           hasn't been generated for a newly-added plugin.
17656
17657 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17658
17659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17660         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17661         (gst_collect_pads_start), (gst_collect_pads_stop),
17662         (gst_collect_pads_event): Collectpads now holds a reference
17663         to the GstPad that was added. Indeed we don't want to look
17664         at pads that might just go away with no warning...
17665
17666 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17667
17668         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17669         (gst_collect_pads_start), (gst_collect_pads_stop),
17670         (gst_collect_pads_event), (gst_collect_pads_chain):
17671         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17672         Mark Nauwelaerts's patch on bug #328491.
17673
17674 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17675
17676         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17677         (gst_utils_suite):
17678           Add some simple tests for gst_parse_bin_from_description() and
17679           gst_bin_find_unconnected_pad() (#329069).
17680
17681 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17682
17683         * tools/gst-launch.c: (event_loop), (main):
17684           Catch errors during preroll (#320084).
17685
17686 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17687
17688         * plugins/elements/gsttypefindelement.c:
17689         (gst_type_find_element_activate):
17690           Post TYPE_NOT_FOUND error message when typefinding
17691           is unsuccessful in the activate function as well.
17692
17693 2006-02-02  Wim Taymans  <wim@fluendo.com>
17694
17695         * docs/design/part-element-sink.txt:
17696         Updated doc.
17697
17698 2006-02-02  Wim Taymans  <wim@fluendo.com>
17699
17700         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17701         (gst_base_sink_render_object),
17702         (gst_base_sink_queue_object_unlocked):
17703         Only keep track of prerollable items when we are 
17704         prerolling.
17705         Before rendering after preroll, always check if we
17706         have queued items.
17707         Added some more debugging.
17708
17709 2006-02-02  Wim Taymans  <wim@fluendo.com>
17710
17711         * gst/gstelement.c: (gst_element_continue_state),
17712         (gst_element_set_state_func), (gst_element_change_state):
17713         Fixed #326576, been running this for quite some time with
17714         no regressions at all.
17715
17716 2006-02-02  Wim Taymans  <wim@fluendo.com>
17717
17718         * common/gst.supp:
17719         Added more suppressions
17720
17721 2006-02-02  Wim Taymans  <wim@fluendo.com>
17722
17723         * docs/design/part-element-sink.txt:
17724         Updated document.
17725
17726         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17727         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17728         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17729         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17730         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17731         (gst_base_sink_preroll_object),
17732         (gst_base_sink_queue_object_unlocked),
17733         (gst_base_sink_queue_object), (gst_base_sink_event),
17734         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17735         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17736         (gst_base_sink_get_position), (gst_base_sink_change_state):
17737         * libs/gst/base/gstbasesink.h:
17738         Totally refactored matching the design doc.
17739         Use two segments, one to clip incomming buffers and another to
17740         perform sync.
17741         Handle queueing correctly, bypass the queue when playing.
17742         Make EOS cancelable.
17743         Handle errors correctly when operating in pull based mode.
17744
17745         * tests/check/elements/fakesink.c: (GST_START_TEST),
17746         (fakesink_suite):
17747         Added new check for sinks.
17748
17749 2006-02-02  Wim Taymans  <wim@fluendo.com>
17750
17751         * gst/gstsegment.c: (gst_segment_clip):
17752         No reason to refuse to clip when start == -1
17753
17754 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17755
17756         * docs/README:
17757         * docs/manual/intro-basics.xml:
17758         * docs/manual/intro-preface.xml:
17759         * docs/manual/manual.xml:
17760         * docs/pwg/advanced-dparams.xml:
17761         * docs/pwg/intro-basics.xml:
17762         * docs/pwg/intro-preface.xml:
17763         * docs/pwg/pwg.xml:
17764           describe dparams (controller) for plugins
17765           unify docs a little more
17766
17767 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17768
17769         * docs/gst/gstreamer-sections.txt:
17770         * gst/gstutils.c: (element_find_unconnected_pad),
17771         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17772         * gst/gstutils.h:
17773           Add new API: gst_parse_bin_from_description() and
17774           gst_bin_find_unconnected_pad() (#329069).
17775
17776 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17777
17778         * docs/manual/README:
17779           uncover a nasty detail of the docs build
17780
17781 2006-01-31  Wim Taymans  <wim@fluendo.com>
17782
17783         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17784         Don't cache duration messages if we're not going to use or
17785         free them.
17786
17787 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17788
17789         * docs/manual/advanced-dparams.xml:
17790         * docs/pwg/advanced-dparams.xml:
17791           more dparam docs
17792         * gst/gstindex.c:
17793           fix docs
17794         * libs/gst/controller/lib.c: (gst_controller_init):
17795           init just once
17796
17797 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17798
17799         * gst/gstelement.c: (gst_element_message_full):
17800           also show file/line/func if no additional debug was given
17801
17802 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17803         
17804         * win32/vs7/grammar.vcproj:
17805           activate copy of autogenerated files for Release mode
17806
17807 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17808         
17809         * win32/common/libgstreamer.def:
17810           export gst_value_compare
17811
17812 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17813
17814         * plugins/elements/Makefile.am:
17815         * plugins/elements/gstelements.c:
17816         * plugins/elements/gstfdsink.c: (_do_init),
17817         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17818         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17819         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17820         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17821         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17822         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17823         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17824         * plugins/elements/gstfdsink.h:
17825         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17826
17827 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17828
17829         * docs/manual/advanced-dparams.xml:
17830           describe controller
17831         * docs/manual/advanced-position.xml:
17832         * docs/manual/basics-init.xml:
17833         * docs/manual/manual.xml:
17834         * docs/manual/titlepage.xml:
17835         * docs/pwg/pwg.xml:
17836         * docs/pwg/titlepage.xml:
17837           cleanup xml (more to come)
17838         * libs/gst/controller/gstcontroller.c:
17839           fix typo
17840
17841 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17842         
17843         * win32/vs6/grammar.dsp:
17844           add autogen of gstmarshal.c,h for Release mode
17845                 
17846 2006-01-30  Wim Taymans  <wim@fluendo.com>
17847
17848         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17849         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17850         (gst_base_sink_handle_object), (gst_base_sink_event),
17851         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17852         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17853         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17854         (gst_base_sink_deactivate), (gst_base_sink_activate),
17855         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17856         (gst_base_sink_query), (gst_base_sink_change_state):
17857         Basesink cleanups, remove some old code.
17858         Handle the case where a subclass can preroll in the render
17859         method (mostly audiosinks).
17860         Handle more events.
17861         Remove some locks around variables that are now protected
17862         with the PREROLL_LOCK (clock_id, flushing, ..).
17863         Optimize position query some more, do correct locking.
17864         Remove old code to push queue in state change, this is not
17865         needed anymore since preroll blocks on all prerollable items 
17866         now.
17867         Almost implemented as described in design doc.
17868
17869 2006-01-30  Wim Taymans  <wim@fluendo.com>
17870
17871         * tests/check/gst/gstbin.c: (GST_START_TEST):
17872         Wait for refcount to settle down before checking.
17873
17874 2006-01-30  Wim Taymans  <wim@fluendo.com>
17875
17876         * docs/design/part-element-sink.txt:
17877         Pseudo code overview of desired sink behaviour regarding
17878         preroll.
17879
17880 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17881         * win32/vs6/grammar.dsp:
17882           fix some bugs in Release mode for autogenerated files
17883                 
17884 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17885         * win32/common/libgstbase.def:
17886         * win32/common/libgstreamer.def:
17887           export some new symbols: gst_base_src_set_format,
17888           gst_iterator_next, gst_structure_set_valist
17889
17890 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17891
17892         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17893         Set pad functions unconditionally. Fixes #329105.
17894
17895 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17896         * win32/vs8:
17897           add vs8 project files created by Sergey Scobich
17898
17899 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17900
17901         * gst/gstutils.c: (gst_element_unlink_pads):
17902         Don't leak pad references.
17903
17904         * tests/check/elements/fakesink.c: (GST_START_TEST):
17905         * tests/check/generic/sinks.c: (GST_START_TEST):
17906         * tests/check/generic/states.c: (GST_START_TEST):
17907         * tests/check/gst/gstbin.c: (GST_START_TEST):
17908         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17909         * tests/check/gst/gstelement.c: (GST_START_TEST):
17910         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17911         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17912         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17913         Fix a bunch of leaks. Make generic/sinks.c
17914         use a bit less cpu by slowing the buffer rate
17915         between fakesrc and fakesink.
17916         
17917 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17918         * gst/gstcaps.c:
17919         * gst/gstelement.c: (gst_element_send_event):
17920         * gst/gstevent.c:
17921         * gst/gstinfo.c:
17922         * gst/gstiterator.c:
17923         * gst/gstiterator.h:
17924         * gst/gstpad.c: (gst_pad_send_event):
17925         * gst/gststructure.c:
17926         * gst/gsturi.c:
17927         * gst/gstutils.c:
17928         * gst/gstvalue.c:
17929         * libs/gst/base/gstadapter.c:
17930           doc fixes, to link to function, just write gst_cool_function(), don't
17931           prefix with '#'
17932
17933 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17934
17935         * plugins/elements/gsttee.c: (gst_tee_do_push),
17936         (gst_tee_handle_buffer):
17937         Always prefer an actual return value from a src
17938         pad in place of NOT_LINKED. This means we return
17939         WRONG_STATE when all src pads are WRONG_STATE
17940         instead of NOT_LINKED.
17941
17942         Lock when replacing the last message to prevent
17943         racing with the get_property method.
17944
17945         Add debug output
17946
17947 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17948
17949         * tests/check/Makefile.am:
17950         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17951         (main):
17952         Add a very simple check that should have caught the memleak I fixed
17953         last night (if not for the slice allocator hiding it)
17954
17955 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17956
17957         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17958         (gst_bin_remove_func), (gst_bin_handle_message_func),
17959         (bin_query_duration_fold), (bin_query_generic_fold):
17960         Clean up references to the clock provider when disposed or when
17961         handling a clock-lost message from it.
17962
17963         Unref sinks when performing a query via gst_iterator_fold, as the
17964         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17965
17966         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17967         (gst_clock_set_master):
17968         Drop our reference to the master clock, if any, when we are disposed.
17969
17970         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17971         Chain up in dispose. 
17972
17973 2006-01-26  Wim Taymans  <wim@fluendo.com>
17974
17975         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17976         Add some debugging.
17977
17978 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17979
17980         * plugins/elements/gsttee.c: (gst_tee_do_push),
17981         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
17982         handles pad being NOT_LINKED or in WRONG_STATE.
17983
17984 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17985
17986         * win32/MANIFEST:
17987           more updating
17988
17989 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17990
17991         * win32/MANIFEST:
17992           remove obsolete entry
17993
17994 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
17995
17996         * docs/gst/gstreamer-sections.txt:
17997         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
17998         (gst_bin_iterate_sources), (gst_bin_send_event):
17999         * gst/gstbin.h:
18000         * gst/gstelement.c: (gst_element_send_event):
18001         * gst/gstevent.c:
18002         * gst/gstpad.c: (gst_pad_send_event):
18003           added code for downstream events, reviewed docs in gstevent.c
18004
18005 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18006
18007         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18008         We only query position using the clock in the playing state.
18009         Query peer in the other cases.
18010         * win32/common/config.h: Updates.
18011
18012 2006-01-24  Wim Taymans  <wim@fluendo.com>
18013
18014         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18015         A clock entry that is scheduled for the exact time of the
18016         clock is still in time.
18017
18018         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18019         (gst_base_sink_do_sync):
18020         Add some more debug info.
18021
18022 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18023
18024         * win32/vs7:
18025           Add new vs7 project files and solution.
18026
18027 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18028
18029         * win32/vs7:
18030           all files removed as they were out-dated.
18031
18032 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18033
18034         * docs/random/release:
18035           update notes
18036         * gst/gstbin.c: (gst_bin_init):
18037         * gst/gstbus.c: (gst_bus_new):
18038         * gst/gstbus.h:
18039         * gst/gstpipeline.c: (gst_pipeline_init):
18040           use gst_bus_new(), improve logging, fix docs
18041         * win32/common/config.h:
18042           update for cvs build
18043
18044 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18045
18046         * autogen.sh:
18047           up required version of automake to 1.7
18048
18049 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18050
18051         * win32/common/libgstreamer.def:
18052           export gst_buffer_is_metadata_writable
18053
18054 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18055
18056         * docs/gst/gstreamer-sections.txt:
18057         * gst/gstevent.h:
18058           Add gst_event_replace() (#327001)
18059
18060 2006-01-20  Wim Taymans  <wim@fluendo.com>
18061
18062         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18063         Make it actually compile too..
18064
18065 2006-01-20  Wim Taymans  <wim@fluendo.com>
18066
18067         * gst/gstcaps.c:
18068         Clarify behaviour of _is_equal() when passing NULL parameters.
18069
18070         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18071         (gst_pad_set_caps):
18072         Cleanups. Don't unref NULL caps.
18073         When setting the same caps, protect caps of the pad with
18074         proper lock.
18075         Use full functionality of _is_equal() when comparing caps.
18076
18077 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18078
18079         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18080         Don't loop infinitely if there are no buffers to present. Partially
18081         fixes #327197, but collectpads is just broken for reusing elements
18082         to do multiple encodes atm.
18083
18084 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18085
18086         * tools/gst-inspect.c: (print_element_features):
18087         * tools/gst-xmlinspect.c: (main):
18088         URL_HANDLER is not a plugin feature we can search for in
18089         the registry.
18090
18091 2006-01-19  Edward Hervey  <edward@fluendo.com>
18092
18093         * gst/gstelement.c: (gst_element_pads_activate): 
18094         When activating, do src pads first, then sink pads.
18095         When de-activating, do sink pads first, then src pads.
18096
18097 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18098
18099         * docs/gst/gstreamer-sections.txt:
18100         Add gst_index_add_associationv to the docs
18101
18102 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18103
18104         * gst/gstevent.c:
18105           Fix docs typo
18106
18107         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18108         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18109           Do some refactoring. Doesn't actually change functionality,
18110           but makes landing the DRAIN event easier later.
18111
18112 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18113
18114         * docs/pwg/advanced-scheduling.xml:
18115           Update from 0.9.x to 0.10 API and make example a bit
18116           clearer.
18117
18118 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18119
18120         * docs/gst/gstreamer-sections.txt:
18121         Add gst_buffer_(is|make)_metadata_writable methods.
18122
18123 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18124
18125         * docs/design/part-sparsestreams.txt:
18126         Update sparse streams doc, hopefully for greater clarity
18127
18128 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18129
18130         * docs/design/part-events.txt:
18131         Remove mention of FILLER events.
18132         Add DRAIN event.
18133
18134         * docs/design/part-sparsestreams.txt:
18135         Write some things about using NEWSEGMENT to keep sparse streams
18136         flowing.
18137
18138 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18139
18140         * gst/gstbin.c: (gst_bin_dispose):
18141           Guard gst_object_unref call against a NULL object (dispose
18142           can theoretically be called multiple times).
18143           
18144 2006-01-18  Wim Taymans  <wim@fluendo.com>
18145
18146         * gst/gstbin.c: (gst_bin_element_set_state):
18147         * gst/gstclock.c: (gst_clock_id_wait):
18148         Added some more debug info.
18149
18150         * libs/gst/base/gstadapter.c:
18151         Added more docs.
18152
18153         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18154         (gst_base_sink_do_sync), (gst_base_sink_chain):
18155         Added some comments.
18156
18157 2006-01-18  Wim Taymans  <wim@fluendo.com>
18158
18159         * tests/check/Makefile.am:
18160         * tests/check/elements/fakesink.c: (chain_async_buffer),
18161         (chain_async), (chain_async_return), (GST_START_TEST),
18162         (fakesink_suite), (main):
18163         Added fakesink test that checks prerolling and clipping
18164         behaviour.
18165
18166         * tests/check/gst/gstutils.c: (GST_START_TEST):
18167         Make check run faster so that buildbots don't timeout.
18168
18169 2006-01-18  Wim Taymans  <wim@fluendo.com>
18170
18171         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18172         (gst_base_sink_do_sync):
18173         Some cleanups.
18174         When the sink finishes blocking on the preroll buffer, it can
18175         immediatly render it instead of rendering when the next buffer
18176         arrives.
18177
18178 2006-01-18  Wim Taymans  <wim@fluendo.com>
18179
18180         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18181         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18182         (gst_base_sink_chain):
18183         Small cleanups.
18184         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18185         Don't store _last_stop if the buffer is dropped.
18186
18187 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18188
18189         * plugins/elements/gsttypefindelement.c:
18190         (gst_type_find_element_class_init):
18191           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18192           object method handler that sets the caps on the pad and we want
18193           that to happen before we emit the signal (fixes e.g. feeding a
18194           plain text file to decodebin).
18195
18196 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18197
18198         * gst/gstplugin.c: Add MPL and Proprietary as license options
18199
18200 2006-01-18  Andy Wingo  <wingo@pobox.com>
18201
18202         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18203         symbol was exported before, it appears this was just an oversight.
18204         Fixes #168703.
18205         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18206
18207         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18208         prototype to gint. OK since this prototype was not in the header.
18209
18210 2006-01-17  Andy Wingo  <wingo@pobox.com>
18211
18212         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18213         registry while we remove plugins.
18214
18215         * tools/gst-inspect.c (print_element_info): Don't unref the
18216         factory arg, that should be the responsibility of whatever code
18217         received the ref. Fixes a double-free when called from
18218         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18219         (main): Unref the factory if we have one.
18220         (print_element_list): No change -- relies on the
18221         plugin_feature_list_free to free the list of features.
18222
18223 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18224
18225         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18226         (gst_buffer_make_metadata_writable):
18227         * gst/gstbuffer.h:
18228         * libs/gst/base/gstbasetransform.c:
18229         (gst_base_transform_prepare_output_buf):
18230         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18231         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18232           Replace gst_buffer_(make|is)_metadata_writable patch now
18233           that the release is out.
18234
18235 2006-01-17  Andy Wingo  <wingo@pobox.com>
18236
18237         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18238         in the present tense without reference to versions.
18239
18240         * gst/gstregistry.c (gst_registry_add_plugin)
18241         (gst_registry_remove_plugin, gst_registry_remove_feature)
18242         (gst_registry_find_feature, gst_registry_get_feature_list)
18243         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18244         (gst_registry_lookup, gst_registry_scan_path)
18245         (_gst_registry_remove_cache_plugins)
18246         (gst_registry_get_feature_list_by_plugin): Add argument
18247         validation.
18248
18249 === release 0.10.2 ===
18250
18251 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18252
18253         * configure.ac:
18254           releasing 0.10.2, "If man is five"
18255
18256 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18257
18258         * gst/gstbuffer.c:
18259         * gst/gstbuffer.h:
18260         * libs/gst/base/gstbasetransform.c:
18261         (gst_base_transform_prepare_output_buf):
18262         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18263         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18264           Back out patch until after the release.
18265
18266 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18267
18268         * gst/gstminiobject.c:
18269           Spelling fix in docs.
18270         * ChangeLog - remove conflict indicator
18271
18272 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18273
18274         Reviewed By: Andy Wingo
18275
18276         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18277         (gst_buffer_make_metadata_writable):
18278         * gst/gstbuffer.h:
18279           Add gst_buffer_(is|make)_metadata_writable as analogues of
18280           gst_buffer_(is|make)_writable.
18281
18282         * libs/gst/base/gstbasetransform.c:
18283         (gst_base_transform_prepare_output_buf):
18284         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18285           Use name gst_buffer_(is|make)_metadata_writable functions.
18286
18287         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18288           Test gst_buffer_(is|make)_metadata_writable
18289         
18290           (Closes: #324162)
18291
18292 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18293
18294         * docs/manual/Makefile.am:
18295           don't do parallel make
18296         * configure.ac:
18297           AC_SUBST HOST_CPU
18298         * win32/common/config.h.in:
18299           add generations for HOST_CPU and GST_MAJORMINOR
18300         * win32/common/config.h:
18301           commit generated result
18302
18303 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18304
18305         * docs/manual/appendix-integration.xml:
18306           Update GNOME integration section to use gst_init_get_option_group()
18307           instead of the old popt stuff (#322911). Also, GNOME applications
18308           should  now use gconf*sink and gconf*src instead of the old gconf
18309           helper lib we had.
18310
18311 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18312
18313
18314         * docs/gst/gstreamer-docs.sgml:
18315         * docs/gst/gstreamer-sections.txt:
18316         * docs/libs/gstreamer-libs-sections.txt:
18317           add new API entries to the docs
18318         * libs/gst/controller/Makefile.am:
18319         * libs/gst/controller/gstcontroller.c:
18320         * libs/gst/controller/gstcontroller.h:
18321         * libs/gst/controller/gstcontrollerprivate.h:
18322         * libs/gst/controller/gsthelper.c:
18323         * libs/gst/controller/gstinterpolation.c:
18324           move private structs to private header
18325         * po/README:
18326           gstreamer-0.7 -> gstreamer-0.10
18327         * tests/check/libs/struct_i386.h:
18328           remove private structs
18329
18330 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18331
18332         * plugins/indexers/Makefile.am:
18333           Fixes as part of #317048
18334
18335 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18336
18337         * plugins/indexers/Makefile.am:
18338           fix #316086 - compilation when mmap is missing
18339
18340 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18341
18342         * libs/gst/base/gstbasesink.c:
18343           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18344           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18345         * win32/common/config.h:
18346           added some defines GST_MAJORMINOR and HOST_CPU
18347         * win32/common/libgstbase.def:
18348         * win32/common/libgstreamer.def:
18349           added some exported functions.
18350
18351 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18352
18353         * libs/gst/controller/gstcontroller.c:
18354         (gst_controlled_property_set_interpolation_mode),
18355         (gst_controlled_property_new):
18356         * libs/gst/controller/gstcontroller.h:
18357         * libs/gst/controller/gstinterpolation.c:
18358         (interpolate_none_get_string_value_array):
18359           make G_TYPE_STRING controlable
18360
18361 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18362
18363         * tools/README:
18364         * tools/gst-feedback.1.in:
18365         * tools/gst-inspect.1.in:
18366         * tools/gst-launch.1.in:
18367         * tools/gst-md5sum.1.in:
18368         * tools/gst-typefind.1.in:
18369         * tools/gst-xmlinspect.1.in:
18370         * tools/gst-xmllaunch.1.in:
18371           cleanup man-pages, remove reference to gst-register, document env-vars
18372
18373 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18374
18375         * gst/gstbuffer.c: (gst_buffer_span):
18376           gst_buffer_span should copy the timestamp of the first buffer
18377           if they were both originally overlapping subbuffers of the 
18378           same parent, using the same logic as the 'slow copy' case.
18379
18380 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18381
18382         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18383           Need to awaken ALL the pads when we pop a buffer, otherwise
18384           collectpads only works when there is 2 input streams.
18385
18386 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18387
18388         * docs/random/ensonic/media-device-daemon.txt:
18389           more ideas (dbus)
18390         * gst/gstbuffer.c:
18391           fix doc example, add clarification
18392         * tools/gst-launch.1.in:
18393           add initial info about GST_PLUGIN_PATH, needs more work
18394
18395 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18396
18397         * docs/manual/basics-bins.xml:
18398         * docs/manual/basics-elements.xml:
18399         * docs/manual/intro-basics.xml:
18400           Some more minor docs additions and updates.
18401
18402 2006-01-11  Wim Taymans  <wim@fluendo.com>
18403
18404         * docs/manual/basics-bins.xml:
18405         * docs/manual/basics-elements.xml:
18406         Some small fixes as pointed out by Ser-ver on IRC.
18407
18408 2006-01-10  Edward Hervey  <edward@fluendo.com>
18409
18410         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18411         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18412         the single-segment mode.
18413
18414 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18415
18416         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18417
18418         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18419         (gst_base_src_perform_seek), (gst_base_src_send_event),
18420         (gst_base_src_set_property), (gst_base_src_get_property),
18421         (gst_base_src_loop), (gst_base_src_start),
18422         (gst_base_src_activate_push):
18423         * libs/gst/base/gstbasesrc.h:
18424           Name (private) union; makes Sun's Forte compiler happy (#324900).
18425
18426 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18427
18428         * README:
18429           gst-register is gone.
18430
18431 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18432
18433         * gst/gstvalue.c: (_gst_value_initialize):
18434           make the G_TYPE_DATE instantiation work if debug is disabled
18435
18436 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18437
18438         * gst/gstmessage.c: (gst_message_parse_tag),
18439         (gst_message_parse_error), (gst_message_parse_warning):
18440           Don't crash when return location for error/warning debug
18441           string is NULL; add fact that return locations can be
18442           NULL to docs where appropriate.
18443
18444 2006-01-05  Wim Taymans  <wim@fluendo.com>
18445
18446         * gst/gstplugin.c: (gst_plugin_load_file):
18447         Replace strdup by g_strdup.
18448
18449 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * docs/pwg/advanced-types.xml:
18452           fix doc borkage
18453
18454 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18455
18456         submitted by: Abel Cheung
18457
18458         * po/LINGUAS:
18459         * po/zh_TW.po:
18460           Added Chinese (traditional) translation
18461
18462 2006-01-04  Wim Taymans  <wim@fluendo.com>
18463
18464         * docs/manual/basics-pads.xml:
18465         * docs/plugins/Makefile.am:
18466         * docs/plugins/gstreamer-plugins-docs.sgml:
18467         * docs/plugins/gstreamer-plugins-sections.txt:
18468         * docs/pwg/advanced-clock.xml:
18469         * docs/pwg/advanced-scheduling.xml:
18470         * docs/pwg/advanced-types.xml:
18471         * plugins/elements/gstfdsink.c:
18472         * plugins/elements/gstfdsrc.c:
18473         * plugins/elements/gstfdsrc.h:
18474         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18475         * plugins/elements/gstidentity.h:
18476         * plugins/elements/gstqueue.h:
18477         * plugins/elements/gsttee.c:
18478         * plugins/elements/gsttee.h:
18479         * plugins/elements/gsttypefindelement.c:
18480         (gst_type_find_element_class_init):
18481         * plugins/elements/gsttypefindelement.h:
18482         Small updates to various docs.
18483         Added core plugins to docs.
18484
18485 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18486
18487         * common/gst.supp:
18488           add a suppression for liboil's uninitialized variable
18489
18490 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18491
18492         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18493
18494         * gst/gstutils.h:
18495           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18496           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18497           compiler switch is being used (#325429).
18498
18499 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18500
18501         * gst/gstbin.c: (gst_bin_query):
18502           Disable duration query caching in bins until it gets
18503           fixed (see #324807).
18504
18505 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18506
18507         * tools/gst-inspect.c: (print_element_properties_info):
18508           Handle properties of POINTER and BOXED type.
18509
18510 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18511
18512         * gst/gst.c: (init_post):
18513           Init tags stuff and some other things before loading
18514           any static plugins (there may be other static plugins
18515           than just the GStreamer ones, and they may want to
18516           register their own tags or formats or whatever, and
18517           preferably without segfaulting).
18518
18519         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18520           Print at least a warning in the debug logs if we drop a
18521           query just because we don't know how to adjust the value
18522           in the particular format.
18523
18524 2005-12-24  David Schleef  <ds@schleef.org>
18525
18526         * tools/gstreamer-completion:
18527           Replacement for gst-complete written in sh and sed.  Only
18528           completes names of features, but that's 90% of what I want
18529           it for.  Properties are not available in registry.xml.  (Maybe
18530           they should be...)
18531
18532 === release 0.10.1 ===
18533
18534 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18535
18536         * configure.ac:
18537           releasing 0.10.1, "Nollaig chridheil"
18538
18539 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18540
18541         * docs/faq/cvs.xml:
18542           Add missing quote, should be make ERROR_CFLAGS="".
18543
18544 2005-12-20  Wim Taymans  <wim@fluendo.com>
18545
18546         * docs/design/part-trickmodes.txt:
18547         More documentation on trickmodes.
18548
18549 2005-12-20  Edward Hervey  <edward@fluendo.com>
18550
18551         * gst/gstcaps.c: (gst_static_caps_get_type):
18552         * gst/gstcaps.h:
18553           API addition: GST_TYPE_STATIC_CAPS
18554         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18555         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18556         * gst/gstpadtemplate.h:
18557           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18558         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18559         bindings.
18560
18561 2005-12-18  Wim Taymans  <wim@fluendo.com>
18562
18563         * libs/gst/base/gstadapter.c:
18564         * libs/gst/base/gstadapter.h:
18565         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18566         (gst_base_sink_get_position):
18567         * libs/gst/base/gstbasesink.h:
18568         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18569         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18570         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18571         (gst_base_src_send_event), (gst_base_src_update_length),
18572         (gst_base_src_get_range), (gst_base_src_loop),
18573         (gst_base_src_start):
18574         * libs/gst/base/gstbasesrc.h:
18575         * libs/gst/base/gstbasetransform.h:
18576         * libs/gst/base/gstcollectpads.h:
18577         * libs/gst/base/gstpushsrc.c:
18578         * libs/gst/base/gstpushsrc.h:
18579         * libs/gst/dataprotocol/dataprotocol.c:
18580         * libs/gst/dataprotocol/dataprotocol.h:
18581         * libs/gst/net/gstnetclientclock.h:
18582         * libs/gst/net/gstnettimeprovider.h:
18583         Documentation updates.
18584
18585 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18586
18587         * docs/manual/basics-helloworld.xml:
18588           Remove superfluous closing bracket in helloworld example.
18589
18590 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18591
18592         * tools/gst-launch.1.in:
18593           Update gst-launch man page; add a section with useful
18594           environment variables. Fixes #323882.
18595
18596 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18597
18598         * gst/gst.c:
18599         * gst/gst_private.h:
18600           change some char* into char[]
18601
18602 2005-12-16  Wim Taymans  <wim@fluendo.com>
18603
18604         * gst/gstregistryxml.c: (load_feature):
18605         Cleanups.
18606         Don't use g_object_unref on GstObjects so that we avoid
18607         leaks on unsafe glibs.
18608
18609 2005-12-16  Wim Taymans  <wim@fluendo.com>
18610
18611         * gst/gstbin.c: (gst_bin_recalc_state):
18612         Small doc updates.
18613
18614 2005-12-16  Wim Taymans  <wim@fluendo.com>
18615
18616         * common/check.mak:
18617         Added make forever target for check.
18618
18619 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18620
18621         * gst/gst.c: (init_post):
18622           make the registry cache file HOST_CPU-dependent
18623
18624 2005-12-16  Andy Wingo  <wingo@pobox.com>
18625
18626         * plugins/elements/gstbufferstore.c
18627         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18628         return value.
18629
18630         * tests/check/gst/gstobject.c
18631         (test_fake_object_name_threaded_unique): Pay attention to
18632         g_list_sort return value.
18633
18634 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18635
18636         * tools/gst-feedback-m.m:
18637           Update for 0.9/0.10 (fixes #323870).
18638
18639 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18640
18641         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18642           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18643           
18644         * tests/check/gst/gstminiobject.c: (my_foo_init),
18645         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18646         (test_value_collection), (gst_mini_object_suite):
18647           Add test to ensure refcounts end up as expected when passing
18648           GstMiniObjects through g_object_get() and g_object_set().
18649
18650 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18651
18652         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18653         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18654         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18655         of collectpads. This version removes a lot of races without
18656         touching API/ABI. Yay !
18657
18658 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18659
18660         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18661           Don't allow activation of a srcpad in pull_range if it has no
18662           getrange function.
18663           Change some debug statements to be a little clearer
18664
18665         * plugins/elements/gsttypefindelement.c:
18666         (gst_type_find_handle_src_query):
18667           Check that we have a peer before executing queries thereupon.
18668
18669         * tests/examples/metadata/read-metadata.c: (message_loop):
18670           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18671           immediately return us any available message with 0 timeout.
18672
18673 2005-12-12  Michael Smith  <msmith@fluendo.com>
18674
18675         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18676           Don't unref factories after calling them.
18677         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18678         * plugins/elements/gsttypefindelement.c:
18679         (gst_type_find_element_chain):
18680           Free lists of factories after using them. Fixing typefinding memory
18681           leaks.
18682
18683 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18684
18685         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18686         (gst_plugin_feature_load):
18687           more meaningful debug output
18688         * configure.ac:
18689         * tests/Makefile.am:
18690         * tests/old/examples/Makefile.am:
18691           make make distcheck happy again
18692
18693 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18694
18695         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18696           Catch the special case where we are operating chain-based,
18697           but the downstream peer pad has no chain function. Emit a
18698           custom error message in this case instead of letting the
18699           core generate one implying that this is some sort of core
18700           bug. It's not, it just means that whatever got plugged
18701           into the pipeline downstream when we announced the type
18702           can only operate pull-based, while our source can only
18703           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18704           Error string has not been marked for translation yet, as
18705           it probably needs some more work first.
18706
18707         (gst_type_find_element_get_best_possibility):
18708           Add helper function to find the best of all available
18709           found possibilities that qualify given the min. threshold.
18710
18711         (gst_type_find_element_handle_event):
18712           Fix the case where we get an EOS while still in TYPEFIND
18713           mode (we want to chose the best of all possible types,
18714           not just the first type that happens to be in our unsorted
18715           list of possible types).
18716
18717         (gst_type_find_element_chain):
18718           Make sure we return GST_FLOW_ERROR when we errored out
18719           in stop_typefinding(); also, don't just find the best of
18720           all found type entries and then use the last examined
18721           type entry, but actually use the best entry.
18722
18723 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18724
18725         * tests/examples/typefind/typefind.c: (type_found):
18726         * tests/examples/xml/runxml.c: (xml_loaded):
18727           More gcc4 fixes and a mem leak fix.
18728
18729 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18730
18731         * tests/examples/xml/createxml.c: (object_saved):
18732           gcc 4 fixes
18733
18734 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18735
18736         * tests/Makefile.am:
18737           enable the examples even more
18738
18739 2005-12-12  Andy Wingo  <wingo@pobox.com>
18740
18741         * libs/gst/net/gstnettimeprovider.c
18742         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18743         (gst_net_time_provider_set_property)
18744         (gst_net_time_provider_get_property):
18745         API addition: Export "active" as a GObject property.
18746         (gst_net_time_provider_thread): Only respond to time queries if
18747         the time provider is active.
18748
18749         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18750         NetTimeProvider, preserving binary compat.
18751
18752 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18753
18754         * tests/examples/controller/audio-example.c: (main):
18755         * tests/examples/launch/Makefile.am:
18756           convert comments again
18757
18758 2005-12-12  Wim Taymans  <wim@fluendo.com>
18759
18760         * libs/gst/base/gstpushsrc.c:
18761         Fix typo.
18762
18763 2005-12-12  Wim Taymans  <wim@fluendo.com>
18764
18765         * docs/libs/gstreamer-libs-sections.txt:
18766         Added new symbol to docs.
18767
18768         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18769         (gst_base_src_init), (gst_base_src_set_format),
18770         (gst_base_src_default_query), (gst_base_src_query),
18771         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18772         (gst_base_src_perform_seek), (gst_base_src_send_event),
18773         (gst_base_src_default_event), (gst_base_src_event_handler),
18774         (gst_base_src_set_property), (gst_base_src_get_property),
18775         (gst_base_src_wait), (gst_base_src_do_sync),
18776         (gst_base_src_update_length), (gst_base_src_get_range),
18777         (gst_base_src_check_get_range), (gst_base_src_loop),
18778         (gst_base_src_default_negotiate), (gst_base_src_start),
18779         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18780         (gst_base_src_change_state):
18781         * libs/gst/base/gstbasesrc.h:
18782         Implement seeking to other formats than _BYTES.
18783         Implement more seeking methods correctly.
18784         Doc updates.
18785         Added query vmethod.
18786         Added do_seek vmethod to make life easier for subclasses
18787         when seeking.
18788         API addition: gst_base_src_set_format()
18789
18790 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18791
18792         * tests/examples/Makefile.am:
18793           added that too
18794
18795 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18796
18797         * configure.ac:
18798         * docs/random/ensonic/media-device-daemon.txt:
18799         * tests/examples/controller/.cvsignore:
18800         * tests/examples/controller/Makefile.am:
18801         * tests/examples/controller/audio-example.c: (main):
18802         * tests/examples/helloworld/.cvsignore:
18803         * tests/examples/helloworld/Makefile.am:
18804         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18805         * tests/examples/launch/.cvsignore:
18806         * tests/examples/launch/Makefile.am:
18807         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18808         * tests/examples/metadata/.cvsignore:
18809         * tests/examples/metadata/Makefile.am:
18810         * tests/examples/metadata/read-metadata.c: (message_loop),
18811         (make_pipeline), (print_tag), (main):
18812         * tests/examples/queue/.cvsignore:
18813         * tests/examples/queue/Makefile.am:
18814         * tests/examples/queue/queue.c: (event_loop), (main):
18815         * tests/examples/typefind/.cvsignore:
18816         * tests/examples/typefind/Makefile.am:
18817         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18818         (main):
18819         * tests/examples/xml/.cvsignore:
18820         * tests/examples/xml/Makefile.am:
18821         * tests/examples/xml/createxml.c: (object_saved), (main):
18822         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18823         * tests/old/examples/Makefile.am:
18824         * tests/old/examples/TODO:
18825         * tests/old/examples/controller/.cvsignore:
18826         * tests/old/examples/controller/Makefile.am:
18827         * tests/old/examples/controller/audio-example.c:
18828         * tests/old/examples/helloworld/.cvsignore:
18829         * tests/old/examples/helloworld/Makefile.am:
18830         * tests/old/examples/helloworld/helloworld.c:
18831         * tests/old/examples/launch/.cvsignore:
18832         * tests/old/examples/launch/Makefile.am:
18833         * tests/old/examples/launch/mp3parselaunch.c:
18834         * tests/old/examples/launch/mp3play:
18835         * tests/old/examples/manual/Makefile.am:
18836         * tests/old/examples/metadata/Makefile.am:
18837         * tests/old/examples/metadata/read-metadata.c:
18838         * tests/old/examples/queue/.cvsignore:
18839         * tests/old/examples/queue/Makefile.am:
18840         * tests/old/examples/queue/queue.c:
18841         * tests/old/examples/typefind/.cvsignore:
18842         * tests/old/examples/typefind/Makefile.am:
18843         * tests/old/examples/typefind/typefind.c:
18844         * tests/old/examples/xml/.cvsignore:
18845         * tests/old/examples/xml/Makefile.am:
18846         * tests/old/examples/xml/createxml.c:
18847         * tests/old/examples/xml/runxml.c:
18848           applied some simple fixing to some examples
18849           re-enabled the working examples
18850
18851 2005-12-12  Wim Taymans  <wim@fluendo.com>
18852
18853         * gst/gstsegment.c: (gst_segment_init),
18854         (gst_segment_set_last_stop), (gst_segment_set_seek),
18855         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18856         (gst_segment_to_running_time):
18857         Added more documentation.
18858         Make sure the last_pos value is updated properly.
18859         Make sure to_stream_time and to_running_time don't
18860         operate on wrong values.
18861
18862         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18863         Update check.
18864
18865 2005-12-12  Michael Smith  <msmith@fluendo.com>
18866
18867         * plugins/elements/gsttypefindelement.c: (free_entry),
18868         (gst_type_find_element_chain):
18869           Now that we're not leaking factories, make sure we keep references
18870           to them while we need them.
18871
18872 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18873
18874         * tests/check/gst/struct_i386.h:
18875           ifdef out the XML structs
18876
18877 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18878
18879         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18880           floor is not needed, F is always positive; this obviates the
18881           need for adding -lm when building without libxml
18882
18883 2005-12-12  Wim Taymans  <wim@fluendo.com>
18884
18885         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18886         Take current playback rate into account when reporting
18887         the position.
18888
18889 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18890
18891         * docs/manual/mime-world.fig:
18892           Let's try this again, this time with a file that is
18893           actually in XFig format.
18894
18895 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18896
18897         * docs/manual/mime-world.fig:
18898           Add audioconvert element to diagram so that it
18899           matches the text and the code (fixes #319526).
18900
18901 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18902
18903         * docs/pwg/building-chainfn.xml:
18904         * docs/pwg/building-pads.xml:
18905         * docs/pwg/building-state.xml:
18906         * docs/pwg/other-source.xml:
18907           Update state change stuff for 0.10 (fixes #322969).
18908
18909 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18910
18911         * docs/manual/advanced-dataaccess.xml:
18912         * docs/manual/appendix-checklist.xml:
18913         * docs/manual/appendix-programs.xml:
18914         * docs/manual/basics-pads.xml:
18915         * docs/manual/highlevel-components.xml:
18916         * docs/manual/manual.xml:
18917           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18918           add converters in front of pipelines; remove curly
18919           brackets for threads stuff, they no longer exist; use
18920           GST_TYPE_FRACTION for framerates; update some pieces of
18921           code to 0.10, but there's plenty more to do.
18922
18923         * docs/manual/appendix-porting.xml:
18924           Expand on asynchroneous state changes; s/0.9/0.10/;
18925           mention disappearance of gst_init_get_popt_table()
18926           (fixes #322916).
18927
18928 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18929
18930         * docs/faq/using.xml:
18931           Spider no longer exists, and neither does gst-launch-ext.
18932           Update examples to use decodebin and playbin and put
18933           converters in front of sinks (fixes #323726).
18934
18935 2005-12-09  Michael Smith  <msmith@fluendo.com>
18936
18937         * plugins/elements/gsttypefindelement.c: (find_peek),
18938         (gst_type_find_element_chain):
18939           Fix leaking element factories in typefinding.
18940           Fix problem where we forgot about a probable type on non-seekable
18941           files, and thus later mis-typefound it.
18942
18943 2005-12-09  Michael Smith  <msmith@fluendo.com>
18944
18945         * common/m4/gst-makecontext.m4:
18946         * common/m4/gst-mcsc.m4:
18947         * configure.ac:
18948         * win32/common/config.h:
18949         * win32/common/config.h.in:
18950           Remove makecontext stuff; not used in 0.10 and causes problems on
18951           HPUX according to bug #322441
18952
18953 2005-12-07  Wim Taymans  <wim@fluendo.com>
18954
18955         * tests/check/Makefile.am:
18956         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18957         (main):
18958         * tests/check/libs/struct_i386.h:
18959         Added ABI check for libs
18960
18961 2005-12-07  Wim Taymans  <wim@fluendo.com>
18962
18963         * tests/check/Makefile.am:
18964         And add the struct_i386.h to dist.
18965
18966 2005-12-07  Wim Taymans  <wim@fluendo.com>
18967
18968         * tests/check/Makefile.am:
18969         * tests/check/gst/.cvsignore:
18970         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18971         (main):
18972         * tests/check/gst/struct_i386.h:
18973         Added check for ABI compatibility.
18974
18975 2005-12-07  Wim Taymans  <wim@fluendo.com>
18976
18977         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18978         (gst_fake_src_get_times), (gst_fake_src_create):
18979         Fix broken sync option, fixes #323259
18980
18981 2005-12-07  Wim Taymans  <wim@fluendo.com>
18982
18983         * gst/gstbuffer.c:
18984         Small docs update.
18985
18986         * gst/gstcaps.c: (gst_caps_is_equal):
18987         Don't assert on NULL <--> X. Fixes #323260
18988
18989         * gst/gstminiobject.c: (gst_mini_object_replace):
18990         If we're doing atomic operations, we might just as well use
18991         the proper way to get an atomic pointer.
18992
18993         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18994         Clean up debugging.
18995
18996 2005-12-07  Michael Smith  <msmith@fluendo.com>
18997
18998         * gst/parse/grammar.y:
18999           Remove handling of { } for threads.
19000
19001 2005-12-06  David Schleef  <ds@schleef.org>
19002
19003         * libs/gst/base/gstbasetransform.c: speling fix.
19004
19005 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * docs/libs/tmpl/gstdataprotocol.sgml:
19008         * docs/random/omega/testing/gstobject.c:
19009         * gst/gst.c:
19010         * gst/gstclock.c:
19011         * gst/gstelement.c:
19012         * gst/gstelementfactory.c:
19013         * gst/gsterror.c:
19014         * gst/gstevent.c:
19015         * gst/gstghostpad.c:
19016         * gst/gstinfo.c:
19017         * gst/gstpadtemplate.c:
19018         * gst/gstregistryxml.c:
19019         * gst/gsttaglist.c:
19020         * gst/gsttagsetter.c:
19021         * gst/gsttypefind.c:
19022         * gst/gstvalue.c:
19023         * libs/gst/base/gstbasesrc.c:
19024         * libs/gst/net/gstnetclientclock.c:
19025         * libs/gst/net/gstnettimeprovider.c:
19026         * plugins/elements/gstfakesrc.c:
19027         * plugins/elements/gstfdsrc.c:
19028         * plugins/elements/gstfilesrc.c:
19029         * plugins/elements/gstidentity.c:
19030         * plugins/elements/gstqueue.c:
19031         * plugins/elements/gsttypefindelement.c:
19032         * plugins/indexers/gstfileindex.c:
19033         * plugins/indexers/gstmemindex.c:
19034         * tests/check/gst/gsttag.c:
19035         * tests/old/examples/cutter/cutter.c:
19036         * tests/old/examples/mixer/mixer.c:
19037         * tests/old/examples/xml/runxml.c: (main):
19038         * tests/old/testsuite/caps/normalisation.c:
19039         * tests/old/testsuite/debug/global.c:
19040         * tests/old/testsuite/parse/parse1.c:
19041         * tools/gst-xmlinspect.c:
19042         * win32/common/dirent.c:
19043           expand tabs
19044
19045 === release 0.10.0 ===
19046
19047 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19048
19049         * configure.ac:
19050           releasing 0.10.0, "Maroilles"
19051
19052 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19053
19054         submitted by: Funda Wang <fundawang@linux.net.cn>
19055
19056         * po/LINGUAS:
19057         * po/zh_CN.po:
19058           added Chinese (Traditional) translation
19059
19060 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19061
19062         * docs/gst/gstreamer-sections.txt:
19063         * docs/libs/tmpl/gstdataprotocol.sgml:
19064         * docs/random/thomasvs/TODO:
19065         * gst/gstutils.c:
19066         * gst/gstutils.h:
19067           fix docs
19068
19069 2005-12-05  Andy Wingo  <wingo@pobox.com>
19070
19071         patch by: Wim Taymans <wim@fluendo.com>
19072
19073         * libs/gst/base/gstbasetransform.c
19074         (gst_base_transform_prepare_output_buf)
19075         (gst_base_transform_buffer_alloc):
19076         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19077         alloc_buffer_and_set_caps.
19078
19079         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19080         set_caps on the source pad.
19081         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19082         alloc_buffer used to do. Fixes #322874.
19083
19084         * docs/gst/gstreamer-sections.txt: 
19085         * docs/design/part-negotiation.txt: 
19086         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19087         changes.
19088
19089 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19090
19091         patch by: Sebastien Moutte
19092
19093         * win32/MANIFEST:
19094         * win32/common/config.h.in:
19095         * win32/vs6/libgstcontroller.dsp:
19096           win32 build fixes
19097
19098 2005-12-05  Wim Taymans  <wim@fluendo.com>
19099
19100         * gst/gstcaps.c: (gst_caps_is_equal):
19101         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19102         (gst_fake_src_create):
19103         Back out previous code changes, leave doc updates, file bugs 
19104         instead. 
19105
19106 2005-12-05  Wim Taymans  <wim@fluendo.com>
19107
19108         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19109         (gst_fake_src_get_times), (gst_fake_src_create):
19110         * plugins/elements/gstfakesrc.h:
19111         Fix broken sync code.
19112
19113 2005-12-05  Wim Taymans  <wim@fluendo.com>
19114
19115         * gst/gstcaps.c: (gst_caps_is_equal):
19116         Comparing NULL against !NULL yields different caps, not a
19117         failure.
19118
19119 2005-12-05  Wim Taymans  <wim@fluendo.com>
19120
19121         * gst/gstpipeline.c:
19122         Fix small typo in docs.
19123
19124 2005-12-05  Andy Wingo  <wingo@pobox.com>
19125
19126         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19127
19128         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19129         registries/plugins with a MAJORMINOR one.
19130         (plugin_desc): Rename library from gstcoreleements to
19131         staticelements. Fixes #323222.
19132
19133 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19134
19135         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19136           Change debug category to 'collectpads' from 'collect_pads'
19137           (fixes #323250).
19138
19139 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19140
19141         patch by: Sebastien Moutte
19142
19143         * libs/gst/controller/gstinterpolation.c:
19144           use convert function for uint64/double
19145         * win32/vs6/libgstcontroller.dsp:
19146           link to GLib
19147
19148 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19149
19150         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19151         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19152         * gst/gstutils.h:
19153         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19154           add tests that seem to show that the guint64/gdouble conversions
19155           are correct.
19156
19157 2005-12-02  Wim Taymans  <wim@fluendo.com>
19158
19159         * gst/gstregistry.c: (gst_registry_add_path):
19160         * gst/gstregistry.h:
19161         * gst/gstregistryxml.c:
19162         Fix docs again.
19163
19164 2005-12-02  Wim Taymans  <wim@fluendo.com>
19165
19166         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19167         (gst_util_uint64_scale_int):
19168         Small cleanup.
19169
19170         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19171         Add debug log line.
19172
19173         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19174         Add FIXME.
19175
19176 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19177
19178         * win32/MANIFEST:
19179         * win32/common/config.h:
19180         * win32/vs6/gstreamer.dsw:
19181         * win32/vs6/libgstcoreelements.dsp:
19182         * win32/vs6/libgstelements.dsp:
19183           renamed core elements plugin
19184
19185 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19186
19187         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19188         (get_candidates):
19189           do piece-wise major/minor comparison so 0.9 < 0.10
19190           also allow .exe extensions for tools
19191
19192 2005-12-02  Michael Smith  <msmith@fluendo.com>
19193
19194         * gst/gst.c:
19195           Escape a % to make gtkdoc happier; bug 322958.
19196
19197 === release 0.9.7 ===
19198
19199 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19200
19201         * configure.ac:
19202           releasing 0.9.7, "My Dog Has No Nose"
19203
19204 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19205
19206         * common/gst-xmlinspect.py:
19207         * configure.ac:
19208         * docs/libs/tmpl/gstdataprotocol.sgml:
19209         * docs/random/release:
19210         * po/af.po:
19211         * po/az.po:
19212         * po/bg.po:
19213         * po/ca.po:
19214         * po/cs.po:
19215         * po/de.po:
19216         * po/en_GB.po:
19217         * po/fr.po:
19218         * po/it.po:
19219         * po/nb.po:
19220         * po/nl.po:
19221         * po/ru.po:
19222         * po/sq.po:
19223         * po/sr.po:
19224         * po/sv.po:
19225         * po/tr.po:
19226         * po/uk.po:
19227         * po/vi.po:
19228         * win32/common/config.h:
19229         * win32/common/config.h.in:
19230         * win32/vs6/gst_inspect.dsp:
19231         * win32/vs6/gst_launch.dsp:
19232         * win32/vs6/libgstbase.dsp:
19233         * win32/vs6/libgstelements.dsp:
19234         * win32/vs6/libgstreamer.dsp:
19235         * win32/vs7/GStreamer.vcproj:
19236         * win32/vs7/gst-inspect.vcproj:
19237         * win32/vs7/gst-launch.vcproj:
19238         * win32/vs7/libgstbase.vcproj:
19239           bump GST_MAJORMINOR to 0.10
19240           reset libtool version
19241
19242 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19243
19244         * po/LINGUAS:
19245         * po/bg.po:
19246           Added Bulgarian translation by (Alexander Shopov)
19247
19248 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19249
19250         * tests/check/gst/gstplugin.c:
19251           fix test
19252
19253 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19254
19255         * common/gst-xmlinspect.py:
19256         * common/gtk-doc-plugins.mak:
19257         * configure.ac:
19258         * docs/Makefile.am:
19259         * docs/gst/Makefile.am:
19260         * docs/gst/gstreamer-docs.sgml:
19261         * docs/gst/gstreamer-sections.txt:
19262         * docs/gst/gstreamer.types:
19263         * docs/gst/gstreamer.types.in:
19264         * docs/plugins/Makefile.am:
19265         * docs/plugins/gstreamer-plugins-docs.sgml:
19266         * docs/plugins/gstreamer-plugins-sections.txt:
19267         * docs/plugins/gstreamer-plugins.types:
19268         * docs/plugins/inspect.stamp:
19269         * docs/plugins/inspect/plugin-coreelements.xml:
19270         * docs/plugins/inspect/plugin-coreindexers.xml:
19271         * docs/plugins/scanobj-build.stamp:
19272         * gstreamer.spec.in:
19273         * plugins/elements/Makefile.am:
19274         * plugins/elements/gstelements.c:
19275         * plugins/elements/gstfakesink.c:
19276         * plugins/elements/gstfakesrc.c:
19277         * plugins/elements/gstfilesink.c:
19278         * plugins/elements/gstfilesrc.c:
19279         * plugins/elements/gstqueue.c:
19280         * plugins/indexers/Makefile.am:
19281         * plugins/indexers/gstindexers.c:
19282           document core plugins in a separate document just like all the
19283           others
19284           rename these plugins to something starting with core
19285
19286 2005-12-01  Andy Wingo  <wingo@pobox.com>
19287
19288         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19289         padding here before, but it missed the commit.
19290
19291 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19292
19293         * libs/gst/controller/gstinterpolation.c:
19294           whitespace prices have crashed, we should feel free to use some now
19295           use gst_guint64_to_gdouble
19296
19297 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19298
19299         * libs/gst/controller/gstcontroller.c:
19300         * libs/gst/controller/gsthelper.c:
19301         * libs/gst/controller/gstinterpolation.c:
19302         * libs/gst/controller/lib.c:
19303           wrap config.h include
19304
19305 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19306
19307         * docs/gst/gstreamer-sections.txt:
19308           update docs
19309
19310 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19311
19312         * plugins/elements/gstelements.c:
19313         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19314         (gst_fd_sink__class_init), (gst_fd_sink__init),
19315         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19316         (gst_fd_sink__get_property):
19317         * plugins/elements/gstfdsink.h:
19318         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19319         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19320         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19321         (gst_fd_src_unlock), (gst_fd_src_set_property),
19322         (gst_fd_src_get_property), (gst_fd_src_create),
19323         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19324         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19325         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19326         (gst_fd_src_uri_handler_init):
19327         * plugins/elements/gstfdsrc.h:
19328         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19329           more anal cleanup
19330
19331 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19332
19333         * docs/gst/Makefile.am:
19334         * docs/gst/gstreamer.types.in:
19335         * gst/Makefile.am:
19336           fix the docs build
19337
19338 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19339
19340         * configure.ac:
19341         * gst/Makefile.am:
19342         * gst/gst.c:
19343         * gst/gstplugin.h:
19344         * gst/gstregistry.h:
19345         * tests/benchmarks/complexity.c:
19346         * tests/benchmarks/mass-elements.c:
19347         * tests/check/Makefile.am:
19348         * tools/Makefile.am:
19349         * tools/gst-inspect.c:
19350         * tools/gst-xmlinspect.c:
19351           various fixes to make
19352           --disable-nls --disable-registry --disable-loadsave
19353           --disable-parse --disable-gst-debug
19354           work and get the core .so down to 360444 bytes after stripping
19355
19356 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19357
19358         * Makefile.am:
19359         * configure.ac:
19360           descend into tests
19361         * docs/random/thomasvs/TODO:
19362         * tests/Makefile.am:
19363         * tests/README:
19364           add a README
19365
19366 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19367
19368         * win32/GStreamer.vcproj:
19369         * win32/MANIFEST:
19370         * win32/Makefile:
19371         * win32/Makefile.inspect:
19372         * win32/Makefile.launch:
19373         * win32/Makefile.register:
19374         * win32/README.txt:
19375         * win32/gst-inspect.vcproj:
19376         * win32/gst-launch.vcproj:
19377         * win32/gst-register.vcproj:
19378         * win32/gstelements.vcproj:
19379         * win32/gstgetbits.def:
19380         * win32/gstgetbits.vcproj:
19381         * win32/gstreamer-dbg.def:
19382         * win32/gstreamer.def:
19383         * win32/libgstbase.def:
19384         * win32/libgstbase.vcproj:
19385         * win32/link_oldruntime.c:
19386         * win32/mman.c:
19387         * win32/mman.h:
19388         * win32/mman.inl:
19389         * win32/msvc71.sln:
19390           move even more stuff, win32/ is nice and clean now
19391
19392 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19393
19394         * libs/gst/control/.cvsignore:
19395         * win32/MANIFEST:
19396         * win32/config.h:
19397         * win32/dirent.c:
19398         * win32/dirent.h:
19399         * win32/gstbytestream.def:
19400         * win32/gstbytestream.vcproj:
19401         * win32/gstconfig.h:
19402         * win32/gstenumtypes.c:
19403         * win32/gstenumtypes.h:
19404         * win32/gstoptimalscheduler.vcproj:
19405         * win32/gstversion.h:
19406         * win32/gtchar.h:
19407         * win32/testsuite/bins.vcproj:
19408         * win32/testsuite/bytestream.vcproj:
19409         * win32/testsuite/caps.vcproj:
19410         * win32/testsuite/cleanup.vcproj:
19411         * win32/testsuite/clock.vcproj:
19412         * win32/testsuite/debug.vcproj:
19413         * win32/testsuite/dlopen.vcproj:
19414         * win32/testsuite/dynparams.vcproj:
19415         * win32/testsuite/elements.vcproj:
19416         * win32/testsuite/ghostpads.vcproj:
19417         * win32/testsuite/indexers.vcproj:
19418         * win32/testsuite/negotiation.vcproj:
19419         * win32/testsuite/parse.vcproj:
19420         * win32/testsuite/plugin.vcproj:
19421         * win32/testsuite/refcounting.vcproj:
19422         * win32/testsuite/schedulers.vcproj:
19423         * win32/testsuite/states.vcproj:
19424         * win32/testsuite/tags.vcproj:
19425         * win32/testsuite/threads.vcproj:
19426           remove old win32 stuff that isn't maintained and should be
19427           reorganized
19428
19429 2005-11-30  Andy Wingo  <wingo@pobox.com>
19430
19431         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19432         loading the gst.interfaces python module bork.
19433
19434         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19435         available since GLib 2.2. Fixes #318031.
19436
19437 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19438
19439         * Makefile.am:
19440         * check/.cvsignore:
19441         * check/Makefile.am:
19442         * check/elements/.cvsignore:
19443         * check/elements/fakesrc.c:
19444         * check/elements/fdsrc.c:
19445         * check/elements/identity.c:
19446         * check/generic/.cvsignore:
19447         * check/generic/states.c:
19448         * check/gst-libs/.cvsignore:
19449         * check/gst-libs/controller.c:
19450         * check/gst-libs/gdp.c:
19451         * check/gst/.cvsignore:
19452         * check/gst/capslist.h:
19453         * check/gst/gst.c:
19454         * check/gst/gstbin.c:
19455         * check/gst/gstbuffer.c:
19456         * check/gst/gstbus.c:
19457         * check/gst/gstcaps.c:
19458         * check/gst/gstelement.c:
19459         * check/gst/gstevent.c:
19460         * check/gst/gstghostpad.c:
19461         * check/gst/gstiterator.c:
19462         * check/gst/gstmessage.c:
19463         * check/gst/gstminiobject.c:
19464         * check/gst/gstobject.c:
19465         * check/gst/gstpad.c:
19466         * check/gst/gstpipeline.c:
19467         * check/gst/gstplugin.c:
19468         * check/gst/gstsegment.c:
19469         * check/gst/gststructure.c:
19470         * check/gst/gstsystemclock.c:
19471         * check/gst/gsttag.c:
19472         * check/gst/gstutils.c:
19473         * check/gst/gstvalue.c:
19474         * check/net/.cvsignore:
19475         * check/net/gstnetclientclock.c:
19476         * check/net/gstnettimeprovider.c:
19477         * check/pipelines/.cvsignore:
19478         * check/pipelines/cleanup.c:
19479         * check/pipelines/simple_launch_lines.c:
19480         * check/pipelines/stress.c:
19481         * check/states/.cvsignore:
19482         * check/states/sinks.c:
19483         * configure.ac:
19484         * examples/Makefile.am:
19485         * examples/appreader/.cvsignore:
19486         * examples/appreader/Makefile.am:
19487         * examples/appreader/appreader.c:
19488         * examples/controller/.cvsignore:
19489         * examples/controller/Makefile.am:
19490         * examples/controller/audio-example.c:
19491         * examples/cutter/.cvsignore:
19492         * examples/cutter/Makefile.am:
19493         * examples/cutter/cutter.c:
19494         * examples/cutter/cutter.h:
19495         * examples/events/Makefile.am:
19496         * examples/events/seek.c:
19497         * examples/helloworld/.cvsignore:
19498         * examples/helloworld/Makefile.am:
19499         * examples/helloworld/helloworld.c:
19500         * examples/helloworld2/.cvsignore:
19501         * examples/helloworld2/Makefile.am:
19502         * examples/helloworld2/helloworld2.c:
19503         * examples/launch/.cvsignore:
19504         * examples/launch/Makefile.am:
19505         * examples/launch/mp3parselaunch.c:
19506         * examples/launch/mp3play:
19507         * examples/manual/.cvsignore:
19508         * examples/manual/Makefile.am:
19509         * examples/manual/extract.pl:
19510         * examples/metadata/Makefile.am:
19511         * examples/metadata/read-metadata.c:
19512         * examples/mixer/.cvsignore:
19513         * examples/mixer/Makefile.am:
19514         * examples/mixer/mixer.c:
19515         * examples/mixer/mixer.h:
19516         * examples/pingpong/.cvsignore:
19517         * examples/pingpong/Makefile.am:
19518         * examples/pingpong/pingpong.c:
19519         * examples/plugins/.cvsignore:
19520         * examples/plugins/Makefile.am:
19521         * examples/plugins/example.c:
19522         * examples/plugins/example.h:
19523         * examples/pwg/.cvsignore:
19524         * examples/pwg/Makefile.am:
19525         * examples/pwg/extract.pl:
19526         * examples/queue/.cvsignore:
19527         * examples/queue/Makefile.am:
19528         * examples/queue/queue.c:
19529         * examples/queue2/.cvsignore:
19530         * examples/queue2/Makefile.am:
19531         * examples/queue2/queue2.c:
19532         * examples/queue3/.cvsignore:
19533         * examples/queue3/Makefile.am:
19534         * examples/queue3/queue3.c:
19535         * examples/queue4/.cvsignore:
19536         * examples/queue4/Makefile.am:
19537         * examples/queue4/queue4.c:
19538         * examples/retag/.cvsignore:
19539         * examples/retag/Makefile.am:
19540         * examples/retag/retag.c:
19541         * examples/retag/transcode.c:
19542         * examples/thread/.cvsignore:
19543         * examples/thread/Makefile.am:
19544         * examples/thread/thread.c:
19545         * examples/typefind/.cvsignore:
19546         * examples/typefind/Makefile.am:
19547         * examples/typefind/typefind.c:
19548         * examples/xml/.cvsignore:
19549         * examples/xml/Makefile.am:
19550         * examples/xml/createxml.c:
19551         * examples/xml/runxml.c:
19552         * tests/Makefile.am:
19553         * tests/check/Makefile.am:
19554         * testsuite/.cvsignore:
19555         * testsuite/Makefile.am:
19556         * testsuite/Rules:
19557         * testsuite/caps/.cvsignore:
19558         * testsuite/caps/Makefile.am:
19559         * testsuite/caps/app_fixate.c:
19560         * testsuite/caps/audioscale.c:
19561         * testsuite/caps/caps.c:
19562         * testsuite/caps/caps.h:
19563         * testsuite/caps/caps_strings:
19564         * testsuite/caps/compatibility.c:
19565         * testsuite/caps/deserialize.c:
19566         * testsuite/caps/enumcaps.c:
19567         * testsuite/caps/eratosthenes.c:
19568         * testsuite/caps/filtercaps.c:
19569         * testsuite/caps/fixed.c:
19570         * testsuite/caps/fraction-convert.c:
19571         * testsuite/caps/fraction-multiply-and-zero.c:
19572         * testsuite/caps/intersect2.c:
19573         * testsuite/caps/intersection.c:
19574         * testsuite/caps/normalisation.c:
19575         * testsuite/caps/random.c:
19576         * testsuite/caps/renegotiate.c:
19577         * testsuite/caps/sets.c:
19578         * testsuite/caps/simplify.c:
19579         * testsuite/caps/string-conversions.c:
19580         * testsuite/caps/structure.c:
19581         * testsuite/caps/subtract.c:
19582         * testsuite/caps/union.c:
19583         * testsuite/debug/.cvsignore:
19584         * testsuite/debug/Makefile.am:
19585         * testsuite/debug/category.c:
19586         * testsuite/debug/commandline.c:
19587         * testsuite/debug/global.c:
19588         * testsuite/debug/output.c:
19589         * testsuite/debug/printf_extension.c:
19590         * testsuite/dlopen/.cvsignore:
19591         * testsuite/dlopen/Makefile.am:
19592         * testsuite/dlopen/dlopen_gst.c:
19593         * testsuite/dlopen/loadgst.c:
19594         * testsuite/elements/.cvsignore:
19595         * testsuite/elements/Makefile.am:
19596         * testsuite/elements/gst-inspect-check.in:
19597         * testsuite/elements/struct_i386.h:
19598         * testsuite/elements/struct_size.c:
19599         * testsuite/indexers/.cvsignore:
19600         * testsuite/indexers/Makefile.am:
19601         * testsuite/indexers/cache1.c:
19602         * testsuite/indexers/indexdump.c:
19603         * testsuite/parse/.cvsignore:
19604         * testsuite/parse/Makefile.am:
19605         * testsuite/parse/parse1.c:
19606         * testsuite/parse/parse2.c:
19607         * testsuite/plugin/.cvsignore:
19608         * testsuite/plugin/Makefile.am:
19609         * testsuite/plugin/README:
19610         * testsuite/plugin/dynamic.c:
19611         * testsuite/plugin/linked.c:
19612         * testsuite/plugin/loading.c:
19613         * testsuite/plugin/registry.c:
19614         * testsuite/plugin/static.c:
19615         * testsuite/plugin/static2.c:
19616         * testsuite/plugin/testplugin.c:
19617         * testsuite/plugin/testplugin2.c:
19618         * testsuite/plugin/testplugin2_s.c:
19619         * testsuite/plugin/testplugin_s.c:
19620         * testsuite/refcounting/.cvsignore:
19621         * testsuite/refcounting/Makefile.am:
19622         * testsuite/refcounting/bin.c:
19623         * testsuite/refcounting/element.c:
19624         * testsuite/refcounting/element_pad.c:
19625         * testsuite/refcounting/mainloop.c:
19626         * testsuite/refcounting/mem.c:
19627         * testsuite/refcounting/mem.h:
19628         * testsuite/refcounting/object.c:
19629         * testsuite/refcounting/pad.c:
19630         * testsuite/refcounting/sched.c:
19631         * testsuite/refcounting/thread.c:
19632         * testsuite/states/.cvsignore:
19633         * testsuite/states/Makefile.am:
19634         * testsuite/states/bin.c:
19635         * testsuite/states/locked.c:
19636         * testsuite/states/parent.c:
19637         * testsuite/threads/.cvsignore:
19638         * testsuite/threads/159566.c:
19639         * testsuite/threads/159852.c:
19640         * testsuite/threads/Makefile.am:
19641         * testsuite/threads/queue.c:
19642         * testsuite/threads/signals.c:
19643         * testsuite/threads/staticrec.c:
19644         * testsuite/threads/thread.c:
19645         * testsuite/threads/threadb.c:
19646         * testsuite/threads/threadc.c:
19647         * testsuite/threads/threadd.c:
19648         * testsuite/threads/threade.c:
19649         * testsuite/threads/threadf.c:
19650         * testsuite/threads/threadg.c:
19651         * testsuite/threads/threadh.c:
19652         * testsuite/threads/threadi.c:
19653           move all of these under tests
19654
19655 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19656
19657         * configure.ac:
19658         * tests/Makefile.am:
19659           fix distcheck
19660
19661 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19662
19663         * docs/gst/gstreamer-sections.txt:
19664         * tests/sched/.cvsignore:
19665         * tests/sched/Makefile.am:
19666         * tests/sched/cases/(fs-fs).xml:
19667         * tests/sched/cases/(fs-i-fs).xml:
19668         * tests/sched/cases/(fs-i-i-fs).xml:
19669         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19670         * tests/sched/dynamic-pipeline.c:
19671         * tests/sched/interrupt1.c:
19672         * tests/sched/interrupt2.c:
19673         * tests/sched/interrupt3.c:
19674         * tests/sched/runtestcases:
19675         * tests/sched/runxml.c:
19676         * tests/sched/sched-stress.c:
19677         * tests/sched/sort.c:
19678         * tests/sched/testcases:
19679         * tests/sched/testcases1.tc:
19680         * tests/seeking/.cvsignore:
19681         * tests/seeking/Makefile.am:
19682         * tests/seeking/seeking1.c:
19683         * tests/threadstate/.cvsignore:
19684         * tests/threadstate/Makefile.am:
19685         * tests/threadstate/test1.c:
19686         * tests/threadstate/test2.c:
19687         * tests/threadstate/threadstate1.c:
19688         * tests/threadstate/threadstate2.c:
19689         * tests/threadstate/threadstate3.c:
19690         * tests/threadstate/threadstate4.c:
19691         * tests/threadstate/threadstate5.c:
19692           remove obsolete tests
19693         * configure.ac:
19694         * tests/bench-complexity.scm:
19695         * tests/bench-mass_elements.scm:
19696         * tests/complexity.c:
19697         * tests/complexity.gnuplot:
19698         * tests/instantiate/.cvsignore:
19699         * tests/instantiate/Makefile.am:
19700         * tests/instantiate/caps.c:
19701         * tests/mass_elements.c:
19702         * tests/network-clock-utils.scm:
19703         * tests/network-clock.scm:
19704         * tests/plot-data:
19705         First pass at cleaning up tests/ dir before moving the rest
19706         Combined with CVS surgery
19707
19708 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19709
19710         * po/POTFILES.in:
19711           queue has moved, update
19712
19713 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19714
19715         * docs/gst/gstreamer-sections.txt:
19716           remove double entries from the docs
19717         * gst/gst_private.h:
19718         * gst/gstinfo.c: (_gst_debug_init):
19719           remove the THREAD debug category
19720         * gst/Makefile.am:
19721         * gst/gstqueue.c:
19722         * gst/gstqueue.h:
19723         * docs/gst/gstreamer.types:
19724         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19725         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19726           completely move queue and fix up debugging categories
19727
19728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19729
19730         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19731           make initialization portable, using LL is not
19732
19733 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19734
19735         * win32/common/gstconfig.h:
19736           add large padding
19737
19738 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19739
19740         * win32/common/libgstreamer.def:
19741           rename symbols; sort base section
19742
19743 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * gst/gstclock.c: (do_linear_regression):
19746           remove crack non-portable handrolled DEBUG macro
19747
19748 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19749
19750         * docs/random/release:
19751           update notes
19752         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19753         (gst_object_flags_get_type), (register_gst_bin_flags),
19754         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19755         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19756         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19757         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19758         (gst_caps_flags_get_type), (register_gst_clock_return),
19759         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19760         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19761         (gst_clock_flags_get_type), (register_gst_state),
19762         (gst_state_get_type), (register_gst_state_change_return),
19763         (gst_state_change_return_get_type), (register_gst_state_change),
19764         (gst_state_change_get_type), (register_gst_element_flags),
19765         (gst_element_flags_get_type), (register_gst_core_error),
19766         (gst_core_error_get_type), (register_gst_library_error),
19767         (gst_library_error_get_type), (register_gst_resource_error),
19768         (gst_resource_error_get_type), (register_gst_stream_error),
19769         (gst_stream_error_get_type), (register_gst_event_type_flags),
19770         (gst_event_type_flags_get_type), (register_gst_event_type),
19771         (gst_event_type_get_type), (register_gst_seek_type),
19772         (gst_seek_type_get_type), (register_gst_seek_flags),
19773         (gst_seek_flags_get_type), (register_gst_format),
19774         (gst_format_get_type), (register_gst_index_certainty),
19775         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19776         (gst_index_entry_type_get_type),
19777         (register_gst_index_lookup_method),
19778         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19779         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19780         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19781         (gst_index_flags_get_type), (register_gst_debug_level),
19782         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19783         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19784         (gst_iterator_result_get_type), (register_gst_iterator_item),
19785         (gst_iterator_item_get_type), (register_gst_message_type),
19786         (gst_message_type_get_type), (register_gst_mini_object_flags),
19787         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19788         (gst_pad_link_return_get_type), (register_gst_flow_return),
19789         (gst_flow_return_get_type), (register_gst_activate_mode),
19790         (gst_activate_mode_get_type), (register_gst_pad_direction),
19791         (gst_pad_direction_get_type), (register_gst_pad_flags),
19792         (gst_pad_flags_get_type), (register_gst_pad_presence),
19793         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19794         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19795         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19796         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19797         (gst_plugin_flags_get_type), (register_gst_rank),
19798         (gst_rank_get_type), (register_gst_query_type),
19799         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19800         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19801         (gst_tag_flag_get_type), (register_gst_task_state),
19802         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19803         (gst_alloc_trace_flags_get_type),
19804         (register_gst_type_find_probability),
19805         (gst_type_find_probability_get_type), (register_gst_uri_type),
19806         (gst_uri_type_get_type), (register_gst_parse_error),
19807         (gst_parse_error_get_type):
19808         * win32/common/gstenumtypes.h:
19809         * win32/common/gstversion.h:
19810           update visual studio generated files
19811
19812 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19813
19814         * win32/vs6/libgstbase.dsp:
19815         * win32/vs6/libgstelements.dsp:
19816           update project files for new locations
19817
19818 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19819
19820         * Makefile.am:
19821           remove some files
19822         * README:
19823           reinstate and update
19824         * DEVEL:
19825         * REQUIREMENTS:
19826           removed
19827         * LICENSE:
19828         * docs/random/LICENSE:
19829           moved to random
19830
19831 2005-11-30  Edward Hervey  <edward@fluendo.com>
19832
19833         * gst/gsttypefind.c: (gst_type_find_register):
19834         * gst/gsttypefind.h:
19835         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19836         (gst_type_find_factory_dispose):
19837         * gst/gsttypefindfactory.h:
19838         Fix memory leak in GstTypeFindFactory.
19839
19840 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19841
19842         * gst/gst.c:
19843         * plugins/elements/Makefile.am:
19844         * plugins/elements/gstelements.c:
19845         * plugins/elements/gstqueue.c:
19846           move queue from core to the elements plugin
19847
19848 2005-11-29  Andy Wingo  <wingo@pobox.com>
19849
19850         * libs/gst/base/gstbasetransform.h: 
19851         * libs/gst/base/gstbasesrc.h: 
19852         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19853
19854         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19855         of pointers by which to pad very extensible base classes (like the
19856         ones in libs/gst/base).
19857
19858 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19859
19860         * docs/gst/gstreamer-docs.sgml:
19861         * docs/gst/gstreamer-sections.txt:
19862         * docs/libs/gstreamer-libs-docs.sgml:
19863         * docs/libs/gstreamer-libs-sections.txt:
19864           moving documentation from core to lib
19865
19866 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19867
19868         * check/Makefile.am:
19869         * configure.ac:
19870         * docs/gst/Makefile.am:
19871         * gst/Makefile.am:
19872         * gst/base/.cvsignore:
19873         * gst/base/Makefile.am:
19874         * gst/base/README:
19875         * gst/base/gstadapter.c:
19876         * gst/base/gstadapter.h:
19877         * gst/base/gstbasesink.c:
19878         * gst/base/gstbasesink.h:
19879         * gst/base/gstbasesrc.c:
19880         * gst/base/gstbasesrc.h:
19881         * gst/base/gstbasetransform.c:
19882         * gst/base/gstbasetransform.h:
19883         * gst/base/gstcollectpads.c:
19884         * gst/base/gstcollectpads.h:
19885         * gst/base/gstpushsrc.c:
19886         * gst/base/gstpushsrc.h:
19887         * gst/base/gsttypefindhelper.c:
19888         * gst/base/gsttypefindhelper.h:
19889         * gst/check/Makefile.am:
19890         * gst/check/gstcheck.c:
19891         * gst/check/gstcheck.h:
19892         * gst/net/Makefile.am:
19893         * gst/net/gstnet.h:
19894         * gst/net/gstnetclientclock.c:
19895         * gst/net/gstnetclientclock.h:
19896         * gst/net/gstnettimepacket.c:
19897         * gst/net/gstnettimepacket.h:
19898         * gst/net/gstnettimeprovider.c:
19899         * gst/net/gstnettimeprovider.h:
19900         * libs/gst/Makefile.am:
19901         * libs/gst/base/Makefile.am:
19902         * libs/gst/base/gstbasetransform.c:
19903         * libs/gst/check/Makefile.am:
19904         * plugins/elements/Makefile.am:
19905         * po/POTFILES.in:
19906           CVS surgery + support to move base, check, and net out of gst
19907           and into libs/gst
19908
19909 2005-11-29  Andy Wingo  <wingo@pobox.com>
19910
19911         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19912
19913         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19914         padding.
19915
19916         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19917
19918         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19919
19920         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19921
19922         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19923         padding; reduces object size by about 30%. We don't expect
19924         anything else to go into gstobject.
19925
19926         * gst/gstminiobject.h (struct _GstMiniObject)
19927         (struct _GstMiniObjectClass): Only one pointer of padding; the
19928         payload is only a pointer and two ints anyway. For the class there
19929         are only two methods as well.
19930         
19931         * gst/gstelement.h (struct _GstElementClass): Removed
19932         the state_changed signal callback, it is not used.
19933
19934 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19935
19936         * docs/gst/gstreamer.types:
19937           fix includes, though they are a little dinky
19938
19939 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19940
19941         * check/Makefile.am:
19942           look in the right place for elements, a lot more chance of
19943           success
19944         * gst/Makefile.am:
19945           remove indexers and elements subdirs
19946         * plugins/Makefile.am:
19947           make indexers conditional
19948
19949 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19950
19951         * Makefile.am:
19952         * configure.ac:
19953         * plugins/elements/Makefile.am:
19954         * plugins/elements/gstcapsfilter.c:
19955         * plugins/elements/gstfilesink.c:
19956         * plugins/elements/gstfilesrc.c:
19957         * plugins/elements/gstidentity.c:
19958         * plugins/indexers/Makefile.am:
19959           do CVS surgery and related build fixery to move elements
19960           and indexers in a new gstreamer/plugins directory, out of the
19961           gst/ directory
19962
19963 2005-11-29  Andy Wingo  <wingo@pobox.com>
19964
19965         * check/Makefile.am:
19966         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19967         * pkgconfig/gstreamer-net.pc.in:
19968         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19969         #322257.
19970
19971 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19972
19973         * tools/Makefile.am:
19974         * tools/gst-complete.1.in:
19975         * tools/gst-complete.c:
19976         * tools/gst-compprep.1.in:
19977         * tools/gst-compprep.c:
19978           removing -compprep and -complete
19979
19980 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19981
19982         * gst/gstevent.c: (gst_event_new_new_segment),
19983         (gst_event_parse_new_segment):
19984         * gst/gstevent.h:
19985           fix #320529 - clean up new_segment API and structure.
19986           Let's hope everyone was using the methods, and not the structure.
19987
19988 2005-11-29  Edward Hervey  <edward@fluendo.com>
19989
19990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19991         (gst_base_sink_event), (gst_base_sink_do_sync),
19992         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
19993         Properly handle non GST_FORMAT_TIME segment
19994         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19995         Properly handle non GST_FORMAT_TIME segment
19996         * gst/gstsegment.c:
19997         This function is valid if the accumulator is 0 and the format
19998         is different from the requested format.
19999         
20000 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20001
20002         * docs/gst/gstreamer-sections.txt:
20003         Add gst_query_new_seeking and gst_query_parse_seeking to the
20004         docs.
20005
20006 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20007
20008         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20009           Treat a pad alloc with new caps the same as if we were not
20010           negotiated, in order to allow a changing upstream output
20011           to produce a new format of data.
20012
20013 2005-11-29  Edward Hervey  <edward@fluendo.com>
20014
20015         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20016         (gst_base_transform_event), (gst_base_transform_eventfunc):
20017         The event virtual method is now properly implemented, with a default
20018         handler
20019         Sub classes should call the parent_class event method. They should
20020         return FALSE if they had a problem handling the given event, or don't
20021         want GstBaseTransform to send that even downstream
20022         * gst/elements/gstidentity.c: (gst_identity_class_init),
20023         (gst_identity_init), (gst_identity_event),
20024         (gst_identity_transform_ip), (gst_identity_set_property),
20025         (gst_identity_get_property):
20026         * gst/elements/gstidentity.h:
20027         Added the single-segment boolean property.
20028         If set to TRUE, it will output a single segment of data, starting from
20029         0, will eat up all incoming newsegment, and modify the timestamp of the
20030         buffers accordingly
20031
20032 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20033
20034         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20035           Don't ref NULL target pad (#322751). Improve docs.
20036
20037 2005-11-29  Michael Smith  <msmith@fluendo.com>
20038
20039         * gst/gstregistryxml.c: (load_plugin):
20040           Don't crash if we failed to load a feature from a plugin. 
20041
20042 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20043
20044         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20045         (GST_START_TEST):
20046           use more check API and less GLib API
20047
20048 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20049
20050         * Makefile.am:
20051           don't run checks if we don't have check
20052         * common/check.mak:
20053           remove the registry when running make torture
20054         * docs/gst/gstreamer-sections.txt:
20055           remove second multiply
20056         * gst/gstqueue.c: (gst_queue_loop):
20057           fix a compile warning when disabling debug
20058
20059 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20060
20061         * gst/gstinfo.h:
20062         Hey! Let's print the pad name if the pointer != NULL instead
20063         of when it == NULL :-)
20064
20065 2005-11-28  Wim Taymans  <wim@fluendo.com>
20066
20067         * check/gst/gstutils.c: (GST_START_TEST):
20068         Updated check, add some scaling accuracy checking code.
20069
20070         * gst/gstutils.c: (gst_util_div128_64),
20071         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20072         (gst_util_uint64_scale_int):
20073         Fix 6 times faster division code. Optimize for common 
20074         1/1 and less common X/1 cases.
20075
20076 2005-11-28  Wim Taymans  <wim@fluendo.com>
20077
20078         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20079         More checks.
20080
20081         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20082         (do_linear_regression), (gst_clock_add_observation):
20083         Cleanups.
20084         Release lock when the clock cannot be slaved.
20085         Catch the case where the regression returned an invalid denominator.
20086
20087         * gst/gstutils.c: (gst_util_div128_64_iterate),
20088         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20089         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20090         Add protentially more performant non-iterative 128/64 divide function
20091         that unfortunatly does not work yet.
20092         Shortcut the trivial 0/X = 0 case.
20093         Remove the warnings on overflow.
20094
20095 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20096
20097         * gst/gstplugin.c: (gst_plugin_register_func):
20098           everything causing a plugin not to load should be at least a WARNING
20099
20100 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20101
20102         * docs/random/ensonic/dparams.txt:
20103           some TODOs for the next dev cycle
20104         * libs/gst/controller/gstcontroller.c:
20105         (gst_controlled_property_set_interpolation_mode),
20106         (gst_controlled_property_new):
20107         * libs/gst/controller/gstcontroller.h:
20108           use base type to assign acccessor functions
20109
20110 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20111
20112         * check/Makefile.am:
20113         Oops, that should have been top_srcdir
20114
20115 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20116
20117         * check/Makefile.am:
20118         * check/elements/fdsrc.c: (GST_START_TEST):
20119         Use a cmdline define to specify the location of a file to use for
20120         testing, to avoid breaking distcheck.
20121
20122 2005-11-28  Andy Wingo  <wingo@pobox.com>
20123
20124         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20125
20126 2005-11-28  Edward Hervey  <edward@fluendo.com>
20127
20128         * tools/gst-launch.c: (main):
20129         Clarify the output strings, makes it easier to translate.
20130         Fixes #322626
20131
20132 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20133
20134         * gst/Makefile.am:
20135           don't try and build net if we don't even have <sys/socket.h>
20136
20137 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20138
20139         * check/Makefile.am:
20140         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20141         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20142           Add tests for fdsrc seekability
20143
20144         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20145         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20146         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20147         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20148         * gst/elements/gstfdsrc.h:
20149           fdsrc should not be a 'live' source.
20150           Implement seeking on seekable fd's.
20151
20152         * gst/gstquery.c: (gst_query_new_seeking),
20153         (gst_query_parse_seeking):
20154         * gst/gstquery.h:
20155           Implement SEEKING query functions: 
20156             *_new_seeking and *_parse_seeking
20157
20158 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20159
20160         * gst/gstelement.c: (gst_element_dispose):
20161           don't loop forever
20162
20163         * gst/gstiterator.c:
20164         * gst/gststructure.c:
20165           doc fixes
20166
20167         * libs/gst/controller/gstcontroller.c:
20168         (gst_controlled_property_set_interpolation_mode):
20169         * libs/gst/controller/gstcontroller.h:
20170         * libs/gst/controller/gstinterpolation.c:
20171         (interpolate_none_get_enum_value_array):
20172           support controlling enums
20173
20174 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20175
20176         * gst/gstvalue.c:
20177           Improve documentation for gst_value_union().
20178
20179         * gst/gstvalue.h:
20180           Change return value for union, intersect and subtract functions
20181           from gint to gboolean.
20182
20183 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20184
20185         * gst/gstvalue.c: (gst_value_serialize_any_list),
20186         (gst_value_transform_any_list_string),
20187         (gst_value_deserialize_list), (gst_value_deserialize_array),
20188         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20189         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20190         (gst_value_set_fraction_range_full),
20191         (gst_value_deserialize_fraction_range),
20192         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20193         (gst_value_deserialize_boolean),
20194         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20195         (gst_value_serialize_float), (gst_value_deserialize_float),
20196         (gst_string_wrap), (gst_value_deserialize_string),
20197         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20198         (gst_value_union_int_range_int_range),
20199         (gst_value_intersect_int_range_int_range),
20200         (gst_value_intersect_double_range_double_range),
20201         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20202         (gst_value_subtract_int_range_int_range),
20203         (gst_value_subtract_double_double_range),
20204         (gst_value_subtract_double_range_double_range),
20205         (gst_value_deserialize_fraction):
20206         * gst/gstvalue.h:
20207           Use gint, gdouble and gchar in our API instead of int, double and
20208           char (and make usage in gstvalue.c more consistent).
20209
20210 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20211
20212         * check/Makefile.am:
20213         * libs/gst/controller/Makefile.am:
20214         * libs/gst/dataprotocol/Makefile.am:
20215           fix up Makefile.am and remove GST_ENABLE_NEW
20216
20217 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20218
20219         * configure.ac:
20220         * gst/Makefile.am:
20221         * gst/base/Makefile.am:
20222         * gst/check/Makefile.am:
20223         * gst/elements/Makefile.am:
20224         * gst/net/Makefile.am:
20225           update LDFLAGS use some more
20226
20227 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20228
20229         * common/m4/gst-doc.m4:
20230           Fixes #312589
20231
20232 2005-11-26  Edward Hervey  <edward@fluendo.com>
20233
20234         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20235         This shouldn't issue a g_warning since it returns NULL if it
20236         couldn't find the plugin, and all functions using this behave
20237         properly on a NULL return. Switching to a GST_WARNING.
20238
20239 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20240
20241         * gst/gstbin.c: (gst_bin_handle_message_func):
20242         Don't leak clock messages.
20243
20244 2005-11-25  Wim Taymans  <wim@fluendo.com>
20245
20246         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20247         (gst_util_uint64_scale_int):
20248         Optimisations, remove unneeded vars.
20249
20250 2005-11-25  Wim Taymans  <wim@fluendo.com>
20251
20252         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20253         Added more checks for the high precision uint64 cases.
20254
20255         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20256         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20257         Implement high precision (guint64 * guint64) / guint64.
20258
20259 2005-11-24  Wim Taymans  <wim@fluendo.com>
20260
20261         * gst/base/gstbasesrc.c: (gst_base_src_query):
20262         Fix wrong percentage query.
20263
20264         * gst/gstutils.c: (gst_util_uint64_scale),
20265         (gst_util_uint64_scale_int):
20266         Add some more common cases that can be handled 
20267         efficiently to _scale.
20268
20269 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20270
20271         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20272         (gst_mini_object_suite):
20273           don't use check calls from threads; check probably isn't
20274           threadsafe and using a lock to make it threadsafe would
20275           defeat the purpose of this check
20276         * gst/check/gstcheck.c:
20277         * gst/check/gstcheck.h:
20278           use GST_DEBUG some more
20279
20280 2005-11-24  Wim Taymans  <wim@fluendo.com>
20281
20282         * gst/gstutils.c: (gst_util_uint64_scale),
20283         (gst_util_uint64_scale_int):
20284         Chain trivial case to _scale_int.
20285
20286 2005-11-24  Wim Taymans  <wim@fluendo.com>
20287
20288         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20289         Added test for scaling.
20290
20291         * gst/gstclock.h:
20292         Small doc fix.
20293
20294         * gst/gstutils.c: (gst_util_uint64_scale_int):
20295         Implemented high precision scaling code.
20296
20297 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20298
20299         * gst/gstinfo.h:
20300           do not crash on pad==NULL
20301
20302 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20303
20304         Patch by: Stefan Kost
20305
20306         * common/gtk-doc.mak:
20307         * docs/gst/Makefile.am:
20308         * docs/libs/Makefile.am:
20309           Fix distcheck issues for the libraries docs build
20310           Closes #319599.
20311
20312 2005-11-24  Michael Smith <msmith@fluendo.com>
20313
20314         * docs/manual/basics-helloworld.xml:
20315           Fix bug #315027: memory leak in example code in docs.
20316
20317 2005-11-24  Michael Smith <msmith@fluendo.com>
20318
20319         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20320           Unlock the PREROLL_LOCK in a failure case.
20321
20322 2005-11-24  Wim Taymans  <wim@fluendo.com>
20323
20324         * docs/gst/gstreamer-sections.txt:
20325         * gst/base/gstadapter.h:
20326         * gst/base/gstbasesink.h:
20327         * gst/base/gstbasesrc.h:
20328         * gst/base/gstbasetransform.h:
20329         * gst/base/gstpushsrc.h:
20330         * gst/elements/gstfakesink.h:
20331         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20332         * gst/elements/gstfakesrc.h:
20333         * gst/elements/gstfilesink.h:
20334         * gst/elements/gstfilesrc.h:
20335         * gst/gst.c:
20336         * gst/gstbin.c:
20337         * gst/gstbuffer.c: (_gst_buffer_copy):
20338         * gst/gstbus.h:
20339         * gst/gstcaps.c:
20340         * gst/gstchildproxy.c:
20341         * gst/gstclock.c:
20342         * gst/gstelement.c:
20343         * gst/gstelementfactory.c:
20344         * gst/gstelementfactory.h:
20345         * gst/gstevent.c:
20346         * gst/gstghostpad.h:
20347         * gst/gstindex.h:
20348         * gst/gstinterface.h:
20349         * gst/gstminiobject.c:
20350         * gst/gstminiobject.h:
20351         * gst/gstpad.c:
20352         * gst/gstpad.h:
20353         * gst/gstpadtemplate.h:
20354         * gst/gstpipeline.h:
20355         * gst/gstpluginfeature.h:
20356         * gst/gstquery.h:
20357         * gst/gstqueue.h:
20358         * gst/gsttaglist.c:
20359         * gst/gsttaglist.h:
20360         * gst/gsttagsetter.c:
20361         * gst/gsttagsetter.h:
20362         * gst/gsttrace.c:
20363         * gst/gsttrace.h:
20364         * gst/gsttypefind.h:
20365         * gst/gsturi.h:
20366         * gst/gstvalue.c:
20367         * gst/net/gstnetclientclock.c:
20368         * gst/net/gstnetclientclock.h:
20369         * gst/net/gstnettimepacket.c:
20370         * gst/net/gstnettimeprovider.c:
20371         * gst/net/gstnettimeprovider.h:
20372         Doc fixes.
20373
20374 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20375
20376         * configure.ac: back to HEAD
20377
20378 === release 0.9.6 ===
20379
20380 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20381
20382         * configure.ac:
20383           releasing 0.9.6, "Always On Time"
20384
20385 2005-11-23  Wim Taymans  <wim@fluendo.com>
20386
20387         * docs/gst/gstreamer-sections.txt:
20388         * gst/glib-compat.c:
20389         * gst/gsttagsetter.c:
20390         * gst/gstvalue.c:
20391         * gst/net/gstnetclientclock.c:
20392         * gst/net/gstnettimepacket.h:
20393         Doc updates.
20394
20395 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20396
20397         * docs/faq/using.xml:
20398         * docs/libs/tmpl/gstcontrol.sgml:
20399         * docs/manual/advanced-dparams.xml:
20400         * docs/manual/appendix-checklist.xml:
20401         * docs/manual/basics-elements.xml:
20402         * docs/pwg/other-source.xml:
20403         * docs/random/moving-plugins:
20404         * gst/gstpad.c:
20405         * tools/gst-launch.1.in:
20406           remove mentions of sinesrc
20407
20408 2005-11-23  Michael Smith <msmith@fluendo.com>
20409
20410         * docs/gst/gstreamer-sections.txt:
20411           Update for new API and API changes.
20412         * gst/gstobject.h:
20413           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20414         * gst/gstvalue.c:
20415           Documentation typo fix.
20416         * gst/net/gstnettimepacket.c:
20417           Documentation fixes for arguments.
20418
20419 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20420
20421         * gst/gststructure.c: (gst_structure_get_fraction),
20422         (gst_structure_parse_value),
20423         (gst_structure_fixate_field_nearest_fraction):
20424         * gst/gststructure.h:
20425         * gst/gstutils.c: (gst_util_uint64_scale_int):
20426         * gst/gstutils.h:
20427         * scripts/update-funcnames:
20428         API Changes. 
20429         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20430         Make gst_structure_fixate_field_nearest_fraction take a numerator
20431         and denominator argument instead of a GValue
20432         add gst_structure_get_fraction helper function.
20433
20434 2005-11-23  Wim Taymans  <wim@fluendo.com>
20435
20436         * docs/design/part-TODO.txt:
20437         Update TODO.
20438
20439         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20440         * gst/net/gstnetclientclock.h:
20441         Use parent fields for timeout and window_size.
20442
20443 2005-11-23  Andy Wingo  <wingo@pobox.com>
20444
20445         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20446         rate_num/rate_denom change.
20447
20448         * gst/net/gstnetclientclock.c
20449         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20450         OBJECT_LOCK. Don't call add_observation with the lock.
20451
20452         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20453         fraction.
20454         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20455         rate fraction.
20456         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20457         deal with rate as a fraction whose numerator and denominator are
20458         GstClockTime values.
20459         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20460         master; the other fields are protected by the SLAVE_LOCK.
20461         (do_linear_regression): Note that this must be called with the
20462         SLAVE_LOCK.
20463         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20464         OBJECT_LOCK. Call set_calibration instead of touching the
20465         variables directly.
20466         (gst_clock_set_property, gst_clock_get_property): Protect
20467         master/slave parameters with the SLAVE_LOCK.
20468
20469         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20470         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20471         note that all of the instance variables that add_observation and
20472         the set_master functions use are protected by that lock and not
20473         the OBJECT_LOCK.
20474         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20475
20476         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20477         the caller to take the object lock.
20478
20479 2005-11-23  Wim Taymans  <wim@fluendo.com>
20480
20481         * gst/gsterror.c: (_gst_core_errors_init):
20482         * gst/gsterror.h:
20483         Add error for clock stuff.
20484
20485         * gst/gstpipeline.c: (gst_pipeline_change_state),
20486         (gst_pipeline_set_clock):
20487         Post clock error when clock cannot be used in a pipeline.
20488
20489 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20490
20491         * docs/gst/gstreamer-sections.txt:
20492           make two symbols from gstinfo private for the docs
20493         * gst/base/gstcollectpads.h:
20494         * gst/gstutils.c:
20495           fix doc typos, update docs
20496
20497 2005-11-22  Wim Taymans  <wim@fluendo.com>
20498
20499         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20500         (gst_base_sink_wait), (gst_base_sink_do_sync),
20501         (gst_base_sink_handle_event):
20502         * gst/base/gstbasesink.h:
20503         No need to store the clock, the parent element class already
20504         has it.
20505
20506         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20507         Updates for clock_set returning a gboolean
20508
20509         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20510         (gst_clock_id_wait_async), (gst_clock_class_init),
20511         (gst_clock_init), (gst_clock_finalize),
20512         (gst_clock_get_internal_time), (gst_clock_get_time),
20513         (gst_clock_slave_callback), (gst_clock_set_master),
20514         (gst_clock_get_master), (do_linear_regression),
20515         (gst_clock_add_observation), (gst_clock_set_property),
20516         (gst_clock_get_property):
20517         * gst/gstclock.h:
20518         Implement master/slave. When setting a clock as a slave, a
20519         periodic timeout is scheduled to sample master and slave times.
20520         Then the slave clock is recalibrated to match offset and rate
20521         of the master clock.
20522         Update logging a bit.
20523         Add flag so that a clock can state that is cannot be slaved to
20524         another clock.
20525
20526         * gst/gstelement.c: (gst_element_set_clock):
20527         * gst/gstelement.h:
20528         The set clock returns a gboolean for when an element cannot
20529         deal with the selected clock in the pipeline. 
20530
20531         * gst/gstpipeline.c: (gst_pipeline_change_state),
20532         (gst_pipeline_set_clock):
20533         * gst/gstpipeline.h:
20534         Handle the case where the selected clock cannot be set on
20535         the pipeline.
20536
20537         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20538         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20539         (gst_net_client_clock_set_property),
20540         (gst_net_client_clock_get_property),
20541         (gst_net_client_clock_observe_times):
20542         * gst/net/gstnetclientclock.h:
20543         Use regression code in GstClock parent, remove duplicated
20544         functionality.
20545
20546 2005-11-22  Michael Smith <msmith@fluendo.com>
20547
20548         * gst/gstutils.c: (gst_util_clock_time_scale):
20549         * gst/gstutils.h:
20550         * docs/gst/gstreamer-sections.txt:
20551           Rename method to have extra underscore.
20552
20553 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20554
20555         * gst/elements/Makefile.am:
20556         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20557         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20558         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20559         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20560         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20561         * gst/elements/gstfakesrc.h:
20562         * gst/gstqueue.c: (queue_leaky_get_type):
20563           correctly fix GEnumValues so that nick is the short lowercase
20564           dashed tag
20565         * tools/gst-inspect.c: (print_element_properties_info):
20566           also show the nick, since it's useful to use from parse_launch
20567           syntax
20568           Fixes #322139
20569
20570 2005-11-22  Michael Smith <msmith@fluendo.com>
20571
20572         * gst/gstutils.c: (gst_util_clocktime_scale):
20573         * gst/gstutils.h:
20574         * docs/gst/gstreamer-sections.txt:
20575           Add util method for scaling a clocktime by a fraction. Useful 
20576           implementation is left as an exercise for the reader.
20577
20578 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20579
20580         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20581         If needed, allocate storage in the destination value during
20582         collection.
20583
20584 2005-11-22  Edward Hervey  <edward@fluendo.com>
20585
20586         * docs/gst/gstreamer-sections.txt:
20587         * gst/Makefile.am:
20588         * gst/gst.h:
20589         * gst/gsturitype.c:
20590         * gst/gsturitype.h:
20591         * gst/gstutils.c: (gst_util_set_object_arg):
20592         * tools/gst-compprep.c: (main):
20593         * tools/gst-inspect.c: (print_element_properties_info):
20594         Removed GstURI, closes bug #321061
20595
20596 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20597
20598         * check/gst/gststructure.c: (GST_START_TEST):
20599         * gst/gststructure.c: (gst_structure_parse_value):
20600           Oops, broke automatic string type parsing.
20601           Add a test to catch it in future.
20602
20603 2005-11-22  Andy Wingo  <wingo@pobox.com>
20604
20605         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20606         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20607         Actually rename the function implementations. Grr.
20608
20609 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20610
20611         * check/gst/capslist.h:
20612           Comment test cases
20613         * check/gst/gststructure.c: (GST_START_TEST),
20614         (gst_structure_suite):
20615           Test automatic value type detection in gst_structure_from_string.
20616         * gst/gststructure.c: (gst_structure_parse_value):
20617           Add fraction as a type we try and guess automatically in
20618           caps/structure strings.
20619
20620 2005-11-22  Andy Wingo  <wingo@pobox.com>
20621
20622         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20623
20624         * gst/gsttagsetter.h:
20625         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20626         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20627         (gst_tag_setter_add_tag_valist)
20628         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20629         _add_values, _add_valist, and _add_valist_values. Since this is an
20630         interface the function suffixes should be more explicit so
20631         language binding don't end up with element.add_valist ->
20632         gst_tag_setter_add_valist, for example. Fixes #322069.
20633
20634 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20635
20636         * check/gst/gstcaps.c: (GST_START_TEST):
20637           Extend caps string tests to check that a caps to string
20638           conversion is reversible and produces the same caps.
20639
20640         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20641           Output "fraction" as the generic type fraction range, so caps
20642           serialisation and deserialisation works.
20643         * check/gst/capslist.h:
20644         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20645           Support 'MIN' and 'MAX' for deserialising fractions.
20646
20647 2005-11-22  Andy Wingo  <wingo@pobox.com>
20648
20649         * gst/gstevent.h (gst_event_new_new_segment)
20650         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20651         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20652         Renamed from *_newsegment, *_buffersize, *_notarget.
20653
20654         * scripts/update-funcnames: New script, performs the changes
20655         listed above.
20656
20657 2005-11-22  Wim Taymans  <wim@fluendo.com>
20658
20659         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20660         Make sure the GstFlowReturn is returned.
20661
20662         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20663         (gst_bus_add_signal_watch):
20664         * gst/gstbus.h:
20665         add gst_bus_add_signal_watch_full.
20666
20667         * gst/gstplugin.c: (gst_plugin_load_file):
20668         Small style cleanup.
20669
20670 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20671
20672         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20673           Block the fakesrc srcpad when we send an event, to avoid
20674           contention on the stream_lock causing random test failures.
20675
20676 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20677
20678         * check/gst/gstvalue.c: (GST_START_TEST):
20679         * gst/gstvalue.c: (gst_value_fraction_subtract):
20680           Fix subtraction.
20681
20682 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20683
20684         * gst/gst.h:
20685           include "gstchildproxy.h"
20686         * gst/gstchildproxy.h:
20687         * libs/gst/controller/gstcontroller.h:
20688           use G_GNUC_NULL_TERMINATED
20689
20690 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20691
20692         * check/gst/capslist.h:
20693         * check/gst/gstcaps.c: (GST_START_TEST):
20694         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20695         * gst/gststructure.c: (gst_structure_parse_range),
20696         (gst_structure_fixate_field_nearest_fraction):
20697         * gst/gststructure.h:
20698         * gst/gstvalue.c: (gst_value_init_fraction_range),
20699         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20700         (gst_value_collect_fraction_range),
20701         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20702         (gst_value_set_fraction_range_full),
20703         (gst_value_get_fraction_range_min),
20704         (gst_value_get_fraction_range_max),
20705         (gst_value_serialize_fraction_range),
20706         (gst_value_transform_fraction_range_string),
20707         (gst_value_compare_fraction_range),
20708         (gst_value_deserialize_fraction_range),
20709         (gst_value_intersect_fraction_fraction_range),
20710         (gst_value_intersect_fraction_range_fraction_range),
20711         (gst_value_subtract_fraction_fraction_range),
20712         (gst_value_subtract_fraction_range_fraction),
20713         (gst_value_subtract_fraction_range_fraction_range),
20714         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20715         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20716         (gst_value_transform_string_fraction), (_gst_value_initialize):
20717         * gst/gstvalue.h:
20718           Implement fraction ranges and extend GstFraction to support
20719           arithmetic subtraction, as well as deserialization from integer
20720           strings such as "100"
20721           Add a testsuite as for int and double range set operations
20722
20723 2005-11-21  Andy Wingo  <wingo@pobox.com>
20724
20725         * gst/gsttaglist.h: 
20726         * gst/gstcaps.h: 
20727         * gst/gststructure.h: Add glib-compat.h.
20728
20729 2005-11-21  Wim Taymans  <wim@fluendo.com>
20730
20731         * gst/gstbin.c: (gst_bin_change_state_func):
20732         Fix for #321595
20733
20734 2005-11-21  Wim Taymans  <wim@fluendo.com>
20735
20736         * gst/gstsegment.h:
20737         And add a nice define too.
20738
20739 2005-11-21  Wim Taymans  <wim@fluendo.com>
20740
20741         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20742         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20743         (gst_segment_set_duration), (gst_segment_set_last_stop),
20744         (gst_segment_set_seek), (gst_segment_set_newsegment),
20745         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20746         (gst_segment_clip):
20747         * gst/gstsegment.h:
20748         Make binding friendly.
20749
20750 2005-11-21  Andy Wingo  <wingo@pobox.com>
20751
20752         * gst/gsttagsetter.h: 
20753         * gst/gsttaglist.h: 
20754         * gst/gststructure.h: 
20755         * gst/gstcaps.h: 
20756         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20757         #319940.
20758
20759         * gst/gsterror.c (_gst_core_errors_init):
20760         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20761         category.
20762
20763         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20764         (noinst_HEADERS): noinst the -private.
20765
20766 2005-11-21  Michael Smith <msmith@fluendo.com>
20767
20768         * gst/gstplugin.h:
20769         * gst/gstregistry.h:
20770           Remove unimplemented declarations for which we can see no sensible
20771           use.
20772
20773 2005-11-21  Andy Wingo  <wingo@pobox.com>
20774
20775         * gst/gst.h: Include glib-compat.h.
20776
20777         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20778
20779         * gst/glib-compat.c: Include the public and the private header.
20780
20781         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20782
20783         * gst/gstvalue.c: 
20784         * gst/gstpad.c: 
20785         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20786
20787         * check/gst/gstevent.c (create_custom_events): Check that
20788         FLUSH_STOP is serialized.
20789
20790         * check/elements/identity.c (event_func): 
20791         * check/elements/fakesrc.c (event_func): No stream lock, the core
20792         takes it.
20793
20794         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20795         stream lock taking, yay.
20796
20797         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20798         ensure that core takes the stream lock.
20799
20800         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20801         lock name change.
20802
20803         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20804         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20805         it already. For the flush start we do take it though so we get the
20806         right preroll state change messages.
20807
20808         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20809         the stream lock here, the core does it for us.
20810
20811         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20812         GST_STREAM_GET_LOCK.
20813         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20814         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20815         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20816         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20817         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20818         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20819
20820         * gst/gstpad.c: Update for stream lock name change.
20821
20822         * gst/base/gstbasesink.c: Update for preroll lock name change.
20823
20824 2005-11-21  Wim Taymans  <wim@fluendo.com>
20825
20826         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20827         (gst_clock_get_master):
20828         * gst/gstclock.h:
20829         * gst/gstsystemclock.c: (gst_system_clock_init):
20830         Convert Clock flags to object flags.
20831         Added methods to manage master/slave clocks.
20832
20833 2005-11-21  Wim Taymans  <wim@fluendo.com>
20834
20835         * check/gst/gstsegment.c: (GST_START_TEST):
20836         * docs/design/part-TODO.txt:
20837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20838         (gst_base_sink_event), (gst_base_sink_do_sync),
20839         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20840         (gst_base_sink_query), (gst_base_sink_change_state):
20841         * gst/base/gstbasesink.h:
20842         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20843         (gst_base_src_default_newsegment),
20844         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20845         (gst_base_src_get_range), (gst_base_src_loop),
20846         (gst_base_src_change_state):
20847         * gst/base/gstbasesrc.h:
20848         * gst/base/gstbasetransform.c:
20849         (gst_base_transform_prepare_output_buf),
20850         (gst_base_transform_event), (gst_base_transform_change_state):
20851         * gst/base/gstbasetransform.h:
20852         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20853         (gst_collect_pads_event):
20854         * gst/base/gstcollectpads.h:
20855         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20856         (gst_fake_src_create):
20857         * gst/elements/gstfakesrc.h:
20858         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20859         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20860         (gst_segment_set_last_stop), (gst_segment_set_seek),
20861         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20862         (gst_segment_to_running_time), (gst_segment_clip):
20863         * gst/gstsegment.h:
20864         More segment updates, replace code in plugins with segment
20865         helper functions.
20866
20867 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20868
20869         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20870         Don't ignore sscanf results
20871
20872 2005-11-21  Andy Wingo  <wingo@pobox.com>
20873
20874         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20875
20876         * *.h:
20877         * *.c: Ran scripts/update-macros. Oh yes.
20878
20879         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20880         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20881         GST_GET_LOCK, etc.
20882
20883         * scripts/update-macros: New script. Run it on your files to
20884         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20885         well.
20886
20887 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20888
20889         * docs/gst/Makefile.am:
20890         * docs/gst/gstreamer-docs.sgml:
20891         * docs/gst/gstreamer-sections.txt:
20892         * docs/gst/gstreamer.types:
20893         * gst/gstinfo.h:
20894           more docs fixes, add new api to the docs
20895
20896 2005-11-21  Andy Wingo  <wingo@pobox.com>
20897
20898         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20899         state_broadcast call.
20900
20901         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20902
20903 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20904
20905         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20906         function calls for arrays.
20907
20908 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20909
20910         * docs/random/ensonic/media-device-daemon.txt:
20911           wild idea, can this be done?
20912         * docs/gst/gstreamer-sections.txt:
20913         * gst/gsterror.h:
20914         * gst/gstfilter.c:
20915         * gst/gstfilter.h:
20916         * gst/gstplugin.h:
20917         * gst/gstpluginfeature.c:
20918         * gst/gsttrace.c:
20919         * gst/gstvalue.c:
20920         * gst/gstvalue.h:
20921           doc fixes and additions
20922
20923 2005-11-21  Andy Wingo  <wingo@pobox.com>
20924
20925         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20926         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20927         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20928         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20929         private to the basesrc implementation.
20930
20931         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20932         behalf of event function if necessary. It should no longer be
20933         necessary to take the stream lock in pad's event functions. Fixes
20934         #320299.
20935
20936 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20937         * docs/gst/gstreamer-sections.txt:
20938         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20939         (gst_structure_fixate_field_nearest_double),
20940         (gst_structure_fixate_field_boolean):
20941         * gst/gststructure.h:
20942         * win32/common/libgstreamer.def:
20943         * win32/gstreamer.def:
20944
20945         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20946         (#322027)
20947
20948 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20949
20950         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20951         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20952         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20953         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20954         (gst_fdsrc_uri_handler_init):
20955         * gst/elements/gstfdsrc.h:
20956           Port fd:// URI handler from 0.8 to fdsrc
20957
20958 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20959
20960         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20961         (gst_value_serialize_fourcc):
20962         * gst/gstvalue.h:
20963           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20964           consistent with our other format defines (#320324).
20965
20966 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20967
20968         * gst/gstvalue.c: (gst_value_is_fixed):
20969           Revert previous commit. Value lists are by definition
20970           not fixed, as they are a list of possible values.
20971
20972 2005-11-21  Andy Wingo  <wingo@pobox.com>
20973
20974         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20975         during the stable series if we need it. Fixes #319178.
20976
20977         * gst/gstevent.c (gst_event_new_filler): Removed.
20978
20979         * check/gst/gstevent.c: Update comment about filler events.
20980
20981 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20982
20983         * gst/gstvalue.c: (gst_value_is_fixed):
20984           Should handle both value arrays and value lists.
20985
20986 2005-11-21  Andy Wingo  <wingo@pobox.com>
20987
20988         patch by: Alessandro Dessina <alessandro nnva org>
20989
20990         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
20991         functions to access arrays. Fixes #321962.
20992
20993 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20994
20995         * docs/gst/gstreamer.types:
20996           gst_collectpads_get_type => gst_collect_pads_get_type.
20997           
20998         * gst/base/gstbasetransform.c:
20999           Remove unused SIGNAL_HANDOFF enum.
21000
21001 2005-11-21  Andy Wingo  <wingo@pobox.com>
21002
21003         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21004         the event type (upstream, downstream, serialized). Renamed
21005         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21006         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21007         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21008
21009         * gst/gstevent.c: Update for new CUSTOM event names.
21010
21011         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21012
21013         * gst/gstevent.h:
21014         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21015         bug #319392.
21016
21017 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21018
21019         * docs/gst/gstreamer-sections.txt:
21020         * win32/common/libgstbase.def:
21021         * win32/libgstbase.def:
21022         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21023         (gst_collect_pads_class_init), (gst_collect_pads_init),
21024         (gst_collect_pads_finalize), (gst_collect_pads_new),
21025         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21026         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21027         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21028         (gst_collect_pads_start), (gst_collect_pads_stop),
21029         (gst_collect_pads_peek), (gst_collect_pads_pop),
21030         (gst_collect_pads_available), (gst_collect_pads_read),
21031         (gst_collect_pads_flush), (gst_collect_pads_event),
21032         (gst_collect_pads_chain):
21033         * gst/base/gstcollectpads.h:
21034           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21035           unimplemented functions as unimplemented. Add padding to
21036           GstCollectData. (#320766, #320423)
21037
21038 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21039
21040         * gst/gstmessage.c:
21041           Improve docs for DURATION message (usage of duration parameter)
21042           (#320113)
21043
21044 2005-11-20  Wim Taymans  <wim@fluendo.com>
21045
21046         * check/Makefile.am:
21047         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21048         (main):
21049         * gst/Makefile.am:
21050         * gst/gst.h:
21051         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21052         (gst_segment_set_seek), (gst_segment_set_newsegment),
21053         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21054         (gst_segment_clip):
21055         * gst/gstsegment.h:
21056         Added segment helper structure and methods. Not fully implemented
21057         yet.
21058         Added segment check.
21059
21060 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21061
21062         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21063           Add a deserialisation test for fractions
21064         * examples/metadata/read-metadata.c: (message_loop),
21065         (make_pipeline), (main):
21066           Fix up metadata reading sample.
21067         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21068           Debug format fix
21069         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21070           Don't try and fixate empty caps
21071         * gst/gst_private.h:
21072           Wrap in G_BEGIN_DECLS/G_END_DECLS
21073         * gst/gstvalue.c: (gst_value_collect_fraction),
21074         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21075         (gst_value_transform_string_fraction),
21076         (gst_value_compare_fraction):
21077           Add some extra guards to ensure that we don't end up 
21078           with an invalid denominator of 0 in a gstfraction and
21079           that fractions always get reduced.
21080
21081 2005-11-20  Wim Taymans  <wim@fluendo.com>
21082
21083         * docs/gst/gstreamer-sections.txt:
21084         * gst/gstbuffer.h:
21085         * gst/gstelement.c:
21086         * gst/gstformat.c:
21087         * gst/gstformat.h:
21088         * gst/gstindex.h:
21089         * gst/gstquery.c:
21090         * gst/gstquery.h:
21091         * gst/gstvalue.c:
21092         Doc fixes.
21093
21094 2005-11-20  Wim Taymans  <wim@fluendo.com>
21095
21096         * docs/design/part-TODO.txt:
21097         * gst/gstcaps.h:
21098         Make a proper enum of the flag.
21099
21100 2005-11-19  Wim Taymans  <wim@fluendo.com>
21101
21102         * docs/design/part-TODO.txt:
21103         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21104         (gst_format_to_quark), (gst_format_register):
21105         * gst/gstformat.h:
21106         * gst/gstquery.c: (_gst_query_initialize),
21107         (gst_query_type_get_name), (gst_query_type_to_quark),
21108         (gst_query_type_register):
21109         * gst/gstquery.h:
21110         Add type to quark and type to string conversions.
21111
21112 2005-11-19  Andy Wingo  <wingo@pobox.com>
21113
21114         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21115         #320097.
21116
21117 2005-11-19  Wim Taymans  <wim@fluendo.com>
21118
21119         * docs/design/part-TODO.txt:
21120         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21121         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21122         (gst_bin_handle_message_func):
21123         * gst/gstbin.h:
21124         Make message handling overridable.
21125
21126 2005-11-19  Andy Wingo  <wingo@pobox.com>
21127
21128         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21129
21130         * gst/gstclock.h:
21131         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21132         be a GstClockTime.
21133         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21134         is a GstClockTime. Fixes #321710.
21135
21136         * gst/gstclock.h (GstClock): Remove offset property. Add
21137         internal_calibration and external_calibration. Fix padding. Pad
21138         also by GstClockTime so we don't run into problems.
21139
21140         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21141         (gst_clock_get_rate_offset): Remove.
21142         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21143
21144         * gst/gstutils.h:
21145         * gst/gstutils.c (g_static_rec_cond_wait)
21146         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21147
21148         * gst/gstbin.c: Remove terrible continue_state prototype.
21149
21150         * gst/gstelement.h (gst_element_continue_state): Make public.
21151
21152         * gst/gstelement.h:
21153         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21154         by continue_state. Fixes #319389.
21155
21156         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21157         Really fixes #168438. However I don't see anywhere where the
21158         filter function is called... stupid GStreamer...
21159         
21160         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21161         don't have a dispose function, so it won't get called when the
21162         object is unreffed, but oh well!
21163
21164         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21165         allows a destroy function to be set so user_data can be freed.
21166         Fixes #168438.
21167         (gst_index_set_filter): Call gst_index_set_filter_full.
21168
21169         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21170
21171         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21172         string should produce an error, given the lack of a way to
21173         represent NULL strings. Fixes #165650.
21174         
21175         * gst/gstvalue.h: 
21176         * gst/gstvalue.c (gst_value_array_append_value) 
21177         (gst_value_array_prepend_value, gst_value_array_get_size) 
21178         (gst_value_array_get_value): New API, copied from
21179         gst_value_list_*, only operates on arrays.
21180         (gst_value_list_append_value, gst_value_list_prepend_value) 
21181         (gst_value_list_concat, gst_value_list_get_size) 
21182         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21183
21184         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21185         init_list, because it works on both.
21186         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21187         (gst_value_copy_list_or_array): Renamed from copy_list.
21188         (gst_value_free_list_or_array): Renamed from free_list.
21189         (gst_value_collect_list_or_array): Renamed from collect_list.
21190         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21191         (gst_value_list_or_array_peek_pointer): Renamed from
21192         list_peek_pointer.
21193         (_gst_value_array_value_table, _gst_value_list_value_table):
21194         Update value table functions.
21195         (gst_value_compare_list_or_array): Renamed from compare_list.
21196
21197         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21198         some constness.
21199
21200         * gst/gsttaglist.c:
21201         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21202         GstTagList*. Fixes #143472.
21203
21204         * gst/gststructure.h: Clarify what the foreach/map functions can
21205         or can't do to their arguments.
21206
21207 2005-11-18  Wim Taymans  <wim@fluendo.com>
21208
21209         * gst/gstclock.c: (gst_clock_set_calibration),
21210         (gst_clock_get_calibration):
21211         Doc and API fixes.
21212         Calibration can be set with internal time equal to current
21213         internal time too.
21214
21215 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21216
21217         * gst/gsterror.c:
21218         * gst/gsterror.h:
21219           document
21220
21221 2005-11-18  Andy Wingo  <wingo@pobox.com>
21222
21223         * configure.ac: 
21224         * pkgconfig/gstreamer-net.pc.in:
21225         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21226         * pkgconfig/Makefile.am: Add net pkgconfig files.
21227
21228 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21229
21230         * gst/gstcaps.c:
21231         * gst/gstghostpad.c:
21232         * gst/gsttrace.c:
21233         * gst/gstvalue.c:
21234         * gst/gstvalue.h:
21235           docs fixes
21236
21237 2005-11-18  Andy Wingo  <wingo@pobox.com>
21238
21239         * gst/net/gstnetclientclock.c: Turn off debugging.
21240
21241         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21242         times connverge somewhat. Can't make a real test.
21243
21244         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21245         integer arithmetic. Return the minimum of the domain, which can be
21246         set as "internal" for gst_clock_set_calibration.
21247         (gst_net_client_clock_observe_times): Call _set_calibration.
21248         (gst_net_client_clock_new): Call _set_calibration instead of
21249         rate_offset.
21250
21251         * check/net/gstnetclientclock.c (test_functioning): Use the right
21252         adjustment api.
21253
21254         * gst/gstclock.h:
21255         * gst/gstclock.c (gst_clock_get_calibration) 
21256         (gst_clock_set_calibration): New functions, obsolete the ones I
21257         added yesterday. Doh. Precision issues mean we have to extrapolate
21258         from a point in the more recent past than 1970.
21259         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21260         obsolete.
21261         (gst_clock_adjust_unlocked): Use the right calibration data.
21262
21263 2005-11-18  Edward Hervey  <edward@fluendo.com>
21264
21265         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21266         Also reset the ->current_* values in READY->PAUSED
21267
21268 2005-11-18  Andy Wingo  <wingo@pobox.com>
21269
21270         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21271         Whoops, check the right fd. Also add some debugging.
21272         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21273         (do_linear_regression): Add a crapload of debugging. Subtract off
21274         the minimum values from the input series to discard unneeded bits.
21275         Use only int arithmetic. There is still double arithmetic when
21276         calculating the intercept that needs fixing. Return boolean to
21277         indicate success; FALSE would mean the domain or range is too
21278         great. Still needs fixes.
21279
21280 2005-11-18  Wim Taymans  <wim@fluendo.com>
21281
21282         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21283         For the current position in stream time, we need to subtract
21284         accumulated time.
21285         
21286         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21287         Release lock before calling the callback function of async
21288         entries.
21289
21290 2005-11-18  Andy Wingo  <wingo@pobox.com>
21291
21292         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21293         Port goes all the way to MAXUINT16.
21294
21295         * gst/net/gstnettimeprovider.c: Make the port range the same as
21296         for the kernel: 0 assigns, otherwise ports are less than
21297         MAXUINT16.
21298
21299         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21300         port change.
21301
21302         * check/net/gstnetclientclock.c (test_functioning): Add the start
21303         of another test. 
21304
21305 2005-11-18  Wim Taymans  <wim@fluendo.com>
21306
21307         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21308         (gst_bin_remove_func), (bin_bus_handler):
21309         * gst/gstbin.h:
21310         Removing a clock provider from a bin, triggers a clock lost message
21311         so that a new clock will be selected.
21312         Adding a clock to a bin triggers a clock provider message.
21313         Make sure we reselect a clock when we received a clock lost message.
21314         Keep a reference to the element that provided the clock.
21315
21316 2005-11-18  Andy Wingo  <wingo@pobox.com>
21317
21318         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21319         the clock initially so it produces values around the base time.
21320         (gst_net_client_clock_class_init): Typo fix.
21321         (gst_net_client_clock_thread): Add note on when the socket gets
21322         closed.
21323
21324 2005-11-17  Wim Taymans  <wim@fluendo.com>
21325
21326         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21327         Free remote and local time arrays.
21328
21329 2005-11-17  Wim Taymans  <wim@fluendo.com>
21330
21331         * gst/net/gstnetclientclock.c: (do_linear_regression),
21332         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21333         Fix compilation, uninitialized vars and a forgotten continue.
21334
21335 2005-11-17  Andy Wingo  <wingo@pobox.com>
21336
21337         * check/Makefile.am (check_PROGRAMS): 
21338         * check/net/gstnetclientclock.c: Add a most minimal test for the
21339         net client clock. More to come later.
21340
21341         * gst/net/gstnet.h: 
21342         * gst/net/Makefile.am: Add netclientclock.
21343
21344         * gst/net/gstnetclientclock.h:
21345         * gst/net/gstnetclientclock.c: New files, implement an untested
21346         GstClock that takes its time from a network time provider.
21347         Implements the algorithm in network-clock.scm.
21348
21349         * tests/network-clock.scm (*window-size*): Rename from
21350         *queue-length*.
21351         * tests/network-clock.scm (network-time): 
21352         * tests/network-clock-utils.scm (q-push): Update callers.
21353
21354 2005-11-17  Wim Taymans  <wim@fluendo.com>
21355
21356         * gst/gstbin.c: (gst_bin_provide_clock_func),
21357         (gst_bin_sort_iterator_new):
21358         And unref the child too..
21359
21360 2005-11-17  Wim Taymans  <wim@fluendo.com>
21361
21362         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21363         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21364         Refactor the sort iterator so it can be used while holding the
21365         LOCK too.
21366         Make clock selection select a clock closest to the source.
21367
21368 2005-11-17  Michael Smith <msmith@fluendo.com>
21369
21370         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21371         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21372         * gst/gstclock.h:
21373           Anonymous structs are a gcc (and some other compilers) extension, so
21374           don't use them. Since this is only for ABI-compatibility, and our
21375           API/ABI freeze is over in a few days, this whole thing will only
21376           last a few days, so don't bother trying to think up a meaningful
21377           name for the struct.
21378
21379 2005-11-17  Andy Wingo  <wingo@pobox.com>
21380
21381         * gst/gstclock.h (GstClock): Add rate and offset properties,
21382         preserving ABI stability. Add rate/offset accessors. Will file bug
21383         for the freeze break.
21384
21385         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21386         and offset, trying to keep precision and avoiding
21387         underflow/overflow.
21388         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21389         functions. Make gst_clock_set_time_adjust obsolete.
21390         (gst_clock_set_time_adjust): Note that this function is obsolete.
21391         Will file bug soon.
21392
21393         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21394         greppable by using GST_PADDING-1+1.
21395
21396 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21397
21398         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21399
21400         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21401           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21402
21403         * gst/gstpadtemplate.h:
21404         * gst/gstpluginfeature.h:
21405           Don't use c++ style comments in headers (#321638).
21406
21407 2005-11-16  Andy Wingo  <wingo@pobox.com>
21408
21409         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21410         buffer.
21411
21412         * check/net/gstnettimeprovider.c: Check to see that the time
21413         provider actually provides times. Works, yo!
21414
21415 2005-11-16  Wim Taymans  <wim@fluendo.com>
21416
21417         * check/Makefile.am:
21418         Enable more tests.
21419
21420         * check/elements/fakesrc.c: (GST_START_TEST):
21421         Set element to NULL before disposing it.
21422
21423 2005-11-16  Andy Wingo  <wingo@pobox.com>
21424
21425         * gst/net/Makefile.am:
21426         * gst/net/gstnet.h:
21427         * gst/net/gstnettimeprovider.c: 
21428         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21429         provider, include it from gstnet.h, and add it to the build.
21430
21431         * gst/net/gstnettimepacket.h: 
21432         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21433         sending and receiving.
21434
21435 2005-11-16  Wim Taymans  <wim@fluendo.com>
21436
21437         * check/Makefile.am:
21438         Enable valgrind check.
21439
21440         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21441         (gst_fake_src_alloc_buffer):
21442         Fix memleak.
21443
21444 2005-11-16  Wim Taymans  <wim@fluendo.com>
21445
21446         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21447         Call parent finalize too.
21448
21449 2005-11-16  Wim Taymans  <wim@fluendo.com>
21450
21451         * check/Makefile.am:
21452         Enable valgrind check that should work fine now.
21453
21454         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21455         * gst/gstqueue.c: (gst_queue_init):
21456         Fix memleaks in pad allocation.
21457
21458 2005-11-16  Andy Wingo  <wingo@pobox.com>
21459
21460         * gst/net/Makefile.am:
21461         * gst/net/gstnet.h: New part of core to hold network elements and
21462         objects. Put in core because it exposes API that applications want
21463         to use. The library is named libgstnet-tempname right now because
21464         of the existing libgstnet in gst-plugins-base. Solution is
21465         probably to rename the one in plugins-base; will file a bug for
21466         the freeze break.
21467
21468         * gst/net/gstnettimeprovider.c: 
21469         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21470         get_time call over the network.
21471
21472         * configure.ac: 
21473         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21474
21475         * check/Makefile.am:
21476         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21477         get additions shortly.
21478
21479 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21480
21481         * gst/gstpad.c: (gst_pad_new_from_static_template):
21482         * gst/gstpad.h:
21483           add gst_pad_new_from_static_template functions
21484         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21485         (gst_check_setup_sink_pad):
21486         * gst/elements/gsttee.c: (gst_tee_init):
21487           and use them
21488
21489 2005-11-16  Wim Taymans  <wim@fluendo.com>
21490
21491         * gst/gstpad.c: (gst_pad_pause_task):
21492         Removed warning, it's not really an error either.
21493
21494 2005-11-16  Wim Taymans  <wim@fluendo.com>
21495
21496         * gst/base/gstbasetransform.c:
21497         (gst_base_transform_prepare_output_buf),
21498         (gst_base_transform_event):
21499         Check if the caps are NULL, this can happen if the element
21500         is shutting down and the pad caps are set to NULL.
21501
21502 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21503
21504         * gst/elements/gsttee.c: (gst_tee_init):
21505           fix pad template leak in tee
21506
21507 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21508
21509         * gst/glib-compat.c: (g_value_dup_gst_object):
21510         * gst/glib-compat.h:
21511         * gst/gstpad.c: (gst_pad_set_property):
21512           use gst_object_ref when setting the pad template; this will
21513           trigger the pad template leaks on GLib 2.6 and the slaves
21514
21515 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21516
21517         * gst/glib-compat.c: (gst_flags_get_first_value):
21518         * gst/glib-compat.h:
21519         * gst/gstregistryxml.c:
21520           remove functions copied from GLib 2.6
21521
21522 2005-11-16  Michael Smith <msmith@fluendo.com>
21523
21524         * gst/Makefile.am:
21525           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21526           do, but only breaks with newer valgrind versions. We're not a
21527           valgrind tool, we have no link-time dependencies on libcoregrind.
21528
21529 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21530
21531         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21532           some debug changes
21533         * gst/gstmessage.h:
21534           typo fixes
21535
21536 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21537
21538         * gst/base/gstbasesrc.c: (gst_base_src_init):
21539         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21540         * gst/gstqueue.c: (gst_queue_init):
21541         * gst/gstregistryxml.c: (load_feature):
21542           Revert all these unrefs, they don't even pass make check !
21543
21544 2005-11-15  Johan Dahlin  <johan@gnome.org>
21545
21546         * gst/base/gstbasesrc.c: (gst_base_src_init):
21547         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21548         * gst/gstqueue.c: (gst_queue_init): 
21549         Free pad templates, fixes a couple of leaks.
21550
21551 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21552
21553         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21554
21555         * gst/gstpad.c: (gst_pad_get_property):
21556           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21557           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21558           (#321452)
21559
21560 2005-11-15  Wim Taymans  <wim@fluendo.com>
21561
21562         * gst/gstevent.c:
21563         Small doc update.
21564
21565 2005-11-15  Andy Wingo  <wingo@pobox.com>
21566
21567         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21568
21569         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21570         using GST_CLOCK_TIME_NONE to disable base time management.
21571         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21572         time if it was NONE before.
21573         (gst_pipeline_change_state): Only munge the base time if
21574         stream_time != GST_CLOCK_TIME_NONE.
21575
21576         * check/gst/gstpipeline.c (test_base_time): Punt around the
21577         problem of the probe not being called, because that's not the
21578         issue I'm looking at. Add a check that setting stream_time to NONE
21579         disables base time management.
21580         
21581 2005-11-15  Wim Taymans  <wim@fluendo.com>
21582
21583         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21584         segment_stop == -1 at startup.
21585
21586         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21587         (gst_base_transform_change_state):
21588         Init segment values at start.
21589
21590 2005-11-15  Wim Taymans  <wim@fluendo.com>
21591
21592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21593         0 segment values are 0 in any format.
21594
21595         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21596         * gst/base/gstbasetransform.h:
21597         Parse newsegment correctly in basetransform
21598
21599         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21600         Sync to clock using updated segment values.
21601
21602 2005-11-15  Andy Wingo  <wingo@pobox.com>
21603
21604         * check/gst/gstpipeline.c (test_base_time): Add check that the
21605         base time and stream time are reset correctly.
21606
21607 2005-11-15  Wim Taymans  <wim@fluendo.com>
21608
21609         * docs/design/part-TODO.txt:
21610         Some more TODO items.
21611
21612 2005-11-15  Andy Wingo  <wingo@pobox.com>
21613
21614         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21615         error if the user selected "no clock" as the clocking method.
21616
21617         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21618         timestamps with live capture.
21619
21620         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21621         is 0 but we are a live source, timestamp the buffers using the
21622         element's clock.
21623
21624 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21625
21626         * docs/gst/gstreamer-sections.txt:
21627         * gst/gsterror.c:
21628         * gst/gstghostpad.c:
21629         * gst/gstobject.h:
21630         * gst/gstxml.c:
21631           more section docs
21632
21633 2005-11-14  Wim Taymans  <wim@fluendo.com>
21634
21635         * common/gst.supp:
21636           add suppressions from Wim's Debian machine
21637
21638 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21639
21640         * common/gst.supp:
21641           add suppressions from Andy's AMD64 Ubuntu machine
21642
21643 2005-11-14  Andy Wingo  <wingo@pobox.com>
21644
21645         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21646         STATE_LOCK not necessary. Fixes #311489.
21647
21648         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21649         #305291.
21650
21651         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21652         this function is not implemented.
21653
21654 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21655
21656         * gst/base/gstbasetransform.c:
21657         (gst_base_transform_prepare_output_buf):
21658         Ref the source pad caps while we need them.
21659         Fixes (#321386)
21660
21661 2005-11-11  Wim Taymans  <wim@fluendo.com>
21662
21663         * docs/gst/gstreamer-sections.txt:
21664         Added some docs for GstCollectData.
21665
21666         * gst/base/gstadapter.c:
21667         Some small code example fix.
21668
21669         * gst/base/gstcollectpads.c:
21670         * gst/base/gstcollectpads.h:
21671         Document some more.
21672
21673 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21674
21675         * configure.ac: back to HEAD
21676
21677 === release 0.9.5 ===
21678
21679 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21680
21681         * configure.ac:
21682           releasing 0.9.5, "Bike Lunch Day"
21683
21684 2005-11-11  Wim Taymans  <wim@fluendo.com>
21685
21686         * gst/gstbuffer.c: (_gst_buffer_copy):
21687         Copy more flags.
21688
21689         * gst/gstcaps.c: (gst_caps_is_equal):
21690         Fix some docs.
21691         Make _is_equal fast in the trivial cases.
21692
21693         * gst/gstminiobject.c:
21694         * gst/gstminiobject.h:
21695         More docs. Spifify .h file.
21696
21697         * gst/gstutils.c:
21698         Small doc update.
21699
21700 2005-11-11  Wim Taymans  <wim@fluendo.com>
21701
21702         * gst/base/gstbasetransform.c:
21703         (gst_base_transform_prepare_output_buf),
21704         (gst_base_transform_handle_buffer):
21705         Small cleanups.
21706         If we're processing a buffer and need to allocate an output
21707         buffer, we cannot accept a format change. If we did get a 
21708         format change, we have to alloc a buffer ourselves of the 
21709         right size.
21710
21711 2005-11-11  Wim Taymans  <wim@fluendo.com>
21712
21713         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21714         While checking the flag for reentrancy in the gstcaps function
21715         is nice to detect recursive invocations, it also makes it 
21716         impossible to call getcaps from multiple threads, which must be
21717         possible. So, checking for recursive calls has to go.
21718
21719 2005-11-11  Michael Smith <msmith@fluendo.com>
21720
21721         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21722           Don't sync on buffers that fall partially outside our current
21723           segment. Prevents an assertion failure/abort playing some files.
21724
21725 2005-11-10  Andy Wingo  <wingo@pobox.com>
21726
21727         * check/gst/gstbin.c (test_message_state_changed_children): Style
21728         fix..
21729
21730         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21731         gst_bus_poll with the signal watch. Ensures that poll and a signal
21732         watch see the same messages.
21733
21734         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21735         a poll and a watch at the same time get the same messages.
21736
21737 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21738
21739         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21740         * gst/gstcaps.c: (gst_caps_intersect):
21741           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21742           and it's not needed.
21743
21744 2005-11-10  Wim Taymans  <wim@fluendo.com>
21745
21746         * docs/design/part-TODO.txt:
21747         Updated todo.
21748
21749 2005-11-10  Wim Taymans  <wim@fluendo.com>
21750
21751         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21752         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21753         (gst_base_src_do_sync), (gst_base_src_get_range):
21754         Implement clock sync in base class.
21755
21756 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21757
21758         patch by: Tim-Philipp Müller <tim at centricular dot net>
21759
21760         * gst/gststructure.c: (gst_structure_parse_field),
21761         (gst_structure_from_string):
21762           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21763           so that gst_parse_launch() can deal with spaces in filtered link
21764           caps (fixes #164479)
21765         * check/gst/capslist.h:
21766         * check/gst/gststructure.c: (GST_START_TEST):
21767           add unit tests for this change
21768
21769 2005-11-10  Wim Taymans  <wim@fluendo.com>
21770
21771         * docs/gst/gstreamer-sections.txt:
21772         * gst/gstelement.c:
21773         * gst/gstelement.h:
21774         Fix docs, move some STATE macros to private.
21775
21776 2005-11-10  Wim Taymans  <wim@fluendo.com>
21777
21778         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21779         Added check for bug #317341
21780
21781         * gst/gstbuffer.c:
21782         * gst/gstbuffer.h:
21783         Some more spiffifying.
21784
21785         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21786         Call peer linkfunction if we are a source pad. Totally fixes
21787         #317341
21788
21789         * gst/gstpad.c:
21790         Update docs, source pads should call the peer linkfunction
21791         so they can atomically perform the pad link.
21792
21793 2005-11-09  Wim Taymans  <wim@fluendo.com>
21794
21795         * gst/gstbuffer.c:
21796         * gst/gstbuffer.h:
21797         Uber-spiffy-spiffify some more.
21798
21799 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21800
21801         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21802         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21803         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21804         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21805         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21806         * gst/gstpad.c: (gst_pad_init):
21807           Use GST_DEBUG_FUNCPTR() more extensively.
21808
21809 2005-11-09  Wim Taymans  <wim@fluendo.com>
21810
21811         * gst/gstobject.c: (gst_object_class_init):
21812         * gst/gstobject.h:
21813         Documentation fixes.
21814
21815 2005-11-09  Edward Hervey  <edward@fluendo.com>
21816
21817         * gst/gsttypefindfactory.c:
21818         Fix docs.
21819         
21820 2005-11-09  Edward Hervey  <edward@fluendo.com>
21821
21822         * gst/base/gsttypefindhelper.c:
21823         * gst/gsttypefind.c:
21824         * gst/gsttypefind.h:
21825         Fix docs.
21826
21827 2005-11-09  Wim Taymans  <wim@fluendo.com>
21828
21829         * gst/gstiterator.c:
21830         Fix revision data.
21831
21832         * gst/gsttask.c:
21833         * gst/gsttask.h:
21834         Fix docs.
21835
21836 2005-11-09  Wim Taymans  <wim@fluendo.com>
21837
21838         * gst/gstevent.h:
21839         * gst/gsturi.h:
21840         Fix docs.
21841
21842 2005-11-09  Wim Taymans  <wim@fluendo.com>
21843
21844         * docs/gst/gstreamer-sections.txt:
21845         Moved the message async delivery private lock and cond
21846         to the private section.
21847
21848         * gst/gstmessage.c:
21849         * gst/gstmessage.h:
21850         Fixed docs.
21851
21852 2005-11-09  Edward Hervey  <edward@fluendo.com>
21853
21854         * docs/gst/gstreamer-sections.txt:
21855         * gst/gsturi.c:
21856         * gst/gsturi.h:
21857         Document GstURIHandler
21858
21859 2005-11-09  Wim Taymans  <wim@fluendo.com>
21860
21861         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21862         (gst_iterator_find_custom):
21863         * gst/gstiterator.h:
21864         Fix iterator docs.
21865
21866 2005-11-09  Wim Taymans  <wim@fluendo.com>
21867
21868         * gst/gstbin.h:
21869         Document another field.
21870
21871         * gst/gststructure.c:
21872         * gst/gststructure.h:
21873         Document.
21874
21875 2005-11-09  Wim Taymans  <wim@fluendo.com>
21876
21877         * gst/gstbin.h:
21878         Documented structs.
21879
21880 2005-11-09  Wim Taymans  <wim@fluendo.com>
21881
21882         * docs/gst/gstreamer-sections.txt:
21883         Added some new macros.
21884
21885         * gst/gstclock.c:
21886         * gst/gstclock.h:
21887         * gst/gstobject.h:
21888         Docs updates.
21889
21890 2005-11-09  Wim Taymans  <wim@fluendo.com>
21891
21892         * docs/design/part-TODO.txt:
21893         Some more items for the TODO
21894
21895         * gst/gstcaps.c:
21896         * gst/gstcaps.h:
21897         Document GstCaps.
21898
21899 2005-11-09  Andy Wingo  <wingo@pobox.com>
21900
21901         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21902         to work on something else now tho...
21903
21904         * gst/base/gstadapter.c: More adapter docs.
21905
21906         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21907         (gst_file_sink_stop): New functions, replace the state change
21908         handler.
21909         (gst_file_sink_class_init): Hook up the start and stop functions.
21910         (gst_file_sink_base_init): Don't set the state change handler any
21911         more. It was a bit ugly too, being set from here...
21912         (gst_file_sink_get_property, gst_file_sink_set_property):
21913         Cleanups...
21914         (gst_file_sink_set_location): More robust check that doesn't call
21915         GST_STATE. Ugggggg.
21916
21917 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21918
21919         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21920           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21921
21922 2005-11-08  Wim Taymans  <wim@fluendo.com>
21923
21924         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21925         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21926         (gst_base_sink_chain), (gst_base_sink_change_state):
21927         * gst/base/gstbasesink.h:
21928         * gst/base/gstbasesrc.h:
21929         * gst/gstelement.h:
21930         * gst/gstevent.h:
21931         Avoid excessive typechecking in macros.
21932
21933         * gst/gstminiobject.c: (gst_mini_object_get_type),
21934         (gst_mini_object_init), (gst_mini_object_new),
21935         (gst_mini_object_free):
21936         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21937         (gst_object_finalize):
21938         Remove cruft code, optimize alloc_trace.
21939
21940 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21941
21942         * docs/faq/gst-uninstalled:
21943           fix up PS1 for systems that try to reset it
21944
21945 2005-11-07  Wim Taymans  <wim@fluendo.com>
21946
21947         * gst/base/gstbasesrc.c: (gst_base_src_init),
21948         (gst_base_src_get_range):
21949         Set the segment_end to -1 initially. Fixed typefind.
21950
21951 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21952
21953         * gst/base/gstadapter.c:
21954           Debug category should be 'adapter', not 'GstAdapter'.
21955           
21956         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21957         (gst_collectpads_class_init), (gst_collectpads_init),
21958         (gst_collectpads_peek), (gst_collectpads_pop),
21959         (gst_collectpads_event), (gst_collectpads_chain):
21960           Add debug category and some debugging output. Use boilerplate
21961           macros. Remove some extraneous words from docs.
21962
21963 2005-11-05  Andy Wingo  <wingo@pobox.com>
21964
21965         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21966         macro.
21967
21968 2005-11-04  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 added
21977
21978 2005-11-04  Wim Taymans  <wim@fluendo.com>
21979
21980         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21981         Small update to stop at the configured segment_end
21982         position.
21983
21984 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21985
21986         * gst/gstregistry.c:
21987         * gst/gstregistry.h:
21988           added missing docs
21989
21990 2005-11-04  Edward Hervey  <edward@fluendo.com>
21991
21992         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21993         Check if we are doing a segment seek and have arrived at the
21994         end of that segment.
21995
21996 2005-11-04  Wim Taymans  <wim@fluendo.com>
21997
21998         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
21999         Don't leak a mutex unlock in case of an error.
22000
22001         * gst/gstbus.h:
22002         Doc fixes.
22003
22004 2005-11-04  Wim Taymans  <wim@fluendo.com>
22005
22006         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22007         (gst_bus_post):
22008         Get the context to wake up only once.
22009
22010 2005-11-03  Wim Taymans  <wim@fluendo.com>
22011
22012         * check/states/sinks.c: (GST_START_TEST):
22013         Uncomment fixed check.
22014
22015         * docs/design/part-TODO.txt:
22016         Updated TODO.
22017
22018         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22019         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22020         (gst_base_sink_get_position):
22021         If we are going to PLAYING, post the right pending state
22022         when we post the intermediate paused message.
22023
22024         * gst/gstelement.c: (gst_element_continue_state),
22025         (gst_element_set_state_func), (gst_element_change_state):
22026         Don't post state changes that were between the same state
22027         and were not ASYNC.
22028
22029 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22030
22031         * docs/gst/gstreamer-sections.txt:
22032         * gst/gstcaps.h:
22033         * gst/gstinfo.c:
22034         * gst/gstminiobject.h:
22035         * gst/gstobject.h:
22036         * gst/gstutils.h:
22037           more docs and doc style fixes
22038
22039 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22040
22041         * docs/gst/gstreamer-sections.txt:
22042         * gst/gstelement.c:
22043         * gst/gstminiobject.c:
22044         doc fixes
22045
22046 2005-11-03  Andy Wingo  <wingo@pobox.com>
22047
22048         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22049         state-changed messages actually have the right order and the right
22050         values.
22051
22052 2005-11-03  Wim Taymans  <wim@fluendo.com>
22053
22054         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22055         Added some more checks. Specifically the case where NO_PREROLL
22056         elements are in the pipeline.
22057
22058         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22059         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22060         (gst_base_sink_get_position):
22061         Post READY->PAUSED state change messages too.
22062         Fix bug where VOID was posted as pending state...
22063
22064         * gst/gstbin.c: (gst_bin_recalc_state):
22065         use _element_continue_state() to continue the state change.
22066
22067         * gst/gstelement.c: (gst_element_continue_state),
22068         (gst_element_commit_state), (gst_element_set_state_func),
22069         (gst_element_change_state), (gst_element_change_state_func):
22070         Lots of state change cleanups, assign the STATE_RETURN in
22071         a new continue_state() function that also propagates the
22072         last return value from a state change to the app.
22073         Update some debug statements with proper category.
22074
22075 2005-11-03  Wim Taymans  <wim@fluendo.com>
22076
22077         * docs/design/part-events.txt:
22078         * docs/design/part-gstpipeline.txt:
22079         * docs/design/part-messages.txt:
22080         * docs/design/part-overview.txt:
22081         * docs/design/part-seeking.txt:
22082         * docs/design/part-states.txt:
22083         * docs/design/part-trickmodes.txt:
22084         * docs/manual/advanced-position.xml:
22085         Small docs updates.
22086
22087         * gst/gstobject.h:
22088         People think !! is ugly, this looks better.
22089
22090         * gst/gstpad.c: (gst_pad_set_blocked_async):
22091         Remove !! since it's fixed elsewhere now.
22092
22093 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22094
22095         * gst/gstminiobject.h:
22096         * gst/gstobject.h:
22097           Add !! to _FLAG_IS_SET macros to make the result boolean.
22098
22099 2005-11-03  Edward Hervey  <edward@fluendo.com>
22100
22101         * gst/gstpad.c: (gst_pad_set_blocked_async):
22102         comparing a flag and a gboolean rarely returns coherent results...
22103         Added two characters (!!) to make that work correctly.
22104         
22105 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22106
22107         * gst/gstbus.c: (gst_bus_class_init):
22108           Fix some typos.
22109           
22110         * gst/gstqueue.c: (gst_queue_loop):
22111           Don't assume a miniobject that isn't a buffer is an
22112           event (it could be that there is a refcounting
22113           problem somewhere and the pointer is stale and
22114           refers to an already destroyed miniobject).
22115
22116 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22117
22118         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22119
22120 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22121
22122         * docs/manual/advanced-position.xml:
22123           Update seek example and explanations to current 0.9 API.
22124
22125         * gst/elements/gsttypefindelement.c:
22126         (gst_type_find_element_activate):
22127           Remove FIXME comment now that the found caps
22128           are unreffed.
22129
22130 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22131
22132         * gst/gstregistryxml.c: (load_feature):
22133           Add another GST_STR_NULL instance
22134
22135 2005-11-02  Edward Hervey  <edward@fluendo.com>
22136
22137         * gst/gstpad.c: (handle_pad_block):
22138         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22139         
22140 2005-11-02  Wim Taymans  <wim@fluendo.com>
22141
22142         * gst/gstbin.c:
22143         Fix typo in docs.
22144
22145         * gst/gstelement.c: (gst_element_commit_state):
22146         Remove unused value.
22147
22148         * gst/gstiterator.c:
22149         Mention that the returned element is reffed in the docs.
22150
22151 2005-11-02  Wim Taymans  <wim@fluendo.com>
22152
22153         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22154         (gst_pad_push), (gst_pad_push_event):
22155         Unlock blocked pads when they are flushed.
22156
22157 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22158
22159         * docs/README:
22160         * docs/gst/gstreamer-sections.txt:
22161         * gst/gstbin.c:
22162           doc updates
22163         * gst/gstregistry.c: (gst_registry_scan_path_level):
22164           fix for a nasty little missed situation where an installed plug-in
22165           which was in the cache did not get overridden by an uninstalled one
22166           which was earlier in the plugin path because the newly created plugin
22167           for the uninstalled one (not in the registry) didn't get its
22168           ->registered set to TRUE
22169
22170 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22171
22172         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22173         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22174         (gst_collectpads_is_active), (gst_collectpads_collect),
22175         (gst_collectpads_collect_range), (gst_collectpads_start),
22176         (gst_collectpads_stop), (gst_collectpads_peek),
22177         (gst_collectpads_pop), (gst_collectpads_available),
22178         (gst_collectpads_read), (gst_collectpads_flush):
22179           Guard public API with assertions.
22180         
22181         * gst/gstpad.c:
22182           Fix docs for gst_pad_set_link_function().
22183
22184 2005-11-02  Johan Dahlin  <johan@gnome.org>
22185
22186         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22187         Unref found_caps after we used it.
22188
22189 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22190
22191         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22192           Don't try to ref NULL.
22193
22194 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22195
22196         * win32/common/config.h.in:
22197           provide a GST_FUNCTION that just gives a string for now
22198
22199 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22200
22201         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22202         (gst_object_flags_get_type), (register_gst_bin_flags),
22203         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22204         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22205         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22206         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22207         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22208         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22209         (gst_clock_flags_get_type), (register_gst_state),
22210         (gst_state_get_type), (register_gst_state_change_return),
22211         (gst_state_change_return_get_type), (register_gst_state_change),
22212         (gst_state_change_get_type), (register_gst_element_flags),
22213         (gst_element_flags_get_type), (register_gst_core_error),
22214         (gst_core_error_get_type), (register_gst_library_error),
22215         (gst_library_error_get_type), (register_gst_resource_error),
22216         (gst_resource_error_get_type), (register_gst_stream_error),
22217         (gst_stream_error_get_type), (register_gst_event_type),
22218         (gst_event_type_get_type), (register_gst_seek_type),
22219         (gst_seek_type_get_type), (register_gst_seek_flags),
22220         (gst_seek_flags_get_type), (register_gst_format),
22221         (gst_format_get_type), (register_gst_index_certainty),
22222         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22223         (gst_index_entry_type_get_type),
22224         (register_gst_index_lookup_method),
22225         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22226         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22227         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22228         (gst_index_flags_get_type), (register_gst_debug_level),
22229         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22230         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22231         (gst_iterator_result_get_type), (register_gst_iterator_item),
22232         (gst_iterator_item_get_type), (register_gst_message_type),
22233         (gst_message_type_get_type), (register_gst_mini_object_flags),
22234         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22235         (gst_pad_link_return_get_type), (register_gst_flow_return),
22236         (gst_flow_return_get_type), (register_gst_activate_mode),
22237         (gst_activate_mode_get_type), (register_gst_pad_direction),
22238         (gst_pad_direction_get_type), (register_gst_pad_flags),
22239         (gst_pad_flags_get_type), (register_gst_pad_presence),
22240         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22241         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22242         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22243         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22244         (gst_plugin_flags_get_type), (register_gst_rank),
22245         (gst_rank_get_type), (register_gst_query_type),
22246         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22247         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22248         (gst_tag_flag_get_type), (register_gst_task_state),
22249         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22250         (gst_alloc_trace_flags_get_type),
22251         (register_gst_type_find_probability),
22252         (gst_type_find_probability_get_type), (register_gst_uri_type),
22253         (gst_uri_type_get_type), (register_gst_parse_error),
22254         (gst_parse_error_get_type):
22255         * win32/common/gstversion.h:
22256           update win32 copies
22257
22258 2005-11-01  Luca Ognibene  <luogni@tin.it>
22259
22260         * gst/gst.c:
22261           fix docs. popt is dead, long live GOption.
22262
22263 2005-10-31  Wim Taymans  <wim@fluendo.com>
22264
22265         * gst/gstbuffer.h:
22266         Small doc fix.
22267
22268 2005-10-31  Andy Wingo  <wingo@pobox.com>
22269
22270         * Boo!
22271
22272         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22273
22274         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22275         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22276         the possibility of deadlocks here if code calling notify() or
22277         set() has a lock that can be taken in another notify handler (ABBA
22278         with class lock and e.g. python GIL state lock).
22279
22280 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22281
22282         * gst/gstbus.c: Doc updates.
22283
22284 2005-10-28  Wim Taymans  <wim@fluendo.com>
22285
22286         * docs/design/part-TODO.txt:
22287         * gst/gstiterator.c:
22288         * gst/gstsystemclock.c:
22289         * gst/gstsystemclock.h:
22290         Doc updates.
22291
22292 2005-10-28  Edward Hervey  <edward@fluendo.com>
22293
22294         * docs/gst/gstreamer-docs.sgml:
22295         * docs/gst/gstreamer-sections.txt:
22296         the GstURIType documentation page is private, it only defines GstURIType
22297         which should be defined in the GstURIHandler page
22298         
22299 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22300
22301         * gst/gstbin.c: (gst_bin_class_init):
22302         * gst/gstbin.h:
22303         * gst/gstutils.c:
22304         Documentation updates.
22305
22306 2005-10-28  Wim Taymans  <wim@fluendo.com>
22307
22308         * docs/gst/gstreamer-sections.txt:
22309         * gst/gstclock.c:
22310         * gst/gstclock.h:
22311         Documented the clocks.
22312
22313 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22314
22315         * docs/gst/gstreamer-sections.txt:
22316           move some macros to private sections
22317         * gst/gstminiobject.c:
22318         * gst/gstminiobject.h:
22319           add descriptions provided by ds and some more
22320         * gst/gstpad.h:
22321           mark macro as to be removed
22322
22323 2005-10-28  Wim Taymans  <wim@fluendo.com>
22324
22325         * docs/design/part-TODO.txt:
22326         Add an item to TODO.
22327
22328         * gst/gstiterator.c: (gst_iterator_fold),
22329         (gst_iterator_find_custom):
22330         * gst/gstiterator.h:
22331         Add iterator docs.
22332
22333 2005-10-28  Wim Taymans  <wim@fluendo.com>
22334
22335         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22336         (gst_base_transform_init):
22337         Don't leak class.
22338
22339         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22340         An EOS event marks the queue as completely filled.
22341
22342 2005-10-27  Wim Taymans  <wim@fluendo.com>
22343
22344         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22345         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22346         Some more debugging.
22347
22348         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22349         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22350         (gst_base_transform_event), (gst_base_transform_getrange),
22351         (gst_base_transform_chain):
22352         * gst/base/gstbasetransform.h:
22353         Fix debugging,
22354         Protect transform and concurrent buffer alloc with a new lock.
22355         Try not to break ABI/API.
22356
22357 2005-10-27  Wim Taymans  <wim@fluendo.com>
22358
22359         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22360         (gst_base_src_init), (gst_base_src_query),
22361         (gst_base_src_default_newsegment),
22362         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22363         (gst_base_src_send_event), (gst_base_src_event_handler),
22364         (gst_base_src_pad_get_range), (gst_base_src_loop),
22365         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22366         (gst_base_src_start), (gst_base_src_deactivate),
22367         (gst_base_src_activate_push), (gst_base_src_change_state):
22368         Move some stuff around and cleanup things.
22369
22370 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22371
22372         * gst/base/gstbasesrc.c: (gst_base_src_query):
22373           Add missing break statements.
22374
22375 2005-10-27  Wim Taymans  <wim@fluendo.com>
22376
22377         * check/gst/gstbin.c: (GST_START_TEST):
22378         An extra refcount is taken in basesrc.
22379
22380         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22381         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22382         (gst_base_src_loop):
22383         Small cleanups, check for flushing after being unlocked from the 
22384         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22385         Don't send out EOS when going to READY.
22386
22387 2005-10-27  Wim Taymans  <wim@fluendo.com>
22388
22389         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22390         (gst_base_sink_get_position):
22391         Some more debug.
22392
22393         * gst/gstbin.c: (message_check), (bin_replace_message),
22394         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22395         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22396         (bin_query_duration_init), (bin_query_duration_fold),
22397         (bin_query_duration_done), (bin_query_generic_fold),
22398         (gst_bin_query):
22399         * tools/gst-launch.c: (main):
22400         Remove old option.
22401
22402 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22403
22404         * examples/controller/audio-example.c: (main):
22405         * examples/queue/queue.c: (event_loop):
22406         * gst/base/gstbasetransform.h:
22407         * gst/gstelement.c: (gst_element_send_event):
22408         * gst/gstevent.h:
22409         * gst/gstpad.c: (gst_pad_send_event):
22410           fixing examples
22411           fixing docs typos
22412           changing log priority in error situations
22413
22414 2005-10-25  Wim Taymans  <wim@fluendo.com>
22415
22416         * gst/gstbin.c: (message_check), (bin_replace_message),
22417         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22418         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22419         (bin_query_duration_init), (bin_query_duration_fold),
22420         (bin_query_duration_done), (bin_query_generic_fold),
22421         (gst_bin_query):
22422         Some doc and debug updates.
22423         Cache previously requested query DURATION for speed. invalidate
22424         cached duration if element posts a DURATION message.
22425
22426 2005-10-25  Wim Taymans  <wim@fluendo.com>
22427
22428         * docs/design/part-TODO.txt:
22429         Update TODO.
22430
22431         * gst/gstbin.c: (message_check), (bin_replace_message),
22432         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22433         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22434         (bin_query_duration_init), (bin_query_duration_fold),
22435         (bin_query_duration_done), (bin_query_generic_fold),
22436         (gst_bin_query):
22437         Handle SEGMENT_START/DONE messages correctly.
22438         More evolved query algorithm that handles duration queries
22439         correctly.
22440
22441         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22442         (gst_element_get_state_func), (gst_element_abort_state),
22443         (gst_element_commit_state), (gst_element_lost_state):
22444         Some more debugging.
22445
22446         * gst/gstmessage.h:
22447         Added doc.
22448
22449 2005-10-25  Wim Taymans  <wim@fluendo.com>
22450
22451         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22452         Don't use invalid stream_time.
22453
22454         * gst/gstevent.c: (gst_event_new_newsegment):
22455         stream_time in newsegment cannot be undefined.
22456
22457 2005-10-24  Wim Taymans  <wim@fluendo.com>
22458
22459         * gst/gstbus.c:
22460         Doc fix.
22461
22462         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22463         (gst_queue_loop):
22464         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22465
22466 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22467
22468         * docs/libs/tmpl/gstdparam.sgml:
22469         * docs/libs/tmpl/gstdplinint.sgml:
22470         * docs/libs/tmpl/gstdpman.sgml:
22471         * docs/libs/tmpl/gstdpsmooth.sgml:
22472         * docs/libs/tmpl/gstunitconvert.sgml:
22473           these are obsolete
22474
22475 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22476
22477         * configure.ac:
22478           back to HEAD
22479
22480 === release 0.9.4 ===
22481
22482 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22483
22484         * configure.ac:
22485           releasing 0.9.4, "Tyrannosaurus Rex"
22486
22487 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22488
22489         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22490         (gst_file_sink_get_current_offset):
22491           Use fseeko() and ftello() if available. When falling back on
22492           lseek() to get the current offset, fflush() first to make sure
22493           everything is up-to-date and we get the right offset.
22494
22495 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22498         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22499         * gst/gsterror.c: (_gst_stream_errors_init):
22500         * gst/gsterror.h:
22501         * gst/gstqueue.c: (gst_queue_loop):
22502         * po/POTFILES.in:
22503           remove prematurely added error category and clean up the instances
22504
22505 2005-10-21  Wim Taymans  <wim@fluendo.com>
22506
22507         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22508         (gst_base_sink_get_position), (gst_base_sink_query),
22509         (gst_base_sink_change_state):
22510         Simply set the right flag when going to playing, that's all
22511         we need to do instead of calling a function inside the object
22512         lock (that could take the lock as well and deadlock)
22513
22514 2005-10-21  Wim Taymans  <wim@fluendo.com>
22515
22516         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22517         (gst_base_src_loop):
22518         Don't warn, the peer element knows what to do best when
22519         the seek failed, it might try something else.
22520
22521 2005-10-21  Wim Taymans  <wim@fluendo.com>
22522
22523         * gst/base/gstbasesrc.c: (gst_base_src_init),
22524         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22525         Fix seeking.
22526
22527 2005-10-21  Wim Taymans  <wim@fluendo.com>
22528
22529         * docs/design/part-segments.txt:
22530         More docs.
22531
22532         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22533         Correctly set caps, even on the subbufer.
22534
22535 2005-10-21  Wim Taymans  <wim@fluendo.com>
22536
22537         * docs/gst/gstreamer-docs.sgml:
22538         * docs/gst/gstreamer-sections.txt:
22539         * gst/gstelement.h:
22540         * gst/gstevent.c:
22541         * gst/gstevent.h:
22542         * gst/gstmessage.h:
22543         * gst/gstpad.h:
22544         * gst/gstparse.h:
22545         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22546         * gst/gsttask.h:
22547         * gst/gstutils.c:
22548         * gst/gstutils.h:
22549         And 2% more doc coverage.
22550
22551 2005-10-21  Andy Wingo  <wingo@pobox.com>
22552
22553         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22554         position reporting.
22555
22556 2005-10-20  Wim Taymans  <wim@fluendo.com>
22557
22558         * gst/gsterror.c: (gst_error_get_message):
22559         * gst/gstparse.h:
22560         * gst/gstquery.h:
22561         * gst/gststructure.c:
22562         * gst/gsttrace.c:
22563         * gst/gstutils.c:
22564         More docs.
22565
22566 2005-10-20  Wim Taymans  <wim@fluendo.com>
22567
22568         * gst/gstbuffer.h:
22569         * gst/gstpad.c:
22570         * gst/gstparse.c:
22571         Another 1% more coverage.
22572
22573 2005-10-20  Wim Taymans  <wim@fluendo.com>
22574
22575         * docs/gst/gstreamer-sections.txt:
22576         * gst/gstelement.c: (gst_element_get_state_func),
22577         (gst_element_abort_state), (gst_element_commit_state),
22578         (gst_element_lost_state):
22579         * gst/gstevent.h:
22580         * gst/gstquery.c: (gst_query_set_position),
22581         (gst_query_parse_position), (gst_query_set_duration),
22582         (gst_query_parse_duration), (gst_query_new_convert):
22583         * gst/gstutils.c:
22584         Yay! 1% more docs coverage.
22585
22586 2005-10-20  Wim Taymans  <wim@fluendo.com>
22587
22588         * gst/gstpad.h:
22589         * gst/gstquery.c: (gst_query_set_position),
22590         (gst_query_parse_position), (gst_query_set_duration),
22591         (gst_query_parse_duration), (gst_query_new_convert):
22592         * gst/gstquery.h:
22593         * gst/gstutils.c: (gst_element_query_convert):
22594         * gst/gstutils.h:
22595         Docs and consistency fixes.
22596
22597 2005-10-20  Wim Taymans  <wim@fluendo.com>
22598
22599         * gst/gsttask.c:
22600         * gst/gsttask.h:
22601         More docs.
22602
22603 2005-10-20  Wim Taymans  <wim@fluendo.com>
22604
22605         * gst/gstbin.c: (message_check), (bin_replace_message),
22606         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22607         (update_degree), (gst_bin_sort_iterator_next),
22608         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22609         Reworked the message handling a bit, cache the messages instead of
22610         only the senders. alows us to do more in the future.
22611
22612 2005-10-20  Wim Taymans  <wim@fluendo.com>
22613
22614         * docs/design/part-TODO.txt:
22615         Update TODO
22616
22617         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22618         (gst_base_sink_query):
22619         Don't use clock time to report position when in EOS.
22620
22621 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22622
22623         * tools/gst-inspect.c: (print_interfaces),
22624         (print_element_properties_info), (print_element_info):
22625           Fix interface output with gst-inspect -a; don't print
22626           newlines after double/float properties.
22627
22628 2005-10-20  Wim Taymans  <wim@fluendo.com>
22629
22630         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22631         (gst_base_sink_query):
22632         Speed up current position calculation.
22633
22634         * gst/base/gstbasesrc.c: (gst_base_src_query),
22635         (gst_base_src_default_newsegment):
22636         Correctly set stream position in newsegment.
22637
22638         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22639         (update_degree), (gst_bin_sort_iterator_next),
22640         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22641         * gst/gstmessage.c: (gst_message_new_custom):
22642         Clean up debugging info
22643
22644         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22645         (gst_queue_loop), (gst_queue_handle_src_query):
22646         Pause task faster.
22647
22648 2005-10-19  Wim Taymans  <wim@fluendo.com>
22649
22650         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22651         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22652         Fix query handling again.
22653
22654 2005-10-19  Wim Taymans  <wim@fluendo.com>
22655
22656         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22657         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22658         * gst/base/gstbasesrc.c: (gst_base_src_query):
22659         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22660         * gst/elements/gsttypefindelement.c:
22661         (gst_type_find_handle_src_query), (find_element_get_length),
22662         (gst_type_find_element_activate):
22663         API change fix.
22664
22665         * gst/gstquery.c: (gst_query_new_position),
22666         (gst_query_set_position), (gst_query_parse_position),
22667         (gst_query_new_duration), (gst_query_set_duration),
22668         (gst_query_parse_duration), (gst_query_set_segment),
22669         (gst_query_parse_segment):
22670         * gst/gstquery.h:
22671         Bundling query position/duration is not a good idea since duration
22672         does not change much and we don't want to recalculate it for every
22673         position query, so they are separated again..
22674         Base value in segment query is not needed.
22675
22676         * gst/gstqueue.c: (gst_queue_handle_src_query):
22677         * gst/gstutils.c: (gst_element_query_position),
22678         (gst_element_query_duration), (gst_pad_query_position),
22679         (gst_pad_query_duration):
22680         * gst/gstutils.h:
22681         Updates for query API change.
22682         Added some docs here and there.
22683
22684 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22685
22686         * check/gst/gstbin.c: (GST_START_TEST):
22687         * check/gst/gstghostpad.c: (GST_START_TEST):
22688         * check/pipelines/cleanup.c: (GST_START_TEST):
22689           wait on thread to die so we can check refcount correctly
22690
22691 2005-10-18  Wim Taymans  <wim@fluendo.com>
22692
22693         * check/pipelines/stress.c: (GST_START_TEST):
22694         Make check a little more time consuming.
22695
22696 2005-10-18  Wim Taymans  <wim@fluendo.com>
22697
22698         * check/Makefile.am:
22699         * check/pipelines/stress.c: (GST_START_TEST),
22700         (simple_launch_lines_suite), (main):
22701         Small state change torture test.
22702
22703         * docs/design/part-states.txt:
22704         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22705         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22706         (gst_base_sink_change_state):
22707         Never take state lock from streaming thread, clean up ugly
22708         hacks. Unfortunatly core does not yet support nice ways to
22709         async commit state.
22710         
22711         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22712         (bin_bus_handler):
22713         Start state recalc if a STATE_DIRTY message is posted, but only
22714         on the toplevel bin.
22715
22716         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22717         (gst_element_get_state_func), (gst_element_abort_state),
22718         (gst_element_commit_state), (gst_element_lost_state),
22719         (gst_element_set_state_func), (gst_element_change_state):
22720         * gst/gstelement.h:
22721         State variables are now protected with the LOCK, the state
22722         lock is only used to serialize _set_state().
22723
22724 2005-10-18  Wim Taymans  <wim@fluendo.com>
22725
22726         * check/gst/gstbin.c: (GST_START_TEST):
22727         * check/gst/gstmessage.c: (GST_START_TEST):
22728         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22729         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22730         (bin_bus_handler):
22731         * gst/gstelement.c: (gst_element_abort_state),
22732         (gst_element_commit_state), (gst_element_lost_state):
22733         * gst/gstmessage.c: (gst_message_new_state_changed),
22734         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22735         (gst_message_new_segment_done), (gst_message_new_duration),
22736         (gst_message_parse_state_changed),
22737         (gst_message_parse_segment_start),
22738         (gst_message_parse_segment_done), (gst_message_parse_duration):
22739         * gst/gstmessage.h:
22740         * tools/gst-launch.c: (event_loop):
22741         Seriously, this is better than a previous commit as we only need
22742         to notify the fact that an element changed state in a streaming
22743         thread, marking the state of the parents dirty, hence the 
22744         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22745         message.
22746
22747 2005-10-18  Wim Taymans  <wim@fluendo.com>
22748
22749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22750         (gst_bin_recalc_func):
22751         * gst/gstelement.c: (gst_element_set_clock),
22752         (gst_element_abort_state), (gst_element_lost_state):
22753         Cleanups, prepare for state change fixes.
22754
22755 2005-10-18  Wim Taymans  <wim@fluendo.com>
22756
22757         * gst/gstbin.h:
22758         * gst/gstelement.c: (gst_element_class_init),
22759         (gst_element_set_state), (gst_element_set_state_func):
22760         * gst/gstelement.h:
22761         Pending ABI changes.
22762         GThreadPool in GstBinClass to monitor async state changes.
22763         state_cookie in GstElement to detect concurrent gst/set state.
22764         set_state is now virtual too in case a very complicated element
22765         has to be constructed.
22766
22767 2005-10-18  Wim Taymans  <wim@fluendo.com>
22768
22769         * check/gst/gstbin.c: (GST_START_TEST):
22770         * check/gst/gstmessage.c: (GST_START_TEST):
22771         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22772         * gst/gstbin.c: (bin_bus_handler):
22773         * gst/gstelement.c: (gst_element_commit_state),
22774         (gst_element_lost_state):
22775         * gst/gstmessage.c: (gst_message_new_state_changed),
22776         (gst_message_new_segment_start), (gst_message_new_segment_done),
22777         (gst_message_new_duration), (gst_message_parse_state_changed),
22778         (gst_message_parse_segment_start),
22779         (gst_message_parse_segment_done), (gst_message_parse_duration):
22780         * gst/gstmessage.h:
22781         * tools/gst-launch.c: (event_loop):
22782         Make messages future proof.
22783         state-change gets a flag if it was a message comming from the
22784         streaming thread.
22785         segment-start/stop can also be specified in other formats.
22786         A message to notify an app that a pipeline changed playback 
22787         duration.
22788         Also fix a GstMessage leak in -launch
22789
22790 2005-10-18  Andy Wingo  <wingo@pobox.com>
22791
22792         * gst/gstelement.c (gst_element_dispose): More helpful message.
22793
22794 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22795
22796         reviewed by: <delete if not using a buddy>
22797
22798         * common/gtk-doc.mak:
22799
22800 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * gst/gstregistry.c: (gst_registry_scan_path_level):
22803           unref a plug-in we get that was already initialized
22804
22805 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22806
22807         * docs/gst/gstreamer-sections.txt:
22808         * docs/libs/gstreamer-libs-sections.txt:
22809         * gst/gstelement.h:
22810           add new api entries
22811           hide internal macro
22812
22813 2005-10-17  Andy Wingo  <wingo@pobox.com>
22814
22815         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22816         cleanup.
22817
22818         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22819
22820         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22821
22822         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22823         (gst_element_get_state_func): Better debug message.
22824         (gst_element_commit_state): s/INFO/DEBUG/.
22825         (gst_element_lost_state, gst_element_change_state): 
22826
22827         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22828         (gst_message_new_custom): s/INFO/LOG/.
22829
22830 2005-10-17  Michael Smith <msmith@fluendo.com>
22831
22832         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22833           Check if end time is valid using end time, not start time.
22834
22835 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22836
22837         * check/gst-libs/controller.c: (GST_START_TEST),
22838         (gst_controller_suite):
22839         * libs/gst/controller/gstcontroller.c:
22840         (gst_controlled_property_set_interpolation_mode):
22841         * libs/gst/controller/gstcontroller.h:
22842         * libs/gst/controller/gstinterpolation.c:
22843         * testsuite/controller/.cvsignore:
22844         * testsuite/controller/Makefile.am:
22845         * testsuite/controller/interpolator.c:
22846           merge controller testsuites
22847           fix broken tests
22848           remove mem-chunk from docs
22849
22850 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22851
22852         * gst/gstmemchunk.c:
22853         * gst/gstmemchunk.h:
22854         * gst/gsttrashstack.c:
22855         * gst/gsttrashstack.h:
22856           out.  get out.  you're fired.  to the Attic !
22857
22858 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22859
22860         * gst/gstcaps.c: (gst_caps_intersect):
22861           fix signedness issues in a (hopefully) correct way
22862         * gst/gstelement.c: (gst_element_pads_activate):
22863           some debugging
22864         * gst/gstobject.c: (gst_object_set_parent):
22865           some debugging
22866
22867 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22868
22869         * gst/gstvalue.h: Fix prototypes.
22870
22871 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22872
22873         * docs/gst/gstreamer-sections.txt:
22874         * gst/gst.c: (gst_version_string):
22875         * gst/gst.h:
22876         * gst/gstversion.h.in:
22877         * win32/common/libgstreamer.def:
22878           add gst_version_string ()
22879
22880 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22881
22882         * configure.ac:
22883           clean up further
22884         * gst/gst.c: (init_post):
22885         * win32/common/config.h.in:
22886           it's PLUGINDIR now
22887         * gst/gstcaps.c: (gst_caps_intersect):
22888           use gint64, the range could be bigger than a guint
22889
22890 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22891
22892         * gst/gstclock.h:
22893           document potential problem in 2038
22894
22895 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22896
22897         * gst/gstcaps.c: (gst_caps_intersect):
22898           Fix guint j diving under 0
22899
22900 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22901
22902         * configure.ac:
22903         * win32/common/config.h:
22904         * win32/common/config.h.in:
22905           check for process.h, declares getpid() on Windows
22906         * gst/gstinfo.c:
22907           include process.h if we have it
22908         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22909         * gst/gstmemchunk.h:
22910           fix signedness issues
22911         * win32/common/libgstreamer.def:
22912           fix get_type's
22913
22914 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22915
22916         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22917         fix. Because of unsigned ints, caps intersection was going nuts and
22918         trying to access structures with G_MAXUINT index. That fixes
22919         videotestsrc ! ffmpegcolorspace ! fakesink
22920         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22921         consistency.
22922
22923 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22924
22925         * configure.ac:
22926           use the gettext macro
22927         * gst/elements/gstelements.c:
22928         * gst/gst.c:
22929         * gst/indexers/gstindexers.c:
22930           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22931         * win32/common/config.h:
22932           updated config.h
22933         * win32/common/config.h.in:
22934           add the template to generate config.h
22935         * win32/common/gstenumtypes.c:
22936         * win32/common/gstversion.h:
22937           updated copies
22938
22939 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22940
22941         * gst/gst.c: (gst_version):
22942         * gst/gstversion.h.in:
22943           add the nano
22944
22945 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22946
22947         * gst/gstevent.h:
22948           Oops, add missing closing bracket.
22949
22950 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22951
22952         * configure.ac:
22953           use common m4's for argument checking
22954
22955 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22956
22957         * docs/gst/gstreamer-sections.txt:
22958         * gst/gstevent.h:
22959           Add GST_EVENT_TYPE_NAME() macro.
22960
22961 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22962
22963         * gst/gstinfo.c:
22964         * gst/gstpluginfeature.c:
22965         * gst/gsttask.c:
22966           privatize more symbols
22967
22968 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22969
22970         * configure.ac:
22971           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22972           everything that uses GStreamer API should have the includes
22973
22974 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22975
22976         * docs/gst/gstreamer-sections.txt:
22977         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22978         * gst/gstvalue.h:
22979           give each value a _get_type, removes the DATA exports
22980
22981 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22982
22983         * gst/gst.c:
22984         * gst/gst.h:
22985           remove _gst_registry_auto_load, not used anymore
22986         * gst/gstbin.c: (gst_bin_get_type):
22987         * gst/gstbin.h:
22988         * gst/gstelement.c: (gst_element_get_type):
22989         * gst/gstelement.h:
22990         * gst/gstobject.c: (gst_object_get_type):
22991         * gst/gstobject.h:
22992         * gst/gstpad.c: (gst_pad_get_type):
22993         * gst/gstpad.h:
22994           make _get_type functions similar, fixes data export from library
22995
22996 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22997
22998         * configure.ac:
22999           correctly make conditionals
23000         * gst/elements/Makefile.am:
23001         * gst/elements/gstelements.c:
23002           fix typo causing fdsrc not to build
23003
23004 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23005
23006         * testsuite/Makefile.am:
23007         * testsuite/bytestream/.cvsignore:
23008         * testsuite/bytestream/Makefile.am:
23009         * testsuite/bytestream/filepadsink.c:
23010         * testsuite/bytestream/gstbstest.c:
23011         * testsuite/bytestream/test1.c:
23012         * testsuite/bytestream/testfile1:
23013         * testsuite/caps/normalisation.c:
23014         * testsuite/caps/random.c: (main):
23015         * testsuite/cleanup/.cvsignore:
23016         * testsuite/cleanup/Makefile.am:
23017         * testsuite/cleanup/cleanup1.c:
23018         * testsuite/cleanup/cleanup2.c:
23019         * testsuite/cleanup/cleanup3.c:
23020         * testsuite/cleanup/cleanup4.c:
23021         * testsuite/cleanup/cleanup5.c:
23022         * testsuite/controller/interpolator.c:
23023         * testsuite/debug/printf_extension.c: (main):
23024         * testsuite/elements/tee.c:
23025         * testsuite/negotiation/.cvsignore:
23026         * testsuite/negotiation/Makefile.am:
23027         * testsuite/negotiation/pad_link.c:
23028         * testsuite/pad/Makefile.am:
23029         * testsuite/pad/chainnopull.c:
23030         * testsuite/pad/getnopush.c:
23031         * testsuite/pad/link.c:
23032         * testsuite/refcounting/sched.c: (create_pipeline):
23033         * testsuite/registry/Makefile.am:
23034         * testsuite/registry/gst-print-formats.c:
23035         * testsuite/schedulers/.cvsignore:
23036         * testsuite/schedulers/142183-2.c:
23037         * testsuite/schedulers/142183.c:
23038         * testsuite/schedulers/143777-2.c:
23039         * testsuite/schedulers/143777.c:
23040         * testsuite/schedulers/147713.c:
23041         * testsuite/schedulers/147819.c:
23042         * testsuite/schedulers/147894-2.c:
23043         * testsuite/schedulers/147894.c:
23044         * testsuite/schedulers/Makefile.am:
23045         * testsuite/schedulers/group_link.c:
23046         * testsuite/schedulers/queue_link.c:
23047         * testsuite/schedulers/relink.c:
23048         * testsuite/schedulers/unlink.c:
23049         * testsuite/schedulers/unref.c:
23050         * testsuite/schedulers/useless_iteration.c:
23051         * testsuite/states/bin.c:
23052           clean out/remove some stuff from the testsuite directories
23053
23054 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23055
23056         * configure.ac:
23057           check for some headers
23058         * gst/elements/Makefile.am:
23059         * gst/elements/gstelements.c:
23060           don't compile fdsrc without sys/socket.h
23061         * gst/indexers/Makefile.am:
23062         * gst/indexers/gstindexers.c: (plugin_init):
23063           don't compile fileindex without mmap
23064
23065 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23066
23067         * configure.ac:
23068           reorganize
23069           clean up
23070           document more
23071           remove cruft
23072         * check/Makefile.am:
23073         * docs/gst/Makefile.am:
23074         * examples/helloworld/Makefile.am:
23075         * gst/Makefile.am:
23076         * gst/base/Makefile.am:
23077         * gst/check/Makefile.am:
23078         * gst/elements/Makefile.am:
23079         * gst/indexers/Makefile.am:
23080         * gst/parse/Makefile.am:
23081         * libs/gst/controller/Makefile.am:
23082         * libs/gst/dataprotocol/Makefile.am:
23083         * examples/helloworld/helloworld.c: (event_loop):
23084           compile fixes, though it's not being compiled currently
23085
23086 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23087
23088         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23089           Add some simple tests for the new taglist date API.
23090
23091 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23092
23093         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23094         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23095           Beautify 'last-message' output: print 'none' for buffer timestamps
23096           and durations if none is set; improve alignment with next messages.
23097
23098 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23099
23100         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23101         * gst/gstpluginfeature.h:
23102         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23103         * gst/gstregistry.h:
23104         * docs/gst/gstreamer-sections.txt:
23105           Add new API to check plugin feature version requirements.
23106
23107         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23108           Some basic tests for the above.         
23109
23110 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * gst/gststructure.c: (gst_structure_to_string):
23113           guard against NULL printf - happens when for example
23114           a message structure with GstClock gets serialized
23115
23116 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23117
23118         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23119           Fix presumable copy'n'pasto.
23120
23121 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * gst/elements/gstfakesrc.h:
23124         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23125         * gst/elements/gsttypefindelement.c:
23126           fix some signedness
23127         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23128           I wonder if this could actually write +2GB files before
23129
23130 2005-10-13  Andy Wingo  <wingo@pobox.com>
23131
23132         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23133         Fix Timmeke Waymans bug.
23134         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23135         string of the proper length to gst_caps_from_string. There's a
23136         potential for, before this fix, that this could cause someone
23137         connecting over the network to cause a segfault if the payload is
23138         not NUL-terminated.
23139
23140 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23141
23142         * docs/design/draft-push-pull.txt:
23143         * docs/design/part-overview.txt:
23144         * docs/random/TODO-pre-0.9:
23145         * docs/random/old/ChangeLog.gstreamer:
23146         * gst/base/gstpushsrc.c:
23147         * gst/gstclock.c:
23148           fixed typos
23149
23150 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23151
23152         * gst/glib-compat.c: (gst_flags_get_first_value):
23153         * gst/glib-compat.h:
23154         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23155         (gst_value_compare_double), (gst_value_serialize_flags):
23156           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23157           infinite loop
23158
23159 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23160
23161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23162         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23163           fix up debugging
23164         * tools/gst-launch.c: (event_loop):
23165           print out clock nicely
23166
23167 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23168
23169         * docs/gst/gstreamer-sections.txt:
23170         * gst/gsttaglist.h:
23171         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23172         (gst_tag_list_get_date_index):
23173           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23174           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23175
23176 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23177
23178         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23179         (gst_collectpads_chain):
23180         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23181         in CollectData.
23182
23183 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23184
23185         * docs/gst/gstreamer-sections.txt:
23186         * gst/gst.c:
23187         * gst/gsterror.h:
23188         * tools/gst-inspect.c: (main):
23189         * tools/gst-launch.c: (main):
23190         * tools/gst-run.c: (main):
23191         * tools/gst-xmlinspect.c: (main):
23192           fix GOption context leaks
23193           doc fixes
23194
23195 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23196
23197         * gst/gstbus.c:
23198           use HAVE_UNISTD_H
23199         * win32/common/config.h:
23200           update config
23201         * win32/vs6/grammar.dsp:
23202         * win32/vs6/libgstelements.dsp:
23203         * win32/vs6/libgstreamer.dsp:
23204           update vs6 files
23205
23206 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23207
23208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23209         * gst/base/gstbasesrc.c: (gst_base_src_query):
23210           fix more guint64<->gdouble conversions
23211
23212 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23213
23214         * Makefile.am:
23215           add win32-update target
23216         * win32/common/gstconfig.h:
23217         * win32/common/gstenumtypes.c:
23218         * win32/common/gstenumtypes.h:
23219         * win32/common/gstversion.h:
23220           add files that visual studio can't generate
23221
23222 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23223
23224         * Makefile.am:
23225           add a win32-update target
23226         * configure.ac:
23227
23228 2005-10-12  Wim Taymans  <wim@fluendo.com>
23229
23230         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23231         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23232         * gst/gstelement.c: (gst_element_commit_state),
23233         (gst_element_set_state):
23234         Protect flags with proper lock.
23235         unref provided cached clock in dispose.
23236
23237 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23238
23239         * gst/gst.c:
23240         * gst/gstminiobject.h:
23241         * gst/gstpad.h:
23242         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23243           removed unused flags from miniobject
23244           doc fixes
23245
23246 2005-10-12  Wim Taymans  <wim@fluendo.com>
23247
23248         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23249         (gst_file_sink_event), (gst_file_sink_render):
23250         Flush before seeking.
23251
23252 2005-10-12  Andy Wingo  <wingo@pobox.com>
23253
23254         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23255         always been the case.
23256
23257 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23258
23259         * check/gst/gstbin.c: (GST_START_TEST):
23260         * docs/gst/gstreamer-sections.txt:
23261         * gst/base/gstbasesink.c: (gst_base_sink_init):
23262         * gst/base/gstbasesrc.c: (gst_base_src_init),
23263         (gst_base_src_get_range), (gst_base_src_check_get_range),
23264         (gst_base_src_start), (gst_base_src_stop):
23265         * gst/base/gstbasesrc.h:
23266         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23267         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23268         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23269         (bin_bus_handler):
23270         * gst/gstbin.h:
23271         * gst/gstbuffer.h:
23272         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23273         * gst/gstbus.h:
23274         * gst/gstelement.c: (gst_element_is_locked_state),
23275         (gst_element_set_locked_state), (gst_element_commit_state),
23276         (gst_element_set_state):
23277         * gst/gstelement.h:
23278         * gst/gstindex.c: (gst_index_init):
23279         * gst/gstindex.h:
23280         * gst/gstminiobject.h:
23281         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23282         (gst_object_set_parent):
23283         * gst/gstobject.h:
23284         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23285         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23286         * gst/gstpad.h:
23287         * gst/gstpadtemplate.h:
23288         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23289         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23290         * gst/gstpipeline.h:
23291         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23292         (gst_file_index_commit):
23293         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23294         * testsuite/pad/link.c: (gst_test_src_init),
23295         (gst_test_filter_init), (gst_test_sink_init):
23296         * testsuite/states/locked.c: (main):
23297           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23298           moved bitshift from macro to enum definition
23299
23300 2005-10-12  Wim Taymans  <wim@fluendo.com>
23301
23302         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23303         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23304         (gst_file_sink_render):
23305         Some more debugging info.
23306
23307 2005-10-12  Wim Taymans  <wim@fluendo.com>
23308
23309         * docs/design/part-states.txt:
23310         * tools/gst-launch.c: (main):
23311         Some doc updates.
23312         Revert non-intentional change.
23313
23314 2005-10-12  Wim Taymans  <wim@fluendo.com>
23315
23316         * check/gst/gstbin.c: (GST_START_TEST):
23317         * check/gst/gstelement.c: (GST_START_TEST):
23318         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23319         * check/gst/gstghostpad.c: (GST_START_TEST):
23320         * check/gst/gstpipeline.c: (GST_START_TEST):
23321         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23322         * check/states/sinks.c: (GST_START_TEST):
23323         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23324         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23325         (gst_bin_remove_func), (gst_bin_get_state_func),
23326         (gst_bin_recalc_state), (gst_bin_change_state_func),
23327         (bin_bus_handler):
23328         * gst/gstelement.c: (gst_element_get_state_func),
23329         (gst_element_get_state), (gst_element_abort_state),
23330         (gst_element_commit_state), (gst_element_set_state),
23331         (gst_element_change_state), (gst_element_change_state_func):
23332         * gst/gstelement.h:
23333         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23334         (gst_pipeline_provide_clock_func):
23335         * gst/gstutils.c: (gst_element_link_pads_filtered):
23336         * tools/gst-launch.c: (main):
23337         * tools/gst-typefind.c: (main):
23338         Use GstClockTime in _get_state() instead of GTimeVal.
23339         Remove old code in gstutils.c
23340
23341 2005-10-12  Andy Wingo  <wingo@pobox.com>
23342
23343         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23344         removed.
23345
23346         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23347         there is no task. Shouldn't affect any code, as nothing in our
23348         plugins checks this return value.
23349         (gst_pad_stop_task): Also take the stream lock if the pad has no
23350         task. Docs updated.
23351
23352 2005-10-12  Wim Taymans  <wim@fluendo.com>
23353
23354         * gst/gstpad.c: (pre_activate), (post_activate),
23355         (gst_pad_activate_pull), (gst_pad_activate_push):
23356         Cleanup activation code. Reset old state if
23357         activation failed.
23358
23359 2005-10-12  Wim Taymans  <wim@fluendo.com>
23360
23361         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23362         (gst_base_sink_change_state):
23363         No need to prerol after receiving EOS.
23364
23365         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23366         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23367         * gst/elements/gstidentity.c: (gst_identity_event):
23368         Print events more verbosely.
23369
23370 2005-10-12  Wim Taymans  <wim@fluendo.com>
23371
23372         * check/Makefile.am:
23373         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23374         * check/states/sinks2.c:
23375         Moved sinks2 testcode in sinks check.
23376
23377         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23378         (gst_bin_remove_func), (gst_bin_recalc_state),
23379         (gst_bin_change_state_func), (bin_bus_handler):
23380         Fix potential race condition when _get_state() iterated over an
23381         ASYNC element right before it posted a state completion.
23382
23383         * gst/gstclock.h:
23384         Do proper cast here.
23385
23386         * gst/gstevent.c: (gst_event_new_newsegment),
23387         (gst_event_parse_newsegment):
23388         A playback rate of 0.0 is not allowed.
23389
23390 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23391
23392         * win32/common/config.h:
23393         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23394         (_trewinddir), (_ttelldir), (_tseekdir):
23395         * win32/common/dirent.h:
23396         * win32/common/gtchar.h:
23397         * win32/common/libgstbase.def:
23398         * win32/common/libgstreamer.def:
23399         * win32/vs6/grammar.dsp:
23400         * win32/vs6/gst_inspect.dsp:
23401         * win32/vs6/gst_launch.dsp:
23402         * win32/vs6/gstreamer.dsw:
23403         * win32/vs6/libgstbase.dsp:
23404         * win32/vs6/libgstelements.dsp:
23405         * win32/vs6/libgstreamer.dsp:
23406           Visual Studio 6 project files, and a new common directory.
23407           Phear.
23408
23409 2005-10-11  Wim Taymans  <wim@fluendo.com>
23410
23411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23412         (gst_base_sink_do_sync), (gst_base_sink_query),
23413         (gst_base_sink_change_state):
23414         * gst/base/gstbasesink.h:
23415         Correctly parse newsegment info.
23416
23417 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23418
23419         * gst/gst.c: (init_post):
23420           split plugin paths correctly
23421
23422 2005-10-11  Wim Taymans  <wim@fluendo.com>
23423
23424         * check/gst/gstevent.c: (GST_START_TEST):
23425         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23426         (gst_base_sink_change_state):
23427         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23428         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23429         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23430         * gst/gstevent.c: (gst_event_new_newsegment),
23431         (gst_event_parse_newsegment):
23432         * gst/gstevent.h:
23433         Added extra flag to newsegment for future API freeze.
23434         Updated check and base elements.
23435
23436 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23437
23438         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23439         (gst_collectpads_add_pad), (gst_collectpads_pop),
23440         (gst_collectpads_event), (gst_collectpads_chain):
23441         * gst/base/gstcollectpads.h: Handle EOS correctly.
23442
23443 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23444
23445         * tools/gst-launch.c: (main):
23446           more null protecting
23447
23448 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23449
23450         * gst/gst-i18n-lib.h:
23451           check for ENABLE_NLS, not GETTEXT_PACKAGE
23452         * gst/gstregistry.c: (gst_registry_add_plugin),
23453         (gst_registry_scan_path_level),
23454         (_gst_registry_remove_cache_plugins):
23455           protect possibly NULL strings
23456         * gst/parse/types.h:
23457           config.h already included before
23458         * tools/gst-inspect.c: (main):
23459           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23460           check for ENABLE_NLS, not GETTEXT_PACKAGE
23461         * tools/gst-launch.c: (main):
23462           check for ENABLE_NLS, not GETTEXT_PACKAGE
23463
23464 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23465
23466         * configure.ac:
23467           if we don't have glib, fail before testing 2.8
23468         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23469           fix a leak, should fix plugins-base testsuite
23470
23471 2005-10-11  Andy Wingo  <wingo@pobox.com>
23472
23473         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23474         take the mode we're going to as an arg. Go head and set the mode
23475         and flushing flags now, so that if the activate function starts a
23476         thread all the flags will be in the right state.
23477         (post_activate): Renamed also. Just handle making sure streaming
23478         finishes for the deactivation case, and setting the deactivated
23479         mode.
23480         (gst_pad_set_active): Complain loudly if deactivation fails.
23481         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23482         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23483         remove the terrible hack.
23484
23485 2005-10-11  Wim Taymans  <wim@fluendo.com>
23486
23487         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23488         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23489         (gst_bin_recalc_state), (gst_bin_change_state_func),
23490         (gst_bin_dispose), (bin_bus_handler):
23491         * gst/gstbin.h:
23492         Prepare to make current EOS message queue more generic.
23493         Fix some typos.
23494
23495         * gst/gstevent.c: (gst_event_new_newsegment),
23496         (gst_event_parse_newsegment):
23497         * gst/gstevent.h:
23498         Rename base to stream_time.
23499
23500         * gst/gstmessage.h:
23501         Fix typo in docs.
23502
23503 2005-10-11  Wim Taymans  <wim@fluendo.com>
23504
23505         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23506         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23507         (gst_bin_change_state_func), (bin_bus_handler):
23508         * gst/gstbin.h:
23509         Work on proper clock selection.
23510
23511 2005-10-11  Edward Hervey  <edward@fluendo.com>
23512
23513         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23514         * libs/gst/controller/gstcontroller.h:
23515         Added GList* version of _remove_properties() in order to be able to wrap
23516         it in bindings.
23517
23518 2005-10-11  Wim Taymans  <wim@fluendo.com>
23519
23520         * docs/design/part-states.txt:
23521         Some more docs.
23522
23523         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23524         (gst_bin_change_state_func), (bin_bus_handler):
23525         Doc updates. Don't distribute the same clock over and over again.
23526
23527         * gst/gstclock.c:
23528         * gst/gstclock.h:
23529         Doc updates.
23530
23531         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23532         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23533         (gst_pad_send_event):
23534         * gst/gstpad.h:
23535         Make probe emission threadsafe again.
23536         Register quarks and move _get_name() from utils.
23537         Doc updates.
23538
23539         * gst/gstpipeline.c: (gst_pipeline_class_init),
23540         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23541         Only redistribute the clock of it changed.
23542
23543         * gst/gstsystemclock.h:
23544         Doc updates. 
23545
23546         * gst/gstutils.c:
23547         * gst/gstutils.h:
23548         Moved the _flow_get_name() to GstPad.
23549
23550 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23551
23552         * check/gst-libs/gdp.c: (GST_START_TEST):
23553         * check/gst/gstcaps.c: (GST_START_TEST):
23554         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23555         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23556         (gst_dp_packet_from_caps):
23557           fix more valgrind warnings before turning up the heat
23558
23559 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23560
23561         * gst/parse/grammar.y:
23562           some cleanup before the hacking
23563
23564 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23565
23566         * gst/base/gstbasesrc.c: (gst_base_src_query):
23567           use conversions
23568         * gst/gstutils.c: (gst_guint64_to_gdouble),
23569         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23570         * gst/gstutils.h:
23571           externalize, basesrc uses it
23572           obviously the implementation needs testing
23573
23574 2005-10-10  Wim Taymans  <wim@fluendo.com>
23575
23576         * tests/sched/Makefile.am:
23577         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23578         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23579
23580 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23581
23582         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23583           apparently converting from guint64 to double is not implemented
23584           on MSVC
23585
23586 2005-10-10  Wim Taymans  <wim@fluendo.com>
23587
23588         * check/Makefile.am:
23589         * check/generic/states.c: (GST_START_TEST):
23590         * check/gst/gstbin.c: (GST_START_TEST):
23591         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23592         * check/states/sinks.c: (GST_START_TEST):
23593         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23594         (main):
23595         Check fixes, use API as stated in design docs, remove hacks.
23596
23597         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23598         (gst_base_sink_change_state):
23599         Catch stopping our task while we're shutting down.
23600
23601         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23602         (gst_bin_remove_func), (gst_bin_get_state_func),
23603         (gst_bin_recalc_state), (gst_bin_change_state_func),
23604         (bin_bus_handler):
23605         * gst/gstbin.h:
23606         * gst/gstelement.c: (gst_element_init),
23607         (gst_element_get_state_func), (gst_element_abort_state),
23608         (gst_element_commit_state), (gst_element_lost_state),
23609         (gst_element_set_state), (gst_element_change_state),
23610         (gst_element_change_state_func):
23611         * gst/gstelement.h:
23612         New state change algorithm (see #318116)
23613
23614         * gst/gstpipeline.c: (gst_pipeline_class_init),
23615         (gst_pipeline_init), (gst_pipeline_set_property),
23616         (gst_pipeline_get_property), (do_pipeline_seek),
23617         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23618         * gst/gstpipeline.h:
23619         Remove crude state change hacks.
23620
23621         * gst/gstutils.h:
23622         Remove crude hacks.
23623
23624         * tools/gst-launch.c: (main):
23625         Fixes for state change. Needs some more work to fully use the
23626         new stuff.
23627
23628 2005-10-10  Andy Wingo  <wingo@pobox.com>
23629
23630         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23631
23632         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23633         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23634         issue.
23635
23636 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23637
23638         * gst/gstiterator.c: (gst_iterator_new):
23639           Fix my previous commit: GTypes passed to gst_iterator_new()
23640           can be fundamental types.
23641
23642 2005-10-10  Wim Taymans  <wim@fluendo.com>
23643
23644         * gst/gstelement.c: (gst_element_iterate_pad_list),
23645         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23646         (gst_element_iterate_sink_pads):
23647         Use src/sink pads lists for the respective iterators instead
23648         of filtering.
23649
23650 2005-10-10  Andy Wingo  <wingo@pobox.com>
23651
23652         Merged in popt removal + GOption addition patch from Ronald, bug
23653         #169772.
23654
23655         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23656         GstElement macros around, remove popt-related symbols, add goption
23657         stuff.
23658
23659         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23660         
23661         * docs/gst/Makefile.am:
23662         * docs/libs/Makefile.am: No POPT_CFLAGS.
23663         
23664         * examples/manual/Makefile.am:
23665         * docs/manual/basics-init.xml: Doc updates with an example.
23666         
23667         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23668         (gst_init), (parse_one_option), (parse_goption_arg):
23669         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23670         bit of hand merging and debugging to get the GOption stuff working
23671         tho.
23672         
23673         * tests/Makefile.am:
23674         * tools/Makefile.am:
23675         * tools/gst-inspect.c: (main):
23676         * tools/gst-launch.c: (main):
23677         * tools/gst-run.c: (main):
23678         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23679
23680 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23681
23682         * gst/gstiterator.c: (gst_iterator_new):
23683           Add assertions to make sure passed GType is likely to really
23684           be a GType (as the compiler won't catch it if the size and
23685           GType arguments get mixed up, see #318447).
23686
23687 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23688
23689         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23690
23691         * gst/gstbin.c: (gst_bin_iterate_sorted):
23692           Pass GType and size arguments to gst_iterator_new() in the right
23693           order (maybe we should make _new() take the GType as first argument
23694           just like _new_list()?) (#318447).
23695           
23696
23697 2005-10-10  Wim Taymans  <wim@fluendo.com>
23698
23699         * gst/gstelement.c: (gst_element_finalize):
23700         And free the GStaticRecMutex too
23701
23702 2005-10-10  Andy Wingo  <wingo@pobox.com>
23703
23704         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23705         Allocate and free the mutex properly.
23706
23707         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23708         New macros.
23709         (GstElement): The state_lock is now recursive. Rebuild your
23710         plugins, suckers. Old macros adapted.
23711
23712         * docs/gst/gstreamer-sections.txt: Doc updates.
23713
23714         * gst/gstutils.h:
23715         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23716         (g_static_rec_cond_wait): Ported from state changes patch, while
23717         we wait on bug #317802 to be solved in a well-distributed GLib.
23718
23719         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23720         gst_element_change_state, variable name changes.
23721         (gst_element_change_state): Split out of gst_element_set_state in
23722         preparation for the state change merge. Doesn't pay attention to
23723         the 'transition' argument.
23724         (gst_element_set_state): Updates, hopefully purely cosmetic.
23725         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23726         state change patch.
23727         (gst_element_get_state_func): Renamed from get_state, cosmetic
23728         changes.
23729
23730 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23731
23732         * gst/elements/gstelements.c:
23733         * win32/GStreamer.vcproj:
23734         * win32/config.h:
23735         * win32/dirent.c: (_tseekdir):
23736         * win32/gst-inspect.vcproj:
23737         * win32/gst-launch.vcproj:
23738         * win32/gstconfig.h:
23739         * win32/gstelements.vcproj:
23740         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23741         * win32/gstreamer.def:
23742         * win32/msvc71.sln:
23743           updates for the win32 build (patch from Sebastien Moutte)
23744
23745 2005-10-10  Andy Wingo  <wingo@pobox.com>
23746
23747         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23748         gst_bin_get_state, cleaned up (but no logic changes).
23749         (bin_element_is_sink): Comment updates.
23750         (sink_iterator_filter): Remove needless cast.
23751         (gst_bin_iterate_sinks): Doc update.
23752         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23753         cleaned up (but no logic changes).
23754
23755         * check/states/sinks.c (test_src_sink): Cleanups from the state
23756         change patch.
23757         (test_livesrc_sink): Sync on the state.
23758
23759         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23760         the state change patch.
23761
23762         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23763         change patch.
23764
23765         * check/gst/gstbin.c: Merge in some style fixes and additional
23766         checks from Wim's state change patch.
23767
23768 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23769
23770         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23771         (gst_type_find_helper):
23772           Check whether we have the requested data already in our list of
23773           cached buffers before pulling a new buffer; also make the buffer
23774           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23775
23776 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23777
23778         * gst/gstcaps.c:
23779         * gst/gstevent.c:
23780           doc updates
23781         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23782           don't use long long, it's not portable.  Replacing with
23783           gint64 seems to work; let's hope no skeletons fall out of the closet.
23784
23785 2005-10-10  Andy Wingo  <wingo@pobox.com>
23786
23787         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23788
23789 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23790
23791         * docs/gst/gstreamer-sections.txt:
23792         * gst/gstevent.c:
23793         * gst/gstevent.h:
23794         * gst/gstinfo.c:
23795         * gst/gstinfo.h:
23796         * gst/gstmessage.c: (gst_message_parse_state_changed):
23797         * gst/gstpad.c:
23798         * gst/gstpad.h:
23799           more docs, fix compilation
23800
23801 2005-10-09  Philippe Khalaf <burger@speedy.org>
23802         * gst/gstmessage.c:
23803           Fixed a few forgotten variables on previous commit
23804
23805 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23806
23807         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23808           Fix evil typefind crasher: getrange() might return a short
23809           buffer at the end of a file, but gst_type_find_peek() must
23810           either return the full data as requested or NULL, but
23811           never a short buffer.
23812
23813 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23814
23815         * gst/gstmessage.c: (gst_message_new_state_changed),
23816         (gst_message_parse_state_changed):
23817         * gst/gstmessage.h:
23818           don't use "new", it's a C++ keyword
23819
23820 2005-10-08  Wim Taymans  <wim@fluendo.com>
23821
23822         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23823         * gst/gstelement.c: (gst_element_post_message):
23824         * gst/gstpipeline.c: (gst_pipeline_change_state):
23825         Small docs and debug updates.
23826
23827 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23828
23829         * docs/gst/gstreamer-sections.txt:
23830         * gst/gstelementfactory.c:
23831         * gst/gstevent.c:
23832         * gst/gsttaglist.c:
23833           more docs
23834
23835 2005-10-08  Wim Taymans  <wim@fluendo.com>
23836
23837         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23838         (gst_bin_dispose), (bin_bus_handler):
23839         Fix typos, add comments.
23840         Clear EOS list when going to PAUSED from any direction and do it
23841         in a threadsafe way.
23842         Get base time in a threadsafe way too.
23843         Fix confusing debug in the change_state function.
23844         Various other small cleanups.
23845         
23846         * gst/gstelement.c: (gst_element_post_message):
23847         Fix very verbose bus posting code.
23848
23849         * gst/gstpipeline.c: (gst_pipeline_class_init),
23850         (gst_pipeline_set_property), (gst_pipeline_get_property),
23851         (gst_pipeline_change_state):
23852         Small ARG_ -> PROP_ cleanup
23853
23854 2005-10-08  Wim Taymans  <wim@fluendo.com>
23855
23856         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23857         Do a less CPU demanding EOS check because we can.
23858
23859 2005-10-08  Wim Taymans  <wim@fluendo.com>
23860
23861         * libs/gst/dataprotocol/dataprotocol.c:
23862         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23863         (gst_dp_packet_from_event):
23864         * libs/gst/dataprotocol/dataprotocol.h:
23865         * libs/gst/dataprotocol/dp-private.h:
23866         It's about time we bump the version number.
23867         Since event types don't fit in the guint8 anymore describing
23868         the payload type, make payload type 16 bits wide.
23869
23870 2005-10-08  Wim Taymans  <wim@fluendo.com>
23871
23872         * docs/design/part-TODO.txt:
23873         * docs/design/part-clocks.txt:
23874         * docs/design/part-events.txt:
23875         * docs/design/part-gstbin.txt:
23876         * docs/design/part-gstelement.txt:
23877         * docs/design/part-gstpipeline.txt:
23878         * docs/design/part-live-source.txt:
23879         * docs/design/part-messages.txt:
23880         * docs/design/part-overview.txt:
23881         * docs/design/part-states.txt:
23882         Many doc updates.
23883
23884 2005-10-08  Wim Taymans  <wim@fluendo.com>
23885
23886         * gst/gstevent.c:
23887         * gst/gstevent.h:
23888         Fix event quark registration.
23889         Add some space between events so we can insert them in the
23890         right groups.
23891
23892 2005-10-08  Wim Taymans  <wim@fluendo.com>
23893
23894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23895         (gst_base_sink_handle_buffer):
23896         Better log message.
23897
23898         * gst/gstbus.h:
23899         * gst/gstelement.h:
23900         More docs.
23901
23902         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23903         (gst_queue_set_property), (gst_queue_get_property):
23904         * gst/gstqueue.h:
23905         Remove old unused properties.
23906
23907 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23908         * docs/gst/gstreamer-sections.txt:
23909         * gst/gstmessage.c:
23910         * gst/gstmessage.h:
23911         * gst/gstminiobject.c:
23912         * gst/gstminiobject.h:
23913         * gst/gstobject.h:
23914         * gst/gstpad.h:
23915         * gst/gstutils.h:
23916           lots of new docs and doc fixes
23917
23918 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23919
23920         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23921         * gst/gstplugin.h:
23922         * gst/gstregistry.c: (gst_registry_lookup_locked),
23923         (gst_registry_scan_path_level):
23924         * gst/gstregistryxml.c: (load_plugin):
23925           Only ever load one plugin for a given plugin basename.
23926           This ensures correct overriding of GST_PLUGIN_PATH over
23927           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23928           system installed plugins.
23929
23930 2005-10-08  Wim Taymans  <wim@fluendo.com>
23931
23932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23933         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23934         Prepare for doing QOS.
23935
23936 2005-10-08  Wim Taymans  <wim@fluendo.com>
23937
23938         * check/gst/gstbin.c: (GST_START_TEST):
23939         * check/pipelines/cleanup.c: (GST_START_TEST):
23940         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23941         Allow new clock message too.
23942
23943 2005-10-08  Wim Taymans  <wim@fluendo.com>
23944
23945         * gst/gstmessage.c: (gst_message_new_error),
23946         (gst_message_new_warning), (gst_message_new_tag),
23947         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23948         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23949         (gst_message_new_segment_start), (gst_message_new_segment_done),
23950         (gst_message_parse_state_changed),
23951         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23952         (gst_message_parse_new_clock):
23953         * gst/gstmessage.h:
23954         Also carry the clock in question.
23955
23956 2005-10-08  Wim Taymans  <wim@fluendo.com>
23957
23958         * gst/gstmessage.c: (gst_message_new_custom),
23959         (gst_message_new_eos), (gst_message_new_error),
23960         (gst_message_new_warning), (gst_message_new_tag),
23961         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23962         (gst_message_new_new_clock), (gst_message_new_segment_start),
23963         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23964         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23965         * gst/gstmessage.h:
23966         Clean up.
23967         Added clock related messages.
23968
23969         * gst/gstpipeline.c: (gst_pipeline_change_state):
23970         Post message when the clock changed.
23971
23972         * tools/gst-launch.c: (event_loop):
23973         Print new clock.
23974
23975 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23976
23977         * tools/gst-inspect.c: (print_element_properties_info):
23978           Can't pass NULL strings to g_print() on windows.
23979
23980 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23981
23982         * docs/Makefile.am:
23983         * docs/gst/Makefile.am:
23984         * docs/gst/gstreamer-docs.sgml:
23985         * docs/gst/running.xml:
23986         * docs/version.entities.in:
23987           add a chapter on running GStreamer.
23988           document GST_DEBUG and GST_PLUGIN* env vars
23989
23990 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23991
23992         * Makefile.am:
23993           remove include dir
23994         * configure.ac:
23995           remove PLUGINS_BUILDDIR stuff
23996         * gst/gst.c: (init_post):
23997           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
23998         * idiottest.mak:
23999           remove, it was condescending and not needed
24000
24001 2005-10-08  Wim Taymans  <wim@fluendo.com>
24002
24003         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24004         (gst_base_sink_handle_object), (gst_base_sink_event),
24005         (gst_base_sink_wait), (gst_base_sink_handle_event),
24006         (gst_base_sink_change_state):
24007         * gst/base/gstbasesink.h:
24008         Repost EOS message while going to PLAYING if still EOS.
24009         Make sure that when receiving a FLUSH_START we don't attempt
24010         to sync on the clock anymore.
24011
24012 2005-10-08  Wim Taymans  <wim@fluendo.com>
24013
24014         * tools/gst-launch.c: (event_loop):
24015         Better message printout.
24016
24017 2005-10-08  Wim Taymans  <wim@fluendo.com>
24018
24019         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24020         (gst_bin_child_proxy_get_children_count):
24021         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24022         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24023         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24024         (gst_child_proxy_set_valist):
24025         * gst/parse/grammar.y:
24026         Make ChildProxy threadsafe and fix mem leaks.
24027
24028 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24029
24030         * gst/gst.c: (init_post):
24031           debug the GST_PLUGIN_ env vars
24032
24033 2005-10-08  Wim Taymans  <wim@fluendo.com>
24034
24035         * check/gst/gstbin.c: (GST_START_TEST):
24036         * check/gst/gstmessage.c: (GST_START_TEST):
24037         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24038         * gst/gstelement.c: (gst_element_commit_state),
24039         (gst_element_lost_state):
24040         * gst/gstmessage.c: (gst_message_new_state_changed),
24041         (gst_message_parse_state_changed):
24042         * gst/gstmessage.h:
24043         * tools/gst-launch.c: (event_loop):
24044         Added extra field to STATE_CHANGE message with the pending
24045         state, which will be different from the new state soon.
24046
24047 2005-10-08  Wim Taymans  <wim@fluendo.com>
24048
24049         * gst/gstbus.c: (gst_bus_pop):
24050         * gst/gstclock.c:
24051         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24052         Small cleanups and doc updates.
24053
24054 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24055
24056         * gst/gst.c: (init_pre):
24057         * gst/gstbin.c: (gst_bin_add_func):
24058           log distributing clocks and base time
24059         * gst/gstregistry.c: (gst_registry_add_plugin),
24060         (gst_registry_scan_path_level), (gst_registry_scan_path):
24061           clean up the debugging output a little
24062         * gst/gstutils.c: (gst_element_state_get_name):
24063           warn about a memleak (I've actually seen this be used, though
24064           it was probably a bug)
24065
24066 2005-10-07  Wim Taymans  <wim@fluendo.com>
24067
24068         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24069         (gst_base_src_init), (gst_base_src_default_newsegment),
24070         (gst_base_src_newsegment), (gst_base_src_do_seek),
24071         (gst_base_src_loop), (gst_base_src_start):
24072         * gst/base/gstbasesrc.h:
24073         Make the newsegment event customizable by subclasses.
24074
24075 2005-10-07  Wim Taymans  <wim@fluendo.com>
24076
24077         * gst/gstevent.c: (gst_event_new_buffersize),
24078         (gst_event_parse_buffersize):
24079         * gst/gstevent.h:
24080         New event for future idea.
24081
24082 2005-10-07  Andy Wingo  <wingo@pobox.com>
24083
24084         * gst/gstelement.c (gst_element_post_message): Doc update.
24085
24086         * docs/gst/gstreamer-sections.txt: Update.
24087
24088         * gst/gstmessage.c (gst_message_new_application): Made into a
24089         function like honest API calls.
24090         (gst_message_new_element): New message type.
24091
24092         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24093
24094         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24095         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24096         times.
24097
24098         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24099         NO_PREROLL from gst_element_change_state to fall through.
24100
24101 2005-10-07  Wim Taymans  <wim@fluendo.com>
24102
24103         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24104         (gst_ghost_pad_do_activate_push):
24105         Activating a ghostpad with no internal pad in push mode
24106         is ok.
24107
24108 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24109
24110         * gst/gstobject.h:
24111           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24112           Fixes compilation on Windows.
24113
24114 2005-10-07  Michael Smith <msmith@fluendo.com>
24115
24116         * tools/gst-inspect.c:
24117           Print out feature and plugin count at the end when printing out
24118           all features.
24119
24120 2005-10-04  Michael Smith <msmith@fluendo.com>
24121
24122         * gst/gsterror.c: (_gst_stream_errors_init):
24123           Add another error string used in a few existing plugins.
24124
24125         * gst/gstplugin.c:
24126         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24127         * tools/gst-inspect.c: (print_element_info):
24128           When a feature disappears from a plugin (and the feature exists in
24129           the cached registry file), things went horribly wrong. This isn't a
24130           complete fix, we should actually be removing the 'missing' features
24131           from the features list when we load the actual plugin. That's not
24132           yet implemented. 
24133
24134 2005-10-04  Johan Dahlin  <johan@gnome.org>
24135
24136         * check/gst/gstiterator.c: (GST_START_TEST):
24137         * gst/gstbin.c: (gst_bin_iterate_elements),
24138         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24139         * gst/gstelement.c: (gst_element_iterate_pads):
24140         * gst/gstformat.c: (gst_format_iterate_definitions):
24141         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24142         (gst_iterator_new_list), (gst_iterator_filter):
24143         * gst/gstiterator.h:
24144         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24145         Add a GType to GstIterator, update callsites and tests.
24146
24147 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24148
24149         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24150           give events a chance to be handled by event probes when the pad
24151           is not linked
24152
24153 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24154
24155         * gst/gstevent.c: (gst_event_type_get_name),
24156         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24157         * gst/gstevent.h:
24158           add string representations for event types
24159
24160 2005-10-06  Wim Taymans  <wim@fluendo.com>
24161
24162         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24163         Don't use NULL pointers.
24164
24165 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24166
24167         * gst/gst_private.h:
24168         * gst/gstbus.c:
24169         * gst/gstelement.c:
24170         * gst/gstinfo.c:
24171         * gst/gstpluginfeature.c:
24172           widen the debug category in output to fit the biggest one we have
24173           add a bus category and use it
24174           play with the colors
24175           fix up some categories
24176
24177 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24178
24179         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24180           add push activation of sink ghost pads.
24181           Andye, please verify
24182
24183 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24184
24185         * gst/gstutils.c: (gst_element_link_pads):
24186           fix a bug in the case where neither element has a pad
24187         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24188           add a test for that case
24189
24190 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24191
24192         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24193           emit have-data before checking for peers.  This allows
24194           for probe handlers to connect elements.  This helps autopluggers.
24195         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24196         (gst_pad_suite):
24197           add six checks, linked/unlinked with no/true/false probe
24198
24199 2005-10-04  Wim Taymans  <wim@fluendo.com>
24200
24201         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24202         (gst_fake_sink_event), (gst_fake_sink_preroll),
24203         (gst_fake_sink_render), (gst_fake_sink_change_state):
24204         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24205         (gst_fake_src_get_property), (gst_fake_src_create),
24206         (gst_fake_src_stop):
24207         * gst/elements/gstidentity.c: (gst_identity_stop):
24208         Protect last_message with lock.
24209
24210 2005-10-04  Edward Hervey  <edward@fluendo.com>
24211
24212         * gst/gstformat.h: 
24213         Added precision in the comments for GST_FORMAT_DEFAULT
24214
24215 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24216
24217         * tools/gst-launch.c: (main):
24218           Don't try to run erroneous pipelines.
24219
24220 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24221
24222         * gst/gstbus.c: We don't need this header.
24223
24224 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24225
24226         * configure.ac:
24227           back to development
24228
24229 === release 0.9.3 ===
24230
24231 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24232
24233         * README:
24234         * configure.ac:
24235           Releasing 0.9.3, "Unregistered"
24236
24237 2005-10-03  Andy Wingo  <wingo@pobox.com>
24238
24239         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24240         whereby calling a pad's activatepush() function can start a thread
24241         that starts to push or pull before the pad gets the FLUSHING flag
24242         unset. Hack around it by holding the stream lock until the flag is
24243         set. Need to replace this with a proper solution. Together with
24244         the ghost pad fixes, this fixes mp3 playing/tagreading.
24245
24246         * docs/design/part-gstghostpad.txt: Add a note about activation of
24247         proxy pads outside of ghost pads.
24248
24249         * gst/gstghostpad.c: Implement the ghost pad activation design.
24250
24251 2005-10-02  Andy Wingo  <wingo@pobox.com>
24252
24253         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24254         It is volatile, after all.
24255
24256         * docs/design/part-gstghostpad.txt: Flesh out activation with
24257         ghost pads.
24258
24259         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24260         GST_DEBUG_FUNCPTR.
24261
24262 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24263
24264         * configure.ac:
24265           Fix (unused) AM_CONDITIONAL tests.
24266
24267 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24268
24269         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24270
24271         * gst/gstutils.c: (gst_pad_query_convert):
24272           Add assertion that makes sure src_val is >=0, just like
24273           gst_query_new_convert() has. (#315895)
24274
24275 2005-09-30  Edward Hervey  <edward@fluendo.com>
24276
24277         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24278         Let's not iterate pads we're not interested in, it avoids getting 
24279         sky-high refcounts on sinkpad.
24280
24281 2005-09-30  Wim Taymans  <wim@fluendo.com>
24282
24283         * gst/gstelement.c: (gst_element_set_state),
24284         (gst_element_change_state):
24285         Small tweak, element in ASYNC remains ASYNC.
24286
24287 2005-09-30  Wim Taymans  <wim@fluendo.com>
24288
24289         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24290         Only error is an error.
24291
24292         * gst/gstbin.c: (gst_bin_change_state):
24293         Better debugging.
24294
24295         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24296         Also call pad_block in pad alloc.
24297
24298         * gst/gstutils.c: (gst_flow_get_name):
24299         Better debugging.
24300
24301 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24302
24303         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24304         (gst_base_src_get_range):
24305           Fix documentation typos. Add some more debug info.
24306
24307 2005-09-29  David Schleef  <ds@schleef.org>
24308
24309         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24310           more end-user friendly.
24311         * tools/gst-inspect.c: (main): Check if command-line argument is
24312           a file and attempt to load that file as a plugin.
24313
24314 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24315
24316         * check/gst/gstbin.c:
24317         * check/states/sinks.c:
24318           fix tests for the new warning
24319         * check/gst/gstpipeline.c:
24320           add a test for pipeline and bus interaction
24321         * gst/gstelement.c:
24322           elements should be NULL if they get disposed; add a warning if not
24323
24324 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24325
24326         * gst/gstobject.c:
24327           for 2.6 refcounting, make debug log more correct by printing
24328           the actual refcounts at the time of swap (Wim)
24329
24330 2005-09-29  Andy Wingo  <wingo@pobox.com>
24331
24332         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24333         removes signal watches previously added via
24334         gst_bus_add_signal_watch.
24335         (gst_bus_add_signal_watch): Don't return the source id, just store
24336         it on the bus if there wasn't an id already.
24337
24338         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24339         add_signal_watch and remove_signal_watch.
24340
24341 2005-09-29  Edward Hervey  <edward@fluendo.com>
24342
24343         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24344         Better if we actually iterate the list :)
24345
24346 2005-09-29  Wim Taymans  <wim@fluendo.com>
24347
24348         * check/gst/gstbin.c: (GST_START_TEST):
24349         Change for new bus API.
24350
24351         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24352         (send_messages), (GST_START_TEST), (gstbus_suite):
24353         Change for new bus signal API.
24354
24355         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24356         (gst_bus_source_prepare), (gst_bus_source_check),
24357         (gst_bus_create_watch), (gst_bus_add_watch_full),
24358         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24359         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24360         * gst/gstbus.h:
24361         Remove support for multiple GSources operating on different
24362         message types as it is too complex and unneeded when using
24363         signals.
24364         Added support for receiving signals from the bus.
24365
24366 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24367
24368         * docs/libs/tmpl/gstdataprotocol.sgml:
24369         * docs/manual/advanced-dataaccess.xml:
24370         * gst/elements/gstcapsfilter.c:
24371         * gst/gstutils.c:
24372           rename filter-caps to caps property
24373
24374 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24375
24376         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24377           More robust fraction string parsing.
24378
24379         * docs/pwg/appendix-porting.xml:
24380           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24381
24382 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24383
24384         * gst/gstcaps.c: (gst_caps_do_simplify):
24385           Thou shalt not free a structure and then continue using it
24386           in the next loop iteration.
24387
24388         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24389         (gst_caps_suite):
24390           Add test case for caps simplification.
24391
24392 2005-09-29  Wim Taymans  <wim@fluendo.com>
24393
24394         * check/gst/gstbin.c: (GST_START_TEST):
24395         Oops.
24396
24397 2005-09-29  Wim Taymans  <wim@fluendo.com>
24398
24399         * check/gst/gstbin.c: (GST_START_TEST):
24400         Add bus to bin.
24401
24402         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24403         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24404         (find_element), (gst_bin_sort_iterator_next),
24405         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24406         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24407         (gst_bin_change_state), (gst_bin_dispose):
24408         A bin does not have a bus, it gets the bus from the parent.
24409
24410         * gst/gstelement.c: (gst_element_requires_clock),
24411         (gst_element_provides_clock), (gst_element_is_indexable),
24412         (gst_element_is_locked_state), (gst_element_change_state),
24413         (gst_element_set_bus_func):
24414         Small cleanups.
24415
24416         * gst/gstpipeline.c: (gst_pipeline_class_init),
24417         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24418         The pipeline provides a bus.
24419
24420 2005-09-28  Johan Dahlin  <johan@gnome.org>
24421
24422         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24423         gst_structure_get_enum instead of gst_structure_get_int
24424
24425         * gst/gststructure.c (gst_structure_get_enum): Impl.
24426
24427         * gst/gststructure.h (gst_structure_get_enum): Add
24428
24429         * docs/gst/gstreamer-sections.txt: Ditto
24430
24431         * gst/gstmessage.c (gst_message_new_state_changed): Use
24432         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24433         which does introspection.
24434         Reviewed by Christian Schaller
24435
24436 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24437
24438         * gst/gstinfo.c: (gst_debug_log_default):
24439           don't do dummy g_strdup()s
24440         * libs/gst/controller/gstcontroller.c:
24441         (on_object_controlled_property_changed),
24442         (gst_controlled_property_new), (gst_controller_new_valist),
24443         (gst_controller_new_list),
24444         (gst_controller_remove_properties_valist), (gst_controller_set),
24445         (gst_controller_get), (gst_controller_sync_values),
24446         (gst_controller_get_value_array), (_gst_controller_class_init),
24447         (gst_controller_get_type):
24448         * libs/gst/controller/gstcontroller.h:
24449         * libs/gst/controller/gstinterpolation.c:
24450         (gst_controlled_property_find_timed_value_node):
24451           convert // to /**/ comments
24452
24453 2005-09-28  Wim Taymans  <wim@fluendo.com>
24454
24455         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24456         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24457         (gst_bus_sync_signal_handler):
24458         * gst/gstbus.h:
24459         Added async-message and sync-message signals to the bus.
24460         Added helper BusFunc to emit signals for all posted messages.
24461
24462         * gst/gstmessage.c: (gst_message_type_get_name),
24463         (gst_message_type_to_quark), (gst_message_get_type):
24464         * gst/gstmessage.h:
24465         Register quarks for message names.
24466
24467 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24468
24469         * docs/libs/gstreamer-libs-sections.txt:
24470         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24471         (gst_controller_new_list):
24472         * libs/gst/controller/gstcontroller.h:
24473           added another constructor for language bindings
24474
24475 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24476
24477         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24478           add another check
24479         * gst/gstbus.c:
24480           add some doc
24481         * gst/gstinfo.c: (_gst_debug_init):
24482           slightly more readable color for refcount debugging
24483
24484 2005-09-28  Wim Taymans  <wim@fluendo.com>
24485
24486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24487         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24488         (find_element), (gst_bin_sort_iterator_next),
24489         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24490         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24491         (gst_bin_change_state), (gst_bin_dispose):
24492         Small doc fixes. get_clock -> provide_clock.
24493
24494         * gst/gstelement.c: (gst_element_class_init),
24495         (gst_element_provides_clock), (gst_element_provide_clock),
24496         (gst_element_get_clock), (gst_element_commit_state),
24497         (gst_element_lost_state):
24498         * gst/gstelement.h:
24499         Make get/set_clock() symetric. Add provide_clock vmethod since
24500         that is actually what this function does.
24501
24502         * gst/gstpipeline.c: (gst_pipeline_class_init),
24503         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24504         (gst_pipeline_get_clock):
24505         get_clock -> provide_clock.
24506
24507 2005-09-28  Andy Wingo  <wingo@pobox.com>
24508
24509         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24510         lieu of real docs...
24511
24512         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24513
24514 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24515
24516         * gst/elements/gstcapsfilter.c:
24517         * gst/elements/gstfakesink.c:
24518         * gst/elements/gstfakesrc.c:
24519         * gst/elements/gstfdsink.c:
24520         * gst/elements/gstfdsrc.c:
24521         * gst/elements/gstfilesink.c:
24522         * gst/elements/gstfilesrc.c:
24523         * gst/elements/gstidentity.c:
24524         * gst/elements/gsttee.c:
24525         * gst/elements/gsttypefindelement.c:
24526           Make element details static.
24527
24528 2005-09-28  Wim Taymans  <wim@fluendo.com>
24529
24530         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24531         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24532         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24533         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24534         (gst_bin_change_state), (gst_bin_dispose):
24535         Some documentation updates.
24536         Clean up dispose handlers.
24537
24538         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24539         * gst/gstpad.c: (gst_pad_dispose):
24540         Clean up dispose handler.
24541
24542         * gst/gstpipeline.c: (gst_pipeline_change_state):
24543         Removed spurious UNLOCK.
24544
24545 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24546
24547         * docs/gst/gstreamer-sections.txt:
24548         * gst/base/gstbasesrc.h:
24549         * gst/gstelement.h:
24550         * gst/gstevent.h:
24551         * gst/gstobject.h:
24552         * gst/gstpad.h:
24553         * gst/gstpipeline.c:
24554         * gst/gstpipeline.h:
24555         * gst/gstutils.h:
24556         * gst/gstxml.h:
24557           added two new functions to the docs
24558                 documents all undocumented GstXXXFlags
24559                 completed some incomplete docs 
24560
24561 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24562
24563         * gst/gstbin.c: (gst_bin_dispose):
24564         * gst/gstelement.c: (gst_element_dispose):
24565           remove now useless and leaky resurrection code in dispose
24566         * gst/base/gstbasesrc.c: (gst_base_src_init):
24567         * gst/gstelementfactory.c: (gst_element_factory_create):
24568         * gst/gstobject.c: (gst_object_set_parent):
24569           add some debugging
24570
24571 2005-09-27  Wim Taymans  <wim@fluendo.com>
24572
24573         * docs/design/part-TODO.txt:
24574         Update TODO.
24575
24576         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24577         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24578         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24579         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24580         (gst_bin_change_state):
24581         * gst/gstelement.h:
24582         Remove element variable, we keep element info in the iterator now.
24583
24584 2005-09-27  Andy Wingo  <wingo@pobox.com>
24585
24586         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24587         values.
24588
24589 2005-09-27  Wim Taymans  <wim@fluendo.com>
24590
24591         * check/gst/gstbin.c: (GST_START_TEST):
24592         Enable check that works now.
24593
24594         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24595         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24596         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24597         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24598         (gst_bin_change_state):
24599         * gst/gstbin.h:
24600         Redid the state change algorithm using a topological sort algo.
24601         Handles all cases correctly.
24602         Exposed iterator for state change order.
24603
24604         * gst/gstelement.h:
24605         Temp storage for state changes. Need to get rid of this soon.
24606
24607 2005-09-27  Wim Taymans  <wim@fluendo.com>
24608
24609         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24610         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24611         (link_fold_func), (gst_pad_proxy_setcaps):
24612         Leak fixes, the fold functions need to unref the passed object and
24613         _get_parent_*() returns ref to parent.
24614
24615 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24616
24617         * check/gst/gstbuffer.c: (test_make_writable):
24618           Plug leak in test case and fix 'make check-valgrind'
24619
24620 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24621
24622         * gst/gstbuffer.c: (gst_subbuffer_init):
24623           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24624           works correctly in all circumstances (we could have just copied
24625           the parent buffer's readonly flag, but conceptually it seems
24626           cleaner to mark all subbuffers as read-only). (based on patch
24627           by Alessandro Decina, #314710).
24628         
24629         * check/gst/gstbuffer.c: (create_read_only_buffer),
24630         (test_make_writable), (test_subbuffer_make_writable),
24631         (gst_test_suite):
24632           Add some tests for gst_buffer_make_writable().
24633
24634 2005-09-27  Wim Taymans  <wim@fluendo.com>
24635
24636         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24637         use gst_object_has_ancestor().
24638
24639         * gst/gstobject.c: (gst_object_has_ancestor):
24640         * gst/gstobject.h:
24641         gst_object_has_ancestor() copied from gstbin.c as it is a
24642         useful function.
24643
24644         * tests/instantiate/create.c: (create_all_elements):
24645         * tests/lat.c: (handoff_src), (handoff_sink):
24646         * tests/sched/runxml.c: (main):
24647         * tests/seeking/seeking1.c: (main):
24648         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24649         (main):
24650         Fix compilation of some tests.
24651
24652 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24653
24654         * gst/gsterror.h:
24655           Remove comment. GST_TYPE_G_ERROR is here to stay,
24656           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24657           (#316961, #300610).
24658
24659 2005-09-26  Wim Taymans  <wim@fluendo.com>
24660
24661         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24662         Added check that shows error in state change order.
24663
24664 2005-09-26  Wim Taymans  <wim@fluendo.com>
24665
24666         * gst/gstbin.c: (gst_bin_change_state):
24667         Make state change function use 3 queues again, we were
24668         adding elements in the wrong order.
24669
24670         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24671         Some debug info,
24672
24673         * gst/gstpad.c: (gst_pad_dispose):
24674         Added some debug info first.
24675
24676 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24677
24678         * docs/design/draft-push-pull.txt:
24679         * docs/design/part-events.txt:
24680         * docs/design/part-overview.txt:
24681         * docs/design/part-scheduling.txt:
24682           Replace all _pull_region() with _pull_range()
24683           
24684 2005-09-26  Andy Wingo  <wingo@pobox.com>
24685
24686         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24687
24688         * check/gst-libs/controller.c: Update for controller api change.
24689
24690         * configure.ac: 
24691         * tests/Makefile.am:
24692         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24693         over by GLib bug 118439.
24694         
24695         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24696         routines to a function.
24697
24698         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24699
24700         * libs/gst/controller/gsthelper.c:
24701         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24702         (gst_object_sync_values): Renamed from sink_values. Ugh.
24703
24704         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24705
24706         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24707         Renamed from controller_key, as it is exported.
24708
24709         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24710
24711 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24712
24713         * gst/Makefile.am:
24714         * gst/gst.h:
24715         * gst/gstpad.h:
24716         * gst/gstpadtemplate.h:
24717         * gst/gstquery.c:
24718         * gst/gstquery.h:
24719         * gst/gstqueryutils.c:
24720         * gst/gstqueryutils.h:
24721           remove queryutils headers after moving the two used functions
24722           to gstquery.  also fixes build problem for gstsiddec
24723
24724 2005-09-26  Michael Smith <msmith@fluendo.com>
24725
24726         * tools/gst-launch.1.in:
24727         Correct documentation in manpage of debug syntax
24728
24729 2005-09-26  Wim Taymans  <wim@fluendo.com>
24730
24731         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24732         (gst_base_src_is_seekable), (gst_base_src_change_state):
24733         Some more debugging info.
24734
24735 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24736
24737         * docs/gst/gstreamer-sections.txt:
24738         * gst/base/gstbasetransform.h:
24739         * gst/gstindex.h:
24740           added more docs
24741
24742 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24743
24744         * docs/gst/.cvsignore:
24745         * docs/gst/tmpl/.cvsignore:
24746         * docs/gst/tmpl/gstpipeline.sgml:
24747         * docs/gst/tmpl/gstplugin.sgml:
24748         * gst/gstpipeline.c:
24749         * gst/gstplugin.c:
24750         * gst/gstplugin.h:
24751           inlined the last two docs files
24752           removed the tmpl directory from cvs (no more conflicts here!)
24753
24754 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24755
24756         * docs/gst/gstreamer-sections.txt:
24757         * docs/gst/tmpl/.cvsignore:
24758         * docs/gst/tmpl/gstpad.sgml:
24759         * docs/gst/tmpl/gstpadtemplate.sgml:
24760         * gst/Makefile.am:
24761         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24762         (gst_pad_finalize), (gst_pad_set_pad_template):
24763         * gst/gstpad.h:
24764         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24765         (gst_pad_template_class_init), (gst_pad_template_init),
24766         (gst_pad_template_dispose), (name_is_valid),
24767         (gst_static_pad_template_get), (gst_pad_template_new),
24768         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24769         (gst_pad_template_pad_created):
24770         * gst/gstpadtemplate.h:
24771           inlined two more docs
24772           factored gstpadtemplate out of gstpad
24773
24774 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24775
24776         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24777         (test_children_state_change_order_semi_sink):
24778           Fix test case: we can't rely on a fixed state change order when
24779           going from READY => PAUSED because the sink might commit its 
24780           new state first when the first buffer created by the source 
24781           reaches the sink before the source has finished its change state.
24782           (Test case still fails at times, see #316856, comment 5 onwards)
24783
24784 2005-09-24  Wim Taymans  <wim@fluendo.com>
24785
24786         * docs/design/part-events.txt:
24787         * docs/design/part-gstbus.txt:
24788         * docs/design/part-gstpipeline.txt:
24789         * docs/design/part-messages.txt:
24790         * docs/design/part-overview.txt:
24791         * docs/design/part-segments.txt:
24792         * gst/gstbin.c:
24793         * gst/gstbuffer.c:
24794         * gst/gstclock.c:
24795         * gst/gstelement.c:
24796         * gst/gstevent.c:
24797         * gst/gstfilter.c:
24798         * gst/gstiterator.c:
24799         Various documentation updates.
24800
24801 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24802
24803         * gst/gstclock.h:
24804           Well, that's embarassing.  Luckily we weren't using
24805           GST_CLOCK_DIFF anywhere.
24806
24807 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24808
24809         * common/gtk-doc.mak:
24810           don't fail on building XML, FC4 slave shows a bunch of doc
24811           missing bits that I don't get
24812         * gst/gstpad.c:
24813         * gst/gstpipeline.c:
24814         * gst/gststructure.c:
24815           some doc updates
24816
24817 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24818
24819         * docs/design/part-gstbin.txt:
24820         * docs/design/part-gstbus.txt:
24821         * gst/gstbus.c:
24822           Add blurb about how the bus goes into flushing mode and
24823           drops all messages when its bin goes from READY into NULL 
24824           state.
24825
24826 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24827
24828         * docs/gst/gstreamer-sections.txt:
24829         * gst/gststructure.c: (gst_structure_get_clock_time):
24830         * gst/gststructure.h:
24831           add a method to get a GstClockTime out of a structure
24832
24833 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24834
24835         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24836         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24837           Added test to check state change order in bins (can still be made
24838           to fail here under heavy disk load; bails out with 'Push on pad
24839           fakesink:sink0, but it was not activated in push mode').
24840
24841         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24842           Fix state change order when there is only a semi sink (#316856)
24843
24844         * gst/gstbus.c: (gst_bus_class_init):
24845           Use _class_peek_parent(), not _class_ref(); fix docs to say
24846           'default main context' instead of 'mainloop' where that is
24847           what's meant.
24848
24849         * gst/gstelement.c: (gst_element_commit_state),
24850         (gst_element_set_state):
24851           Fix typos in debug messages
24852
24853 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24854
24855         * docs/README:
24856         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24857         * gst/gstpluginfeature.c:
24858         * gst/gstutils.c:
24859           various doc updates
24860         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24861           change an assert into an error until it gets fixed properly
24862
24863 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24864
24865         * docs/gst/gstreamer-sections.txt:
24866         * docs/gst/tmpl/.cvsignore:
24867         * docs/gst/tmpl/gstelement.sgml:
24868         * docs/gst/tmpl/gstinfo.sgml:
24869         * docs/gst/tmpl/gstobject.sgml:
24870         * gst/gstelement.c:
24871         * gst/gstelement.h:
24872         * gst/gstinfo.c:
24873         * gst/gstinfo.h:
24874         * gst/gstobject.c: (gst_object_class_init):
24875         * gst/gstobject.h:
24876           inlined 3 more biiiig doc files and added some missing docs on the fly
24877
24878 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24879
24880         * check/gst/.cvsignore:
24881         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24882         * gst/gstregistryxml.c: (load_plugin),
24883         (gst_registry_xml_save_plugin):
24884           put back source in registry.  add checks for find_plugin.
24885         * testsuite/states/bin.c: (assert_state), (empty_bin),
24886         (test_adding_one_element), (main):
24887         * testsuite/states/locked.c: (main):
24888           some compile/run fixes
24889
24890 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24891
24892         * check/gst/gstvalue.c: (GST_START_TEST):
24893           fix leaks in the test itself
24894
24895 2005-09-22  Wim Taymans  <wim@fluendo.com>
24896
24897         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24898         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24899         (gst_base_sink_query):
24900         Prepare for more accurate position reporting and query
24901         handling.
24902
24903         * gst/gstelement.c: (gst_element_send_event),
24904         (gst_element_set_state):
24905         Add some comment.
24906
24907 2005-09-22  Wim Taymans  <wim@fluendo.com>
24908
24909         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24910         (gst_query_parse_segment):
24911         * gst/gstquery.h:
24912         More documentation.
24913         Add segment query for future use.
24914
24915 2005-09-22  Wim Taymans  <wim@fluendo.com>
24916
24917         * gst/gstbin.c: (gst_bin_add_func):
24918         Some more debug info.
24919
24920         * gst/gstelement.c: (gst_element_send_event):
24921         Simplify send_event
24922
24923         * gst/gstelement.h:
24924         Don't know how flags got broken.
24925
24926         * gst/gstquery.h:
24927         Added new query.
24928
24929 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24930
24931         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24932           Add simplistic test suite for GST_TYPE_DATE serialisation and
24933           deserialisation.
24934
24935 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24936
24937         * docs/gst/gstreamer-sections.txt:
24938         * gst/gststructure.c: (gst_structure_set_valist),
24939         (gst_structure_get_date):
24940         * gst/gststructure.h:
24941         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24942         (gst_date_copy), (gst_value_compare_date),
24943         (gst_value_serialize_date), (gst_value_deserialize_date),
24944         (gst_value_transform_date_string),
24945         (gst_value_transform_string_date), (_gst_value_initialize):
24946         * gst/gstvalue.h:
24947           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24948           bunch of utility functions along with a hack that checks that
24949           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24950           is required. Part of the grand scheme in #170777.
24951
24952 2005-09-22  Andy Wingo  <wingo@pobox.com>
24953
24954         * gst/gstconfig.h.in: Psych out gtk-doc.
24955
24956         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24957
24958         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24959
24960         * tools/gst-inspect.c (print_element_list): Plug some
24961         inconsequential leaks.
24962
24963         * gst/gstregistry.c (gst_registry_get_default): Doc.
24964
24965         * check/gst/gstplugin.c: 
24966         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24967         * gst/gstelementfactory.c (gst_element_factory_create): 
24968         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24969         refcount changes.
24970
24971         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24972         (gst_plugin_feature_load): Doc, don't eat refs.
24973
24974         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24975         (gst_plugin_list_free): Doc.
24976         (gst_plugin_load_file): Doc updates.
24977
24978         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24979         accessors returning refcounted objects, return a ref.
24980
24981         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
24982         accessor for caps. IDEMPOTENCE. Oh yes.
24983
24984 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
24985
24986         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24987
24988         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24989         (_gst_debug_register_funcptr):
24990           Add mutex to serialise access to the hash table with
24991           the function pointer => function name string mapping;
24992           make that hash table static scope (#316809).
24993
24994         * gst/registries/.cvsignore:
24995           Remove left-over file.
24996
24997 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
24998
24999         * docs/pwg/appendix-porting.xml:
25000           And something about newsegment events and caps-on-buffers to
25001           the porting guide (feel free to improve).
25002
25003 2005-09-21  Andy Wingo  <wingo@pobox.com>
25004
25005         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25006         data and event probes on the same pad.
25007         (test_buffer_probe_once): Test that removing probes from within
25008         the probe functions works.
25009
25010 2005-09-21  Andy Wingo  <wingo@pobox.com>
25011
25012         * check/gst/gstutils.c: New file.
25013         (test_buffer_probe_n_times): A simple buffer probe test. More to
25014         come, foolios.
25015
25016         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25017         have-data::buffer, not have-data.
25018         (gst_pad_add_event_probe): Likewise for have-data::event.
25019         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25020         peer' isn't quite right yet though.
25021         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25022         (gst_pad_remove_data_probe): Change to take the guint handler_id
25023         as their arg, not the function+data, which is more glib-like.
25024
25025         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25026         the signal emission to indicate if the data is a buffer or an
25027         event.
25028         (gst_pad_get_type): Initialize buffer and event quarks.
25029         (gst_pad_class_init): have-data is now a detailed signal, yes it
25030         is.
25031
25032 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25033
25034         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25035         * gst/gstutils.c: (gst_util_set_value_from_string),
25036         (gst_util_set_object_arg):
25037           Don't put functional code in g_return_if_fail() or
25038           g_return_val_if_fail() statements, otherwise things will 
25039           break when G_DISABLE_CHECKS is defined during compilation.
25040
25041 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25042
25043         * docs/gst/tmpl/.cvsignore:
25044         * docs/gst/tmpl/gstvalue.sgml:
25045         * gst/gstvalue.c:
25046         * gst/gstvalue.h:
25047           inlied another one and added  some obvious docs
25048
25049 2005-09-21  Wim Taymans  <wim@fluendo.com>
25050
25051         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25052         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25053         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25054         (gst_fdsrc_get_property), (gst_fdsrc_create):
25055         * gst/elements/gstfdsrc.h:
25056         Properly implement fdsrc. Removed signal and timeout,
25057         better implemented somewhere else.
25058
25059 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25060
25061         * docs/gst/tmpl/.cvsignore:
25062         * docs/gst/tmpl/gstimplementsinterface.sgml:
25063         * gst/gstinterface.c:
25064           inlined more docs
25065
25066 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25067
25068         * docs/gst/gstreamer-sections.txt:
25069         * docs/gst/tmpl/.cvsignore:
25070         * docs/gst/tmpl/gstenumtypes.sgml:
25071           remove obsolete doc file
25072
25073 2005-09-21  David Schleef  <ds@schleef.org>
25074
25075         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25076         little beer, fix a little leak.
25077
25078 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25079
25080         * docs/gst/gstreamer-docs.sgml:
25081         * docs/gst/gstreamer-sections.txt:
25082         * docs/gst/tmpl/.cvsignore:
25083         * gst/Makefile.am:
25084         * gst/gst.h:
25085         * gst/gstbin.c:
25086         * gst/gstelement.h:
25087         * gst/gstindex.c: (gst_index_class_init):
25088         * gst/gstindex.h:
25089         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25090         (gst_index_factory_class_init), (gst_index_factory_init),
25091         (gst_index_factory_finalize), (gst_index_factory_new),
25092         (gst_index_factory_destroy), (gst_index_factory_find),
25093         (gst_index_factory_create), (gst_index_factory_make):
25094         * gst/gstindexfactory.h:
25095         * gst/gstpluginfeature.c:
25096         * gst/gstpluginfeature.h:
25097         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25098           more docs inlined, splitted gstindex.{c,h}
25099
25100 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25101
25102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25103           fix a leak
25104
25105 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25106
25107         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25108           Set sync to FALSE by default.
25109
25110 2005-09-20  Wim Taymans  <wim@fluendo.com>
25111
25112         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25113         (gst_base_sink_init):
25114         Make sync property settable from subclass.
25115
25116         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25117         (gst_fake_sink_change_state):
25118         Set sync to FALSE by default.
25119
25120 2005-09-20  Wim Taymans  <wim@fluendo.com>
25121
25122         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25123         * tools/gst-launch.c: (main):
25124         The timeout handler should have lower priority than the source
25125         so we don't timeout before popping a message with 0 timeout.
25126         Dump error messages after failed state change.
25127
25128 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25129
25130         * tools/gst-inspect.c: (print_element_properties_info):
25131           Fix two typos.
25132
25133 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25134
25135         * check/gst/gstevent.c:
25136         * gst/elements/gstfakesink.c:
25137         * gst/elements/gstfakesink.h:
25138           remove the sync property from fakesink.
25139           has the side effect of setting sync TRUE
25140           for fakesink, which is a change.  Anyone who knows how
25141           to fix this nicely in a GObject-y way, feel free.
25142
25143 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25144
25145         * docs/gst/gstreamer-docs.sgml:
25146           remove probe refsection
25147
25148 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25149
25150         * check/Makefile.am:
25151           disable valgrinding the controller test again
25152         * docs/gst/gstreamer-sections.txt:
25153           update for api-changes
25154
25155 2005-09-20  Wim Taymans  <wim@fluendo.com>
25156
25157         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25158         (gst_base_sink_set_property), (gst_base_sink_get_property),
25159         (gst_base_sink_do_sync):
25160         * gst/base/gstbasesink.h:
25161         Added sync property to basesink to disable clock sync.
25162
25163 2005-09-20  Andy Wingo  <wingo@pobox.com>
25164
25165         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25166         eating the caller's refcount.
25167
25168         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25169         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25170         refcount.
25171
25172         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25173         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25174         of GLib 2.8 public, so we can know which refcount to check in
25175         tests.
25176
25177         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25178         (gst_object_init): Only set the gst refcount if we're going ahead
25179         with the refcount hack.
25180
25181 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25182
25183         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25184         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25185           more leaks plumbed, added more debug-logging
25186         * gst/gstmacros.h:
25187           whitespace fix
25188
25189 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25190
25191         * gst/gstmessage.c:
25192           remove include of gstmemchunk.h
25193
25194 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25195
25196         * gst/gstclock.c: (_gst_clock_id_free):
25197           Commit from the Political Party For More Atomic CVS Commits,
25198           so that people don't waste too much of their day fishing
25199           out obvious leaks out of massive commits.
25200           Oh, and fix a pretty damn obvious leak in the memchunk
25201           removal code.
25202
25203 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25204
25205         * check/Makefile.am:
25206         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25207           plug mem-leak, re-add to valgrindable tests
25208
25209 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25210
25211         * gst/gstplugin.h:
25212           unbreak the build for those who have chronic arthritis
25213           and typing "make check" is just too taxing on the hands
25214
25215 2005-09-20  Andy Wingo  <wingo@pobox.com>
25216
25217         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25218         really want it out, you should fix plugins at the same time.
25219
25220 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25221
25222         * configure.ac:
25223         * docs/gst/gstreamer-sections.txt:
25224         * gst/gstobject.c:
25225           added missing symbols to api docs
25226           disable ref-count hack if we have glib >= 2.8
25227
25228 2005-09-19  David Schleef  <ds@schleef.org>
25229
25230         * docs/gst/Makefile.am: Ignore a few more internal headers
25231         * docs/gst/gstreamer-docs.sgml: Remove old sections
25232         * docs/gst/gstreamer-sections.txt: Remove old sections
25233         * docs/gst/tmpl/gstobject.sgml: update
25234         * docs/gst/tmpl/gstplugin.sgml: update
25235         * docs/gst/tmpl/gstpluginfeature.sgml: update
25236         * docs/random/ds/0.9-suggested-changes: update.
25237         * gst/Makefile.am: remove memchunk and trashstack, since they're
25238           not used.
25239         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25240         * gst/gst.h: don't include some headers
25241         * gst/gstchildproxy.c: add gstmarshal.h
25242         * gst/gstclock.c: Don't use memchunks
25243         * gst/gstminiobject.c: Add some docs
25244         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25245         * gst/gstobject.h: same
25246         * gst/gstplugin.c: include gstmacros.h
25247         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25248         * gst/gstquery.c: don't use memchunks
25249         * gst/gstregistry.c: rename gst_registry_deinit()
25250         * gst/gstregistry.h: same
25251
25252 2005-09-19  David Schleef  <ds@schleef.org>
25253
25254         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25255         * docs/libs/gstreamer-libs-sections.txt:
25256         * docs/libs/tmpl/gstgetbits.sgml:
25257         * docs/libs/tmpl/gstputbits.sgml:
25258
25259 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25260
25261         * win32/gstenumtypes.c:
25262         * win32/gstenumtypes.h:
25263           Update.
25264
25265 2005-09-19  Wim Taymans  <wim@fluendo.com>
25266
25267         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25268         Automatically PAUSE and RESUME a pipeline when a flushing seek
25269         is performed.
25270
25271 2005-09-19  Andy Wingo  <wingo@pobox.com>
25272
25273         * gst/gstregistry.h: Spacing fixen.
25274
25275 2005-09-19  Wim Taymans  <wim@fluendo.com>
25276
25277         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25278         Handle state change failure more correctly.
25279
25280 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25281
25282         * check/Makefile.am:
25283         * check/pipelines/cleanup.c: (run_pipeline):
25284         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25285         (GST_START_TEST):
25286           enable cleanup again after fixing the leak
25287         * docs/README:
25288           some more info on docs
25289
25290 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25291
25292         * check/Makefile.am:
25293           re-enable tests now that leaks are plugged
25294         * check/gst/gst.c:
25295         * check/gst/gstbin.c:
25296         * check/gst/gstpipeline.c:
25297           add some more tests while fixing leaks
25298         * common/check.mak:
25299           make sure binaries are uptodate when valgrinding/gdbing
25300         * gst/gst.c:
25301         * gst/gstelementfactory.c:
25302           remove a ref too many, and add a FIXME for when we get
25303           round to disposing of classes
25304         * gst/gstplugin.c:
25305           fix the refcounting when loading a plugin from a file and
25306           the code pretends that the pointer is the same even though
25307           of course it can change
25308         * gst/gstpluginfeature.c:
25309           unref plugins marked cached (a bit confusing as a name)
25310           as the docs state should be done
25311           various doc additions to explain refcounting
25312         * gst/gstregistry.c:
25313         * gst/gstregistryxml.c:
25314           debugging
25315
25316 2005-09-19  Wim Taymans  <wim@fluendo.com>
25317
25318         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25319         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25320         (send_messages), (GST_START_TEST), (gstbus_suite):
25321         * check/gst/gstpipeline.c: (GST_START_TEST):
25322         * check/pipelines/cleanup.c: (run_pipeline):
25323         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25324         (GST_START_TEST):
25325         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25326         (gst_bus_source_check), (gst_bus_source_dispatch),
25327         (gst_bus_create_watch), (gst_bus_add_watch_full),
25328         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25329         * gst/gstbus.h:
25330         * tools/gst-launch.c: (event_loop):
25331         * tools/gst-md5sum.c: (event_loop):
25332         GstBusHandler -> GstBusFunc, return value has the same meaning as
25333         any other GSource (FALSE == remove source).
25334         _add_watch() and _add_watch_full() now take a MessageType mask to
25335         only handle specific types of messages.
25336         _poll() returns the GstMessage instead of the message type to avoid
25337         race conditions.
25338         _have_pending() takes a MessageType mask now too.
25339         Added testsuite for multiple bus watches.
25340         Fix testsuites and applications for new bus API.
25341
25342 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25343
25344         * check/Makefile.am:
25345           mark a bunch of the tests as to fix until we fix them
25346
25347 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25348
25349         * common/check.mak:
25350           use GST_PLUGIN settings for valgrind tests as well, so we're
25351           valgrinding the correct thing
25352         * gst/gst.c: (init_post):
25353           plug another leak
25354
25355 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25356
25357         * gst/gst.c: (init_post), (gst_deinit):
25358         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25359         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25360         * gst/gstindex.c: (gst_index_factory_class_init),
25361         (gst_index_factory_finalize):
25362         * gst/gstobject.c: (gst_object_dispose):
25363         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25364         (gst_plugin_load_file), (gst_plugin_desc_free):
25365         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25366         (gst_plugin_feature_finalize):
25367         * gst/gstregistry.c: (gst_registry_class_init),
25368         (gst_registry_init), (gst_registry_finalize),
25369         (gst_registry_get_default), (gst_registry_deinit):
25370         * gst/gstregistry.h:
25371         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25372           various cleanups and memleak plugging.  make valgrind is happy now.
25373
25374 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25375
25376         * common/check.mak:
25377           add a check-valgrind target
25378
25379 2005-09-18  David Schleef  <ds@schleef.org>
25380
25381         * tools/gst-inspect.c: Revert the GOption code.
25382
25383 2005-09-17  David Schleef  <ds@schleef.org>
25384
25385         * check/Makefile.am: Fix environment variables.
25386         * check/gst/gstplugin.c: Fix for API changes.
25387         * tools/gst-inspect.c: Fix for API changes.
25388         * tools/gst-xmlinspect.c: Fix for API changes.
25389         * gst/gstelementfactory.c:
25390         * gst/gstplugin.c:
25391         * gst/gstplugin.h:
25392         * gst/gstpluginfeature.c:
25393         * gst/gstpluginfeature.h:
25394         * gst/gstregistry.c:
25395         * gst/gstregistry.h:
25396         * gst/gstregistryxml.c:
25397         * gst/gsttypefind.c:
25398         * gst/gsttypefindfactory.c:
25399         * gst/indexers/gstfileindex.c:
25400         * gst/indexers/gstmemindex.c:
25401         * gst/schedulers/Makefile.am:
25402           Change registry to keep track of both plugins and features,
25403           removing the feature tracking from plugins themselves.
25404
25405 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25406
25407         * check/Makefile.am:
25408         * tools/gst-register.1.in:
25409           remove gst-register
25410
25411 2005-09-15  David Schleef  <ds@schleef.org>
25412
25413         * check/gst/gstplugin.c:
25414         * gst/gstelementfactory.c:
25415         * gst/gstplugin.c:
25416         * gst/gstpluginfeature.c:
25417         * gst/gstregistry.c:
25418           Getting tired of debugging.  Disabled all the unreffing of
25419           plugins and features, which fixes the segfaults, but of
25420           course leaks like crazy.  At least playbin works.
25421
25422 2005-09-15  David Schleef  <ds@schleef.org>
25423
25424         * check/gst/gstplugin.c: (register_check_elements),
25425         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25426         More testing
25427         * gst/elements/gsttypefindelement.c: Fix refcounting.
25428         * gst/gsttypefind.c:
25429         * gst/gsttypefindfactory.c:
25430         * gst/gsttypefindfactory.h:
25431
25432 2005-09-15  David Schleef  <ds@schleef.org>
25433
25434         * gst/gstindex.c: get refcounting correct.
25435         * gst/gstregistry.c: Handle the case where a feature/plugin is
25436           not found.
25437
25438 2005-09-15  David Schleef  <ds@schleef.org>
25439
25440         * check/Makefile.am:
25441         * check/gst/gstplugin.c: Add test
25442         * gst/gstplugin.c: Fix problems noticed by testsuite
25443         * gst/gstplugin.h:
25444         * gst/gstregistry.c: 
25445         * gst/gstregistry.h:
25446
25447 2005-09-15  David Schleef  <ds@schleef.org>
25448
25449         * gst/gstplugin.c: Implement semi-decent recounting and locking
25450           in plugins and plugin features.
25451         * gst/gstplugin.h:
25452         * gst/gstpluginfeature.c:
25453         * gst/gstpluginfeature.h:
25454         * gst/gstregistry.c:
25455
25456 2005-09-15  Michael Smith <msmith@fluendo.com>
25457
25458         * gst/gstregistry.c: (gst_registry_get_feature_list):
25459           Implement this. Makes oggdemux work; decodebin still broken.
25460
25461 2005-09-14  David Schleef  <ds@schleef.org>
25462
25463         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25464           #316076)
25465         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25466         * gst/check/Makefile.am:
25467         * libs/gst/controller/Makefile.am:
25468         * libs/gst/dataprotocol/Makefile.am:
25469
25470 2005-09-14  David Schleef  <ds@schleef.org>
25471
25472         * configure.ac: Remove getbits library.  Nothing uses it, and
25473           it should be in something like liboil if someone did want
25474           to use it.
25475         * libs/gst/Makefile.am:
25476         * libs/gst/getbits/Makefile.am:
25477         * libs/gst/getbits/gbtest.c:
25478         * libs/gst/getbits/getbits.c:
25479         * libs/gst/getbits/getbits.h:
25480         * libs/gst/getbits/gstgetbits_generic.c:
25481         * libs/gst/getbits/gstgetbits_i386.s:
25482         * libs/gst/getbits/gstgetbits_inl.h:
25483
25484 2005-09-14  David Schleef  <ds@schleef.org>
25485
25486         * gst/Makefile.am: Dist glib-compat.h
25487
25488 2005-09-14  David Schleef  <ds@schleef.org>
25489
25490         * configure.ac: Remove gst/registries, since it's no longer used.
25491         * gst/registries/Makefile.am:
25492         * gst/registries/gstlibxmlregistry.c:
25493         * gst/registries/gstlibxmlregistry.h:
25494         * gst/registries/gstxmlregistry.c:
25495         * gst/registries/gstxmlregistry.h:
25496         * gst/registries/registrytest.c:
25497
25498 2005-09-14  David Schleef  <ds@schleef.org>
25499
25500         * gst/glib-compat.h:
25501         * gst/gstregistryxml.c:
25502           Convergence is near.  Seriously.
25503
25504 2005-09-14  David Schleef  <ds@schleef.org>
25505
25506         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25507         * gst/glib-compat.h:
25508           Attempt #4 to appease the buildbots.
25509
25510 2005-09-14  David Schleef  <ds@schleef.org>
25511
25512         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25513           Attempt #3.
25514
25515 2005-09-14  David Schleef  <ds@schleef.org>
25516
25517         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25518         Attempt #2.
25519
25520 2005-09-14  David Schleef  <ds@schleef.org>
25521
25522         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25523           the new functions.
25524
25525 2005-09-14  David Schleef  <ds@schleef.org>
25526
25527         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25528         * gst/glib-compat.h: Add some functions that are in newer versions
25529           of glib than we care to require.
25530         * gst/gstregistryxml.c: Use them.
25531
25532 2005-09-14  David Schleef  <ds@schleef.org>
25533
25534         * po/POTFILES.in: remove gst-register.c
25535
25536 2005-09-14  David Schleef  <ds@schleef.org>
25537
25538         * docs/gst/gstreamer-docs.sgml:
25539         * docs/gst/gstreamer-sections.txt:
25540         * docs/gst/gstreamer.types:
25541         * docs/gst/tmpl/gstelement.sgml:
25542         * docs/gst/tmpl/gstplugin.sgml:
25543         * docs/gst/tmpl/gstpluginfeature.sgml:
25544           Documentation updates for registry changes.
25545
25546 2005-09-14  David Schleef  <ds@schleef.org>
25547
25548         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25549           because we don't require glib-2.8.
25550
25551 2005-09-14  David Schleef  <ds@schleef.org>
25552
25553         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25554           registries directory.
25555
25556 2005-09-14  David Schleef  <ds@schleef.org>
25557
25558         * check/Makefile.am:
25559         * check/generic/states.c:
25560         * gst/Makefile.am:
25561         * gst/gst.c:
25562         * gst/gst.h:
25563         * gst/gst_private.h:
25564         * gst/gstelementfactory.c:
25565         * gst/gstindex.c:
25566         * gst/gstinfo.c:
25567         * gst/gstplugin.c:
25568         * gst/gstplugin.h:
25569         * gst/gstpluginfeature.c:
25570         * gst/gstpluginfeature.h:
25571         * gst/gstregistry.c:
25572         * gst/gstregistry.h:
25573         * gst/gstregistrypool.c: remove
25574         * gst/gstregistrypool.h: remove
25575         * gst/gsttypefind.c:
25576         * gst/gsttypefindfactory.c:
25577         * gst/gsturi.c:
25578         * tools/Makefile.am:
25579         * tools/gst-compprep.c:
25580         * tools/gst-inspect.c:
25581         * tools/gst-register.c: remove
25582         * tools/gst-xmlinspect.c:
25583           Registry rewrite.  Changes registry from being a file created
25584           by a tool into a simple cache file created automatically by 
25585           libgstreamer.  Removed gst-register (because it's no longer
25586           needed).  Remove registry pools, because we only have one
25587           registry implementation (XML).  Fix up other subsystems as
25588           necessary.
25589
25590 2005-09-13  Michael Smith <msmith@fluendo.com>
25591
25592         * gst/gstconfig.h.in:
25593           Don't Use windows linking attributes for MinGW. Fixes #316157
25594
25595 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25596
25597         * gst/gstutils.c: (set_state_async_thread_func),
25598         (gst_element_set_state_async):
25599           Apparently people think it's better if this function doesn't
25600           try to set the state to whatever state was asked for on the first
25601           call to this function for any object.  Seriously.
25602
25603 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25604
25605         * check/gst/gstpipeline.c: (GST_START_TEST):
25606         * docs/gst/gstreamer-sections.txt:
25607         * gst/gstutils.c: (set_state_async_thread_func),
25608         (gst_element_set_state_async):
25609         * gst/gstutils.h:
25610           add a "gst_element_set_state_async" method that
25611           sets the state and starts a thread to make sure the state
25612           change completes as best as it can
25613
25614 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25615
25616         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25617           codify design+behaviour in testsuite after discussion
25618
25619 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25620
25621         * docs/gst/tmpl/gstelement.sgml:
25622         * docs/manual/appendix-quotes.xml:
25623           add a quote
25624         * gst/gstelement.c: (gst_element_set_state):
25625           add some debug
25626
25627 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25628
25629         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25630         (gst_base_transform_prepare_output_buf),
25631         (gst_base_transform_handle_buffer):
25632         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25633         (gst_capsfilter_prepare_buf):
25634           Remove the requirement for sub-classes to call the parent
25635           implementation of prepare_output_buffer with a wrapper function.
25636           
25637         * gst/gsttaglist.h:
25638         * gst/gsttagsetter.h:
25639           Fix #define wrapper
25640
25641 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25642
25643         * docs/gst/gstreamer-sections.txt:
25644           more doc cleanups
25645
25646 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25647
25648         * docs/gst/gstreamer-sections.txt:
25649         * docs/gst/tmpl/gstelement.sgml:
25650         * docs/gst/tmpl/gstplugin.sgml:
25651         * gst/gstminiobject.c:
25652         * gst/gstvalue.h:
25653           docs now stop throwing warnings
25654
25655 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25656
25657         * docs/gst/gstreamer-sections.txt:
25658         * docs/gst/gstreamer.types:
25659         * docs/gst/tmpl/gstpad.sgml:
25660         * docs/gst/tmpl/gsttypes.sgml:
25661         * gst/base/gstadapter.h:
25662         * gst/base/gstbasesink.h:
25663         * gst/base/gstbasesrc.h:
25664         * gst/gstbin.h:
25665         * gst/gstbuffer.h:
25666         * gst/gstbus.h:
25667         * gst/gstcaps.h:
25668         * gst/gstclock.h:
25669         * gst/gstelement.h:
25670         * gst/gstevent.h:
25671         * gst/gstmessage.h:
25672         * gst/gstpad.h:
25673         * gst/gststructure.c:
25674         * gst/registries/gstlibxmlregistry.h:
25675           various documentation fixes
25676
25677 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25678
25679         * docs/gst/gstreamer-sections.txt:
25680         * docs/gst/tmpl/gstvalue.sgml:
25681           rearrange gstvalue section
25682         * gst/gstutils.c: (gst_element_state_get_name):
25683           NONE -> VOID
25684         * gst/gstvalue.c: (_gst_value_initialize):
25685         * gst/gstvalue.h:
25686           doc updates
25687
25688 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25689
25690         * check/gst-libs/controller.c:
25691           Header include fix.
25692         * gst/base/gstbasetransform.c:
25693         (gst_base_transform_default_prepare_buf),
25694         (gst_base_transform_handle_buffer):
25695         * gst/base/gstbasetransform.h:
25696           Some more basetransform changes and fixes to enable sub-classes
25697           that modify buffer metadata only.
25698         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25699         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25700         (gst_capsfilter_prepare_buf):
25701           If the output pad has fixed allowed caps and input buffers 
25702           don't have any, set the fixed caps on outgoing buffers.
25703
25704 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25705         * check/elements/identity.c: (GST_START_TEST):
25706           Make the error a little clearer when the test fails because
25707           identity made a copy of the buffer.
25708         * docs/gst/gstreamer-sections.txt:
25709           New symbols in gstbasetransform.h
25710         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25711         (gst_base_transform_init), (gst_base_transform_transform_size),
25712         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25713         (gst_base_transform_default_prepare_buf),
25714         (gst_base_transform_get_unit_size),
25715         (gst_base_transform_buffer_alloc),
25716         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25717         (gst_base_transform_change_state),
25718         (gst_base_transform_set_passthrough),
25719         (gst_base_transform_set_in_place),
25720         (gst_base_transform_is_in_place):
25721         * gst/base/gstbasetransform.h:
25722           Change BaseTransform to separate in_place operate from same_caps
25723           output. in_place implies that the element can perform the transform
25724           on incoming buffers in-place, even if the caps on the output are
25725           different.
25726           Sub-class elements can now implement special buffer allocation
25727           methods for outgoing buffers if they wish to.
25728           Big documentation addition.
25729         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25730         * gst/elements/gstelements.c:
25731           Changes for basetransform modifications.
25732         * gst/elements/Makefile.am:
25733         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25734           Compile fix. Extra debug output.
25735
25736 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25737
25738         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25739         (gst_pad_suite):
25740           add tests for valid pad naming
25741         * gst/check/gstcheck.c: (gst_check_log_message_func),
25742         (gst_check_log_critical_func):
25743           add ASSERT_WARNING
25744           remove printing of code, it is fragile when the code contains
25745           % and the line number is enough info
25746         * gst/check/gstcheck.h:
25747         * gst/gstpad.c: (gst_pad_template_new):
25748           fix memleaks
25749
25750 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25751
25752         * configure.ac:
25753           say what CHECK flags we use
25754         * docs/libs/gstreamer-libs.types:
25755         * libs/gst/controller/Makefile.am:
25756         * libs/gst/controller/gst-controller.c:
25757         * libs/gst/controller/gst-controller.h:
25758         * libs/gst/controller/gst-helper.c:
25759         * libs/gst/controller/gst-interpolation.c:
25760         * libs/gst/controller/gstcontroller.c:
25761         * libs/gst/controller/gsthelper.c:
25762         * libs/gst/controller/gstinterpolation.c:
25763         * tools/gst-inspect.c: (print_plugin_info):
25764           we don't use dashes in header names
25765
25766 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25767
25768         * check/Makefile.am:
25769         * check/gst/.cvsignore:
25770         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25771         (gst_pipeline_suite), (main):
25772           adding a test for pipelines and state changes
25773         * gst/gstutils.c: (get_state_func):
25774           add some debugging
25775         * gstreamer.spec.in:
25776           fix up spec file
25777
25778 2005-09-08  Michael Smith <msmith@fluendo.com>
25779
25780         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25781         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25782         (gst_file_src_is_seekable), (gst_file_src_get_size),
25783         (gst_file_src_start):
25784         * gst/elements/gstfilesrc.h:
25785           Various fixes for unseekable, unmmapable, and non-normal files, so
25786           that fallback to read() rather than mmap() works.
25787         * gst/gstevent.c: (gst_event_new_newsegment):
25788           Allow newsegment events with segment_start == segment_end, as will
25789           correctly happen if you use filesrc on a zero-size file, for
25790           example.
25791
25792 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25793
25794         * gst/gstplugin.c: (gst_plugin_load_file):
25795           Call g_module_close when we don't load the module
25796
25797         * gst/registries/gstlibxmlregistry.c:
25798         (gst_xml_registry_get_property):
25799           Port leak fix from 0.8
25800
25801 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25802
25803         * docs/gst/gstreamer-docs.sgml:
25804         * docs/gst/tmpl/.cvsignore:
25805         * docs/gst/tmpl/gsttrace.sgml:
25806         * docs/gst/tmpl/gsttrashstack.sgml:
25807         * gst/Makefile.am:
25808         * gst/gst.h:
25809         * gst/gstelement.h:
25810         * gst/gstevent.h:
25811         * gst/gstmessage.c:
25812         * gst/gstmessage.h:
25813         * gst/gsttag.c:
25814         * gst/gsttag.h:
25815         * gst/gsttaginterface.c:
25816         * gst/gsttaginterface.h:
25817         * gst/gsttaglist.c:
25818         * gst/gsttaglist.h:
25819         * gst/gsttagsetter.c:
25820         * gst/gsttagsetter.h:
25821         * gst/gsttrace.c:
25822         * gst/gsttrace.h:
25823         * gst/gsttrashstack.c:
25824           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25825           inlined docs for gsttrace, gsttrashstack
25826
25827 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25828
25829         * gst/Makefile.am:
25830         * gst/elements/gstbufferstore.h:
25831         * gst/elements/gsttypefindelement.c:
25832         * gst/elements/gsttypefindelement.h:
25833         * gst/gst.h:
25834         * gst/gsttypefind.c:
25835         * gst/gsttypefind.h:
25836         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25837         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25838         (gst_type_find_factory_dispose),
25839         (gst_type_find_factory_unload_thyself),
25840         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25841         (gst_type_find_factory_get_caps),
25842         (gst_type_find_factory_get_extensions),
25843         (gst_type_find_factory_call_function):
25844         * gst/gsttypefindfactory.h:
25845         * gst/registries/gstlibxmlregistry.c:
25846         * gst/registries/gstxmlregistry.c:
25847           splitted gsttypefind into gsttypefind, gsttypefindfactory
25848
25849 2005-09-07  Andy Wingo  <wingo@pobox.com>
25850
25851         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25852         condition whereby the pad's task function is entered before the
25853         pad_mode variable was set.
25854
25855 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25856
25857         * gst/gstpad.c: (gst_pad_alloc_buffer):
25858           Catch misbehaving pad_alloc functions that don't
25859           set up caps and do it for them.
25860
25861 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25862
25863         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25864           test for pipe!=NULL
25865         * docs/gst/tmpl/.cvsignore:
25866         * docs/gst/tmpl/gstmemchunk.sgml:
25867         * docs/gst/tmpl/gstparse.sgml:
25868         * docs/gst/tmpl/gsttaglist.sgml:
25869         * docs/gst/tmpl/gsttagsetter.sgml:
25870         * docs/gst/tmpl/gsttypefind.sgml:
25871         * docs/gst/tmpl/gsttypefindfactory.sgml:
25872         * gst/gstmemchunk.c:
25873         * gst/gstparse.c:
25874         * gst/gsttag.c:
25875         * gst/gsttaginterface.c:
25876         * gst/gsttypefind.c:
25877         * gst/gsttypefind.h:
25878           inlined more docs
25879
25880 === release 0.9.2 ===
25881
25882 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25883
25884         * NEWS:
25885         * RELEASE:
25886         * configure.ac:
25887           releasing 0.9.2, "South"
25888
25889 2005-09-05  Andy Wingo  <wingo@pobox.com>
25890
25891         * gst/registries/gstxmlregistry.h:
25892         * gst/registries/gstxmlregistry.c: Um... resurrect...
25893         
25894         * gst/registries/gstxmlregistry.h:
25895         * gst/registries/gstxmlregistry.c: and update to newer API.
25896         Incidentally they should be a bit faster now that they don't have
25897         to parse the caps.
25898         
25899 2005-09-05  Andy Wingo  <wingo@pobox.com>
25900
25901         * gst/registries/gstxmlregistry.h:
25902         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25903         replaced by the libxml registry a while back
25904
25905 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25906
25907         * docs/gst/tmpl/gstplugin.sgml:
25908         * gst/elements/gstelements.c:
25909         * gst/gst.c:
25910         * gst/gstplugin.c: (gst_plugin_register_func),
25911         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25912         (gst_plugin_get_source):
25913         * gst/gstplugin.h:
25914         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25915         (gst_xml_registry_save_plugin):
25916         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25917         (gst_xml_registry_save_plugin):
25918         * tools/gst-inspect.c: (print_plugin_info):
25919           add a "source" plugin description field, to represent the source
25920           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25921           will set it to PACKAGE, which is automake's idea of the name of
25922           the source project.
25923
25924 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25925
25926         * Makefile.am:
25927         * autogen.sh:
25928         * configure.ac:
25929         * docs/Makefile.am:
25930         * docs/faq/Makefile.am:
25931         * docs/gst/tmpl/gstelement.sgml:
25932         * docs/gst/tmpl/gsttypes.sgml:
25933         * docs/htmlinstall.mak:
25934         * docs/manual/Makefile.am:
25935         * docs/pwg/Makefile.am:
25936           reorganize doc build a little
25937           split out docbook and gtk-doc stuff
25938           have two separate --enable's and enable them through autogen
25939           but disable by default in configure (to be similar to other
25940           projects)
25941         * gstreamer.spec.in:
25942           clean up docs install
25943         * po/af.po:
25944         * po/az.po:
25945         * po/ca.po:
25946         * po/cs.po:
25947         * po/de.po:
25948         * po/en_GB.po:
25949         * po/fr.po:
25950         * po/it.po:
25951         * po/nb.po:
25952         * po/nl.po:
25953         * po/ru.po:
25954         * po/sq.po:
25955         * po/sr.po:
25956         * po/sv.po:
25957         * po/tr.po:
25958         * po/uk.po:
25959         * po/vi.po:
25960           translation updates
25961
25962 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25963
25964         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25965           Add comment.
25966           
25967         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25968         (gst_fake_sink_change_state):
25969           Make state change function thread-safe.
25970           
25971         * gst/gstpad.c: (gst_pad_alloc_buffer):
25972           Set offset on generic buffer allocated by fallback.
25973
25974 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25975
25976         * docs/gst/gstreamer-sections.txt:
25977         * docs/gst/tmpl/gstelement.sgml:
25978         * gst/gstpad.c:
25979         * libs/gst/controller/gst-controller.c:
25980         (gst_controlled_property_set_interpolation_mode),
25981         (gst_controlled_property_new),
25982         (gst_controller_find_controlled_property):
25983          run the wingo-magic script against the docs
25984
25985 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
25986
25987         * docs/gst/gstreamer-docs.sgml:
25988         * docs/gst/gstreamer-sections.txt:
25989         * docs/gst/tmpl/.cvsignore:
25990         * docs/gst/tmpl/gstelementdetails.sgml:
25991         * docs/gst/tmpl/gstelementfactory.sgml:
25992         * gst/gst.c:
25993         * gst/gstbus.c:
25994         * gst/gstelementfactory.c:
25995         * gst/gstelementfactory.h:
25996           merged elementdetails docs into elementfactory docs
25997           inlined both
25998
25999 2005-09-02  Andy Wingo  <wingo@pobox.com>
26000
26001         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26002         consider this enum an enum and not a flags.
26003
26004 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26005
26006         * docs/gst/gstreamer-docs.sgml:
26007         * docs/gst/tmpl/.cvsignore:
26008         * docs/gst/tmpl/gstghostpad.sgml:
26009         * docs/gst/tmpl/gstiterator.sgml:
26010         * docs/gst/tmpl/gstmacros.sgml:
26011         * docs/gst/tmpl/gstrealpad.sgml:
26012         * docs/gst/tmpl/gstregistry.sgml:
26013         * docs/gst/tmpl/gstregistrypool.sgml:
26014         * docs/gst/tmpl/gststructure.sgml:
26015         * docs/gst/tmpl/gstsystemclock.sgml:
26016         * docs/gst/tmpl/gsttrace.sgml:
26017         * gst/gstghostpad.c:
26018         * gst/gstmacros.h:
26019         * gst/gstmemchunk.c:
26020         * gst/gstmemchunk.h:
26021         * gst/gstqueue.c:
26022         * gst/gstregistry.c:
26023         * gst/gstregistrypool.c:
26024         * gst/gststructure.c:
26025         * gst/gstsystemclock.c:
26026           more docs inlined
26027
26028 2005-09-02  Andy Wingo  <wingo@pobox.com>
26029
26030         * gst/gstelement.h (GstState): Renamed from GstElementState,
26031         changed to be a normal enum instead of flags.
26032         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26033         munged to be GST_STATE_CHANGE_*.
26034         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26035         work with the new state representation.
26036         (GstStateChange): New enumeration of possible state transitions.
26037         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26038         (GstElementClass::change_state): Pass the GstStateChange along as
26039         an argument. Helps language bindings, so they don't have to use
26040         tricky lock-needing macros like GST_STATE_CHANGE ().
26041
26042         * scripts/update-states (file): New script. Run it on a file to
26043         update it for state naming and API changes. Updates files in
26044         place.
26045
26046         * All files updated for the new API.
26047
26048 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26049
26050         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26051         * gst/gstutils.c: (gst_util_set_value_from_string),
26052         (gst_util_set_object_arg):
26053           fix a bunch of unchecked return values
26054         * tools/gst-complete.c: (main):
26055         * gstreamer.spec.in:
26056           clean up a little
26057
26058 2005-09-01  Wim Taymans  <wim@fluendo.com>
26059
26060         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26061         (gst_base_sink_event), (gst_base_sink_do_sync),
26062         (gst_base_sink_handle_event):
26063         * gst/base/gstbasesink.h:
26064         Handle newsegments more correctly.
26065
26066         * gst/gstbus.c:
26067         Fix docs.
26068
26069         * gst/gstevent.c: (gst_event_new_newsegment):
26070         A newsegment cannot have a start_time of -1
26071
26072 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26073
26074         * win32/gstenumtypes.c:
26075         * win32/gstenumtypes.h:
26076           Update
26077
26078 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26079
26080         * libs/gst/controller/gst-controller.c:
26081         (gst_controlled_property_set_interpolation_mode),
26082         (gst_controlled_property_new):
26083          fixed boolean again
26084
26085 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26086
26087         * docs/faq/gst-uninstalled:
26088           add -good
26089         * gst/gstevent.c:
26090         * gst/gstevent.h:
26091           remove wrong docs
26092         * gst/gstutils.c: (gst_element_link_filtered):
26093         * gst/gstutils.h:
26094           add gst_element_link_filtered
26095
26096 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26097
26098         * docs/gst/gstreamer-docs.sgml:
26099         * docs/gst/gstreamer-sections.txt:
26100         * docs/gst/tmpl/.cvsignore:
26101         * docs/gst/tmpl/gsterror.sgml:
26102         * docs/gst/tmpl/gstfilter.sgml:
26103         * docs/gst/tmpl/gsturihandler.sgml:
26104         * docs/gst/tmpl/gsturitype.sgml:
26105         * docs/gst/tmpl/gstutils.sgml:
26106         * docs/gst/tmpl/gstxml.sgml:
26107         * gst/gsterror.c:
26108         * gst/gsterror.h:
26109         * gst/gstfilter.c:
26110         * gst/gsturi.c:
26111         * gst/gsturitype.c:
26112         * gst/gstutils.c:
26113         * gst/gstxml.c:
26114           inlined more docs, fixed double id-ref
26115
26116 2005-08-31  Wim Taymans  <wim@fluendo.com>
26117
26118         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26119         (gst_base_transform_handle_buffer):
26120         Passthrough elements don't need the caps as they don't care.
26121
26122 2005-08-31  Wim Taymans  <wim@fluendo.com>
26123
26124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26125         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26126         Don't leak refcounts on buffers.
26127
26128 2005-08-31  Wim Taymans  <wim@fluendo.com>
26129
26130         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26131         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26132         (gst_base_transform_chain), (gst_base_transform_change_state):
26133         * gst/base/gstbasetransform.h:
26134         Handle the case where we are not negotiated more gracefully.
26135
26136 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26137
26138         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26139         (gst_file_src_map_region):
26140           Set READONLY flag on mmap'ed buffers, otherwise
26141           gst_buffer_make_writable() won't work properly (#314708).
26142
26143 2005-08-31  Wim Taymans  <wim@fluendo.com>
26144
26145         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26146         passthrough elements can even do inplace on non writable
26147         buffers (as they don't touch them).
26148
26149 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26150
26151         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26152         (gst_test_mono_source_set_property),
26153         (gst_test_mono_source_class_init), (GST_START_TEST),
26154         (gst_controller_suite):
26155           more tests (hehe I have the most)
26156         * gst/gstbus.c:
26157           describe popping messages whenusing mulltiple sources
26158         * libs/gst/controller/gst-controller.c:
26159         (gst_controlled_property_set_interpolation_mode),
26160         (gst_controlled_property_new):
26161         * libs/gst/controller/gst-controller.h:
26162         * libs/gst/controller/gst-interpolation.c:
26163           implement boolean properties
26164
26165 2005-08-31  Wim Taymans  <wim@fluendo.com>
26166
26167         * gst/gstminiobject.c: (gst_mini_object_ref):
26168         Cannot assert that the refcount has to be positive
26169         since a disposed object can be resurrected.
26170
26171 2005-08-31  Wim Taymans  <wim@fluendo.com>
26172
26173         * gst/gstpad.c: (gst_pad_init):
26174         Revert change, need to first fix badly behaving 
26175         apps.
26176
26177 2005-08-30  Wim Taymans  <wim@fluendo.com>
26178
26179         * check/elements/fakesrc.c: (setup_fakesrc):
26180         * check/elements/identity.c: (setup_identity):
26181         Activate pads before using them.
26182
26183 2005-08-30  Wim Taymans  <wim@fluendo.com>
26184
26185         * gst/base/gstadapter.c: (gst_adapter_flush):
26186         Flushing out 0 bytes is ok for this function.
26187
26188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26189         no newsegment gives a warning and sets the start/stop to 
26190         invalid.
26191
26192         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26193         (gst_base_transform_set_passthrough):
26194         Some debug info.
26195
26196         * gst/gstminiobject.c: (gst_mini_object_ref):
26197         Check refcount here too.
26198
26199         * gst/gstpad.c: (gst_pad_init):
26200         Pads are initially flushing and refusing data.
26201
26202         * gst/gstutils.c: (gst_element_link_pads_filtered):
26203         When adding a capsfilter element make sure it has the
26204         same state as the parent bin.
26205
26206 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26207
26208         * docs/gst/tmpl/.cvsignore:
26209         * docs/gst/tmpl/gstformat.sgml:
26210         * docs/gst/tmpl/gstversion.sgml:
26211         * gst/gstbus.h:
26212         * gst/gstformat.c:
26213         * gst/gstformat.h:
26214         * gst/gstversion.h.in:
26215           more docs and two more inlined
26216
26217 2005-08-30  Wim Taymans  <wim@fluendo.com>
26218
26219         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26220         Don't sync to clock.
26221
26222 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26223
26224         * docs/gst/gstreamer-sections.txt:
26225           ultral33t func10ns deserve to appear in the docs actually
26226         * docs/gst/tmpl/.cvsignore:
26227         * docs/gst/tmpl/gstcompat.sgml:
26228         * docs/gst/tmpl/gstconfig.sgml:
26229         * gst/check/gstcheck.c:
26230         * gst/gstcompat.h:
26231         * gst/gstconfig.h.in:
26232           inlined more docs
26233
26234 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26235
26236         * docs/gst/tmpl/.cvsignore:
26237         * docs/gst/tmpl/gstquery.sgml:
26238         * docs/gst/tmpl/gstutils.sgml:
26239         * gst/gstquery.c:
26240         * gst/gstquery.h:
26241           inlined and extended docs
26242
26243 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26244
26245         * check/gst-libs/controller.c: (GST_START_TEST),
26246         (gst_controller_suite):
26247           more tests
26248         * docs/gst/tmpl/gstutils.sgml:
26249         * docs/libs/gstreamer-libs-sections.txt:
26250         * docs/libs/tmpl/gstdataprotocol.sgml:
26251           include path fixes
26252         * examples/controller/audio-example.c: (main):
26253           controller example works now
26254         * gst/gstclock.h:
26255           doc fixes
26256         * tools/gst-inspect.c: (print_element_properties_info):
26257           show param spec flags
26258
26259 2005-08-29  Andy Wingo  <wingo@pobox.com>
26260
26261         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26262
26263 2005-08-28  Andy Wingo  <wingo@pobox.com>
26264
26265         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26266         as having two arguments instead of just one. Allows superclasses
26267         to access information on subclasses -- see the terrible for() loop
26268         in gtype.c:g_type_create_instance for the reason why. All callers
26269         changed.
26270
26271 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26272
26273         * docs/design/part-messages.txt:
26274           update info
26275         * docs/gst/tmpl/.cvsignore:
26276         * docs/gst/tmpl/gstcaps.sgml:
26277         * docs/gst/tmpl/gstclock.sgml:
26278         * gst/gstbus.c:
26279         * gst/gstcaps.c:
26280         * gst/gstcaps.h:
26281         * gst/gstclock.c:
26282         * gst/gstclock.h:
26283         * gst/gstmessage.c:
26284           added descriptions for bus and message
26285           inline caps and clock docs
26286
26287 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26288
26289         * gst/gstmessage.c:
26290         * gst/gstmessage.h:
26291           doc fixes
26292
26293 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26294
26295         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26296           fix div-by-zero
26297
26298 2005-08-26  Andy Wingo  <wingo@pobox.com>
26299
26300         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26301         element_set_state's return val.
26302         (test_2_elements): Add test that's been disabled for months.
26303
26304         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26305         can-activate-pull properties.
26306
26307         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26308         can-activate-pull properties. Implement is_seekable so fakesrc can
26309         operate in pull mode.
26310
26311         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26312         properties.
26313         (gst_base_sink_activate, gst_base_sink_activate_pull)
26314         (gst_base_sink_activate_push): Make activation mode choosing work.
26315         Cleanups.
26316         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26317         is right. Make pull mode work. Post an eos before pausing in pull
26318         mode.
26319         (gst_base_sink_change_state): Pay attention to the core's
26320         change_state() return val.
26321         
26322         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26323         has-getrange properties. Cleanups.
26324         
26325         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26326         has_getrange and replace with can_activate_pull and
26327         can_activate_push.
26328
26329         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26330         locking comments. Remove has_loop, has_chain and replace with
26331         can_activate_pull and can_activate_push.
26332
26333 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26334
26335         * configure.ac:
26336         * examples/Makefile.am:
26337         * examples/metadata/Makefile.am:
26338         * examples/metadata/read-metadata.c: (message_loop),
26339         (have_pad_handler), (make_pipeline), (print_tag), (main):
26340           Add metadata reading example that loops over a list of filenames,
26341           dumping any tags found.
26342
26343         * gst/gstbus.c: (gst_bus_dispose):
26344         * gst/gstelement.c: (gst_element_dispose):
26345           Release a few potentially-held references in dispose.
26346
26347 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26348
26349         * docs/gst/tmpl/gstminiobject.sgml:
26350           do *not* add tmpl/*.sgml files to CVS!
26351
26352 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26353
26354         * libs/gst/bytestream/.cvsignore:
26355         * libs/gst/bytestream/Makefile.am:
26356         * libs/gst/bytestream/adapter.c:
26357         * libs/gst/bytestream/adapter.h:
26358         * libs/gst/bytestream/bytestream.c:
26359         * libs/gst/bytestream/bytestream.h:
26360         * libs/gst/bytestream/filepad.c:
26361         * libs/gst/bytestream/filepad.h:
26362           removing obsolete files
26363
26364 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26365
26366         * docs/gst/gstreamer-docs.sgml:
26367         * docs/libs/gstreamer-libs-docs.sgml:
26368           disabed additional index entries again, as this makes docs-gen just
26369           slow and they aren't useful yet
26370         * docs/libs/gstreamer-libs-sections.txt:
26371           little -section.txt cleanup for libs
26372
26373 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26374
26375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26376         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26377           fix up some debugging
26378         (gst_base_transform_get_unit_size),
26379         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26380         (gst_base_transform_handle_buffer):
26381         * gst/base/gstbasetransform.h:
26382           handle and store timed NEWSEGMENT events so that subclasses that
26383           calculate time by counting samples have a segment_start time they
26384           need to add to their timestamps - see audioresample
26385
26386 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26387
26388         * gst/gstbin.h:
26389           removed ';' from the end of macro defs
26390         * docs/gst/gstreamer-docs.sgml:
26391         * docs/gst/gstreamer-sections.txt:
26392         * docs/gst/tmpl/.cvsignore:
26393         * gst/gstbus.h:
26394         * gst/gstelement.c: (gst_element_class_init),
26395         (gst_element_set_state), (activate_pads),
26396         (gst_element_save_thyself):
26397         * gst/gstevent.c: (gst_event_new_newsegment):
26398         * gst/gstevent.h:
26399         * gst/gstiterator.c:
26400         * gst/gstiterator.h:
26401         * gst/gstpad.c:
26402         * gst/gstprobe.h:
26403         * gst/gstutils.c: (gst_pad_query_convert):
26404         * gst/gstutils.h:
26405           fixed parameter name mismatches between source, header and docs
26406           added some more docs, resolved the last batch of unused elements in
26407           docs (now someone needs to doc them)
26408
26409 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26410
26411         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26412         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26413           don't walk through the plugins backwards.  Where is all this
26414           reversed logic coming from ?
26415
26416 2005-08-25  Wim Taymans  <wim@fluendo.com>
26417
26418         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26419         (gst_base_transform_transform_size),
26420         (gst_base_transform_configure_caps),
26421         (gst_base_transform_get_unit_size),
26422         (gst_base_transform_buffer_alloc),
26423         (gst_base_transform_change_state):
26424         * gst/base/gstbasetransform.h:
26425         Cache caps unit_size.
26426         Make sure we cannot negotiate up and downstream at the
26427         same time.
26428
26429 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26430
26431         * gst/gst.c: (init_pre), (init_post):
26432           register the installed plugin path after the env var
26433         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26434         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26435           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26436           directories, so the tests can prefer uninstalled over installed
26437
26438 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26439
26440         * gst/base/gstbasetransform.h:
26441           comment
26442         * gst/gstpad.c:
26443           add to docs
26444
26445 2005-08-25  Wim Taymans  <wim@fluendo.com>
26446
26447         * gst/gstbin.c: (bin_bus_handler):
26448         Be a bit more conservative about the posted message.
26449         
26450         * gst/gstbus.c: (gst_bus_post):
26451         Some cleanups, warn wrong return values.
26452
26453 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26454
26455         * check/gst/gstbin.c: (GST_START_TEST):
26456         * gst/gstbin.c: (bin_bus_handler):
26457         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26458         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26459         (gst_message_new_warning), (gst_message_new_tag),
26460         (gst_message_new_state_changed), (gst_message_new_segment_start),
26461         (gst_message_new_segment_done), (gst_message_new_custom):
26462         * gst/gstmessage.h:
26463         * tools/gst-launch.c: (event_loop):
26464         * tools/gst-md5sum.c: (event_loop):
26465           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26466
26467 2005-08-25  Wim Taymans  <wim@fluendo.com>
26468
26469         * check/generic/states.c: (GST_START_TEST):
26470         Cleanup can be done at the end.
26471
26472         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26473         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26474         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26475         Oh boy.. Thanks for finding this, Thomas. 
26476
26477 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26478
26479         * docs/gst/gstreamer.types:
26480           added missing types
26481
26482 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26483
26484         * docs/gst/gstreamer-docs.sgml:
26485         * docs/gst/gstreamer-sections.txt:
26486         * docs/gst/tmpl/.cvsignore:
26487         * gst/gstbin.c:
26488         * gst/gstiterator.c:
26489         * gst/gstutils.c:
26490         * gst/registries/gstxmlregistry.h:
26491           added missing classes and symbols (123 more to go)
26492           removed removed symbols from section file
26493           fixed many doc-comments
26494
26495 2005-08-24  Wim Taymans  <wim@fluendo.com>
26496
26497         * check/generic/states.c: (GST_START_TEST):
26498         Make sure all tasks are stopped.
26499
26500         * check/gst/gstbin.c: (GST_START_TEST):
26501         Unref after usage for proper valgrinding.
26502
26503         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26504         Really wait for the task to stop before destroying the
26505         mutex.
26506
26507         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26508         (gst_queue_src_activate_push):
26509         Small cleanups. Don't stop the task when we did not start
26510         it.
26511
26512         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26513         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26514         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26515         (gst_task_join):
26516         * gst/gsttask.h:
26517         Protect the stream lock with the object lock.
26518         Disallow setting the stream lock when running.
26519         Add cleanup_all to wait for the threadpool to finish.
26520         Remove code to autoallocate a mutex if none was provided.
26521         Add _join() to wait for a task to stop.
26522         Protect the thread pool with a global lock.
26523
26524 2005-08-24  Wim Taymans  <wim@fluendo.com>
26525
26526         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26527         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26528         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26529         * gst/base/gstbasesink.h:
26530         Handle newsegment events correctly.
26531         Drop buffers out of the segment range.
26532
26533 2005-08-22  Andy Wingo  <wingo@pobox.com>
26534
26535         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26536         macro, implements an interface and gstimplementsinterface for a
26537         new type.
26538
26539 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26540
26541         * check/Makefile.am:
26542         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26543           add a test that does a bunch of state changes on elements
26544           needs some fixing for valgrind
26545         * check/states/sinks.c: (gst_object_suite):
26546           whitespace
26547         * gst/gstcaps.h:
26548           add prototype for gst_caps_is_equal_fixed
26549         * gst/gstplugin.c:
26550         * gst/gstregistrypool.c:
26551           doc fixes
26552
26553 2005-08-24  Andy Wingo  <wingo@pobox.com>
26554
26555         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26556         convert a negative value. Doesn't make much sense. Mostly this is
26557         here to force callers to ensure -1 maps to -1.
26558
26559 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26560
26561         * docs/pwg/advanced-types.xml:
26562           Well done to Michael for catching my deliberate introduction
26563           of this spelling mistake. 
26564         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26565         * gst/gstelement.h:
26566           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26567           unlink pads before removing the element from the bin.
26568
26569 2005-08-24  Andy Wingo  <wingo@pobox.com>
26570
26571         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26572         the same thing as GST_DEBUG=*:4.
26573         (parse_debug_level, parse_debug_category): New helper parsers.
26574
26575 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26576
26577         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26578         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26579         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26580         (gst_base_transform_buffer_alloc),
26581         (gst_base_transform_handle_buffer):
26582           use gboolean return values and pointers to size so we can use the
26583           full GST_BUFFER_SIZE range (guint) for buffer sizes
26584           use GstPadDirection for transform_caps
26585         * gst/base/gstbasetransform.h:
26586           rename get_size to get_unit_size since that's what it is
26587         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26588           use GstPadDirection for transform_caps
26589         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26590         * gst/gstutils.h:
26591           cleanup and debugging
26592
26593 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26594
26595         * gst/gstelement.c: (gst_element_class_init),
26596         (gst_element_set_state), (activate_pads),
26597         (gst_element_save_thyself):
26598         * tools/gst-compprep.c: (main):
26599         * tools/gst-inspect.c: (print_element_properties_info):
26600         * tools/gst-xmlinspect.c: (print_element_properties):
26601           Fixed long standing mem-leak
26602
26603 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26604
26605         * check/gst/gstbin.c: (GST_START_TEST):
26606         * gst/gstbin.c: (bin_bus_handler):
26607         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26608         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26609         (gst_message_new_warning), (gst_message_new_tag),
26610         (gst_message_new_state_changed), (gst_message_new_segment_start),
26611         (gst_message_new_segment_done), (gst_message_new_custom):
26612         * gst/gstmessage.h:
26613         * tools/gst-launch.c: (event_loop):
26614         * tools/gst-md5sum.c: (event_loop):
26615           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26616           that applications can sensibly post custom messages with references
26617           to their own objects.
26618
26619 2005-08-24  Andy Wingo  <wingo@pobox.com>
26620
26621         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26622         already.
26623
26624 2005-08-24  Wim Taymans  <wim@fluendo.com>
26625
26626         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26627         (gst_base_transform_transform_caps),
26628         (gst_base_transform_transform_size),
26629         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26630         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26631         (gst_base_transform_handle_buffer):
26632         * gst/base/gstbasetransform.h:
26633         Many fixes and new features added by Thomas. Can now also do
26634         transforms with variable sizes and a custom fixate_caps function.
26635
26636 2005-08-24  Wim Taymans  <wim@fluendo.com>
26637
26638         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26639         Some debugging.
26640
26641         * gst/gstclock.h:
26642         Cast to ClockTime before formatting to time.
26643
26644         * gst/gstutils.h:
26645         Cleanups.
26646
26647 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26648
26649         * check/gst-libs/controller.c: (GST_START_TEST),
26650         (gst_controller_suite):
26651         * docs/gst/tmpl/gstcaps.sgml:
26652         * docs/gst/tmpl/gstghostpad.sgml:
26653         * docs/gst/tmpl/gstquery.sgml:
26654         * docs/gst/tmpl/gstutils.sgml:
26655         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26656         (gst_object_sink_values), (gst_object_get_value_arrays),
26657         (gst_object_get_value_array):
26658           gracefully handle helper method calls to objects that are not beeing
26659           controlled, added test case for that          
26660
26661 2005-08-23  Wim Taymans  <wim@fluendo.com>
26662
26663         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26664         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26665         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26666         (gst_event_parse_qos), (gst_event_new_seek),
26667         (gst_event_parse_seek):
26668         * gst/gstevent.h:
26669         Some more debugging output and doc cleanups.
26670
26671         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26672         Fix possible deadlock.
26673
26674 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26675
26676         * docs/gst/gstreamer-docs.sgml:
26677         * docs/gst/gstreamer-sections.txt:
26678         * docs/gst/gstreamer.types:
26679         * docs/gst/tmpl/.cvsignore:
26680         * gst/gstbin.h:
26681         * gst/gstbus.c:
26682         * gst/gstelement.c:
26683         * gst/gstevent.h:
26684           added 100 symbols from gstreamer-unused.txt to the right sections
26685           fixed more broken comments
26686           added GstBus to docs
26687
26688 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26689
26690         * docs/gst/gstreamer-sections.txt:
26691         * docs/gst/tmpl/.cvsignore:
26692         * docs/gst/tmpl/gstbin.sgml:
26693         * docs/gst/tmpl/gstbuffer.sgml:
26694         * gst/base/gstbasesrc.c:
26695         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26696         * gst/gstbuffer.c:
26697         * gst/gstbuffer.h:
26698         * tools/gst-launch.1.in:
26699           inlined more doc comments, added missing comments and fixed comments
26700           fixed typos
26701
26702 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26703
26704         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26705           some debugging
26706         * gst/gstcaps.h:
26707           whitespace fixes
26708         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26709           more debugging
26710         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26711         * gst/gststructure.h:
26712           add a fixate function for booleans; add a FIXME that these func
26713           names should probably be gst_structure_fixate_*
26714
26715 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26716
26717         * docs/gst/gstreamer-docs.sgml:
26718         * docs/gst/gstreamer-sections.txt:
26719         * gst/Makefile.am:
26720         * gst/gstbin.c: (gst_bin_get_type),
26721         (gst_bin_child_proxy_get_child_by_index),
26722         (gst_bin_child_proxy_get_children_count),
26723         (gst_bin_child_proxy_init):
26724         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26725         (gst_child_proxy_get_child_by_index),
26726         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26727         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26728         (gst_child_proxy_get), (gst_child_proxy_set_property),
26729         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26730         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26731         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26732         * gst/gstchildproxy.h:
26733         * gst/parse/grammar.y:
26734         * tools/gst-inspect.c: (print_interfaces),
26735         (print_element_properties_info), (print_element_info):
26736           ported gstchildproxy over from 0.8
26737           ported gst-inspect fixes and enhancements over from 0.8
26738
26739 2005-08-22  Wim Taymans  <wim@fluendo.com>
26740
26741         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26742         (gst_base_transform_handle_buffer):
26743         Also call the transform function if we have ANY caps.
26744
26745         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26746         Fix debug info.
26747
26748 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26749
26750         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26751           Don't pretend to handle seek events if the source is not seekable
26752
26753 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26754
26755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26756           Remove extra parameter to debug output
26757
26758         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26759         (gst_base_src_do_seek), (gst_base_src_activate_push):
26760           Fix seek event handling.
26761
26762         * gst/gstpipeline.c: (gst_pipeline_change_state):
26763         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26764         (gst_queue_src_activate_push):
26765           Don't start the src pad task on FLUSH_STOP if the pad
26766           isn't linked.
26767           Debug changes.
26768
26769 2005-08-22  Wim Taymans  <wim@fluendo.com>
26770
26771         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26772         Added check for gst_static_caps_get() refcounting.
26773
26774 2005-08-22  Wim Taymans  <wim@fluendo.com>
26775
26776         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26777         Make _static_caps_get() refcounting sane.
26778         
26779         * gst/gstelement.c: (gst_element_set_state):
26780         Add g_return_val_if_fail() to protect against segfaults.
26781
26782 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26783
26784         * docs/gst/tmpl/gstevent.sgml:
26785         * gst/gstevent.c:
26786         * gst/gstevent.h:
26787           inlined remaining docs, added missing doc comments
26788
26789 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26790
26791         * check/gst/gstbin.c: (GST_START_TEST):
26792           since we don't know when preroll is done, use refcount range
26793           check for the sink
26794         * gst/check/gstcheck.h:
26795           add macro for checking refcount range
26796
26797 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26798
26799         * check/Makefile.am:
26800           clean up environment for when registry gets built versus
26801           when actual tests are run; valgrind seems to not report
26802           leaks if GST_PLUGIN_PATH is set to some specific values
26803         * check/gst/gstbin.c: (GST_START_TEST):
26804           add more refcounting checks; maybe this exposes a
26805           preroll lock bug ?
26806         * common/check.mak:
26807         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26808         * gst/check/gstcheck.h:
26809         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26810         (gst_bin_change_state):
26811         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26812           add/fix debugging/whitespace
26813
26814 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26815
26816         * check/gst/gstevent.c: (event_probe), (test_event),
26817         (GST_START_TEST):
26818          Er, don't call gst_bin_watch_for_state_change you idiot.
26819
26820 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26821
26822         * check/Makefile.am:
26823           Use CHECK_CFLAGS and CHECK_LIBS
26824         * check/gst/gstevent.c: (event_probe), (test_event),
26825         (GST_START_TEST):
26826           Don't leak events.
26827         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26828         (gst_base_src_start), (gst_base_src_stop),
26829         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26830         (gst_base_src_change_state):
26831           Sprinkle gst_base_src_stop liberally around error paths to fix
26832           problems reusing a source after failed state changes.
26833         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26834         (helper_find_suggest), (gst_type_find_helper):
26835           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26836         * gst/gstevent.h:
26837         * docs/gst/tmpl/gstevent.sgml:
26838           Migrate part of the docs from the SGML file. Wait for ensonic to
26839           tell me how I did it wrong ;)
26840         * tools/gst-typefind.c: (main):
26841           Extra robustness to state changes between files.
26842
26843 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26844
26845         * check/Makefile.am:
26846           don't valgrind the controller test - it's leaking - Stefan, HELP
26847         * gst/check/gstcheck.c: (gst_check_message_error),
26848         (gst_check_chain_func), (gst_check_setup_element),
26849         (gst_check_teardown_element), (gst_check_setup_src_pad),
26850         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26851         (gst_check_teardown_sink_pad):
26852         * gst/check/gstcheck.h:
26853           add a bunch of methods to set up elements, and src and sink pads
26854         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26855         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26856         (GST_START_TEST):
26857           use them
26858         * gst/gstmessage.c:
26859         * gst/gsttag.h:
26860           whitespace/doc fixes
26861
26862 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26863
26864         * gst/gstelement.h:
26865           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26866           be handled by the application and not always printed as well
26867
26868 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26869
26870         * check/Makefile.am:
26871           set GST_TOOLS_DIR
26872         * gst/check/gstcheck.c: (gst_check_message_error):
26873         * gst/check/gstcheck.h:
26874           add a fail_unless_equals_int
26875           add fail_unless for error messages
26876
26877 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26878
26879         * check/Makefile.am:
26880         * check/gst.supp:
26881         * common/Makefile.am:
26882         * common/check.mak:
26883         * common/gst.supp:
26884           factor out some of the common stuff so we can use it
26885
26886 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26887
26888         * check/Makefile.am:
26889         * check/gst/gstiterator.c: (GST_START_TEST):
26890         * check/gst/gstsystemclock.c: (GST_START_TEST),
26891         (gst_systemclock_suite):
26892         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26893         * gst/gstclock.c:
26894           valgrind more tests
26895
26896 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26897
26898         * check/elements/.cvsignore:
26899         * check/elements/gstfakesrc.c:
26900           rename to name of element
26901         * check/elements/identity.c: (chain_func), (event_func),
26902         (setup_identity), (cleanup_identity), (GST_START_TEST),
26903         (identity_suite), (main):
26904           add a test for identity
26905         * check/Makefile.am:
26906         * pkgconfig/Makefile.am:
26907         * pkgconfig/gstreamer-check.pc.in:
26908         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26909         * gst/check:
26910         * gst/Makefile.am:
26911         * configure.ac:
26912           move the check stuff to a library that gets installed
26913         * check/gst-libs/controller.c: (GST_START_TEST):
26914         * check/gst-libs/gdp.c:
26915         * check/gst/gst.c: (GST_START_TEST):
26916         * check/gst/gstbin.c:
26917         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26918         * check/gst/gstbus.c:
26919         * check/gst/gstcaps.c: (GST_START_TEST):
26920         * check/gst/gstelement.c:
26921         * check/gst/gstghostpad.c:
26922         * check/gst/gstiterator.c:
26923         * check/gst/gstmessage.c:
26924         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26925         * check/gst/gstobject.c:
26926         * check/gst/gstpad.c: (GST_START_TEST):
26927         * check/gst/gststructure.c: (GST_START_TEST):
26928         * check/gst/gstsystemclock.c: (GST_START_TEST),
26929         (gst_systemclock_suite):
26930         * check/gst/gsttag.c: (gst_tag_suite):
26931         * check/gst/gstvalue.c:
26932         * check/pipelines/cleanup.c:
26933         * check/pipelines/simple_launch_lines.c:
26934         * check/states/sinks.c:
26935           change include statement
26936
26937         * docs/gst/gstreamer-sections.txt:
26938         * docs/gst/tmpl/gstpad.sgml:
26939           document more pad stuff
26940         * gst/gstminiobject.c: (gst_mini_object_ref),
26941         (gst_mini_object_unref):
26942           debug refcounting
26943
26944 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26945
26946         * docs/gst/tmpl/gst.sgml:
26947         * gst/gst.c:
26948           eliminate another tmpl file, fix spelling in the long-description
26949
26950 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26951
26952         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26953         (test_event), (timediff), (gstevents_suite):
26954           Should fix build on 64-bit arch's
26955
26956 2005-08-18  Andy Wingo  <wingo@pobox.com>
26957
26958         Make sure that when a pipeline goes to PLAYING, that data has
26959         actually hit the sink.
26960
26961         * check/states/sinks.c (test_sink): A sink that doesn't get any
26962         data shouldn't return SUCCESS for going to either PLAYING or
26963         PAUSED. Test also the return values on the way back down.
26964
26965         * gst/gstelement.c (gst_element_set_state): When changing the
26966         state of an element currently changing state asynchronously, go to
26967         lost-state after commiting the pending state. Makes future calls
26968         to get_state continue to return ASYNC.
26969
26970         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26971         ASYNC when going to PLAYING if we still don't have preroll, as can
26972         happen with live sources.
26973
26974 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26975
26976         * docs/pwg/advanced-types.xml:
26977           Hack long paragraph into 2 chunks as a workaround for buggy
26978           jadetex version in sid and breezy that loops infinitely and
26979           eats all RAM.
26980
26981 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26982
26983         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26984         (test_event), (timediff), (gstevents_suite):
26985           Provide more error margin in clock measurements to allow for 
26986           g_get_current_time inaccuracies.
26987
26988 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26989
26990         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26991         (test_event), (timediff), (gstevents_suite):
26992            Fix error message output so I might be able to tell why the
26993            test works here but fails on the build farm.
26994
26995 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26996
26997         * check/Makefile.am:
26998         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26999         (test_event), (timediff), (gstevents_suite), (main):
27000           I wrote a test!
27001
27002         * docs/design/part-seeking.txt:
27003           Spelling correction
27004
27005         * docs/gst/tmpl/gstevent.sgml:
27006         * docs/gst/tmpl/gstfakesrc.sgml:
27007           Docs updates.
27008
27009         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27010           Treat a buffer-without-newsegment the same as a receiving 
27011           a newsegment not in time format, and disable syncing to the clock
27012           with a warning.
27013
27014         * gst/gstbus.c: (gst_bus_set_sync_handler):
27015           Assert if anyone tries to replace the existing sync_handler for bus, 
27016           as only the owner should be setting it.
27017
27018         * gst/gstevent.h:
27019           Have a fixed set of custom event enums with events identified by
27020           their structure name (as in 0.8), rather than a free-for-all
27021           allowing collisions between enum values from different plugins.
27022
27023         * gst/gstpad.c: (gst_pad_class_init):
27024           Docs change.
27025           
27026         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27027           Handle out-of-band downstream events from the sending thread.
27028
27029 2005-08-17  Andy Wingo  <wingo@pobox.com>
27030
27031         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27032         play-timeout==0 to mean no timeout at all. In that case, don't
27033         bother with a get_state or a warning, just return directly, even
27034         if it's ASYNC.
27035
27036         * gst/base/gstbasetransform.c: Debug changes.
27037
27038         * gst/gstutils.h:
27039         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27040         ensure bins post state change messages. A bit of a hack but I can't
27041         think of a way to avoid it.
27042
27043         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27044
27045 2005-08-16  Andy Wingo  <wingo@pobox.com>
27046
27047         * gst/base/gstadapter.h:
27048         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27049         peek() but you own the data. Not terribly efficient atm.
27050
27051 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27052
27053         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27054         (gst_element_found_tags):
27055         * gst/gstutils.h:
27056           Add two utility functions for tag handling.
27057
27058 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27059
27060         * docs/manual/advanced-dataaccess.xml:
27061         * docs/manual/basics-helloworld.xml:
27062           Fix docs to use _bin_add() before _link(), which fixes the examples
27063           with recent core versions (reported by Madhan Raj M
27064           <raj_madan@rediffmail.com>, #313199).
27065
27066 2005-08-16  Wim Taymans  <wim@fluendo.com>
27067
27068         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27069         Added subtract checks.
27070
27071         * docs/design/part-events.txt:
27072         Some more docs about newsegment
27073
27074         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27075         Fix FIXME
27076
27077         * gst/gstcaps.c: (gst_caps_to_string):
27078         Add comments, cleanups.
27079         
27080         * gst/gstelement.c: (gst_element_save_thyself):
27081         cleanups
27082         
27083         * gst/gstvalue.c: (gst_value_collect_int_range),
27084         (gst_string_unwrap), (gst_value_union_int_int_range),
27085         (gst_value_union_int_range_int_range),
27086         (gst_value_intersect_int_int_range),
27087         (gst_value_intersect_int_range_int_range),
27088         (gst_value_intersect_double_double_range),
27089         (gst_value_intersect_double_range_double_range),
27090         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27091         (gst_value_subtract_int_range_int),
27092         (gst_value_subtract_double_range_double),
27093         (gst_value_subtract_double_range_double_range),
27094         (gst_value_subtract_from_list), (gst_value_subtract_list),
27095         (gst_value_can_compare), (gst_value_compare_fraction):
27096         Cleanups, add comments, remove unneeded asserts.
27097
27098 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27099
27100         * tools/gst-launch.c: (event_loop):
27101           don't convert NULL structures to strings
27102
27103 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27104
27105         * docs/gst/gstreamer-sections.txt:
27106           made some defines private
27107         * docs/gst/tmpl/gstconfig.sgml:
27108         * docs/gst/tmpl/gstqueue.sgml:
27109         * docs/gst/tmpl/gsttaglist.sgml:
27110         * docs/gst/tmpl/gsttypes.sgml:
27111         * docs/gst/tmpl/gstutils.sgml:
27112         * docs/pwg/appendix-porting.xml:
27113         * gst/base/gstbasesink.h:
27114         * gst/base/gstbasesrc.c:
27115         * gst/base/gstbasesrc.h:
27116         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27117         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27118         * gst/gstelement.c: (gst_element_class_init):
27119         * gst/gstpad.c: (gst_pad_class_init):
27120         * gst/gstqueue.c: (gst_queue_class_init):
27121         * gst/gstxml.c: (gst_xml_class_init):
27122           documented all undocumented signal inline
27123         * libs/gst/controller/gst-controller.h:
27124           added padding
27125
27126 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27127
27128         * docs/pwg/appendix-porting.xml:
27129           Document _set_link_function -> _set_setcaps_function.
27130
27131 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27132
27133         * check/Makefile.am:
27134           add a .check target for running the check
27135         * check/gst-libs/controller.c: (GST_START_TEST):
27136           cosmetic fixups
27137         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27138           complete checks for gstbuffer; would be nice if I could get the
27139           gcov stuff to work so I can see if I actually completed gstbuffer.c
27140         * check/gstcheck.h:
27141           add ASSERT_BUFFER_REFCOUNT
27142
27143 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27144
27145         * docs/gst/gstreamer-sections.txt:
27146         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27147         * gst/gsttag.h:
27148           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27149           spew out a warning if a tag that is already registered
27150           is re-registered, unless it is re-registered with a 
27151           different type (#308438).
27152
27153 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27154
27155         * docs/pwg/appendix-porting.xml:
27156         * docs/pwg/building-state.xml:
27157           Add some paragraphs about state changes in 0.9 to the PWG
27158           and the porting guide, in particular about the new meaning
27159           of GST_STATE_PAUSED and how to write state change functions
27160           with concurrent access by multiple threads in mind.
27161
27162 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27163
27164         * docs/gst/gstreamer-docs.sgml:
27165         * docs/libs/gstreamer-libs-docs.sgml:
27166           added deprecation and since indexes
27167         * libs/gst/controller/gst-controller.c:
27168         * libs/gst/controller/gst-helper.c:
27169           added since tags
27170
27171
27172 2005-08-11  Wim Taymans  <wim@fluendo.com>
27173
27174         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27175         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27176         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27177         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27178         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27179         (gst_ghost_pad_set_target):
27180         Actually implement (re)setting the target on a ghostpad
27181         as described in the docs.
27182
27183 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27184
27185         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27186           Check whether GST_DEBUG_NO_COLOR environment variable is
27187           set and disable coloured debug output if that is the case.
27188
27189 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27190
27191         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27192         (gst_type_find_helper):
27193           The memory returned by gst_type_find_peek() needs to
27194           stay valid until the end of a typefind function, and
27195           typefind functions may keep results from different 
27196           offsets around, so we can't just unref the buffer from
27197           the previous _peek(), but have to save all buffers 
27198           returned by _peek() until typefinding is done and only
27199           free them then.
27200
27201 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27202
27203         * docs/gst/gstreamer-sections.txt:
27204         * gst/gstutils.h:
27205           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27206
27207 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27208
27209         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27210           Fix a pretty good memleak.
27211
27212 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27213
27214         * gst/gstiterator.h:
27215           Fix wrong include and 'make distcheck'.
27216
27217 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27218
27219         * gst/gstbin.c: (bin_bus_handler):
27220           Use gst_element_post_message() instead.
27221
27222 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27223
27224         * gst/base/gstadapter.h:
27225         * gst/base/gstbasesink.h:
27226         * gst/base/gstbasesrc.h:
27227         * gst/base/gstbasetransform.h:
27228         * gst/base/gstcollectpads.h:
27229         * gst/base/gstpushsrc.h:
27230         * gst/gstiterator.h:
27231           Add padding to our base elements' class and instance structs and
27232           to GstIterator (you will need to rebuild all plugins and apps!)
27233
27234 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27235
27236         * gst/gstbin.c: (bin_bus_handler):
27237           Make default message forwarding from child->bus to bin->bus
27238           threadsafe and make it not emit warnings if the parent has no bus.
27239
27240 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27241
27242         * gst/gstelement.c: (activate_pads):
27243           On paused->ready, set pad->caps to NULL, as is the documented
27244           behaviour in this state change. Fixes playback of series of
27245           media files when visualization is enabled in Totem.
27246
27247 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27248
27249         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27250           Allow NULL as filter-caps (which means "any").
27251
27252 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27253
27254         * docs/libs/gstreamer-libs-sections.txt:
27255         * libs/gst/controller/gst-controller.c:
27256         * libs/gst/controller/gst-controller.h:
27257         * libs/gst/controller/gst-helper.c:
27258           adding more entries to the docs and fix small doc-bugs
27259
27260 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27261
27262         * docs/gst/gstreamer-docs.sgml:
27263         * docs/gst/gstreamer-sections.txt:
27264         * docs/gst/gstreamer.types:
27265         * docs/gst/tmpl/gstbasesink.sgml:
27266         * docs/gst/tmpl/gstbasesrc.sgml:
27267         * docs/gst/tmpl/gstbasetransform.sgml:
27268         * docs/gst/tmpl/gstfakesrc.sgml:
27269         * gst/base/gstcollectpads.c:
27270         * gst/base/gstcollectpads.h:
27271         * libs/gst/controller/gst-controller.c:
27272         * libs/gst/controller/gst-controller.h:
27273         * libs/gst/controller/gst-helper.c:
27274         * libs/gst/controller/gst-interpolation.c:
27275         * libs/gst/controller/lib.c:
27276           added long/short desc for controller docs
27277           added collectpads base class docs
27278           added correct includes to base-class docs
27279
27280 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27281
27282         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27283         (gst_test_mono_source_set_property),
27284         (gst_test_mono_source_class_init), (GST_START_TEST),
27285         (gst_controller_suite):
27286         * docs/gst/gstreamer-docs.sgml:
27287         * docs/gst/gstreamer-sections.txt:
27288         * docs/gst/gstreamer.types:
27289         * docs/libs/gstreamer-libs-docs.sgml:
27290         * docs/libs/gstreamer-libs-sections.txt:
27291         * gst/base/gstadapter.c:
27292         * libs/gst/controller/gst-controller.c:
27293         (gst_controlled_property_new), (gst_controlled_property_free),
27294         (gst_controller_new_valist),
27295         (gst_controller_remove_properties_valist),
27296         (gst_controller_sink_values), (_gst_controller_finalize):
27297         * libs/gst/controller/gst-controller.h:
27298         * libs/gst/controller/gst-helper.c:
27299         (gst_object_control_properties), (gst_object_uncontrol_properties),
27300         (gst_object_get_controller), (gst_object_set_controller),
27301         (gst_object_sink_values), (gst_object_get_value_arrays),
27302         (gst_object_get_value_array):
27303           more tests (and fixes) for the controller
27304           more docs for the controller
27305           integrated companies docs for the adapter 
27306
27307 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27308
27309         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27310         (GST_START_TEST), (fakesrc_suite):
27311           add tests for sizetype
27312
27313 2005-08-04  Andy Wingo  <wingo@pobox.com>
27314
27315         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27316         fixes buffer_alloc proxying among other things.
27317
27318         * gst/base/gstbasetransform.c:
27319         * gst/base/gstbasetransform.h:
27320         Revert patch to gstbasetransform from 7-28 removing
27321         delay_configure.
27322
27323         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27324         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27325         Semantics changed, should return not the size of the output buffer
27326         but the byte size of a buffer with a given caps.
27327
27328         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27329         debug object.
27330         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27331         out) are not the pad caps until setcaps finishes.
27332         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27333         not-in-place case as well. Deal with changing from in-place to
27334         not-in-place within calling pad_alloc_buffer. Still a bit
27335         concerned about the overhead here...
27336
27337 2005-08-03  Andy Wingo  <wingo@pobox.com>
27338
27339         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27340         fixating is an error.
27341
27342 2005-08-04  Edward Hervey  <edward@fluendo.com>
27343
27344         * gst/base/gstadapter.h: 
27345         Added gst_adapter_get_type() to the header
27346
27347 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27348
27349         * check/Makefile.am:
27350         * check/gst-libs/controller.c:
27351         * libs/gst/controller/gst-controller.c:
27352         (gst_controller_new_valist):
27353           added check test suite for the controller
27354         * gst/base/gstpushsrc.c:
27355           fixed a doc typo
27356
27357 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27358
27359         * docs/gst/Makefile.am:
27360         * docs/gst/gstreamer-docs.sgml:
27361         * docs/gst/gstreamer-sections.txt:
27362         * docs/gst/gstreamer.types:
27363         * docs/gst/tmpl/gstfakesrc.sgml:
27364         * gst/base/README:
27365         * gst/base/gstbasesink.c:
27366         * gst/base/gstbasesink.h:
27367         * gst/base/gstbasesrc.c:
27368         * gst/base/gstbasesrc.h:
27369         * gst/base/gstbasetransform.c:
27370         * gst/base/gstpushsrc.c:
27371         * gst/base/gstpushsrc.h:
27372           add short/long description docs to base classes
27373           add pushsrc to the docs
27374           remove consolidated doc fragments
27375
27376 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27377
27378         * configure.ac:
27379         * docs/libs/Makefile.am:
27380         * docs/libs/gstreamer-libs-docs.sgml:
27381         * docs/libs/gstreamer-libs-sections.txt:
27382         * docs/libs/gstreamer-libs.types:
27383         * examples/Makefile.am:
27384         * examples/controller/.cvsignore:
27385         * examples/controller/Makefile.am:
27386         * examples/controller/audio-example.c: (main):
27387         * libs/gst/Makefile.am:
27388         * libs/gst/controller/.cvsignore:
27389         * libs/gst/controller/Makefile.am:
27390         * libs/gst/controller/gst-controller.c:
27391         (on_object_controlled_property_changed), (gst_timed_value_compare),
27392         (gst_timed_value_find),
27393         (gst_controlled_property_set_interpolation_mode),
27394         (gst_controlled_property_new), (gst_controlled_property_free),
27395         (gst_controller_find_controlled_property),
27396         (gst_controller_new_valist), (gst_controller_new),
27397         (gst_controller_remove_properties_valist),
27398         (gst_controller_remove_properties), (gst_controller_set),
27399         (gst_controller_set_from_list), (gst_controller_unset),
27400         (gst_controller_get), (gst_controller_get_all),
27401         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27402         (gst_controller_get_value_array),
27403         (gst_controller_set_interpolation_mode),
27404         (_gst_controller_finalize), (_gst_controller_init),
27405         (_gst_controller_class_init), (gst_controller_get_type):
27406         * libs/gst/controller/gst-controller.h:
27407         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27408         (g_object_uncontrol_properties), (g_object_get_controller),
27409         (g_object_set_controller), (g_object_sink_values),
27410         (g_object_get_value_arrays), (g_object_get_value_array):
27411         * libs/gst/controller/gst-interpolation.c:
27412         (gst_controlled_property_find_timed_value_node),
27413         (interpolate_none_get), (interpolate_trigger_get),
27414         (interpolate_trigger_get_value_array):
27415         * libs/gst/controller/lib.c: (gst_controller_init):
27416         * pkgconfig/Makefile.am:
27417         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27418         * pkgconfig/gstreamer-control.pc.in:
27419         * testsuite/Makefile.am:
27420         * testsuite/controller/.cvsignore:
27421         * testsuite/controller/Makefile.am:
27422         * testsuite/controller/interpolator.c: (main):
27423           added controller code
27424           removed dparam pc files
27425
27426 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27427         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27428         (gst_collectpads_stop):
27429           Broadcast the condition when shutting down, to make sure we wake all
27430           threads up. Shut down pads on finalize, for safety.
27431
27432 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27433         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27434         (gst_base_transform_handle_buffer),
27435         (gst_base_transform_change_state):
27436           Handle PAUSED->READY->PAUSED transition after negotiation
27437           occurred already.
27438         * gst/gstmessage.c: (gst_message_init):
27439           Extra piece of debug for new messages.
27440
27441 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27442
27443         * configure.ac:
27444         * docs/gst/tmpl/gstbasesrc.sgml:
27445         * docs/gst/tmpl/gstelement.sgml:
27446         * docs/gst/tmpl/gstevent.sgml:
27447         * docs/gst/tmpl/gstfakesrc.sgml:
27448         * docs/gst/tmpl/gstformat.sgml:
27449         * docs/gst/tmpl/gstghostpad.sgml:
27450         * docs/gst/tmpl/gstpad.sgml:
27451         * docs/gst/tmpl/gstquery.sgml:
27452         * docs/gst/tmpl/gststructure.sgml:
27453         * docs/gst/tmpl/gsttaglist.sgml:
27454         * docs/gst/tmpl/gstvalue.sgml:
27455         * docs/libs/gstreamer-libs-docs.sgml:
27456         * docs/libs/gstreamer-libs-sections.txt:
27457         * docs/libs/gstreamer-libs.types:
27458         * libs/gst/Makefile.am:
27459         * libs/gst/control/.cvsignore:
27460         * libs/gst/control/Makefile.am:
27461         * libs/gst/control/control.c:
27462         * libs/gst/control/control.h:
27463         * libs/gst/control/dparam.c:
27464         * libs/gst/control/dparam.h:
27465         * libs/gst/control/dparam_smooth.c:
27466         * libs/gst/control/dparam_smooth.h:
27467         * libs/gst/control/dparamcommon.h:
27468         * libs/gst/control/dparammanager.c:
27469         * libs/gst/control/dparammanager.h:
27470         * libs/gst/control/dplinearinterp.c:
27471         * libs/gst/control/dplinearinterp.h:
27472         * libs/gst/control/unitconvert.c:
27473         * libs/gst/control/unitconvert.h:
27474         * testsuite/Makefile.am:
27475         * testsuite/dynparams/.cvsignore:
27476         * testsuite/dynparams/Makefile.am:
27477         * testsuite/dynparams/dparamstest.c:
27478         * tools/Makefile.am:
27479         * tools/gst-inspect.c: (print_element_info), (main):
27480         * tools/gst-xmlinspect.c: (print_element_info), (main):
27481           deactivate and remove dparams (libgstcontrol)
27482
27483 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27484
27485         * gst/elements/gsttypefindelement.c:
27486         (gst_type_find_element_have_type), (gst_type_find_element_init),
27487         (stop_typefinding), (gst_type_find_element_handle_event),
27488         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27489         * gst/elements/gsttypefindelement.h:
27490           Set caps on all outgoing buffers, not just the first one.
27491
27492 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27493
27494         * gst/elements/gsttypefindelement.c:
27495         (gst_type_find_element_have_type),
27496         (gst_type_find_element_check_set_buffer_caps),
27497         (gst_type_find_element_init), (stop_typefinding),
27498         (gst_type_find_element_handle_event),
27499         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27500         * gst/elements/gsttypefindelement.h:
27501           Set caps on first outgoing buffer when we've found the type.
27502
27503 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27504
27505         * docs/gst/gstreamer-docs.sgml:
27506         * docs/gst/gstreamer-sections.txt:
27507         * docs/gst/tmpl/gstscheduler.sgml:
27508         * docs/gst/tmpl/gstschedulerfactory.sgml:
27509           Remove some old cruft from docs.
27510
27511 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27512
27513         * gst/gstpad.h:
27514           Fix inline docs for GstPadLinkReturn.
27515           
27516         * gst/gststructure.c: (gst_structure_has_name):
27517         * gst/gststructure.h:
27518         * docs/gst/gstreamer-sections.txt:
27519           New API: gst_structure_has_name().
27520
27521 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27522
27523         * configure.ac:
27524           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27525           and _LARGEFILE_SOURCE in config.h as required. Do not 
27526           export those flags in our .pc files any longer (#142209).
27527
27528           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27529
27530         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27531         (gst_file_sink_do_seek), (gst_file_sink_event),
27532         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27533           Redo seek/tell calls with large file support in mind; add some
27534           debugging messages; add log message that tells us when large
27535           file support is unavailable or not enabled for some reason.
27536
27537         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27538           Add log message that tells us when large file support 
27539           is unavailable or not enabled for some reason.
27540
27541 2005-07-29  Wim Taymans  <wim@fluendo.com>
27542
27543         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27544         Added test for removing an element with ghostpad from a bin.
27545         Fixed test as current implementation does the right thing.
27546
27547         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27548         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27549         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27550         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27551         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27552         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27553         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27554         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27555         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27556         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27557         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27558         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27559         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27560         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27561         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27562         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27563         * gst/gstghostpad.h:
27564         Clean up ghostpads, remove properties for internal stuff.
27565         Make threadsafe.
27566         Fix refcounting.
27567         Prepare for switching targets, not all use cases work yet.
27568
27569 2005-07-29  Wim Taymans  <wim@fluendo.com>
27570
27571         * docs/design/part-gstghostpad.txt:
27572         Small update.
27573
27574         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27575         (gst_bin_remove_func):
27576         Unlinking pads while holding the bin LOCK is not a good
27577         idea.
27578
27579         * gst/gstpad.c: (gst_pad_class_init),
27580         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27581         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27582         No prob setting template after creating the pad.
27583
27584 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27585
27586         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27587         (gst_bus_peek), (gst_bus_source_dispatch),
27588         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27589         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27590           gst_bus_poll may be called from other threads. Handle
27591           this nicely by not making poll_data disappear off the
27592           stack once gst_bus_poll returns.
27593           gst_bus_peek now increments the refcount on the returned
27594           message.
27595
27596 2005-07-29  Wim Taymans  <wim@fluendo.com>
27597
27598         * docs/design/part-gstghostpad.txt:
27599         Overview of current GhostPad datastructures and use
27600         cases for changing the target.
27601
27602 2005-07-28  Wim Taymans  <wim@fluendo.com>
27603
27604         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27605         Added checks for hierarchy consistency whan adding linked
27606         elements to bins.
27607
27608         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27609         Added check to test element scheduling without bin/pipeline.
27610
27611         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27612         First add elements to bin, then link.
27613         
27614         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27615         (gst_bin_remove_func):
27616         Unlink pads from elements added/removed from bin to maintain
27617         hierarchy consistency.
27618
27619 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27620
27621         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27622         (gst_base_transform_handle_buffer):
27623         * gst/base/gstbasetransform.h:
27624           Remove broken delay_configure (fixes renegotiation of software
27625           scaling pipelines); remove some leftover printf()s.
27626
27627 2005-07-28  Wim Taymans  <wim@fluendo.com>
27628
27629         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27630         Added some more tests for wrong hierarchy
27631
27632         * docs/design/part-overview.txt:
27633         Some updates.
27634
27635         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27636         Cleanups.
27637
27638         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27639         (gst_element_dispose):
27640         Some more cleanups.
27641
27642         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27643         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27644         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27645         (gst_pad_set_caps), (gst_pad_send_event):
27646         Check for correct hierarchy when linking pads. Moving to
27647         strict requirement for ghostpads when linking elements in
27648         different bins.
27649
27650         * gst/gstpad.h:
27651         Clean ups. Added WRONG_HIERARCHY return value.
27652
27653 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27654
27655         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27656           Better debug if no transform is possible.
27657
27658 2005-07-27  Wim Taymans  <wim@fluendo.com>
27659
27660         * docs/random/wtay/network-transp:
27661         Some old doc I had.
27662
27663 2005-07-27  Wim Taymans  <wim@fluendo.com>
27664
27665         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27666         (gst_dp_event_from_packet):
27667         Fix serialization of seek events.
27668
27669 2005-07-27  Wim Taymans  <wim@fluendo.com>
27670
27671         * check/gst-libs/gdp.c: (GST_START_TEST):
27672         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27673         Fix compilation and fix event serialization.
27674
27675 2005-07-27  Wim Taymans  <wim@fluendo.com>
27676
27677         * CHANGES-0.9:
27678         * docs/design/part-TODO.txt:
27679         * docs/design/part-events.txt:
27680         Some docs updates
27681
27682         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27683         (gst_base_sink_event), (gst_base_sink_do_sync),
27684         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27685         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27686         (gst_base_src_do_seek), (gst_base_src_event_handler),
27687         (gst_base_src_loop):
27688         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27689         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27690         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27691         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27692         (gst_base_transform_set_passthrough),
27693         (gst_base_transform_is_passthrough):
27694         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27695         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27696         Event updates.
27697
27698         * gst/gstbuffer.h:
27699         Use faster casts.
27700
27701         * gst/gstelement.c: (gst_element_seek):
27702         * gst/gstelement.h:
27703         Update gst_element_seek.
27704
27705         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27706         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27707         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27708         (gst_event_new_eos), (gst_event_new_newsegment),
27709         (gst_event_parse_newsegment), (gst_event_new_tag),
27710         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27711         (gst_event_parse_qos), (gst_event_new_seek),
27712         (gst_event_parse_seek), (gst_event_new_navigation):
27713         * gst/gstevent.h:
27714         Make GstEvent use GstStructure. Add parsing code, make sure the
27715         API is sufficiently generic.
27716         Mark possible directions of events and serialization.
27717
27718         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27719         (_gst_message_copy), (gst_message_new_segment_start),
27720         (gst_message_new_segment_done), (gst_message_new_custom),
27721         (gst_message_parse_segment_start),
27722         (gst_message_parse_segment_done):
27723         Small cleanups.
27724
27725         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27726         (gst_pad_set_caps), (gst_pad_send_event):
27727         Update for new events. 
27728         Catch events sent in wrong directions.
27729
27730         * gst/gstqueue.c: (gst_queue_link_src),
27731         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27732         (gst_queue_handle_src_query):
27733         Event updates.
27734
27735         * gst/gsttag.c:
27736         * gst/gsttag.h:
27737         Remove event code from this file.
27738
27739         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27740         (gst_dp_event_from_packet):
27741         Event updates.
27742
27743 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27744
27745         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27746         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27747         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27748           Make debugging actually useful.
27749
27750 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27751
27752         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27753         (gst_pad_fixate_caps):
27754           Implement default fixation once again, so that gst_pad_fixate()
27755           actually does anything at all. This probably needs to be some
27756           sort of a last resort, and use profile-based fixation first, but
27757           since that doesn't exist yet, this is the best we have. Fixes
27758           visualization in Totem.
27759
27760 2005-07-22  Wim Taymans  <wim@fluendo.com>
27761
27762         * docs/design/part-events.txt:
27763         Small update.
27764
27765         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27766         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27767         (gst_base_sink_activate_pull):
27768         Some more comments.
27769
27770         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27771         (gst_fake_src_create):
27772         Fix handoff marshall.
27773
27774         * gst/elements/gstidentity.c: (gst_identity_class_init),
27775         (gst_identity_transform_ip):
27776         We're a real inplace element.
27777
27778         * gst/gstbus.c: (gst_bus_post):
27779         Added some comments.
27780
27781         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27782         * tests/muxing/case1.c: (main):
27783         * tests/sched/dynamic-pipeline.c: (main):
27784         * tests/sched/interrupt1.c: (main):
27785         * tests/sched/interrupt2.c: (main):
27786         * tests/sched/interrupt3.c: (main):
27787         * tests/sched/runxml.c: (main):
27788         * tests/sched/sched-stress.c: (main):
27789         * tests/seeking/seeking1.c: (event_received), (main):
27790         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27791         (main):
27792         * tests/threadstate/threadstate3.c: (main):
27793         * tests/threadstate/threadstate4.c: (main):
27794         * tests/threadstate/threadstate5.c: (main):
27795         Fix the tests.
27796
27797 2005-07-21  Wim Taymans  <wim@fluendo.com>
27798
27799         * docs/design/part-seeking.txt:
27800         Some small additions.
27801
27802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27803         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27804         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27805         * gst/base/gstbasesink.h:
27806         discont values are gint64, handle the math correctly.
27807
27808         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27809         Make the basesrc report error if the source pad is not linked.
27810
27811         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27812         (gst_queue_loop), (gst_queue_handle_src_query),
27813         (gst_queue_src_activate_push):
27814         Make queue collect data even if the srcpad is not linked.
27815         Start pushing out data as soon as it is linked.
27816
27817         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27818         * gst/gstutils.h:
27819         Added gst_flow_get_name() to ease error reporting.
27820
27821 2005-07-20  Wim Taymans  <wim@fluendo.com>
27822
27823         * gst/gstmessage.c: (gst_message_new_segment_start),
27824         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27825         (gst_message_parse_segment_done):
27826         * gst/gstmessage.h:
27827         Added a bunch of messages for advanced seeking.
27828
27829         * gst/parse/grammar.y:
27830         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27831         (gst_dpman_state_changed):
27832         Fix some new-pad -> pad-added signals
27833
27834 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27835
27836         * docs/manual/appendix-porting.xml:
27837         * docs/pwg/appendix-porting.xml:
27838           Document new-pad/state-change signal renames and the FixedList
27839           type rename.
27840
27841 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27842
27843         * docs/manual/advanced-autoplugging.xml:
27844         * docs/manual/basics-helloworld.xml:
27845         * docs/manual/basics-pads.xml:
27846         * docs/random/ds/0.9-suggested-changes:
27847         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27848         * gst/gstelement.h:
27849         * gst/gstevent.h:
27850         * gst/gstformat.h:
27851         * gst/gstquery.h:
27852         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27853         (gst_structure_parse_array), (gst_structure_parse_value):
27854         * gst/gstvalue.c: (gst_type_is_fixed),
27855         (gst_value_list_prepend_value), (gst_value_list_append_value),
27856         (gst_value_list_get_size), (gst_value_list_get_value),
27857         (gst_value_transform_array_string), (gst_value_serialize_array),
27858         (gst_value_deserialize_array), (gst_value_intersect_array),
27859         (gst_value_is_fixed), (_gst_value_initialize):
27860         * gst/gstvalue.h:
27861           GstElement::new-pad -> pad-added, GstElement::state-change ->
27862           state-changed, GstValueFixedList -> GstValueArray, add format and
27863           flags as their own arguments in gst_element_seek() (should improve
27864           "bindeability"), remove function generators since they don't work
27865           under a whole bunch of compilers (they were deprecated already
27866           anyway).
27867
27868 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27869
27870         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27871         (_gst_debug_register_funcptr):
27872         * gst/gstinfo.h:
27873           Fix illegal cast on some platforms (#309253).
27874
27875 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27876
27877         * gst/gstmessage.c: (gst_message_new_custom):
27878         * gst/gstmessage.h:
27879           Add _new_custom, make _new_application a macro to _new_custom.
27880
27881 2005-07-20  Wim Taymans  <wim@fluendo.com>
27882
27883         * gst/base/gstbasesrc.c: (gst_base_src_init),
27884         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27885         * gst/base/gstbasesrc.h:
27886         Add a gboolean to decide when to push out a discont.
27887
27888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27889         (gst_queue_loop), (gst_queue_handle_src_query),
27890         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27891         (gst_queue_set_property), (gst_queue_get_property):
27892         Some cleanups.
27893
27894         * tests/threadstate/threadstate1.c: (main):
27895         Make a thread test compile and run... very silly..
27896
27897
27898 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27899
27900         * docs/manual/appendix-porting.xml:
27901           Mention removal of libgstgconf-0.9.la and existence of gconf
27902           elements.
27903
27904 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27905
27906         * docs/pwg/advanced-clock.xml:
27907         * docs/pwg/appendix-porting.xml:
27908         * docs/pwg/intro-preface.xml:
27909         * docs/pwg/other-base.xml:
27910         * docs/pwg/other-manager.xml:
27911         * docs/pwg/other-nton.xml:
27912         * docs/pwg/other-ntoone.xml:
27913         * docs/pwg/other-oneton.xml:
27914         * docs/pwg/pwg.xml:
27915           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27916           demuxer), remove n-to-n (was never written), fix some code examples
27917           and links and update the porting section to include all this.
27918
27919 2005-07-19  Wim Taymans  <wim@fluendo.com>
27920
27921         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27922         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27923         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27924         (gst_queue_src_activate_push), (gst_queue_change_state),
27925         (gst_queue_get_property):
27926         * gst/gstqueue.h:
27927         Propagate GstFlowReturn more intelligently upstream and output
27928         an ERROR/EOS when streaming stopped due to fatal error.
27929
27930 2005-07-19  Wim Taymans  <wim@fluendo.com>
27931
27932         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27933         Don't block forever for the state change to complete, the
27934         pipeline already did with a sensible timeout.
27935
27936 2005-07-19  Wim Taymans  <wim@fluendo.com>
27937
27938         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27939         Make sure we never call the create function is we
27940         got deactivated.
27941
27942 2005-07-19  Andy Wingo  <wingo@pobox.com>
27943
27944         * gst/parse/parse.l: Attempt to solve bug #172815.
27945
27946 2005-07-19  Wim Taymans  <wim@fluendo.com>
27947
27948         * docs/design/part-clocks.txt:
27949         * docs/design/part-events.txt:
27950         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27951         Small docs updates.
27952         Only update the seeking values when we are not
27953         busy streaming.
27954
27955 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27956
27957         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27958           Oops, ignore the result of gst_pad_push_event here.
27959
27960 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27961
27962         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27963         (gst_base_src_activate_push):
27964           Send discont event from the loop function, as pads
27965           aren't activated yet in the activate_push handler.
27966
27967         * gst/gstbin.c: (bin_bus_handler):
27968           Don't leak element name.
27969
27970 2005-07-18  Andy Wingo  <wingo@pobox.com>
27971
27972         * configure.ac: Use AS_LIBTOOL_TAGS.
27973
27974 2005-07-18  Wim Taymans  <wim@fluendo.com>
27975
27976         * docs/gst/gstreamer.types:
27977         Remove deleted types.
27978
27979 2005-07-18  Wim Taymans  <wim@fluendo.com>
27980
27981         * check/elements/gstfakesrc.c: (GST_START_TEST):
27982         * configure.ac:
27983         * gst/Makefile.am:
27984         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
27985         (init_popt_callback):
27986         * gst/gst.h:
27987         * gst/gst_private.h:
27988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
27989         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
27990         * gst/gstbin.h:
27991         * gst/gstbus.h:
27992         * gst/gstconfig.h.in:
27993         * gst/gstelement.c: (gst_element_class_init),
27994         (gst_element_set_base_time), (gst_element_get_base_time),
27995         (iterator_fold_with_resync), (gst_element_change_state),
27996         (gst_element_dispose), (gst_element_get_bus):
27997         * gst/gstelement.h:
27998         * gst/gstelementfactory.h:
27999         * gst/gsterror.c: (_gst_core_errors_init):
28000         * gst/gsterror.h:
28001         * gst/gstevent.h:
28002         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28003         * gst/gstindex.c:
28004         * gst/gstinfo.c: (_gst_debug_init):
28005         * gst/gstmessage.c: (_gst_message_copy):
28006         * gst/gstmessage.h:
28007         * gst/gstminiobject.h:
28008         * gst/gstobject.c:
28009         * gst/gstobject.h:
28010         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28011         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28012         * gst/gstpad.h:
28013         * gst/gstparse.h:
28014         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28015         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28016         (gst_pipeline_get_last_stream_time):
28017         * gst/gstpipeline.h:
28018         * gst/gstpluginfeature.h:
28019         * gst/gstquery.h:
28020         * gst/gstscheduler.c:
28021         * gst/gstscheduler.h:
28022         * gst/gststructure.h:
28023         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28024         (gst_task_finalize), (gst_task_func), (gst_task_create),
28025         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28026         (gst_task_stop), (gst_task_pause):
28027         * gst/gsttask.h:
28028         * gst/gsttypefind.h:
28029         * gst/gsttypes.h:
28030         * gst/registries/gstlibxmlregistry.c: (load_feature),
28031         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28032         * gst/registries/gstxmlregistry.c:
28033         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28034         * gst/schedulers/threadscheduler.c:
28035         * libs/gst/control/dparammanager.h:
28036         * tools/gst-inspect.c: (print_element_list),
28037         (print_plugin_features), (print_element_features):
28038         * tools/gst-xmlinspect.c: (print_element_list),
28039         (print_plugin_info), (main):
28040         Removed plugable schedulers.
28041         Removed Scheduler/Manager from elements.
28042         Removed gsttypes.h, rearranged includes.
28043         Removed dependency pad<->element, element<>pipeline, and
28044         various others,  fix includes.
28045         implement gst_pad_get_parent() with gst_object_get_parent()
28046         Make GstTask sefcontained.
28047         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28048         timeout.
28049         Fix endless loop in iterator_fold_with_resync.
28050
28051
28052 2005-07-18  Wim Taymans  <wim@fluendo.com>
28053
28054         * gst/Makefile.am:
28055         * gst/gstarch.h:
28056         Remove old file.
28057
28058 2005-07-18  Wim Taymans  <wim@fluendo.com>
28059
28060         * gst/Makefile.am:
28061         No more cothreads.h
28062
28063 2005-07-18  Wim Taymans  <wim@fluendo.com>
28064
28065         * gst/cothreads.c:
28066         * gst/cothreads.h:
28067         Let's remove these.
28068
28069 2005-07-18  Wim Taymans  <wim@fluendo.com>
28070
28071         * docs/design/part-dynamic.txt:
28072         * docs/design/part-events.txt:
28073         * docs/design/part-seeking.txt:
28074         Some more docs in the works.
28075
28076         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28077         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28078         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28079         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28080         (gst_base_transform_handle_buffer),
28081         (gst_base_transform_sink_activate_push),
28082         (gst_base_transform_src_activate_pull),
28083         (gst_base_transform_set_passthrough),
28084         (gst_base_transform_is_passthrough):
28085         Refcounting fixes.
28086
28087         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28088         Cleanups.
28089
28090         * gst/gstevent.c: (gst_event_finalize):
28091         Set SRC to NULL.
28092
28093         * gst/gstutils.c: (gst_element_unlink),
28094         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28095         (gst_pad_proxy_setcaps):
28096         * gst/gstutils.h:
28097         Add _get_parent_element() to get a pads parent as an element.
28098
28099 2005-07-18  Wim Taymans  <wim@fluendo.com>
28100
28101         * check/gst/gstbin.c: (GST_START_TEST):
28102         Remove bogus test.
28103
28104 2005-07-18  Wim Taymans  <wim@fluendo.com>
28105
28106         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28107         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28108         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28109         (gst_base_sink_event), (gst_base_sink_do_sync),
28110         (gst_base_sink_chain), (gst_base_sink_loop),
28111         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28112         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28113         Refcounting fixes.
28114         Fix logic for returning ASYNC when not prerolled.
28115
28116 2005-07-18  Wim Taymans  <wim@fluendo.com>
28117
28118         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28119         Fix nasty refcount bug.
28120
28121 2005-07-16 Philippe Khalaf <burger@speedy.org>
28122
28123         * gst/elements/gstfdsrc.c:
28124         * gst/elements/gstfdsrc.h:
28125         * gst/elements/gstelements.c:
28126         * gst/elements/Makefile.am:
28127         Ported fdsrc to 0.9.
28128
28129 2005-07-16  Wim Taymans  <wim@fluendo.com>
28130
28131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28132         (gst_base_sink_do_sync):
28133         Fix compile error.
28134
28135 2005-07-16  Wim Taymans  <wim@fluendo.com>
28136
28137         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28138         (gst_base_sink_event), (gst_base_sink_get_times),
28139         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28140         * gst/base/gstbasesink.h:
28141         Store and use discont values when syncing buffers as described
28142         in design docs.
28143         
28144         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28145         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28146         (gst_base_src_activate_push):
28147         Push discont event when starting.
28148
28149         * gst/elements/gstidentity.c: (gst_identity_transform):
28150         Small cleanups.
28151
28152         * gst/gstbin.c: (gst_bin_change_state):
28153         Small cleanups in base_time  distribution.
28154
28155         * gst/gstelement.c: (gst_element_set_base_time),
28156         (gst_element_get_base_time), (gst_element_change_state):
28157         * gst/gstelement.h:
28158         Added methods for the base_time of the element.
28159         Some MT fixes.
28160
28161         * gst/gstpipeline.c: (gst_pipeline_send_event),
28162         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28163         (gst_pipeline_get_last_stream_time):
28164         * gst/gstpipeline.h:
28165         MT fixes.
28166         Handle seeking as described in design doc, remove stream_time
28167         hack.
28168         Cleanups clock and stream_time selection code. Added accessors
28169         for the stream_time.
28170         
28171
28172 2005-07-16  Andy Wingo  <wingo@pobox.com>
28173
28174         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28175         (#305291).
28176
28177 2005-07-16  Wim Taymans  <wim@fluendo.com>
28178
28179         * check/gst/gstbin.c: (GST_START_TEST):
28180         Make elements silent as the deep_notify refs the
28181         parent, which might make the test fail.
28182
28183         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28184         Don't hold the lock for too long.
28185
28186 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28187
28188         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28189           Don't unref the caps we passed to gst_caps_make_writable() after
28190           passing them. gst_caps_make_writable() will do that for us.
28191
28192 2005-07-15  Andy Wingo  <wingo@pobox.com>
28193
28194         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28195         (#157311).
28196
28197         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28198         own marshalling function for the handoff signal. Properly type the
28199         buffer as a buffer. Fixes some warnings. Should do a more general
28200         solution.
28201         (gst_identity_class_init): Plug into the right marshaller.
28202
28203 2005-07-15  Wim Taymans  <wim@fluendo.com>
28204
28205         * docs/design/part-TODO.txt:
28206         * docs/design/part-clocks.txt:
28207         * docs/design/part-element-sink.txt:
28208         * docs/design/part-events.txt:
28209         * docs/design/part-gstpipeline.txt:
28210         Updated docs, mostly DISCONT related.
28211
28212 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28213
28214         * docs/pwg/building-pads.xml:
28215           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28216
28217 2005-07-15  Andy Wingo  <wingo@pobox.com>
28218
28219         * tools/gst-typefind.c: Update, add copyright block.
28220
28221         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28222         Normalize and truncate caps before fixation.
28223
28224         * gst/gstcaps.h:
28225         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28226         discards all but the first structure from its argument.
28227
28228 2005-07-15  Wim Taymans  <wim@fluendo.com>
28229
28230         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28231         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28232         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28233         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28234         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28235         (gst_base_transform_chain), (gst_base_transform_change_state),
28236         (gst_base_transform_set_passthrough),
28237         (gst_base_transform_is_passthrough):
28238         * gst/base/gstbasetransform.h:
28239         Make passthrough work using the bufferpools.
28240         Changed API a bit, subclasses have to write into a buffer
28241         provided by the base class.
28242         More debug info in nego functions.
28243         
28244         * gst/elements/gstidentity.c: (gst_identity_init),
28245         (gst_identity_transform):
28246         Port to new base class.
28247
28248 2005-07-15  Wim Taymans  <wim@fluendo.com>
28249
28250         * gst/gstmessage.c: (gst_message_new_state_changed):
28251         * tools/gst-launch.c: (event_loop), (main):
28252         Totally dump messages in -launch with the -m option.
28253         Fix message name for State messages,
28254
28255 2005-07-14  Wim Taymans  <wim@fluendo.com>
28256
28257         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28258         Post error messages on errors.
28259
28260 2005-07-14  Wim Taymans  <wim@fluendo.com>
28261
28262         * gst/gstcaps.c: (gst_caps_do_simplify):
28263         Remove debug info.
28264
28265         * gst/gsterror.h:
28266         Define error for stream stopped.
28267
28268         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28269         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28270         Do proper return values.
28271
28272         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28273         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28274         (gst_pad_get_range):
28275         Better return values.
28276
28277         * gst/gstpad.h:
28278         Reorganise return values, add macro to check for fatal errors.
28279
28280         * gst/gstqueue.c: (gst_queue_chain):
28281         Return proper GstFlowReturn values,
28282
28283 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28284
28285         * docs/gst/gstreamer-sections.txt:
28286         * docs/gst/gstreamer.types:
28287         * docs/gst/tmpl/gst.sgml:
28288         * docs/gst/tmpl/gstbasesink.sgml:
28289         * docs/gst/tmpl/gstbasesrc.sgml:
28290         * docs/gst/tmpl/gstbasetransform.sgml:
28291         * docs/gst/tmpl/gstbin.sgml:
28292         * docs/gst/tmpl/gstbuffer.sgml:
28293         * docs/gst/tmpl/gstcaps.sgml:
28294         * docs/gst/tmpl/gstclock.sgml:
28295         * docs/gst/tmpl/gstcompat.sgml:
28296         * docs/gst/tmpl/gstconfig.sgml:
28297         * docs/gst/tmpl/gstelement.sgml:
28298         * docs/gst/tmpl/gstelementdetails.sgml:
28299         * docs/gst/tmpl/gstelementfactory.sgml:
28300         * docs/gst/tmpl/gstenumtypes.sgml:
28301         * docs/gst/tmpl/gsterror.sgml:
28302         * docs/gst/tmpl/gstevent.sgml:
28303         * docs/gst/tmpl/gstfakesink.sgml:
28304         * docs/gst/tmpl/gstfakesrc.sgml:
28305         * docs/gst/tmpl/gstfilesink.sgml:
28306         * docs/gst/tmpl/gstfilesrc.sgml:
28307         * docs/gst/tmpl/gstfilter.sgml:
28308         * docs/gst/tmpl/gstformat.sgml:
28309         * docs/gst/tmpl/gstghostpad.sgml:
28310         * docs/gst/tmpl/gstimplementsinterface.sgml:
28311         * docs/gst/tmpl/gstindex.sgml:
28312         * docs/gst/tmpl/gstindexfactory.sgml:
28313         * docs/gst/tmpl/gstinfo.sgml:
28314         * docs/gst/tmpl/gstiterator.sgml:
28315         * docs/gst/tmpl/gstmacros.sgml:
28316         * docs/gst/tmpl/gstmemchunk.sgml:
28317         * docs/gst/tmpl/gstminiobject.sgml:
28318         * docs/gst/tmpl/gstobject.sgml:
28319         * docs/gst/tmpl/gstpad.sgml:
28320         * docs/gst/tmpl/gstpadtemplate.sgml:
28321         * docs/gst/tmpl/gstparse.sgml:
28322         * docs/gst/tmpl/gstpipeline.sgml:
28323         * docs/gst/tmpl/gstplugin.sgml:
28324         * docs/gst/tmpl/gstpluginfeature.sgml:
28325         * docs/gst/tmpl/gstquery.sgml:
28326         * docs/gst/tmpl/gstqueue.sgml:
28327         * docs/gst/tmpl/gstregistry.sgml:
28328         * docs/gst/tmpl/gstregistrypool.sgml:
28329         * docs/gst/tmpl/gstscheduler.sgml:
28330         * docs/gst/tmpl/gstschedulerfactory.sgml:
28331         * docs/gst/tmpl/gststructure.sgml:
28332         * docs/gst/tmpl/gstsystemclock.sgml:
28333         * docs/gst/tmpl/gsttaglist.sgml:
28334         * docs/gst/tmpl/gsttagsetter.sgml:
28335         * docs/gst/tmpl/gsttrace.sgml:
28336         * docs/gst/tmpl/gsttrashstack.sgml:
28337         * docs/gst/tmpl/gsttypefind.sgml:
28338         * docs/gst/tmpl/gsttypefindfactory.sgml:
28339         * docs/gst/tmpl/gsttypes.sgml:
28340         * docs/gst/tmpl/gsturihandler.sgml:
28341         * docs/gst/tmpl/gsturitype.sgml:
28342         * docs/gst/tmpl/gstutils.sgml:
28343         * docs/gst/tmpl/gstvalue.sgml:
28344         * docs/gst/tmpl/gstversion.sgml:
28345         * docs/gst/tmpl/gstxml.sgml:
28346         * docs/libs/tmpl/gstcontrol.sgml:
28347         * docs/libs/tmpl/gstdataprotocol.sgml:
28348         * docs/libs/tmpl/gstdparam.sgml:
28349         * docs/libs/tmpl/gstdplinint.sgml:
28350         * docs/libs/tmpl/gstdpman.sgml:
28351         * docs/libs/tmpl/gstdpsmooth.sgml:
28352         * docs/libs/tmpl/gstgetbits.sgml:
28353         * docs/libs/tmpl/gstunitconvert.sgml:
28354         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28355         (gst_push_src_base_init), (gst_push_src_class_init),
28356         (gst_push_src_init), (gst_push_src_create):
28357         * gst/base/gstpushsrc.h:
28358         * gst/elements/gstelements.c:
28359         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28360         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28361         (gst_fake_sink_init), (gst_fake_sink_set_property),
28362         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28363         (gst_fake_sink_event), (gst_fake_sink_preroll),
28364         (gst_fake_sink_render), (gst_fake_sink_change_state):
28365         * gst/elements/gstfakesink.h:
28366         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28367         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28368         (gst_fake_src_base_init), (gst_fake_src_class_init),
28369         (gst_fake_src_init), (gst_fake_src_event_handler),
28370         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28371         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28372         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28373         (gst_fake_src_create_buffer), (gst_fake_src_create),
28374         (gst_fake_src_start), (gst_fake_src_stop):
28375         * gst/elements/gstfakesrc.h:
28376         * gst/elements/gstfilesink.c: (_do_init),
28377         (gst_file_sink_base_init), (gst_file_sink_class_init),
28378         (gst_file_sink_init), (gst_file_sink_dispose),
28379         (gst_file_sink_set_location), (gst_file_sink_set_property),
28380         (gst_file_sink_get_property), (gst_file_sink_open_file),
28381         (gst_file_sink_close_file), (gst_file_sink_query),
28382         (gst_file_sink_event), (gst_file_sink_render),
28383         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28384         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28385         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28386         * gst/elements/gstfilesink.h:
28387         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28388         (gst_file_src_class_init), (gst_file_src_init),
28389         (gst_file_src_finalize), (gst_file_src_set_location),
28390         (gst_file_src_set_property), (gst_file_src_get_property),
28391         (gst_file_src_map_region), (gst_file_src_map_small_region),
28392         (gst_file_src_create_mmap), (gst_file_src_create_read),
28393         (gst_file_src_create), (gst_file_src_is_seekable),
28394         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28395         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28396         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28397         (gst_file_src_uri_handler_init):
28398         * gst/elements/gstfilesrc.h:
28399           more autistic cleanliness in functions/names/defines
28400
28401 2005-07-13  Andy Wingo  <wingo@pobox.com>
28402
28403         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28404         source couldn't negotiate.
28405
28406         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28407         connections again.
28408
28409         * gst/gstutils.h:
28410         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28411         function. I am channeling Hades. Put your boots on suckers!!!
28412
28413 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28414
28415         * testsuite/caps/Makefile.am:
28416         * testsuite/caps/value_compare.c:
28417         * testsuite/caps/value_intersect.c:
28418         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28419           move two testsuite apps over to the check dir
28420
28421 2005-07-12  Wim Taymans  <wim@fluendo.com>
28422
28423         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28424         Added more debug info in the negotiate process.
28425
28426         * gst/gstmessage.h:
28427         Prepare for segment playback.
28428
28429         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28430         Better debugging.
28431
28432         * gst/gstutils.c:
28433         Some more docs.
28434
28435         * tools/gst-launch.c: (main):
28436         NULL pipeline on errors.
28437
28438 2005-07-12  Andy Wingo  <wingo@pobox.com>
28439
28440         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28441         not it comes from a malloc region. Make sure our copy gets freed.
28442
28443 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28444
28445         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28446         * check/gst/gstmessage.c: (GST_START_TEST):
28447         * check/gst/gststructure.c: (GST_START_TEST),
28448         (gst_structure_suite), (main):
28449           more testing
28450         * gst/gstelement.c: (gst_element_message_full):
28451           clean up GError and debug string now that they get copied
28452         * gst/gstmessage.c: (gst_message_new_error),
28453         (gst_message_new_warning), (gst_message_parse_error),
28454         (gst_message_parse_warning):
28455           use GST_TYPE_G_ERROR for structure_new, and take copies of
28456           arguments, so that we don't mess up refcounting
28457
28458 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28459
28460         * check/Makefile.am:
28461           add per-test valgrind targets
28462         * check/gst-libs/gdp.c: (GST_START_TEST),
28463         (gst_data_protocol_suite), (main):
28464           clean up
28465
28466 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28467
28468         * check/Makefile.am:
28469           instate more valgrindable tests
28470         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28471         (GST_START_TEST), (fakesrc_suite):
28472         * check/gst/gstpad.c: (GST_START_TEST):
28473         * check/gst/gststructure.c: (GST_START_TEST):
28474           fix test leaks
28475         * docs/gst/tmpl/gstminiobject.sgml:
28476         * gst/gstpad.c: (gst_pad_finalize):
28477           fix the static mutex leak
28478
28479 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28480
28481         * check/Makefile.am:
28482           add two more tests for valgrinding
28483         * check/gst/gstvalue.c: (GST_START_TEST):
28484           test refcount of deserialized buffer, found a leak
28485         * docs/gst/gstreamer-docs.sgml:
28486         * docs/gst/gstreamer-sections.txt:
28487         * docs/gst/gstreamer.types:
28488         * docs/gst/tmpl/gstminiobject.sgml:
28489           add miniobject to docs
28490         * gst/gstminiobject.c:
28491           add some docs
28492         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28493         (gst_string_unwrap):
28494           fix a hard-to-find invalid write for one of the tests
28495           fix a leak for deserialized buffers
28496
28497 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28498
28499         * docs/pwg/advanced-events.xml:
28500         * docs/pwg/advanced-request.xml:
28501         * docs/pwg/advanced-scheduling.xml:
28502         * docs/pwg/appendix-porting.xml:
28503         * docs/pwg/building-boiler.xml:
28504         * docs/pwg/intro-preface.xml:
28505         * docs/pwg/other-ntoone.xml:
28506           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28507           of example code and explanation for pad activation, loop() and
28508           getrange() functions and a bit more. Remove old comments pointing
28509           to loop-functions.
28510         * examples/pwg/Makefile.am:
28511           Add loop/getrange examples.
28512
28513 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28514
28515         * configure.ac:
28516           check for valgrind binary + some fixes
28517         * check/gst.supp:
28518           valgrind suppressions for the tests
28519         * check/Makefile.am:
28520           add a valgrind: target that valgrinds the unit tests
28521         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28522         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28523         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28524         * check/gst/gstghostpad.c:
28525           added some cleanup
28526         * check/gst/gstdata.c:
28527           removed
28528         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28529         (thread_unref), (gst_mini_object_suite), (main):
28530           added
28531         * gst/gst.c: (gst_deinit):
28532         * gst/gst.h:
28533           add a method to clean up.
28534         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28535         (gst_system_clock_obtain):
28536           allow for disposing the system clock.
28537         * tools/gst-launch.c: (main):
28538           deinit
28539
28540 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28541
28542         * docs/gst/tmpl/gstbasesrc.sgml:
28543         * docs/gst/tmpl/gstfakesrc.sgml:
28544         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28545         (gst_base_src_init), (gst_base_src_set_property),
28546         (gst_base_src_get_property), (gst_base_src_get_range),
28547         (gst_base_src_start):
28548         * gst/base/gstbasesrc.h:
28549           add num-buffers property
28550         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28551         (gst_fakesrc_init), (gst_fakesrc_set_property),
28552         (gst_fakesrc_get_property), (gst_fakesrc_create),
28553         (gst_fakesrc_start):
28554           remove num-buffers property
28555
28556 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28557
28558         * docs/gst/gstreamer-sections.txt:
28559         * docs/gst/tmpl/gstbasesink.sgml:
28560         * docs/gst/tmpl/gstbasesrc.sgml:
28561         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28562         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28563         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28564         (gst_base_sink_set_property), (gst_base_sink_get_property),
28565         (gst_base_sink_handle_object), (gst_base_sink_event),
28566         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28567         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28568         (gst_base_sink_loop), (gst_base_sink_deactivate),
28569         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28570         (gst_base_sink_change_state):
28571         * gst/base/gstbasesink.h:
28572         * gst/base/gstbasesrc.h:
28573         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28574         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28575         (gst_filesink_init):
28576           more macro splitting
28577
28578 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28579
28580         * gst/gstelement.c: (gst_element_get_bus):
28581           add debug
28582         * tools/gst-launch.c: (check_intr), (event_loop):
28583           fix bus leaks
28584
28585 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28586
28587         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28588           fix a caps leak
28589
28590 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28591
28592         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28593         (gst_base_src_finalize):
28594           add finalize method and clean up properly
28595         * gst/gstpipeline.c: (gst_pipeline_dispose):
28596           add debug
28597
28598 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28599
28600         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28601         (gst_bin_suite):
28602           add more things to check
28603         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28604         * gst/gstelement.c:
28605           more debug
28606
28607 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28608
28609         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28610         (GST_START_TEST), (fakesrc_suite):
28611         * check/gst-libs/gdp.c: (GST_START_TEST):
28612         * check/gst/gst.c: (GST_START_TEST):
28613         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28614         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28615         * check/gst/gstbus.c: (GST_START_TEST):
28616         * check/gst/gstcaps.c: (GST_START_TEST):
28617         * check/gst/gstdata.c: (GST_START_TEST):
28618         * check/gst/gstelement.c: (GST_START_TEST):
28619         * check/gst/gstghostpad.c: (GST_START_TEST):
28620         * check/gst/gstiterator.c: (GST_START_TEST):
28621         * check/gst/gstmessage.c: (GST_START_TEST):
28622         * check/gst/gstobject.c: (GST_START_TEST):
28623         * check/gst/gstpad.c: (GST_START_TEST):
28624         * check/gst/gststructure.c: (GST_START_TEST):
28625         * check/gst/gstsystemclock.c: (GST_START_TEST),
28626         (gst_systemclock_suite):
28627         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28628         * check/gst/gstvalue.c: (GST_START_TEST):
28629         * check/pipelines/cleanup.c: (GST_START_TEST):
28630         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28631         * check/states/sinks.c: (GST_START_TEST):
28632         * check/gstcheck.c: (gst_check_init):
28633         * check/gstcheck.h:
28634           add debugging category
28635           use GST_START_TEST now, so we add a debug line
28636
28637 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28638
28639         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28640           add test for state change message on a bin
28641         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28642           add another test
28643         * gst/gstbin.c: (gst_bin_init):
28644         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28645         * gst/gstelement.c: (gst_element_post_message),
28646         (gst_element_set_state):
28647         * gst/gstelementfactory.c: (gst_element_factory_create):
28648         * gst/gstmessage.c: (gst_message_new):
28649         * gst/gstscheduler.c:
28650           various debugging additions and cleanups
28651
28652 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28653
28654         * check/Makefile.am:
28655         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28656         (main):
28657           adding tests for elements
28658         * gst/gstelement.c: (gst_element_dispose):
28659
28660 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28661
28662         * gst/registries/gstlibxmlregistry.c: (load_feature):
28663           plug more leaks.  A simple gst_init() now is leakfree, yay.
28664
28665 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28666
28667         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28668         (gst_xml_registry_load):
28669           plug another memleak
28670
28671 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28672
28673         * configure.ac:
28674           use GST_SET_ERROR_CFLAGS
28675         * docs/faq/cvs.xml:
28676           change to ERROR_CFLAGS
28677
28678 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28679
28680         * configure.ac:
28681           make GST_ERROR_CFLAGS overridable and re-enable Werror
28682         * docs/faq/cvs.xml:
28683           add a note about error CFLAGS
28684         * docs/gst/tmpl/gstfakesrc.sgml:
28685         * gst/elements/gstfakesrc.c:
28686           comment out some unused code
28687         * gst/gst.c: (split_and_iterate):
28688         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28689         (load_feature):
28690           plug some memleaks
28691
28692 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28693
28694         * common/Makefile.am:
28695         * common/gtk-doc.mak:
28696         * docs/gst/Makefile.am:
28697           factor out gtk-doc.mak
28698
28699 2005-07-07  Wim Taymans  <wim@fluendo.com>
28700
28701         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28702         (gst_thread_scheduler_dispose):
28703         Unlock the STREAM_LOCK completely.
28704
28705 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28706
28707         * check/Makefile.am:
28708         * check/elements/.cvsignore:
28709         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28710         (START_TEST), (fakesrc_suite), (main):
28711         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28712         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28713         (gst_fakesrc_create), (gst_fakesrc_start):
28714         * gst/elements/gstfakesrc.h:
28715           adding a first element test
28716
28717 2005-07-07  Andy Wingo  <wingo@pobox.com>
28718
28719         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28720         debug message.
28721
28722 2005-07-07  Wim Taymans  <wim@fluendo.com>
28723
28724         * gst/gstquery.c:
28725         * gst/gstquery.h:
28726         Remove old types
28727
28728 2005-07-07  Wim Taymans  <wim@fluendo.com>
28729
28730         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28731         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28732         Allow subclasses to implement their own negotiation.
28733
28734 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28735
28736         * docs/design/part-gstbin.txt:
28737         * docs/design/part-gstpipeline.txt:
28738           Update design notes to reflect the movement of
28739           responsibility for bus handling from GstPipeline to
28740           GstBin
28741
28742 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28743
28744         * configure.ac:
28745           Remove unnecessary queue2/3/4 examples.
28746
28747 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28748
28749         * examples/Makefile.am:
28750         * examples/helloworld/helloworld.c: (event_loop), (main):
28751         * examples/queue/queue.c: (event_loop), (main):
28752         * examples/queue2/queue2.c: (main):
28753           Update a couple of the examples to work again.
28754
28755         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28756         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28757          Spelling corrections and extra debug.
28758         
28759         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28760         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28761         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28762         * gst/gstbin.h:
28763         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28764         (gst_pipeline_change_state):
28765         * gst/gstpipeline.h:
28766           Move the bus handler for children to the GstBin, and create a
28767           separate bus for receiving messages from children to the one the
28768           bus sends 'upwards' on.
28769
28770 2005-07-06  Wim Taymans  <wim@fluendo.com>
28771
28772         * gst/base/README:
28773         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28774         (gst_base_sink_handle_object), (gst_base_sink_loop),
28775         (gst_base_sink_change_state):
28776         * gst/base/gstbasesink.h:
28777         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28778         (gst_base_src_init), (gst_base_src_setcaps),
28779         (gst_base_src_getcaps), (gst_base_src_loop),
28780         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28781         (gst_base_src_start), (gst_base_src_change_state):
28782         * gst/base/gstbasesrc.h:
28783         Make basesrc negotiate.
28784         Handle the case where preroll fails in basesink.
28785         Update README.
28786
28787 2005-07-06  Wim Taymans  <wim@fluendo.com>
28788
28789         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28790         Implement the fixate function.
28791         Clean up acceptcaps.
28792
28793 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28794
28795         * docs/pwg/building-filterfactory.xml:
28796         * docs/pwg/pwg.xml:
28797           Remove never-written filter-factory chapter; I'll add the various
28798           base classes to part 4 ("other element types") later on.
28799
28800 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28801
28802         * docs/pwg/advanced-negotiation.xml:
28803         * docs/pwg/building-boiler.xml:
28804         * docs/pwg/building-pads.xml:
28805         * docs/pwg/pwg.xml:
28806         * examples/pwg/Makefile.am:
28807           Add a chapter on caps negotiation, simplify the original code
28808           samples a bit w.r.t. caps negotiation, add link to the advanced
28809           section. Add a bunch of examples showing different use cases of
28810           different types of caps negotiation. Upstream renegotiation isn't
28811           fully documented yet since nobody knows how that works.
28812
28813 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28814
28815         * check/gst/gstpad.c:
28816         * check/gstcheck.c:
28817         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28818           if pad has no parent, return NULL as list of internal links
28819
28820 2005-07-05  Andy Wingo  <wingo@pobox.com>
28821
28822         * gst/elements/gstfilesrc.c:
28823         * gst/elements/gstfakesrc.c: 
28824         * gst/base/gstpushsrc.c:
28825         * gst/base/gstbasesrc.h: 
28826         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28827         
28828 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28829
28830         * Makefile.am:
28831           better report generation target (lcov needs a patch)
28832
28833 2005-07-05  Andy Wingo  <wingo@pobox.com>
28834
28835         * gst/elements, testsuite: Null if we got it...
28836
28837 2005-07-05  Wim Taymans  <wim@fluendo.com>
28838
28839         * configure.ac:
28840         * libs/gst/dataprotocol/Makefile.am:
28841         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28842         * libs/gst/dataprotocol/dataprotocol.h:
28843         * pkgconfig/Makefile.am:
28844         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28845         * pkgconfig/gstreamer-dataprotocol.pc.in:
28846         Ported dataprotol to 0.9. 
28847         Added pkgconfig files.
28848
28849 2005-07-05  Andy Wingo  <wingo@pobox.com>
28850
28851         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28852         Default to returning TRUE for the case when tranform_caps returns
28853         a fixed caps, like for identity or volume.
28854
28855         * check/gst/gstbus.c (pound_bus_with_messages): 
28856         * check/gst/gstmessage.c (START_TEST): 
28857         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28858         message API change.
28859
28860         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28861         logic weaks here: always run transform_caps, trying passthrough
28862         operation only if the original caps intersects with the transform.
28863
28864         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28865         source and sink caps.
28866
28867         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28868         Intersect the peer caps with the pad template before going into
28869         transform_caps.
28870         (gst_base_transform_transform_caps): More debugging.
28871
28872         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28873         src argument.
28874
28875 2005-07-04  Edward Hervey  <edward@fluendo.com>
28876
28877         * gst/gstutils.c:
28878         * gst/gstutils.h:
28879         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28880         in bindings.
28881
28882 2005-07-04  Andy Wingo  <wingo@pobox.com>
28883
28884         * check/gst/gstpad.c: Only set explicit caps on pads.
28885
28886 2005-07-01  Andy Wingo  <wingo@pobox.com>
28887
28888         * tests/network-clock.scm: Commentary update.
28889
28890         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28891         Didn't really make sense, not implementable with basetransform,
28892         etc.
28893         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28894         attempt at implementing the sync property, needs an unlock method.
28895
28896         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28897         New func, by default returns the same caps (the identity
28898         transformation).
28899         (gst_base_transform_getcaps): Uses transform_caps to return
28900         something sensible.
28901         (gst_base_transform_setcaps): Complicated logic to get caps on
28902         both pads, even if they are different, and to call set_caps once
28903         for every time both pads get their caps set.
28904         (gst_base_transform_handle_buffer): Give the ref to the transform
28905         function. Allows in-place modification of the buffer.
28906
28907         * gst/base/gstbasetransform.h (transform_caps): New class method.
28908         Given caps on one side, what can I do on the other.
28909         (set_caps): Take two caps, one for each side of the element.
28910
28911         * gst/gstpad.h:
28912         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28913         caps in place. This is safe because we can check the mutability of
28914         the caps, and a good idea because fixate functions are just called
28915         as a matter of last resort. (Not actually implemented.)
28916         (gst_pad_set_caps): If the caps we're setting is actually the same
28917         as the existing pad caps, just update the pointer without calling
28918         setcaps. Assert that caps is either NULL or fixed, as per the
28919         docs.
28920
28921         * gst/gstghostpad.c: Update for fixate changes.
28922
28923 2005-07-02  Andy Wingo  <wingo@pobox.com>
28924
28925         * gst/gstcaps.c:
28926         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28927         two refcounts makes it immutable, which is enough. Doc more.
28928
28929 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28930
28931         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28932           Put the mini_object into GValue as a mini_object,
28933           not a gpointer, since that's how we declared
28934           the signal.
28935
28936 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28937
28938         * examples/pwg/Makefile.am:
28939           Fix buildbot again.
28940
28941 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28942
28943         * docs/pwg/building-testapp.xml:
28944           Add extra check.
28945         * examples/pwg/Makefile.am:
28946           Fix buildbot.
28947
28948 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28949
28950         * configure.ac:
28951         * examples/Makefile.am:
28952         * examples/pwg/Makefile.am:
28953         * examples/pwg/extract.pl:
28954           Enable building the PWG examples.
28955         * docs/pwg/advanced-interfaces.xml:
28956           Add URI interface stub.
28957         * docs/pwg/advanced-types.xml:
28958         * docs/pwg/other-autoplugger.xml:
28959         * docs/pwg/appendix-porting.xml:
28960         * docs/pwg/pwg.xml:
28961           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28962         * docs/pwg/building-boiler.xml:
28963         * docs/pwg/building-chainfn.xml:
28964         * docs/pwg/building-pads.xml:
28965         * docs/pwg/building-props.xml:
28966         * docs/pwg/building-state.xml:
28967         * docs/pwg/building-testapp.xml:
28968           Update the building-*.xml parts for 0.9 changes. All examples
28969           code blocks compile in examples/pwg/*.
28970
28971 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28972
28973         * docs/manual/advanced-autoplugging.xml:
28974         * docs/manual/appendix-checklist.xml:
28975         * docs/manual/appendix-integration.xml:
28976         * docs/manual/highlevel-components.xml:
28977           Fix playbin/decodebin examples, update docs a bit, mention bus
28978           instead of signals in various places, mention kmplayer and
28979           kaffeine since they have a working GStreamer backend in the KDE
28980           section.
28981
28982 2005-06-30  Wim Taymans  <wim@fluendo.com>
28983
28984         * CHANGES-0.9:
28985         * docs/design/draft-ghostpads.txt:
28986         * docs/design/draft-push-pull.txt:
28987         * docs/design/draft-query.txt:
28988         * docs/design/part-TODO.txt:
28989         * docs/design/part-query.txt:
28990         Added CHANGES-0.9 doc, updated status of other docs.
28991         
28992         * gst/gstquery.h:
28993         Remove "hmm" macro
28994
28995 2005-06-30  Wim Taymans  <wim@fluendo.com>
28996
28997         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28998         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28999         (gst_base_sink_change_state):
29000         * gst/base/gstbasesink.h:
29001         Some tweaks, only EOS and a buffer complete a preroll.
29002
29003 2005-06-30  Andy Wingo  <wingo@pobox.com>
29004
29005         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29006         activate_push down to the internal pad as well.
29007
29008 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29009
29010         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29011
29012         * gst/gsttaginterface.c:
29013           Some documentation fixes (#307394 and #307397).
29014
29015 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29016
29017         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29018
29019         * gst/gstvalue.c: (gst_value_intersect_list):
29020           Fix memleak (#309125).
29021
29022 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29023
29024         * docs/manual/advanced-dataaccess.xml:
29025           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29026         * docs/manual/basics-pads.xml:
29027           Add reference for filtered caps to above chapter.
29028
29029 2005-06-30  Wim Taymans  <wim@fluendo.com>
29030
29031         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29032         (gst_bin_change_state):
29033         Probes are gone.
29034         Lame attempt at making the state change function a bit
29035         more readable.
29036
29037 2005-06-30  Wim Taymans  <wim@fluendo.com>
29038
29039         * docs/design/part-clocks.txt:
29040         * docs/design/part-element-sink.txt:
29041         * docs/design/part-events.txt:
29042         * docs/design/part-preroll.txt:
29043         * docs/design/part-states.txt:
29044         Some more tweeks and additions to the docs.
29045
29046 2005-06-30  Wim Taymans  <wim@fluendo.com>
29047
29048         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29049         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29050         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29051         (gst_pad_check_pull_range), (gst_pad_get_range),
29052         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29053         * gst/gstpad.h:
29054         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29055         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29056         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29057         (gst_pad_remove_buffer_probe):
29058         Removed atomic operations, use existing LOCK.
29059         Move exception handling out of main code path.
29060
29061 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29062
29063         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29064         (silly_return_true_function), (gst_pad_class_init),
29065         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29066         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29067         (gst_pad_send_event):
29068           Fix accumulator, add default value by using _emitv() instead
29069           of _emit() for signal emission.
29070
29071 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29072
29073         * docs/manual/advanced-dataaccess.xml:
29074         * examples/manual/Makefile.am:
29075           Add probe example.
29076         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29077           Make work (??).
29078
29079 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29080
29081         * gst/elements/gstfilesink.c: (gst_filesink_render):
29082           Simplify code so that we don't have to handle short
29083           writes and return GST_FLOW_ERROR if an error occured.
29084
29085 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29086
29087         * docs/gst/gstreamer-docs.sgml:
29088           Remove probes more.
29089
29090 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29091
29092         * docs/gst/gstreamer-sections.txt:
29093         * docs/gst/tmpl/gstpad.sgml:
29094         * docs/gst/tmpl/gstprobe.sgml:
29095         * gst/Makefile.am:
29096         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29097         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29098         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29099         (gst_pad_push_event), (gst_pad_send_event):
29100         * gst/gstpad.h:
29101         * gst/gstutils.c: (gst_pad_add_data_probe),
29102         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29103         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29104         (gst_pad_remove_buffer_probe):
29105         * gst/gstutils.h:
29106           Remove old probes, add new g-signal-based probes and some utility
29107           functions.
29108
29109 2005-06-29  Edward Hervey  <edward@fluendo.com>
29110
29111         * gst/gstelementfactory.c:
29112         * gst/gstutils.h:
29113         * gst/gstutils.c:
29114         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29115         the definition to the header file.
29116
29117 2005-06-29  Andy Wingo  <wingo@pobox.com>
29118
29119         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29120         plugins from the source directory.
29121
29122 2005-06-29  Wim Taymans  <wim@fluendo.com>
29123
29124         * docs/gst/tmpl/gstbuffer.sgml:
29125         * docs/gst/tmpl/gstclock.sgml:
29126         Some fixings for blantently wrong text.
29127
29128 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29129
29130         * check/Makefile.am:
29131         * gst/gst.c: (add_path_func), (init_pre):
29132         * gst/gstregistry.c: (gst_registry_add_path):
29133           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29134           only scan the GST_PLUGIN_PATH locations, and not add
29135           system locations
29136
29137 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29138
29139         * docs/gst/gstreamer-sections.txt:
29140         * docs/gst/tmpl/gstbasesrc.sgml:
29141         * gst/gstelement.c:
29142         * gst/gstelement.h:
29143         * gst/gstevent.c:
29144         * gst/gstutils.c:
29145           doc fixes
29146
29147 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29148
29149         * docs/manual/advanced-autoplugging.xml:
29150           Fix autoplugging example.
29151
29152 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29153
29154         * docs/manual/advanced-autoplugging.xml:
29155         * docs/manual/mime-world.fig:
29156           Try to get autoplugging working, fix type detection. Fix text
29157           in hello-world image.
29158
29159 2005-06-29  Wim Taymans  <wim@fluendo.com>
29160
29161         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29162         (gst_base_sink_change_state):
29163         Small debug line.
29164
29165         * gst/gstclock.h:
29166         map SIGNAL and BROADCAST to the right function.
29167
29168         * gst/gstobject.h:
29169         Remove redundant braces.
29170
29171         * gst/gstpad.c: (gst_pad_set_caps):
29172         Don't call setcaps function when reseting caps to NULL.
29173
29174         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29175         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29176         (gst_system_clock_id_unschedule):
29177         Use BROADCAST as this is what we do.
29178
29179 2005-06-29  Wim Taymans  <wim@fluendo.com>
29180
29181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29182         We are actually prerolling before commiting the state
29183         change. 
29184
29185 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29186
29187         * docs/manual/advanced-clocks.xml:
29188         * docs/manual/advanced-interfaces.xml:
29189         * docs/manual/advanced-metadata.xml:
29190         * docs/manual/advanced-position.xml:
29191         * docs/manual/advanced-schedulers.xml:
29192         * docs/manual/advanced-threads.xml:
29193         * docs/manual/appendix-porting.xml:
29194         * docs/manual/basics-bins.xml:
29195         * docs/manual/basics-bus.xml:
29196         * docs/manual/basics-elements.xml:
29197         * docs/manual/basics-helloworld.xml:
29198         * docs/manual/basics-pads.xml:
29199         * docs/manual/highlevel-components.xml:
29200         * docs/manual/manual.xml:
29201         * docs/manual/thread.fig:
29202           Update (until threads/scheduling) Application Development Manual;
29203           remove GstThread, add GstBus, add simple porting checklist, add
29204           documentation for tag writing, clocks, make all examples until this
29205           part compile and run.
29206         * examples/manual/Makefile.am:
29207           Update from changes to Application Development Manual; add bus
29208           example, remove thread example.
29209
29210 2005-06-28  Wim Taymans  <wim@fluendo.com>
29211
29212         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29213         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29214         (gst_bus_source_dispatch):
29215         Add debugging messages.
29216         Make internal methods static.
29217         Handle the case where the bus is flushed in the handler.
29218         
29219         * gst/gstelement.c: (gst_element_get_bus):
29220         Fix refcount in _get_bus();
29221
29222         * gst/gstpipeline.c: (gst_pipeline_change_state),
29223         (gst_pipeline_get_clock_func):
29224         Clock refcounting fixes.
29225         Handle the case where preroll timed out more gracefully.
29226         
29227         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29228         Clean up the internal thread in dispose. This is needed
29229         for subclasses that actually get disposed.
29230         
29231         * gst/schedulers/threadscheduler.c:
29232         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29233         (gst_thread_scheduler_dispose):
29234         Free thread pool in dispose.
29235
29236 2005-06-28  Andy Wingo  <wingo@pobox.com>
29237
29238         * tests/network-clock-utils.scm (debug, print-event): New utils.
29239
29240         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29241         (*packet-loss*): Unified loss probability.
29242         (network-time): Report out-of-band events.
29243
29244         * tests/plot-data: Add support for out-of-band events. Hack it
29245         into this script instead of passing it down the pipe; should fix
29246         this later.
29247
29248 2005-06-28  Wim Taymans  <wim@fluendo.com>
29249
29250         * docs/gst/gstreamer.types:
29251         * docs/gst/tmpl/gstbasesrc.sgml:
29252         * docs/gst/tmpl/gstpad.sgml:
29253         Docs fixes.
29254
29255 2005-06-28  Wim Taymans  <wim@fluendo.com>
29256
29257         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29258         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29259         (gst_proxy_pad_do_fixatecaps):
29260         Correctly proxy the check_pull_range function.
29261
29262 2005-06-28  Andy Wingo  <wingo@pobox.com>
29263
29264         * tests/network-clock.scm: Removed need for slib.
29265         
29266 2005-06-28  Wim Taymans  <wim@fluendo.com>
29267
29268         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29269         (gst_basesink_preroll_queue_flush):
29270         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29271         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29272         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29273         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29274         (gst_proxy_pad_set_property):
29275         * gst/gstpad.c:
29276         * gst/gstpad.h:
29277         * gst/gstqueue.c: (gst_queue_init):
29278         The deprecated pad loop function is removed now.
29279
29280 2005-06-28  Andy Wingo  <wingo@pobox.com>
29281
29282         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29283         New parameters, simulate network packet loss.
29284
29285         * tests/network-clock-utils.scm: Initialize the RNG.
29286
29287 2005-06-28  Wim Taymans  <wim@fluendo.com>
29288
29289         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29290         (gst_basesink_event), (gst_basesink_deactivate):
29291         Flushing the preroll queue always needs to unlock the waiters.
29292
29293 2005-06-28  Edward Hervey  <edward@fluendo.com>
29294
29295         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29296         Wheen a seek was successful on a pipeline, set the stream_time to the
29297         seek offset in order to have a synchronized stream_time.
29298
29299 2005-06-28  Wim Taymans  <wim@fluendo.com>
29300
29301         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29302         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29303         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29304         (gst_proxy_pad_do_fixatecaps):
29305         Call wrapper function instead of just calling the function
29306         pointers. This takes care of any locking and whatmore.
29307
29308 2005-06-28  Wim Taymans  <wim@fluendo.com>
29309
29310         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29311         (gst_pad_pull_range):
29312         * gst/gstpad.h:
29313         CONNECTED -> LINKED.
29314
29315 2005-06-28  Andy Wingo  <wingo@pobox.com>
29316
29317         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29318         source-munging commit!!!
29319
29320         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29321         (gst_object_sink): Take gpointer arguments, not GstObject --
29322         avoids casts. Like GLib.
29323
29324         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29325         activate.
29326
29327 2005-06-27  Andy Wingo  <wingo@pobox.com>
29328
29329         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29330         remaining buffer.
29331
29332         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29333         returns a sorted copy of the trace list.
29334         (gst_alloc_trace_print_live): New API, only prints traces with
29335         live objects. Sort the list.
29336         (gst_alloc_trace_print_all): Sort the list.
29337         (gst_alloc_trace_print): Align columns.
29338
29339         * gst/elements/gstttypefindelement.c:
29340         * gst/elements/gsttee.c:
29341         * gst/base/gstbasesrc.c:
29342         * gst/base/gstbasesink.c:
29343         * gst/base/gstbasetransform.c:
29344         * gst/gstqueue.c: Adapt for pad activation changes.
29345
29346         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29347         sched.
29348         (gst_pipeline_dispose): Drop ref on sched.
29349
29350         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29351         (gst_pad_activate_default): Push mode by default.
29352         (pre_activate_switch, post_activate_switch): New stubs, things to
29353         do before and after switching activation modes on pads.
29354         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29355         the pad's activate function to choose which mode to activate.
29356         Shortcut on deactivation and call the right function directly.
29357         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29358         mode.
29359         (gst_pad_activate_push): New API, same for push mode.
29360         (gst_pad_set_activate_function) 
29361         (gst_pad_set_activatepull_function) 
29362         (gst_pad_set_activatepush_function): Setters for new API.
29363
29364         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29365         Trace all miniobjects.
29366         (gst_mini_object_make_writable): Unref the arg if we copy, like
29367         gst_caps_make_writable.
29368
29369         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29370
29371         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29372         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29373         Adapt for new pad API.
29374
29375         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29376
29377         * gst/gstelement.h:
29378         * gst/gstelement.c (gst_element_iterate_src_pads) 
29379         (gst_element_iterate_sink_pads): New API functions.
29380         
29381         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29382         should fold into gstiterator.c in some form.
29383         (gst_element_pads_activate): Simplified via use of fold and
29384         delegation of decisions to gstpad->activate.
29385
29386         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29387         help in debugging.
29388
29389         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29390         class once in init, like gstmessage. Didn't run into this issue
29391         but it seems correct. Don't initialize a trace, gstminiobject does
29392         that.
29393
29394         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29395         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29396         to the bus.
29397         (assert_live_count): New util function, uses alloc traces to check
29398         cleanup.
29399
29400         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29401         To be modified when unlink drops the internal pad.
29402
29403 2005-06-27  Wim Taymans  <wim@fluendo.com>
29404
29405         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29406         (gst_bin_change_state):
29407         Cleanup the get_state() function a little, make sure it
29408         iterates the same set of elements.
29409         Added stub iterate_state_order().
29410
29411 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29412
29413         * docs/gst/gstreamer-docs.sgml:
29414         * docs/gst/gstreamer-sections.txt:
29415         * docs/gst/gstreamer.types:
29416         * docs/gst/tmpl/gstbasesink.sgml:
29417         * docs/gst/tmpl/gstbasesrc.sgml:
29418         * docs/gst/tmpl/gstbasetransform.sgml:
29419         * docs/gst/tmpl/gstelement.sgml:
29420         * docs/gst/tmpl/gstiterator.sgml:
29421         * gst/base/gstbasesrc.c:
29422         * gst/base/gstbasesrc.h:
29423         * gst/base/gstbasetransform.h:
29424         * gst/gstelement.c:
29425         * gst/gstiterator.h:
29426           adding basetransform and iterator docs
29427
29428 2005-06-27  Andy Wingo  <wingo@pobox.com>
29429
29430         * docs/design/part-activation.txt: Notes on how activation should
29431         work -- not quite implemented yet.
29432
29433 2005-06-25  Wim Taymans  <wim@fluendo.com>
29434
29435         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29436         At least get the chain function correct, needs more
29437         fixing.
29438
29439 2005-06-25  Wim Taymans  <wim@fluendo.com>
29440
29441         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29442         (gst_basesink_handle_object), (gst_basesink_event),
29443         (gst_basesink_do_sync), (gst_basesink_handle_event),
29444         (gst_basesink_change_state):
29445         * gst/gsttask.h:
29446         Right, two problems here: ghostpads don't take locks and
29447         glib _rec_mutex_lock_full() with depth==0 still locks.
29448         Catch illegal locking and g_warn them.
29449
29450 2005-06-25  Wim Taymans  <wim@fluendo.com>
29451
29452         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29453         Have to check for completion now...
29454
29455 2005-06-25  Wim Taymans  <wim@fluendo.com>
29456
29457         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29458         (gst_basesink_handle_object), (gst_basesink_event),
29459         (gst_basesink_do_sync), (gst_basesink_handle_event),
29460         (gst_basesink_change_state):
29461         * gst/gstpad.h:
29462         Unlock STREAM_LOCK whatever the recursion was.
29463
29464 2005-06-25  Wim Taymans  <wim@fluendo.com>
29465
29466         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29467         (gst_basesink_preroll_queue_empty),
29468         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29469         (gst_basesink_event), (gst_basesink_do_sync),
29470         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29471         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29472         (gst_basesink_change_state):
29473         Reworked the base sink, handle event and buffer serialisation
29474         correctly and removed possible deadlock.
29475         Handle EOS correctly.
29476
29477 2005-06-25  Wim Taymans  <wim@fluendo.com>
29478
29479         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29480         (gst_pipeline_change_state):
29481         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29482         Allow elements to post EOS in the state change function.
29483         Fix up -launch, make it exit the poll loop when the
29484         pipeline actually changed state.
29485         Fix up warning parsing in -launch.
29486
29487 2005-06-25  Wim Taymans  <wim@fluendo.com>
29488
29489         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29490         (gst_tee_sink_activate):
29491         Core takes STREAM_LOCK for us now.
29492
29493 2005-06-25  Wim Taymans  <wim@fluendo.com>
29494
29495         * gst/gstelement.c: (gst_element_get_state_func),
29496         (gst_element_set_state):
29497         * gst/gstelement.h:
29498         * gst/gstmessage.c: (gst_message_parse_error),
29499         (gst_message_parse_warning):
29500         Keep track of current target state while performing a state
29501         change so that subclasses can do something interesting.
29502         Fix parsing of warning/error messages when GError is NULL.
29503
29504 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29505
29506         * docs/gst/Makefile.am:
29507         * docs/gst/gstreamer-docs.sgml:
29508         * docs/gst/gstreamer-sections.txt:
29509         * docs/gst/gstreamer.types:
29510         * docs/gst/tmpl/gstbasesink.sgml:
29511         * docs/gst/tmpl/gstbasesrc.sgml:
29512         * docs/gst/tmpl/gstbin.sgml:
29513         * docs/gst/tmpl/gstcompat.sgml:
29514         * docs/gst/tmpl/gstfakesink.sgml:
29515         * docs/gst/tmpl/gstfakesrc.sgml:
29516         * docs/gst/tmpl/gstfilesink.sgml:
29517         * docs/gst/tmpl/gstfilesrc.sgml:
29518         * docs/gst/tmpl/gstindex.sgml:
29519         * docs/manual/appendix-quotes.xml:
29520         * gst/base/gstbasesrc.h:
29521         * gst/elements/gstfakesrc.h:
29522         * gst/gstmessage.h:
29523           start pulling in base classes and elements in our docs
29524
29525 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29526
29527         * docs/gst/Makefile.am:
29528         * docs/libs/Makefile.am:
29529           fixed make distcheck with gtk-doc 1.3
29530
29531 2005-06-23  Wim Taymans  <wim@fluendo.com>
29532
29533         * gst/gstelement.c: (gst_element_get_state_func),
29534         (gst_element_set_state), (gst_element_change_state):
29535         When the state did not change, also report NO_PREROLL
29536         when it matters.
29537
29538 2005-06-23  Wim Taymans  <wim@fluendo.com>
29539
29540         * gst/gstpad.c: (gst_pad_event_default):
29541         * gst/gstqueue.c: (gst_queue_loop):
29542         No unsafe task pausing please.
29543
29544 2005-06-23  Wim Taymans  <wim@fluendo.com>
29545
29546         * gst/schedulers/threadscheduler.c:
29547         (gst_thread_scheduler_task_start),
29548         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29549         Ref the task before pushing it on the threadpool. This
29550         makes sure that we have a ref when the threadfunction is
29551         actually called.
29552
29553 2005-06-23  Andy Wingo  <wingo@pobox.com>
29554
29555         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29556         offset is greater than the file's size.
29557
29558         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29559         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29560         * gst/gstobject.c (gst_object_class_init): Make the class lock
29561         recursive. Wim won't let me drop deep_notify. Decodebin works
29562         again, whoopdy doo.
29563
29564         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29565         internal pad, and hacks accordingly. Doesn't do it on the target
29566         pad because we change its caps. Probably catches all cases of
29567         interest tho.
29568         (gst_ghost_pad_set_property): Connect to notify::caps as
29569         appropritate.
29570
29571         * tests/network-clock.scm (plot-simulation): Pipe data to the
29572         elite python skript.
29573
29574         * tests/network-clock-utils.scm (define-parameter): New macro,
29575         defines a parameter that can be set via the command line.
29576         (set-parameter!, parse-parameter-arguments): Command line args
29577         parser.
29578
29579         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29580         stdin.
29581
29582 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29583
29584         * gst/elements/gsttypefindelement.c:
29585         (gst_type_find_element_handle_event):
29586           Don't restart typefinding on a discont.
29587         * gst/gstelement.c: (gst_element_set_state):
29588           Debug spelling fix.
29589         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29590           Allow changing mode of an active pad.
29591           Debug output fixes.
29592         * gst/registries/gstlibxmlregistry.c: (load_feature):
29593           Don't cast a static pad template to a normal pad template.
29594
29595 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29596
29597         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29598         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29599           remove gst_strtoll completely, since it didn't actually do
29600           anything more than what g_ascii_strtoull already does.
29601           check for range errors when deserializing
29602           do a cast for the unsigned cases; but further fixing needs
29603           a decision on what the interpretation of "(int)" and
29604           deserialization should be for values that fall outside the
29605           type's boundaries (ie, refuse, or interpret as casting)
29606
29607 2005-06-23  Wim Taymans  <wim@fluendo.com>
29608
29609         * check/Makefile.am:
29610         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29611         * docs/design/part-live-source.txt:
29612         * docs/design/part-states.txt:
29613         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29614         (gst_basesrc_set_live), (gst_basesrc_is_live),
29615         (gst_basesrc_get_range), (gst_basesrc_activate),
29616         (gst_basesrc_change_state):
29617         * gst/base/gstbasesrc.h:
29618         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29619         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29620         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29621         * gst/gstelement.c: (gst_element_get_state_func),
29622         (gst_element_set_state):
29623         * gst/gstelement.h:
29624         * gst/gsttypes.h:
29625         * tools/gst-launch.c: (event_loop), (main):
29626         Added support for live sources and other elements that
29627         cannot do preroll.
29628         Updated design docs, added live-source design doc.
29629         Implemented live source functionality in basesrc
29630         Fix error condition in _bin_get_state()
29631         Implement live source handling in -launch.
29632         Added check for live sources.
29633         Fixed case in GstBin where elements were changed state
29634         multiple times.
29635
29636
29637 2005-06-23  Andy Wingo  <wingo@pobox.com>
29638
29639         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29640         borken refcounting.
29641
29642         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29643         gst_caps_replace takes care of this for us.
29644
29645         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29646         gst_pad_set_caps on the target, not just its setcaps() function.
29647
29648         * tests/network-clock.scm: 
29649         * tests/network-clock-utils.scm: A network clock simulator.
29650         Something of an algorithmic testbed before doing something in C.
29651
29652 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29653
29654         * check/Makefile.am:
29655         * check/gst/capslist.h:
29656           copy over from 0.8, and add two with bitmasks specified with
29657           (int) 0xFF...
29658         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29659           add test to parse everything from capslist.h
29660         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29661         (main):
29662           add test for structure deserialization
29663         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29664           add tests for deserialization of strings to int types
29665         * gst/gststructure.c: (gst_structure_nth_field_name):
29666         * gst/gststructure.h:
29667           add a way to get the name of a field referenced by index
29668         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29669           instead of checking if the resulting long long lies between
29670           min and max, we check if the long long would fit into
29671           a number of bytes for the final type.
29672           This fixes cases where a string represents 2^32 - 1, which
29673           when cast to int would be the (valid) -1, but is bigger than
29674           G_MAXINT
29675
29676 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29677
29678         * gst/parse/grammar.y:
29679           add a log line for type deserialization
29680
29681 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29682
29683         * check/gst/gstvalue.c: (START_TEST):
29684         * gst/gstvalue.c: (gst_value_deserialize):
29685           return long long, not int, so gint64 deserialization actually
29686           works.  Is there any flag that makes the compiler check this ?
29687           Fixes #308559
29688
29689 2005-06-22  Wim Taymans  <wim@fluendo.com>
29690
29691         * gst/gstbuffer.h:
29692         Added convenience macros for setting buffers in GValue.
29693
29694 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29695
29696         * check/gst/.cvsignore:
29697         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29698           add a test deserializing int64, and comment part out because
29699           it fails, yay !
29700
29701 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29702
29703         * check/Makefile.am:
29704         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29705         * testsuite/Makefile.am:
29706         * testsuite/caps/Makefile.am:
29707         * testsuite/caps/value_serialize.c:
29708         * testsuite/test_gst_init.c:
29709           move a value_serialize test over
29710
29711 2005-06-20  Wim Taymans  <wim@fluendo.com>
29712
29713         * gst/gstpad.c:
29714         Small doc updates.
29715         
29716         * gst/gstvalue.c: (gst_value_compare_buffer),
29717         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29718         (gst_value_compare_flags), (gst_value_serialize_flags),
29719         (gst_value_deserialize_flags), (_gst_value_initialize):
29720         Fix serialisation of buffers, they are not boxed types anymore
29721
29722 2005-06-20  Wim Taymans  <wim@fluendo.com>
29723
29724         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29725         Testcase to show error in buffer-on-caps serialisation.
29726
29727 2005-06-20  Andy Wingo  <wingo@pobox.com>
29728
29729         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29730         will be adding to later.
29731
29732         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29733         if its socks fill with rocks.
29734         (gst_system_clock_obtain): Set the name on object construction.
29735         Avoid double-checked locking.
29736
29737 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29738
29739         * gst/gsturi.c: (gst_element_make_from_uri):
29740           Fix potential endless loop.
29741
29742 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29743
29744         * check/Makefile.am:
29745           add gsttag
29746         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29747         (main):
29748           move over from testsuite dir and clean up
29749         * configure.ac:
29750         * gst/gsttag.c:
29751         * testsuite/Makefile.am:
29752         * testsuite/tags/.cvsignore:
29753         * testsuite/tags/Makefile.am:
29754         * testsuite/tags/merge.c:
29755           remove testsuite/tags
29756
29757 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29758
29759         * docs/gst/gstreamer-sections.txt:
29760         * docs/gst/tmpl/gstenumtypes.sgml:
29761         * win32/gstenumtypes.c:
29762           clean up documentation build a little
29763
29764 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29765
29766         * check/gstcheck.h:
29767           add macros for checking refcounts on objects and caps
29768         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29769           add some more unit tests
29770         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29771         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29772           fix leaked refcounts (I hope :)) so unittest works
29773         * gst/gstpad.h:
29774           whitespace removal
29775
29776 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29777
29778         * configure.ac: back to HEAD
29779
29780 === release 0.9.1 ===
29781
29782 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29783
29784         * NEWS:
29785         * RELEASE:
29786           updated
29787
29788 2005-06-17  Andy Wingo  <wingo@pobox.com>
29789
29790         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29791         assert; it's always possible that the pad gets deactivated in
29792         between the checks in gstpad.c and the implementation. Rely on
29793         finish_preroll() to return a FLUSHING or similar instead of on the
29794         assert.
29795         
29796         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29797         clock and post an EOS message if we come out of finish_preroll in
29798         the playing state.
29799
29800 2005-06-16  David Schleef  <ds@schleef.org>
29801
29802         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29803         (gst_capsfilter_set_property): Allow NULL as possible value
29804         for filter_caps property, indicating GST_CAPS_ANY.
29805
29806 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29807
29808         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29809           fix debug output
29810         * gst/schedulers/Makefile.am:
29811           use libgst prefix
29812         * gstreamer.spec.in:
29813           fix spec for it
29814
29815 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29816
29817         * gstreamer.spec.in:
29818           clean up
29819
29820 2005-06-08  Andy Wingo  <wingo@pobox.com>
29821
29822         * gst/gstutils.c: RPAD fixes all around.
29823         (gst_element_link_pads): Refcounting fixes.
29824
29825         * tools/gst-inspect.c:
29826         * tools/gst-xmlinspect.c:
29827         * parse/grammar.y:
29828         * gst/base/gsttypefindhelper.c:
29829         * gst/base/gstbasesink.c:
29830         * gst/gstqueue.c: RPAD fixes.
29831
29832         * gst/gstghostpad.h:
29833         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29834         pads. The tricky thing is they provide both source and sink
29835         interfaces, since they proxy the internal pad for the external
29836         pad, and vice versa. Implement with lower-level ProxyPad objects,
29837         with the interior proxy pad as a child of the exterior ghost pad.
29838         Should write a doc on this.
29839         
29840         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29841         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29842         gst_object API.
29843         
29844         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29845         pads are real pads. No ghost pads in this file. Not documenting
29846         the myriad s/RPAD/PAD/ and REALIZE fixes.
29847         (gst_pad_class_init): Add properties for "direction" and
29848         "template". Both are construct-only, so they can't change during
29849         the life of the pad. Fixes properly deriving from GstPad.
29850         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29851         derived objects, just set properties when creating the objects via
29852         g_object_new.
29853         (gst_pad_get_parent): Implement as a function, return NULL if the
29854         parent is not an element.
29855         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29856         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29857         
29858         * gst/gstobject.c (gst_object_class_init): Make name a construct
29859         property. Don't set it in the object init.
29860
29861         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29862         with UNKNOWN direction.
29863         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29864         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29865         (gst_element_remove_pad): Remove ghost-pad special cases.
29866         (gst_element_pads_activate): Remove rpad cruft.
29867
29868         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29869         catch the pad's-parent-not-an-element case.
29870
29871         * gst/gst.h: Include gstghostpad.h.
29872
29873         * gst/gst.c (init_post): No more real, ghost pads.
29874
29875         * gst/Makefile.am: Add gstghostpad.[ch].
29876
29877         * check/Makefile.am:
29878         * check/gst/gstbin.c:
29879         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29880         into a bin creates ghost pads, and that the refcounts are right.
29881         Partly moved from gstbin.c.
29882
29883 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29884
29885         * check/gst-libs/.cvsignore:
29886         * check/gst/.cvsignore:
29887         * check/pipelines/.cvsignore:
29888           ignore more
29889         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29890         (START_TEST), (cleanup_suite), (main):
29891           add some tests related to cleanup after running pipelines
29892
29893 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29894
29895         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29896           add a testsuite for GstBuffer
29897
29898 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29899
29900         * gst/gstminiobject.h:
29901           add defines for accessing the refcount
29902
29903 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29904
29905         * Makefile.am: added support for html unit test coverage reports
29906
29907 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29908
29909         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29910           Free existing caps if the capsfilter changes. Add a FIXME about
29911           setting those caps on the pads.
29912
29913         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29914           Before adding a ghost pad to a parent bin, check that there isn't
29915           already one for the element on the bin. Prevents infinite recursion
29916           when using decodebin in parse pipelines. Andy says he'll rewrite the
29917           way this works anyway, so ignore the hack.
29918
29919 2005-06-02  Andy Wingo  <wingo@pobox.com>
29920
29921         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29922         file size, pass it on to the type find helper.
29923
29924         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29925         segment_start and segment_end properly according to the seek
29926         method. Segment_end is still a bit flaky because offset can be
29927         negative for CUR and END cases, but it takes -1 as an "unset"
29928         value.
29929
29930 2005-06-02  Wim Taymans  <wim@fluendo.com>
29931
29932         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29933         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29934         (gst_basesink_activate):
29935         * gst/base/gstbasesink.h:
29936         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29937         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29938         (gst_pad_query), (gst_pad_start_task):
29939         * gst/gstpad.h:
29940         * gst/gstqueue.c: (gst_queue_bufferalloc),
29941         (gst_queue_handle_sink_event), (gst_queue_chain):
29942         Bufferalloc: return GstFlowReturn to more accuratly report
29943         why allocation failed.
29944
29945 2005-06-02  Wim Taymans  <wim@fluendo.com>
29946
29947         * gst/gstpipeline.c: (gst_pipeline_send_event):
29948         Take snapshot of state without blocking.
29949
29950 2005-06-02  Wim Taymans  <wim@fluendo.com>
29951
29952         * docs/design/part-TODO.txt:
29953         * docs/design/part-caps.txt:
29954         * docs/design/part-clocks.txt:
29955         * docs/design/part-negotiation.txt:
29956         * docs/design/part-preroll.txt:
29957         Small doc updates 
29958
29959 2005-05-30  Wim Taymans  <wim@fluendo.com>
29960
29961         * gst/elements/gstidentity.c: (gst_identity_event),
29962         (gst_identity_transform), (gst_identity_get_property):
29963         Protect last_message property as it is accessed from
29964         multiple threads.
29965
29966 2005-05-30  Wim Taymans  <wim@fluendo.com>
29967
29968         * gst/gstelement.c: (gst_element_init),
29969         (gst_element_pads_activate), (gst_element_change_state):
29970         Slicker pad activation code.
29971
29972 2005-05-30  Wim Taymans  <wim@fluendo.com>
29973
29974         * gst/Makefile.am:
29975         * gst/gstelement.h:
29976         * gst/gstelementfactory.h:
29977         * gst/gsttypes.h:
29978         Move elementfactory methods to separate .h file.
29979
29980 2005-05-30  Wim Taymans  <wim@fluendo.com>
29981
29982         * docs/design/part-overview.txt:
29983         * gst/gstsystemclock.h:
29984         Small typo fixes, doc updates.
29985
29986 2005-05-30  Wim Taymans  <wim@fluendo.com>
29987
29988         * gst/gst.c: (gst_init_get_popt_table), (init_post),
29989         (init_popt_callback):
29990         Remove cpu-opt flag.
29991
29992 2005-05-30  Wim Taymans  <wim@fluendo.com>
29993
29994         * gst/gstbuffer.c: (gst_subbuffer_finalize),
29995         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
29996         * gst/gstbuffer.h:
29997         Avoid typechecking in places where not needed.
29998         Added accessor for malloc_data.
29999
30000 2005-05-30  Wim Taymans  <wim@fluendo.com>
30001
30002         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30003         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30004         (gst_pad_configure_sink), (gst_pad_configure_src),
30005         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30006         (gst_pad_start_task):
30007         Propagate errors from _set_caps() in configure_src/sink
30008         functions instead of returning TRUE.
30009         FLUSH events can travel up and downstream
30010
30011
30012 2005-05-30  Wim Taymans  <wim@fluendo.com>
30013
30014         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30015         (gst_basesink_activate):
30016         Handle EOS in preroll.
30017
30018 2005-05-30  Wim Taymans  <wim@fluendo.com>
30019
30020         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30021         (gst_queue_loop), (gst_queue_handle_src_event):
30022         Remove old pieces of code
30023         Flushing the queue in an upstream event is a very bad idea.
30024
30025 2005-05-26  Andy Wingo  <wingo@pobox.com>
30026
30027         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30028         gst_value_set_mini_object so as to add a ref on the object (which
30029         will be removed when the value is unset).
30030
30031         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30032         arg type in ::handoff.
30033
30034         * gst/gstelement.c (gst_element_change_state): Also deactivate
30035         pads in READY->NULL, just in case the element didn't make it to
30036         PAUSED. Wingo tested, Wim approved.
30037
30038 2005-05-26  Wim Taymans  <wim@fluendo.com>
30039
30040         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30041         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30042         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30043         A flushing pad cannot be used to alloc_buffer from.
30044
30045 2005-05-26  Wim Taymans  <wim@fluendo.com>
30046
30047         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30048         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30049         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30050         (gst_bus_create_watch), (gst_bus_add_watch_full):
30051         * gst/gstbus.h:
30052         Implement a real GSource and use g_main_context_wakeup() to
30053         signal new messages instead of the socketpair.
30054
30055 2005-05-25  Wim Taymans  <wim@fluendo.com>
30056
30057         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30058         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30059         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30060         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30061         (gst_pad_send_event), (gst_pad_start_task):
30062         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30063         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30064         (gst_queue_sink_activate), (gst_queue_src_activate),
30065         (gst_queue_change_state):
30066         * gst/gstqueue.h:
30067         Fix state changes for non sinks. We now change sinks, then elements
30068         with unconnected srcpads, then the rest.
30069         More efficient queue unlocking in flush and state changes.
30070         Set the pad activate mode even if it does not have an activate
30071         function.
30072
30073 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30074
30075         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30076           Don't go in pull mode for non-seekable sources.
30077         * gst/elements/gsttypefindelement.h:
30078         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30079         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30080         (free_entry), (stop_typefinding),
30081         (gst_type_find_element_handle_event), (find_peek),
30082         (gst_type_find_element_chain), (do_pull_typefind),
30083         (gst_type_find_element_change_state):
30084           Allow typefinding (w/o seeking) in push-mode, simplified version
30085           of what was in 0.8.
30086         * gst/gstutils.c: (gst_buffer_join):
30087         * gst/gstutils.h:
30088           gst_buffer_join() from 0.8.
30089
30090 2005-05-25  Wim Taymans  <wim@fluendo.com>
30091
30092         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30093         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30094         (gst_pad_send_event), (gst_pad_start_task):
30095         Disable attempt at mode switching until it is figured out.
30096
30097 2005-05-25  Wim Taymans  <wim@fluendo.com>
30098
30099         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30100         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30101         (gst_basesink_finish_preroll), (gst_basesink_chain),
30102         (gst_basesink_loop), (gst_basesink_activate),
30103         (gst_basesink_change_state):
30104         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30105         (gst_basesrc_get_range), (gst_basesrc_loop),
30106         (gst_basesrc_activate):
30107         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30108         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30109         (gst_real_pad_init), (gst_real_pad_set_property),
30110         (gst_real_pad_get_property), (gst_pad_set_active),
30111         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30112         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30113         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30114         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30115         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30116         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30117         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30118         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30119         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30120         (gst_pad_stop_task):
30121         * gst/gstpad.h:
30122         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30123         (gst_queue_loop), (gst_queue_src_activate):
30124         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30125         (gst_task_get_state):
30126         * gst/gsttask.h:
30127         * gst/schedulers/threadscheduler.c:
30128         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30129         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30130         in task function.
30131         Remove ACTIVE pad flag, use FLUSHING everywhere
30132         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30133         functions.
30134         Add locks around IS_FLUSHING when reading.
30135         Take STREAM lock in chain(), get_range() functions so plugins
30136         don't need to take it anymore.
30137         
30138
30139
30140 2005-05-25  Wim Taymans  <wim@fluendo.com>
30141
30142         * tools/gst-launch.c: (event_loop):
30143         Unref message after using its contents instead of
30144         before.
30145
30146 2005-05-24  Wim Taymans  <wim@fluendo.com>
30147
30148         * docs/design/draft-ghostpads.txt:
30149         * docs/design/draft-push-pull.txt:
30150         * docs/design/draft-query.txt:
30151         * docs/design/part-overview.txt:
30152         Docs updates, added general overview doc.
30153
30154 2005-05-21  David Schleef  <ds@schleef.org>
30155
30156         * docs/gst/tmpl/old/GstBin.sgml:
30157         * docs/gst/tmpl/old/GstBuffer.sgml:
30158         * docs/gst/tmpl/old/GstCaps.sgml:
30159         * docs/gst/tmpl/old/GstClock.sgml:
30160         * docs/gst/tmpl/old/GstCompat.sgml:
30161         * docs/gst/tmpl/old/GstData.sgml:
30162         * docs/gst/tmpl/old/GstElement.sgml:
30163         * docs/gst/tmpl/old/GstEvent.sgml:
30164         * docs/gst/tmpl/old/GstIndex.sgml:
30165         * docs/gst/tmpl/old/GstStructure.sgml:
30166         * docs/gst/tmpl/old/GstTag.sgml:
30167         * docs/gst/tmpl/old/cothreads.sgml:
30168         * docs/gst/tmpl/old/cothreads_compat.sgml:
30169         * docs/gst/tmpl/old/gettext.sgml:
30170         * docs/gst/tmpl/old/gobject2gtk.sgml:
30171         * docs/gst/tmpl/old/grammar.tab.sgml:
30172         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30173         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30174         * docs/gst/tmpl/old/gst_private.sgml:
30175         * docs/gst/tmpl/old/gstaggregator.sgml:
30176         * docs/gst/tmpl/old/gstarch.sgml:
30177         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30178         * docs/gst/tmpl/old/gstbufferstore.sgml:
30179         * docs/gst/tmpl/old/gstdata_private.sgml:
30180         * docs/gst/tmpl/old/gstdisksink.sgml:
30181         * docs/gst/tmpl/old/gstdisksrc.sgml:
30182         * docs/gst/tmpl/old/gstelementfactory.sgml:
30183         * docs/gst/tmpl/old/gstextratypes.sgml:
30184         * docs/gst/tmpl/old/gstfakesink.sgml:
30185         * docs/gst/tmpl/old/gstfakesrc.sgml:
30186         * docs/gst/tmpl/old/gstfdsink.sgml:
30187         * docs/gst/tmpl/old/gstfdsrc.sgml:
30188         * docs/gst/tmpl/old/gstfilesink.sgml:
30189         * docs/gst/tmpl/old/gstfilesrc.sgml:
30190         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30191         * docs/gst/tmpl/old/gstidentity.sgml:
30192         * docs/gst/tmpl/old/gstindexfactory.sgml:
30193         * docs/gst/tmpl/old/gstmarshal.sgml:
30194         * docs/gst/tmpl/old/gstmd5sink.sgml:
30195         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30196         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30197         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30198         * docs/gst/tmpl/old/gstpipefilter.sgml:
30199         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30200         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30201         * docs/gst/tmpl/old/gstshaper.sgml:
30202         * docs/gst/tmpl/old/gstspider.sgml:
30203         * docs/gst/tmpl/old/gstspideridentity.sgml:
30204         * docs/gst/tmpl/old/gststatistics.sgml:
30205         * docs/gst/tmpl/old/gsttee.sgml:
30206         * docs/gst/tmpl/old/gsttimecache.sgml:
30207         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30208         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30209         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30210         * docs/gst/tmpl/old/types.sgml:
30211           I didn't intend to add these or check them in.
30212
30213 2005-05-19  David Schleef  <ds@schleef.org>
30214
30215         * configure.ac: Use -no-common everywhere.  In a sane world, it
30216           would be the default in libtool, because without it, you can't
30217           build DLLs on Windows.
30218         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30219         * docs/gst/gstreamer-sections.txt:
30220         * docs/gst/tmpl/gstcpu.sgml:
30221         * docs/gst/tmpl/gstdata.sgml:
30222         * docs/gst/tmpl/gstthread.sgml:
30223
30224 2005-05-19  David Schleef  <ds@schleef.org>
30225
30226         * gst/gstminiobject.c: (gst_value_set_mini_object),
30227         (gst_value_take_mini_object), (gst_value_get_mini_object):
30228         * gst/gstminiobject.h: Add GValue set/get functions.
30229
30230 2005-05-19  Wim Taymans  <wim@fluendo.com>
30231
30232         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30233         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30234         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30235         * gst/gstbuffer.h:
30236         * gst/gstbus.c: (gst_bus_post):
30237         * gst/gstelement.c: (gst_element_get_random_pad):
30238         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30239         Make subbufer unref the parent in finalize.
30240         some more debugging info.
30241
30242
30243 2005-05-19  Wim Taymans  <wim@fluendo.com>
30244
30245         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30246         (gst_basesink_init), (gst_basesink_finalize),
30247         (gst_basesink_activate), (gst_basesink_change_state):
30248         Don't free preroll queue too early.
30249
30250 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30251
30252         * gst/Makefile.am:
30253         * gst/ROADMAP:
30254           Hi, I'm outdated. Please shoot me.
30255
30256 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30257
30258         * gst/gstpipeline.c: (gst_pipeline_send_event):
30259           Do not access variables after they have been deleted.
30260
30261 2005-05-19  Wim Taymans  <wim@fluendo.com>
30262
30263         * tools/gst-inspect.c: (print_plugin_features):
30264         A plugin feature does unfortunatly not use the
30265         object name yet...
30266
30267 2005-05-18  Wim Taymans  <wim@fluendo.com>
30268
30269         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30270         Port _span() functions to new subbuffers.
30271
30272 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30273
30274         * gst/gstbin.c: (gst_bin_add_func):
30275           Fix clock settery in bins when adding kids after the clock has
30276           been selected.
30277
30278 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30279
30280         * gst/elements/gstidentity.c: (gst_identity_class_init):
30281           Workaround until signals support GstMiniObject.
30282
30283 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30284
30285         * gst/gstbuffer.c:
30286         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30287
30288 2005-05-18  Wim Taymans  <wim@fluendo.com>
30289
30290         * gst/base/Makefile.am:
30291         * gst/base/gstadapter.c: (gst_adapter_base_init),
30292         (gst_adapter_class_init), (gst_adapter_init),
30293         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30294         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30295         (gst_adapter_flush), (gst_adapter_available),
30296         (gst_adapter_available_fast):
30297         * gst/base/gstadapter.h:
30298         Ported and added adapter to the base classes.
30299
30300 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30301
30302         * gst/gst.c:
30303         * gst/gstmessage.c:
30304           Make sure the class is reffed/unreffed once before threads can be
30305           used.  Fixes #304551.
30306
30307 2005-05-17  Wim Taymans  <wim@fluendo.com>
30308
30309         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30310         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30311         * gst/gstminiobject.c: (gst_mini_object_get_type),
30312         (gst_mini_object_free):
30313         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30314         (gst_pad_push), (gst_pad_push_event):
30315         * gst/gstqueue.c: (gst_queue_change_state):
30316         Don't queue buffers in basesink when we are flushing.
30317         Unref buffer when flushing in basesink.
30318         Flush queue when going to READY
30319         Unref buffer when _push() returns an error.
30320         Don't free MiniObject instance when refcount is incremented
30321         in _finalize() so that we can recover objects.
30322
30323 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30324
30325         * docs/manual/advanced-schedulers.xml:
30326         * docs/manual/appendix-checklist.xml:
30327         * docs/pwg/advanced-clock.xml:
30328         * docs/pwg/advanced-interfaces.xml:
30329         * docs/pwg/advanced-request.xml:
30330         * docs/pwg/advanced-types.xml:
30331         * docs/pwg/intro-preface.xml:
30332         * examples/plugins/example.c: (gst_example_get_type),
30333         (gst_example_class_init), (gst_example_chain),
30334         (gst_example_set_property), (gst_example_get_property),
30335         (gst_example_change_state), (plugin_init):
30336         * examples/plugins/example.h:
30337           small doc fixes
30338
30339 2005-05-17  Wim Taymans  <wim@fluendo.com>
30340
30341         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30342         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30343         * gst/gstqueue.c: (gst_queue_change_state):
30344         Clear queue when going to READY.
30345         Remove IN_SETCAPS flag too.
30346
30347 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30348
30349         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30350           Remove implicit cast from gboolean to GstElementStateReturn;
30351           make sure we still return failure in paused => ready case if
30352           the parent class fails to change state and our own stop 
30353           vfunc succeeds.
30354
30355 2005-05-17  Wim Taymans  <wim@fluendo.com>
30356
30357         * tools/gst-launch.c: (event_loop):
30358         Message was unreffed too soon.
30359
30360 2005-05-16  Andy Wingo  <wingo@pobox.com>
30361
30362         * gst/gstbin.c (sink_iterator_filter): Err... um...
30363
30364         * check/gst/gstbin.c (test_ghost_pads): New test for the
30365         ghosting-if-elements-not-in-same-bin behavior.
30366
30367 2005-05-16  David Schleef  <ds@schleef.org>
30368
30369         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30370         accessing refcount directly.
30371
30372 2005-05-15  David Schleef  <ds@schleef.org>
30373
30374         * check/Makefile.am: remove GstData checks
30375         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30376         * gst/Makefile.am: add miniobject, remove data
30377         * gst/gst.h: add miniobject, remove data
30378         * gst/gstdata.c: remove
30379         * gst/gstdata.h: remove
30380         * gst/gstdata_private.h: remove
30381         * gst/gsttypes.h: remove GstEvent and GstMessage
30382         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30383         * gst/gstmarshal.list: change BOXED -> OBJECT
30384
30385         Implement GstMiniObject.
30386         * gst/gstminiobject.c:
30387         * gst/gstminiobject.h:
30388
30389         Modify to be subclasses of GstMiniObject.
30390         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30391         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30392         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30393         (gst_subbuffer_get_type), (gst_subbuffer_init),
30394         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30395         (gst_buffer_span):
30396         * gst/gstbuffer.h:
30397         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30398         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30399         (_gst_event_copy), (gst_event_new):
30400         * gst/gstevent.h:
30401         * gst/gstmessage.c: (_gst_message_initialize),
30402         (gst_message_get_type), (gst_message_class_init),
30403         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30404         (gst_message_new), (gst_message_new_error),
30405         (gst_message_new_warning), (gst_message_new_tag),
30406         (gst_message_new_state_changed), (gst_message_new_application):
30407         * gst/gstmessage.h:
30408         * gst/gstprobe.c: (gst_probe_perform),
30409         (gst_probe_dispatcher_dispatch):
30410         * gst/gstprobe.h:
30411         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30412         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30413         (_gst_query_copy), (gst_query_new):
30414
30415         Update elements for GstData -> GstMiniObject changes
30416         * gst/gstquery.h:
30417         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30418         (gst_queue_chain), (gst_queue_loop):
30419         * gst/elements/gstbufferstore.c:
30420         (gst_buffer_store_add_buffer_func),
30421         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30422         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30423         (gst_fakesink_render):
30424         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30425         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30426         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30427         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30428         (gst_filesrc_create_read):
30429         * gst/elements/gstidentity.c: (gst_identity_class_init):
30430         * gst/elements/gsttypefindelement.c:
30431         (gst_type_find_element_src_event), (free_entry_buffers),
30432         (gst_type_find_element_handle_event):
30433         * libs/gst/dataprotocol/dataprotocol.c:
30434         (gst_dp_header_from_buffer):
30435         * libs/gst/dataprotocol/dataprotocol.h:
30436         * libs/gst/dataprotocol/dp-private.h:
30437
30438 2005-05-15  David Schleef  <ds@schleef.org>
30439
30440         * gst/elements/gstelements.c: Don't include headers that were
30441         just removed.
30442
30443 2005-05-15  David Schleef  <ds@schleef.org>
30444
30445         * gst/elements/Makefile.am: Remove some elements that don't
30446         need to be in the core (or even exist at all).
30447         * gst/elements/gstaggregator.c:
30448         * gst/elements/gstaggregator.h:
30449         * gst/elements/gstmd5sink.c:
30450         * gst/elements/gstmd5sink.h:
30451         * gst/elements/gstmultifilesrc.c:
30452         * gst/elements/gstmultifilesrc.h:
30453         * gst/elements/gstpipefilter.c:
30454         * gst/elements/gstpipefilter.h:
30455         * gst/elements/gstshaper.c:
30456         * gst/elements/gstshaper.h:
30457         * gst/elements/gststatistics.c:
30458         * gst/elements/gststatistics.h:
30459         * po/POTFILES.in: Remove above files.
30460
30461 2005-05-14  Andy Wingo  <wingo@pobox.com>
30462
30463         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30464         so as to get the refs right.
30465         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30466         unreffing objects that don't pass the filter.
30467
30468         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30469         gst_element_set_bus.
30470         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30471         normal cases, this will destroy the bus.
30472
30473         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30474         object.
30475
30476         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30477         has no sinks.
30478
30479 2005-05-13  Andy Wingo  <wingo@pobox.com>
30480
30481         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30482         gst_pad_link, call pad_link_maybe_ghosting,
30483         (pad_link_maybe_ghosting): Links pads, making sure that the
30484         elements being linked are in the same bin.
30485         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30486         Helpers for pad_link_maybe_ghosting.
30487
30488 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30489
30490         * configure.ac:
30491           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30492
30493 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30494
30495         * docs/design/part-element-source.txt:
30496           Mention GstPushSrc
30497
30498 2005-05-12  Wim Taymans  <wim@fluendo.com>
30499
30500         * gst/base/gstbasesink.c: (gst_basesink_init),
30501         (gst_basesink_activate):
30502         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30503         (gst_basesrc_is_seekable):
30504         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30505         (bin_element_is_sink), (gst_bin_change_state):
30506         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30507         * gst/gstelement.h:
30508         Identify sinks by their flag to avoid overly complicated
30509         checks (fow now).
30510         Do state changes even for elements not reachable from the
30511         sinks.
30512         BaseSink is a sink now :)
30513         Some more debugging info in the basesrc.
30514
30515
30516 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30517
30518         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30519           Implement _query on a bin, similar to _send_event.
30520
30521 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30522
30523         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30524           Discont event offset format should be GST_FORMAT_BYTES,
30525           not GST_FORMAT_TIME.
30526
30527 2005-05-12  Wim Taymans  <wim@fluendo.com>
30528
30529         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30530         Same fix as Ronald's but without the signal. 
30531
30532 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30533
30534         * gst/gstutils.c: (gst_element_query_position):
30535           No, an element is not a pad.
30536
30537 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30538
30539         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30540         (gst_bin_get_state):
30541           If a child is removed from a bin while we remove the child from
30542           the bin and while we're retrieving its state, signal this to the
30543           get_state function so we abort the wait (instead of waiting for
30544           a timeout) and can immediately re-iterate over all other elements.
30545
30546 2005-05-12  Wim Taymans  <wim@fluendo.com>
30547
30548         * gst/base/Makefile.am:
30549         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30550         (gst_basesrc_start):
30551         * gst/base/gstbasesrc.h:
30552         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30553         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30554         (gst_pushsrc_init), (gst_pushsrc_create):
30555         * gst/base/gstpushsrc.h:
30556         Added is_seekable to BaseSrc
30557         Added simple PushSrc.
30558
30559 2005-05-11  Wim Taymans  <wim@fluendo.com>
30560
30561         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30562         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30563         (gst_element_link_pads), (gst_element_query_position),
30564         (gst_element_query_convert), (intersect_caps_func),
30565         (gst_pad_query_position), (gst_pad_query_convert):
30566         Fix refcounting in utils function.
30567         No point in trying to activate a pad when it's added, it could
30568         be added from the state change function and then we deadlock, the
30569         element has to decide what to do.
30570
30571 2005-05-10  Andy Wingo  <wingo@pobox.com>
30572
30573         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30574         *all* the arguments.
30575
30576         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30577         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30578         lock (according to the docs -- if this is wrong change the docs).
30579
30580         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30581         flush messages in the NULL state.
30582
30583         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30584         message immediately and return.
30585         (gst_bus_set_flushing): New function. If a bus is flushing, it
30586         flushes out any queued messages and immediately unrefs new
30587         messages. This is so when an element goes to NULL, all of the
30588         unhandled messages coming from it can be freed, and their
30589         references to the element dropped. In other words: message source
30590         ref considered harmful :P
30591
30592         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30593         we're finished with it.
30594
30595         * gst/gstmessage.c (gst_message_new_state_changed): 
30596
30597 2005-05-10  Wim Taymans  <wim@fluendo.com>
30598
30599         * gst/gstvalue.c: (gst_value_compare_flags),
30600         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30601         (_gst_value_initialize):
30602         Added flags serialize/deserialize/compare code.
30603
30604 2005-05-09  Andy Wingo  <wingo@pobox.com>
30605
30606         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30607         Intersect the peer's caps with our caps.
30608
30609 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30610
30611         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30612         * gst/elements/gsttypefindelement.c: (find_peek):
30613           Handle negative offsets better. Fixes decodebin.
30614
30615 2005-05-09  Wim Taymans  <wim@fluendo.com>
30616
30617         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30618         (gst_base_transform_event):
30619         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30620         Implement accept_caps.
30621         Fix silly lock/unlock mismatch in base class.
30622
30623 2005-05-09  Wim Taymans  <wim@fluendo.com>
30624
30625         * docs/design/draft-push-pull.txt:
30626         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30627         * gst/elements/gstfilesink.c: (gst_filesink_init),
30628         (gst_filesink_query):
30629         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30630         (gst_type_find_handle_src_query), (find_element_get_length):
30631         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30632         * gst/gstelement.h:
30633         * gst/gstmessage.c:
30634         * gst/gstmessage.h:
30635         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30636         (gst_real_pad_get_caps_unlocked),
30637         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30638         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30639         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30640         (gst_real_pad_dispose), (gst_real_pad_finalize),
30641         (gst_pad_load_and_link), (gst_pad_save_thyself),
30642         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30643         (gst_pad_check_pull_range), (gst_pad_pull_range),
30644         (gst_pad_template_get_type), (gst_pad_template_class_init),
30645         (gst_pad_template_init), (gst_pad_template_dispose),
30646         (name_is_valid), (gst_static_pad_template_get),
30647         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30648         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30649         (gst_pad_get_element_private), (gst_pad_start_task),
30650         (gst_pad_pause_task), (gst_pad_stop_task),
30651         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30652         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30653         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30654         (gst_ghost_pad_new):
30655         * gst/gstpad.h:
30656         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30657         (gst_query_new_position), (gst_query_set_position),
30658         (gst_query_parse_position), (gst_query_new_convert),
30659         (gst_query_set_convert), (gst_query_parse_convert):
30660         * gst/gstquery.h:
30661         * gst/gstqueryutils.c:
30662         * gst/gstqueryutils.h:
30663         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30664         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30665         (gst_queue_handle_src_query):
30666         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30667         (gst_element_query_position), (gst_element_query_convert),
30668         (intersect_caps_func), (gst_pad_query_position),
30669         (gst_pad_query_convert):
30670         * gst/gstutils.h:
30671         * tools/gst-inspect.c: (print_pad_info):
30672         * tools/gst-xmlinspect.c: (print_element_info):
30673         Remove old query functions. Ported old code.
30674         Added position/convert helper functions to gstutils.
30675         Reordered gstpad.c code, grouping relevant things.
30676         Remove gst_message_new(), always need to speficy a specific
30677         message.
30678
30679
30680 2005-05-09  Andy Wingo  <wingo@pobox.com>
30681
30682         * gst/gstiterator.h: Add some includes.
30683
30684         * gst/gstqueryutils.h: Include more headers.
30685
30686         * gst/gstpad.h:
30687         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30688         some uses of gst_pad_query.
30689
30690         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30691         NULL out parameters.
30692         (gst_query_new_position): New proc, allocates a new position
30693         query.
30694
30695         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30696         gstqueryutils.c to the build.
30697
30698         * gst/gststructure.c (gst_structure_set_valist): Implement with
30699         the generic G_VALUE_COLLECT.
30700         
30701 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30702
30703         * gst/Makefile.am: (gst_headers):
30704         Added gstqueryutils.h to the list of headers to install, that was
30705         a 'nachty' move wingo :)
30706
30707 2005-05-06  Andy Wingo  <wingo@pobox.com>
30708
30709         * gst/gstquery.h
30710         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30711         GstData, init a memchunk.
30712         (standard_definitions): Add a few query types, deprecate a few.
30713         (gst_query_get_type): New proc.
30714         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30715         implementation.
30716         (gst_query_new_application, gst_query_get_structure): New public
30717         procs.
30718
30719         * docs/design/draft-query.txt: Removed LINKS from the query types,
30720         because all the rest can be dispatched to other pads -- seemed
30721         ugly to have a query that couldn't be dispatched. internal_links
30722         is fine as a pad method.
30723
30724         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30725         in gstpad.c, but maintain binary compatibility for the moment.
30726         Will fix before 0.9 is out.
30727
30728         * gst/gstqueryutils.c: 
30729         * gst/gstqueryutils.h: New files, implement 3 methods for each
30730         query type: parse_query, parse_response, and set. Probably need an
30731         allocator as well.
30732
30733         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30734
30735         * gst/elements/gstfilesink.c (gst_filesink_query2):
30736         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30737         query_types, and formats methods.
30738
30739         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30740         (gst_pad_set_query2_function): New functions.
30741         (gst_real_pad_init): Set query2_default as the default query2
30742         function. Basically just dispatches to internally linked pads.
30743
30744         Needs review!
30745         
30746         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30747         without using the atomic operations. Only one thread can possibly
30748         be accessing the data at this point. Changed so as to avoid
30749         gst_atomic operations.
30750
30751 2005-05-06  Wim Taymans  <wim@fluendo.com>
30752
30753         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30754         Also set caps if we use the fallback buffer alloc.
30755
30756 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30757
30758         * docs/gst/Makefile.am:
30759         * docs/gst/gstreamer-docs.sgml:
30760         * docs/gst/gstreamer-sections.txt:
30761         * docs/gst/tmpl/gstatomic.sgml:
30762         * docs/gst/tmpl/gstmemchunk.sgml:
30763         * testsuite/elements/struct_i386.h:
30764         * win32/GStreamer.vcproj:
30765         * win32/Makefile:
30766           Purge GstAtomic stuff from docs and win32 makefiles as well
30767
30768 2005-05-06  Wim Taymans  <wim@fluendo.com>
30769
30770         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30771         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30772         * gst/gstpad.c: (gst_pad_peer_get_caps):
30773         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30774         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30775         (gst_queue_src_activate), (gst_queue_change_state):
30776         * gst/gstqueue.h:
30777         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30778         (intersect_caps_func):
30779         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30780         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30781         Some fixes for the peer_get_caps() change.
30782
30783 2005-05-06  Wim Taymans  <wim@fluendo.com>
30784
30785         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30786         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30787         (gst_basesink_activate):
30788         Actually do something with error codes returned from the push
30789         functions.
30790
30791 2005-05-06  Wim Taymans  <wim@fluendo.com>
30792
30793         * docs/design/part-element-sink.txt:
30794         * docs/design/part-element-source.txt:
30795         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30796         (gst_basesink_event), (gst_basesink_activate):
30797         * gst/base/gstbasesink.h:
30798         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30799         (gst_basesrc_activate):
30800         * gst/base/gstbasesrc.h:
30801         * gst/gstelement.c: (gst_element_pads_activate):
30802         Some more documentation.
30803         Fixed scheduling decision in _pads_activate().
30804
30805 2005-05-05  Andy Wingo  <wingo@pobox.com>
30806
30807         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30808         the test suite.
30809
30810 2005-05-05  Wim Taymans  <wim@fluendo.com>
30811
30812         * gst/base/Makefile.am:
30813         * gst/base/gstbasesink.h:
30814         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30815         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30816         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30817         (gst_collectpads_class_init), (gst_collectpads_init),
30818         (gst_collectpads_finalize), (gst_collectpads_new),
30819         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30820         (find_pad), (gst_collectpads_remove_pad),
30821         (gst_collectpads_is_active), (gst_collectpads_collect),
30822         (gst_collectpads_collect_range), (gst_collectpads_start),
30823         (gst_collectpads_stop), (gst_collectpads_peek),
30824         (gst_collectpads_pop), (gst_collectpads_available),
30825         (gst_collectpads_read), (gst_collectpads_flush),
30826         (gst_collectpads_chain):
30827         * gst/base/gstcollectpads.h:
30828         * gst/elements/Makefile.am:
30829         * gst/elements/gstelements.c:
30830         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30831         (gst_fakesink_get_times), (gst_fakesink_event),
30832         (gst_fakesink_preroll), (gst_fakesink_render):
30833         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30834         (gst_filesink_init), (gst_filesink_set_location),
30835         (gst_filesink_open_file), (gst_filesink_close_file),
30836         (gst_filesink_pad_query), (gst_filesink_event),
30837         (gst_filesink_render), (gst_filesink_change_state):
30838         * gst/elements/gstfilesink.h:
30839         Added object to help in making collect pad based elements.
30840         Ported filesink.
30841         Make event function in sink baseclass return gboolean.
30842
30843 2005-05-05  Wim Taymans  <wim@fluendo.com>
30844
30845         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30846         (gst_bin_get_by_name):
30847         * gst/gstbuffer.h:
30848         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30849         (gst_clock_finalize):
30850         * gst/gstdata.c: (gst_data_replace):
30851         * gst/gstdata.h:
30852         * gst/gstelement.c: (gst_element_request_pad),
30853         (gst_element_pads_activate):
30854         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30855         (gst_object_unref):
30856         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30857         (gst_pad_set_checkgetrange_function),
30858         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30859         (gst_pad_check_pull_range), (gst_pad_pull_range),
30860         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30861         (gst_pad_pause_task), (gst_pad_stop_task):
30862         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30863         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30864         Fix name lookup in GstBin.
30865         Added _data_replace() function and _buffer_replace()
30866         Use finalize method to clean up clock.
30867         Fix refcounting on request pads.
30868         Fix pad schedule mode error.
30869         Some more object refcounting debug info,
30870
30871
30872 2005-05-04  Andy Wingo <wingo@pobox.com>
30873
30874         * check/Makefile.am:
30875         * docs/gst/tmpl/gstatomic.sgml:
30876         * docs/gst/tmpl/gstplugin.sgml:
30877         * gst/base/gstbasesink.c: (gst_basesink_activate):
30878         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30879         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30880         (gst_basesrc_query), (gst_basesrc_set_property),
30881         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30882         (gst_basesrc_activate):
30883         * gst/base/gstbasesrc.h:
30884         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30885         (gst_base_transform_src_activate):
30886         * gst/elements/gstelements.c:
30887         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30888         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30889         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30890         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30891         (gst_type_find_element_checkgetrange),
30892         (gst_type_find_element_activate):
30893         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30894         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30895         (gst_caps_load_thyself):
30896         * gst/gstelement.c: (gst_element_pads_activate),
30897         (gst_element_save_thyself), (gst_element_restore_thyself):
30898         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30899         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30900         * gst/gstpad.h:
30901         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30902         (gst_xml_parse_file), (gst_xml_parse_memory),
30903         (gst_xml_get_element), (gst_xml_make_element):
30904         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30905         (_file_index_id_save_xml), (gst_file_index_commit):
30906         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30907         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30908         (load_paths):
30909         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30910         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30911         * tools/gst-complete.c: (main):
30912         * tools/gst-compprep.c: (main):
30913         * tools/gst-inspect.c: (print_element_properties_info):
30914         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30915         * tools/gst-xmlinspect.c: (print_element_properties):
30916         GCC 4 fixen.
30917         
30918 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30919
30920         * gst/gstplugin.c: (gst_plugin_check_module),
30921         (gst_plugin_check_file), (gst_plugin_load_file):
30922             apply patch from #172526 to make register work on MacOSX
30923
30924 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30925
30926         * docs/gst/tmpl/gstconfig.sgml:
30927         * gst/gstconfig.h.in:
30928           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30929         * testsuite/debug/printf_extension.c: (main):
30930           Do not use GST_PTR_FORMAT on pointers to types with
30931           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30932         * testsuite/elements/property.h:
30933           use correct printf format
30934
30935 2005-05-02  Wim Taymans  <wim@fluendo.com>
30936
30937         * docs/design/draft-push-pull.txt:
30938         * docs/design/draft-query.txt:
30939         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30940         (gst_basesrc_start):
30941         Added draft for new query API.
30942         Added draft for better selecting scheduling methods.
30943         Make basesrc ignore length if the subclass does not support
30944         it.
30945
30946 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30947
30948         * gst/Makefile.am:
30949           possible fixes for automake-1.5 - _LIBADD is reserved
30950
30951 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30952
30953         * docs/faq/Makefile.am:
30954         * docs/manual/Makefile.am:
30955         * docs/manuals.mak:
30956         * docs/pwg/Makefile.am:
30957         * gst/Makefile.am:
30958           possible fixes for automake-1.5
30959
30960 2005-04-28  Wim Taymans  <wim@fluendo.com>
30961
30962         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30963         (gst_basesink_pad_getcaps), (gst_basesink_init),
30964         (gst_basesink_do_sync):
30965         * gst/gstclock.c: (gst_clock_entry_new):
30966         * gst/gstevent.c: (gst_event_discont_get_value):
30967         * gst/gstpipeline.c: (pipeline_bus_handler),
30968         (gst_pipeline_change_state):
30969         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30970         Better debugging of clocking info.
30971         Allow NULL values when getting discont values.
30972
30973 2005-04-27  Wim Taymans  <wim@fluendo.com>
30974
30975         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30976         * check/gst/gstpad.c: (gst_pad_suite):
30977         Increase timeout for checks.
30978
30979 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30980
30981         * check/Makefile.am:
30982           fix the broken rule for cleanup.  Apparently this rule is
30983           only needed on FC2, so maybe this warrants further autotool
30984           inspection.
30985
30986 2005-04-26  Wim Taymans  <wim@fluendo.com>
30987
30988         * gst/gsttrashstack.h:
30989         Ooohh. a nasty one! After having a failed pop() from the stack,
30990         it's possible that the stack is empty. In that case, don't
30991         follow the NULL pointer.
30992
30993 2005-04-25  Wim Taymans  <wim@fluendo.com>
30994
30995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30996         (gst_pad_set_checkgetrange_function),
30997         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
30998         (gst_pad_check_pull_range), (gst_pad_pull_range),
30999         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31000         (gst_pad_pause_task), (gst_pad_stop_task):
31001         * gst/gstplugin.c: (gst_plugin_load):
31002         * gst/gstplugin.h:
31003         Remove gst_library_load as it does more harm than good with
31004         the new g_module flags.
31005         Revert bogus caps template check in pad linking, pad caps
31006         are important when linking not the template, which is more
31007         general than the current caps.
31008
31009 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31010
31011         * gst/autoplug/.cvsignore:
31012         * gst/autoplug/Makefile.am:
31013         * gst/autoplug/gstsearchfuncs.c:
31014         * gst/autoplug/gstsearchfuncs.h:
31015         * gst/autoplug/gstspider.c:
31016         * gst/autoplug/gstspider.h:
31017         * gst/autoplug/gstspideridentity.c:
31018         * gst/autoplug/gstspideridentity.h:
31019         * gst/autoplug/spidertest.c:
31020           Die, spider, die.
31021
31022 2005-04-25  Wim Taymans  <wim@fluendo.com>
31023
31024         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31025         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31026         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31027         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31028         * gst/gstpad.h:
31029         Added stubs for unimplemented functions. 
31030
31031 2005-04-24  David Schleef  <ds@schleef.org>
31032
31033         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31034         please fix.
31035
31036 2005-04-24  David Schleef  <ds@schleef.org>
31037
31038         Convert everything from GstAtomicInt to g_atomic_int_*, and
31039         remove gstatomic.
31040         * gst/Makefile.am:
31041         * gst/gstatomic.c:
31042         * gst/gstatomic.h:
31043         * gst/gstatomic_impl.h:
31044         * gst/gstbuffer.c:
31045         * gst/gstcaps.c:
31046         * gst/gstcaps.h:
31047         * gst/gstclock.c:
31048         * gst/gstclock.h:
31049         * gst/gstdata.c:
31050         * gst/gstdata.h:
31051         * gst/gstdata_private.h:
31052         * gst/gstevent.c:
31053         * gst/gstinfo.c:
31054         * gst/gstinfo.h:
31055         * gst/gstmessage.c:
31056         * gst/gstobject.c:
31057         * gst/gstobject.h:
31058         * gst/gststructure.c:
31059         * gst/gststructure.h:
31060         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31061         * gst/gstutils.h:
31062
31063 2005-04-24  David Schleef  <ds@schleef.org>
31064
31065         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31066         make the regressions tests work.  Remove some code that is no
31067         longer true.
31068         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31069         Disable warning for pads without templates.
31070
31071 2005-04-24  David Schleef  <ds@schleef.org>
31072
31073         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31074         functions that handle filtered links.
31075         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31076         removed functions.
31077         * gst/gstutils.c: Fix/remove utility functions that handle
31078         filtered caps.
31079         * gst/gstutils.h:
31080         * gst/gstvalue.c: Add serialization/deserialization of caps
31081         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31082         requires fixing so that the filter caps notation creates
31083         a capsfilter element and sets the filter_caps property.  I
31084         think everyone probably wants to keep the shorthand notation.
31085         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31086         * docs/gst/tmpl/gstpad.sgml:
31087
31088         * gst/elements/gstelements.c: Register capsfilter element.
31089         * gst/Makefile.am: fix spacing
31090         * docs/random/ds/0.9-suggested-changes: random
31091
31092 2005-04-23  David Schleef  <ds@schleef.org>
31093
31094         * gst/elements/Makefile.am:
31095         * gst/elements/gstcapsfilter.c: New element that acts like an
31096         identity, but filters caps.  Will eventually replace filtered
31097         caps in pad linking.
31098         * gst/gstutils.c: (gst_element_create_all_pads): New function
31099         to create all the ALWAYS pads that are registered with an
31100         element class.  This functionality should eventually be
31101         merged in with GstElement initialization.
31102         * gst/gstutils.h:
31103         * testsuite/trigger/README: part of trigger test code that should
31104         have been checked in a long time ago.
31105
31106 2005-04-23  David Schleef  <ds@schleef.org>
31107
31108         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31109         needed with new versions of libtool (nobody will confirm this),
31110         and hard to carry around.
31111         * gst/autoplug/Makefile.am:
31112         * gst/base/Makefile.am:
31113         * gst/elements/Makefile.am:
31114         * gst/indexers/Makefile.am:
31115         * gst/schedulers/Makefile.am:
31116         * libs/gst/bytestream/Makefile.am:
31117         * libs/gst/control/Makefile.am:
31118         * libs/gst/dataprotocol/Makefile.am:
31119         * libs/gst/getbits/Makefile.am:
31120
31121 2005-04-21  Wim Taymans  <wim@fluendo.com>
31122
31123         * docs/design/draft-push-pull.txt:
31124         * docs/design/part-MT-refcounting.txt:
31125         * docs/design/part-TODO.txt:
31126         * docs/design/part-caps.txt:
31127         * docs/design/part-events.txt:
31128         * docs/design/part-gstbus.txt:
31129         * docs/design/part-gstpipeline.txt:
31130         * docs/design/part-messages.txt:
31131         * docs/design/part-push-pull.txt:
31132         * docs/design/part-query.txt:
31133         Some more docs.
31134
31135 2005-04-21  Wim Taymans  <wim@fluendo.com>
31136
31137         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31138         (gst_message_new), (gst_message_new_error),
31139         (gst_message_new_warning), (gst_message_new_tag),
31140         (gst_message_new_state_changed), (gst_message_new_application),
31141         (gst_message_get_structure):
31142         * gst/gstmessage.h:
31143         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31144         (gst_structure_copy_conditional):
31145         Use parent refcount in GstMessage to ensure GstStructure
31146         consistency.
31147         Cleaned up headers a bit.
31148         
31149
31150 2005-04-20  Wim Taymans  <wim@fluendo.com>
31151
31152         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31153         (gst_basesink_pad_getcaps), (gst_basesink_init),
31154         (gst_basesink_chain_unlocked):
31155         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31156         (gst_type_find_helper):
31157         * gst/elements/gsttypefindelement.c:
31158         (gst_type_find_element_have_type), (gst_type_find_element_init),
31159         (stop_typefinding), (gst_type_find_element_handle_event),
31160         (find_suggest), (gst_type_find_element_chain),
31161         (gst_type_find_element_checkgetrange),
31162         (gst_type_find_element_getrange), (do_typefind),
31163         (gst_type_find_element_activate):
31164         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31165         (gst_buffer_default_free), (gst_buffer_default_copy),
31166         (gst_buffer_set_caps):
31167         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31168         (gst_caps_replace):
31169         * gst/gstmessage.c: (gst_message_new),
31170         (gst_message_new_state_changed):
31171         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31172         (gst_pad_set_checkgetrange_function),
31173         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31174         (gst_pad_set_caps), (gst_pad_check_pull_range),
31175         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31176         * gst/gstpad.h:
31177         * gst/gsttypefind.c: (gst_type_find_register):
31178         Make gst_caps_replace() work like other _replace() functions.
31179         Use _caps_replace() where possible.
31180         Make sure _message_new() initialises its field.
31181         Add gst_static_pad_template_get_caps()
31182
31183
31184 2005-04-18  Andy Wingo  <wingo@pobox.com>
31185
31186         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31187         on the peer, not the pad. I think that was a typo. Pass an extra
31188         arg to see if random access is possible. Activate the pads as
31189         PULL_RANGE if possible.
31190
31191         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31192
31193         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31194         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31195         to PROP_....
31196
31197 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31198
31199         * docs/faq/using.xml:
31200           Add note on gstreamer-properties (#154996).
31201
31202 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31203
31204         * docs/random/bbb/optional-properties:
31205           Some analysis on optional properties.
31206
31207 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31208
31209         * docs/gst/tmpl/gstelementfactory.sgml:
31210         * gst/gstelement.h:
31211         * gst/gstelementfactory.c: (gst_element_factory_init),
31212         (gst_element_factory_cleanup), (gst_element_register),
31213         (__gst_element_factory_add_static_pad_template),
31214         (gst_element_factory_get_static_pad_templates),
31215         (gst_element_factory_can_src_caps),
31216         (gst_element_factory_can_sink_caps):
31217         * gst/registries/Makefile.am:
31218         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31219         (gst_xml_registry_class_init), (gst_xml_registry_init),
31220         (gst_xml_registry_new), (gst_xml_registry_set_property),
31221         (gst_xml_registry_get_property), (get_time), (make_dir),
31222         (gst_xml_registry_get_perms_func),
31223         (plugin_times_older_than_recurse), (plugin_times_older_than),
31224         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31225         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31226         (add_to_char_array), (read_string), (read_uint), (read_enum),
31227         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31228         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31229         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31230         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31231         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31232         (gst_xml_registry_rebuild):
31233         * gst/registries/gstlibxmlregistry.h:
31234         * tools/gst-compprep.c: (main):
31235         * tools/gst-inspect.c: (print_pad_templates_info):
31236         * tools/gst-xmlinspect.c: (print_element_info):
31237           Use libxml2 for registry parsing, use staticpadtemplates in
31238           elementfactories. Makes gst_init() +/- 10x faster.
31239
31240 2005-04-12  Wim Taymans  <wim@fluendo.com>
31241
31242         * gst/base/Makefile.am:
31243         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31244         (gst_basesink_pad_getcaps), (gst_basesink_init),
31245         (gst_basesink_event), (gst_basesink_change_state):
31246         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31247         (gst_basesrc_init), (gst_basesrc_query),
31248         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31249         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31250         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31251         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31252         (gst_basesrc_stop), (gst_basesrc_activate),
31253         (gst_basesrc_change_state):
31254         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31255         (helper_find_suggest), (gst_type_find_helper):
31256         * gst/base/gsttypefindhelper.h:
31257         * gst/elements/Makefile.am:
31258         * gst/elements/gstelements.c:
31259         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31260         (gst_fakesink_get_times), (gst_fakesink_event),
31261         (gst_fakesink_preroll), (gst_fakesink_render):
31262         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31263         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31264         (gst_fakesrc_get_property), (gst_fakesrc_create),
31265         (gst_fakesrc_start), (gst_fakesrc_stop):
31266         * gst/elements/gstfakesrc.h:
31267         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31268         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31269         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31270         (gst_filesrc_create_read), (gst_filesrc_create),
31271         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31272         (gst_filesrc_start):
31273         * gst/elements/gsttypefindelement.c:
31274         (gst_type_find_element_have_type), (gst_type_find_element_init),
31275         (start_typefinding), (stop_typefinding), (push_buffer_store),
31276         (gst_type_find_element_handle_event),
31277         (gst_type_find_element_chain),
31278         (gst_type_find_element_checkgetrange),
31279         (gst_type_find_element_getrange), (do_typefind),
31280         (gst_type_find_element_activate),
31281         (gst_type_find_element_change_state):
31282         * gst/elements/gsttypefindelement.h:
31283         * gst/gstpipeline.c: (pipeline_bus_handler):
31284         Added typefind helper.
31285         Small preroll fix in the base sink.
31286         Disable typefind code in basesrc.
31287         Crude port of typefindelement.
31288         Fakesrc cleanups.
31289
31290
31291 2005-04-11  Wim Taymans  <wim@fluendo.com>
31292
31293         * check/gst/gstbus.c: (gstbus_suite):
31294         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31295         * check/gstcheck.h:
31296           Fix up the timeout so that the test does not fail.
31297
31298 2005-04-06  Wim Taymans  <wim@fluendo.com>
31299
31300         * gst/base/README:
31301         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31302         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31303         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31304         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31305         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31306         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31307         (gst_basesrc_stop), (gst_basesrc_activate),
31308         (gst_basesrc_change_state), (basesrc_find_peek),
31309         (basesrc_find_suggest), (gst_basesrc_type_find):
31310         * gst/base/gstbasesrc.h:
31311         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31312         (gst_filesrc_class_init), (gst_filesrc_init),
31313         (gst_filesrc_finalize), (gst_filesrc_set_location),
31314         (gst_filesrc_set_property), (gst_filesrc_get_property),
31315         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31316         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31317         (gst_filesrc_create_read), (gst_filesrc_create),
31318         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31319         * gst/elements/gstfilesrc.h:
31320         * gst/gstelement.c: (gst_element_get_state_func),
31321         (gst_element_lost_state), (gst_element_pads_activate):
31322         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31323         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31324         (gst_pad_pull_range):
31325         * gst/gstpad.h:
31326         More work on the generic source base class, implement seeking,
31327         query.
31328         Make filesrc extend the base source class.
31329         Added gst_pad_set_checkgetrange_function to GstPad.
31330
31331 2005-04-06  Andy Wingo  <wingo@pobox.com>
31332
31333         * pkgconfig/gstreamer-base.pc.in:
31334         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31335
31336         * pkgconfig/Makefile.am:
31337         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31338
31339 2005-04-04  Wim Taymans  <wim@fluendo.com>
31340
31341         * gst/base/Makefile.am:
31342         * gst/base/README:
31343         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31344         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31345         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31346         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31347         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31348         (gst_basesrc_base_init), (gst_basesrc_class_init),
31349         (gst_basesrc_init), (gst_basesrc_get_formats),
31350         (gst_basesrc_get_query_types), (gst_basesrc_query),
31351         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31352         (gst_basesrc_set_property), (gst_basesrc_get_property),
31353         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31354         (gst_basesrc_loop), (gst_basesrc_activate),
31355         (gst_basesrc_change_state):
31356         * gst/base/gstbasesrc.h:
31357         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31358         (gst_fakesrc_class_init), (gst_fakesrc_init),
31359         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31360         (gst_fakesrc_get_property), (gst_fakesrc_create):
31361         * gst/elements/gstfakesrc.h:
31362         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31363         (gst_filesrc_open_file), (gst_filesrc_loop),
31364         (gst_filesrc_activate), (filesrc_find_peek),
31365         (gst_filesrc_type_find):
31366         Made base source class, make fakesrc extend it.
31367         Add comments to basesink class.
31368         Some filesrc cleanup.
31369
31370 2005-03-31  David Schleef  <ds@schleef.org>
31371
31372         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31373         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31374         expected to link against libgstreamer.
31375         * gst/base/Makefile.am: link against libgstreamer
31376         * gst/elements/Makefile.am: same
31377
31378 2005-03-31  Andy Wingo  <wingo@pobox.com>
31379
31380         * tests/instantiate/Makefile.am:
31381         * tests/instantiate/caps.c: Add test to test speed of caps copy
31382         and free.
31383
31384         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31385         GMemChunk to be fair.
31386
31387         * gst/gsttrashstack.h: Remove warning about using the fallback
31388         trash stack implementation, it's still faster than malloc.
31389
31390 2005-03-30  Andy Wingo  <wingo@pobox.com>
31391
31392         * tests/complexity.c: Add a copyright.
31393
31394 2005-03-31  Wim Taymans  <wim@fluendo.com>
31395
31396         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31397         (gst_base_transform_class_init), (gst_base_transform_init),
31398         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31399         (gst_base_transform_get_property),
31400         (gst_base_transform_sink_activate),
31401         (gst_base_transform_src_activate),
31402         (gst_base_transform_change_state):
31403         * gst/base/gstbasetransform.h:
31404         * gst/elements/gstidentity.c: (gst_identity_class_init),
31405         (gst_identity_event), (gst_identity_check_perfect),
31406         (gst_identity_transform), (gst_identity_start),
31407         (gst_identity_stop):
31408         Added start/stop methods to transform base class so subclasses 
31409         don't need to deal with state changes even.
31410
31411 2005-03-31  Wim Taymans  <wim@fluendo.com>
31412
31413         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31414         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31415         * gst/gstevent.h:
31416         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31417         (gst_pad_pull_range):
31418         Added rate to the discont event to prepare for variable speed
31419         and reverse playback.
31420
31421 2005-03-29  David Schleef  <ds@schleef.org>
31422
31423         * configure.ac:
31424         * testsuite/trigger/Makefile.am:
31425         * testsuite/trigger/trigger.c: A little example program to show
31426         how trigger-based elements can work.
31427
31428 2005-03-29  Wim Taymans  <wim@fluendo.com>
31429
31430         * gst/base/Makefile.am:
31431         * gst/base/README:
31432         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31433         (gst_basesink_base_init), (gst_basesink_class_init),
31434         (gst_basesink_pad_getcaps), (gst_basesink_init),
31435         (gst_basesink_activate), (gst_basesink_change_state):
31436         * gst/base/gstbasesink.h:
31437         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31438         (gst_base_transform_base_init), (gst_base_transform_finalize),
31439         (gst_base_transform_class_init), (gst_base_transform_init),
31440         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31441         (gst_base_transform_event), (gst_base_transform_getrange),
31442         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31443         (gst_base_transform_set_property),
31444         (gst_base_transform_get_property),
31445         (gst_base_transform_sink_activate),
31446         (gst_base_transform_src_activate),
31447         (gst_base_transform_change_state):
31448         * gst/base/gstbasetransform.h:
31449         * gst/elements/gstidentity.c: (gst_identity_finalize),
31450         (gst_identity_class_init), (gst_identity_init),
31451         (gst_identity_event), (gst_identity_check_perfect),
31452         (gst_identity_transform), (gst_identity_set_property),
31453         (gst_identity_get_property), (gst_identity_change_state):
31454         * gst/elements/gstidentity.h:
31455         * gst/gstelement.c: (gst_element_get_state_func),
31456         (gst_element_lost_state), (gst_element_pads_activate):
31457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31458         (gst_pad_check_pull_range), (gst_pad_pull_range):
31459         * gst/gstpad.h:
31460         Simplify pad activation.
31461         Added function to check if pull_range can be performed.
31462         Error out when pulling inactive or flushing pads.
31463         Removed const from refcounted types as it does not make sense.
31464         Simplify pad templates in basesink
31465         Added base class for simple 1-to-1 transforms.
31466         Make identity subclass the base transform.
31467
31468 2005-03-29  Andy Wingo  <wingo@pobox.com>
31469
31470         * docs/libs/gstreamer-libs-overrides.txt: 
31471         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31472         really don't understand what's going on, but like whatever. I want
31473         green buildbot!
31474
31475         * docs/gst/Makefile.am:
31476         * docs/libs/Makefile.am: Dist the overrides files.
31477
31478         * check/Makefile.am (clean-local): Remove .libs directories.
31479
31480         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31481         elements to EXTRA_DIST, so po/ files are happy.
31482
31483         * po/POTFILES.in: Er, remove it here.
31484
31485         * po/POTFILES: Remove gstspider.c.
31486
31487         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31488
31489         * docs/libs/gstreamer-libs-docs.sgml: 
31490         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31491         bytestream.
31492
31493         * tests/complexity.c (main): Set the length of the preroll queue
31494         on the sinks to prevent a lockup.
31495
31496         * libs/gst/dataprotocol/Makefile.am: 
31497         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31498         the same as the one in check/gst-libs/gdp.c.
31499
31500         * po/, docs/gst/: Commit automatic changes to docs and po files.
31501
31502         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31503         the versioned libgstbase.
31504
31505         * check/Makefile.am: Depend on an unversioned gst-register, seems
31506         to make autoconf happier.
31507
31508         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31509
31510 2005-03-28  Wim Taymans  <wim@fluendo.com>
31511
31512         * configure.ac:
31513         * docs/design/part-gstelement.txt:
31514         * docs/design/part-negotiation.txt:
31515         * docs/design/part-preroll.txt:
31516         * docs/design/part-scheduling.txt:
31517         * docs/design/part-states.txt:
31518         * gst/Makefile.am:
31519         * gst/base/Makefile.am:
31520         * gst/base/README:
31521         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31522         (gst_basesink_base_init), (gst_basesink_class_init),
31523         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31524         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31525         (gst_basesink_set_pad_functions),
31526         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31527         (gst_basesink_set_property), (gst_basesink_get_property),
31528         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31529         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31530         (gst_basesink_preroll_queue_push),
31531         (gst_basesink_preroll_queue_empty),
31532         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31533         (gst_basesink_event), (gst_basesink_get_times),
31534         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31535         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31536         (gst_basesink_loop), (gst_basesink_activate),
31537         (gst_basesink_change_state):
31538         * gst/base/gstbasesink.h:
31539         * gst/elements/Makefile.am:
31540         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31541         (gst_fakesink_class_init), (gst_fakesink_init),
31542         (gst_fakesink_set_property), (gst_fakesink_get_property),
31543         (gst_fakesink_get_times), (gst_fakesink_event),
31544         (gst_fakesink_preroll), (gst_fakesink_render),
31545         (gst_fakesink_change_state):
31546         * gst/elements/gstfakesink.h:
31547         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31548         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31549         * gst/gstelement.c: (gst_element_add_pad),
31550         (gst_element_get_state_func), (gst_element_abort_state),
31551         (gst_element_commit_state), (gst_element_lost_state),
31552         (gst_element_set_state), (gst_element_pads_activate):
31553         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31554         * gst/gstpipeline.c: (gst_pipeline_send_event),
31555         (gst_pipeline_change_state):
31556         Added state change code.
31557         Added/updated docs.
31558         Added sink base class, make fakesink extend the base class.
31559         Small cleanups in GstPipeline.
31560
31561 2005-03-26  David Schleef  <ds@schleef.org>
31562
31563         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31564         is broken and should be implemented in a different library.
31565         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31566         * gst/gst.h: remove gstcpu.h
31567         * gst/gstcpu.c: remove
31568         * gst/gstcpu.h: remove
31569         * gst/Makefile.am.future: Remove this file.  It's ancient.
31570
31571 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31572
31573         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31574         (gst_bin_send_event):
31575           Add default event/set_manager handlers. The set_manager handler
31576           takes care that the manager is distributed over kids that were
31577           already in the bin before the manager was set. The event handler
31578           is a utility virtual function that sends the event over all sinks,
31579           so that gst_element_send_event (bin, event); has the expected
31580           behaviour.
31581         * gst/gstpad.c: (gst_pad_event_default):
31582           Re-install default event handling for discontinuities, so that
31583           seeking works without requiring hacks in applications or extra
31584           code in sinks.
31585         * gst/gstpipeline.c: (gst_pipeline_class_init),
31586         (gst_pipeline_send_event):
31587           Half hack, half utility: set a pipeline to PAUSED for seek events,
31588           since that is the only way we can guarantee a/v sync. Means that
31589           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31590           and it "just works".
31591
31592 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31593
31594         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31595           Lock/unlock mismatch.
31596
31597 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31598
31599         * docs/faq/gst-uninstalled:
31600           add gst-plugins-base
31601         * docs/gst/Makefile.am:
31602           don't error out until docs are fixed
31603         * docs/gst/gstreamer.types:
31604           remove thread
31605
31606 2005-03-22  Wim Taymans  <wim@fluendo.com>
31607
31608         * check/Makefile.am:
31609         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31610         * gst/gststructure.c: (gst_structure_set_valist),
31611         (gst_structure_copy_conditional):
31612         Activated more tests.
31613         Added message test.
31614         Added G_TYPE_POINTER to GstStructure.
31615         
31616
31617 2005-03-22  Wim Taymans  <wim@fluendo.com>
31618
31619         * docs/design/part-TODO.txt:
31620         * docs/design/part-events.txt:
31621         * docs/design/part-gstbin.txt:
31622         * docs/design/part-gstbus.txt:
31623         * docs/design/part-gstpipeline.txt:
31624         * docs/design/part-messages.txt:
31625         * gst/gstbus.c:
31626         * gst/gstmessage.c:
31627         Docs updates
31628
31629 2005-03-21  Wim Taymans  <wim@fluendo.com>
31630
31631         * gst/gstbus.c: (gst_bus_post):
31632         Fix copy-and-paste error.
31633
31634 2005-03-21  Wim Taymans  <wim@fluendo.com>
31635
31636         * check/Makefile.am:
31637         * gst/Makefile.am:
31638         * gst/elements/Makefile.am:
31639         * gst/elements/gstelements.c:
31640         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31641         (gst_fakesink_event), (gst_fakesink_chain):
31642         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31643         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31644         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31645         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31646         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31647         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31648         (gst_fakesrc_loop), (gst_fakesrc_activate),
31649         (gst_fakesrc_change_state):
31650         * gst/elements/gstfakesrc.h:
31651         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31652         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31653         (gst_filesrc_open_file), (gst_filesrc_loop),
31654         (gst_filesrc_activate), (gst_filesrc_change_state),
31655         (filesrc_find_peek), (filesrc_find_suggest),
31656         (gst_filesrc_type_find):
31657         * gst/elements/gstidentity.c: (gst_identity_finalize),
31658         (gst_identity_class_init), (gst_identity_init),
31659         (gst_identity_proxy_getcaps), (identity_queue_push),
31660         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31661         (gst_identity_getrange), (gst_identity_chain),
31662         (gst_identity_sink_loop), (gst_identity_src_loop),
31663         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31664         (gst_identity_set_property), (gst_identity_get_property),
31665         (gst_identity_change_state):
31666         * gst/elements/gstidentity.h:
31667         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31668         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31669         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31670         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31671         (gst_tee_sink_activate):
31672         * gst/elements/gsttee.h:
31673         * gst/gst.c: (gst_register_core_elements), (init_post):
31674         * gst/gst.h:
31675         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31676         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31677         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31678         (gst_bin_change_state):
31679         * gst/gstbin.h:
31680         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31681         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31682         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31683         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31684         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31685         (bus_watch_callback), (bus_watch_destroy),
31686         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31687         (poll_timeout), (gst_bus_poll):
31688         * gst/gstbus.h:
31689         * gst/gstcaps.h:
31690         * gst/gstdata.h:
31691         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31692         (gst_element_post_message), (gst_element_message_full),
31693         (gst_element_get_state_func), (gst_element_get_state),
31694         (gst_element_abort_state), (gst_element_commit_state),
31695         (gst_element_lost_state), (gst_element_set_state),
31696         (gst_element_pads_activate), (gst_element_change_state),
31697         (gst_element_dispose), (gst_element_set_manager_func),
31698         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31699         (gst_element_set_manager), (gst_element_get_manager),
31700         (gst_element_set_bus), (gst_element_get_bus),
31701         (gst_element_set_scheduler), (gst_element_get_scheduler):
31702         * gst/gstelement.h:
31703         * gst/gstevent.c: (gst_event_new_segment_seek),
31704         (gst_event_new_flush):
31705         * gst/gstevent.h:
31706         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31707         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31708         (gst_message_new_eos), (gst_message_new_error),
31709         (gst_message_new_warning), (gst_message_new_tag),
31710         (gst_message_new_state_changed), (gst_message_new_application),
31711         (gst_message_get_structure), (gst_message_parse_tag),
31712         (gst_message_parse_state_changed), (gst_message_parse_error),
31713         (gst_message_parse_warning):
31714         * gst/gstmessage.h:
31715         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31716         (gst_real_pad_set_property), (gst_pad_set_active),
31717         (gst_pad_is_active), (gst_pad_set_blocked_async),
31718         (gst_pad_set_blocked), (gst_pad_is_blocked),
31719         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31720         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31721         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31722         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31723         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31724         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31725         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31726         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31727         (gst_pad_set_caps), (gst_pad_configure_sink),
31728         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31729         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31730         (gst_real_pad_dispose), (gst_real_pad_finalize),
31731         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31732         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31733         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31734         * gst/gstpad.h:
31735         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31736         (pipeline_bus_handler), (gst_pipeline_change_state),
31737         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31738         * gst/gstpipeline.h:
31739         * gst/gstprobe.h:
31740         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31741         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31742         (gst_queue_link_src), (gst_queue_bufferalloc),
31743         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31744         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31745         (gst_queue_loop), (gst_queue_handle_src_event),
31746         (gst_queue_handle_src_query), (gst_queue_src_activate),
31747         (gst_queue_change_state):
31748         * gst/gstqueue.h:
31749         * gst/gstscheduler.c: (gst_scheduler_init),
31750         (gst_scheduler_dispose), (gst_scheduler_create_task),
31751         (gst_scheduler_factory_create):
31752         * gst/gstscheduler.h:
31753         * gst/gststructure.c: (gst_structure_get_type),
31754         (gst_structure_copy_conditional):
31755         * gst/gststructure.h:
31756         * gst/gsttaginterface.h:
31757         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31758         (gst_task_init), (gst_task_dispose), (gst_task_create),
31759         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31760         (gst_task_pause):
31761         * gst/gsttask.h:
31762         * gst/gstthread.c:
31763         * gst/gstthread.h:
31764         * gst/gsttypes.h:
31765         * gst/schedulers/Makefile.am:
31766         * gst/schedulers/cothreads_compat.h:
31767         * gst/schedulers/entryscheduler.c:
31768         * gst/schedulers/faircothreads.c:
31769         * gst/schedulers/faircothreads.h:
31770         * gst/schedulers/fairscheduler.c:
31771         * gst/schedulers/gstbasicscheduler.c:
31772         * gst/schedulers/gstoptimalscheduler.c:
31773         * gst/schedulers/gthread-cothreads.h:
31774         * gst/schedulers/threadscheduler.c:
31775         (gst_thread_scheduler_task_get_type),
31776         (gst_thread_scheduler_task_class_init),
31777         (gst_thread_scheduler_task_init),
31778         (gst_thread_scheduler_task_start),
31779         (gst_thread_scheduler_task_stop),
31780         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31781         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31782         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31783         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31784         (plugin_init):
31785         * libs/gst/Makefile.am:
31786         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31787         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31788         (gst_file_pad_parent_set):
31789         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31790         (gst_dp_event_from_packet):
31791         * tests/complexity.c: (main):
31792         * tests/mass_elements.c: (main):
31793         * testsuite/states/locked.c: (message_received), (main):
31794         * testsuite/states/parent.c: (main):
31795         * tools/gst-inspect.c: (print_element_flag_info),
31796         (print_implementation_info), (print_pad_info):
31797         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31798         (main):
31799         * tools/gst-md5sum.c: (event_loop), (main):
31800         * tools/gst-typefind.c: (main):
31801         * tools/gst-xmlinspect.c: (print_element_info):
31802         Next big merge.
31803         Added GstBus for mainloop integration.
31804         Added GstMessage for sending notifications on the bus.
31805         Added GstTask as an abstraction for pipeline entry points.
31806         Removed GstThread.
31807         Removed Schedulers.
31808         Simplified GstQueue for multithreaded core.
31809         Made _link threadsafe, removed old capsnego.
31810         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31811         Added pad blocking functions.
31812         Reworked scheduling functions in GstPad to prepare for
31813         scheduling updates soon.
31814         Moved events out of data stream.
31815         Simplified GstEvent types.
31816         Added return values to push/pull.
31817         Removed clocking from GstElement.
31818         Added prototypes for state change function for next merge.
31819         Removed iterate from bins and state change management.
31820         Fixed some elements, disabled others for now.
31821         Fixed -inspect and -launch.
31822         Added check for GstBus.
31823
31824 2005-03-10  Wim Taymans  <wim@fluendo.com>
31825
31826         * docs/design/part-MT-refcounting.txt:
31827         * docs/design/part-clocks.txt:
31828         * docs/design/part-gstelement.txt:
31829         * docs/design/part-gstobject.txt:
31830         * docs/design/part-standards.txt:
31831         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31832         (gst_bin_remove_func), (gst_bin_remove):
31833         * gst/gstbin.h:
31834         * gst/gstbuffer.c:
31835         * gst/gstcaps.h:
31836         * testsuite/clock/clock1.c: (main):
31837         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31838         (main):
31839         * testsuite/dlopen/loadgst.c: (do_test):
31840         * testsuite/refcounting/bin.c: (add_remove_test1),
31841         (add_remove_test2), (main):
31842         * testsuite/refcounting/element.c: (main):
31843         * testsuite/refcounting/element_pad.c: (main):
31844         * testsuite/refcounting/pad.c: (main):
31845         * tools/gst-launch.c: (sigint_handler_sighandler):
31846         * tools/gst-typefind.c: (main):
31847         Doc updates.
31848         Added doc about clock.
31849         removed gst_bin_iterate_recurse_up(), marked methods
31850         for removal.
31851         Fix more testsuites.
31852
31853 2005-03-09  Wim Taymans  <wim@fluendo.com>
31854
31855         * gst/gstpad.c: (gst_pad_get_direction),
31856         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31857         (gst_pad_collect_valist):
31858         * testsuite/bins/interface.c: (main):
31859         * testsuite/caps/audioscale.c: (test_caps):
31860         * testsuite/caps/caps.c: (test1), (test2), (test3):
31861         * testsuite/caps/deserialize.c: (main):
31862         * testsuite/caps/enumcaps.c: (main):
31863         * testsuite/caps/filtercaps.c: (main):
31864         * testsuite/caps/intersect2.c: (main):
31865         * testsuite/caps/random.c: (main):
31866         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31867         * testsuite/caps/sets.c: (check_caps):
31868         * testsuite/caps/simplify.c: (check_caps), (main):
31869         * testsuite/caps/subtract.c: (check_caps):
31870         Fix _pad_get_direction wrt ghostpads.
31871         Fix caps testsuite.
31872
31873 2005-03-09  Wim Taymans  <wim@fluendo.com>
31874
31875         * check/Makefile.am:
31876         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31877         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31878         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31879         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31880         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31881         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31882         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31883         (bin_element_is_sink), (gst_bin_iterate_sinks),
31884         (gst_bin_iterate_all_by_interface):
31885         * gst/gstbin.h:
31886         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31887         (gst_element_change_state), (gst_element_dispose),
31888         (gst_element_finalize), (gst_element_set_loop_function):
31889         * gst/gstelement.h:
31890         * gst/gstiterator.c: (find_custom_fold_func):
31891         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31892         (gst_pad_collectv), (gst_pad_collect_valist),
31893         (gst_pad_template_new):
31894         * gst/gstpipeline.c: (gst_pipeline_class_init),
31895         (gst_pipeline_dispose), (gst_pipeline_set_property),
31896         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31897         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31898         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31899         * gst/gstutils.h:
31900         * gst/schedulers/entryscheduler.c:
31901         * gst/schedulers/gstbasicscheduler.c:
31902         (gst_basic_scheduler_cothreaded_chain),
31903         (gst_basic_scheduler_chain_add_element):
31904         * testsuite/bins/interface.c: (main):
31905         Added GstBin test.
31906         Added GstSystemClock test.
31907         Implemented clock distribution code in GstBin.
31908         Implemented iterate sinks method for future use.
31909         Rearranged gstelement.h
31910         Fix GstIterator comparison bug.
31911         Moved some code to GstPipeline, mostly clocking related.
31912
31913 2005-03-09  Wim Taymans  <wim@fluendo.com>
31914
31915         * configure.ac:
31916         * gst/gst_private.h:
31917         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31918         (gst_bin_remove_func), (gst_bin_remove),
31919         (gst_bin_get_by_name_recurse_up):
31920         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31921         (gst_clock_id_compare_func), (gst_clock_id_wait),
31922         (gst_clock_id_wait_async), (gst_clock_init),
31923         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31924         * gst/gstelement.h:
31925         * gst/gstinfo.c: (_gst_debug_init):
31926         * gst/gstobject.h:
31927         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31928         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31929         * gst/gstpad.h:
31930         Bump version number, we're now 0.9.0
31931         Add future debugging category.
31932         Fix NULL _unref() in _get_by_name_recurse_up
31933         Rearrange gstpad.h.
31934         Update some docs.
31935
31936 2005-03-08  Wim Taymans  <wim@fluendo.com>
31937
31938         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31939         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31940         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31941         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31942         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31943         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31944         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31945         * gst/elements/gstidentity.c: (gst_identity_class_init):
31946         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31947         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31948         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31949         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31950         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31951         (gst_tee_link):
31952         * gst/gstelement.c: (gst_element_class_init),
31953         (gst_element_base_class_init), (gst_element_init),
31954         (gst_element_get_random_pad), (gst_element_wait_state_change),
31955         (gst_element_change_state), (gst_element_dispose),
31956         (gst_element_finalize), (gst_element_set_loop_function):
31957         * gst/gstelement.h:
31958         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31959         * gst/gstthread.c: (gst_thread_class_init),
31960         (gst_thread_release_children_locks), (gst_thread_change_state):
31961         * gst/schedulers/gstbasicscheduler.c:
31962         (gst_basic_scheduler_loopfunc_wrapper),
31963         (gst_basic_scheduler_chain_wrapper),
31964         (gst_basic_scheduler_src_wrapper),
31965         (gst_basic_scheduler_remove_element):
31966         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31967         Remove threadsafe properties. Fix elements because GObject
31968         complains when installing a property before declaring a
31969         set/get_property handler.
31970         Rearrange gstelement.h file, use STATE macros for state locks.
31971         Free mutexes in the finalize method instead of dispose.
31972
31973 2005-03-08  Wim Taymans  <wim@fluendo.com>
31974
31975         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31976         * gst/gstthread.c: (gst_thread_release_children_locks):
31977         Added parentage check.
31978         Fix build og GstThread again.
31979
31980 2005-03-08  Wim Taymans  <wim@fluendo.com>
31981
31982         * docs/design/part-MT-refcounting.txt:
31983         * docs/design/part-conventions.txt:
31984         * docs/design/part-gstobject.txt:
31985         * docs/design/part-relations.txt:
31986         * docs/design/part-standards.txt:
31987         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31988         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
31989         (gst_bin_get_by_name), (gst_bin_get_by_interface),
31990         (gst_bin_iterate_all_by_interface):
31991         * gst/gstbuffer.h:
31992         * gst/gstclock.h:
31993         * gst/gstelement.c: (gst_element_class_init),
31994         (gst_element_change_state), (gst_element_set_loop_function):
31995         * gst/gstelement.h:
31996         * gst/gstiterator.c:
31997         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
31998         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
31999         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32000         (gst_object_set_parent), (gst_object_unparent),
32001         (gst_object_check_uniqueness):
32002         * gst/gstobject.h:
32003         Docs updates, clean up some headers.
32004
32005 2005-03-07  Wim Taymans  <wim@fluendo.com>
32006
32007         * check/.cvsignore:
32008         * check/Makefile.am:
32009         * check/gst-libs/.cvsignore:
32010         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32011         * check/gst/.cvsignore:
32012         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32013         (START_TEST), (gstbus_suite), (main):
32014         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32015         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32016         (gst_data_suite), (main):
32017         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32018         (add_fold_func), (gstiterator_suite), (main):
32019         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32020         (thread_name_object), (thread_name_object_default),
32021         (gst_object_name_compare), (gst_object_suite), (main):
32022         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32023         (gst_pad_suite), (main):
32024         * check/gstcheck.c: (gst_check_log_message_func),
32025         (gst_check_log_critical_func), (gst_check_init):
32026         * check/gstcheck.h:
32027         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32028         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32029         Added checks.
32030
32031 2005-03-07  Wim Taymans  <wim@fluendo.com>
32032
32033         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32034         (gst_list_iterator_next), (gst_list_iterator_resync),
32035         (gst_list_iterator_free), (gst_iterator_new_list),
32036         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32037         (gst_iterator_free), (gst_iterator_push), (filter_next),
32038         (filter_resync), (filter_uninit), (filter_free),
32039         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32040         (gst_iterator_foreach), (find_custom_fold_func),
32041         (gst_iterator_find_custom):
32042         * gst/gstiterator.h:
32043         Added missing files.
32044
32045 2005-03-07  Wim Taymans  <wim@fluendo.com>
32046
32047         * Makefile.am:
32048         * configure.ac:
32049         * docs/design/part-MT-refcounting.txt:
32050         * docs/design/part-conventions.txt:
32051         * docs/design/part-gstobject.txt:
32052         * docs/design/part-relations.txt:
32053         * examples/mixer/mixer.c: (main):
32054         * examples/thread/thread.c: (eos), (main):
32055         * gst/Makefile.am:
32056         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32057         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32058         (gst_spider_plug_from_srcpad):
32059         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32060         (gst_spider_identity_change_state),
32061         (gst_spider_identity_sink_loop_type_finding):
32062         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32063         * gst/elements/gstidentity.c: (gst_identity_init):
32064         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32065         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32066         * gst/elements/gsttypefindelement.c: (free_entry):
32067         * gst/gst.c:
32068         * gst/gst.h:
32069         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32070         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32071         (gst_bin_set_index), (gst_bin_set_element_sched),
32072         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32073         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32074         (gst_bin_iterate_elements), (iterate_child_recurse),
32075         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32076         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32077         (compare_interface), (gst_bin_get_by_interface),
32078         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32079         * gst/gstbin.h:
32080         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32081         (gst_buffer_default_free), (gst_buffer_default_copy),
32082         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32083         (gst_buffer_create_sub):
32084         * gst/gstbuffer.h:
32085         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32086         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32087         (gst_caps_unref), (gst_static_caps_get),
32088         (gst_caps_remove_and_get_structure), (gst_caps_append),
32089         (gst_caps_append_structure), (gst_caps_remove_structure),
32090         (gst_caps_copy_nth), (gst_caps_set_simple),
32091         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32092         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32093         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32094         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32095         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32096         (gst_caps_structure_figure_out_union),
32097         (gst_caps_switch_structures), (gst_caps_do_simplify),
32098         (gst_caps_replace), (gst_caps_from_string),
32099         (gst_caps_copy_conditional):
32100         * gst/gstcaps.h:
32101         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32102         (_gst_clock_id_free), (gst_clock_id_unref),
32103         (gst_clock_id_compare_func), (gst_clock_id_wait),
32104         (gst_clock_id_wait_async), (gst_clock_class_init),
32105         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32106         (gst_clock_get_time), (gst_clock_set_time_adjust),
32107         (gst_clock_set_property), (gst_clock_get_property):
32108         * gst/gstclock.h:
32109         * gst/gstcompat.h:
32110         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32111         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32112         * gst/gstdata.h:
32113         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32114         (gst_element_requires_clock), (gst_element_provides_clock),
32115         (gst_element_set_clock), (gst_element_clock_wait),
32116         (gst_element_wait), (gst_element_set_time_delay),
32117         (gst_element_is_indexable), (gst_element_add_pad),
32118         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32119         (pad_compare_name), (gst_element_get_static_pad),
32120         (gst_element_request_pad), (gst_element_get_request_pad),
32121         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32122         (gst_element_class_get_pad_template_list),
32123         (gst_element_class_get_pad_template), (gst_element_error_func),
32124         (gst_element_get_random_pad), (gst_element_get_event_masks),
32125         (gst_element_send_event), (gst_element_seek),
32126         (gst_element_get_query_types), (gst_element_query),
32127         (gst_element_get_formats), (gst_element_convert),
32128         (gst_element_is_locked_state), (gst_element_set_locked_state),
32129         (gst_element_sync_state_with_parent), (gst_element_change_state),
32130         (gst_element_finalize), (gst_element_yield),
32131         (gst_element_interrupt), (gst_element_set_scheduler),
32132         (gst_element_get_scheduler), (gst_element_set_loop_function):
32133         * gst/gstelement.h:
32134         * gst/gstevent.h:
32135         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32136         (gst_format_get_by_nick), (gst_format_get_details),
32137         (gst_format_iterate_definitions):
32138         * gst/gstformat.h:
32139         * gst/gstindex.c: (gst_index_gtype_resolver):
32140         * gst/gstinfo.c:
32141         * gst/gstinfo.h:
32142         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32143         (gst_mem_chunk_free):
32144         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32145         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32146         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32147         (gst_object_dispatch_properties_changed),
32148         (gst_object_set_name_default), (gst_object_set_name),
32149         (gst_object_get_name), (gst_object_set_name_prefix),
32150         (gst_object_get_name_prefix), (gst_object_set_parent),
32151         (gst_object_get_parent), (gst_object_unparent),
32152         (gst_object_check_uniqueness), (gst_object_save_thyself),
32153         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32154         (gst_object_set_property), (gst_object_get_property),
32155         (gst_object_get_path_string):
32156         * gst/gstobject.h:
32157         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32158         (gst_real_pad_init), (gst_real_pad_get_property),
32159         (gst_pad_custom_new), (gst_pad_get_direction),
32160         (gst_pad_set_active), (gst_pad_is_active),
32161         (gst_pad_set_event_function), (gst_pad_is_linked),
32162         (gst_pad_link_free), (gst_pad_link_intersect),
32163         (gst_pad_link_fixate), (gst_pad_set_caps),
32164         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32165         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32166         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32167         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32168         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32169         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32170         (gst_pad_realize), (gst_pad_get_allowed_caps),
32171         (gst_real_pad_dispose), (gst_real_pad_finalize),
32172         (gst_pad_collectv), (gst_pad_collect_valist),
32173         (gst_pad_template_dispose), (gst_pad_template_new),
32174         (gst_pad_get_internal_links):
32175         * gst/gstpad.h:
32176         * gst/gstpipeline.c: (gst_pipeline_dispose),
32177         (gst_pipeline_change_state):
32178         * gst/gstpipeline.h:
32179         * gst/gstplugin.c:
32180         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32181         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32182         * gst/gstpluginfeature.h:
32183         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32184         * gst/gstquery.c: (_gst_query_type_initialize),
32185         (gst_query_type_register), (gst_query_type_get_by_nick),
32186         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32187         * gst/gstquery.h:
32188         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32189         * gst/gstscheduler.c: (gst_scheduler_add_element),
32190         (gst_scheduler_factory_create):
32191         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32192         (gst_structure_free), (gst_structure_set_name),
32193         (gst_structure_id_set_value), (gst_structure_set_value),
32194         (gst_structure_set_valist), (gst_structure_remove_field),
32195         (gst_structure_remove_fields),
32196         (gst_structure_remove_fields_valist),
32197         (gst_structure_remove_all_fields), (gst_structure_foreach),
32198         (gst_structure_map_in_place),
32199         (gst_caps_structure_fixate_field_nearest_int),
32200         (gst_caps_structure_fixate_field_nearest_double):
32201         * gst/gststructure.h:
32202         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32203         (gst_system_clock_init), (gst_system_clock_dispose),
32204         (gst_system_clock_async_thread),
32205         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32206         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32207         * gst/gstsystemclock.h:
32208         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32209         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32210         * gst/gsttaginterface.c:
32211         * gst/gstthread.c: (gst_thread_dispose),
32212         (gst_thread_release_children_locks), (gst_thread_change_state),
32213         (gst_thread_main_loop):
32214         * gst/gsttrashstack.h:
32215         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32216         * gst/gsttypes.h:
32217         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32218         (gst_element_request_pad), (gst_element_get_pad_from_template),
32219         (gst_element_request_compatible_pad),
32220         (gst_element_get_compatible_pad_filtered),
32221         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32222         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32223         (gst_element_link_many), (gst_element_link),
32224         (gst_element_link_pads), (gst_element_unlink_pads),
32225         (gst_element_unlink_many), (gst_element_unlink),
32226         (gst_pad_can_link_filtered), (gst_pad_can_link),
32227         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32228         (gst_object_default_error), (gst_bin_add_many),
32229         (gst_bin_remove_many), (gst_element_populate_std_props),
32230         (gst_element_class_install_std_props), (gst_buffer_merge),
32231         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32232         (link_fold_func), (gst_pad_proxy_setcaps):
32233         * gst/gstutils.h:
32234         * gst/gstvalue.c: (gst_value_deserialize_string):
32235         * gst/parse/grammar.y:
32236         * gst/schedulers/gstbasicscheduler.c:
32237         (gst_basic_scheduler_cothreaded_chain),
32238         (gst_basic_scheduler_chain_recursive_add),
32239         (gst_basic_scheduler_pad_link):
32240         * gst/schedulers/gstoptimalscheduler.c:
32241         (get_group_schedule_function),
32242         (gst_opt_scheduler_state_transition),
32243         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32244         * libs/gst/bytestream/bytestream.c:
32245         * libs/gst/dataprotocol/dataprotocol.c:
32246         (gst_dp_header_from_buffer):
32247         * po/nb.po:
32248         * po/ru.po:
32249         * tests/threadstate/threadstate2.c: (eos):
32250         * tools/gst-compprep.c: (main):
32251         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32252         (print_pad_info), (print_children_info):
32253         * tools/gst-launch.c: (idle_func), (main):
32254         * tools/gst-md5sum.c: (idle_func), (main):
32255         * tools/gst-xmlinspect.c: (print_element_info):
32256         First THREADED backport attempt, focusing on adding locks and
32257         making sure the API is threadsafe. Needs more work. More docs
32258         follow this week.
32259
32260 2005-02-24  Andy Wingo  <wingo@pobox.com>
32261
32262         * tests/bench-complexity.scm:
32263         * tests/complexity.gnuplot: New files, good for running complexity
32264         benchmarks.
32265
32266         * tests/Makefile.am:
32267         * tests/complexity.c: New test, sets up N elements, at each level
32268         teeing into M streams per element. Eeeenteresting.
32269
32270         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32271         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32272         running bench-mass_elements.scm.
32273
32274         * tests/bench-mass_elements.scm: New script, runs mass_elements
32275         for various numbers of identities, outputting the results to a
32276         file. Requires guile 1.6. Just for testing.
32277
32278 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32279
32280         * gst/schedulers/fairscheduler.c:
32281           compile with debug disabled
32282
32283 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32284
32285         * configure.ac:
32286           hunting season on 0.9 is now OPEN