libs/gst/base/gstbasesink.c: Release the object lock before calling the query convert...
[platform/upstream/gstreamer.git] / ChangeLog
1 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position_last),
4         (gst_base_sink_get_position_paused), (gst_base_sink_get_position):
5         Release the object lock before calling the query convert pad functions
6         to avoid deadlocks.
7
8 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
9
10         * gst/gstbus.c: (gst_bus_wakeup_main_context):
11         The lock order should be maincontext > OBJECT_LOCK so we need to release
12         the object lock when waking up the mainloop to avoid deadlocks.
13
14 2009-01-05  Wim Taymans  <wim.taymans@collabora.co.uk>
15
16         * gst/gstbin.c: (gst_bin_set_index_func), (gst_bin_set_clock_func),
17         (gst_bin_change_state_func):
18         Use an iterator to set the clock and the index so that we can release
19         the object lock appropriately. Fixes #566393.
20
21 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
22
23         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_available):
24         Use the name of the pads instead of a pointer, helps in debugging.
25
26 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
27
28         * gst/gstindex.c: (gst_index_get_type):
29         Add a debugging category for GstIndex, first little step in making
30         indexing top-notch.
31
32 2009-01-03  Edward Hervey  <edward.hervey@collabora.co.uk>
33
34         * gst/gstelement.c: (gst_element_message_full),
35         (gst_element_pads_activate):
36         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
37         * gst/gstutils.c: (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps),
38         (gst_pad_add_data_probe_full), (gst_pad_add_event_probe_full),
39         (gst_pad_add_buffer_probe_full), (gst_pad_remove_data_probe),
40         (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe):
41         Assign debug statements to relevant categories instead of the 'default'
42         category so they don't get lost in debugging.
43
44 2009-01-01  Stefan Kost  <ensonic@users.sf.net>
45
46         * gst/gstdebugutils.c:
47           Add some ideas, how to make the graph smaller.
48
49         * gst/gstutils.c:
50           Add a comment from a debug session.
51
52         * libs/gst/base/gstbasetransform.c:
53           Log more context.
54
55         * libs/gst/controller/gstinterpolationcontrolsource.c:
56           Indet.
57
58         * plugins/elements/gstcapsfilter.c:
59           Fix typo in docs.
60
61 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
62
63         * gst/gstbus.c: (gst_bus_dispose), (gst_bus_get_property),
64           (gst_bus_wakeup_main_context), (gst_bus_set_main_context),
65           (gst_bus_post), (gst_bus_source_prepare), (gst_bus_source_finalize),
66           (gst_bus_create_watch):
67           Make GstBusSource work with non-default main contexts (#562170).
68
69         * tests/check/gst/gstbus.c: (message_func_eos), (message_func_app),
70           (test_watch), (test_watch_with_custom_context), (gst_bus_suite):
71           Add test case for GstBusSource with a non-default main context.
72
73         * tests/check/libs/.cvsignore:
74           Ignore more.
75
76 2008-12-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
77
78         * gst/gstregistrybinary.c: (unpack_element), (unpack_const_string),
79           (unpack_string)::
80           Wrap multi-line macros in G_STMT_{START|END}.
81
82 2008-12-20  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
83
84         * docs/gst/gstreamer-sections.txt:
85         * gst/gstquark.c:
86         * gst/gstquark.h:
87         * gst/gstquery.c: (gst_query_new_uri), (gst_query_set_uri),
88         (gst_query_parse_uri):
89         * gst/gstquery.h:
90         API: Add URI query type. This is useful to query the URI
91         of a sink/source element and can be used by demuxers that
92         need to get data from other files.
93         This query should go upstream by default.
94         Fixes bug #562949.
95         * plugins/elements/gstfdsink.c: (gst_fd_sink_query):
96         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
97         (gst_fd_src_query):
98         * plugins/elements/gstfilesink.c: (gst_file_sink_query):
99         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
100         (gst_file_src_query):
101         Implement URI query.
102
103 2008-12-19  Alessandro Decina <alessandro.decina@collabora.co.uk>
104
105         * gst/gstghostpad.c:
106         * tests/check/gst/gstghostpad.c:
107         Don't forward gst_pad_set_caps() on a source ghostpad to its target.
108         That would cause the ghostpad to emit notify::caps two times (fist
109         from gst_pad_set_caps() and after from on_src_target_notify()).
110
111 2008-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
112
113         * tests/check/gst/gstghostpad.c: (ghost_notify_caps),
114         (GST_START_TEST):
115         Add some more unit-tests for the ghostpad notify signal, one of which
116         currently fails.
117
118 2008-12-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
119
120         * win32/common/libgstreamer.def:
121         Add gst_tag_setter_reset_tags to the list of exported symbols.
122
123 2008-12-17  Alessandro Decina  <alessandro.decina@collabora.co.uk>
124
125         * gst/gstghostpad.c:
126         * tests/check/gst/gstghostpad.c:
127         In a source ghostpad, when caps are changed in the target pad, the
128         change needs to be reflected in the ghostpad.
129         Fixes #564863.
130
131 2008-12-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
132
133         * gst/gstutils.c: (gst_element_found_tags_for_pad):
134         Add FIXME for 0.11 to set the pad as message source and not
135         the element. Otherwise it's impossible to detect for which
136         pad the tags were found without adding an event probe
137         or something similar to the pad.
138
139 2008-12-16  Wim Taymans  <wim.taymans@collabora.co.uk>
140
141         * docs/faq/general.xml:
142         Update the faq.
143
144 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
145
146         * docs/gst/gstreamer-sections.txt:
147         * gst/gsttagsetter.c:
148         * gst/gsttagsetter.h:
149           Rename api added in previous commit and add since tag to docs.
150           API: gst_tag_setter_reset_tags()
151
152 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
153
154         * docs/gst/gstreamer-sections.txt:
155         * gst/gsttagsetter.c:
156         * gst/gsttagsetter.h:
157           Add function to reset tagsetter for element reuse.
158
159 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
160
161         * gst/gsttaglist.c:
162           Avoid copy of empty taglist.
163
164 2008-12-16  Stefan Kost  <ensonic@users.sf.net>
165
166         * gst/gsttaglist.c:
167         * tests/check/gst/gsttag.c:
168           More complete unit tests. Fix handling of empty taglists (they were
169           not merged before).
170
171 2008-12-15  Stefan Kost  <ensonic@users.sf.net>
172
173         * gst/gsttaglist.h:
174         * gst/gsttagsetter.c:
175           Update GstTagSetter and GstTagMergeMode documentation. Mention
176           that tags can come from events and from application. Fix example.
177
178 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
179
180         * docs/design/part-TODO.txt:
181         Remove the seqnum entry that we implemented in 0.10 already.
182         Add entry about removing the format return value for queries.
183
184 2008-12-15  Wim Taymans  <wim.taymans@collabora.co.uk>
185
186         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
187         (gst_base_sink_init), (gst_base_sink_set_property),
188         (gst_base_sink_get_property):
189         Expose the render-delay as a property so things like appsink can use it
190         to tweak the synchronisation.
191
192 2008-12-10  Peter Kjellerstedt  <pkj@axis.com>
193
194         * libs/gst/check/gstcheck.h: Allow check tests to use
195         MAIN_START_THREADS()/MAIN_STOP_THREADS() multiple times. Also allows
196         CK_FORK=no to be used with multiple check test that use threads.
197
198 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
199
200         * gst/gstutils.c: (gst_element_get_compatible_pad):
201         Fix a caps memory leak introduced by the last change.
202
203 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
204
205         * gst/gstutils.c: (gst_element_get_compatible_pad):
206         Check if the caps of the pads are compatible before returning
207         a pad and claiming it is compatible. This, among other things,
208         fixes a bug with gst-launch where an incompatible pad is chosen
209         and linking fails. Fixes bug #544003.
210
211 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
212
213         * libs/gst/check/gstcheck.c: (gst_check_init):
214         Revert accidentially commited patch for bug #404631 which
215         tries to print a backtrace if a testcase is terminated by
216         a signal. This code was never activated as the corresponding
217         configure.ac change wasn't committed.
218
219 2008-12-09  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
220
221         * tests/check/libs/controller.c: (GST_START_TEST):
222         This test should return TRUE now as syncing an uncontrolled
223         object will succeed now (there's nothing to sync).
224
225 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
226
227         * libs/gst/controller/gstcontroller.c:
228           Aggregate return value for gst_controller_sync_values(). More info in
229           logging. Always set values on first sync-call.
230
231         * libs/gst/controller/gstcontrolsource.c:
232           Microoptimizations.
233
234         * libs/gst/controller/gsthelper.c:
235           Fix return code and comment.
236
237 2008-12-09  Stefan Kost  <ensonic@users.sf.net>
238
239         * tools/gst-launch.1.in:
240           Fix description of how to specify a type in caps. Fixes #553873.
241           Also ranges and list contain values and not property-assignments.
242
243 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
244
245         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
246         Check for changed pads-list before checking the last returned
247         GstFlowReturn because the pad could have been removed and we
248         need to ignore the value in that case.
249
250 2008-12-08  Wim Taymans  <wim.taymans@collabora.co.uk>
251
252         * libs/gst/base/gstbasetransform.c:
253         (gst_base_transform_prepare_output_buffer),
254         (gst_base_transform_getrange), (gst_base_transform_chain):
255         * libs/gst/base/gstbasetransform.h:
256         Add vmethod that is called before we start the transform and which can
257         be used to configure the transform, such as dynamic properties.
258
259 2008-12-05  David Schleef  <ds@schleef.org>
260
261         * gst/gst.c:
262         Search for plugins on win32 based on the location of the
263         gstreamer DLL.  Fixes #548786
264
265 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
266
267         * configure.ac:
268         Apparently AC_CONFIG_MACRO_DIR breaks when using more
269         than one macro directory, reverting last change.
270
271 2008-12-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
272
273         * configure.ac:
274         Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
275         our M4 macros.
276
277 2008-11-29  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
278
279         Patch by: Cygwin Ports maintainer
280                   <yselkowitz at users dot sourceforge dot net>
281
282         * autogen.sh:
283         * configure.ac:
284         Require gettext 0.17 because older versions don't mix with libtool
285         2.2. At build time an older gettext version will still work.
286         Fixes bug #556091.
287
288 2008-11-27  Wim Taymans  <wim.taymans@collabora.co.uk>
289
290         Patch by: 이문형 <iwings at gmail dot com>
291
292         * gst/gstpoll.c: (gst_poll_fd_ctl_write), (gst_poll_fd_has_error):
293         Adds support for FD_CONNECT event (win32). See #562258.
294
295 2008-11-24  Stefan Kost  <ensonic@users.sf.net>
296
297         * libs/gst/base/gstbasesink.c:
298           Turn comment into gtk-doc comment.
299
300 2008-11-24  Wim Taymans  <wim.taymans@collabora.co.uk>
301
302         * libs/gst/base/gstbasetransform.c:
303         (gst_base_transform_acceptcaps):
304         Revert quick accepcaps attempt, it's not fully equivalent to the old
305         behaviour and thus causes regressions.
306
307 2008-11-24  Edward Hervey  <edward.hervey@collabora.co.uk>
308
309         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
310         Fix memory leak.
311
312 2008-11-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
313
314         Patch by: Simon Holm Thøgersen <odie at cs dot aau dot dk>
315
316         * gst/gstregistry.c: (gst_registry_scan_path_level):
317         Reduce the number of stat() calls for every file from three times
318         to one time. Fixes bug #560360.
319
320 2008-11-22  Wim Taymans  <wim.taymans@collabora.co.uk>
321
322         * libs/gst/base/gstbasetransform.c:
323         (gst_base_transform_acceptcaps):
324         Rename a variable to make the code clearer.
325
326 2008-11-21  Stefan Kost  <ensonic@users.sf.net>
327
328         * plugins/elements/gstidentity.c:
329         Don't warning on offset==-1. Taken from _check_imperfect_offset().
330
331 2008-11-21  Michael Smith <msmith@songbirdnest.com>
332
333         * plugins/elements/gstfilesrc.c:
334           Check for localhost in URI was backwards, fix it. Fixes unit test.
335
336 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
337
338         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
339         (gst_base_transform_getcaps), (gst_base_transform_find_transform),
340         (gst_base_transform_acceptcaps), (gst_base_transform_getrange):
341         Add beginnings of a more optimized acceptcaps function than the default
342         core one.
343
344 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         * gst/gstpad.c: (gst_pad_accept_caps):
347         Avoid getting the acceptcaps function too early.
348
349 2008-11-21  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * tools/gst-launch.c: (event_loop):
352         Make gst-launch handle LATENCY messages and make it recalculate the
353         latency.
354
355 2008-11-20  Michael Smith <msmith@songbirdnest.com>
356
357         * plugins/elements/gstfilesrc.c:
358           Use g_filename_from_uri() for URI parsing in filesrc rather than rolling
359           out own slightly incorrect version. Fixes use of some paths on
360           win32.
361
362 2008-11-20  Michael Smith <msmith@songbirdnest.com>
363
364         * gst/gstregistrybinary.c:
365           In win32 codepath, if we fail to write the registry, create the
366           directory for it and try again, matching the behaviour in non-win32
367           codepaths.
368
369 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
370
371         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_render_delay):
372         Changing the render delay changes the latency and so we must post a
373         latency message.
374
375 2008-11-20  Wim Taymans  <wim.taymans@collabora.co.uk>
376
377         * gst/gstquery.c:
378         * gst/gstquery.h:
379         Add GstQueryType for custom queries instead of having to use the
380         not-so-very-convenient registration infrastructure to register new
381         types.
382
383 2008-11-19  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
384
385         Patch by: Andrew Feren <acferen at yahoo dot com>
386
387         * gst/gstobject.c: (gst_object_default_deep_notify):
388         Unref the GEnumClass after usage again. Fixes bug #561501.
389
390 2008-11-19  Wim Taymans  <wim.taymans@collabora.co.uk>
391
392         * gst/gstbin.c: (_gst_boolean_accumulator), (gst_bin_class_init),
393         (gst_bin_recalculate_latency), (gst_bin_do_latency_func),
394         (gst_bin_change_state_func):
395         * gst/gstbin.h:
396         Add do-latency signal with the old default fallback implementation. This
397         allows for custom latency calculations for when the default is not
398         sufficient.
399         API: GstBin::do-latency signal.
400
401 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
402
403         * win32/common/libgstreamer.def:
404         Add new symbols to .def file.
405
406 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
407
408         * docs/gst/gstreamer-sections.txt:
409         * gst/gstbin.c: (gst_bin_recalculate_latency),
410         (gst_bin_change_state_func):
411         * gst/gstbin.h:
412         Add method to recalculate and redistribute the latency on a bin.
413         API: gst_bin_recalculate_latency().
414
415 2008-11-18  Wim Taymans  <wim.taymans@collabora.co.uk>
416
417         * gst/gstbuffer.h:
418         Document the free_func.
419
420 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
421
422         * libs/gst/controller/gstinterpolation.c:
423         * libs/gst/controller/gstlfocontrolsource.c:
424         Use gst_guint64_to_gdouble instead of gst_util_guint64_to_gdouble
425         as it is mapped to a cast on non-win32 platforms.
426
427 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
428
429         * libs/gst/controller/gstcontroller.c:
430         * libs/gst/controller/gstcontrollerprivate.h:
431           Keep last-value and only call set_property if value has changed. This
432           supresses all the g_object_notifies we would trigger otherwise. It
433           also allows the user to chage the value while there is no controller
434           change.
435
436 2008-11-17  Stefan Kost  <ensonic@users.sf.net>
437
438         * gst/gstvalue.c:
439           Don't crash if either of the string GValues is empty.
440
441 2008-11-17  Andy Wingo  <wingo@pobox.com>
442
443         * tools/gst-inspect.c (print_all_uri_handlers): New function,
444         prints a summary of what URI schemes are supported by what
445         elements.
446         (main): Plumb in support for --uri-handlers or -u, and fix the
447         argc check for -a and -u.
448
449 2008-11-17  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
450
451         * gst/gstutils.h:
452         Add G_GNUC_PURE to gst_util_uint64_scale* and the double<->uint64
453         conversion functions.
454
455 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
456
457         * gst/gstbuffer.c: (gst_buffer_finalize):
458         Avoid costly typechecking for trivially correct pointers.
459
460         * gst/gstpoll.c: (gst_poll_wait):
461         Add some G_LIKELY here and there.
462
463         * libs/gst/base/gstadapter.c: (gst_adapter_push):
464         Add some debug info.
465
466 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * docs/random/wtay/poll-timeout:
469         Small tweaks.
470
471 2008-11-13  Wim Taymans  <wim.taymans@collabora.co.uk>
472
473         * tests/old/testsuite/caps/intersection.c: (main):
474         * tests/old/testsuite/plugin/loading.c: (main):
475         Remove references to deprecated API g_mem_chunk*.
476         Fixes #560442.
477
478 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
479
480         * tools/gst-inspect.c: (main):
481         Add --plugin option. Fixes #560301.
482
483 2008-11-12  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * docs/random/wtay/poll-timeout:
486         Quick braindump for a possible (not totally verified) atomic case.
487
488 2008-11-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
489
490         * gst/gstregistrybinary.c: (gst_registry_binary_write_chunk),
491         (gst_registry_binary_initialize_magic),
492         (gst_registry_binary_write_cache),
493         (gst_registry_binary_check_magic):
494         * gst/gstregistrybinary.h:
495         Don't write and check a CRC for the binary registry file. It's
496         guaranteed that the registry is completely written (it's first written
497         to a temporary file and then moved) and if the registry was corrupted
498         by some hardware failure we would have bigger problems.
499
500         Bump binary registry version to 0.10.21.1 for this as it's an
501         incompatible change and to ensure that the registry gets rebuild
502         after the update.
503
504         This saves some milliseconds for reading/writing the registry.
505         Fixes bug #560399.
506
507 2008-11-11  Wim Taymans  <wim.taymans@collabora.co.uk>
508
509         * docs/random/wtay/poll-timeout:
510         Some pseudo code for how we could implement clock timeouts with GstPoll.
511
512 2008-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
513
514         * plugins/elements/gstfilesink.c:
515           Update Author string to match others.
516
517 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
518
519         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
520         Reorganize some more, be more conservative with the GST_TYPE_ARRAY not
521         being fixed and inline the trivial check.
522
523 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
524
525         * gst/gstcaps.c: (gst_caps_copy), (_gst_caps_free),
526         (gst_caps_merge_structure), (gst_caps_get_structure),
527         (gst_caps_copy_nth), (gst_caps_set_simple),
528         (gst_caps_set_simple_valist), (gst_caps_is_fixed),
529         (gst_caps_is_equal_fixed), (gst_caps_intersect),
530         (gst_caps_subtract), (gst_caps_normalize), (gst_caps_do_simplify),
531         (gst_caps_to_string):
532         Callgrind micro optimisations.
533         Avoid array bounds checks and force inline of trivial function.
534
535         * gst/gstobject.c: (gst_object_set_name_default):
536         -1 is equivalent to letting glib to the strlen but then there is more
537         room for optimisations and it's not our fault.
538
539         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
540         no need to clear the array, we're cool.
541
542         * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
543         The most common _is_fixed() check is done on fundamental glib base
544         types so we check this first instead of doing a huge amount of
545         useless GST_TYPE_ARRAY calls.
546
547 2008-11-06  Wim Taymans  <wim.taymans@collabora.co.uk>
548
549         * gst/gstevent.h:
550         Add a SKIP seek flag for use with advanced trickmodes.
551         API: GstSeekFlags::GST_SEEK_FLAG_SKIP
552
553 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
554
555         * gst/gststructure.c: (gst_structure_id_empty_new_with_size):
556         No need to memset, we can clear the value ourselves.
557
558         * gst/gstvalue.c: (gst_type_is_fixed),
559         (gst_value_get_compare_func):
560         Some optimisations from a few callgrind sessions:
561         When checking if a type is fixed, check for trivial fundamental types
562         first before checking types for which we need to get the type followed
563         by the heavy duty type checks, this reduces the amount of
564         g_type_fundamental() calls a lot.
565         When getting the compare function, first check for our registered types.
566         If that fails, do the heavy duty g_type_is_a() checks, reduces the
567         amount of g_type_is_a() considerably.
568
569 2008-11-05  Wim Taymans  <wim.taymans@collabora.co.uk>
570
571         * docs/design/part-TODO.txt:
572         Mumble something about removing GstXML.
573
574 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
575
576         * gst/gstbin.c: (gst_bin_handle_message_func):
577         Get the seqnum before we dispose the message.
578
579 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
580
581         * docs/design/part-TODO.txt:
582         Refer to the framestepping document.
583
584 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
585
586         * gst/gstbin.c: (bin_handle_async_start),
587         (gst_bin_handle_message_func), (gst_bin_query):
588         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
589         (gst_base_sink_event), (gst_base_sink_change_state):
590         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
591         (gst_base_src_loop), (gst_base_src_change_state):
592         Copy seqnums from events to messages so that they can all be related
593         back to eachother.
594
595 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
596
597         * tools/gst-launch.c: (event_loop):
598         Print the message seqnums.
599
600 2008-11-04  Andy Wingo  <wingo@pobox.com>
601
602         * gst/gstutils.c (gst_util_seqnum_next): Refactor for clarity.
603
604 2008-11-04  Andy Wingo  <wingo@pobox.com>
605
606         Add sequence numbers to events and messages. See #559250.
607
608         * gst/gstutils.c (gst_util_seqnum_next, gst_util_seqnum_compare):
609         API: New functions.
610
611         * gst/gstevent.h:
612         * gst/gstevent.c (_gst_event_copy, gst_event_new): Initialize new
613         events with a new sequence number, and copy it when copying.
614         (gst_event_get_seqnum, gst_event_set_seqnum): API: Accessors for
615         an event's sequence number.
616
617         * gst/gstmessage.h:
618         * gst/gstmessage.c (_gst_message_copy, gst_message_new_custom):
619         (gst_event_get_seqnum, gst_event_set_seqnum): API: As with events,
620         so with messages.
621
622         * docs/gst/gstreamer-sections.txt: Add new functions to the docs.
623
624 2008-11-04  Wim Taymans  <wim.taymans@collabora.co.uk>
625
626         * docs/manual/advanced-position.xml:
627         * docs/manual/basics-bins.xml:
628         * docs/manual/basics-bus.xml:
629         * docs/manual/basics-pads.xml:
630         * docs/manual/intro-gstreamer.xml:
631         * docs/manual/intro-preface.xml:
632         Some Application Development Manual fixes thanks to
633         Andrew Feren. Fixes #558459.
634
635 2008-11-03  Stefan Kost  <ensonic@users.sf.net>
636
637         * gst/gstregistrybinary.c:
638           Don't bother with the GTimer if we don't output the results.
639
640 2008-11-03  Wim Taymans  <wim.taymans@collabora.co.uk>
641
642         Patch by: David Schleef  <ds@schleef.org>
643
644         * libs/gst/net/Makefile.am:
645         Add WIN32_LIBS to libgstnet LIBADD. Fixes #557300.
646
647 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
648
649         * gst/gstregistrybinary.c:
650           Oh my, studip, stupid me. Remove double stat() call.
651
652 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
653
654         * gst/gstpreset.c:
655           Use g_unlink instead of unlink.
656
657         * gst/gststructure.c:
658           Use glib type.
659
660         * gst/gstutils.c:
661           Add a FIXME:.
662
663         * gst/gsttaglist.c:
664         * gst/gsttypefind.c:
665         * gst/gstvalue.c:
666           Formatting & whitespaces.
667
668 2008-10-31  Stefan Kost  <ensonic@users.sf.net>
669
670         * plugins/elements/gstidentity.c:
671           Doc typo. Use return value of parent_class->event.
672   
673         * plugins/elements/gsttypefindelement.c:
674           Chain up at the end for consistency.
675   
676 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
677
678         * docs/Makefile.am:
679         * docs/gst/gstreamer-docs.sgml:
680         * docs/gst/gstreamer-sections.txt:
681         * docs/gst/running.xml:
682         * docs/libs/gstreamer-libs-docs.sgml:
683           Change to xinclude based build - its faster and easier to maintain.
684
685 2008-10-30  Stefan Kost  <ensonic@users.sf.net>
686
687         * gst/gstregistrybinary.c:
688         * gst/gstregistryxml.c:
689           Use g_unlink() as none of these are directories.
690
691 2008-10-29  Wim Taymans  <wim.taymans@collabora.co.uk>
692
693         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func):
694         Some more comments.
695
696 2008-10-27  Wim Taymans  <wim.taymans@collabora.co.uk>
697
698         * libs/gst/base/gstbasetransform.c:
699         (gst_base_transform_find_transform), (gst_base_transform_getrange):
700         If we have a fixate function, call it even if we already have fixed caps
701         because the subclass might add some caps. Makes audioconvert add a
702         default channel layout.
703
704 2008-10-24  Wim Taymans  <wim.taymans@collabora.co.uk>
705
706         * libs/gst/base/gstbasetransform.c:
707         (gst_base_transform_prepare_output_buffer),
708         (gst_base_transform_getrange):
709         Clear the output buffer variable.
710         Cleanups to the error path in the getrange function.
711         Fixes #557649.
712
713 2008-10-23  Sebastian Dröge  <slomo@circular-chaos.org>
714
715         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
716         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
717         Use gst_buffer_try_new_and_alloc() and handle errors instead of
718         using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
719         be allocated.
720
721 2008-10-23  Wim Taymans  <wim.taymans@collabora.co.uk>
722
723         * gst/gstsegment.c: (gst_segment_set_newsegment_full):
724         Set the last_stop to a more meaningful position when configuring the
725         segment. ie. the start/stop of the segment or clipped against the
726         updated segment boundaries.
727
728         * tests/check/gst/gstsegment.c: (GST_START_TEST):
729         Add some unit tests for the last_stop.
730
731 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
732
733         * libs/gst/base/gstbytereader.c:
734         Use GST_(READ|WRITE)_(FLOAT|DOUBLE)_(LE|BE) instead of our own
735         copies of them.
736
737 2008-10-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
738
739         * docs/gst/gstreamer-sections.txt:
740         * gst/gstutils.h:
741         API: Move float endianness conversion macros from libgstfloatcast
742         to core as it's useful in general, even in core. Fixes bug #555196.
743         This adds GDOUBLE_FROM_BE, GDOUBLE_FROM_LE, GDOUBLE_TO_BE,
744         GDOUBLE_TO_LE, GDOUBLE_SWAP_LE_BE, GFLOAT_FROM_BE, GFLOAT_FROM_LE,
745         GFLOAT_TO_BE, GFLOAT_TO_LE, GFLOAT_SWAP_LE_BE.
746
747         Also add GST_READ_ and GST_WRITE_ macros for floats and doubles:
748         GST_READ_FLOAT_LE, GST_READ_FLOAT_BE, GST_READ_DOUBLE_LE,
749         GST_READ_DOUBLE_BE, GST_WRITE_FLOAT_LE, GST_WRITE_FLOAT_BE,
750         GST_WRITE_DOUBLE_LE, GST_WRITE_DOUBLE_BE.
751
752 2008-10-22  Sebastian Dröge  <slomo@circular-chaos.org>
753
754         * docs/libs/gstreamer-libs-sections.txt:
755         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_data),
756         (gst_byte_reader_peek_data):
757         * libs/gst/base/gstbytereader.h:
758         * win32/common/libgstbase.def:
759         API: Add gst_byte_reader_get_data and gst_byte_reader_peek_data
760         to get a pointer to the data at the current position and have
761         a guaranteed size.
762
763 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
764
765         * configure.ac:
766         Fix a bug in the output of the configure script summary
767         when --gst-disable-registry is supplied
768
769 2008-10-22  Jan Schmidt  <jan.schmidt@sun.com>
770
771         * libs/gst/base/gstbitreader.c:
772         * libs/gst/base/gstbytereader.c:
773         Fix the names of 2 functions in the docs strings.
774
775 2008-10-21  Wim Taymans  <wim.taymans@collabora.co.uk>
776
777         * libs/gst/base/gstbasetransform.c:
778         (gst_base_transform_prepare_output_buffer),
779         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
780         Protect sink_alloc caps with the sinkpad lock to avoid nasty caps
781         refcount problems as seen in banshee and maybe also in farsight2.
782         Remove atomic int now that we need to take the lock anyways.
783
784 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
785
786         * libs/gst/base/gstbasesink.c: (gst_base_sink_default_do_seek),
787         (gst_base_sink_default_prepare_seek_segment),
788         (gst_base_sink_perform_seek), (gst_base_sink_get_position_last),
789         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
790         (gst_base_sink_query):
791         Implement more seeking in pull mode.
792         Use pad convert functions to convert position to the requested format.
793         Fix position/duration reporting in pull mode.
794         Implement position and duration reporting in other formats than time.
795
796         * libs/gst/base/gstbasesink.h:
797         Add member to keep track of when the segment is playing.
798
799 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
800
801         * gst/gstpad.c: (gst_pad_configure_src):
802         When we use gst_pad_alloc_buffer() without wanting to set the caps we
803         also don't need to check if the caps are compatible because the caller
804         presumably is going to perform its own custom checks. Fixes some cases
805         where basetransform elements would error out when it was not needed.
806
807 2008-10-20  Wim Taymans  <wim.taymans@collabora.co.uk>
808
809         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
810         Update comment.
811
812         * libs/gst/base/gstbasetransform.c:
813         (gst_base_transform_handle_buffer),
814         (gst_base_transform_reconfigure):
815         Add some debug info.
816
817         * win32/common/libgstbase.def:
818         Add new method.
819
820 2008-10-19  Stefan Kost  <ensonic@users.sf.net>
821
822         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek);
823           Remove duplicated assignment and log a message in failure case.
824
825 2008-10-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
826
827         Patch by: Dig Ge <dig.ge.cn at gmail com>
828
829         * tests/examples/helloworld/helloworld.c: (main):
830           Fix copy'n'paste bug in hello world example (#556900).
831
832 2008-10-17  Wim Taymans  <wim.taymans@collabora.co.uk>
833
834         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate_pull),
835         (gst_base_sink_query):
836         Query the total number of bytes when activating the pad in pull mode.
837         Implement duration query in pull mode by using the installed pad convert
838         function to convert from bytes to the requested format.
839
840 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
841
842         * docs/libs/gstreamer-libs-sections.txt:
843         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_preroll),
844         (gst_base_sink_flush_start), (gst_base_sink_flush_stop),
845         (gst_base_sink_event), (gst_base_sink_perform_seek),
846         (gst_base_sink_loop), (gst_base_sink_pad_activate_pull),
847         (gst_base_sink_send_event), (gst_base_sink_change_state):
848         * libs/gst/base/gstbasesink.h:
849         Add method to commit the state in subclasses.
850         Refactor the flush_start and flush_stop code because we need it for
851         flushing while seeking too.
852         Implement the beginnings of seeking in pull mode.
853         Use the segment last_stop field for the pulling offset.
854         Fix the pause method in pull mode.
855         Configure the segment to BYTES for pull mode.
856         API: GstBaseSink::gst_base_sink_do_preroll()
857
858 2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
859
860         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
861         Update some docs.
862
863 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
864
865         * gst/gstquark.c: (_priv_gst_quarks_initialize):
866           Fix printf format warning.
867
868 2008-10-14  Sebastian Dröge  <slomo@circular-chaos.org>
869
870         * plugins/elements/gsttee.c: (gst_tee_handle_buffer):
871         Fix flow aggregation of tee. Error out immediately for all flow returns
872         except OK and NOT_LINKED, return NOT_LINKED if all pads are not linked
873         and return OK if at least one pad is linked.
874
875         Before we errored out on "fatal" flow returns (i.e. not for WRONG_STATE)
876         and otherwise returned the flow return of the last pad, which is wrong.
877         
878         * tests/check/elements/tee.c: (_fake_chain), (_fake_chain_error),
879         (GST_START_TEST), (tee_suite):
880         Add unit tests for the flow aggregation.
881
882 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
883
884         * docs/design/part-TODO.txt:
885         Remove item from the todo list because it was fixed with the latency
886         state change rewrites.
887
888         * docs/design/part-seeking.txt:
889         * docs/design/part-segments.txt:
890         Update some docs.
891
892         * gst/gstevent.c: (gst_event_new_new_segment_full),
893         (gst_event_parse_new_segment_full), (gst_event_new_buffer_size),
894         (gst_event_parse_buffer_size), (gst_event_new_qos),
895         (gst_event_parse_qos), (gst_event_new_seek),
896         (gst_event_parse_seek), (gst_event_new_latency),
897         (gst_event_parse_latency):
898         Use quarks to construct and parse events.
899
900         * gst/gstquark.c: (_priv_gst_quarks_initialize):
901         * gst/gstquark.h:
902         Add some more quarks to the table.
903         Emit a warning when the quark tables are not in sync.
904
905         * tests/check/gst/gstbus.c: (GST_START_TEST):
906         Add an assert.
907
908 2008-10-13  Stefan Kost  <ensonic@users.sf.net>
909
910         * plugins/elements/Makefile.am:
911         * plugins/indexers/Makefile.am:
912           Don't install static libs for plugins. Fixes #550851 for core.
913
914 2008-10-13  Wim Taymans  <wim.taymans@collabora.co.uk>
915
916         * gst/gstbus.c: (gst_bus_source_finalize),
917         (gst_bus_add_watch_full_unlocked), (gst_bus_add_watch_full),
918         (gst_bus_enable_sync_message_emission),
919         (gst_bus_disable_sync_message_emission),
920         (gst_bus_add_signal_watch_full), (gst_bus_remove_signal_watch):
921         Fix deadlock, g_source_get_id() cannot be called in finalize.
922         Keep track of the watch source by keeping a pointer to the source object
923         instead.
924         Use the bus lock to protect access to the pointer to the current
925         watch source.
926
927 2008-10-13  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
928
929         Base on Patch by: Olivier Crete <tester at tester dot ca>
930
931         * gst/gstbus.c: (gst_bus_source_finalize),
932         (gst_bus_add_watch_full), (gst_bus_add_signal_watch_full):
933         Only allow one bus watch to be set at a time. This is necessary
934         because the dispatcher pops the message from the bus and the second
935         watcher will then get NULL or the next message (and the first won't
936         get this next message then, etc). If more than one "watcher" is
937         required signal watches should be used. Fixes bug #526044.
938
939 2008-10-12  Jan Schmidt  <jan.schmidt@sun.com>
940
941         * tools/gst-launch.c:
942         Change the printing of the 'buffering...' output to avoid putting
943         a \r in a translateable string (flagged by the TP).
944
945 2008-10-10  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
946
947         * gst/gstxml.c:
948         Clarify that the save_thyself() and restore_thyself() virtual
949         functions of GstObject need to be overriden, not
950         gst_object_(save|restore)_thyself() which is impossible.
951         Fixes bug #555700.
952
953 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
954
955         * gst/gstpad.c: (gst_pad_get_range), (gst_pad_pull_range):
956         Revert a patch from 21 months ago that broke caps negotiation in pull
957         mode. Basically, having a buffer pass over a pad will trigger the
958         setcaps function when caps change, just like in push mode.
959
960 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
961
962         * docs/design/part-negotiation.txt:
963         Update the docs some more.
964
965         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
966         If we pull a buffer with non-trivial caps, suggest those caps with the
967         max probability.
968
969 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
970
971         * docs/design/part-TODO.txt:
972         Add another limitation of pad-blocking with segment seeks not pushing
973         EOS events.
974
975 2008-10-10  Jan Schmidt  <jan.schmidt@sun.com>
976
977         * win32/common/libgstbase.def:
978         * win32/common/libgstreamer.def:
979         Add new symbols to the win32 defs files
980
981 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
982
983         * gst/gstbin.c: (gst_bin_remove_func), (update_degree),
984         (gst_bin_handle_message_func):
985         The message src can be NULL, don't try to print the object names in that
986         case.
987
988         * libs/gst/base/gstbasesink.c: (gst_base_sink_pad_activate):
989         Add some more debug info.
990
991         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline),
992         (GST_START_TEST):
993         Add some debug.
994         Fix the test, pull based sinks go ASYNC to PAUSED, just like other
995         scheduling modes.
996
997 2008-10-10  Wim Taymans  <wim.taymans@collabora.co.uk>
998
999         * docs/design/part-negotiation.txt:
1000         Small doc update.
1001
1002         * docs/libs/gstreamer-libs-sections.txt:
1003         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1004         (gst_base_sink_pad_getcaps), (gst_base_sink_pad_setcaps),
1005         (gst_base_sink_init), (gst_base_sink_set_blocksize),
1006         (gst_base_sink_get_blocksize), (gst_base_sink_set_property),
1007         (gst_base_sink_get_property), (gst_base_sink_needs_preroll),
1008         (gst_base_sink_loop), (gst_base_sink_pad_activate),
1009         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1010         (gst_base_sink_change_state):
1011         * libs/gst/base/gstbasesink.h:
1012         Add blocksize property and methods to control the amount of data
1013         to pull.
1014         Negotiate first before activating upstream in pull mode so that they can
1015         negotiate themselves.
1016         When we operate in pull mode, we only accept the caps that we
1017         negotiated.
1018         Make the sink go ASYNC to PAUSED, like all other sinks.
1019         API: GstBaseSink::gst_base_sink_set_blocksize()
1020         API: GstBaseSink::gst_base_sink_get_blocksize()
1021         API: GstBaseSink::blocksize
1022
1023         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1024         (gst_base_src_set_live), (gst_base_src_is_live),
1025         (gst_base_src_set_format), (gst_base_src_query_latency),
1026         (gst_base_src_set_blocksize), (gst_base_src_get_blocksize),
1027         (gst_base_src_set_do_timestamp), (gst_base_src_get_do_timestamp),
1028         (gst_base_src_set_property), (gst_base_src_get_property):
1029         * libs/gst/base/gstbasesrc.h:
1030         Add typechecking in public API functions.
1031         Add methods to control the blocksize in subclasses.
1032         API: GstBaseSrc::gst_base_src_set_blocksize()
1033         API: GstBaseSrc::gst_base_src_get_blocksize()
1034
1035 2008-10-10  Edward Hervey  <edward.hervey@collabora.co.uk>
1036
1037         * tests/check/gst/gstutils.c: (probe_do_nothing), (data_probe),
1038         (buffer_probe), (event_probe), (GST_START_TEST):
1039         We now see 3 events go through our pad, since basesink now sends
1040         upstream latency events.
1041
1042 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1043
1044         * gst/gstpipeline.c: (gst_pipeline_change_state):
1045         Release the object lock before trying to flush the bus.
1046
1047 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1048
1049         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1050         Forward LATENCY events upstreams so that elements know about the total
1051         pipeline latency. Fixes #555307.
1052
1053 2008-10-08  Jan Schmidt  <jan.schmidt@sun.com>
1054
1055         * plugins/elements/gstqueue.c:
1056         Allow through queries when we don't know how
1057         to adjust them (not TIME or BYTES), as otherwise it's
1058         not possible to query the current position in order
1059         to seek in other formats at all.
1060
1061 2008-10-08  Andy Wingo  <wingo@pobox.com>
1062
1063         * docs/gst/gstreamer-sections.txt: Placate doc pendants.
1064
1065 2008-10-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1066
1067         * gst/gstghostpad.c:
1068         * gst/gstghostpad.h:
1069         Unbreak -good build, private is a reserved c++ keyword.
1070
1071 2008-10-08  Andy Wingo  <wingo@pobox.com>
1072
1073         * gst/gstghostpad.h (GST_GHOST_PAD_CAST):
1074         * gst/gstghostpad.c (GST_GHOST_PAD_CAST): Fix unintended API
1075         removal: re-add GST_GHOST_PAD_CAST to the header.
1076
1077         * gst/gstghostpad.h (GstProxyPad, GstProxyPadClass, GstGhostPad)
1078         (GstGhostPadClass): Publically expose these structures so as to
1079         allow easy subclassing from C. Hide the member data behind a
1080         private opaque data pointer.
1081
1082         * gst/gstghostpad.c: Adapt to store instance data in the type
1083         instance's private data region, not in the public struct.
1084
1085 2008-10-08  Andy Wingo  <wingo@pobox.com>
1086
1087         * gst/gstghostpad.c (gst_ghost_pad_construct): If we got a
1088         template via g_object_get(), be sure to unref it.
1089
1090         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): Fix incorrect doc.
1091
1092 2008-10-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1093
1094         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1095         If we can't get a cache file don't try to save something to it.
1096         Dereferencing NULL pointers usually isn't a good idea.
1097
1098 2008-10-07  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1099
1100         * tests/check/Makefile.am:
1101         * tests/check/gst/gstabi.c:
1102         * tests/check/gst/struct_sparc.h:
1103         * tests/check/libs/libsabi.c:
1104         * tests/check/libs/struct_sparc.h:
1105         Add Sparc ABI checks
1106
1107         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1108         Cast signed integer to unsigned to avoid a compiler warning.
1109
1110 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1111
1112         * libs/gst/base/gstbytereader.c: (gst_byte_reader_get_uint24_le),
1113         (gst_byte_reader_get_uint24_be), (gst_byte_reader_get_int24_le),
1114         (gst_byte_reader_get_int24_be), (gst_byte_reader_peek_uint24_le),
1115         (gst_byte_reader_peek_uint24_be), (gst_byte_reader_peek_int24_le),
1116         (gst_byte_reader_peek_int24_be):
1117         Use new GST_READ_UINT24_(LE|BE) macros.
1118
1119 2008-10-07  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1120
1121         * docs/gst/gstreamer-sections.txt:
1122         * gst/gstutils.h:
1123         Always use the unaligned variants of GST_READ_UINT* and GST_WRITE_UINT*
1124         as it's too easy to break the ISO C strict aliasing rules with simple
1125         casts to the corresponding type and this would introduce hard to debug
1126         bugs. Fixes bug #545714.
1127
1128         API: Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE).
1129
1130 2008-10-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1131
1132         * gst/gstbuffer.h: (GST_BUFFER_FREE_FUNC):
1133         * gst/gstghostpad.c: (gst_ghost_pad_construct):
1134           Add 'Since' bits to gtk-doc chunks for new API.
1135
1136 2008-10-06  Thijs Vermeir  <thijsvermeir@gmail.com>
1137
1138         * docs/gst/gstreamer-sections.txt:
1139         Fix documentation
1140
1141 2008-10-06  Andy Wingo  <wingo@pobox.com>
1142
1143         * gst/gstbuffer.h (GST_BUFFER_FREE_FUNC): New API, a free function
1144         that will be called on the malloc_data to free it. Basically a way
1145         to avoid subclassing when all you need is a different free
1146         function, i.e. free() instead of g_free().
1147
1148         * gst/gstbuffer.c (gst_buffer_finalize): Free malloc_data via
1149         calling the free function.
1150         (gst_buffer_init): Initialize the free function to g_free.
1151
1152 2008-10-06  Andy Wingo  <wingo@pobox.com>
1153
1154         * gst/gstghostpad.h:
1155         * gst/gstghostpad.c (gst_ghost_pad_construct): New function,
1156         finishes the initialization of ghost pad. Useful for language
1157         bindings and subclassers of GstGhostPad. Fixes #539108.
1158         (gst_ghost_pad_new_full): Use the new constructor.
1159
1160 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1161
1162         Base on Patch by: Olivier Crete <tester at tester dot ca>
1163
1164         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1165         (gst_bin_remove_func), (update_degree),
1166         (gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
1167         Keep track of pads that are being linked/unlinked and resync the state
1168         changes.
1169
1170         * gst/gstpad.c: (gst_pad_get_direction),
1171         (gst_pad_set_chain_function), (gst_pad_set_getrange_function),
1172         (gst_pad_set_checkgetrange_function), (gst_pad_unlink),
1173         (gst_pad_link_prepare), (gst_pad_link),
1174         (gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
1175         (gst_pad_check_pull_range), (gst_pad_get_range),
1176         (gst_pad_pull_range):
1177         Some code cleanups, use macros to check pad direction.
1178         Don't need to take the lock on the pad direction.
1179         Post structure change when pads are linked/unlinked.
1180         Change some checks into _return_if_fail().
1181
1182         * tests/check/gst/gstbin.c:
1183         (test_link_structure_change_state_changed_sync_cb),
1184         (GST_START_TEST), (gst_bin_suite):
1185         Add testcase for pad link/unlinke resync during a state change.
1186         Fixes #510354.
1187
1188 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1189
1190         * docs/gst/gstreamer-sections.txt:
1191         * gst/gstmessage.c: (gst_message_new_structure_change),
1192         (gst_message_parse_structure_change):
1193         * gst/gstmessage.h:
1194         Implement STRUCTURE_CHANGED messages. These messages will be used to
1195         signal the parent bin of link/unlink operations that could require a
1196         resync when doing a state change. See ##510354.
1197         API: gst_message_new_structure_change()
1198         API: gst_message_parse_structure_change()
1199
1200 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1201
1202         * gst/gstquark.c:
1203         * gst/gstquark.h:
1204         Add some more quarks for new message. See #510354.
1205
1206 2008-10-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1207
1208         * docs/libs/gstreamer-libs-docs.sgml:
1209         * docs/libs/gstreamer-libs-sections.txt:
1210         * libs/gst/base/Makefile.am:
1211         * libs/gst/base/gstbitreader.c: (gst_bit_reader_new),
1212         (gst_bit_reader_new_from_buffer), (gst_bit_reader_free),
1213         (gst_bit_reader_init), (gst_bit_reader_init_from_buffer),
1214         (gst_bit_reader_set_pos), (gst_bit_reader_get_pos),
1215         (gst_bit_reader_get_remaining), (gst_bit_reader_skip),
1216         (gst_bit_reader_skip_to_byte):
1217         * libs/gst/base/gstbitreader.h:
1218         * libs/gst/base/gstbytereader.c: (GDOUBLE_SWAP_LE_BE),
1219         (GFLOAT_SWAP_LE_BE), (gst_byte_reader_new),
1220         (gst_byte_reader_new_from_buffer), (gst_byte_reader_free),
1221         (gst_byte_reader_init), (gst_byte_reader_init_from_buffer),
1222         (gst_byte_reader_set_pos), (gst_byte_reader_get_pos),
1223         (gst_byte_reader_get_remaining), (gst_byte_reader_skip),
1224         (gst_byte_reader_get_uint8), (gst_byte_reader_get_int8),
1225         (gst_byte_reader_peek_uint8), (gst_byte_reader_peek_int8),
1226         (gst_byte_reader_get_uint24_le), (gst_byte_reader_get_uint24_be),
1227         (gst_byte_reader_get_int24_le), (gst_byte_reader_get_int24_be),
1228         (gst_byte_reader_peek_uint24_le), (gst_byte_reader_peek_uint24_be),
1229         (gst_byte_reader_peek_int24_le), (gst_byte_reader_peek_int24_be):
1230         * libs/gst/base/gstbytereader.h:
1231         * tests/check/Makefile.am:
1232         * tests/check/libs/bitreader.c: (GST_START_TEST),
1233         (gst_bit_reader_suite):
1234         * tests/check/libs/bytereader.c: (GST_START_TEST),
1235         (gst_byte_reader_suite):
1236         API: Add bit reader and byte reader classes, including documentation
1237         and an extensive unit test suite. Fixes bug #553554.
1238
1239 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1240
1241         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position),
1242         (gst_base_sink_query):
1243         Improve position reporting while flushing and other intermediate state
1244         changes. Fixes #553874.
1245
1246 2008-10-06  Wim Taymans  <wim.taymans@collabora.co.uk>
1247
1248         Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1249
1250         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1251         Original patch by : Simon Descaries
1252         Fix small refount leak in caps compatibility check.
1253         Fixes #551676.
1254
1255 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1256
1257         * docs/pwg/advanced-request.xml:
1258           Fix 0.8 api usage in example. Fixes #554561
1259
1260         * docs/pwg/appendix-porting.xml:
1261           Change 0.9 to 0.10 here.
1262
1263 2008-10-06  Stefan Kost  <ensonic@users.sf.net>
1264
1265         * docs/manual/basics-data.xml:
1266           Change "event-event interaction" to "element-element interaction".
1267           Fixes #552448. Also fix sample code for seeking and do more 0.8->0.10
1268           updates.
1269
1270 2008-10-05  Jan Schmidt  <jan.schmidt@sun.com>
1271
1272         * configure.ac:
1273         Back to development -> 0.10.21.1
1274
1275 === release 0.10.21 ===
1276
1277 2008-10-02  Jan Schmidt <jan.schmidt@sun.com>
1278
1279         * configure.ac:
1280           releasing 0.10.21, "Take These Things From Me"
1281
1282 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1283
1284         * configure.ac:
1285         0.10.20.4 pre-release
1286
1287 2008-09-28  Jan Schmidt  <jan.schmidt@sun.com>
1288
1289         * libs/gst/base/gstbasetransform.c:
1290         * plugins/elements/gstcapsfilter.c:
1291         * tests/check/Makefile.am:
1292         * tests/check/elements/.cvsignore:
1293         * tests/check/elements/capsfilter.c:
1294         Fix assertion in basetransform when the subclass chooses not to
1295         allocate a buffer in prepare_buffer(), and make capsfilter error out
1296         cleanly if requested to apply caps that don't completely specify the
1297         buffer. Fixes #551509
1298
1299 2008-09-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1300
1301         * libs/gst/base/gstbasetransform.c:
1302         (gst_base_transform_prepare_output_buffer):
1303         Take new caps ref because our old one might have been gone when the
1304         subclass performs a gst_pad_set_caps() on the srcpad. See #548764.
1305
1306 2008-09-15  Stefan Kost  <ensonic@users.sf.net>
1307
1308         * configure.ac:
1309           Do not probe availability of check unit test library when cross
1310           compiling, as test would not work anyway. Also cleanup verbose output
1311           of the check test. Fixes #551952.
1312
1313 2008-09-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1314
1315         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
1316
1317         * gst/gstelement.c: (gst_element_sync_state_with_parent):
1318         Avoid leaking the parent ref when we fail changing the state of the
1319         element using gst_element_sync_state_with_parent(). Fixes #551978.
1320
1321 2008-09-11  Tim-Philipp Müller  <tim.muller at collabora co uk>
1322
1323         * docs/manual/intro-motivation.xml::
1324           Remove some bits that no longer apply, update others (#551642).
1325
1326 2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>
1327
1328         * configure.ac:
1329         0.10.20.2 pre-release
1330
1331         * po/LINGUAS:
1332         * po/id.po:
1333         * po/pt_BR.po:
1334
1335         New translations.
1336
1337 2008-09-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1338
1339         * win32/common/config.h.in:
1340           Add GST_DATADIR, hard-code cpu to x86.
1341
1342         * win32/common/libgstreamer.def:
1343           Spaces to tabs.
1344
1345 2008-09-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1346
1347         * gst/gsttaglist.h:
1348           Fix Since: markers for new geo tags.
1349
1350 2008-09-02  Stefan Kost  <ensonic@users.sf.net>
1351
1352         * gst/gsttaglist.h:
1353           Fix actual tag name define after renaming from altitude to elevation.
1354
1355 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1356
1357         * gst/gstpad.c: (add_unref_pad_to_list),
1358         (gst_pad_get_internal_links_default):
1359         Add fallback when calling the deprecated function on an element that
1360         implements the new internal_link handler.
1361
1362 2008-09-01  Stefan Kost  <ensonic@users.sf.net>
1363
1364         * docs/gst/gstreamer-sections.txt:
1365         * gst/gsttaglist.c:
1366         * gst/gsttaglist.h:
1367           Add new tags for geo location and clarify purpose of existing location
1368           tag. Fixes #481169
1369
1370 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1371
1372         Patch by: Olivier Crete <tester at tester dot ca>
1373
1374         * gst/gstpad.c: (gst_pad_iterate_internal_links_default),
1375         (gst_pad_event_default_dispatch), (gst_pad_dispatcher):
1376         Use thread-safe internal links iterator. Fixes #549504.
1377
1378 2008-09-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1379
1380         Based on patch by: Olivier Crete <tester at tester dot ca>
1381
1382         * docs/gst/gstreamer-sections.txt:
1383         * win32/common/libgstreamer.def:
1384         * gst/gstpad.c: (gst_pad_init),
1385         (gst_pad_set_iterate_internal_links_function),
1386         (int_link_iter_data_free), (iterate_pad),
1387         (gst_pad_iterate_internal_links_default),
1388         (gst_pad_iterate_internal_links), (gst_pad_get_internal_links):
1389         * gst/gstpad.h:
1390         Add threadsafe replacement functions for getting internal links of an
1391         element. Deprecate the old internal links functions.
1392         API:GstPad::gst_pad_set_iterate_internal_links_function()
1393         API:GstPad::GstPadIterIntLinkFunction
1394         API:GstPad::gst_pad_iterate_internal_links()
1395         API:GstPad::gst_pad_iterate_internal_links_default()
1396
1397         * gst/gstghostpad.c: (gst_proxy_pad_do_iterate_internal_links),
1398         (gst_proxy_pad_init):
1399         Implement threadsafe internal links.
1400
1401         * tests/check/elements/tee.c: (GST_START_TEST), (tee_suite):
1402         Unit test for internal links on tee. See #549504.
1403
1404 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1405
1406         * tests/check/Makefile.am:
1407         libs/transform1 test requires libs/test_transform.c
1408
1409 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1410
1411         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1412         Die evil deadlock, die !
1413
1414 2008-08-30  Edward Hervey  <edward.hervey@collabora.co.uk>
1415
1416         * gst/gstutils.c: (gst_element_get_compatible_pad):
1417         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1418         * tests/check/gst/gstpad.c: (name_is_valid), (GST_START_TEST):
1419         Fix all leaks due to the bug in gst_pad_template_new() by which it does
1420         not steal the refcount of the given caps as stated.
1421
1422         REVERT THIS COMMIT ONCE FIXED !
1423         REVERT THIS COMMIT ONCE FIXED !
1424         REVERT THIS COMMIT ONCE FIXED !
1425         REVERT THIS COMMIT ONCE FIXED !
1426         REVERT THIS COMMIT ONCE FIXED !
1427         REVERT THIS COMMIT ONCE FIXED !
1428
1429 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1430
1431         * gst/gstiterator.c:
1432         * gst/gstiterator.h:
1433         After 3 years it's about time to revise the documentation of the
1434         iterator objects.
1435
1436 2008-08-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1437
1438         * gst/gstpad.c: (gst_pad_get_internal_links_default):
1439         Make the internal links function less thread-unsafe and add some
1440         comments, dunno why.
1441
1442 2008-08-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1443
1444         * gst/gst_private.h:
1445           Include gstinfo.h even if GST_DISABLE_GST_DEBUG is defined. Fixes
1446           build with --disable-gst-debug.
1447
1448 2008-08-28  David Schleef  <ds@schleef.org>
1449
1450         * gst/gstpadtemplate.c: Revert last change, since it breaks
1451           a few plugins, ffmpeg, alaw, and mulaw.  Code is correct,
1452           but shouldn't be enabled until we've released fixed versions
1453           of -good and -ffmpeg.
1454
1455 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1456
1457         * gst/gstobject.c:
1458           Put the gst_object_get_name() back in.
1459
1460 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1461
1462         * gst/gstpadtemplate.c:
1463           The old behaviour was that gst_pad_template_new() takes ownership of
1464           the caps. As we now call g_object_new() which calls g_object_set() and
1465           which copies the caps, we have to unref them to not leak them. Fixes
1466           make valgrid for me.
1467
1468 2008-08-28  Stefan Kost  <ensonic@users.sf.net>
1469
1470         * gst/gsturi.c:
1471           Don't segfault on input like "tel:+1-123-555-1234".
1472
1473 2008-08-27  Stefan Kost  <ensonic@users.sf.net>
1474
1475         * gst/gstobject.c:
1476           Due to popular request also include ObjectType in
1477           gst_object_get_path_string(). Makes gst-launch -v bit more useful.
1478
1479 2008-08-26  David Schleef  <ds@schleef.org>
1480
1481         * gst/gstutils.c: Remove check in gst_pad_query_convert() that
1482           src_val must be positive, because that's not a requirement.
1483           This causes problems with converting negative granulepos
1484           values for Dirac.
1485         * gst/gstquery.c: Same, gst_query_new_convert().
1486
1487 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1488
1489         * gst/gstclock.c: (gst_clock_add_observation):
1490         Add some more debugging to the clock slaving code.
1491
1492         * win32/common/libgstbase.def:
1493         Add new basetransform method.
1494
1495 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1496
1497         * gst/gstbin.c: (gst_bin_element_set_state):
1498         Take the (recursive) state lock between getting the locked state of an
1499         element and changing the element state. This allows the application to
1500         lock an element's state and then change its state without races.
1501
1502 2008-08-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1503
1504         * gst/gstbin.c: (gst_bin_element_set_state):
1505         When an element is in the locked state we still want to update the
1506         base_time of the element.
1507
1508 2008-08-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1509
1510         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1511         Use the result from gst_pad_set_caps() instead of assuming the element
1512         always accepted the caps computed by the default negotiate function.
1513
1514 2008-08-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1515
1516         * docs/libs/gstreamer-libs-sections.txt:
1517         * libs/gst/base/gstbasetransform.c:
1518         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1519         (gst_base_transform_chain), (gst_base_transform_suggest),
1520         (gst_base_transform_reconfigure):
1521         * libs/gst/base/gstbasetransform.h:
1522         Implement method for reconfiguring basetransform.
1523         API: GstBaseTransform::gst_base_transform_reconfigure()
1524
1525 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1526
1527         patch by: Murray Cumming <murrayc@murrayc.com>
1528
1529         * gst/gstutils.c:
1530           Mention that this is just like gst_buffer_merge() but with extra
1531           unreffing for C coders. Advise language bindings not to wrap it.
1532           Fixes Bug #533856.
1533           
1534           Also fix file comment.
1535
1536 2008-08-20  Stefan Kost  <ensonic@users.sf.net>
1537
1538         reviewed by: Wim Taymans <wim.taymans@collabora.co.uk>
1539
1540         * plugins/elements/gstfakesink.c:
1541         * plugins/elements/gstfakesrc.c:
1542           Call super::event() when not handling it. Fixes #544855.
1543
1544 2008-08-19  Michael Smith <msmith@songbirdnest.com>
1545
1546         Patch by: Alessandro Decina <alessandro@nnva.org>
1547         * plugins/elements/gstfilesrc.c:
1548           Use 64 bit variants of stat functions on win32, to enable support
1549           of large files there.
1550           Fixes #547277.
1551
1552 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1553
1554         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
1555         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
1556         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
1557         (gst_base_sink_get_position), (gst_base_sink_change_state):
1558         Improve position reporting in the flushing state.
1559         Also report the position when we are not yet prerolled but we
1560         have a newsegment event. Fixes #543444.
1561         Improve the pull-based negotiation code.
1562
1563         * tests/check/elements/fakesink.c: (GST_START_TEST),
1564         (fakesink_suite):
1565         Add testcase for position reporting while flushing in PAUSED and
1566         PLAYING.
1567
1568         * tests/check/generic/sinks.c: (GST_START_TEST):
1569         Update unit-test, we can now query the position as soon as we receive a
1570         NEWSEGMENT event.
1571
1572 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1573
1574         Based on patch by: Jason Zhao <e3423c at motorola dot com>
1575
1576         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
1577         When the subclass event handler releases the PREROLL_LOCK, we could be
1578         in the flushing state and we have to ignore the event. Fixes #548394.
1579
1580 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1581
1582         * tools/gst-launch.1.in:
1583           Document GST_REGISTRY_UPDATE environment variable.
1584
1585 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1586
1587         * libs/gst/base/gstbasetransform.c:
1588         (gst_base_transform_prepare_output_buffer):
1589         If the element is configured in passthrough mode but the
1590         prepare_output_buffer gave us a new output buffer, discard that buffer
1591         and reuse the input buffer.
1592
1593 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
1594
1595         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1596
1597         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
1598         (gst_tee_request_new_pad), (gst_tee_release_pad),
1599         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
1600         * plugins/elements/gsttee.h:
1601         Protect pad_alloc with a new lock so that we can be sure that nothing is
1602         performing a pad_alloc when removing the pad. Fixes #547835.
1603
1604         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
1605         (buffer_alloc_harness_teardown), (app_thread_func),
1606         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
1607         Added testcase for shutdown race.
1608
1609 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
1610
1611         * gst/gstpad.h:
1612         Add doc
1613
1614 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1615
1616         * libs/gst/base/gstbasetransform.c:
1617         (gst_base_transform_prepare_output_buffer),
1618         (gst_base_transform_buffer_alloc):
1619         Go over the buffer_alloc function again and make sure we always end up
1620         allocating a buffer.
1621         Add some more docs.
1622         Avoid doing pad alloc when we have a pending suggestion because we
1623         cannot yet deal with changing caps in that case. Fixes #547728
1624
1625 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
1626
1627         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1628
1629         * docs/manual/advanced-clocks.xml:
1630         * docs/manual/clocks.png:
1631         * docs/manual/diagrams-clocks.svg:
1632           Add one more image showing different times together with a describing
1633           paragraph. Fixes #547729.
1634
1635 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1636
1637         * win32/common/libgstbase.def:
1638         Add new method.
1639
1640 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1641
1642         * libs/gst/base/gstbasetransform.c:
1643         (gst_base_transform_transform_caps),
1644         (gst_base_transform_prepare_output_buffer),
1645         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
1646         Don't overwrite the outsize when calculating the expected size of a new
1647         buffer because we still need it in case we cannot process the new
1648         buffer.
1649         When converting the size of the new buffer to an upstream size, actually
1650         use the expected size of the buffer, not some other random value.
1651         Use an atomic int to signal that a new upstream caps suggestion is
1652         available.
1653         When we can convert the current buffer to a new format, check if the
1654         buffer size is of the expected size and allocate a new buffer of the
1655         expected size when this is not the case. Fixes #546883.
1656
1657         * tests/check/libs/transform1.c: (GST_START_TEST):
1658         remove ifdeffed code from the unit test.
1659
1660 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1661
1662         * pkgconfig/gstreamer-uninstalled.pc.in:
1663         * pkgconfig/gstreamer.pc.in:
1664           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
1665           called gstcontroller-0.10.
1666
1667 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1668
1669         * gst/gstchildproxy.h:
1670         * gst/gstpreset.h:
1671           Remove double interface from doc-string.        
1672
1673 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
1674
1675         * libs/gst/base/gstbasesrc.c:
1676         * libs/gst/base/gstbasetransform.c:
1677           Fix headings in docs and gtk-doc warnings.
1678
1679 2008-08-11  Michael Smith <msmith@songbirdnest.com>
1680
1681         * gst/gstregistrybinary.c:
1682           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
1683           libc.
1684           Fixes #544776.
1685
1686 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
1687
1688         * libs/gst/base/gstbasetransform.c:
1689         (gst_base_transform_buffer_alloc):
1690         Fix a "may be used unitialized" warning.
1691
1692 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1693
1694         * docs/gst/gstreamer-sections.txt:
1695         * gst/gstpreset.h:
1696           Document preset-iface vmethods.
1697
1698 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
1699
1700         * docs/manual/advanced-interfaces.xml:
1701           Turn thoughts about HAL into a note-tag. Remove mentioning that is
1702           only used to discover devices.
1703
1704 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
1705
1706         Patch by: Frederic Crozat <fcrozat@mandriva.org>
1707
1708         * gst/gst.c: (init_pre):
1709         Make sure gettext returns translations in UTF-8 encoding rather
1710         than in the current locale encoding (#546822).
1711
1712 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1713
1714         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1715         Fix subset test.
1716
1717         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1718         Improve unit test subset tests and add a testcase for the subset failure
1719         cases.
1720
1721         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1722         Improve subtraction unit test.
1723
1724 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
1725
1726         * plugins/elements/gsttee.c:
1727           Unlock, instead of locking again.
1728
1729 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1730
1731         * gst/gstpad.h:
1732         Clarify the docs a bit more.
1733
1734 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1735
1736         * tests/examples/metadata/read-metadata.c:
1737           Don't leak old taglist.
1738
1739 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         Patch by: Olivier Crete <tester at tester dot ca>
1742
1743         * gst/gststructure.c:
1744         (gst_structure_fixate_field_nearest_fraction):
1745         Avoid overflows in fixation code when dealing with MAXINT values, which
1746         v4l2src seems to do.
1747         Fixes #546328.
1748
1749         * tests/check/gst/gststructure.c: (GST_START_TEST):
1750         Make a unit test to check the fix. 
1751
1752 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1753
1754         * plugins/elements/gstcapsfilter.c: (copy_func),
1755         (gst_capsfilter_set_property):
1756         Use new caps suggestion feature of basetransform to request a caps
1757         negotiation upstream.
1758
1759 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
1760
1761         * docs/libs/gstreamer-libs-sections.txt:
1762         Add new function:
1763         API: GstBaseTransform::gst_base_transform_suggest()
1764
1765         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1766         (gst_base_transform_init), (gst_base_transform_transform_caps),
1767         (gst_base_transform_transform_size),
1768         (gst_base_transform_configure_caps),
1769         (gst_base_transform_can_transform),
1770         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
1771         (gst_base_transform_prepare_output_buffer),
1772         (gst_base_transform_buffer_alloc),
1773         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1774         (gst_base_transform_chain), (gst_base_transform_activate),
1775         (gst_base_transform_set_passthrough),
1776         (gst_base_transform_is_passthrough),
1777         (gst_base_transform_set_in_place),
1778         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
1779         (gst_base_transform_set_qos_enabled),
1780         (gst_base_transform_is_qos_enabled),
1781         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
1782         (gst_base_transform_reconfigure):
1783         * libs/gst/base/gstbasetransform.h:
1784         Rewrite of basetransform to perform negotiation outside of the
1785         buffer_alloc functions.  Fixes #545853.
1786
1787         * tests/check/libs/transform1.c: (GST_START_TEST),
1788         (buffer_alloc_ct2):
1789         Update unit test.
1790
1791 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
1792
1793         * tests/check/gst/gstpreset.c:
1794           Only run preset tests when $HOME is writable. Preliminary fix for
1795           #545433.
1796
1797 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1798
1799         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1800         (gst_bin_change_state_func), (bin_handle_async_done),
1801         (gst_bin_handle_message_func):
1802         Fix race for bins that simulate ASYNC state changes by inserting
1803         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
1804         pending ASYNC messages even when the bin does not have ASYNC children.
1805         We note detect this behaviour because we will receive an ASYNC message
1806         that is originating from the bin itself. 
1807         Fixes races with decodebin2 state changes.
1808
1809         * tests/check/gst/gstbin.c: (GST_START_TEST):
1810         Add some more debug.
1811
1812 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
1813
1814         * gst/gsttaglist.c: (_gst_tag_initialize):
1815           Fix typo.
1816
1817 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1818
1819         * gst/gsttaglist.c:
1820           Argh. actually save the text before committing. Now adds
1821           gst_tag_merge_strings_with_comma() to gst_tag_register().
1822
1823 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
1824
1825         * gst/gsttaglist.c:
1826         * gst/gsttaglist.h:
1827           Do as tim pointed out and actually register the new tag. Also improve
1828           te docs and use gst_tag_merge_strings_with_comma() method to allow
1829           retriving all keywords merged in one list.
1830
1831 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1832
1833         * configure.ac:
1834         * docs/gst/gstreamer.types:
1835           Revert 'accidential' change of the configure option removal. We still
1836           need to generate the types file in configure --disable-load-save.
1837
1838 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
1839
1840         * docs/gst/gstreamer-sections.txt:
1841         * gst/gsttaglist.h:
1842           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
1843
1844 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1845
1846         * gst/gstpadtemplate.c:
1847           (gst_pad_template_class_init), (gst_static_pad_template_get),
1848           (gst_pad_template_new), (gst_pad_template_pad_created),
1849           (gst_pad_template_set_property), (gst_pad_template_get_property):
1850           Add "name-template", "direction", "presence" and "caps" properties,
1851           so that gst_pad_template_new() is just a thin wrapper around
1852           g_object_new(), which is better for bindings. (Fixes: #539772)
1853
1854 2008-07-31  Michael Smith <msmith@songbirdnest.com>
1855
1856         * gst/gsturi.c:
1857           Be more liberal in what URIs we accept.
1858           Do not unescape bits of the URI for no apparent reason before passing to
1859           the element. Fixes #545352.
1860
1861 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1862
1863         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
1864
1865         * gst/gst.c:
1866         Include gstconfig.h as macros from it are used. Fixes bug #545607.
1867
1868 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
1869
1870         * configure.ac:
1871         * docs/gst/gstreamer-sections.txt:
1872         * docs/gst/gstreamer.types:
1873         * docs/gst/gstreamer.types.in:
1874         * gst/Makefile.am:
1875         * gst/gst.c:
1876         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
1877         * gst/gstconfig.h.in:
1878         * gst/gstelement.c: (gst_element_get_index):
1879         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1880         (gst_registry_binary_load_feature),
1881         (gst_registry_binary_read_cache):
1882         * gst/gstregistryxml.c: (load_feature),
1883         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1884         * plugins/Makefile.am:
1885         * tools/gst-indent:
1886         * tools/gst-inspect.c: (print_index_info), (print_element_list),
1887         (print_plugin_features), (print_element_features):
1888         * tools/gst-xmlinspect.c: (print_event_masks),
1889         (print_element_info):
1890         * win32/common/gstconfig.h:
1891         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
1892
1893         Disabling the indexers and URI handler code will only reduce the
1894         required amount of memory by a very small amount but on the other hand
1895         requires much more maintaince work. Apart from that many places of
1896         code are broken when disabling them.
1897
1898         Disabling the enum types doesn't reduce the required amount of memory
1899         by more than a few bytes and makes it hard to fix bugs like #539772,
1900         i.e. use the enums as GObject properties.
1901
1902 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1903
1904         * docs/design/part-TODO.txt:
1905         Add some thoughts and problems with upstream renegotiation.
1906
1907 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1908
1909         * gst/gstpad.c: (gst_pad_acceptcaps_default),
1910         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
1911         Remove silly redundant debug.
1912         Add some more debug info.
1913         Clarify the docs regarding new caps received from pad_alloc.
1914
1915 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1916
1917         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
1918         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
1919         Make setting the caps more threadsafe.
1920
1921 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1922
1923         * docs/design/part-element-transform.txt:
1924         Update docs.
1925
1926 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1927
1928         * plugins/elements/gstqueue.c: (gst_queue_init),
1929         (gst_queue_acceptcaps):
1930         Add and use a custom acceptcaps function instead of falling back to the
1931         potentially less optimized default implementation.
1932
1933 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
1934
1935         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1936           Only sanity-check the buffer size if requested_caps == buffer_caps
1937           (ie. don't take pad caps into account, they're not relevant here)
1938
1939 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1940
1941         * plugins/elements/gsttee.c:
1942         * plugins/elements/gsttee.h:
1943           Reverting as not everything is clear yet. Needs some general design
1944           work.
1945
1946 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1947
1948         * ChangeLog:
1949           ChangeLog surgery for tee commit.
1950
1951 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1952
1953         * docs/gst/gstreamer-sections.txt:
1954           Cleanup section-file.
1955
1956 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
1957
1958         * plugins/elements/gsttee.c:
1959         * plugins/elements/gsttee.h:
1960           Relay tag events in tee. Fixes parts of #474016.
1961           Downgrades 3 reoccurring debugs to log.
1962
1963 2008-07-28  Michael Smith <msmith@songbirdnest.com>
1964
1965         * configure.ac:
1966         * libs/gst/Makefile.am:
1967           Build the net library if we have winsock2.
1968
1969 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
1970
1971         patch by: Luc Pionchon <luc.pionchon@nokia.com>
1972
1973         * docs/manual/advanced-threads.xml:
1974         * docs/manual/diagrams-pipelines.svg:
1975         * docs/manual/hello-world.png:
1976         * docs/manual/linked-elements.png:
1977         * docs/manual/mime-world.png:
1978         * docs/manual/queue.png:
1979         * docs/manual/thread-buffering.png:
1980         * docs/manual/thread-synchronizing.png:
1981           Replace one diagram with two separate ones and updates others.
1982           Fixes #542401.
1983
1984 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
1985
1986         * gst/gstelement.h:
1987         Fix link in documentation.
1988
1989 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1990
1991         * gst/gstmessage.c:
1992         Fix confusing documentation.
1993
1994 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
1995
1996         * libs/gst/base/gstbasesrc.h:
1997         revert the changes to the header file for the ABI.
1998
1999 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
2000
2001         * libs/gst/base/gstbasesrc.c:
2002         * libs/gst/base/gstbasesrc.h:
2003         Don't cache the seekable status.
2004         Fixes bug #544174
2005
2006 2008-07-24  Rene Stadler  <mail@renestadler.de>
2007
2008         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
2009         code to close the pipeline graph.  This prevents the program from
2010         printing internal data flow errors.
2011
2012 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2013
2014         * docs/manual/basics-bus.xml:
2015         Correct typo. Fixes bug #544320.
2016
2017 2008-07-22  Michael Smith <msmith@songbirdnest.com>
2018
2019         * configure.ac:
2020           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
2021           Add check (taken from -base) for winsock, adds WIN32_LIBS
2022         * gst/Makefile.am:
2023           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
2024           winsock.
2025           Define GST_EXPORTS when building libgstreamer (only used on win32)
2026         * gst/gst_private.h:
2027         * gst/gstinfo.h:
2028           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
2029           for symbols that we need to export in both these files.
2030         * gst/gstpoll.c:
2031           Include gst_private.h higher up to avoid some compile problems on win32.
2032
2033 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2034
2035         * gst/gstvalue.c:
2036         Fix typos.
2037
2038 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2039
2040         * gst/gstcaps.c:
2041         Previous commit was wrong NULL caps does not exist
2042         and indicate an error, so also add a FIXME to
2043         gst_caps_is_equal where NULL caps are accepted.
2044
2045 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2046
2047         * gst/gstcaps.c:
2048         Allow passing of NULL to gst_caps_union
2049
2050 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2051
2052         * gst/gstghostpad.c:
2053         Add in doc that gst_ghost_pad_set_target can accept
2054         NULL to clear target
2055
2056 2008-07-15  Michael Smith <msmith@songbirdnest.com>
2057
2058         * gst/gstplugin.c:
2059         * gst/gstregistry.c:
2060           GstRegistryPool doesn't exist; don't refer to it in docs.
2061           Don't refer to functions that don't exist in docs, it's
2062           unhelpful.
2063
2064 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2065
2066         * gst/gst.c:
2067         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2068
2069 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2070
2071         Patch by: Tristan Matthews <le dot businessman at gmail dot com>
2072
2073         * docs/pwg/building-testapp.xml:
2074         Don't use an undeclared variable in the example program.
2075         Fixes bug #542573.
2076
2077 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
2078
2079         * gst/gstdebugutils.c:
2080           Squeeze ghost-pad links and remove <> from classname labels to save
2081           more horizontal space.
2082
2083 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
2084
2085         * gst/gstdebugutils.c:
2086           Give request and sometimes pads a different shpe style. Condense the
2087           graphs a little more.
2088
2089 2008-07-09  Michael Smith <msmith@songbirdnest.com>
2090
2091         * configure.ac:
2092           Don't require flex and bison if the parser is disabled.
2093
2094 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2095
2096         * libs/gst/controller/gstinterpolationcontrolsource.c:
2097         (_list_find_sorted_custom):
2098         Don't use declarations after statements.
2099
2100 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2101
2102         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
2103         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
2104         of the the child-added / -removed signals as GstChildProxy
2105         only supports GstObjects.
2106
2107 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
2108
2109         * gst/gstdebugutils.c:
2110         Fix memleak
2111
2112 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2113
2114         Patch by: Alessandro Decina <alessandro at nnva dot org>
2115
2116         * gst/gstpoll.c:
2117         Fix "ignored return value" compiler warning with newer glibc.
2118
2119 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2120
2121         * gst/gstchildproxy.c:
2122         Fix copy&paste error in gst_child_proxy_removed() documentation.
2123
2124 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
2125
2126         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
2127           Print error debug message if plugin description fields that should
2128           be set are NULL.
2129
2130         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
2131           Don't crash if the string to serialise is NULL (it really should
2132           not be, but apparently this used to work with the xml registry ...).
2133
2134 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
2135
2136         * tools/gst-plot-timeline.py:
2137         Fix parsing of log messages
2138
2139 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
2140
2141         * win32/common/libgstbase.def::
2142           Sort alphabetically so make check-exports doesn't barf.
2143
2144 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
2145
2146         * gst/gstevent.c:
2147           Use gst_format_get_name() to improve debug output.
2148
2149         * gst/gstpreset.c:
2150           Remove #ifdef'ed code. Add TODO comment.
2151
2152         * gst/gstsegment.c:
2153           Add debug output to ease spotting format != segment.format assertions.
2154
2155 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2156
2157         * tests/check/libs/gdp.c: (gst_dp_suite):
2158         Also enable the GDP unit test again on PPC now that the bug
2159         is fixed.
2160
2161 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2162
2163         * libs/gst/dataprotocol/dataprotocol.c:
2164         Don't write to the same region of memory as a uint64 and uint16
2165         as this breaks strict aliasing rules and apparantly breaks on PPC
2166         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
2167
2168 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2169
2170         * libs/gst/controller/gstinterpolationcontrolsource.c:
2171           Optimize list handling. Use own find function. Exploit that fact that
2172           the list is sorted. Also pass back the node before, so that we can
2173           insert quickly. Have a fast path for append.
2174
2175 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
2176
2177         * docs/design/draft-framestep.txt:
2178         * docs/design/part-negotiation.txt:
2179           Fix two typos.
2180
2181 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2182
2183         * configure.ac:
2184           Show configuration sumary after configure run. Based on patch by
2185           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2186
2187 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
2188
2189         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2190
2191         * docs/manual/advanced-autoplugging.xml:
2192         * docs/manual/advanced-threads.xml:
2193         * docs/manual/basics-bins.xml:
2194         * docs/manual/basics-elements.xml:
2195         * docs/manual/basics-helloworld.xml:
2196         * docs/manual/basics-pads.xml:
2197           Add scale factor for pdf output.
2198
2199         * docs/manual/intro-basics.xml:
2200           Switched sections "pads" and "bins" and added a pipeline diagram.
2201
2202         * docs/manual/intro-gstreamer.xml:
2203           Added more info on gstreamer.
2204
2205         * docs/manual/intro-motivation.xml:
2206           Commented out the whole section "current problem", which sounds
2207           historical and somehow osolete; it could be turned in a positive
2208           way and reused to improve the design principles.
2209
2210         * docs/manual/intro-preface.xml:
2211           - Update URLs to library.gnome.org. 
2212           - Do not mention GTK+ in preliminary reading (irrelevant). 
2213           - Mention Plugin Writer's Manual and further reading only in the
2214             previous section.
2215           - Added a list of most relevant GObject/glib topics.
2216
2217         * docs/manual/Makefile.am:
2218         * docs/manual/bin-element-ghost.fig:
2219         * docs/manual/bin-element-ghost.png:
2220         * docs/manual/bin-element-noghost.fig:
2221         * docs/manual/bin-element-noghost.png:
2222         * docs/manual/bin-element.fig:
2223         * docs/manual/bin-element.png:
2224         * docs/manual/filter-element-multi.fig:
2225         * docs/manual/filter-element-multi.png:
2226         * docs/manual/filter-element.fig:
2227         * docs/manual/filter-element.png:
2228         * docs/manual/gstreamer-overview.png:
2229         * docs/manual/hello-world.fig:
2230         * docs/manual/hello-world.png:
2231         * docs/manual/linked-elements.fig:
2232         * docs/manual/linked-elements.png:
2233         * docs/manual/mime-world.fig:
2234         * docs/manual/mime-world.png:
2235         * docs/manual/queue.fig:
2236         * docs/manual/queue.png:
2237         * docs/manual/simple-player.png:
2238         * docs/manual/sink-element.fig:
2239         * docs/manual/sink-element.png:
2240         * docs/manual/src-element.fig:
2241         * docs/manual/src-element.png:
2242         * docs/manual/diagrams-general.svg:
2243         * docs/manual/diagrams-pipelines.svg:
2244           Removed .fig, added .png counterpart.
2245           
2246           Fixes: #539137
2247
2248 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
2249
2250         * plugins/elements/gstmultiqueue.c:
2251         * plugins/elements/gstmultiqueue.h:
2252         revert extra-size-buffers stuff, caused some race conditions
2253         and extra-size-buffers is not used anymore. Docs needs some updates
2254
2255 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2256
2257         * win32/common/config.h:
2258         * win32/common/gstenumtypes.c:
2259         * win32/common/gstenumtypes.h:
2260         * win32/common/gstversion.h:
2261           Update win32 files.
2262
2263 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
2264
2265         * gst/gstdebugutils.h: (GstDebugGraphDetails),
2266           (GST_DEBUG_BIN_TO_DOT_FILE):
2267           Add missing Since' markers to gtk-doc blurbs.
2268
2269 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
2270
2271         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2272         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2273         (set_caps_1), (set_caps_ct1), (transform_ct1),
2274         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2275         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2276         (transform_size_ct2), (buffer_alloc_ct2):
2277         Add some more tests with switching caps in buffer_alloc.
2278
2279 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2280
2281         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2282         (gst_test_trans_class_init), (result_sink_chain),
2283         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2284         (gst_test_trans_push), (gst_test_trans_pop):
2285         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2286         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2287         (set_caps_1), (set_caps_ct1), (transform_ct1),
2288         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2289         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
2290         (transform_size_ct2), (buffer_alloc_ct2),
2291         (gst_basetransform_suite):
2292         More tests, prepare for tests with switching caps in buffer_alloc.
2293
2294 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
2295
2296         * plugins/elements/gstmultiqueue.c:
2297         * plugins/elements/gstmultiqueue.h:
2298         Fix dead-lock in underrun_cb
2299
2300 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2301
2302         * docs/design/part-states.txt:
2303         Fix device open/close docs.
2304
2305 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * ChangeLog:
2308           Mention bugnumber for last commit.
2309
2310 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2311
2312         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2313
2314         * docs/manual/manual.xml:
2315         - Reorganised the previous "introduction" bundle into Foreword,
2316         Introduction, and About GStreamer. The two first are <preface>
2317         docbook elements. The later is the first part of the book.
2318         - added intro-gstreamer.xml (content partially from
2319         intro-preface.xml)
2320         - moved appendix-win32.xml into appendix-integration.xml
2321
2322         * docs/manual/intro-preface.xml: gstreamer section moved...
2323         * docs/manual/intro-gstreamer.xml: ...here. new file.
2324
2325         * docs/manual/appendix-win32.xml: removed file. Content moved...
2326         * docs/manual/appendix-integration.xml: ...here.
2327         
2328         * docs/manual/highlevel-components.xml: section about GstEditor moved...
2329         * docs/manual/appendix-checklist.xml: ...here.
2330         
2331         Fixes: 538764
2332
2333 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2334
2335         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2336
2337         * docs/manual/basics-helloworld.xml:
2338         * docs/manual/hello-world.fig:
2339           - Explicitely include glib.h.
2340           - Do not use global variables.
2341           - Use g_printerr() instead of g_print().
2342           - Minor formating/renaming to increase readibility.
2343           - Renamed new_pad() to on_pad_added()
2344           - Improved explenatory comments.
2345           - renamed ogg parser to ogg demuxer
2346           - Use "autoaudiosink" instead of "alsasink".
2347           Fixes: #538619
2348
2349 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2350
2351         * ChangeLog:
2352           Remove cvs conflict marker.
2353
2354 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
2355
2356         * docs/README:
2357           Document that for plgin-docs we extraxt he short-desc from the element
2358           details.
2359
2360         * docs/design/part-states.txt:
2361           Tell that devices should be closed in PAUSED -> READY.
2362
2363         * docs/manual/README:
2364           Document how tests in the manual are handled.
2365
2366         * docs/manuals.mak:
2367           Typo in comment.
2368
2369 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2370
2371         * gst/gstbin.c: (bin_query_latency_fold):
2372         Only care about latency min and max when the sink is actually a live
2373         sink.
2374
2375 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
2376
2377         * docs/design/part-block.txt:
2378         Fix typo.
2379
2380         * docs/design/part-element-transform.txt:
2381         Add notes about why transform needs to know input/output sizes.
2382         Add some issues that need to be solved.
2383         Add some more use cases.
2384
2385         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2386         (gst_test_trans_class_init), (result_sink_chain),
2387         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
2388         (gst_test_trans_push), (gst_test_trans_pop):
2389         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
2390         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
2391         (set_caps_1), (set_caps_ct1), (transform_ct1),
2392         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
2393         (gst_basetransform_suite):
2394         Add suport for different pad templates and buffer-alloc.
2395         Add more checks for caps and buffer-alloc.
2396         Add checks for proxy buffer alloc.
2397         Add unit test for copy transform.
2398
2399 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2400
2401         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
2402
2403         * docs/manual/appendix-integration.xml:
2404         * docs/manual/appendix-licensing.xml:
2405         * docs/manual/basics-elements.xml:
2406         * docs/manual/basics-helloworld.xml:
2407         * docs/manual/basics-pads.xml:
2408         * docs/manual/highlevel-components.xml:
2409         * docs/manual/highlevel-xml.xml:
2410         * docs/manual/intro-basics.xml:
2411         * docs/manual/intro-preface.xml:
2412           Typo and formatting fixes (#538594).
2413
2414 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
2415
2416         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2417         Fix some memory leaks and uses of object instances that we don't
2418         actually own.
2419
2420 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2421
2422         * plugins/elements/gstmultiqueue.c:
2423         Add functionality to extra-size-buffers property.
2424
2425 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
2426
2427         * plugins/elements/gstmultiqueue.c:
2428         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
2429         activate the pads if they are added in STATE_NULL.
2430
2431 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2432
2433         * docs/libs/gstreamer-libs-sections.txt:
2434         Add new API to doc
2435         * libs/gst/check/gstcheck.c:
2436         * libs/gst/check/gstcheck.h:
2437         API: gst_check_teardown_pad_by_name
2438
2439 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
2440
2441         * libs/gst/check/gstcheck.c:
2442         * libs/gst/check/gstcheck.h:
2443         Also setup request pads and allow setup pads by name (#537812)
2444         API: gst_check_setup_src_pad_by_name
2445         API: gst_check_setup_sink_pad_by_name
2446
2447 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2448
2449         * tests/check/gst/gstbuffer.c:
2450         * tests/check/pipelines/parse-launch.c:
2451           Use HAVE_VALGRIND_H some more.
2452
2453 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2454
2455         * scripts/cvs-update.sh:
2456           Pass arguments to make.
2457           Run autoregen.sh if Makefile is not there.
2458
2459 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
2460
2461         * configure.ac:
2462         * gst/gstinfo.c:
2463           Don't assume that <valgrind/valgrind.h> exists just because
2464           the binary is there.
2465
2466 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2467
2468         * tests/check/Makefile.am:
2469         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
2470         (gst_test_trans_class_init), (gst_test_trans_init),
2471         (gst_test_trans_set_data), (result_sink_chain),
2472         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
2473         (gst_test_trans_pop):
2474         * tests/check/libs/transform1.c: (GST_START_TEST),
2475         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
2476         Add some test basetransform element and the beginnings of various
2477         unit tests for it.
2478
2479 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2480
2481         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
2482         Increase code readability.
2483         Don't try to compare buffer offsets when ther are invalid.
2484
2485 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2486
2487         * docs/design/Makefile.am:
2488           Dist some more design docs.
2489
2490         * docs/random/moving-plugins:
2491           Small addition: good plugins mustn't have functional code
2492           within assertion macros.
2493
2494 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2495
2496         * docs/design/draft-framestep.txt:
2497         Some ideas about a framestep API
2498
2499         * docs/design/part-element-transform.txt:
2500         Start design and use cases for basetransform in order to get it
2501         fixed soon.
2502
2503 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2504
2505         * gst/gsttaglist.h:
2506           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
2507           be in UTF-8 encoding.
2508
2509 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
2510
2511         * gst/gstbus.c:
2512           Make it known that gst_bus_poll() is pure evil (fixes #538810).
2513
2514 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2515
2516         * plugins/elements/gstcapsfilter.c:
2517         * plugins/elements/gstfakesink.c:
2518         * plugins/elements/gstfakesrc.c:
2519         * plugins/elements/gstfdsink.c:
2520         * plugins/elements/gstfdsrc.c:
2521         * plugins/elements/gstfilesink.c:
2522         * plugins/elements/gstfilesrc.c:
2523         * plugins/elements/gstidentity.c:
2524         * plugins/elements/gstmultiqueue.c:
2525         * plugins/elements/gstqueue.c:
2526         * plugins/elements/gsttee.c:
2527         * plugins/elements/gsttypefindelement.c:
2528           Remove short_description. Add basic docs for gsttypefindelement.
2529           Simplify markup for fakesrc/fdsrc.
2530
2531 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2532
2533         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2534         Added Since doc.
2535
2536 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2537
2538         Patch by: Joel Larsson <tilljoel at gmail dot com>
2539
2540         * docs/plugins/gstreamer-plugins.args:
2541         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
2542         (gst_fd_src_init), (gst_fd_src_update_fd),
2543         (gst_fd_src_set_property), (gst_fd_src_get_property),
2544         (gst_fd_src_create):
2545         * plugins/elements/gstfdsrc.h:
2546         Add timeout property like udpsrc. Fixes #538628.
2547         Add some more docs and example pipelines.
2548
2549 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2550
2551         * docs/libs/gstreamer-libs-sections.txt:
2552         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2553         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
2554         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
2555         (gst_base_sink_do_sync):
2556         * libs/gst/base/gstbasesink.h:
2557         * win32/common/libgstbase.def:
2558         Add method to allow sinks to specify additional delay between the sync
2559         times and the actual rendering of the data.
2560         API: gst_base_sink_set_render_delay()
2561         API: gst_base_sink_get_render_delay()
2562
2563 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2564
2565         * configure.ac:
2566         Bump version number back to dev -> 0.10.20.1
2567
2568 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
2569
2570         * docs/gst/gstreamer-sections.txt:
2571         * gst/gsttaglist.c: (_gst_tag_initialize):
2572         * gst/gsttaglist.h:
2573         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
2574         Fixes bug #538568.
2575
2576 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2577
2578         * libs/gst/controller/gstcontroller.c:
2579           Revert one change, that make ret value possible uninitialized.
2580
2581 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2582
2583         * libs/gst/controller/gstcontroller.c:
2584           Use freeze/thaw notify to sync notify emission a bit (its also more
2585           efficient). Move debug output to LOG (is called a lot in a loop).
2586           Always unset g_values if the have been initialized.
2587
2588 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2589
2590         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2591         (gst_base_sink_wait_eos), (gst_base_sink_event):
2592         If we have not seen a buffer before EOS, use the segment values to
2593         report the current position instead of invalid positions.
2594
2595 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2596
2597         * docs/plugins/tmpl/.cvsignore:
2598         * tests/check/gst/.cvsignore:
2599           Ignore more.
2600
2601 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2602
2603         * libs/gst/controller/gstinterpolation.c:
2604         * libs/gst/controller/gstinterpolationcontrolsource.c:
2605         * tests/check/libs/controller.c:
2606           Rewrite handling of default values. Fix overflow with unsigned types
2607           in linear interpolation. Remove now obsolete _first_value() function.
2608           Add more tests. Fixes #538201.
2609
2610 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2611
2612         * libs/gst/base/gstbasetransform.c:
2613         (gst_base_transform_class_init), (gst_base_transform_init),
2614         (gst_base_transform_transform_caps),
2615         (gst_base_transform_prepare_output_buffer):
2616         Add debug info.
2617         When a buffer is writable, its metadata is also writable so we don't
2618         need to subbuffer (which then makes the buffer not-writable anymore).
2619
2620 === release 0.10.20 ===
2621
2622 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
2623
2624         * configure.ac:
2625           releasing 0.10.20, "You Crazy Diamond"
2626
2627 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2628
2629         * configure.ac:
2630         0.10.19.3 pre-release
2631
2632 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
2633
2634         * configure.ac:
2635         * gst/gstpreset.c:
2636         Rename DATADIR to GST_DATADIR to avoid build problems
2637         on win32. Patch By: David Schleef <ds@schleef.org>
2638         Fixes: #536857
2639
2640 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
2641
2642         * configure.ac:
2643         Explicitely link with -ldl if dladdr() is found there. Before it was
2644         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
2645         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
2646
2647 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
2648
2649         * gst/gsterror.c: (_gst_stream_errors_init):
2650           Fix typo (spotted by Fabricio Godoy, #536723).
2651
2652 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
2653
2654         * configure.ac:
2655         0.10.19.2 pre-release
2656
2657 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2658
2659         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
2660         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
2661         Add some debug.
2662         Make sure we don't generate invalid QoS messages.
2663
2664 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2665
2666         * gst/gstevent.c: (gst_event_new_qos):
2667         Add some assert and docs for invalid input to the qos function.
2668
2669 2008-05-30  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):
2673         The reported position must always be smaller than the last seen
2674         timestamps (or timestamp + duration for reverse).
2675
2676 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
2677
2678         Patch by: Rob Bradford <rob at robster dot org dot uk>
2679
2680         * gst/gstregistry.c: (gst_registry_scan_path_level):
2681         Don't recurse into .debug directories as some distros install
2682         the debugging symbols next to the plugins in .debug directories
2683         and dlopen() crashes on them sometimes. Fixes bug #508070.
2684
2685         Add FIXME for 0.11 to not recurse into directories at all because
2686         it's very inconsistent to the behaviour of other PATH environment
2687         variables.
2688
2689 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2690
2691         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2692         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
2693         Fix position query range checks in reverse playback.
2694
2695 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
2696
2697         * gst/gstelement.c:
2698         * gst/gstelement.h:
2699         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
2700         clear of the reference to the resulting pad must be released later
2701         or not, resulting in possible leaks. Fixes bug #533865.
2702
2703 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2704
2705         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2706
2707         * gst/gstelementfactory.c:
2708         Small doc fix. Fixes #535285.
2709
2710 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2711
2712         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
2713
2714         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2715         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2716         (gst_base_src_loop), (gst_base_src_set_flushing),
2717         (gst_base_src_change_state):
2718         Make sending an EOS event to the basesrc non-blocking even if the
2719         implementation does blocking waits in the create function. This is done
2720         by unlocking the create function when EOS is sent.
2721         Fixes #535218.
2722
2723 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2724
2725         * tools/gst-inspect.c: (print_element_properties_info):
2726         If possible print the element type of GValueArray properties.
2727
2728 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
2729
2730         * gst/gstiterator.c:
2731         Remove an unused field from the private GstListIterator struct.
2732
2733 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2734
2735         * libs/gst/controller/gstcontroller.c:
2736           Add parameter guards.
2737
2738 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2739
2740         * tests/check/gst/gstpipeline.c:
2741           Revert test change and add comment why it should not work.
2742
2743 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
2744
2745         * tests/check/gst/gstpipeline.c:
2746           Extending the test a little to verify that we also get the NULL state-
2747           change message.
2748
2749 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2750
2751         * gst/gstpreset.c: (gst_preset_default_get_meta),
2752           (gst_preset_get_preset_names), (gst_preset_get_property_names),
2753           (gst_preset_load_preset), (gst_preset_save_preset),
2754           (gst_preset_rename_preset), (gst_preset_delete_preset),
2755           (gst_preset_set_meta):
2756           Add Since: markers to docs blurbs.
2757
2758         * win32/common/libgstreamer.def:
2759           Add recently-added API.
2760
2761 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2762
2763         Patch by: Stefan Kost  <ensonic@users.sf.net>
2764
2765         * configure.ac:
2766         Add DATADIR for storing presets.
2767
2768         * docs/gst/gstreamer-docs.sgml:
2769         * docs/gst/gstreamer-sections.txt:
2770         * docs/gst/gstreamer.types.in:
2771         Add GstPreset to docs.
2772
2773         * gst/Makefile.am:
2774         * gst/gst.h:
2775         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
2776         (preset_open_and_parse_header), (preset_parse_version),
2777         (preset_merge), (preset_get_keyfile),
2778         (gst_preset_default_get_preset_names),
2779         (gst_preset_default_get_property_names),
2780         (gst_preset_default_load_preset),
2781         (gst_preset_default_save_presets_file),
2782         (gst_preset_default_save_preset),
2783         (gst_preset_default_rename_preset),
2784         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
2785         (gst_preset_default_get_meta), (gst_preset_default_randomize),
2786         (gst_preset_default_reset), (gst_preset_get_preset_names),
2787         (gst_preset_get_property_names), (gst_preset_load_preset),
2788         (gst_preset_save_preset), (gst_preset_rename_preset),
2789         (gst_preset_delete_preset), (gst_preset_set_meta),
2790         (gst_preset_get_meta), (gst_preset_class_init),
2791         (gst_preset_base_init), (gst_preset_get_type):
2792         * gst/gstpreset.h:
2793         Add GstPreset to core. Fixes #396779
2794
2795         * tests/check/Makefile.am:
2796         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
2797         (gst_preset_test_set_property), (gst_preset_test_class_init),
2798         (gst_preset_test_base_init), (gst_preset_test_get_type),
2799         (gst_preset_test_plugin_init), (GST_START_TEST),
2800         (remove_preset_file), (test_setup), (test_teardown),
2801         (gst_preset_suite):
2802         Add GstPreset unit tests.
2803
2804 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2805
2806         * gst/gstpad.c: (gst_pad_event_default_dispatch):
2807         The default event function on a sinkpad should return TRUE when
2808         there are no internal links but should collect the return values from
2809         the internal links otherwise.
2810
2811 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2812
2813         * plugins/elements/gsttypefindelement.c:
2814         (gst_type_find_element_src_event),
2815         (gst_type_find_element_handle_event):
2816         Use faster and safer _pad_push_event().
2817
2818 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
2819
2820         * docs/gst/gstreamer-sections.txt:
2821         * gst/gstutils.c: (element_find_unlinked_pad),
2822           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
2823         * gst/gstutils.h:
2824           API: add gst_bin_find_unlinked_pad()
2825           API: deprecate gst_bin_find_unconnected_pad() (#401456)
2826
2827 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
2828
2829         * gst/gstclock.c:
2830         * gst/gstclock.h:
2831         * gst/gsttask.c:
2832         * gst/gsttask.h:
2833         Fixed a bunch of typos.
2834
2835 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2836
2837         * gst/gstpad.h:
2838         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
2839           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
2840           (gst_parse_bin_from_description_full):
2841         * gst/gstutils.h:
2842           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
2843
2844 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2845
2846         * docs/pwg/advanced-tagging.xml:
2847           Small docs update, can't be bothered to rewrite the nonsensical
2848           examples right now.
2849
2850 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2851
2852         * gst/gstevent.h:
2853           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
2854
2855 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2856
2857         * gst/parse/grammar.y:
2858           Remove unneeded casts.
2859
2860 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
2861
2862         * gst/parse/grammar.y:
2863         * tests/check/pipelines/parse-launch.c:
2864           Get all missing elements from a parse launch string if possible
2865           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
2866
2867 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2868
2869         * tests/check/Makefile.am:
2870         * tests/check/pipelines/parse-launch.c:
2871           Add some unit tests for the new gst_parse_launch*_full() API.
2872           (Exposes a previously-existing memory leak in the error code
2873           path, so adding to VALGRIND_TO_FIX for now).
2874
2875 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
2876
2877         * docs/gst/gstreamer-sections.txt:
2878         * gst/gst.c: (init_post):
2879         * gst/gst_private.h: (_GstParseContext):
2880         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
2881           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
2882           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
2883           (gst_parse_launch_full):
2884         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
2885           (GstParseFlags), (GstParseContext):
2886         * gst/gstutils.c: (gst_parse_bin_from_description),
2887           (gst_parse_bin_from_description_full):
2888         * gst/gstutils.h:
2889         * gst/parse/grammar.y:
2890         * gst/parse/types.h:
2891         * win32/common/libgstreamer.def:
2892           Add new gst_parse_*_full API (#528178):
2893           API: gst_parse_launch_full()
2894           API: gst_parse_launchv_full()
2895           API: gst_parse_bin_from_description_full()
2896           API: gst_parse_context_new()
2897           API: gst_parse_context_free()
2898           API: gst_parse_context_get_missing_elements()
2899
2900 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
2901
2902         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
2903
2904         * docs/faq/gst-uninstalled:
2905           Also support ffmpeg in gst-uninstalled.
2906
2907 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2908
2909         * configure.ac:
2910         After discussion on IRC use the binary registry as default
2911         but allow to disable it with --disable-binary-registry.
2912
2913         * win32/common/libgstreamer.def:
2914         Add the two new symbols for the binary registry.
2915
2916 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
2917
2918         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
2919         * gst/gstutils.c: (gst_parse_bin_from_description):
2920         * gst/parse/grammar.y: (graph):
2921           More guards against bad input; typo fix; some minor clean-ups.
2922
2923 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
2924
2925         Patch by: Sjoerd Simons <sjoerd at luon dot net>
2926
2927         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2928         If nothing else can be used, use the last buffer's start time as
2929         the segment's last stop. Fixes bug #534258.
2930
2931 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
2932
2933         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
2934           Move size sanity check to the right place: downstream may return
2935           a buffer with a smaller size if the buffer caps are different than
2936           the requested ones, as may happen when doing reverse negotiation.
2937
2938 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2939
2940         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
2941         (gst_file_sink_render):
2942         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
2943         (gst_file_src_start):
2944         Small cleanups. Add note adbout g_fopen() on windows and why we don't
2945         use it yet.
2946
2947 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2948
2949         * gst/gstpad.c: (gst_pad_load_and_link):
2950         * gst/gstutils.c: (gst_element_link_pads),
2951         (gst_element_unlink_pads):
2952         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2953         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2954         (gst_check_teardown_sink_pad),
2955         (gst_check_element_push_buffer_list):
2956         * tests/check/elements/fakesink.c: (GST_START_TEST):
2957         * tests/check/elements/filesink.c:
2958         * tests/check/elements/filesrc.c: (GST_START_TEST):
2959         * tests/check/elements/multiqueue.c: (setup_multiqueue),
2960         (mq_sinkpad_to_srcpad):
2961         * tests/check/elements/tee.c: (GST_START_TEST):
2962         * tests/check/generic/sinks.c: (GST_START_TEST):
2963         * tests/check/gst/gstbin.c: (GST_START_TEST):
2964         * tests/check/gst/gstevent.c: (GST_START_TEST):
2965         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2966         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
2967         * tests/check/gst/gstquery.c: (GST_START_TEST):
2968         * tests/check/gst/gstutils.c: (GST_START_TEST):
2969         * tests/check/libs/basesrc.c: (GST_START_TEST):
2970         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
2971         (gst_parse_test_element_change_state):
2972         Don't use gst_element_get_pad().
2973
2974 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
2975
2976         * docs/Makefile.am:
2977         Fix installing plugin documentation when gtk-doc is disabled.
2978
2979 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2980
2981         * docs/manual/advanced-autoplugging.xml:
2982         * docs/manual/basics-helloworld.xml:
2983         * docs/manual/basics-pads.xml:
2984         * docs/manual/highlevel-components.xml:
2985         Avoid using a bad function in the example code.
2986
2987 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2988
2989         * gst/gstclock.c: (gst_clock_set_calibration):
2990         Fix debug of the new clock rate.
2991
2992 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
2993
2994         * win32/common/libgstbase.def:
2995         Add gst_base_sink_wait_clock() to the exported symbols.
2996
2997 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
2998
2999         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
3000
3001         * libs/gst/base/gstbasetransform.c:
3002         (gst_base_transform_sink_event):
3003         Unref events that the GstBaseTransform::event vfunc didn't want to
3004         have forwarded by the base class. Closes a leak in identity.
3005         Fixes bug #446763.
3006
3007 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3008
3009         * docs/libs/gstreamer-libs-sections.txt:
3010         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
3011         * libs/gst/base/gstbasesink.h:
3012         Expose a method that was previously used internally to synchronize
3013         against the clock because it can be useful for subclasses too.
3014         API: GstBaseSink::gst_base_sink_wait_clock()
3015
3016 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3017
3018         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
3019           Add sanity check to make sure we don't get smaller buffers
3020           than requested (and fallback to normal buffer alloc if we do).
3021
3022 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3023
3024         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
3025         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
3026         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
3027         Refactor adjusting the running_time with latency and offset into a
3028         separate method.
3029         When doing clipping, we still want to use the subclass get_times method,
3030         just in case the DURATION or TIMESTAMP are not set.
3031
3032 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3033
3034         * docs/gst/gstreamer-sections.txt:
3035         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
3036         * gst/gsttypefind.h:
3037         * win32/common/libgstreamer.def:
3038           API: add gst_type_find_suggest_simple(), #533740.
3039
3040 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
3041
3042         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
3043           Use right error code when typefinding fails, so we can use
3044           the default (translated) error messages.
3045
3046 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3047
3048         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3049         (gst_base_src_start):
3050         When the subclass did not set caps on outgoing buffers, configure the
3051         caps we negotiated on the source pad.
3052         When the typefind helper does not find caps, error out properly instead
3053         of doing things with NULL caps.
3054
3055 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3056
3057         * gst/gsttypefind.h:
3058           Tabs to spaces, oh yes!
3059
3060 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3061
3062         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
3063           Add David's and Benjamin's tests for array intersection to the
3064           unit test suite (#147931).
3065
3066 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
3067
3068         * gst/gstevent.c:
3069           Document that gst_event_new_tag() and gst_event_new_navigation()
3070           take ownership of the taglist/structure passed to them. (#533635).
3071
3072 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
3073
3074         * docs/Makefile.am:
3075         Don't descend into the plugins dir if plugin docs building
3076         is disabled.
3077
3078         * docs/README:
3079         Add a note about the new type:GTypeName syntax for the plugin
3080         documentation .types file.
3081
3082 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3083
3084         * gst/gstmessage.c: (gst_message_new_error),
3085         (gst_message_new_warning), (gst_message_new_info):
3086         * gst/gstmessage.h:
3087         Mark the debug string parameters as const. Fixes bug #533490.
3088
3089 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
3090
3091         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
3092         Sort buffer cache list by end offsets. This makes sure that we don't
3093         stop to search for a cached buffer that contains the requested data
3094         too early.
3095         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
3096         more efficient. Fixes bug #459862.
3097
3098 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
3099
3100         * gst/gstinfo.c:
3101           Explain why we copy the list.
3102
3103         * gst/gstpipeline.c:
3104           Improve docs.
3105
3106         * gst/gstutils.c:
3107           Add one debug-log statement to help tracing probelms with linking pads.
3108
3109 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
3110
3111         * tests/check/gst/gstinfo.c:
3112         Add a test for removing the default log handler. Seems to fail under
3113         windows.
3114
3115 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3116
3117         * gst/gstpad.c: (gst_pad_peer_accept_caps):
3118         Release pad lock before calling out to avoid a possible deadlock.
3119
3120 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
3121
3122         * gst/parse/grammar.y:
3123         Remove unneeded value unset.
3124
3125         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3126         Add unit test for de/serialization of caps.
3127
3128 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3129
3130         * plugins/elements/gstfakesink.c:
3131         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
3132         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
3133         (gst_fake_src_class_init):
3134         Use custom marshalers that take GstMiniObject as first parameter.
3135         Using OBJECT as parameter while a GstMiniObject is given will lead
3136         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
3137
3138 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3139
3140         * plugins/elements/gsttypefindelement.c:
3141         (gst_type_find_element_handle_event),
3142         (gst_type_find_element_send_cached_events),
3143         (gst_type_find_element_change_state):
3144         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
3145         immediately.
3146
3147 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3148
3149         * plugins/elements/gsttypefindelement.c:
3150         (gst_type_find_handle_src_query), (stop_typefinding),
3151         (gst_type_find_element_handle_event),
3152         (gst_type_find_element_send_cached_events),
3153         (gst_type_find_element_change_state):
3154         Forward FLUSH_START events immediately and clean up instead of
3155         caching them.
3156
3157 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
3158
3159         Patch by: Sjoerd Simons <sjoerd at luon dot net>
3160
3161         * libs/gst/base/gstbasetransform.c:
3162         (gst_base_transform_buffer_alloc):
3163         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
3164         fall back to default negotiation in the chain function if the caps
3165         are different from what was requested. Fixes bug #526768.
3166
3167 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3168
3169         * gst/gstsegment.c:
3170         * tests/check/gst/gstsegment.c:
3171           No, let's not use g_slice_{dup|copy} here, since they only exist
3172           since GLib 2.14 and we still depend only on >= 2.12. Also add
3173           unit test for gst_segment_copy().
3174
3175 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
3176
3177         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
3178           Try to fix 'dereferencing type-punned pointer will break strict
3179           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
3180           changed the default GType typedef from gulong to gsize at some point,
3181           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
3182           g_once_* functions all take a gsize * though, so work around the type
3183           mismatch for C++ by doing everything in gsize and casting to GType
3184           later.
3185
3186 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
3187
3188         * plugins/elements/gstmultiqueue.c:
3189         Add documentation for the signals to push our core plugin docs
3190         coverage back up to 100%.
3191
3192 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3193
3194         * gst/gstinfo.h (GST_FUNCTION):
3195           Reverted GST_FUNCTION to the old version as we don't want the
3196           full signature in C++ code. Also added support for MSVC.
3197
3198 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3199
3200         * gst/gstutils.h:
3201         Intern the type name string, similar to what G_DEFINE_TYPE does.
3202
3203 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3204
3205         * gst/gstutils.h:
3206         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
3207
3208 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
3209
3210         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
3211
3212         * libs/gst/base/gstbasetransform.c:
3213         (gst_base_transform_buffer_alloc):
3214         Don't passthrough buffer allocation too easily if the caps change.
3215         This breaks when working in passthrough mode and upstream changes
3216         it's caps. Fixes bug #526768.
3217
3218 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3219
3220         * gst/gstinfo.c (gst_debug_log_valist):
3221           Improved the __FILE__ part of debug output for MSVC.
3222
3223 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3224
3225         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
3226           Declaration after statement fix for compilers like MSVC.
3227
3228 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3229
3230         * win32/common/config.h.in:
3231           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
3232           use the real thing than having "???" unconditionally.
3233
3234 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
3235
3236         * gst/gstinfo.h (GST_FUNCTION):
3237           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
3238
3239 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3240
3241         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
3242         Small code cleanup.
3243
3244         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3245         (gst_base_sink_set_flushing):
3246         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3247         Fix some comments.
3248
3249 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3250
3251         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3252         (gst_fake_src_init), (gst_fake_src_set_property),
3253         (gst_fake_src_get_property), (gst_fake_src_start):
3254         * plugins/elements/gstfakesrc.h:
3255         Added format property to control the format of the newsegment events.
3256         API: GstFakeSrc:format
3257
3258 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3259
3260         * win32/common/libgstreamer.def:
3261         Add gst_pad_has_name() to the exported symbols.
3262
3263 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
3266         * libs/gst/base/gstbasetransform.c:
3267         (gst_base_transform_prepare_output_buffer):
3268         Don't allow negative sizes when allocating new buffers.
3269         Fixes bug #461253.
3270
3271 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3272
3273         Patch by: Sjoerd Simons <sjoerd at luon net>
3274
3275         * gst/gstbus.c: (gst_bus_source_dispatch):
3276           Don't print a warning if the queue is empty when we try to pop
3277           here. That could happen if another thread or callback set the
3278           bus to flushing between the source's check/prepare and the
3279           dispatch being called (#531538).
3280
3281 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
3282
3283         * plugins/elements/gstmultiqueue.c:
3284           Small docs fix.
3285         
3286 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3289         Add unit test for deserializing uint64s and check some really large
3290         numbers in the int64 test.
3291
3292 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3293
3294         * tools/gst-inspect.c: (n_print), (print_hierarchy),
3295         (print_interfaces), (print_element_properties_info),
3296         (print_signal_info):
3297         Use "%s" as format string instead of printing strings directly.
3298
3299 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
3300
3301         * gst/gstclock.c: (gst_clock_set_calibration):
3302         Make some checks actually useful.
3303
3304         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3305         Remove some unused code. Unsigned integers tend to be >= 0.
3306
3307 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3308
3309         * gst/gstminiobject.c: (gst_value_get_mini_object):
3310           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
3311           function was not in the unscheduled 0.10.19 release.
3312
3313 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3314
3315         * gst/gstregistry.c: (gst_registry_scan_path_level):
3316           Only print one log message per non-plugin file.
3317
3318 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3319
3320         * gst/gstinfo.c: (gst_debug_log_default):
3321           Fix alignment of debug log columns on 64-bit.
3322
3323 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
3324
3325         * docs/libs/Makefile.am:
3326         * docs/libs/gstreamer-libs-sections.txt:
3327           Ignore private controller headers for docs.
3328
3329 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
3330
3331         * libs/gst/controller/gstcontrollerprivate.h:
3332         * libs/gst/controller/gsthelper.c:
3333         * libs/gst/controller/gstinterpolation.c:
3334         * libs/gst/controller/gstinterpolationcontrolsource.c:
3335         (gst_interpolation_control_source_set_interpolation_mode):
3336         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3337         * libs/gst/controller/lib.c:
3338         Move some private declarations into private headers.
3339
3340 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
3341
3342         * gst/gstdebugutils.c: (debug_dump_element_pad):
3343         Remove some code that is unused after Stefan's refactoring and uses
3344         uninitialized variables now, resulting in a compiler warning.
3345
3346 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
3347
3348         * gst/gstregistry.c: (gst_registry_scan_path_level):
3349           Run g_str_has_suffix() only on the file name, not the
3350           entire file path.
3351
3352 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
3353
3354         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
3355           Since we're not called only from the chain function any longer,
3356           we can't assume that there's always data in the queue, so move
3357           the is_full check to the beginning of the loop (otherwise we'd
3358           hit the assert when changing the limit properties while the
3359           queue is empty or not running yet).
3360           Also, only set a discont if items were actually removed from
3361           the queue.
3362
3363         * tests/check/elements/queue.c: (test_leaky_downstream):
3364           Test case for the above.
3365
3366 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
3367
3368         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
3369
3370         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
3371         (gst_queue_chain), (queue_capacity_change),
3372         (gst_queue_set_property):
3373         When changing thr max capacity of a leaky queue, immediatly drop buffers
3374         instead of waiting for a push on the sinkpad. Fixes #530637.
3375
3376 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * gst/gstdebugutils.c:
3379           Refactor code and fix handling of ghostpads and their proxypads.
3380
3381 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3382
3383         * docs/gst/gstreamer-sections.txt:
3384         * gst/gstevent.c: (gst_event_has_name):
3385         * gst/gstevent.h:
3386         * tests/check/gst/gstevent.c: (GST_START_TEST):
3387         Add method to conveniently check the name of a custom event with
3388         gst_event_has_name().
3389         Reformat the event docs so that related methods are put together instead
3390         of the default alphabetical sort.
3391         Update unit test with new method.
3392         API: GstEvent::gst_event_has_name()
3393
3394 2008-04-28  Michael Smith <msmith@songbirdnest.com>
3395
3396         * libs/gst/check/Makefile.am:
3397           Don't add an explicit link to libgstreamer-0.10.la; it's already
3398           included in GST_OBJ_LIBS.
3399
3400 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
3401
3402         * gst/gst.c:
3403         Register GstClock type from a type-safe context. Fixes bug #530317.
3404
3405 2008-04-25  Michael Smith <msmith@songbirdnest.com>
3406
3407         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
3408         * tools/gst-run.c:
3409           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
3410
3411 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3412
3413         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3414         (gst_bin_dispose):
3415         Use the GLib stuff to create a private structure.
3416         Add some locking around some dispose methods to make them a little
3417         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
3418
3419 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3420
3421         * libs/gst/base/gstbasesink.h:
3422         * libs/gst/base/gstbasesrc.h:
3423         * libs/gst/base/gstbasetransform.h:
3424         * libs/gst/base/gstcollectpads.h:
3425           Fix doc typos and unify caps a bit.
3426
3427 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
3428
3429         * tools/gst-launch.1.in:
3430           Forgot to also add the envvar docs here.
3431
3432 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
3433
3434         * gst/gst.c: (init_post), (gst_deinit):
3435         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
3436           (test_concurrent_create), (gst_pipeline_suite):
3437           Ref some more classes in gst_init() to work around thread-safety
3438           issues in pre-2.16 GLibs, and add basic unit test.
3439
3440 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
3441
3442         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3443         (gst_base_sink_send_event):
3444         Rearrange the latency query code. We always want to do the upstream
3445         query, even if we are not live so that the upstream elements can get the
3446         latency results too. If we fail doing the query and we are live, we
3447         return TRUE afterwards.
3448
3449 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3450
3451         patch by: Jason Zhao <e3423c@motorola.com>
3452
3453         * docs/gst/running.xml:
3454         * gst/gst.c:
3455           Enable/disable scan_and_update_registry() based on commandline switch
3456           or environment variable. Fixes #520468.
3457           
3458         * ChangeLog:
3459           Fix typo in my previous commit.
3460
3461 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3462
3463         * gst/gstregistrybinary.c:
3464           Add a warning if we hit unhandled factories when saving.
3465           More debug logging detail, but move to LOG category.
3466
3467 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
3468
3469         * gst/gstregistry.c:
3470           Tell the *truth* when improving the documentation.
3471
3472 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
3473
3474         * gst/gstelementfactory.c: (gst_element_factory_make):
3475         Unref the factory after it was used the last time, not before.
3476
3477         * gst/gstindexfactory.c: (gst_index_factory_make):
3478         Improve debugging a bit and don't leak a ref to the index factory with
3479         each call.
3480
3481 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * gst/gstregistry.c:
3484           Improve the documentation.
3485
3486 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * gst/gstsegment.c:
3489           The glib macro seems to be borked. Use g_slice_copy directly and cast
3490           in the hope that this fixes the warning on 64bit.
3491
3492 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3493
3494         * gst/gstsegment.c:
3495           Document the new function. Use g_slice_dup() (no need for
3496           gst_segment_init()).    
3497
3498 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
3499
3500         * docs/gst/gstreamer-sections.txt:
3501           Move GParamSepc macros to standart section.
3502   
3503         * gst/gstbin.c:
3504           Dn't document _get_type - its in private section in docs anyway and
3505           this doc-blob was incomplete.
3506
3507         * gst/gstclock.h:
3508           Fix wrong symbol names in docs.
3509
3510         * gst/gstmacros.h:
3511           Add once doc sentence.
3512
3513         * tests/check/gst/.cvsignore:
3514           Ignore more.
3515
3516 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3517
3518         * docs/gst/Makefile.am:
3519           And remove those libs here.
3520
3521 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3522
3523         * docs/libs/Makefile.am:
3524           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
3525
3526 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3527
3528         Patch by: Olivier Crete <tester at tester dot ca>
3529
3530         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3531         Add the min-threshold to the min latency if possible. Fixes #529148.
3532
3533 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * docs/gst/gstreamer.types.in:
3536           Stupid editor, I removed that line as it should go in yet.
3537
3538 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
3539
3540         * docs/gst/gstreamer.types.in:
3541         * docs/libs/gstreamer-libs.types:
3542           Remove library types fro core docs and have them in libs docs.
3543           Reformat and cleanup. Add comment for miniobject types.
3544
3545 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         * gst/gsturi.c: (gst_uri_get_protocol):
3548           Fix leak: g_strdown operates on the string in place, while
3549           g_ascii_strdown() returns a newly-allocated string.
3550
3551 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
3552
3553         * tools/gst-inspect.c: (print_uri_handler_info),
3554         (print_element_info):
3555         Print the URI protocols and the URI type supported by the element.
3556
3557 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3558
3559         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
3560         Use g_value_take_string() instead of the deprecated
3561         g_value_set_string_take_ownership().
3562
3563 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3564
3565         * gst/gstregistrybinary.c: (_gst_crc32):
3566         Return the old CRC instead of 0 if we give a NULL buffer
3567         or a buffer with a length of 0.
3568
3569 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3570
3571         * gst/gsturi.c: (gst_uri_protocol_check_internal),
3572         (gst_uri_get_protocol), (gst_uri_has_protocol),
3573         (gst_uri_construct), (gst_uri_handler_set_uri):
3574         A valid URI scheme can also include '+', '-' and '.' additional
3575         to alphanumeric characters as per RFC 3986 Section 3.1.
3576
3577         Handle URI schemes case insensitive in all places and convert
3578         to lower-case when constructing an URI or setting an URI with
3579         the GstURIHandler interface. Fixes bug #528868.
3580         All elements can still assume (as before) that they will
3581         get passed URIs with a lower-case URI scheme by the GstURIHandler
3582         interface.
3583
3584 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
3585
3586         * gst/gstcaps.c: (gst_static_caps_get):
3587         * gst/gstclock.c: (gst_clock_entry_new):
3588           Don't use g_atomic_set_int where it's not needed.
3589
3590 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3591
3592         * gst/gstvalue.c: (gst_value_deserialize_caps):
3593         * gst/parse/grammar.y:
3594         Fix 2 caps leaks.
3595
3596 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3597
3598         * gst/gstutils.c: (gst_atomic_int_set):
3599         Use g_atomic_int_set() here too instead of assignment +
3600         g_atomic_int_get().
3601
3602 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
3603         
3604         * gst/gstutils.c:
3605         * gst/gstutils.h:
3606         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
3607         now that we depend on new enough GLib.
3608
3609         * gst/gstcaps.c: (gst_static_caps_get):
3610         * gst/gstclock.c: (gst_clock_entry_new):
3611         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
3612         (gst_debug_set_default_threshold), (_gst_debug_category_new),
3613         (gst_debug_category_set_threshold):
3614         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3615         (gst_base_sink_set_qos_enabled):
3616         * libs/gst/net/gstnettimeprovider.c:
3617         (gst_net_time_provider_set_property):
3618         Use g_atomic_int_set() instead of gst_atomic_int_set().
3619
3620 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * gst/gstquery.c:
3623           Also use G_GINT64_CONSTANT for the queries.
3624
3625 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3626
3627         * gst/gstmessage.c:
3628           Use G_GINT64_CONSTANT in varargs function.
3629
3630 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3631
3632         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
3633         Initialize the registry magic with zeroes.
3634
3635 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3636
3637         * gst/gstregistrybinary.c: (_gst_crc32),
3638         (gst_registry_binary_write),
3639         (gst_registry_binary_initialize_magic),
3640         (gst_registry_binary_write_cache),
3641         (gst_registry_binary_check_magic),
3642         (gst_registry_binary_read_cache):
3643         * gst/gstregistrybinary.h:
3644         Add crc32 checksum to the binary registry file and check this before
3645         accepting a registry file.
3646
3647         Also free the data list when writing to the registry file fails.
3648
3649 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
3650
3651         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3652         (gst_registry_binary_load_feature),
3653         (gst_registry_binary_load_plugin):
3654         If an element supports the Uri interface, returns a valid pointer
3655         to the supported URI protocols but this pointer contains nothing
3656         don't try to save that as it will corrupt the registry.
3657
3658         Don't unref the plugin if we added it to the registry already but
3659         fail to load a feature as gst_registry_add_plugin() takes ownership
3660         of the plugin.
3661
3662         Improve debugging a bit.
3663
3664 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
3665
3666         * gst/gsttaglist.h:
3667           Clarify some tag item docs after discussion on irc.
3668
3669 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3670
3671         * docs/gst/gstreamer-docs.sgml:
3672           Remove commented out plugins (they have their own docs). Update
3673           comments.
3674
3675 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3676
3677         * docs/gst/gstreamer-docs.sgml:
3678         * docs/gst/gstreamer-sections.txt:
3679         * gst/gstparamspecs.c:
3680         * gst/gstparamspecs.h:
3681           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
3682           docs to own section.
3683
3684         * gst/gstvalue.c:
3685           This now only documents GValue.
3686           
3687         * docs/libs/gstreamer-libs-sections.txt:
3688         * libs/gst/controller/gstcontroller.h:
3689           Remove GST_PARAM_CONTROLLABLE.
3690
3691 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
3692
3693         * docs/README:
3694           Correct file path. Tell about how to use -overrides.txt.
3695         * docs/design/draft-tagreading.txt:
3696           Small design update.
3697
3698 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
3699
3700         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
3701         (gst_registry_binary_load_plugin):
3702         Fix a typo in a debug message and revert change from yesterday as
3703         gst_registry_add_plugin() will only fail if something is really wrong
3704         already and we can't survive it anyway.
3705
3706 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
3707
3708         * gst/gst.c: (init_post), (gst_deinit):
3709           Pre-register GstGError GType from a thread-safe context
3710           (fixes #527967); unref enum type classes in deinit.
3711
3712 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3713
3714         Patch by: Rene Stadler <mail at renestadler de>
3715
3716         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
3717           Merging an empty list with another list in KEEP_ALL mode should
3718           yield an empty list as result and not the second list (#512578).
3719
3720         * tests/check/gst/gsttagsetter.c:
3721           Add unit test for tag merge modes and the aforementioned bug.
3722
3723 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3724
3725         Patch by: Rene Stadler <mail at renestadler de>
3726
3727         * gst/gsttaglist.h:
3728           Fix description to match the order in the table (#512577).
3729   
3730 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
3731
3732         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
3733
3734         * libs/gst/net/gstnettimepacket.h:
3735         * docs/libs/gstreamer-libs-sections.txt:
3736           Define socklen_t as int if it's not defined yet. Fixes compilation
3737           with MSVC6 and other versions where socklen_t is not defined in
3738           the windows headers (#518022).
3739
3740 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
3741
3742         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
3743         If gst_registry_add_plugin() fails our reference to the plugin is
3744         invalid so don't try to use it anymore and instead error out.
3745
3746 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3747
3748         * tools/gst-xmlinspect.c: (print_element_info), (main):
3749           De-cruft a bit. If no argument is specified, print all elements in
3750           XML syntax rather than a freestyle list of elements like gst-inspect.
3751           Also, don't print XML header chunk unless we actually have something
3752           to print (ie. don't print it before an error message); print error
3753           message to stderr not stdout. Remove support for printing plugin
3754           info (it would just output something freestyle along the lines of
3755           gst-inspect so far), which fixes #514507. Also add license header.
3756
3757 2008-04-11  Julien Moutte  <julien@fluendo.com>
3758
3759         Mac OS X love...
3760         * configure.ac: Merge platform specific defines, introduce a new
3761         define on OS X to remember that forking when updating registry is
3762         unsafe.
3763         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
3764         module.
3765         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
3766         is defined.
3767         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
3768         condition that leads to absolutely no plugins being registered on
3769         OS X.
3770
3771 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3772
3773         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
3774
3775         * gst/gstutils.c: (gst_pad_add_data_probe),
3776           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
3777           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
3778           (gst_pad_add_buffer_probe_full):
3779         * gst/gstutils.h:
3780         * docs/gst/gstreamer-sections.txt:
3781         * win32/common/libgstreamer.def:
3782           Add gst_pad_add_*_probe_full() functions with a notify callback that
3783           lets the caller free the data it passes to the probe functions. This
3784           is useful for bindings such as gst-python or gstreamermm (#526814).
3785           API: gst_pad_add_data_probe_full
3786           API: gst_pad_add_buffer_probe_full
3787           API: gst_pad_add_event_probe_full
3788
3789         * tests/check/gst/gstutils.c:
3790           Add minimal unit test to make sure freeing the data actually works
3791           as expected.
3792
3793         * tests/benchmarks/.cvsignore:
3794           Random cvsignore addendum.
3795
3796 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
3797
3798         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
3799           (GST_DEBUG_BIN_TO_DOT_FILE):
3800           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
3801           to it in the docs (since these are macros the types of the arguments
3802           won't be shown in the docs otherwise).
3803
3804 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3805
3806         * gst/gstpad.c:
3807           Do not abort on out of memory for pad_alloc_buffer.
3808
3809 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
3810
3811         * libs/gst/check/gstcheck.c:
3812           Remove blank line between symbol name ad parameters to fix gtkdoc
3813           warning.
3814
3815 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3816
3817         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
3818
3819         * docs/gst/gstreamer-sections.txt:
3820         * gst/gstsegment.c:
3821         * gst/gstsegment.h:
3822         * win32/common/libgstreamer.def:
3823           Expose gst_segment_copy() to make things easier for the c++ bindings.
3824           Fixes #518932.
3825           API: gst_segment_copy()
3826
3827 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3828
3829         * gst/gst.c: (gst_init_get_option_group), (init_post):
3830           Fix const position; ref GType classes for enum types to work
3831           around thread-safety issues in GLib versions < 2.16.
3832
3833 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3834
3835         * docs/design/part-buffering.txt:
3836         Fix some typos and set the estimated total for push mode to -1.
3837
3838         * gst/gstquery.c: (gst_query_new_buffering):
3839         Set buffering-left to 0 as we're not buffering by default.
3840
3841         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
3842         Implement BUFFERING query.
3843
3844 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3845
3846         Based on patch by: Milosz Derezynski <internalerror gmail com>
3847
3848         * gst/gsterror.c: (_gst_stream_errors_init):
3849         * gst/gsterror.h:
3850           Add two new error codes for encrypted content. Fixes #524659.
3851           API: GST_STREAM_ERROR_DECRYPT
3852           API: GST_STREAM_ERROR_DECRYPT_NOKEY
3853
3854 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
3855
3856         * gst/gstquery.h:
3857           Fix typo.
3858
3859         * win32/common/libgstreamer.def:
3860           Add new functions.
3861
3862 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
3863
3864         * plugins/elements/gstidentity.c: (gst_identity_event),
3865         (gst_identity_start):
3866         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
3867         event after processing some data. Fixes bug #526042.
3868
3869 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3870
3871         * docs/gst/gstreamer-sections.txt:
3872         * gst/gstquery.c: (gst_query_parse_latency),
3873         (gst_query_set_buffering_percent),
3874         (gst_query_parse_buffering_percent),
3875         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
3876         * gst/gstquery.h:
3877         Rename _avail -> _range
3878         API: gst_query_set_buffering_range
3879         API: gst_query_parse_buffering_range
3880
3881 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3882
3883         * docs/design/part-buffering.txt:
3884         * gst/gstquark.c:
3885         * gst/gstquark.h:
3886         * gst/gstquery.c: (gst_query_parse_latency),
3887         (gst_query_new_buffering), (gst_query_set_buffering_percent),
3888         (gst_query_parse_buffering_percent):
3889         * gst/gstquery.h:
3890         Add busy field and quark for the buffering query so that the app can
3891         only use the query to see if buffering is in progress.
3892
3893 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3894
3895         * docs/gst/gstreamer-sections.txt:
3896         * gst/gstmessage.c: (gst_message_set_buffering_stats),
3897         (gst_message_parse_buffering_stats):
3898         * gst/gstmessage.h:
3899         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
3900         (gst_query_parse_latency), (gst_query_new_buffering),
3901         (gst_query_set_buffering_percent),
3902         (gst_query_parse_buffering_percent),
3903         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
3904         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
3905         * gst/gstquery.h:
3906         Reorder the message docs and headers for clarity.
3907         Add aditional buffering stats API for messages.
3908         Add buffering query.
3909         Convert some leftover queries to use GstQuark.
3910         API: gst_message_set_buffering_stats
3911         API: gst_message_parse_buffering_stats
3912         API: GST_QUERY_BUFFERING
3913         API: GstBufferingMode
3914         API: gst_query_new_buffering
3915         API: gst_query_set_buffering_percent
3916         API: gst_query_parse_buffering_percent
3917         API: gst_query_set_buffering_stats
3918         API: gst_query_parse_buffering_stats
3919
3920 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3921
3922         * gst/gstmessage.c: (gst_message_new_error),
3923         (gst_message_new_warning), (gst_message_new_info),
3924         (gst_message_new_buffering), (gst_message_new_state_changed),
3925         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
3926         (gst_message_new_new_clock), (gst_message_new_segment_start),
3927         (gst_message_new_segment_done), (gst_message_new_duration),
3928         (gst_message_new_async_start), (gst_message_parse_buffering),
3929         (gst_message_parse_state_changed),
3930         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
3931         (gst_message_parse_new_clock), (gst_message_parse_error),
3932         (gst_message_parse_warning), (gst_message_parse_info),
3933         (gst_message_parse_segment_start),
3934         (gst_message_parse_segment_done), (gst_message_parse_duration),
3935         (gst_message_parse_async_start):
3936         Use GstQuark for messages.
3937
3938 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3939
3940         * gst/gstquark.c: (_priv_gst_quarks_initialize):
3941         * gst/gstquark.h:
3942         Add some more quarks needed for messages and queries.
3943
3944 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
3945
3946         * docs/design/part-buffering.txt:
3947         Remove the "none" buffering mode, STREAM is a good default.
3948         Move estimated-time to the avail query, that's when it will be needed.
3949         Other small typo fixes and updates.
3950
3951 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gstindex.c: (gst_index_resolver_get_type):
3954           Don't put descriptions into the nick field of a GEnumValue: it's not
3955           meant for that and some language bindings rely on the nick field to
3956           construct constants and the like. Fixes #526705.
3957
3958 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
3959
3960         * NEWS:
3961         * RELEASE:
3962         * gstreamer.doap:
3963           Merge other changes from 0.10.19 release branch.
3964
3965 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
3966
3967         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3968
3969         * configure.ac:
3970         Actually build dlls when cross-compiling with mingw32.
3971         Fixes bug #526247.
3972
3973 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
3974
3975         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
3976
3977         * gst/gstpoll.c:
3978         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
3979
3980 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3981
3982         * docs/design/draft-latency.txt:
3983         Fix typo.
3984
3985         * docs/design/part-buffering.txt:
3986         Update design docs with more buffering ideas.
3987
3988 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * configure.ac:
3991           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
3992
3993 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3994
3995         * configure.ac:
3996           Revert part that belongs to the preset patch.
3997
3998 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
3999
4000         * configure.ac:
4001           Add qoutes to the define. Fixes # 525961.
4002
4003 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
4004
4005         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
4006         (gst_file_index_load), (gst_file_index_add_id),
4007         (gst_file_index_get_assoc_entry):
4008         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
4009         (gst_mem_index_free_id), (gst_mem_index_add_id),
4010         (gst_mem_index_index_format):
4011         Use GSlice when possible.
4012
4013 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
4014
4015         * libs/gst/controller/gstinterpolationcontrolsource.c:
4016         (gst_control_point_free),
4017         (gst_interpolation_control_source_set_internal):
4018         Use GSlice for allocating the control points.
4019
4020 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
4021
4022         * plugins/elements/gsttypefindelement.c:
4023         (gst_type_find_element_class_init),
4024         (gst_type_find_element_set_property),
4025         (gst_type_find_element_get_property),
4026         (gst_type_find_element_activate):
4027         * plugins/elements/gsttypefindelement.h:
4028         Cleanup properties.
4029         Fix pad leak when peer query fails.
4030         We can still typefind when the peer returns -1.
4031         Add property to force caps and bypass typefinding. This will be used in
4032         uridecodebin.
4033         API::force-caps
4034
4035 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4036
4037         * configure.ac:
4038         Require GLib 2.12.
4039
4040         * gst/glib-compat-private.h:
4041         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
4042         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
4043         Unconditionally use GSlice for allocation.
4044
4045         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
4046         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
4047         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
4048         (gst_structure_free):
4049         Use GSlice for allocation.
4050
4051 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
4052
4053         * gst/parse/Makefile.am:
4054         * gst/parse/grammar.tab.pre.c:
4055         * gst/parse/grammar.tab.pre.h:
4056         * gst/parse/lex._gst_parse_yy.pre.c:
4057         Require a new enough flex and bison and remove the parser hacks to use
4058         a pre-regenerated version.
4059
4060 2008-04-01  Julien Moutte  <julien@fluendo.com>
4061
4062         patch by: Jason Zhao <E3423C@motorola.com>
4063
4064         * configure.ac: Add a configure switch to disable option parsing
4065         in gst_init.
4066         Fixes #522882.
4067
4068 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4069
4070         * configure.ac:
4071         * gst/gstregistry.c:
4072           MacOS has plugins under .so or under .dylib. Add detection for MacOS
4073           and handle this case.
4074
4075         * gst/gst.c:
4076           Add a comment here describing, why we stat each plugin and not try to
4077           be smart.
4078
4079 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
4080
4081         * libs/gst/base/gstbasetransform.c:
4082         (gst_base_transform_prepare_output_buffer):
4083         Also unset the GAP flag on buffers if we're working inplace but
4084         the element is not GAP-aware.
4085
4086         Mark a comment as FIXME 0.11.
4087
4088 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4089
4090         * gst/gst.c:
4091           Fix type in log message and add one to ease seeing how long registry
4092           cache verification takes.
4093
4094         * gst/gstregistry.c:
4095           Only test plugin filenames against G_MODULE_SUFFIX.
4096
4097 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
4098
4099         * gst/gstdebugutils.c:
4100           Improve handling ghost/proxy pads.
4101
4102 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
4103
4104         * docs/gst/gstreamer-sections.txt:
4105         * gst/gstpad.c:
4106         * gst/gstpad.h:
4107           Expose macro to docs and fix link to it.
4108
4109 2008-03-27  Michael Smith <msmith@fluendo.com>
4110
4111         * libs/gst/dataprotocol/dataprotocol.c:
4112         (gst_dp_packet_from_event_1_0):
4113           When calculating GDP body CRC, use the correct pointer. 
4114           Fixes part of #522401.
4115
4116 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4117
4118         Patch by: Mark Nauwelaerts <manauw at skynet be>
4119
4120         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4121         (gst_identity_init), (gst_identity_prepare_output_buffer):
4122         Identity is not always a passthrough element, it can modify the buffer
4123         timestamps when it has a datarate and operates in single-segment mode.
4124         We therefore make it an in_place filter with a custom buffer prepare
4125         function that conditionally makes the input buffer metadata writable
4126         when needed.  Fixes #523985.
4127
4128 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4129
4130         Patch by: Mark Nauwelaerts <manauw at skynet be>
4131
4132         * gst/gstclock.h:
4133         * libs/gst/base/gstbasesrc.h:
4134         * libs/gst/base/gstbasetransform.c:
4135         * libs/gst/check/gstcheck.c:
4136         Small documentation fixes. Fixes #523978.
4137
4138 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4139
4140         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4141         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
4142         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
4143
4144 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4145
4146         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
4147         (single_queue_underrun_cb):
4148         When trying to make room in the queue, bump the max allowed buffers
4149         bigger than the current amount of buffers in the queue. this fixes some
4150         nasty deadlocks in multiqueue when dynamically changing the limits of
4151         the queue.
4152
4153 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4154
4155         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
4156
4157         * gst/gstcaps.c: (gst_caps_set_simple),
4158         (gst_caps_set_simple_valist), (gst_caps_intersect):
4159         * gst/gstcaps.h:
4160         Constify the field gchar * params in set_simple and friends.
4161         Fixes #522326.
4162
4163 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
4164
4165         * gst/gstvalue.c: (gst_value_transform_object_string):
4166         Transform a GstObject to a more meaningfull string that includes the
4167         object type in addition to its name.
4168
4169 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
4170
4171         * ChangeLog:
4172           ChangeLog surgery to add bugnumber to commit.
4173
4174 2008-03-23  Rene Stadler  <mail@renestadler.de>
4175
4176         * libs/gst/base/gstbasetransform.c:
4177         (gst_base_transform_set_gap_aware): Fix confusing documentation.
4178
4179 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4180
4181         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4182         Rename constant everywhere and don't forget one occurence.
4183
4184 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4185
4186         * gst/gstregistrybinary.c: (gst_registry_binary_write):
4187         Align memory to the pointer size even if the architecture allows
4188         unaligned memory access. Unaligned memory access usually comes with
4189         performance penality.
4190
4191 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
4192
4193         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4194         (gst_registry_binary_check_magic),
4195         (gst_registry_binary_load_pad_template),
4196         (gst_registry_binary_load_feature),
4197         (gst_registry_binary_load_plugin):
4198         Align memory to the pointer size instead of always 32 bit. Fixes
4199         unaligned memory accesses on ia64 and friends.
4200
4201         * gst/gstregistrybinary.h:
4202         Bump binary registry format version for this as it changes the
4203         format on those architectures that don't have unaligned access
4204         and 64 bit pointers.
4205
4206 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4207
4208         * docs/pwg/advanced-dparams.xml:
4209         * docs/pwg/building-props.xml:
4210         * docs/pwg/other-source.xml:
4211         * gst/glib-compat.h:
4212         * gst/gstbin.c: (gst_bin_class_init):
4213         * gst/gstclock.c: (gst_clock_class_init):
4214         * gst/gstindex.c: (gst_index_class_init):
4215         * gst/gstobject.c: (gst_object_class_init):
4216         * gst/gstpad.c: (gst_pad_class_init):
4217         * gst/gstpipeline.c: (gst_pipeline_class_init):
4218         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4219         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
4220         * libs/gst/base/gstbasetransform.c:
4221         (gst_base_transform_class_init):
4222         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
4223         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
4224         (_gst_check_fault_handler_sighandler),
4225         (_gst_check_fault_handler_setup), (gst_check_init):
4226         * libs/gst/controller/gstcontroller.c:
4227         (_gst_controller_class_init):
4228         * libs/gst/controller/gstlfocontrolsource.c:
4229         (gst_lfo_control_source_class_init):
4230         * libs/gst/net/gstnetclientclock.c:
4231         (gst_net_client_clock_class_init):
4232         * libs/gst/net/gstnettimeprovider.c:
4233         (gst_net_time_provider_class_init):
4234         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
4235         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
4236         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
4237         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
4238         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4239         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
4240         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
4241         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4242         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
4243         * plugins/elements/gstqueue.c: (gst_queue_class_init):
4244         * plugins/elements/gsttee.c: (gst_tee_class_init):
4245         * plugins/elements/gsttypefindelement.c:
4246         (gst_type_find_element_class_init):
4247         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4248         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
4249         use it everywhere for GParamSpecs that use static strings (i.e. all).
4250         This gives us less memory usage, fewer allocations and thus less
4251         memory defragmentation. Fixes bug #523806.
4252
4253 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4254
4255         * gst/gstminiobject.c: (gst_value_dup_mini_object),
4256         (gst_param_spec_mini_object):
4257         * gst/gstminiobject.h:
4258         * win32/common/libgstreamer.def:
4259         * docs/gst/gstreamer-sections.txt:
4260         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
4261         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
4262         GstParamSpecMiniObject into a public header for this.
4263
4264         This make GstMiniObject a bit more consistent with GObject and makes
4265         it possible to extend the param specs.
4266
4267         gst_value_dup_mini_object is mainly useful for set_property methods.
4268
4269         Fixes bug #523798.
4270
4271         * tools/gst-inspect.c: (print_element_properties_info):
4272         Print something useful for GstMiniObject properties and not just
4273         "unknown type".
4274
4275 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4276
4277         * docs/gst/gstreamer-sections.txt:
4278         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4279         (gst_registry_binary_check_magic):
4280         * gst/gstregistrybinary.h:
4281         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
4282         and add it to the (private part) of the docs to fix the build.
4283
4284 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
4285
4286         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
4287         (gst_registry_binary_check_magic),
4288         (gst_registry_binary_read_cache):
4289         * gst/gstregistrybinary.h:
4290         Don't use GST_MAJORMINOR for the binary registry version. Instead
4291         hardcode a value that must be changed whenever the format changes
4292         in an incompatible way.
4293         Also don't GST_ERROR when there is a version mismatch, just
4294         regenerate the registry silently.
4295
4296 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
4297
4298         * configure.ac:
4299         Back to development - 0.10.18.1
4300
4301 === release 0.10.18 ===
4302
4303 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
4304
4305         * configure.ac:
4306           releasing 0.10.18, "So far away"
4307
4308 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
4309
4310         * configure.ac:
4311         * win32/common/config.h:
4312         0.10.17.4 pre-release
4313
4314 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
4315
4316         Patch by: Ole André Vadla Ravnås
4317             <ole dot andre dot ravnas at tandberg dot com>
4318
4319         * docs/gst/gstreamer-sections.txt:
4320         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
4321         (gst_poll_update_winsock_event_mask),
4322         (gst_poll_prepare_winsock_active_sets),
4323         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
4324         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
4325         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
4326         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4327         (gst_poll_check_ctrl_commands), (gst_poll_wait):
4328         * gst/gstpoll.h:
4329         * win32/common/libgstreamer.def:
4330         Add new function gst_poll_fd_ignored() for improved Windows
4331         compatibility.
4332         Various minor fixes and cleanups. See #520808.
4333
4334 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
4335
4336         * gst/gstindex.c: (gst_index_entry_free):
4337         * gst/gstindex.h:
4338           Don't free key strings which we don't own. Fixes crash in
4339           gst_index_entry_free() (#522741).
4340
4341         * tests/check/Makefile.am:
4342         * tests/check/gst/.cvsignore:
4343         * tests/check/gst/gstindex.c: (test_index_entries),
4344           (gst_index_suite), (gst_index):
4345           Add unit test for the above.
4346
4347 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
4348
4349         * win32/common/libgstreamer.def:
4350         Remove symbols that were removed recently. Fixes bug #521740.
4351
4352 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
4353
4354         * configure.ac:
4355         * win32/common/config.h:
4356         0.10.17.3 pre-release
4357
4358 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
4359
4360         Patch by: Ole André Vadla Ravnås
4361             <ole dot andre dot ravnas at tandberg dot com>
4362
4363         * docs/gst/gstreamer-sections.txt:
4364         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
4365         (gst_poll_update_winsock_event_mask), (gst_poll_new),
4366         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
4367         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4368         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
4369         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
4370         (gst_poll_fd_can_write), (gst_poll_wait),
4371         (gst_poll_set_controllable), (gst_poll_restart),
4372         (gst_poll_set_flushing):
4373         * gst/gstpoll.h:
4374         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4375         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
4376         (gst_net_time_provider_new):
4377         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4378         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
4379         * tests/benchmarks/gstpollstress.c: (main):
4380         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
4381         Remove GstPollMode from the API, it does not make sense to let the
4382         application control this.
4383         Add support for Win32.
4384         Fix the testsuite. Fixes #520671.
4385
4386 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
4387
4388         Patch by: Ole André Vadla Ravnås
4389             <ole dot andre dot ravnas at tandberg dot com>
4390
4391         * gst/gstregistrybinary.c:
4392         Include io.h for write() and close() when building with MSVC. Fixes
4393         bug #520877.
4394
4395 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
4396
4397         * configure.ac:
4398         * gst/gst_private.h:
4399         * gst/gstconfig.h.in:
4400         * gst/gstregistry.h:
4401         * gst/gstregistrybinary.c:
4402         * win32/common/gstconfig.h:
4403           Move registry backend API to private headers where we can. Add
4404           fixme-0.11 comments for the others. Add stubs for the xml backend when
4405           using the binary to ensure they functions exists (they should not be
4406           used though). Fixes #520756.
4407
4408 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
4409
4410         * configure.ac:
4411         * win32/common/config.h:
4412         0.10.17.2 prelease
4413
4414 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4415
4416         * gst/gstregistrybinary.c: (gst_registry_binary_write),
4417         (gst_registry_binary_read_cache):
4418         * gst/gstregistryxml.c: (gst_registry_save):
4419         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
4420         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
4421         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4422         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
4423         Switch to using portabl gsize/gssize instead of size_t/ssize_t
4424         Fixes #520152
4425
4426 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
4427
4428         * gst/gstminiobject.c:
4429         Import gst_private.h before any other header that might include other
4430         glib headers. This fixes the build on windows using native compilers.
4431
4432 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * win32/common/gstconfig.h:
4435           Add here too, just for completeness.
4436
4437 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4438
4439         * configure.ac:
4440         * gst/gstconfig.h.in:
4441         * gst/gstregistry.h:
4442           Fix broken use of config.h-defined preprocessor directive in a public
4443           header file. Add a corresponding define to gstconfig.h, since we can't
4444           really remove those function declarations from the header file now
4445           (or can we? and why are they there in the first place?).
4446
4447 2008-03-03  Andy Wingo  <wingo@pobox.com>
4448
4449         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
4450         the new warning.
4451
4452         * gst/gststructure.c (gst_structure_from_string): Warn if
4453         structure_from_string didn't consume the whole string, but the
4454         caller did not provide an end pointer.
4455
4456 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
4459
4460         * gst/gstregistryxml.c: (read_string), (load_feature):
4461           Strings allocated by libxml2 should be freed with xmlFree(), not
4462           with g_free(). Fixes issues on windows in certain contexts (#519698).
4463
4464 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
4465
4466         * gst/gstinterface.c: (gst_element_implements_interface):
4467           Don't crash if the element supports the interface queried, but does
4468           not implement GstImplementsInterface. Fixes #519584.
4469
4470         * tests/check/Makefile.am:
4471         * tests/check/gst/.cvsignore:
4472         * tests/check/gst/gstinterface.c:
4473           Add unit test for the above.
4474
4475 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4476
4477         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4478         Small doc update.
4479
4480 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4481
4482         * gst/gstsegment.c: (gst_segment_set_seek),
4483         (gst_segment_to_stream_time):
4484         Improve some comment.
4485         Update variables where it makes more sense.
4486
4487 2008-02-29  Rene Stadler  <mail@renestadler.de>
4488
4489         * gst/gsturi.c: (gst_uri_handler_get_protocols):
4490         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
4491         URIHandlers implemented using language bindings.
4492
4493 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4494
4495         * gst/gstelementfactory.h:
4496         * tests/check/elements/fakesink.c:
4497         * tests/check/elements/fakesrc.c: (setup_fakesrc):
4498         * tests/check/elements/fdsrc.c: (setup_fdsrc):
4499         * tests/check/elements/filesink.c: (setup_filesink):
4500         * tests/check/elements/filesrc.c: (setup_filesrc):
4501         * tests/check/elements/identity.c: (setup_identity):
4502         * tests/check/elements/tee.c:
4503         * tests/check/generic/sinks.c:
4504         * tests/check/generic/states.c: (setup), (teardown):
4505         * tests/check/gst/gst.c:
4506         * tests/check/gst/gstabi.c:
4507         * tests/check/gst/gstbin.c:
4508         * tests/check/gst/gstbus.c: (pull_messages):
4509         * tests/check/gst/gstcaps.c:
4510         * tests/check/gst/gstelement.c:
4511         * tests/check/gst/gstevent.c:
4512         * tests/check/gst/gstghostpad.c:
4513         * tests/check/gst/gstiterator.c:
4514         * tests/check/gst/gstmessage.c:
4515         * tests/check/gst/gstminiobject.c: (my_foo_init):
4516         * tests/check/gst/gstobject.c: (thread_name_object),
4517         (gst_object_suite):
4518         * tests/check/gst/gstpad.c:
4519         * tests/check/gst/gstplugin.c:
4520         * tests/check/gst/gstpoll.c:
4521         * tests/check/gst/gstquery.c:
4522         * tests/check/gst/gstsegment.c:
4523         * tests/check/gst/gststructure.c:
4524         * tests/check/gst/gstsystemclock.c:
4525         * tests/check/gst/gsttask.c:
4526         * tests/check/gst/gstutils.c:
4527         * tests/check/gst/gstvalue.c:
4528         * tests/check/gst/struct_hppa.h:
4529         * tests/check/gst/struct_i386.h:
4530         * tests/check/gst/struct_ppc32.h:
4531         * tests/check/gst/struct_ppc64.h:
4532         * tests/check/gst/struct_x86_64.h:
4533         * tests/check/libs/adapter.c: (create_and_fill_adapter):
4534         * tests/check/libs/basesrc.c:
4535         * tests/check/libs/controller.c: (GST_START_TEST):
4536         * tests/check/libs/gdp.c:
4537         * tests/check/libs/gstnetclientclock.c:
4538         * tests/check/libs/gstnettimeprovider.c:
4539         * tests/check/libs/libsabi.c:
4540         * tests/check/libs/struct_hppa.h:
4541         * tests/check/libs/struct_i386.h:
4542         * tests/check/libs/struct_ppc32.h:
4543         * tests/check/libs/struct_ppc64.h:
4544         * tests/check/libs/struct_x86_64.h:
4545         * tests/check/pipelines/cleanup.c:
4546         * tests/check/pipelines/simple-launch-lines.c:
4547         * tests/check/pipelines/stress.c:
4548         And correct even more valid sparse warnings.
4549
4550         * win32/common/libgstreamer.def:
4551         Add gst_poll_fd_init to the list of symbols.
4552
4553 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4554
4555         * gst/gstconfig.h.in:
4556         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
4557         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
4558         (gst_check_log_critical_func), (gst_check_drop_buffers),
4559         (gst_check_element_push_buffer_list):
4560         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
4561         (gst_controller_get_type):
4562         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
4563         (gst_object_get_controller), (gst_object_get_control_source):
4564         * libs/gst/controller/gstinterpolationcontrolsource.c:
4565         (gst_interpolation_control_source_new):
4566         * libs/gst/controller/gstlfocontrolsource.c:
4567         (gst_lfo_control_source_new):
4568         * libs/gst/dataprotocol/dataprotocol.c:
4569         (gst_dp_event_from_packet_0_2):
4570         * plugins/elements/gstfdsrc.c:
4571         * plugins/elements/gstmultiqueue.c:
4572         * plugins/elements/gsttee.c:
4573         * plugins/elements/gsttypefindelement.c:
4574         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
4575         (gst_file_index_add_association):
4576         * plugins/indexers/gstmemindex.c:
4577         * tests/benchmarks/gstpollstress.c: (mess_some_more):
4578         * tests/check/elements/queue.c: (setup_queue):
4579         * tests/check/gst/gstpipeline.c:
4580         * tests/check/libs/collectpads.c: (setup), (teardown),
4581         (gst_collect_pads_suite):
4582         * tests/examples/adapter/adapter_test.c:
4583         * tests/examples/metadata/read-metadata.c: (make_pipeline):
4584         * tests/examples/xml/createxml.c:
4585         * tests/examples/xml/runxml.c:
4586         * tools/gst-inspect.c:
4587         * tools/gst-run.c:
4588         Correct all relevant warnings found by the sparse semantic code
4589         analyzer. This include marking several symbols static, using
4590         NULL instead of 0 for pointers, not using variable sized arrays
4591         on the stack, moving variable declarations to the beginning of
4592         a block and using "foo (void)" instead of "foo ()" for declarations.
4593
4594 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
4595
4596         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4597         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4598         Don't reset GstPollFDs, this is not necessary at all.
4599
4600         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4601         (delayed_restart), (delayed_control):
4602         Use GST_POLL_FD_INIT.
4603
4604 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4605
4606         * gst/gstpoll.c: (gst_poll_fd_init):
4607         * gst/gstpoll.h:
4608         Added Since tags.
4609
4610         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
4611         Use some more init macros.
4612
4613 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4614
4615         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
4616         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4617         Use init macros and functions.
4618
4619 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
4620
4621         * docs/gst/gstreamer-sections.txt:
4622         * gst/gstpoll.c: (gst_poll_fd_init):
4623         * gst/gstpoll.h:
4624         Add INIT macro and _init method for initializing the GstPollFD.
4625
4626 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
4627
4628         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
4629         (gst_fd_sink_update_fd):
4630         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
4631         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4632         (delayed_restart), (delayed_control):
4633         Initialize some uninitialized variables as spotted by valgrind.
4634
4635 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4636
4637         * tests/benchmarks/Makefile.am:
4638         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
4639         (main):
4640         Add poll stress test.
4641
4642 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
4643
4644         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4645
4646         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4647         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
4648         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
4649         * plugins/elements/gstfdsink.h:
4650         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
4651         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
4652         (gst_fd_src_unlock_stop), (gst_fd_src_create),
4653         (gst_fd_src_uri_set_uri):
4654         * plugins/elements/gstfdsrc.h:
4655         Port to GstPoll. See #505417.
4656
4657 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
4658
4659         * win32/common/libgstreamer.def:
4660         Add new gst_poll_ symbols to win32 defs.
4661
4662 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4663
4664         * docs/libs/gstreamer-libs-sections.txt:
4665         * libs/gst/net/gstnetclientclock.c:
4666         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
4667         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4668         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4669         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4670         * libs/gst/net/gstnetclientclock.h:
4671         * libs/gst/net/gstnettimeprovider.c:
4672         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
4673         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4674         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4675         (gst_net_time_provider_new):
4676         * libs/gst/net/gstnettimeprovider.h:
4677         Use a private stuct to not break ABI.
4678
4679 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4680
4681         Patch by: Peter Kjellerstedt <pkj at axis dot com>
4682
4683         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
4684         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
4685         (gst_net_client_clock_thread), (gst_net_client_clock_start),
4686         (gst_net_client_clock_stop), (gst_net_client_clock_new):
4687         * libs/gst/net/gstnetclientclock.h:
4688         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
4689         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
4690         (gst_net_time_provider_start), (gst_net_time_provider_stop),
4691         (gst_net_time_provider_new):
4692         * libs/gst/net/gstnettimeprovider.h:
4693         Massive code removal and cleanups because of GstPoll.
4694         Fixes #505417.
4695
4696 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
4697
4698         * configure.ac:
4699         Add checks for poll, ppoll and pselect.
4700
4701         * docs/gst/gstreamer-docs.sgml:
4702         * docs/gst/gstreamer-sections.txt:
4703         Add docs for GstPoll.
4704
4705         * gst/Makefile.am:
4706         * gst/gst.h:
4707         * gst/gstpoll.c: (find_index), (selectable_fds),
4708         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
4709         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
4710         (gst_poll_set_mode), (gst_poll_get_mode),
4711         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
4712         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
4713         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
4714         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
4715         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
4716         (gst_poll_fd_can_write), (gst_poll_wait),
4717         (gst_poll_set_controllable), (gst_poll_restart),
4718         (gst_poll_set_flushing):
4719         * gst/gstpoll.h:
4720         Add generic poll abstraction. We ideally don't want to have this in core
4721         here but in glib intead...
4722         This code will be used in various network elements and ultimately for
4723         the nanosecond precision monotonic clock (that's why it's here in core).
4724         It'll allow us to implement cancelable socket operations for windows too.
4725
4726         * tests/check/Makefile.am:
4727         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
4728         (delayed_stop), (delayed_restart), (delayed_flush),
4729         (delayed_control), (gst_poll_suite):
4730         Add GstPoll unit test.
4731
4732 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
4733
4734         * gst/gstfilter.c:
4735           Improve documentation of gst_filter_run(). Fixes #518627.
4736
4737 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4738
4739         * docs/README:
4740           Add a few lines about the new 'check-inspected-versions' target.
4741
4742 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4743
4744         * tests/check/gst/gstevent.c:
4745           Add qos to the event test. Rename tcase/tsuite; is not only about
4746           custom events.
4747
4748 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
4749
4750         * plugins/elements/gstqueue.c:
4751           Ensure that buffer metadata is writeable, before modifying. Spotted by
4752           Mike.
4753
4754 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
4755
4756         * plugins/elements/gstqueue.c:
4757         * plugins/elements/gstqueue.h:
4758           When dropping buffers in leaky modes, mark next buffers we sent as
4759           DISCONT.
4760
4761 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4762
4763         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
4764           Also, if mmap() fails that would be a READ error, not OPEN_READ.
4765
4766 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
4767
4768         * plugins/elements/Makefile.am:
4769         * plugins/elements/gstbufferstore.c:
4770         * plugins/elements/gstbufferstore.h:
4771         * plugins/elements/gsttypefindelement.h:
4772           Remove GstBufferStore, no idea why we were still building it.
4773           It's not used anywhere and superseded by GstAdapter.
4774
4775         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
4776           (gst_file_src_create_mmap):
4777         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
4778           Printf format fixes for 64-bit integers.
4779
4780 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4781
4782         * configure.ac:
4783         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
4784         We're not in 0.8 times anymore.
4785
4786 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
4787
4788         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
4789         (gst_check_element_push_buffer_list):
4790         * libs/gst/check/gstcheck.h:
4791         Make the declaration in the header for
4792         gst_check_element_push_buffer_list match the implementation.
4793
4794         Fix up spelling, grammar and wording of the documentation in a few
4795         places, and add the Since keyword to new API functions.
4796         Use g_list_delete_link instead of g_list_remove in
4797         gst_check_drop_buffers, since it's immeasurably more efficient.
4798
4799         * tests/check/elements/fakesrc.c: (GST_START_TEST):
4800         Use new gst_check_drop_buffers function where appropriate.
4801
4802         * win32/common/libgstbase.def:
4803         * win32/common/libgstreamer.def:
4804         Add new symbols gst_collect_pads_take_buffer, 
4805         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
4806         exports
4807
4808         Changelog surgery to add API keyword to new gst_check API.
4809
4810 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4811
4812         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
4813         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
4814         Update pre-generated flex files with flex 2.3.34.
4815
4816 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
4817
4818         * gst/gstminiobject.c:
4819           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
4820           friendly to subclasses and not require them to know all internals
4821           of their parent class.
4822
4823 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4824
4825         * docs/libs/gstreamer-libs-sections.txt:
4826         * libs/gst/base/gstcollectpads.c:
4827         * libs/gst/base/gstcollectpads.h:
4828           Add sub-buffer functions to collectpads. Fixes #516187.
4829           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
4830
4831 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
4832
4833         * gst/gstbuffer.c:
4834           Copy selected buffer-flags when creating subbuffers.
4835           Fixes #516395.
4836
4837 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
4838
4839         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
4840         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
4841         * gst/gstmessage.c: (gst_message_class_init),
4842         (gst_message_finalize):
4843         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
4844         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
4845         (gst_mmap_buffer_finalize):
4846         Properly chain up finalize functions to the parent class.
4847
4848 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
4849
4850         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
4851
4852         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
4853         (gst_index_set_resolver_full):
4854         * gst/gstindex.h:
4855         Add new function with option to dispose of user_data in resolver.
4856         Actually call the dispose function when finalizing the object and not
4857         just when changing the resolver/filter.
4858         API: GstIndex::gst_index_set_resolver_full()
4859
4860         * docs/gst/gstreamer-sections.txt:
4861         Add new function to docs. Fixes #515469.
4862
4863 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
4864
4865         * gst/gstindex.c: (gst_index_finalize):
4866         Chain up finalize to the parent class. Fixes leaking the GstObject
4867         name and other things.
4868
4869 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
4870
4871         * configure.ac:
4872         Make DISABLE_DEPRECATED defined *only* during CVS, not during
4873         pre-releases or releases.
4874
4875         * docs/faq/gst-uninstalled:
4876         Add gst-plugins-gl
4877
4878         * docs/random/release:
4879         Change one of the steps - we only upload core & base to Gnome FTP
4880
4881 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
4882
4883         * gst/gstconfig.h.in:
4884           Add 'id' for example.
4885
4886         * gst/gstpad.c:
4887         * gst/gstutils.c:
4888         * plugins/elements/gstfdsink.c:
4889           Link to signals. Doc and comment fixes.
4890
4891 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
4894         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
4895           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
4896           unused and unimplemented; finally, it is plugin features, not
4897           plugins, that have ranks.
4898           
4899 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4900
4901         * gst/gstpluginfeature.h:
4902           Clarify GstRank range docs.
4903
4904 2008-02-05  David Schleef  <ds@schleef.org>
4905
4906         * gst/gst.c: Add a separate gst_deinitialized that prevents
4907           gst_init() from being called after gst_deinit().  Fixes #509559
4908
4909 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
4910
4911         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
4912         (gst_bin_class_init):
4913         * gst/gstelement.c: (gst_element_base_class_init),
4914         (gst_element_class_add_pad_template):
4915         * gst/gstpadtemplate.c: (gst_pad_template_init):
4916         * gst/gstpipeline.c: (gst_pipeline_get_type),
4917         (gst_pipeline_base_init), (gst_pipeline_class_init):
4918         * libs/gst/base/gstbasesink.c:
4919         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4920         (gst_base_src_base_init), (gst_base_src_class_init):
4921         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4922         (gst_capsfilter_class_init):
4923         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4924         (gst_fake_sink_class_init):
4925         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4926         (gst_fake_src_class_init):
4927         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4928         (gst_fd_sink_class_init):
4929         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4930         (gst_fd_src_class_init):
4931         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4932         (gst_file_sink_class_init):
4933         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4934         (gst_file_src_class_init):
4935         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4936         (gst_identity_class_init):
4937         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
4938         (gst_multi_queue_class_init):
4939         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4940         (gst_queue_class_init):
4941         * plugins/elements/gsttee.c: (gst_tee_base_init),
4942         (gst_tee_class_init):
4943         * plugins/elements/gsttypefindelement.c:
4944         (gst_type_find_element_base_init),
4945         (gst_type_find_element_class_init):
4946         * tests/check/gst/gstelement.c: (gst_element_suite):
4947         Revert previous changes to the behaviour of GstPadTemplates, etc
4948         and the possiblity to call them in class_init as it breaks too
4949         many elements. Reopens bug #491501.
4950
4951         Should be applied again for 0.11, thus added a few FIXME 0.11 at
4952         several places.
4953
4954 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
4955
4956         * tools/gst-launch.c:
4957         Dump one graph per pipeline state-change and state change name
4958         (if GST_DEBUG_DUMP_DOT_DIR is set).
4959
4960 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
4961
4962         * gst/gstpad.c:
4963         * tests/check/gst/gstpad.c:
4964         Be sure that we have a new copy of the caps and not
4965         reffed caps from a template
4966
4967 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
4968
4969         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4970         * gst/gstpipeline.c: (gst_pipeline_get_type),
4971         (gst_pipeline_class_init):
4972         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
4973         (gst_base_sink_class_init):
4974         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
4975         (gst_base_src_class_init):
4976         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4977         (gst_base_transform_class_init):
4978         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4979         (gst_collect_pads_class_init):
4980         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
4981         * libs/gst/net/gstnettimeprovider.c:
4982         (gst_net_time_provider_base_init),
4983         (gst_net_time_provider_class_init):
4984         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
4985         (gst_capsfilter_class_init):
4986         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
4987         (gst_fake_sink_class_init):
4988         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
4989         (gst_fake_src_class_init):
4990         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
4991         (gst_fd_sink_class_init):
4992         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
4993         (gst_fd_src_class_init):
4994         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
4995         (gst_file_sink_class_init):
4996         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
4997         (gst_file_src_class_init):
4998         * plugins/elements/gstidentity.c: (gst_identity_base_init),
4999         (gst_identity_class_init):
5000         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5001         (gst_multi_queue_class_init):
5002         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5003         (gst_queue_class_init):
5004         * plugins/elements/gsttee.c: (gst_tee_base_init),
5005         (gst_tee_class_init):
5006         * plugins/elements/gsttypefindelement.c:
5007         (gst_type_find_element_base_init),
5008         (gst_type_find_element_class_init):
5009         Don't use base_init where not absolutely necessary. For example it's
5010         not necessary anymore for adding pad templates or setting element
5011         details.
5012
5013         Leave empty base_init functions in several places as GST_BOILERPLATE
5014         still defines and uses them.
5015
5016 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
5017
5018         * gst/gstelement.c: (gst_element_base_class_init),
5019         (gst_element_class_add_pad_template):
5020         * gst/gstpadtemplate.c:
5021         Make it possible (and recommended) to set element details and add
5022         pad templates in the class_init functions by copying the details/pad
5023         templates in GstElement's base_init.
5024
5025         Also make it possible to replace existing pad templates by adding
5026         a new one with the same name. This was done in a hackish fashion
5027         in same elements before already.
5028
5029         Don't reference pad templates that are added a second time. A
5030         new pad template has a refcount of one and is not floating anymore
5031         and to be owned by the element's class. Make this more explicit by
5032         mentioning it in the docs of gst_element_class_add_pad_template().
5033
5034         These changes are backwards compatible. Fixes bug #491501.
5035
5036         * tests/check/gst/gstelement.c:
5037         Add unit test for setting element details, adding pad templates and
5038         replacing them in a subclass.
5039
5040 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5041
5042         * tools/gst-inspect.c: (print_interfaces),
5043         (print_element_properties_info), (print_pad_info),
5044         (print_signal_info), (print_element_info):
5045         Fix a few memory leaks.
5046
5047 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5048
5049         * docs/libs/gstreamer-libs-sections.txt:
5050         * libs/gst/check/gstcheck.c:
5051         * libs/gst/check/gstcheck.h:
5052         Add more functions for unit testing: gst_check_drop_buffers,
5053         gst_check_caps_equal, gst_check_element_push_buffer_list,
5054         gst_check_element_push_buffer
5055         API: gst_check_drop_buffers
5056         API: gst_check_caps_equal
5057         API: gst_check_element_push_buffer_list
5058         API: gst_check_element_push_buffer
5059
5060 2008-02-01  Julien Moutte  <julien@fluendo.com>
5061
5062         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
5063         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
5064         (gst_index_finalize), (gst_index_entry_free),
5065         (gst_index_add_association): Fix memory leaks.
5066         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
5067         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
5068         (gst_mem_index_free_format), (gst_mem_index_free_id),
5069         (gst_mem_index_finalize): Fix memory leaks.
5070         * win32/common/config.h: Updated to CVS HEAD.
5071
5072 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5073
5074         * docs/README:
5075           Some more details about how the plugin docs works.
5076
5077         * docs/plugins/gstreamer-plugins-sections.txt:
5078           Whitespace cleanup.
5079
5080 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
5081
5082         * gst/parse/grammar.tab.pre.c:
5083         * gst/parse/grammar.tab.pre.h:
5084         * gst/parse/grammar.y:
5085         * gst/parse/lex._gst_parse_yy.pre.c:
5086           Add delayed set-property. This allows to set properties on dynamicaly
5087           created objects (pads in videomxer). Fixes #509391.
5088
5089 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5090
5091         * gst/gstutils.c:
5092         Check if caps are not NULL (fix bug #510194)
5093
5094 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5095
5096         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
5097         (gst_base_sink_get_position_paused):
5098         Add fixme regarding EOS in pull mode.
5099         Fix position reporting in PAUSED for negative rates.
5100
5101 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5102
5103         * gst/gstminiobject.c: (gst_mini_object_replace):
5104         When replacing a miniobject, do a quick equality check first so that we
5105         can avoid a ref/unref pair.
5106
5107 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
5108
5109         * docs/design/part-synchronisation.txt:
5110         Update some docs.
5111
5112         * docs/plugins/Makefile.am:
5113         * docs/plugins/gstreamer-plugins-docs.sgml:
5114         * docs/plugins/gstreamer-plugins-sections.txt:
5115         * plugins/elements/gstmultiqueue.c:
5116         Add multiqueue to the docs.
5117
5118 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5119
5120         * configure.ac:
5121           Back to CVS
5122
5123 === release 0.10.17 ===
5124
5125 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
5126
5127         * configure.ac:
5128           releasing 0.10.17, "Due Negligence"
5129
5130 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5131
5132         * gst/gstutils.c:
5133         Revert caps != NULL check temporarily for 0.10.17 release.
5134
5135 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5136
5137         * gst/gstutils.c:
5138         Check if caps are not NULL (fix bug #510194)
5139
5140 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5141
5142         * gst/gstutils.c:
5143         Fix compilation on systems that have posix timers but no
5144         monotonic clock.
5145         Fixes: #512715
5146         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
5147         dot net>
5148
5149 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
5150
5151         * tools/gst-inspect.c:
5152         Revert previous commit in preparation for an impromptu 0.10.17 release
5153
5154 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
5155
5156         * tools/gst-inspect.c: (print_interfaces),
5157         (print_element_properties_info), (print_pad_info),
5158         (print_signal_info), (print_element_info):
5159         Fix a few memory leaks.
5160
5161 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
5162
5163         * configure.ac:
5164         Back to CVS
5165
5166 === release 0.10.16 ===
5167
5168 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
5169
5170         * configure.ac:
5171           releasing 0.10.16, "Special Dispensation"
5172
5173 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
5174
5175         * configure.ac:
5176           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
5177           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
5178           not fail when trying to crosscompile on OpenEmbedded (#511750).
5179
5180 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
5181
5182         * docs/manuals.mak:
5183         Use $(MAKE) instead of make to fix the build if GNU make is
5184         called different. Fixes bug #510747.
5185
5186 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5187
5188         * gst/gstplugin.c: (_gst_plugin_initialize):
5189           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
5190           again, which I broke two commits ago when changing the API
5191           of gst_plugin_register_static(): the g_list_foreach() in
5192           _gst_plugin_register_static still assumed the old function
5193           signature and would therefore fail (re-fixes #510187).
5194
5195         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
5196           (_gst_plugin_register_static), (gst_plugin_register_static):
5197           Revert the (technically correct) change to call g_thread_init() from
5198           the pre-main() constructor. This will break programs which call
5199           g_thread_init() without an if (!g_thread_supported()) guard in their
5200           main function. We could just blame it on GLib or the application, but
5201           it's probably best to just avoid this altogether and simply not use
5202           any GLib functions here and use plain old malloc() with a simple
5203           array to store the plugins to register later when gst_init() is
5204           finally called (re-fixes #510187).
5205
5206         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
5207           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
5208           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
5209           (GST_START_TEST), (gst_plugin_suite):
5210           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
5211           works.
5212
5213 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5214
5215         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5216           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
5217           This makes gtk-doc complain, but results in slightly better
5218           compiler errors. The old _gst_plugin_register_static() is
5219           still guarded, so there'll be a compiler warning about that
5220           instead. Fixes #510187 too.
5221
5222 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5223
5224         * gst/gst.c: (init_post):
5225         * gst/gstplugin.c: (_gst_plugin_register_static),
5226           (gst_plugin_register_static), (_gst_plugin_initialize):
5227         * gst/gstplugin.h: (GstPluginFilter):
5228           Change API of gst_plugin_register_static() to not take
5229           a GstPluginDesc, but rather just take all the arguments
5230           in a GstPluginDesc directly. This is more intuitive and
5231           avoids certain mistakes when porting code from
5232           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
5233           Fixes #510187.
5234
5235         * tests/check/gst/gstplugin.c:
5236           Fix up for changed API.
5237
5238 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5239
5240         * docs/faq/legal.xml:
5241           Update FAQ, Totem actually has an exception these days.
5242
5243 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
5244
5245         * win32/common/libgstreamer.def:
5246         Add new API declarations
5247
5248 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5249
5250         * gst/gstminiobject.c:
5251           Spelling fixes for the API docs.
5252
5253 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
5254
5255         * libs/gst/base/gstbasetransform.c:
5256           Fix long property description for QoS.
5257
5258 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
5259
5260         * gst/gst.c:
5261         _gst_trace_on is already provided by gsttrace.h, no need to declare
5262         it ourselves.
5263
5264         * docs/libs/gstreamer-libs-sections.txt:
5265         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
5266         and remove strange tcase_add_test which is outputting a warning.
5267
5268         * libs/gst/check/gstcheck.c:
5269         * libs/gst/check/gstcheck.h:
5270         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
5271         and define them in gstcheck.c instead of having every .c file whcih
5272         includes gstcheck.h be defining its own copy and relying on symbol
5273         interposing to marry them all, which doesn't work on Solaris.
5274
5275         * tests/check/elements/identity.c: (GST_START_TEST):
5276         Don't define 'buffers' locally, it comes from libgstcheck.
5277
5278         * tests/check/generic/sinks.c: (send_buffer):
5279         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
5280
5281         * tests/check/gst/gststructure.c: (GST_START_TEST):
5282         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
5283         * tests/check/gst/gstutils.c: (GST_START_TEST):
5284         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5285         Add a bunch of casts to make various constants fit the types
5286         they're being assigned to.
5287
5288 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
5289
5290         * gst/gstchildproxy.c:
5291           Improve docs and add some ideas for making this more general-purpose.
5292
5293 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5294
5295         * gst/gst_private.h: (GST_CAT_TYPES):
5296           Add GST_CAT_TYPES, for consistency, and so that the other
5297           debug categories don't make fun of it. Spotted by Saur on IRC.
5298
5299 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5300
5301         * gst/parse/Makefile.am:
5302           Move types.h from EXTRA_DIST to noinst_HEADERS.
5303
5304 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
5305
5306         * autogen.sh:
5307           Add -Wno-portability to the automake parameters to stop warnings
5308           about GNU make extensions being used. We require GNU make in almost
5309           every Makefile anyway.
5310
5311         * configure.ac:
5312           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
5313           at the same time is required for per target flags.
5314
5315 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5316
5317         * gst/gstmacros.h:
5318           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
5319           __GNUC__ is defined before using it.
5320
5321 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5322
5323         * docs/gst/gstreamer-sections.txt:
5324         * gst/gst.c: (init_post):
5325         * gst/gstplugin.c: (_gst_plugin_register_static),
5326           (gst_plugin_register_static), (_gst_plugin_initialize),
5327           (gst_plugin_register_func):
5328         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
5329           API: add gst_plugin_register_static() and deprecate
5330           GST_PLUGIN_DEFINE_STATIC, since it's not portable
5331           (#498924).
5332           Also, in _gst_plugin_register_static(), make sure to call
5333           g_thread_init() before calling GLib functions such as
5334           g_list_append() if we're not initialised yet, since that
5335           may lead to random crashes with older GSlice/GLib versions.
5336
5337         * tests/check/gst/gstplugin.c:
5338           Adapt unit test to above changes.
5339
5340 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5341
5342         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
5343         * gst/gstcaps.c: (gst_caps_to_string):
5344         * gst/gststructure.c: (GST_ASCII_IS_STRING),
5345           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
5346           Yet another gratuitous GString micro-optimisation: add a (private)
5347           function that serialises a structure appending to an existing
5348           GString, so that when we serialise caps we don't need to alloc+free
5349           a throwaway GString for each structure (each of which also entailing
5350           multiple reallocs on the way); also use g_string_sized_new() in
5351           various places with an approximate string length to avoid reallocs
5352           within GString. See #500143.
5353
5354 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * gst/gststructure.c: (gst_structure_id_set_value):
5357           Always check UTF-8 conformance of structure strings and not only
5358           if the debugging system is enabled; reasoning: the behaviour of
5359           the actual code shouldn't really change depending on whether the
5360           debugging system is enabled or not (#508291).
5361
5362 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
5363
5364         * Makefile.am:
5365           Remove old coverage target in favour of "make lcov".
5366
5367 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5368
5369         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5370         (gst_base_src_loop):
5371         The start segment for reverse playback goes from start to last_stop.
5372
5373 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5374
5375         Patch by: Peter Kjellerstedt <pkj axis com>
5376
5377         * gst/gstclock.h:
5378         Cast the results from the timeval/spec_to_time macros to what the
5379         docs say it casts to, a GstClockTime. fixes #508175.
5380
5381 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
5382
5383         * gst/gstbuffer.c:
5384         Update some comments.
5385
5386         * tools/gst-inspect.c: (print_element_properties_info):
5387         Improve printing of flags.
5388
5389 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5390
5391         * libs/gst/base/gstbasetransform.c:
5392           (gst_base_transform_transform_size):
5393           Print element name with g_warning() if there's a problem
5394           with the unit size.
5395
5396 2008-01-07  David Schleef  <ds@schleef.org>
5397
5398         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
5399
5400         * libs/gst/controller/gstcontroller.h:
5401         * libs/gst/controller/gstcontrolsource.h:
5402         * libs/gst/controller/gstinterpolationcontrolsource.h:
5403         * libs/gst/controller/gstlfocontrolsource.h:
5404         * libs/gst/dataprotocol/dataprotocol.h:
5405           Fix empty prototypes.  Fixes bug #507957.
5406
5407 2008-01-07  David Schleef  <ds@schleef.org>
5408
5409         * docs/faq/dependencies.xml: Fix typo.
5410
5411 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
5412
5413         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
5414         (gst_base_src_loop):
5415         Don't update the last_stop position in do_seek, that's the position we
5416         did a seek to.
5417         Read backwards when we have a negative rate.
5418
5419         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
5420         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
5421         (filesrc_suite):
5422         Add check for reverse reading.
5423
5424 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
5425
5426         Patch by: Alexis Ballier <aballier at gentoo org>
5427
5428         * tests/check/gst/gstabi.c:
5429         * tests/check/gst/struct_ppc64.h:
5430         * tests/check/libs/libsabi.c:
5431         * tests/check/libs/struct_ppc64.h:
5432           Decide which header to include based on the userland ABI target
5433           and not the kernel/cpu. Fix up structure sizes of ppc64 header
5434           for 64-bit userland (#503590).  Might need something similar for
5435           x86 too.
5436
5437 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5438
5439         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
5440           Log the reason why fopen fails in addition to the fact that it failed.
5441           
5442 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
5443
5444         * gst/parse/parse.l:
5445         Use "%option never-interactive" to prevent useless calls to isatty()
5446         on every input when parsing. Also use "%option noinput" to not define
5447         the static input/yyinput functions which we don't use anyway. This
5448         removes a compiler warning with gcc 4.3 and saves some bytes in the
5449         library.
5450         
5451         * gst/parse/lex._gst_parse_yy.pre.c:
5452         Regenerated for the above change.
5453
5454 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
5455
5456         * gst/gstpad.c: (fixate_value):
5457         Don't crash when trying to fixate and empty list.
5458         Fixes #506643.
5459
5460 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
5461
5462         * docs/faq/gst-uninstalled:
5463         Clarify the comments to make the usage of this script and what it
5464         does easier to understand.
5465
5466 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
5467
5468         * tools/gst-plot-timeline.py:
5469         Add more options to gst-plot-timeline
5470
5471 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
5472
5473         * docs/design/part-synchronisation.txt:
5474         Some more info on how the stream_time in GstBaseSink is done.
5475
5476 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
5477
5478         * tests/check/generic/sinks.c: (gst_sinks_suite):
5479           Put back the tcase_set_timeout(), apparently it's needed after
5480           all; fix it up in a way that makes things work with valgrind too.
5481
5482 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
5483
5484         * gst/gstdebugutils.c:
5485           Add warning when failed to open file for writing.
5486
5487 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5488
5489         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
5490
5491         * gst/gstvalue.c: (gst_value_is_fixed):
5492           Optimisation: bail out of the loop as early as possible (#500143).
5493
5494 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5495
5496         * gst/gstcaps.c: (gst_caps_to_string):
5497         * gst/gstinfo.c: (gst_debug_construct_term_color):
5498         * gst/gstparse.c: (gst_parse_launchv):
5499         * gst/gstutils.c: (gst_util_dump_mem):
5500         * gst/gstvalue.c: (gst_value_serialize_any_list),
5501           (gst_value_transform_any_list_string):
5502           Bunch of gratuitous nano-optimisations.
5503
5504 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
5505
5506         * tests/check/generic/sinks.c: (async_done_func),
5507           (async_done_eos_func):
5508           Fix leak in unit test (bus sync handler must unref the message
5509           if it returns GST_BUS_DROP). Don't fiddle with the default test
5510           timeout, this is smaller than the current preconfigured value
5511           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
5512           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
5513
5514 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5515
5516         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5517
5518         * configure.ac:
5519         Check for stdio_ext.h for the filesink changes.
5520
5521         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
5522         (gst_file_sink_class_init), (gst_file_sink_init),
5523         (gst_file_sink_dispose), (gst_file_sink_set_property),
5524         (gst_file_sink_get_property), (gst_file_sink_open_file),
5525         (gst_file_sink_close_file):
5526         * plugins/elements/gstfilesink.h:
5527         Add two properties to control the buffering mode and size.
5528         API: GstFileSink::buffer-mode
5529         API: GstFileSink::buffer-size
5530         Fixes #500150.
5531
5532 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
5533
5534         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
5535         Add some more docs to explain why a FIXME was wrongly added. 
5536
5537 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
5538
5539         * gst/gstobject.c:
5540           Fix typo in the gst_object_{ref,unref} documentation.
5541
5542 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * tests/check/libs/controller.c:
5545         * tests/check/libs/typefindhelper.c:
5546         * tests/check/pipelines/parse-launch.c:
5547           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
5548           going to be deprecated (see #498924).
5549
5550 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
5551
5552         * gst/gsttypefind.c: (gst_type_find_register):
5553           Make gst_type_find_register work for static typefind functions,
5554           ie. allow passing plugin == NULL (prerequisite for #498924).
5555
5556         * gst/gstelementfactory.c: (gst_element_register):
5557           Small docs addition.
5558
5559 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
5560
5561         * gst/gstpad.c: (gst_pad_dispose):
5562         Really unlink the peer pad instead of setting the peer pointer to NULL
5563         when we dispose the pad.
5564         This correctly calls the unlink functions and makes sure that the peer
5565         does not have a handle to invalid memory. See #504671.
5566
5567         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5568         Add testsuite for above case.
5569
5570 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5571
5572         Patch by: Peter Kjellerstedt <pkj axis com>
5573
5574         * libs/gst/check/gstcheck.h:
5575           Fix detection of the check version we're compiling against (would
5576           otherwise break if check goes v0.10.0); correctly report the
5577           name of the failed test again in case of failure, instead of
5578           just 'tf' (fixes #504499).
5579
5580 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5581
5582         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
5583         (gst_base_src_get_range), (gst_base_src_pad_get_range),
5584         (gst_base_src_loop), (gst_base_src_set_flushing),
5585         (gst_base_src_change_state):
5586         Allow sending EOS to the source to make it send out an EOS event from
5587         the streaming thread.
5588         Update docs and deprecate the old NULL/READY shutdown method.
5589
5590         * tests/check/libs/basesrc.c: (GST_START_TEST),
5591         (gst_basesrc_suite):
5592         Add unit test for controlled shutdown.
5593
5594 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
5595
5596         * docs/design/part-synchronisation.txt:
5597         Small updates.
5598
5599         * gst/gstsegment.c: (gst_segment_set_seek),
5600         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5601         (gst_segment_to_running_time):
5602         The seek format can be different from the segment format when the start
5603         and stop values are not to be updated, when we only do a rate change for
5604         example.
5605
5606         * tests/check/gst/gstsegment.c: (GST_START_TEST),
5607         (gst_segment_suite):
5608         Add a testcase for the rate-only seeks, checking that the format is
5609         correctly ignored when start and stop are not updated.
5610
5611 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
5612
5613         Patch by: Matthias Bolte <photon at mail dot upb dot de>
5614
5615         * win32/vs8/grammar.vcproj:
5616         * win32/vs8/libgstcontroller.vcproj:
5617         * win32/vs8/libgstreamer.vcproj:
5618         Fix compilation with VS8 and include some missing files.
5619
5620 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
5621
5622         * gst/gsttaglist.c:
5623           Small docs addition: mention that the strings returned by
5624           gst_tag_list_get_string*() are in UTF-8 encoding.
5625
5626 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
5627
5628         * Makefile.am:
5629           The check-exports stuff moved to common/win32.mak, so include that.
5630
5631 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
5632
5633         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5634         (gst_base_src_perform_seek), (gst_base_src_get_range),
5635         (gst_base_src_set_playing), (gst_base_src_change_state):
5636         Make _wait_playing() not check any variables so that we can call this
5637         function from subclasses. Move the checks elsewhere similar to
5638         _wait_preroll() in basesink.
5639         Add some debugging.
5640         Only signal the LIVE cond when we are going back to PLAYING.
5641
5642 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5643
5644         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
5645           Use g_remove() and g_rename(). Check result of g_rename(), and
5646           don't leak the open file descriptor if we error out when writing.
5647
5648         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
5649           Must check the return value of close() after writing out the new
5650           registry file.  Sometimes write problems such as out-of-diskspace
5651           are only reported when the file is closed and not already during
5652           the write.  This may have caused partial/broken registry files in
5653           some rare circumstances. Should fix #503675.
5654
5655 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
5656
5657         * docs/gst/.cvsignore:
5658         * docs/libs/.cvsignore:
5659         * docs/plugins/.cvsignore:
5660         Ignore files generated by new common/* modifications
5661
5662 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5663
5664         * win32/common/libgstbase.def:
5665           Yes, you can also have a <TAB> if you want.
5666
5667 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5668
5669         * win32/common/libgstbase.def:
5670           Add new basetransform API to win export file.
5671
5672 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
5673
5674         * tests/check/gst/gstbin.c:
5675           Adjust the test to the refcount change two days ago.
5676
5677 2007-12-14  David Schleef  <ds@schleef.org>
5678
5679         * docs/faq/getting.xml: Fix typo.
5680
5681 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
5682
5683         * docs/libs/gstreamer-libs-sections.txt:
5684         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5685           (gst_base_transform_prepare_output_buffer),
5686           (gst_base_transform_set_gap_aware):
5687         * libs/gst/base/gstbasetransform.h:
5688           API: Add gst_base_transform_set_gap_aware() to control whether
5689           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
5690           get buffers with this flag at all. Fixes #503231.
5691
5692 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
5693
5694         * libs/gst/base/gstbasesink.c:
5695         * libs/gst/base/gstbasesrc.c:
5696         * libs/gst/base/gstbasetransform.c:
5697           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
5698           thread. Correct log message in gstbasesrc.c.
5699
5700 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5701
5702         * gst/gstutils.c: (element_find_unconnected_pad):
5703           Fix possible compiler warning (#503417).
5704
5705 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5706
5707         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
5708           Don't use GST_CAT_EVENT here for logging, it makes no sense.
5709
5710 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
5711
5712         * tools/gst-inspect.c: (print_element_properties_info):
5713           Add support for GstFraction properties.
5714
5715 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5716
5717         * Makefile.am:
5718           Add check-exports target and run it as part of 'make check'
5719           (see #499140 and #493983).
5720
5721         * gst/gst_private.h:
5722         * gst/gstelementfactory.h:
5723         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
5724         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
5725           (_priv_gst_in_valgrind):
5726         * gst/gstinfo.h: (GstLogFunction):
5727         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
5728           (gst_type_find_register):
5729         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
5730           (gst_type_find_factory_get_type):
5731         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
5732           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
5733           (gst_controller_new_valist), (gst_controller_new_list),
5734           (_gst_controller_dispose), (_gst_controller_class_init):
5735         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
5736         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
5737           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
5738           (gst_object_get_controller), (gst_object_set_controller),
5739           (gst_object_suggest_next_sync), (gst_object_sync_values),
5740           (gst_object_set_control_source), (gst_object_get_control_source),
5741           (gst_object_get_value_arrays), (gst_object_get_value_array),
5742           (gst_object_get_control_rate), (gst_object_set_control_rate):
5743         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
5744         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
5745           Make some functions that should be static static; rename some
5746           private symbols so that they don't get exported; add some FIXME
5747           comments so we can move accidentally exported functions into
5748           our private section in 0.11.
5749
5750         * win32/common/libgstreamer.def:
5751           Add gst_utils_get_timestamp().
5752
5753 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5754
5755         * gst/gstvalue.c:
5756         * gst/gstvalue.h:
5757           Add more missing "Since:" tags to docs.
5758
5759 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
5760
5761         * gst/gstutils.c:
5762           Add mising "Since:" to docs.
5763
5764 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5765
5766         * gst/gstplugin.c:
5767           Include "glib-compat-private.h" to fix the build on system with
5768           glib < 2.10. Fixes #503131.
5769
5770 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5771
5772         * gst/gstutils.c:
5773         * gst/gstutils.h:
5774           Actually its not PURE as it gets the time from elsewhere.
5775
5776 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * docs/gst/gstreamer-sections.txt:
5779         * gst/gstclock.h:
5780         * gst/gstdebugutils.c:
5781         * gst/gstinfo.c:
5782         * gst/gstutils.c:
5783         * gst/gstutils.h:
5784         * libs/gst/base/gstbasesink.c:
5785         * tools/gst-launch.c:
5786           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
5787           uses as we don't have HAVE_POSIX_TIMERS in public headers.
5788           Thanks Tim for spotting.
5789           API: gst_util_get_timestamp
5790
5791 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
5792
5793         * configure.ac:
5794           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
5795
5796 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
5797
5798         * gst/gststructure.c: (gst_structure_validate_name),
5799           (gst_structure_new_valist), (gst_structure_parse_value),
5800           (gst_structure_from_string):
5801           Don't crash in _from_string() if the structure name is not valid
5802           (fixes #501560).  Allow structure names to start with a number
5803           again (this apparently broke the ubuntu codec installer).
5804
5805         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
5806           (GST_START_TEST):
5807           Add unit test for the crash; update unit tests for new behaviour.
5808
5809 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
5810
5811         * gst/gstutils.c:
5812         Clarify gst_element_get_compatible_pad() documentation.
5813         Fixes #500919.
5814
5815 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
5816
5817         * tests/check/Makefile.am:
5818           Don't forget to dist {gst,libs}/struct_hppa.h.
5819
5820 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5821
5822         * libs/gst/base/gstbasesink.c:
5823           Use new API to get elapsed time.
5824
5825 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5826
5827         * gst/gstdebugutils.c:
5828         * gst/gstinfo.c:
5829           Fix wrong order of args in GST_CLOCK_DIFF() usage.
5830
5831         * tools/gst-launch.c:
5832           Use new API to get elapsed time.
5833
5834 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5835
5836         * docs/gst/gstreamer-sections.txt:
5837         * gst/gstclock.h:
5838         * gst/gstdebugutils.c:
5839         * gst/gstinfo.c:
5840           Rename new API + ChangeLog surgery to remove old name from last entry..
5841
5842 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5843
5844         * docs/gst/gstreamer-sections.txt:
5845         * gst/gstclock.h:
5846         * gst/gstdebugutils.c:
5847         * gst/gstinfo.c:
5848           Now hide the different clock stuff behind a macro.
5849
5850 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * configure.ac:
5853         * gst/gstdebugutils.c:
5854         * gst/gstinfo.c:
5855           Apply the posix-timer check from #361155. Conditionally use the posix
5856           timer for logging. This gives better timestamp precission, less
5857           overhead and no ntp jitter.
5858
5859 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
5860
5861         * gst/gstminiobject.c: (gst_mini_object_get_type),
5862         (gst_mini_object_class_init), (gst_mini_object_copy_default),
5863         (gst_mini_object_finalize), (gst_mini_object_copy),
5864         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
5865         (gst_mini_object_replace), (param_mini_object_validate),
5866         (gst_param_spec_mini_object_get_type):
5867         Some cleanup and checking against invalid function parameters.
5868
5869 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
5870
5871         * docs/gst/gstreamer-sections.txt:
5872         * gst/gstclock.h:
5873         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5874         (gst_systemclock_suite):
5875         Start merging in the easy bits of #361155, the monotonic clock patch.
5876         This one adds a few handy macros with docs and a testsuite.
5877
5878 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
5879
5880         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
5881         Be a bit smarter when seeking, like, don't try to do a seek when it's
5882         not needed. This avoids errors when the file is not seekable.
5883         Fixes #499771.
5884
5885 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
5886
5887         * docs/gst/gstreamer-docs.sgml:
5888         * docs/gst/gstreamer-sections.txt:
5889         * docs/gst/gstreamer.types.in:
5890         * gst/Makefile.am:
5891         * gst/gst.h:
5892         * gst/gstpreset.c:
5893         * gst/gstpreset.h:
5894         * plugins/elements/gstqueue.c:
5895           Due to popular request remove preset interface again. :-(.
5896
5897 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5898
5899         * tools/gst-inspect.c:
5900           Print 'default value' for enums and flags too.
5901
5902 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5903
5904         * docs/random/ensonic/profiling.txt:
5905           More ideas.
5906
5907         * gst/gstbin.c:
5908           Fix typo and give better log output.
5909
5910         * gst/gstdebugutils.c:
5911         * gst/gstdebugutils.h:
5912           More ideas, make graphs a bit smaller and fix param name in macro.
5913
5914 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * gst/gstpreset.c:
5917           Try harder to use the return value from fgets().
5918
5919 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
5920
5921         * gst/gstpreset.c:
5922           For theses two fgets we handle the error below.
5923
5924 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5925
5926         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
5927         Only send upstream events upstream. Fixes #498746.
5928
5929 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
5930
5931         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
5932
5933         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5934         (gst_identity_init), (gst_identity_transform_ip),
5935         (gst_identity_set_property), (gst_identity_get_property):
5936         * plugins/elements/gstidentity.h:
5937         Add property to disable handoff signal emission. Fixes #498694.
5938         API: GstIdentity::signal-handoffs
5939
5940 2007-11-21  Julien Moutte  <julien@fluendo.com>
5941
5942         * docs/faq/gst-uninstalled: Yet another missing library for the
5943         uninstalled script (fft)
5944
5945 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
5946
5947         * docs/faq/developing.xml:
5948         Add a question about how to submit new translations.
5949
5950         * docs/random/release:
5951         Update the contact email address for the Translation Project
5952
5953         * plugins/elements/gstfdsrc.c:
5954         The parent_class for fdsrc is pushsrc, not GstElement.
5955
5956 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5957
5958         * gst/gstpreset.c:
5959           Plug a leak and fix saving.
5960
5961 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
5962
5963         * docs/gst/gstreamer-sections.txt:
5964         Add new gst_preset__get_property_names() function to the docs
5965         to fix the build.
5966
5967 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
5968
5969         * gst/gstpreset.c:
5970         * gst/gstpreset.h:
5971           Change _get_preset_names API to return a strv with copies. Add
5972           _get_property_names to allow implementations to filter and provide
5973           good default implementation.
5974
5975 2007-11-20  Julien MOUTTE  <julien@moutte.net>
5976
5977         * docs/faq/gst-uninstalled: Add another library to the uninstalled
5978         script (sdp).
5979
5980 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5981
5982         * gst/gstpreset.c:
5983           More cleanups, docs, and TODOs from comments that now slowly come in.
5984
5985 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5986
5987         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
5988         search path.
5989
5990 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
5991
5992         * gst/gstpreset.c:
5993           Fix bogus warning and make the property type specific code more
5994           similar.
5995
5996 2007-11-19  Julien MOUTTE  <julien@moutte.net>
5997
5998         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
5999         it build on OS X.
6000
6001 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
6002
6003         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6004         (gst_bin_add_func), (gst_bin_remove_func),
6005         (gst_bin_change_state_func), (gst_bin_continue_func):
6006         Change email, cleanups add some more debug and comments.
6007         Also set bus and clock on new elements when the pipeline was in error.
6008
6009 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
6010
6011         * gst/gstbin.c:
6012         * gst/gstdebugutils.c:
6013           Fix build with --disable-gst-debug. Fixes #497859.
6014           Spotted by Sameer Naik.
6015
6016 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6017
6018         * gst/gstevent.c:
6019           Little documentation improvment.
6020
6021         * gst/gstpreset.c:
6022           More TODO cleanups. Remove c++ comments.
6023
6024         * libs/gst/controller/gstcontroller.c:
6025           Add TODO and use quark from static string.
6026
6027         * tests/check/gst/gstmessage.c:
6028         * tests/check/gst/gststructure.c:
6029           Use quark from static string.
6030
6031 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6032
6033         * gst/gstpreset.c:
6034           Add some comments and TODOs.
6035
6036         * gst/gstpreset.h:
6037           Add padding for future changes.
6038
6039         * plugins/elements/gstqueue.c:
6040           Implement the iface.    
6041
6042 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
6043
6044         * docs/gst/gstreamer-docs.sgml:
6045         * docs/gst/gstreamer-sections.txt:
6046         * docs/gst/gstreamer.types.in:
6047         * gst/Makefile.am:
6048         * gst/gst.h:
6049         * gst/gstpreset.c:
6050         * gst/gstpreset.h:
6051           Add the preset interface (Fixes #396779). Do some doc cleanups along.
6052
6053 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
6054
6055         * configure.ac:
6056
6057         Back to CVS
6058
6059 === release 0.10.15 ===
6060
6061 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
6062
6063         * configure.ac:
6064           releasing 0.10.15, "October"
6065
6066 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
6067
6068         * win32/vs6/libgstreamer.dsp:
6069         Convert line endings back to DOS.
6070
6071 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
6072
6073         * docs/design/draft-tagreading.txt:
6074         * docs/random/ensonic/profiling.txt:
6075         Update fast tagreading draft and performance profiling ideas.
6076
6077 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6078
6079         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
6080         Don't hold the object lock when unreffing a buffer because it could
6081         cause a deadlock when the finalize function wants to grab the object
6082         lock too. Fixes #495133.
6083
6084 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
6085
6086         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
6087         (gst_segment_to_stream_time), (gst_segment_to_running_time):
6088         Also accumulate time correctly when doing reverse playback. Fixes
6089         #488201,
6090         When converting to running and stream time, use default values for
6091         start/stop/time/accum when comparing different formats. Fixes #494245.
6092
6093         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
6094         Do running/stream time in TIME format.
6095
6096         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6097         (gst_segment_suite):
6098         2 new unit tests for segment accumulation.
6099
6100 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6101
6102         * gst/gst.c: (init_pre):
6103         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
6104           (_gst_debug_bin_to_dot_file):
6105           Move getenv() back into gst_init, so everyone can live happily
6106           ever after. Make sure the symbol isn't exported though.
6107
6108 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6109
6110         Patch by: Sebastien Moutte  <sebastien moutte net>
6111
6112         * win32/common/gstenumtypes.c:
6113         * win32/common/gstenumtypes.h:
6114           Update enum types.
6115
6116         * win32/vs6/libgstreamer.dsp:
6117           Update vs6 project files (#494343).
6118
6119 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6120
6121         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
6122         (gst_base_src_perform_seek), (gst_base_src_default_event),
6123         (gst_base_src_set_flushing), (gst_base_src_activate_push),
6124         (gst_base_src_activate_pull):
6125         Unify flushing code, remove some old unlock code that is no longer used.
6126         Take the streaming lock when seeking to avoid races. Fixes #492729.
6127         Added some more comments.
6128
6129 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6130
6131         * gst/gst.c: (_gst_disable_segtrap):
6132           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
6133           we can use gst_segtrap_is_enabled() there now that we have that API.
6134           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
6135           to do the getenv here (and export the variable).
6136
6137         * gst/gstdebugutils.c: (debug_dump_element),
6138           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
6139           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
6140
6141         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
6142           (gst_debug_log_default):
6143           Rename _gst_info_start_time to priv_gst_info_start_time so it
6144           doesn't get exported (was never in any header).
6145
6146         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
6147           (gst_plugin_loading_mutex):
6148           Make static mutex gst_plugin_loading_mutex really static (was never
6149           in any header), and use gst_segtrap_is_enabled() instead of
6150           _gst_disable_segtrap.
6151
6152         * gst/gsttrace.c: (_gst_trace_default):
6153           Make local _gst_trace_default static (was never in any header).
6154
6155 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6158
6159         * win32/common/libgstbase.def:
6160         * win32/common/libgstcontroller.def:
6161         * win32/common/libgstdataprotocol.def:
6162         * win32/common/libgstnet.def:
6163         * win32/common/libgstreamer.def:
6164           Add more missing symbols, remove some duplicates, and sort
6165           as the 'sort' command sorts it (partially fixes #493983).
6166
6167 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6168
6169         * gst/gstelement.c: (gst_element_set_state_func):
6170         Only change the state cookie if a different state was set on the
6171         element. See #492729.
6172
6173 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6174
6175         * gst/gstvalue.c:
6176           Remove unused and uninitialised type variables that were still
6177           exported for some reason (they were never in any header files
6178           though).
6179
6180 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6181
6182         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
6183         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
6184         (gst_base_sink_event), (gst_base_sink_get_position_last),
6185         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
6186         (gst_base_sink_change_state):
6187         Don't try to report a 0 position when we don't know, return -1 and FALSE
6188         instead. This mostly happens when we are prerolling.
6189         Make sure we can report the right position before we post the ASYNC_DONE
6190         message so that a message handler can query position without races.
6191
6192         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6193         (async_done_handoff), (async_done_func), (send_buffer),
6194         (async_done_eos_func), (gst_sinks_suite):
6195         Add two tests for the above.
6196
6197 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
6198
6199         * MAINTAINERS:
6200         Update with new email address.
6201
6202         * docs/design/part-TODO.txt:
6203         Add some more info about future pad-block and negotiation changes.
6204
6205         * docs/design/part-buffering.txt:
6206         Add some ideas about buffering reporting.
6207
6208 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
6209
6210         * tests/check/gst/gstobject.c:
6211         Disable silly racy test that always fails on this combination of CPU
6212         and kernel.
6213
6214 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
6215
6216         Patch by: Murray Cumming  <murrayc@murrayc.com>
6217
6218         * gst/gstobject.c:
6219           Corrected the registration of the parent-set and parent-unset
6220           signals: The parameter is a GstObject, not a GObject (#493134).
6221
6222 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6223
6224         * gst/gst_private.h:
6225         * gst/gstbuffer.h:
6226         * gst/gstevent.h:
6227         * gst/gstformat.h:
6228         * gst/gstmessage.h:
6229         * gst/gstplugin.h:
6230         * gst/gstquery.h:
6231         * gst/gsttaglist.h:
6232         * gst/gstvalue.h:
6233           Move declaration of private _gst_foo_initialize() functions into
6234           our private header file where they should have been all along.
6235
6236 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6237
6238         * docs/plugins/gstreamer-plugins-sections.txt:
6239         * gst/gstdebugutils.h:
6240         * gst/gstxml.h:
6241         * plugins/elements/gstqueue.c:
6242           gtk-doc fixes; trailing-comma-in-enum fix.
6243
6244 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6245
6246         * gst/gst.c: (gst_deinit):
6247           Clean up on deinit (not the external ones though, doesn't seem to be
6248           needed for some reason).
6249
6250 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6251
6252         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
6253           Remove __declspec(dllimport) for MSVC that was copied over into core
6254           from a plugin, obviously without ever having been tested (note the
6255           single underscore in _declspec in the initial commit), and that doesn't
6256           really make sense.  See #492077.
6257
6258 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6259
6260         * gst/gst.c: (init_post):
6261         * gst/gstevent.c: (_gst_event_initialize):
6262         * gst/gstquery.c: (_gst_query_initialize):
6263         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
6264           g_type_class_ref() other types as well, see #349410 and #64764.
6265
6266         * gst/gstbuffer.c: (_gst_buffer_initialize):
6267         * gst/gstmessage.c: (_gst_message_initialize):
6268           Simplify existing g_type_class_ref().
6269
6270 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6271
6272         * gst/gstformat.c: (_gst_format_initialize):
6273           g_type_class_ref() our GstFormat type to make sure we avoid the
6274           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
6275           bug #64764. Should fix intermittent tee unit test failures (#474823).
6276
6277 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
6278
6279         * tests/check/elements/tee.c: (test_num_buffers):
6280           Simplify, simplify, simplify - or not.  Rewrite unit test
6281           not to use gst_parse_launch(); allow N sub-streams. Increasing
6282           the number of sub-streams seems to reproduce #474823 more easily.
6283
6284 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6285
6286         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
6287
6288         * gst/gsttrace.c:
6289         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
6290         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
6291         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
6292           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
6293           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
6294           so use _pipe() directly (#492077).
6295
6296         * win32/common/dirent.c: (_treaddir):
6297           Add a couple of casts to make it build without warnings with MSVC.
6298
6299         * win32/common/libgstreamer.def:
6300           Add some more symbols that need to be exported.
6301
6302 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
6303
6304         * tests/examples/metadata/read-metadata.c: (message_loop):
6305           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
6306           arriving in a second or third tag message are added to
6307           the tag list as well.
6308
6309 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
6310
6311         * libs/gst/base/gstbasesrc.c:
6312           Its "Since:" and not "@Since:". And remove an superflous cast.
6313
6314 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
6315
6316         * docs/libs/gstreamer-libs-sections.txt:
6317         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6318         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
6319         (gst_base_sink_get_property), (gst_base_sink_render_object),
6320         (gst_base_sink_preroll_object),
6321         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6322         (gst_base_sink_change_state):
6323         * libs/gst/base/gstbasesink.h:
6324         Add a new last-buffer property that contains the last buffer used in
6325         basesink for preroll or rendering. useful for making snapshots.
6326         API: gst_base_sink_get_last_buffer()
6327         API: GstBaseSink::last-buffer
6328
6329 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6330
6331         * docs/gst/running.xml:
6332         * gst/gst.c:
6333         * gst/gstdebugutils.c:
6334         * gst/gstdebugutils.h:
6335         * tools/gst-launch.c:
6336           Improve bin graph dumping, by using the envvar to specify a path.
6337           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
6338
6339 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
6340
6341         * plugins/elements/gsttypefindelement.c:
6342           (gst_type_find_element_handle_event),
6343           (gst_type_find_element_activate):
6344           Post special error message if we can't determine the type of a stream
6345           because it's empty.
6346
6347 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
6348
6349         * docs/gst/running.xml:
6350         * gst/gstdebugutils.c:
6351           Document new env-var. Add one log-line after dumpng a graph.
6352
6353 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6354
6355         * configure.ac:
6356           Ugly hack to put the (recently removed and non-portable, apparently)
6357           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
6358           GNU ld, because without that 'make check' fails miserably on my debian
6359           stable box.  Someone with more knowledge of linker intricacies and
6360           portability issues than me fix this properly please.
6361
6362 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
6363
6364         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
6365         Reset last seen position after flushing so that we don't report the old
6366         position anymore.
6367
6368 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6369
6370         * gst/gstelementfactory.c: (gst_element_register):
6371         * gst/gsturi.h:
6372         Patch from Alessandro Decina adding get_type_full and
6373         get_protocols_full private vfuncs to the URIHandler interface
6374         to allow bindings to support creating URI handlers. 
6375         Partially fixes: #339279
6376         API: GstURIHandlerInterface::get_type_full
6377         API: GstURIHandlerInterface::get_protocols_full
6378
6379 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6380
6381         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6382         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
6383         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
6384         Make it so that pads are considered linked until a buffer is pushed
6385         and discovered otherwise. This avoids problems with decodebin2 hanging
6386         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
6387         case.
6388
6389         Make sure we lock the multiqueue when updating the max-size properties.
6390         
6391         Fix a crash on Solaris in a debug statement in get_request_pad that
6392         passes a NULL string to GST_DEBUG. 
6393
6394         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6395         (run_output_order_test):
6396         Fix the test to allow the first buffer on not-linked pads to come out
6397         of sequence while multiqueue discovers that they are not-linked.
6398
6399 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
6400
6401         * configure.ac:
6402         * libs/gst/check/Makefile.am:
6403         Use a custom export symbol regex for libgstcheck, as it needs
6404         to export symbols that don't match the standard GStreamer gst_*
6405         pattern, and  --export-dynamic is not portable (only works on 
6406         GNU ld)
6407
6408         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6409         (gst_check_setup_sink_pad):
6410         Make sure to pass a message parameter to the fail_* macros.
6411
6412         * tests/check/gst/gstinfo.c: (GST_START_TEST):
6413         Fix some compiler warnings.
6414
6415 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
6416
6417         * tests/check/gst/gststructure.c: (test_to_string):
6418           Disable test that checks that white spaces are not allowed
6419           in structure names or field names, since we need to
6420           support that for now for backwards compatibility reasons.
6421
6422 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * docs/gst/gstreamer-sections.txt:
6425         * gst/gsttaglist.c:
6426         * gst/gsttaglist.h:
6427           API: add GST_TAG_ARTIST_SORTNAME
6428           API: add GST_TAG_ALBUM_SORTNAME
6429           API: add GST_TAG_TITLE_SORTNAME
6430           Add tag variants for sorting (#414539).
6431
6432 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
6433
6434         * gst/gststructure.c:
6435           Also allow white space for names so we don't break
6436           backwards compatibility.
6437
6438 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
6439
6440         * docs/design/part-TODO.txt:
6441         * docs/design/part-segments.txt:
6442         * docs/design/part-streams.txt:
6443         Small updates.
6444
6445 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6446
6447         * docs/gst/gstreamer-sections.txt:
6448          Fixed documentation from my previous commit (added new API add
6449          gst_value_set_structure(), add gst_value_get_structure() and
6450          GST_VALUE_HOLDS_STRUCTURE).
6451
6452 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
6453
6454         * gst/gstdebugutils.c:
6455           Reflow code to fix uninitialized variable warning.
6456
6457 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
6458
6459         * gst/gstcaps.c: (gst_caps_to_string),
6460         (gst_caps_from_string_inplace):
6461         * gst/gststructure.c: (gst_structure_get_abbrs),
6462         (gst_structure_to_string), (gst_structure_from_string):
6463         * gst/gstvalue.c: (gst_value_set_structure),
6464         (gst_value_get_structure), (gst_value_serialize_structure),
6465         (gst_value_deserialize_structure), (_gst_value_initialize):
6466         * gst/gstvalue.h:
6467         * tests/check/gst/gststructure.c: (GST_START_TEST),
6468         (gst_structure_suite):
6469         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6470          Added GstStructure to gst_value_table and its related functions.
6471          Changed gst_structure_to_string to print ';' in the end.
6472          Changed gst_caps_to_string to not print ';' beteween its
6473          fields (structures) anymore and remove the lastes ';' from latest
6474          structure. Now it is possible to have nested structures.
6475          In addition, backward compatibilty is assured by accepting '\0' as
6476          end delimiter. Fixes: #487969.
6477          API: add gst_value_set_structure()
6478          API: add gst_value_get_structure()
6479          API: add GST_VALUE_HOLDS_STRUCTURE
6480
6481 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
6482
6483         * gst/gstbus.c:
6484           When no GSource callback has been set up, tell developer
6485           to use a function that actually exists.
6486
6487 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
6488
6489         * docs/gst/gstreamer-sections.txt:
6490         * gst/Makefile.am:
6491         * gst/gst.c:
6492         * gst/gst.h:
6493         * gst/gstdebugutils.c:
6494         * gst/gstdebugutils.h:
6495         * gst/gstinfo.c:
6496         * gst/gstinfo.h:
6497         * tools/gst-launch.c:
6498           Allow dumping pipelines as dot graphs. Fixes #456573.
6499
6500 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6501
6502         * gst/gststructure.c:
6503           Allow '+' as well, it can be part of media or mime types
6504           such as image/svg+xml.
6505
6506 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6507
6508         * docs/gst/gstreamer-sections.txt:
6509         * gst/gstbus.c:
6510         * gst/gstbus.h:
6511           API: add gst_bus_pop_filtered
6512           API: add gst_bus_timed_pop_filtered
6513           Two new functions for waiting for specific message types on the
6514           bus for a specified amount of time without iterating any main
6515           loops or main contexts.
6516
6517         * tests/check/gst/gstbus.c:
6518           Some tests for the new functions.
6519
6520 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6521
6522         * docs/libs/gstreamer-libs-sections.txt:
6523           Make gtk-doc ignore stuff it should ignore.
6524
6525 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6526
6527         * libs/gst/check/gstcheck.c:
6528         * libs/gst/check/gstcheck.h:
6529           Allow runtime selection of unit tests to run via the GST_CHECKS
6530           environment variable (test case function names, comma-separated).
6531
6532 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6533
6534         * gst/gststructure.c:
6535         * tests/check/gst/gststructure.c:
6536           Revert serialisation change and constrain structure-names after
6537           consensus on irc. Update api documentation to reflect the change.
6538
6539 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
6540
6541         * gst/gststructure.c:
6542           Improve serialization and fix tests.
6543
6544         * tests/check/gst/gststructure.c:
6545           Add another test that covers why I actually did the previous structure
6546           change.
6547
6548 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6549
6550         * tools/gst-inspect.c: (print_element_info):
6551         Don't crash when inspecting an element.
6552
6553 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6554
6555         * tests/check/gst/gststructure.c:
6556           Add unit test for escaping of structure name when serialising
6557           and deserialising to/from strings.
6558
6559 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
6560
6561         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6562         (gst_single_queue_new):
6563         * plugins/elements/gstqueue.c: (gst_queue_init),
6564         (gst_queue_push_one):
6565         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
6566         upstream is tricked into thinking it can suggest a format downstream
6567         while downstream does not support that format. The real problem is that
6568         core calls acceptcaps when pushing a buffer with new caps, for which we
6569         do a little workaround by setting the caps on the srcpad ourselves
6570         before pushing the buffer (until this is figured out). Fixes #486758.
6571
6572 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6573
6574         * gst/gststructure.c:
6575         * gst/gstvalue.c:
6576           Add some more comments and debug output. Quote structure name to fix
6577           deserialisation of some strings.
6578
6579 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6580
6581         * gst/gstbuffer.h:
6582           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
6583           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
6584
6585 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6586
6587         * tools/gst-inspect.c:
6588           Save approx. 400 1 byte allocs when printing. Use API to acces element
6589           details.
6590
6591         * tools/gst-run.c:
6592           Avoid a strdup.
6593
6594         * tools/gst-xmlinspect.c:
6595           Use API to acces element details.
6596
6597 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
6598
6599         * gst/gstinfo.c:
6600           Fix some spelling errors.
6601
6602 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
6603
6604         * gst/gstbin.c: (bin_handle_async_done):
6605         Correctly set the next state if all of our async children commited their
6606         state. This makes sure we can actually cancel the state change in
6607         progress. Fixes a regression in Rhythmbox when seeking.
6608
6609 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         * gst/gstbin.c:
6612           Don't shadow local variable.
6613
6614         * gst/gstinfo.c:
6615           Don't shadow global function name.
6616
6617 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * gst/gstelementfactory.c:
6620         * gst/gstpluginfeature.c:
6621         * gst/gstpluginfeature.h:
6622         * gst/gstregistrybinary.c:
6623         * gst/gstregistryxml.c:
6624         * gst/gsttypefind.c:
6625           Use already-interned string for the private GstPluginFeature
6626           plugin_name field.
6627
6628 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6629
6630         * docs/libs/gstreamer-libs-sections.txt:
6631           Add new API to docs; fixes the build.
6632
6633 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
6634         
6635         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
6636
6637         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
6638         (gst_base_sink_event):
6639         * libs/gst/base/gstbasesink.h:
6640         Add function to wait for EOS, subclasses can use this to correctly wait
6641         for devices to drain before performing the EOS logic. Fixes #485343.
6642         API: gst_base_sink_wait_eos()
6643
6644 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * gst/gstplugin.h:
6647           Cast description string constants in GST_PLUGIN_DEFINE macros
6648           to a (gchar*) to make C++ code using these macros compile
6649           without warning with g++-4.2 (see #462737).  Even if slightly
6650           ugly, this seems preferable to putting the description strings
6651           into the GLib quark table or making the structure member a
6652           const gchar * and doing casts in core code that allocs and
6653           frees these strings, or requiring a cast in the C++ code.
6654
6655 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6656
6657         * gst/gstinfo.h:
6658           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
6659           to print the entire class/function signature into the log
6660           file for C++ code.  This only affects C++ code, for C code
6661           everything remains the same.
6662
6663 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
6664
6665         * gst/gstbin.c: (remove_from_queue):
6666         Work around a problem with pipelines containing (semi)loops until a
6667         proper, more complicated solution is ready. See #475455.
6668
6669 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6670
6671         * gst/gstplugin.c:
6672         * gst/gstplugin.h:
6673         * gst/gstregistrybinary.c:
6674         * gst/gstregistryxml.c:
6675           Put more strings into the GLib quark table. No need to keep
6676           a hundred-something copies of identical version strings,
6677           license strings, package name strings and package origin
6678           strings around. 
6679
6680 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6681
6682         * docs/manual/advanced-dataaccess.xml:
6683           Don't imply that it's okay to unconditionally change
6684           buffer data or buffer metadata in a pad probe callback,
6685           and a bunch of other comments. Fixes #430031.
6686
6687 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6688
6689         * win32/common/gstenumtypes.c:
6690         * win32/common/gstenumtypes.h:
6691         * win32/common/gstversion.h:
6692           Update generated files.
6693
6694 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6695
6696         * docs/manual/advanced-autoplugging.xml:
6697           Prefix section with broken code with a warning (see #342432).
6698
6699 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6700
6701         * docs/manual/appendix-integration.xml:
6702         * docs/manual/basics-init.xml:
6703           Call g_thread_init() before g_option_context_new() to
6704           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
6705
6706 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6707
6708         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
6709         (gst_base_sink_queue_object_unlocked),
6710         (gst_base_sink_queue_object), (gst_base_sink_event),
6711         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
6712         When we received EOS and are waiting for when to post the EOS message,
6713         our state is prerolled and we should not return ASYNC.
6714         Reorganize some code paths to implement this behavior.
6715
6716         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
6717         (gst_sinks_suite):
6718         Add unit test to verify above EOS fix.
6719
6720 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6721
6722         * plugins/elements/gsttypefindelement.c:
6723         (gst_type_find_element_have_type), (gst_type_find_element_init),
6724         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
6725         Move detecting the input caps of the sinkpad to the setcaps function.
6726         This allows us to update the output caps when we receive new input caps
6727         instead of always using the first detected caps.
6728
6729 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
6730
6731         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6732         (gst_base_sink_get_position):
6733         Don't try to preroll non-async elements after a flush.
6734         Subtract latency form clock times when reporting position.
6735
6736 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6737
6738         * gst/gstpad.c: (gst_pad_pause_task):
6739         * gst/gstutils.c:
6740         Small comment and documentation update.
6741
6742 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6743
6744         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6745         (gst_base_src_set_live), (gst_base_src_is_live),
6746         (gst_base_src_query_latency), (gst_base_src_perform_seek),
6747         (gst_base_src_default_event), (gst_base_src_wait),
6748         (gst_base_src_do_sync), (gst_base_src_get_range),
6749         (gst_base_src_pad_get_range), (gst_base_src_loop),
6750         (gst_base_src_unlock), (gst_base_src_unlock_stop),
6751         (gst_base_src_set_flushing), (gst_base_src_set_playing),
6752         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6753         (gst_base_src_change_state):
6754         Rework the locking of basesrc in a similar fashion to basesink. We
6755         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
6756         us to handle live sources and semi live ones much better.
6757         Simplify flushing.
6758         Fix unlocking when seeking, shutting down and pausing in live sources.
6759
6760 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
6761
6762         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
6763         Fix compilation again.
6764
6765 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6766
6767         * gst/gstelement.c:
6768           Use meaningful categories for the logs to clean the default one.
6769
6770 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6771
6772         * tests/check/pipelines/cleanup.c:
6773           Print message name and not just number.
6774
6775 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6776
6777         * docs/design/draft-tagreading.txt:
6778           Add some more thoughts.
6779
6780 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6781
6782         * tests/check/pipelines/simple-launch-lines.c:
6783           Print message name and not just number.
6784
6785 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6786
6787         * libs/gst/base/gsttypefindhelper.c:
6788           Speedup typefinding. This is work in progress (see #459862).
6789
6790 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
6791
6792         * gst/gstplugin.c:
6793           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
6794           Spotted by Josep Torra Valles <josep@fluendo.com>.
6795
6796 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6797
6798         * gst/gstclock.h:
6799           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
6800           field has moved to GstObject.
6801
6802 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
6803
6804         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
6805         (gst_base_src_get_range), (gst_base_src_change_state):
6806         Call unlock for live sources so that they can't get stuck in _create and
6807         produce a buffer before they are set back to PLAYING.
6808
6809 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
6810
6811         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
6812         (gst_queue_locked_dequeue):
6813         Comment the segment-related code... in the PROPER function.
6814         See #482147 and my commit from yesterday.
6815
6816 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
6817
6818         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
6819         Also initialize the counter that calculates the first timestamp on a
6820         buffer correctly for non-live sources.
6821
6822 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
6823
6824         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
6825         Disable code that's breaking the current-time-level reporting.
6826         See #482147
6827
6828 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
6829
6830         * docs/gst/gstreamer-sections.txt:
6831         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
6832         as they shouldn't show up. Fixes the docs build.
6833
6834 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
6835         
6836         * gst/gstinfo.h:
6837         Add an explicit variable importation needed on VS6 (only for MSC_VER)
6838         Define M_PI which is used in files which are including gstinfo.h. 
6839         VS6 includes doesn't define it.
6840         * win32/common/libgstbase.def:
6841         * win32/common/libgstcontroller.def:
6842         * win32/common/libgstreamer.def:
6843         Add new exported functions and variables.
6844         * win32/vs6/libgstcontroller.dsp:
6845         * win32/vs6/libgstreamer.dsp:
6846         Update the list of files to build.
6847         
6848 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6849
6850         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6851
6852         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
6853         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
6854         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
6855         Improve debugging. Fixes #480858.
6856
6857 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
6858
6859         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
6860
6861         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6862         First patch of code cleanups, use the macros and right arguments in the
6863         macros to signal and lock the queue. See #480858.
6864
6865 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
6866
6867         * gst/gstbus.c: (poll_func):
6868         Improve debugging when dealing with _poll().
6869
6870 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
6871
6872         * gst/gstregistryxml.c:
6873           Fix memory leak I introduced a few days ago.
6874
6875 2007-09-26  Michael Smith <msmith@fluendo.com>
6876
6877         * gst/gstbuffer.c: (gst_buffer_finalize):
6878           Make it once again possible to free GstBuffers in the default
6879           build.
6880           The poisoning scribbles on parts of the miniobject we need in
6881           order to free it.
6882           Fixes #480341
6883
6884 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
6885
6886         * docs/gst/gstreamer-sections.txt:
6887         * gst/gsttaglist.c:
6888         * gst/gsttaglist.h:
6889         API: add GST_TAG_COMPOSER, fixes #459809.
6890
6891 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
6892
6893         * gst/gstplugin.c:
6894         * gst/gstplugin.h:
6895         Add the 3-clause BSD license and the MIT/X11 license to the license
6896         list. Fixes #479784.
6897
6898 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
6899
6900         * docs/faq/getting.xml:
6901           Add Q+A about different GStreamer versions (#364056).
6902
6903 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6904
6905         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6906         (gst_base_sink_event), (gst_base_sink_change_state):
6907         Return correct gboolean from query function.
6908
6909 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6910
6911         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6912         (gst_base_sink_event), (gst_base_sink_query),
6913         (gst_base_sink_change_state):
6914         Simplify latency query.
6915         When not synchronizing, we can report latency without querying the peer
6916         element.
6917
6918 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6919
6920         * gst/gstobject.h:
6921         * gst/gstvalue.c:
6922         Fix small typos in the docs.
6923
6924 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
6925
6926         * docs/design/draft-latency.txt:
6927         * docs/design/draft-push-pull.txt:
6928         * docs/design/draft-tagreading.txt:
6929         * docs/design/part-MT-refcounting.txt:
6930         * docs/design/part-activation.txt:
6931         * docs/design/part-block.txt:
6932         * docs/design/part-element-source.txt:
6933         * docs/design/part-events.txt:
6934         * docs/design/part-gstbin.txt:
6935         * docs/design/part-gstelement.txt:
6936         * docs/design/part-gstobject.txt:
6937         * docs/design/part-gstpipeline.txt:
6938         * docs/design/part-messages.txt:
6939         * docs/design/part-preroll.txt:
6940         * docs/design/part-push-pull.txt:
6941         * docs/design/part-qos.txt:
6942         * docs/design/part-query.txt:
6943         * docs/design/part-scheduling.txt:
6944         * docs/design/part-seeking.txt:
6945         * docs/design/part-segments.txt:
6946         * docs/design/part-states.txt:
6947         Documentation updates and typo fixes.
6948
6949 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
6950
6951         * plugins/elements/gstfakesink.c:
6952           Add some debug text to error message to indicate that
6953           we errored out on request.
6954
6955         * tools/gst-launch.c:
6956           When the state change to PLAYING fails, check for an
6957           error message on the bus and print it.
6958
6959 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6960
6961         translated by: Jorge González González <aloriel@gmail.com>
6962
6963         * po/LINGUAS:
6964         * po/es.po:
6965           Added Spanish translation.
6966
6967 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
6968
6969         * plugins/elements/gstqueue.c: (gst_queue_push_one):
6970         Fix printf arguments.
6971
6972 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6973
6974         * tests/check/generic/states.c:
6975           Improved state change unit test.
6976
6977 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
6978
6979         * gst/gstbin.h:
6980           Move priv to the right place.
6981
6982         * gst/gstsystemclock.c:
6983           Add FIXME: and improve log.
6984
6985         * tests/check/Makefile.am:
6986         * tests/examples/manual/Makefile.am:
6987           Work with all types of registries.
6988
6989 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
6990
6991         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
6992         Don't unref the event after pushing it. Fixes #478401.
6993
6994 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
6995
6996         * .cvsignore:
6997         * tests/examples/manual/.cvsignore:
6998           Ignore registries in any format.
6999
7000 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * gst/glib-compat-private.h:
7003           Add compatibility macro for g_intern_string() for
7004           GLib-2.8 (any reason we can't just bump the
7005           requirement to at least 2.10?)
7006
7007         * gst/gstpadtemplate.h:
7008         * gst/gstelementfactory.c:
7009         * gst/gstregistryxml.c:
7010         * gst/gstregistrybinary.c:
7011           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
7012           up the internal code accordingly.  This shouldn't be a problem, since
7013           there is no reason external code could ever assume the string in such
7014           a structure is dynamically allocated unless it did that itself;  the
7015           use of g_strdup() is private to element factories.  The new code also
7016           saves some memory by putting pad template name strings into the GLib
7017           quark table instead of allocating them dynamically.
7018           Declaring this field constant fixes warnings with g++-4.2 when using
7019           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
7020
7021 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
7022
7023         * gst/gstelementfactory.c:
7024           Release static caps. Fixes #475723.
7025
7026 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
7027
7028         * gst/gstinfo.c:
7029         * gst/gstinfo.h:
7030           Make some internal API take const gchar * instead of just
7031           gchar * to avoid compiler warnings with g++-4.2.2 when
7032           passing string constants (partially fixes #478092).
7033
7034 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7035
7036         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
7037         A latency query fails when one of the sinks fail.
7038
7039         * gst/gstelement.c: (gst_element_set_base_time):
7040         Improve debugging.
7041
7042 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
7043
7044         * gst/gstbin.c: (gst_bin_continue_func):
7045         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7046         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
7047         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
7048
7049         Fix minor compilation warnings shown with Forte.
7050
7051 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
7052
7053         * plugins/elements/gstqueue.c: (apply_buffer),
7054         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
7055         Measure queue level based on the diff between head and tail timestamps
7056         even when pushing the first buffer.
7057
7058 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7059
7060         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7061         (gst_base_sink_event), (gst_base_sink_change_state):
7062         Sinks that don't preroll can always be queried for the latency.
7063         Don't post ASYNC start when we are not async.
7064
7065 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7066
7067         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
7068         (gst_queue_handle_sink_event), (gst_queue_chain),
7069         (gst_queue_push_one), (gst_queue_handle_src_query),
7070         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
7071         * plugins/elements/gstqueue.h:
7072         When downstream returns UNEXPECTED from pushing a buffer, don't try to
7073         push more buffers but allow pushing of EOS and NEWSEGMENT.
7074         Add some more debug info here and there. Fixes #476514.
7075
7076 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
7077
7078         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
7079         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
7080         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7081         (gst_base_sink_set_flushing), (gst_base_sink_query),
7082         (gst_base_sink_change_state):
7083         Latency query is allowed after we are prerolled. Introduce a new flag
7084         for this and stop abusing other variables.
7085
7086 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7087
7088         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
7089         Push OOB events downstream when we get them in send_event. This allows
7090         the application to insert events in the pipeline.
7091         Add some more comments.
7092
7093 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7094
7095         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
7096         (do_bin_latency), (gst_bin_change_state_func):
7097         * gst/gstpipeline.c: (gst_pipeline_change_state):
7098         Move latency query from GstPipeline to GstBin so that we can also
7099         use it when async-handling is enabled on bins.
7100
7101 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7102
7103         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7104         (gst_base_src_do_sync), (gst_base_src_change_state):
7105         Update docs.
7106         Clean up the timestamping and syncing code for pseudo live sources.
7107
7108 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
7109
7110         Patch by: Steve Fink  <sphink gmail com>
7111
7112         * docs/manual/appendix-checklist.xml:
7113           Mention less -R switch in the section about debug output (#474055).
7114
7115 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
7116
7117         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
7118         Queue can latency to the pipeline up to the configured max size in time.
7119         Report this fact in the latency query.
7120
7121 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7122
7123         Patch by: Sebastien Moutte <sebastien at moutte dot net>
7124
7125         * libs/gst/controller/gstinterpolation.c:
7126         * libs/gst/controller/gstlfocontrolsource.c:
7127         Use gst_guint64_to_gdouble() when converting from a uint64 or
7128         GstClockTime to double to fix the build on win32. Fixes #474371.
7129
7130 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7131
7132         * gst/gstbuffer.c: (gst_buffer_finalize):
7133         Implement poisoning for GstBuffer if --enable-poisoning is specified.
7134         When finalizing a buffer the complete struct is filled with 0xff,
7135         thus making a use of the buffer after the final unref impossible.
7136
7137 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
7138
7139         * tests/check/libs/controller.c: (GST_START_TEST):
7140         Use fail_unless_equals_int(a, b) instead of
7141         fail_unless_equals (a == b) to get better output on failures.
7142
7143 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7144
7145         * tests/check/gst/gsturi.c:
7146           Also check for the other file URI variant on win32.
7147
7148 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
7149
7150         * gst/gsturi.c: (gst_uri_get_location):
7151           If there's no hostname, we want to return 'c:/foo/bar.txt'
7152           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
7153
7154         * tests/check/gst/gsturi.c:
7155           Unit test for the above and a few more things.
7156
7157 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7158
7159         * docs/design/part-live-source.txt:
7160         Add docs on how live sources should timestamp.
7161
7162         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
7163         Add some more debug info.
7164         For subclasses that are live and like to sync, add aditional startup
7165         latency to sync time and timestamps so that we timstamp according to the
7166         design doc.
7167
7168 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7169
7170         * gst/gstbuffer.c:
7171           Also do a g_type_class_ref() for the subbuffer type in
7172           the init function.
7173
7174 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
7175
7176         * docs/gst/gstreamer-sections.txt:
7177         * gst/gstpad.c: (gst_pad_peer_query):
7178         * gst/gstpad.h:
7179         Add function to perform a query on the peer of a pad.
7180         API: gst_pad_peer_query()
7181
7182 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
7183
7184         * tests/check/gst/gstsystemclock.c:
7185           Cleanup the test a little (use gst-logging and not g_message). Improve
7186           test to check if a wait reached the target.
7187
7188 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
7189
7190         * docs/libs/gstreamer-libs-sections.txt:
7191           Add new API to docs and fix the build.
7192
7193 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
7194
7195         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7196         (gst_base_src_init), (gst_base_src_set_do_timestamp),
7197         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
7198         (gst_base_src_get_property), (gst_base_src_do_sync):
7199         * libs/gst/base/gstbasesrc.h:
7200         Add property to make the basesrc timestamp buffers based on the current
7201         running time.
7202         API: GstBaseSrc::do-timestamp
7203         API: gst_base_src_set_do_timestamp()
7204         API: gst_base_src_get_do_timestamp()
7205
7206 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
7207
7208         * docs/random/release:
7209           Really make sure translations are up-to-date before
7210           a release (#465010).
7211
7212 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
7213
7214         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7215         Always destroy the timer, also in error cases.
7216
7217 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7218
7219         * docs/manual/highlevel-xml.xml:
7220         Fix XML example code. Fixes #472714.
7221
7222 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
7223
7224         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
7225         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
7226         (gst_base_sink_query):
7227         Protect eos and have_preroll with the OBJECT lock so we don't need to
7228         take the PREROLL lock when querying the latency. Fixes #473846.
7229
7230 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
7231
7232         * gst/gstelement.c:
7233           Give some log-messages a category.
7234
7235 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
7236
7237         * gst/gststructure.c:
7238         (gst_structure_fixate_field_nearest_fraction):
7239         Fix fraction list fixation code. Take the fraction with the smallest
7240         difference with the target instead of the first one in the list.
7241
7242         * tests/check/gst/gststructure.c: (GST_START_TEST),
7243         (gst_structure_suite):
7244         Added test to verify correct fraction list fixation behaviour.
7245
7246 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
7247
7248         * win32/common/libgstreamer.def:
7249           Export gst_bus_add_signal_watch too.
7250
7251 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
7252
7253         * docs/libs/gstreamer-libs-sections.txt:
7254         Add new methods to docs.
7255
7256         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7257         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
7258         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
7259         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
7260         * libs/gst/base/gstbasesink.h:
7261         Add ts-offset property to fine-tune the synchronisation.
7262         API: GstBaseSink::ts-offset property
7263         API: gst_base_sink_set_ts_offset()
7264         API: gst_base_sink_get_ts_offset()
7265
7266 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
7267
7268         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7269         (gst_base_sink_init), (gst_base_sink_set_sync),
7270         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
7271         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
7272         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
7273         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
7274         (gst_base_sink_get_property), (gst_base_sink_change_state):
7275         * libs/gst/base/gstbasesink.h:
7276         Add async property to instruct the sink never to inform the parent about
7277         ASYNC state changes, update docs.
7278         Check argument with g_return_* for the public functions.
7279         API: GstBaseSink::async property
7280         API: gst_base_sink_set_async_enabled()
7281         API: gst_base_sink_is_async_enabled()
7282
7283 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
7284
7285         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
7286         Improve debugging.
7287
7288         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7289         (gst_base_src_default_query), (gst_base_src_wait),
7290         (gst_base_src_do_sync), (gst_base_src_change_state):
7291         Rearrange some code so that we can add support for measuring the 
7292         startup latency.
7293
7294 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
7295
7296         * docs/random/ensonic/dynlink.txt:
7297           More thoughs on this.
7298
7299         * plugins/elements/gstcapsfilter.c:
7300           Add bugzilla ticket number to FIXME comment.
7301
7302 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
7303
7304         * docs/design/part-TODO.txt:
7305         * docs/design/part-block.txt:
7306         Update some docs.
7307
7308 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7309
7310         * gst/Makefile.am:
7311           Revert patch which uses $(gst_headers) instead of $^ because it
7312           breaks make dist.
7313
7314 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
7315
7316         * tests/check/gst/gstbin.c: (GST_START_TEST):
7317           Fix leaks in the new unit test.
7318
7319 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
7320
7321         * gst/gst.c:
7322           Don't use GST_INFO before the debug system is actually initialised
7323           (shouldn't do any harm, but won't print anything either, so we can
7324           just as well remove it).
7325
7326         * gst/gstinfo.h:
7327           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
7328           compilers that don't support variadic macros (such as MSVC), should
7329           check for debug_level <= __gst_debug_min as well, since that's the
7330           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
7331           inline helper functions. Should improve performance a bit, but also
7332           makes sure uses of GST_INFO et.al are ignored if the debugging
7333           system isn't initialised yet (instead of printing an assertion
7334           failure).
7335
7336 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
7337
7338         patch by: David Nečas <yeti@physics.muni.cz>
7339
7340         * gst/Makefile.am:
7341           Replace some non portable makefile constructs.
7342
7343 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
7344
7345         * common/gtk-doc-plugins.mak:
7346           Grrrrr. Don't remove the types file on make clean.
7347
7348 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
7349
7350         * tools/gst-launch.1.in:
7351         Add colorspace to example pipeline. Fixes #458274.
7352
7353 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
7354
7355         * docs/random/release:
7356           The release manager should run 'make download-po' before making a
7357           release to make sure translations are up-to-date.
7358
7359         * po/LINGUAS:
7360         * po/be.po:
7361         * po/pl.po:
7362         * po/rw.po:
7363           Add some new translations.
7364
7365 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
7366
7367         * tools/gst-launch.c: (event_loop), (main):
7368         Don´t try to do any state management when a live pipeline posts
7369         buffering messages.
7370         Also make the buffering string translatable.
7371
7372 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7373
7374         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
7375         (bin_handle_async_start), (gst_bin_handle_message_func):
7376         Improve debugging.
7377         When adding elements, insert messages into the bus of the newly added
7378         element and make sure the element is the source of the message. This
7379         allows the parent bin to intercept the message and do the
7380         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
7381         messages to the app (which is not allowed).
7382         Update some docs.
7383
7384         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
7385         Fix testsuite so that is does not work around messages that should not
7386         have been posted in the first place.
7387
7388 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7389
7390         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
7391         (update_degree), (gst_bin_sort_iterator_next):
7392         Fix annoying bug in the sorted iterator where a sink that is not really
7393         a sink (when it has downstream links) screwed up the iterator.
7394
7395         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7396         Unit test to verify the fix.
7397
7398 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
7399
7400         * gst/gstmessage.h:
7401         Add some more docs for the messages.
7402
7403         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7404         (gst_base_sink_query):
7405         Add some more debugging.
7406
7407         * tools/gst-launch.c: (event_loop):
7408         When interrupting, don't try to set pipeline to PAUSED twice.
7409
7410 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7411
7412         
7413         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
7414         (bin_handle_async_start), (gst_bin_handle_message_func):
7415         Move ASYNC_START message posting to where it belongs, similar to
7416         async_done. 
7417         Don't post ASYNC_START when we are in error. 
7418         Post ASYNC_START when we added an async element to a bin.
7419
7420 2007-08-14  Julien MOUTTE  <julien@moutte.net>
7421
7422         * gst/gstindex.c: (gst_index_add_association): Fix index entry
7423         generation from vargs. Fixes #466595.
7424
7425 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
7426
7427         * gst/gstbin.c: (gst_bin_element_set_state):
7428         Always change the state of a NO_PREROLL element even if it has ASYNC
7429         elements inside (in case of a bin).
7430
7431         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
7432         Unit test for this case.
7433
7434 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
7435
7436         * libs/gst/check/gstbufferstraw.c:
7437         * libs/gst/check/gstcheck.h:
7438         * libs/gst/controller/gstcontroller.c:
7439         * libs/gst/controller/gstcontrolsource.h:
7440         * libs/gst/controller/gstlfocontrolsource.h:
7441         * plugins/elements/gstcapsfilter.h:
7442         * plugins/elements/gstfdsink.h:
7443         * plugins/elements/gstfdsrc.h:
7444           Add more missing docs.
7445
7446 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7447
7448         * gst/gststructure.c:
7449         Add Since tag to docs.
7450
7451 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7452
7453         * docs/gst/gstreamer-sections.txt:
7454         * gst/gststructure.c: (gst_structure_get_uint):
7455         * gst/gststructure.h:
7456         Add function to get uint from a structure.
7457         API: gst_structure_get_uint()
7458
7459 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
7460
7461         * gst/gstcaps.c: (gst_caps_set_simple_valist),
7462         (gst_caps_intersect):
7463         Fix proper check for simple caps.
7464
7465 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
7466
7467         * docs/gst/Makefile.am:
7468         * docs/libs/Makefile.am:
7469           Remove cruft and do some cleanups.
7470
7471         * docs/gst/gstreamer-docs.sgml:
7472         * docs/libs/gstreamer-libs-docs.sgml:
7473           Prepare for comming gtkdoc features (rebase against online docs).
7474
7475 2007-08-10  Michael Smith <msmith@fluendo.com>
7476
7477         * docs/gst/gstreamer-sections.txt:
7478           Add gst_registry_add_path to docs.
7479
7480 2007-08-10  Michael Smith <msmith@fluendo.com>
7481
7482         * gst/gstregistry.h:
7483           Add gst_registry_add_path, which was missing from this header.
7484
7485 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
7486
7487         * libs/gst/controller/gstlfocontrolsource.c:
7488           Printf format fix.
7489
7490 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
7491
7492         * libs/gst/base/gstbasesink.c:
7493           Don't send an async_start message during downwards state change if 
7494           target state is less than READY
7495
7496 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7497
7498         translated by: Gabor Kelemen <kelemeng@gnome.hu>
7499
7500         * po/LINGUAS:
7501         * po/hu.po:
7502           Added Hungarian translation.
7503
7504 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7505
7506         * po/fi.po:
7507         * po/it.po:
7508         * po/nl.po:
7509         * po/sv.po:
7510         * po/uk.po:
7511           Updated translations.
7512
7513 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7514
7515         * libs/gst/controller/Makefile.am:
7516         Dist gstlfocontrolsourceprivate.h
7517
7518 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
7519
7520         * docs/libs/gstreamer-libs.types:
7521         Don't register the enum type gst_lfo_waveform_get_type() in the
7522         .types file - only GObject derived types belong.
7523
7524 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7525
7526         Patch by: <arenevier at fdn dot fr>
7527
7528         * gst/gstbuffer.h:
7529         Remove comma from last element in enum to avoid compile errors when
7530         using -pendantic. Fixes #464366.
7531
7532 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
7533
7534         * docs/design/part-TODO.txt:
7535         Add some more TODO items
7536
7537         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
7538         Improve debugging.
7539
7540         * gst/gstcaps.c: (gst_caps_intersect):
7541         Optimize trivial intersection case between identical caps pointers.
7542
7543         * gst/gstelement.c: (gst_element_continue_state),
7544         (gst_element_set_state_func):
7545         * gst/gstpad.c:
7546         Fix spelling and grammar mistakes.
7547
7548 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
7549
7550         * po/POTFILES.in:
7551         * po/POTFILES.skip:
7552           Update POTFILES. Fixes #461599.
7553
7554 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7555
7556         * gst/gst.c:
7557         Fix confusing typo in debug output.
7558
7559 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
7560
7561         reviewed by: Stefan Kost <ensonic@users.sf.net>
7562
7563         * libs/gst/controller/Makefile.am:
7564         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
7565         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
7566         (gst_lfo_control_source_new),
7567         (gst_lfo_control_source_set_waveform),
7568         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
7569         (gst_lfo_control_source_finalize),
7570         (gst_lfo_control_source_dispose),
7571         (gst_lfo_control_source_set_property),
7572         (gst_lfo_control_source_get_property),
7573         (gst_lfo_control_source_class_init):
7574         * libs/gst/controller/gstlfocontrolsource.h:
7575         * libs/gst/controller/gstlfocontrolsourceprivate.h:
7576         API: Add GstLFOControlSource, a control source that gives values
7577         for specific timestamps based on several periodic waveforms.
7578         Fixes #459717.
7579
7580         * tests/check/libs/controller.c: (GST_START_TEST),
7581         (gst_controller_suite):
7582         * docs/libs/gstreamer-libs-docs.sgml:
7583         * docs/libs/gstreamer-libs-sections.txt:
7584         * docs/libs/gstreamer-libs.types:
7585         Add documentation and unit tests for GstLFOControlSource.
7586
7587 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
7588
7589         * configure.ac:
7590         Back to CVS
7591
7592 === release 0.10.14 ===
7593
7594 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
7595
7596         * configure.ac:
7597           releasing 0.10.14, "Breathing Vacuum"
7598
7599 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
7600
7601         * gst/gstelement.c: (gst_element_class_set_details_simple):
7602         * gst/gstelement.h:
7603           Make strings passed to gst_element_class_set_details_simple()
7604           constant, as they should be (#462752).
7605
7606 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
7607
7608         * gst/gstbin.c: (gst_bin_change_state_func),
7609         (bin_handle_async_done), (gst_bin_handle_message_func):
7610         Don't forget about the fact that some element went ASYNC even after a
7611         resync. This makes us post the ASYNC_DONE message correctly.
7612         Fixes #462558.
7613
7614 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7615
7616         * gst/gstregistry.c: (gst_registry_add_feature):
7617         When replacing an existing feature in the registry, make sure to
7618         continue holding a reference until we've replaced the name string
7619         within our feature hash table. Make sure to use g_hash_table_replace
7620         instead of g_hash_table_insert to ensure the new name string is used
7621         as a key instead of the old one that we're about to free.
7622         Fixes: #462085
7623
7624 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
7625
7626         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7627         (gst_plugin_feature_set_name):
7628         Revert patch from #459466 until after the release and we can work
7629         out exactly what the problem is (if any).
7630
7631 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7632
7633         * docs/gst/gstreamer-sections.txt:
7634         * gst/gsttaglist.c:
7635         * gst/gsttaglist.h:
7636           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
7637
7638 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
7639
7640         * docs/libs/Makefile.am:
7641         Include our build-prefix libs and includes before the generic ones to
7642         avoid linking against the installed libs when we want the build-tree
7643         ones.
7644
7645 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
7646
7647         Patch by: Steve Fink  <sphink gmail com>
7648
7649         * docs/pwg/building-testapp.xml:
7650           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
7651           if people try to build or install the example from the plugin
7652           template against a GStreamer from package using the configure
7653           defaults.
7654
7655 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
7656
7657         Patch by: Steve Fink  <sphink gmail com>
7658
7659         * tools/gst-inspect.1.in:
7660           Document --print-all and --print-plugin-auto-install-info command
7661           line options in man page.
7662
7663 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7664
7665         * docs/gst/gstreamer-sections.txt:
7666         Add docs for new api function.
7667
7668 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
7669
7670         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
7671         * gst/gstelementfactory.h:
7672         API: gst_element_factory_has_interface()
7673         Added method to check if an element factory implements a named
7674         interface.
7675
7676 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * configure.ac:
7679         * docs/gst/gstreamer.types.in:
7680           Another conditional doc check.
7681
7682         * gst/gstmessage.c:
7683         * gst/gstparamspecs.h:
7684         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7685         * gst/gstvalue.c:
7686         * gst/gstxml.h:
7687           API-doc fixes.
7688
7689 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
7692         (gst_registry_binary_load_feature),
7693         (gst_registry_binary_load_plugin),
7694         (gst_registry_binary_read_cache):
7695           Print error just once and with additional info.
7696
7697 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7698
7699         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
7700         (helper_find_suggest), (helper_find_get_length),
7701         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
7702         (gst_type_find_helper_for_buffer):
7703           Cleanup the typefindhelper code and add private doc comments.
7704
7705 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
7706
7707         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7708         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
7709         Fix capsfilter for cases where the caps set on capsfilter will provide
7710         additional information.
7711         Fixes #449197
7712
7713 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
7714
7715         * gst/gsttypefindfactory.c:
7716           Fix docs that recommened wrong function to use.
7717
7718 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7719
7720         * tools/gst-inspect.c: (print_plugin_features):
7721           Also give media-type for typefinders in element output.
7722
7723 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7724
7725         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
7726         (gst_registry_remove_features_for_plugin_unlocked),
7727         (gst_registry_add_feature), (gst_registry_remove_feature),
7728         (gst_registry_lookup_feature_locked):
7729         * gst/gstregistry.h:
7730           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
7731           Fixes #459501.
7732
7733 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
7734
7735         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
7736         (gst_plugin_feature_set_name):
7737           Avoid double memory usage for pluginfeature names. Fixes #459466.
7738
7739 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7740
7741         * gst/gstpad.h:
7742           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
7743           driving the pipeline may need to explicitly check for NOT_LINKED as
7744           well, since IS_FATAL doesn't cover that.
7745
7746 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
7747
7748         * docs/pwg/advanced-types.xml:
7749           Fix typo and duplicate entry in video formats list.
7750
7751 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
7752
7753         * libs/gst/controller/gstinterpolation.c:
7754         Also round to the nearest int when using cubic interpolation.
7755
7756 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
7757
7758         * libs/gst/controller/gstinterpolation.c:
7759         When linearly interpolating integer types, round to the nearest int
7760         by adding 0.5. Don't do it for float/double types.
7761         Fixes the failing controller test on my machine, which is somehow
7762         rounding differently than on the buildbots.
7763
7764 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7765
7766         * tools/gst-plot-timeline.py:
7767           Better log parsing (categories can have -). Adjust text vs. lines, so
7768           that they span the same y-range.        
7769
7770 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7771
7772         * docs/random/ensonic/audiobaseclasses.txt:
7773         * docs/random/ensonic/dynlink.txt:
7774         * docs/random/ensonic/profiling.txt:
7775           Save my thoughts.
7776
7777         * docs/random/moving-plugins:
7778           Add note to use g_assert type macros.
7779
7780 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
7781
7782         * configure.ac:
7783         * libs/gst/check/Makefile.am:
7784           Add libm check as we use in for plugins.
7785
7786 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
7787
7788         * gst/gstbin.c: (gst_bin_continue_func):
7789         Check that the state_cookie hasn't changed since the continue_func
7790         was scheduled. Avoids problems where the state changes back to
7791         something it shouldn't be because it was changed in the meantime.
7792
7793 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
7794
7795         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
7796         (gst_registry_binary_save_string),
7797         (gst_registry_binary_save_pad_template),
7798         (gst_registry_binary_save_feature),
7799         (gst_registry_binary_save_plugin),
7800         (gst_registry_binary_load_feature),
7801         (gst_registry_binary_load_plugin),
7802         (gst_registry_binary_read_cache):
7803           Fix memory leak. Be less verbose in the log.
7804
7805 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7806
7807         * tests/check/elements/.cvsignore:
7808         Add file to cvsignore as commanded.
7809
7810 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7811
7812         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
7813         (mq_dummypad_event), (run_output_order_test):
7814         Use a GStaticMutex to protect all cases where libcheck
7815         fail_if/fail_unless macros might be called from multiple threads
7816         simultaneously to avoid errors like:
7817           "check_pack.c:107: :-1081725400:Bad message type arg"
7818
7819 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7820
7821         * tests/check/pipelines/stress.c: (GST_START_TEST):
7822         Make sure we set the pipeline back to the NULL state before
7823         dropping our final reference.
7824
7825 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
7826
7827         * tests/check/elements/tee.c: (GST_START_TEST):
7828         Make the tee stress-test a little less stressful so it doesn't just
7829         time out on slow-machines, and remove a small race when it's starting 
7830         up by adding a get_state() call.
7831
7832 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
7833
7834         * gst/gst.c:
7835           Avoid reading registry twice on startup. Fixes #457322.
7836
7837 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7838
7839         * pkgconfig/gstreamer-check-uninstalled.pc.in:
7840         * pkgconfig/gstreamer-check.pc.in:
7841         Substitute the CFLAGS for libcheck into our .pc file too so that
7842         dependent modules will pick it up properly if libcheck is installed
7843         into some other prefix.
7844
7845 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
7846
7847         * configure.ac:
7848         Revert the pkg-config check for libcheck, since it pulls in the
7849         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
7850         a proper solution, either from the check project, or something else.
7851
7852 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
7853
7854         * configure.ac:
7855           Use pkg-config to locate check.
7856
7857 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
7858
7859         * gst/gsttaglist.c:
7860           Fix doc syntax.
7861
7862         * gst/gstutils.c:
7863         * gst/gstutils.h:
7864           Add deprecation guards.
7865
7866         * libs/gst/base/gstcollectpads.h:
7867           Don't document object (this is implicitly private).
7868
7869 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
7870
7871         * gst/gststructure.c: (gst_structure_parse_value):
7872           When deserialising foo=bar without a type cast, check if it's a
7873           boolean before falling back to a string type, otherwise things like
7874           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
7875           because the filtercaps end up having a signed=(string)true field,
7876           which causes problems later when intersection caps.
7877
7878         * tests/check/gst/gststructure.c: (GST_START_TEST):
7879           Add a unit test for this.
7880
7881 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
7882
7883         Reviewed by: Stefan Kost <ensonic@users.sf.net>
7884
7885         * libs/gst/controller/Makefile.am:
7886         * libs/gst/controller/gstcontroller.c:
7887         (gst_controlled_property_add_interpolation_control_source),
7888         (gst_controlled_property_new), (gst_controlled_property_free),
7889         (gst_controller_find_controlled_property),
7890         (gst_controller_new_valist), (gst_controller_new_list),
7891         (gst_controller_new), (gst_controller_remove_properties_valist),
7892         (gst_controller_remove_properties_list),
7893         (gst_controller_remove_properties),
7894         (gst_controller_set_property_disabled),
7895         (gst_controller_set_disabled), (gst_controller_set_control_source),
7896         (gst_controller_get_control_source), (gst_controller_get),
7897         (gst_controller_sync_values), (gst_controller_get_value_array),
7898         (_gst_controller_dispose), (gst_controller_get_type),
7899         (gst_controlled_property_set_interpolation_mode),
7900         (gst_controller_set), (gst_controller_set_from_list),
7901         (gst_controller_unset), (gst_controller_unset_all),
7902         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
7903         * libs/gst/controller/gstcontroller.h:
7904         * libs/gst/controller/gstcontrollerprivate.h:
7905         * libs/gst/controller/gstcontrolsource.c:
7906         (gst_control_source_class_init), (gst_control_source_init),
7907         (gst_control_source_get_value),
7908         (gst_control_source_get_value_array), (gst_control_source_bind):
7909         * libs/gst/controller/gstcontrolsource.h:
7910         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
7911         (gst_object_get_control_source):
7912         * libs/gst/controller/gstinterpolation.c:
7913         (gst_interpolation_control_source_find_control_point_node),
7914         (gst_interpolation_control_source_get_first_value),
7915         (_interpolate_none_get), (interpolate_none_get),
7916         (interpolate_none_get_boolean_value_array),
7917         (interpolate_none_get_enum_value_array),
7918         (interpolate_none_get_string_value_array),
7919         (_interpolate_trigger_get), (interpolate_trigger_get),
7920         (interpolate_trigger_get_boolean_value_array),
7921         (interpolate_trigger_get_enum_value_array),
7922         (interpolate_trigger_get_string_value_array):
7923         * libs/gst/controller/gstinterpolationcontrolsource.c:
7924         (gst_control_point_free), (gst_interpolation_control_source_reset),
7925         (gst_interpolation_control_source_new),
7926         (gst_interpolation_control_source_set_interpolation_mode),
7927         (gst_interpolation_control_source_bind),
7928         (gst_control_point_compare), (gst_control_point_find),
7929         (gst_interpolation_control_source_set_internal),
7930         (gst_interpolation_control_source_set),
7931         (gst_interpolation_control_source_set_from_list),
7932         (gst_interpolation_control_source_unset),
7933         (gst_interpolation_control_source_unset_all),
7934         (gst_interpolation_control_source_get_all),
7935         (gst_interpolation_control_source_get_count),
7936         (gst_interpolation_control_source_init),
7937         (gst_interpolation_control_source_finalize),
7938         (gst_interpolation_control_source_dispose),
7939         (gst_interpolation_control_source_class_init):
7940         * libs/gst/controller/gstinterpolationcontrolsource.h:
7941         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
7942         API: Refactor GstController into the core controller which can take
7943         a GstControlSource for providing actual values for timestamps.
7944         Implement a interpolation control source and use this for backward
7945         compatibility, deprecate a bunch of functions that are now handled
7946         by GstControlSource or GstInterpolationControlSource.
7947         Make it possible to disable the controller completely or only for
7948         specific properties. Fixes #450711.
7949         * docs/libs/gstreamer-libs-docs.sgml:
7950         * docs/libs/gstreamer-libs-sections.txt:
7951         * docs/libs/gstreamer-libs.types:
7952         Add new functions and classes to the docs.
7953         * tests/check/libs/controller.c: (GST_START_TEST),
7954         (gst_controller_suite):
7955         * tests/examples/controller/audio-example.c: (main):
7956         Port unit test and example to the new API and add some new
7957         unit tests.
7958
7959 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
7960
7961         Patch by: Mark Nauwelaerts <manauw at skynet be>
7962
7963         * plugins/elements/gstmultiqueue.c:
7964         (gst_multi_queue_get_internal_links), (apply_buffer),
7965         (single_queue_overrun_cb), (gst_single_queue_new):
7966         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
7967         the pipeline layout can be tracked correctly. Fixes #453732.
7968
7969 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
7970
7971         * docs/gst/Makefile.am:
7972         * docs/libs/Makefile.am:
7973         * docs/plugins/Makefile.am:
7974           Simplify --extra-dir as gtkdoc scans recursively.
7975
7976 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7977
7978         * tools/gst-launch.c: (main):
7979         When we got an error, there is no point in waiting for preroll when
7980         shutting down.
7981
7982 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
7983
7984         * plugins/elements/gsttee.c: (gst_tee_base_init),
7985         (gst_tee_request_new_pad), (gst_tee_release_pad),
7986         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
7987         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
7988         (gst_tee_chain):
7989         Be a lot smarter when deciding what srcpad to use for proxying
7990         the buffer_alloc. Also handle pad added/removed when doing so.
7991         Fixes #357959.
7992         Keep track of what pads we already pushed on in case we have pads
7993         added/removed while pushing. Fixes #374639 
7994
7995         * tests/check/Makefile.am:
7996         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
7997         (tee_suite):
7998         Added unit test for pad resync.
7999
8000 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8001
8002         * po/nl.po:
8003         * po/sv.po:
8004           Updated translations.
8005
8006 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8007
8008         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
8009
8010         * po/LINGUAS:
8011         * po/fi.po:
8012           Added new Finnish translation.
8013
8014 2007-06-28  Wim Taymans  <wim@fluendo.com>
8015
8016         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8017         (single_queue_overrun_cb):
8018         When figuring out when a queue is filled, use our internal time estimate
8019         based on segments, just like check_full does.
8020
8021 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8022
8023         * gst/gstminiobject.c: (gst_mini_object_get_type):
8024           Remove 3 do-nothing methods.
8025
8026 2007-06-27  Wim Taymans  <wim@fluendo.com>
8027
8028         Patch by: Tim Angus <tim at ngus dot net>
8029
8030         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8031         (gst_capsfilter_set_property):
8032         Take a reference instead of a copy when setting "caps".
8033         Fix documentation to clarify this behaviour. Fixes #449414.
8034
8035 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
8036
8037         * gst/gstindexfactory.c: (gst_index_factory_get_type):
8038         * gst/gstplugin.c: (gst_plugin_init):
8039         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
8040         * gst/gstquery.c: (gst_query_get_type):
8041         * gst/gstregistry.c: (gst_registry_init):
8042         * gst/gsturi.c: (gst_uri_handler_base_init):
8043           Remove empty instance_init() functions to save relocs and lessen the
8044           noise. Remove some of the function prototypes that are doubled by
8045           G_DEFINE_TYPE.
8046           
8047 2007-06-27  Wim Taymans  <wim@fluendo.com>
8048
8049         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
8050
8051         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
8052         Add peer and direction in the XML serialisation of ghostpads.
8053         Fixes #449226.
8054
8055 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8056
8057         * configure.ac:
8058           Preserve useful information, thanks Tim.
8059
8060 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
8061
8062         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8063         (gst_single_queue_flush), (apply_segment), (apply_buffer),
8064         (gst_single_queue_push_one), (gst_multi_queue_loop),
8065         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8066         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
8067         (compute_high_id), (gst_single_queue_new):
8068         * plugins/elements/gstmultiqueue.h:
8069         Take the multiqueue lock when updating the fill level so we don't get
8070         confused. 
8071
8072         After applying a buffer or event on the src pad segment, make sure to
8073         call gst_data_queue_limits_changed() to get the data queue to unblock
8074         and check the filled state again.
8075         
8076         Rework the not-linked pad handling so the logic is that not-linked 
8077         pads can push as fast as they like, but only so they never get 
8078         ahead of any linked pads.
8079
8080         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
8081         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
8082         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
8083
8084         Add a test to check that not-linked pads always stay behind
8085         linked pads.
8086
8087         Fixes: #430682
8088
8089 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
8090
8091         * docs/random/release:
8092           Some updates to the release procedure.
8093
8094 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
8095
8096         * gst/gstelementfactory.c: (__gst_element_details_clear):
8097           Microoptimization that saves stunning 80 bytes.
8098
8099 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
8100
8101         * docs/plugins/gstreamer-plugins.args:
8102         * docs/plugins/inspect/plugin-coreelements.xml:
8103         * docs/plugins/inspect/plugin-coreindexers.xml:
8104           Update docs with caps info.
8105
8106 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8107
8108         * po/it.po:
8109           Updated Italian translation.
8110
8111 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8112
8113         * ChangeLog:
8114         * po/vi.po:
8115           Update Vietnamese translations.
8116
8117 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8118
8119         * libs/gst/base/gstbasesink.c:
8120           Remove unused signal enum.
8121
8122 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8123
8124         * docs/gst/gstreamer-sections.txt:
8125         * gst/gstelement.c:
8126         * gst/gstutils.c: (gst_type_register_static_full):
8127         Beef up and include the docs for gst_type_register_static_full and
8128         gst_element_class_set_details_simple and add the API keyword
8129         in the ChangeLog.
8130
8131 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
8132
8133         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
8134         (update_time_level), (gst_single_queue_push_one),
8135         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
8136         (single_queue_overrun_cb), (single_queue_underrun_cb),
8137         (single_queue_check_full):
8138         Fix setting max-* properties after adding queues.
8139         Use IS_FILLED for checking visible items.
8140         Signal overrun if multiple queues overrun.
8141         Add extra debug output.
8142         Patch by: Wim Taymans <wim@fluendo.com>
8143
8144 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
8145
8146         * gst/gstelement.c: (gst_element_class_set_details_simple):
8147         * gst/gstelement.h:
8148         * gst/gstutils.c: (gst_type_register_static_full):
8149         * gst/gstutils.h:
8150         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
8151         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
8152         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
8153         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
8154         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
8155         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
8156         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
8157         * plugins/elements/gstidentity.c: (gst_identity_base_init):
8158         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
8159         * plugins/elements/gstqueue.c: (gst_queue_base_init),
8160         (apply_buffer), (gst_queue_chain):
8161         * plugins/elements/gsttee.c: (gst_tee_base_init):
8162         * plugins/elements/gsttypefindelement.c:
8163         (gst_type_find_element_base_init),
8164         (gst_type_find_element_class_init):
8165           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
8166           API: add gst_type_register_static_full
8167           API: add gst_element_class_set_details_simple
8168
8169 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
8170
8171         * docs/pwg/advanced-types.xml:
8172           Fix typo in iana.org URI.
8173
8174 2007-06-19  Andy Wingo  <wingo@pobox.com>
8175
8176         * tests/check/pipelines/simple-launch-lines.c
8177         (test_state_change_returns): Enable pull-mode tests now that
8178         basesink has been fixed.
8179
8180         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
8181         Changed from gst_base_sink_is_prerolled, reversing the sense of
8182         the return value. Returns FALSE also if the sink is in pull mode,
8183         in which case it needs no preroll.
8184         (gst_base_sink_query, gst_base_sink_change_state): Update for
8185         needs_preroll change.
8186         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
8187         chaining up, in which we return SUCCESS directly if we activated
8188         in pull mode instead of ASYNC. Involves countering an async_start
8189         message sent before chaining up; not sure if this is correct, in
8190         an ideal world we only send async-start when activating in push
8191         mode.
8192
8193         * tests/check/pipelines/simple-launch-lines.c
8194         (test_state_change_returns): New test, partially disabled until
8195         basesink is fixed.
8196
8197 2007-06-19  Wim Taymans  <wim@fluendo.com>
8198
8199         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8200         (gst_multi_queue_sink_event):
8201         Fix event leak.
8202
8203 2007-06-19  Wim Taymans  <wim@fluendo.com>
8204
8205         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8206         (gst_bin_change_state_func), (bin_push_state_continue),
8207         (bin_handle_async_start), (bin_handle_async_done),
8208         (gst_bin_handle_message_func):
8209         Move the common code for posting state-change messages into
8210         one function.
8211         Broadcast the state signal after we posted the messages.
8212         Mark the bin as busy when it's doing a state-change.
8213         Make sure async-start/done messages don't interfere with the bin's
8214         state when it's busy.
8215         After the state change, let the bin check which elements completed the
8216         state change while it was busy so that it can update its state.
8217
8218 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
8219
8220         * docs/random/release:
8221         Add a note about updating the doap file to the release checklist
8222
8223 2007-06-18  Wim Taymans  <wim@fluendo.com>
8224
8225         * plugins/elements/gstmultiqueue.c: (apply_buffer),
8226         (gst_single_queue_push_one), (gst_multi_queue_chain),
8227         (gst_multi_queue_sink_event):
8228         Make sure we don't reference the buffer/event after we have given away
8229         ownership in the queue.
8230
8231 2007-06-18  Wim Taymans  <wim@fluendo.com>
8232
8233         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8234         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
8235         Update queue state _after_ adding the item in the queue because else we
8236         could end up being full without the element added yet.
8237
8238 2007-06-18  Wim Taymans  <wim@fluendo.com>
8239
8240         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
8241         (gst_bin_remove_func), (gst_bin_get_state_func),
8242         (gst_bin_element_set_state), (gst_bin_continue_func),
8243         (bin_push_state_continue), (bin_handle_async_start),
8244         (bin_handle_async_done), (gst_bin_handle_message_func):
8245         * gst/gstbin.h:
8246         Immediatly commit the toplevel bin state when receiving an async-done
8247         message. This enables us to avoid spawning a thread to commit the state
8248         in some common cases and it also avoids some races.
8249         Avoid spawning a state thread when adding/removing async elements to a
8250         toplevel bin. Instead we immediatly update the bin state.
8251         Get rid of iterating all the children when getting the state in the bin
8252         because it is now always up-to-date.
8253         Fix bug where locked elements would always return _SUCCESS even it they
8254         returned NO_PREROLL before being locked.
8255         Fix the order of the state_change, async-start/done messages that was
8256         sometimes incorrect.
8257         Mark the state_dirty field as deprecated, we don't need it anymore as we
8258         are always up-to-date.
8259
8260         * gst/gstelement.c: (gst_element_get_state_func),
8261         (gst_element_continue_state):
8262         Small debug inprovements.
8263         Return the previous element state return when nothing is pending instead
8264         of blindly returning SUCCESS.
8265
8266         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
8267         (gst_sinks_suite):
8268         Add a whole bunch of new testcases.
8269
8270 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8271
8272         * po/uk.po:
8273         * po/vi.po:
8274           Update translations.
8275
8276 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
8277
8278         * gst/gstpad.c:
8279         Fix typo in the docs.
8280
8281 2007-06-15  Wim Taymans  <wim@fluendo.com>
8282
8283         * docs/libs/gstreamer-libs-sections.txt:
8284         Add docs for new methods.
8285
8286 2007-06-15  Wim Taymans  <wim@fluendo.com>
8287
8288         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
8289         (gst_multi_queue_item_new):
8290         Don't use GSlice because we don't depend on >= 2.10 yet.
8291
8292 2007-06-15  Wim Taymans  <wim@fluendo.com>
8293
8294         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
8295         (update_time_level), (apply_segment), (apply_buffer),
8296         (gst_single_queue_push_one), (gst_multi_queue_item_new),
8297         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
8298         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
8299         (single_queue_underrun_cb), (single_queue_check_full):
8300         Remove debug printf.
8301
8302 2007-06-15  Wim Taymans  <wim@fluendo.com>
8303
8304         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
8305         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
8306         (gst_data_queue_set_flushing), (gst_data_queue_push),
8307         (gst_data_queue_pop), (gst_data_queue_drop_head),
8308         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
8309         * libs/gst/base/gstdataqueue.h:
8310         Various cleanups.
8311         Added methods to get the current levels and to inform the queue that the
8312         'full' limits changed.
8313
8314         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
8315         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8316         (gst_single_queue_flush), (update_time_level), (apply_segment),
8317         (apply_buffer), (gst_single_queue_push_one),
8318         (gst_multi_queue_item_steal_object),
8319         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8320         (gst_multi_queue_loop), (gst_multi_queue_chain),
8321         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8322         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
8323         (gst_multi_queue_src_query), (single_queue_overrun_cb),
8324         (single_queue_underrun_cb), (single_queue_check_full),
8325         (gst_single_queue_new):
8326         Keep track of time in the queue by measuring the difference between
8327         running_time on input and output. This gives more accurate results and
8328         can compensate for segments correctly.
8329         Make a queue by default only 5 buffers deep. We will now increase the
8330         buffer size depending on the filledness of the other queues.
8331         Factor out commong flush code.
8332         Make sure we don't add additional refcounts to buffers when we can avoid
8333         it.
8334         Propagate GstFlowReturn differently.
8335         Use GSlice for intermediate GstMultiQueueItems.
8336         Keep track of EOS.
8337         Resize queues on over and underruns based on filled level of other
8338         queues.
8339         When checking if the queue is filled, prefer to measure in time if we
8340         can and fall back to bytes when no time is known.
8341
8342         * plugins/elements/gstqueue.c:
8343         Fix return value.
8344
8345 2007-06-15  Wim Taymans  <wim@fluendo.com>
8346
8347         * libs/gst/base/gstbasetransform.c:
8348         (gst_base_transform_sink_event):
8349         Work around the brokenness of the event vmethod in basetransform. Prefer
8350         to return TRUE when the subclass returned FALSE (meaning don't forward
8351         the event). 
8352
8353         * libs/gst/base/gstbasetransform.h:
8354         Clarify the docs.
8355
8356 2007-06-15  Wim Taymans  <wim@fluendo.com>
8357
8358         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
8359         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
8360         (gst_base_src_default_query), (gst_base_src_get_range),
8361         (gst_base_src_start):
8362         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
8363         Improve debugging.
8364
8365 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8366
8367         * docs/pwg/advanced-types.xml:
8368           Added more formats to caps table.
8369
8370 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
8371
8372         * tools/gst-launch.c: (main):
8373           Remove crufy code. GOption does not need this workaround.
8374
8375 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8376
8377         * libs/gst/controller/gstcontroller.c:
8378         (gst_controlled_property_set_interpolation_mode):
8379           Fix wrong getter for enums in controller.
8380
8381 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8382
8383         * libs/gst/check/gstcheck.c: (gst_check_init):
8384           Intercept criticals and warnings in the Gst-Phonon log domain, so
8385           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
8386           well.
8387         
8388 2007-06-14  Edward Hervey  <edward@fluendo.com>
8389
8390         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
8391         Since this file doesn't include "gst.h" it will not go through the
8392         macros that disable GST_LOG if debugging was disabled.
8393
8394 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8395
8396         * libs/gst/check/Makefile.am:
8397         * libs/gst/check/gstcheck.h:
8398         * pkgconfig/gstreamer-check-uninstalled.pc.in:
8399         * pkgconfig/gstreamer-check.pc.in:
8400           Ugly 'fix' for the controller unit test on the p5 bot: in
8401           fail_unless_equals_float() check whether the values are 'almost
8402           equal' by allowing a small absolute error, which should be good
8403           enough for our use cases (normal numbers and values close to 0).
8404           Proper fixage left to floating point arithmetic aficionados.
8405
8406 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8407
8408         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
8409         (gst_base_sink_render_object), (gst_base_sink_get_position):
8410           Add two breaks thats where missing.
8411
8412 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8413
8414         * docs/libs/gstreamer-libs-sections.txt:
8415         * libs/gst/check/gstcheck.h:
8416           API: add fail_unless_equals_float() and assert_equals_float().
8417           Add documentation for some of the macros.
8418
8419         * tests/check/libs/controller.c: (GST_START_TEST):
8420           Use newly-added asserts.
8421
8422 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
8423
8424         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
8425           Show the caps change in the log to help spotting the case of not
8426           exactly matching caps.
8427
8428 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
8429
8430         * docs/pwg/building-boiler.xml:
8431           Fix typos, spotted by Thijs Vermeir (#447190).
8432
8433 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8434
8435         * docs/plugins/tmpl/.cvsignore:
8436         Ignore file to keep the buildbots happy
8437
8438 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
8439
8440         * docs/plugins/Makefile.am:
8441         * docs/plugins/gstreamer-plugins-docs.sgml:
8442         * docs/plugins/gstreamer-plugins-sections.txt:
8443         Pull fdsink into the docs too.
8444
8445 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
8446
8447         * libs/gst/controller/gstinterpolation.c:
8448         Actually use the new functions with min/max checks for the trigger and
8449         none interpolation modes for get() and get_value_array() instead of
8450         just the latter.
8451
8452 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
8453
8454         * libs/gst/controller/gstcontroller.c:
8455         (gst_controlled_property_free):
8456         Unset the minimum and maximum GValues when freeing the corresponding
8457         GstControllerProperty struct.
8458
8459 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
8460
8461         * libs/gst/controller/gstcontroller.c:
8462         (gst_controlled_property_new):
8463         * libs/gst/controller/gstcontrollerprivate.h:
8464         * libs/gst/controller/gstinterpolation.c:
8465         (gst_controlled_property_find_control_point_node),
8466         (interpolate_none_get), (interpolate_none_get_enum_value_array),
8467         (interpolate_none_get_string_value_array),
8468         (interpolate_trigger_get),
8469         (interpolate_trigger_get_enum_value_array),
8470         (interpolate_trigger_get_string_value_array):
8471         Protect against values larger or smaller than the minimum or maximum
8472         allowed value for the property when using values that can be compared.
8473
8474         Optimize trigger interpolator a bit by taking the last requested value
8475         into account instead of always looping through the complete list.
8476
8477         Fix coding style a bit, everywhere else we use "return foo" instead
8478         of "return (foo)".
8479         
8480         * tests/check/libs/controller.c: (GST_START_TEST),
8481         (gst_controller_suite):
8482         Add unit test for the protection against too large or too small
8483         values.
8484
8485 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
8486
8487         * docs/random/slomo/controller.txt:
8488         Add some thoughts about the future of the controller.
8489
8490 2007-06-08  Wim Taymans  <wim@fluendo.com>
8491
8492         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8493         Don't overflow in retimestamping code.
8494
8495 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
8496
8497         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
8498         Use gst_util_guint64_to_gdouble for conversions.
8499         * win32/common/libgstreamer.def:
8500         Add new exported functions.
8501
8502 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
8503
8504         * gst/gstutils.c:
8505           Small docs addition.
8506
8507 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8508
8509         * README:
8510           Remove that test line again.
8511
8512 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8513
8514         * README:
8515           Test commit mail sending.
8516
8517 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8518
8519         * configure.ac:
8520           Fix typo and test commit mail sending.
8521
8522 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
8523
8524         * tests/examples/controller/audio-example.c:
8525           Improve comment and test commit mail sending.
8526
8527 2007-06-07  Wim Taymans  <wim@fluendo.com>
8528
8529         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
8530         (gst_bin_remove_func), (gst_bin_element_set_state),
8531         (bin_handle_async_start), (bin_handle_async_done),
8532         (gst_bin_handle_message_func):
8533         Add helper function to find messages.
8534         Generate the async-done messages together with the state change
8535         messages.
8536         Small cleanups in handling toplevel bins.
8537
8538 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8539
8540         * libs/gst/base/gstdataqueue.c:
8541         * libs/gst/base/gstdataqueue.h:
8542         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
8543         (gst_multi_queue_item_new), (gst_multi_queue_chain),
8544         (gst_multi_queue_sink_event):
8545         * tests/check/elements/multiqueue.c: (multiqueue_suite):
8546           Fix multiqueue leaking buffers and events when downstream or the
8547           queue are flushing. Make refcounting assumptions explicit and
8548           document them (shouldn't break existing code that uses it other than
8549           maybe leak miniobjects, but that already happens anyway). Add unit
8550           test for the most common flushing case. Fixes #423700.
8551           
8552 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8553
8554         * libs/gst/controller/gstcontroller.c:
8555         Clarify docs: The get_all, get_value_array(s) functions
8556         don't modify the GObject properties.
8557
8558 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
8559
8560         * libs/gst/controller/gstcontroller.c:
8561         (gst_controlled_property_set_interpolation_mode),
8562         (gst_controlled_property_prepend_default),
8563         (gst_controlled_property_new), (gst_controller_set_unlocked),
8564         (gst_controller_set), (gst_controller_set_from_list),
8565         (gst_controller_unset), (gst_controller_unset_all):
8566         * libs/gst/controller/gstcontrollerprivate.h:
8567         * libs/gst/controller/gstinterpolation.c:
8568         Factor out the 'set' logic into gst_controller_set_unlocked for the
8569         gst_controller_set and gst_controller_set_from_list functions.
8570
8571         To make life of the interpolators easier always add a control point
8572         at timestamp zero with the default value.
8573
8574         In the linear interpolator make things more obvious by better variable
8575         naming (slope).
8576
8577         Implement cubic interpolation mode (by using a natural cubic spline)
8578         and map the quadratic interpolation mode to this too (as quadratic
8579         doesn't make much sense, see discussion on the list).
8580
8581         * tests/check/libs/controller.c: (GST_START_TEST),
8582         (gst_controller_suite):
8583         Add unit test for the cubic interpolation mode and check everywhere
8584         if the interpolation mode could be set as expected.
8585
8586 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8587
8588         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
8589           Don't use GLib-2.10 functions, we still depend on
8590           GLib-how-old-is-it-again-2.8.
8591
8592 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * docs/gst/gstreamer-sections.txt:
8595         * gst/Makefile.am:
8596         * gst/gst.c:
8597         * gst/gst.h:
8598         * gst/gstparamspecs.c: (_gst_param_fraction_init),
8599         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
8600         (_gst_param_fraction_values_cmp),
8601         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
8602         * gst/gstparamspecs.h:
8603         * gst/gstvalue.c:
8604         * tests/check/Makefile.am:
8605         * tests/check/gst/.cvsignore:
8606         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
8607         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
8608         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
8609         (GST_START_TEST), (gst_param_spec_suite):
8610           API: add GstParamSpecFraction, so elements can have fraction
8611           properties without lots of painful string parsing (#444648).
8612
8613 2007-06-05  Wim Taymans  <wim@fluendo.com>
8614
8615         * gst/gstobject.c: (gst_object_class_init):
8616         Fix signal signature.
8617
8618         * gst/gstsegment.c:
8619         Add small clarification in the api docs.
8620
8621         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
8622         States are protected with object lock.
8623
8624 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8625
8626         * AUTHORS:
8627         I should probably be listed as an author by now.
8628
8629         * docs/random/release:
8630         Update the release doc
8631
8632 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
8633
8634         * gst/gstvalue.c:
8635           Make docs for gst_value_compare() mention return enums that
8636           actually exist.
8637
8638 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
8639
8640         * configure.ac:
8641           Back to CVS
8642
8643 === release 0.10.13 ===
8644
8645 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
8646
8647         * configure.ac:
8648           releasing 0.10.13, "With or without you"
8649
8650 2007-05-25  Wim Taymans  <wim@fluendo.com>
8651
8652         * gst/gstbin.c: (bin_handle_async_done):
8653         Make sure that the child bin stops after completing the async state
8654         change so that the parent can continue the state change to PLAYING.
8655         Fixes #441159.
8656
8657 2007-05-25  Wim Taymans  <wim@fluendo.com>
8658
8659         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8660         (unref_data), (gst_collect_pads_remove_pad),
8661         (gst_collect_pads_check_pads):
8662         Use additional refcounting to avoid crashes when dynamically adding and
8663         removing pads. Fixes #420206.
8664
8665 2007-05-24  Wim Taymans  <wim@fluendo.com>
8666
8667         * tools/gst-launch.c: (event_loop):
8668         When buffering goes from a two digit to a single digit number, make sure
8669         to remove the old second digit by writing a blank over it.
8670
8671 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8672
8673         * libs/gst/base/gstdataqueue.c:
8674           Eliminate tabs and trailing comma in enum list; fix some typos.
8675
8676 2007-05-24  Wim Taymans  <wim@fluendo.com>
8677
8678         * tests/check/gst/gstbin.c: (GST_START_TEST):
8679         Allow refcount of 3 and 4 because some state thread might still be busy
8680         with it.
8681
8682 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
8683
8684         * plugins/elements/Makefile.am:
8685         * plugins/elements/gstmultiqueue.h:
8686         * plugins/elements/gstqueue.h:
8687           These are not installed headers, no need for padding.
8688
8689 2007-05-24  Wim Taymans  <wim@fluendo.com>
8690
8691         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8692         (gst_bin_continue_func):
8693         Enable latency for next release.
8694         Restore STATE_LOCK around recalc_state that was left out during the
8695         rewrite and could result in racy behaviour when _get_state and
8696         recalc_state are run concurrently. See #440463.
8697
8698 2007-05-23  Wim Taymans  <wim@fluendo.com>
8699
8700         * tests/check/gst/gstsystemclock.c: (store_callback),
8701         (GST_START_TEST):
8702         Improve test_async_order to also work when both timers are already
8703         expired when we get scheduled to check it.
8704
8705 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8706
8707         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
8708         (gst_bin_set_property), (gst_bin_get_property),
8709         (gst_bin_remove_func), (gst_bin_handle_message_func):
8710         * gst/gstbin.h:
8711           'private' is a c++ keyword, let's not use that in header files,
8712           otherwise c++ compilers will throw a tantrum.
8713
8714 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8715
8716         * plugins/elements/gstelements.c:
8717         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
8718         (gst_file_sink_get_current_offset):
8719         * plugins/indexers/gstindexers.c: (plugin_init):
8720           Use #ifdef for HAVE_XYZ for consistency.
8721
8722         * tests/check/Makefile.am:
8723         * tests/check/elements/.cvsignore:
8724         * tests/check/elements/filesink.c: (setup_filesink),
8725         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
8726           Add some unit tests for filesink.
8727
8728 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
8729
8730         Patch by: Mark Nauwelaerts <manauw at skynet be>
8731
8732         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8733         (gst_file_sink_query), (gst_file_sink_do_seek),
8734         (gst_file_sink_get_current_offset), (gst_file_sink_render):
8735         * plugins/elements/gstfilesink.h:
8736           Fix position reporting; rename data_written member to current_pos to
8737           reflect its real meaning (fixes #412648).
8738
8739 2007-05-22  Edward Hervey  <edward@fluendo.com>
8740
8741         * docs/gst/gstreamer-sections.txt:
8742         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8743         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
8744         (gst_bin_remove_func), (gst_bin_handle_message_func):
8745         * gst/gstbin.h:
8746         Add a property for bins that handle the state change of their childs.
8747         Fixes #435880
8748
8749 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
8750
8751         * libs/gst/controller/gstinterpolation.c:
8752         Use an array of the correct type when using _get_value_array with
8753         linear interpolation.
8754
8755 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
8756
8757         * gst/gstelement.c (gst_element_requires_clock,
8758           gst_element_provides_clock, gst_element_request_pad,
8759           gst_element_class_set_details, gst_element_class_set_details_simple,
8760           gst_element_default_send_event, gst_element_abort_state,
8761           gst_element_continue_state, gst_element_set_state,
8762           gst_element_set_state_func, iterator_activate_fold_with_resync):
8763         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
8764           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
8765           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
8766           gst_pad_get_range, gst_pad_pull_range):
8767         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
8768           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
8769           GstPadActivateModeFunction, GstPadChainFunction,
8770           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
8771           GstPadFixateCapsFunction, GstPadTemplate):
8772         * gst/gstpipeline.c (gst_pipeline_change_state,
8773           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
8774           gst_pipeline_set_clock, gst_pipeline_auto_clock,
8775           gst_pipeline_get_delay):
8776           Whitespace and docs fixes.
8777
8778 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8779
8780         * libs/gst/controller/gstinterpolation.c:
8781         (interpolate_trigger_get_enum_value_array),
8782         (interpolate_trigger_get_string_value_array):
8783         Add support for retrieving value arrays when using the trigger
8784         interpolation mode. 
8785
8786 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8787
8788         * libs/gst/controller/gstcontroller.c:
8789         (gst_controller_get_value_array):
8790         * libs/gst/controller/gstcontroller.h:
8791         Clarify the docs of gst_controller_get_value_array(): The array where
8792         the values should be written to must be allocated as there seems to be
8793         no way to get the size of a random GType. This doesn't change any
8794         behaviour. Also fix some typos all over the place and remove an unused,
8795         commented function that is not necessary as g_object_set() could be
8796         used instead.
8797         * tests/check/libs/controller.c: (GST_START_TEST),
8798         (gst_controller_suite):
8799         Add unit test for gst_controller_get_value_array().
8800
8801 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
8802
8803         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8804
8805         Disable part of the gst_buffer_try_new_and_alloc test, because
8806         it can happily succeed on 64-bit systems where there's more address
8807         space available.
8808
8809 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
8810
8811         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
8812         Add unit test for the improved caps checking from bug #421543.
8813
8814 2007-05-21  Wim Taymans  <wim@fluendo.com>
8815
8816         * docs/design/part-synchronisation.txt:
8817         Small addition.
8818
8819         * gst/gstbin.c: (gst_bin_query):
8820         * plugins/elements/gstqueue.c: (apply_segment):
8821         Improve debugging.
8822
8823         * gst/gstmessage.h:
8824         Improve docs.
8825
8826 2007-05-21  Wim Taymans  <wim@fluendo.com>
8827
8828         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8829         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
8830         (gst_pad_configure_src):
8831         Added simple version of improved caps checking. It was previously
8832         assumed that a setcaps function would check the validity of the caps but
8833         people prefer us to check caps against the template automatically. 
8834         Fixes #421543.
8835
8836 2007-05-21  Wim Taymans  <wim@fluendo.com>
8837
8838         * libs/gst/base/gstbasetransform.h:
8839         Fix macro for locking/unlocking the transform lock.
8840
8841 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
8842
8843         * docs/plugins/tmpl/.cvsignore:
8844           Ignore more.
8845
8846 2007-05-18  Edward Hervey  <edward@fluendo.com>
8847
8848         * plugins/elements/gstqueue.c: (gst_queue_loop):
8849         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
8850         for the subtle art of warning a potentially blocking thread that it
8851         should check the source pad return value, and relay the information
8852         upstream.
8853
8854 2007-05-18  Edward Hervey  <edward@fluendo.com>
8855
8856         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
8857         Release the queue lock !
8858
8859 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8860
8861         * docs/libs/gstreamer-libs-sections.txt:
8862         Add the two new controller functions to the appropiate places.
8863
8864 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8865
8866         reviewed by: Stefan Kost <ensonic@users.sf.net>
8867
8868         * libs/gst/controller/gstcontroller.c:
8869         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
8870         (_gst_controller_get_property), (_gst_controller_set_property),
8871         (_gst_controller_init), (_gst_controller_class_init):
8872         * libs/gst/controller/gstcontroller.h:
8873         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
8874         (gst_object_get_control_rate), (gst_object_set_control_rate):
8875         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
8876         Add API that provides sync suggestion timestamps for elements that
8877         call gst_object_sync_values() from which those elements can subdivide
8878         their processing loop to get the best results for the controlled
8879         properties. For now it just suggests last_sync + control_rate as
8880         new timestamp but this will be improved in the future.
8881
8882         While doing that change the control-rate property to a GstClockTime
8883         from guint and change it's meaning from samples to nanoseconds as
8884         the GstController doesn't know anything about sampling rate. Strictly
8885         speaking this breaks ABI but as the control-rate property didn't do
8886         anything in the past and as such couldn't be used this should be no
8887         problem.        
8888
8889 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8890
8891         reviewed by: Stefan Kost <ensonic@users.sf.net>
8892
8893         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
8894         (gst_controller_unset_all):
8895         * libs/gst/controller/gstcontrollerprivate.h:
8896         * libs/gst/controller/gstinterpolation.c:
8897         (gst_controlled_property_find_control_point_node):
8898         Save last synced value from the list to continue searching from there
8899         in future syncs. This speeds everything up a bit.
8900         
8901 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
8902
8903         reviewed by: Stefan Kost <ensonic@users.sf.net>
8904
8905         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
8906         (gst_control_point_find), (gst_controlled_property_new),
8907         (gst_control_point_free), (gst_controlled_property_free),
8908         (gst_controller_set), (gst_controller_set_from_list),
8909         (gst_controller_unset), (gst_controller_unset_all),
8910         (gst_controller_sync_values):
8911         * libs/gst/controller/gstcontroller.h:
8912         * libs/gst/controller/gstcontrollerprivate.h:
8913         * libs/gst/controller/gstinterpolation.c:
8914         (gst_controlled_property_find_control_point_node),
8915         (interpolate_none_get), (interpolate_trigger_get):
8916         Add a new private GstControlPoint struct which "inherits" from
8917         GstTimedValue to allow different interpolators to store internal
8918         values next to each control point. From the outside everything is
8919         still a GstControlPoint so we don't loose binary compatibility.
8920         Also fixup all the GValue handling to not leak GValues or list nodes.
8921         * tests/check/libs/controller.c: (GST_START_TEST):
8922         Free the list nodes and GValues in the controller_misc test.
8923
8924 2007-05-17  Edward Hervey  <edward@fluendo.com>
8925
8926         * gst/gstsegment.c:
8927         Small doc fix.
8928
8929 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
8930
8931         * gst/gstplugin.c: (gst_plugin_load_file):
8932           If we fail to load a plugin because of unresolved symbols or missing
8933           libraries and spew a warning to stderr, we may just as well mention
8934           which plugin it was that failed to load.
8935
8936 2007-05-13  David Schleef  <ds@schleef.org>
8937
8938         * docs/Makefile.am: the gtk-doc makefile snippet correctly
8939           handles the case when ENABLE_GTK_DOC is false, and installs
8940           the prebuilt documentation.  So gtk-doc subdirs are 
8941           unconditionally enabled.  Fixes: #349099.
8942
8943 2007-05-13  David Schleef  <ds@schleef.org>
8944
8945         * gst/gstutils.h: Reword some documentation.
8946
8947 2007-05-12  David Schleef  <ds@schleef.org>
8948
8949         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
8950           do anything with the passed "module" parameter, so remove it.
8951           Allows removal of additional vestigal code.
8952
8953 2007-05-12  David Schleef  <ds@schleef.org>
8954
8955         * gst/gstplugin.c:
8956           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
8957           Switch to using g_stat() because it's more portable.
8958
8959 2007-05-12  David Schleef  <ds@schleef.org>
8960
8961         * gst/gst.c:
8962           Add GST_DISABLE_OPTION_PARSING, in order to disable option
8963           parsing for embedded systems.
8964         * gst/gstelementfactory.c:
8965           Allow gst_element_register() to be called with plugin==NULL.
8966           Did nobody notice that static elements were broken?
8967
8968 2007-05-12  Wim Taymans  <wim@fluendo.com>
8969
8970         * tools/gst-launch.c: (event_loop):
8971         Give more interesting info when buffering starts and stops.
8972         Fix case where buffering starts but we fail to update the buffering flag
8973         because the target state is not PLAYING.
8974
8975 2007-05-12  Wim Taymans  <wim@fluendo.com>
8976
8977         * plugins/elements/gstqueue.c: (gst_queue_init),
8978         (gst_queue_finalize), (update_time_level), (apply_segment),
8979         (apply_buffer), (gst_queue_locked_flush),
8980         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
8981         (gst_queue_handle_sink_event), (gst_queue_chain),
8982         (gst_queue_push_one), (gst_queue_loop):
8983         * plugins/elements/gstqueue.h:
8984         Refactor an cleanup queue a bit.
8985         Do better time level calculations that also work when the srcpad is not
8986         yet running.
8987         Remove some unneeded debug lines.
8988
8989         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
8990         Added testcase for time level measurement.
8991         Try to make some stuff more racefree.
8992
8993 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
8994
8995         * gst/gsturi.c: (gst_element_make_from_uri):
8996           Don't leak plugin feature.
8997
8998         * tests/check/Makefile.am:
8999         * tests/check/gst/.cvsignore:
9000         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
9001           Add brain-dead unit test.
9002
9003 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
9004
9005         Patch by: Jeroen Wouters <woutersj at gmail com>
9006
9007         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
9008           Treat protocol strings in a case-insensitive way (#437563).
9009
9010 2007-05-11  Michael Smith <msmith@fluendo.com>
9011
9012         * gst/gstplugin.c: (gst_plugin_load_file):
9013         * gst/gstregistry.c: (gst_registry_scan_path_level):
9014           Don't print a g_warning for any failure to load a shared object.
9015           Instead, push this down into gstplugin.c, and warn _only_ if we
9016           failed to open the module (i.e. failure to link).
9017           Avoids warnings on normal, working, non-plugin .so files.
9018
9019 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
9020
9021         * gst/gstplugin.c (gst_plugin_load_file):
9022         * gst/gstregistry.c (GST_CAT_DEFAULT,
9023           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
9024           Print a g_warning if there was an error when loading a plugins during
9025           registry scan. The shuld help beginners starting with gst-plugin
9026           template.
9027
9028 2007-05-10  Wim Taymans  <wim@fluendo.com>
9029
9030         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9031         (update_time_level), (gst_queue_locked_flush),
9032         (gst_queue_handle_sink_event), (gst_queue_chain),
9033         (gst_queue_push_one), (gst_queue_loop):
9034         * plugins/elements/gstqueue.h:
9035         Be smarter when calculating the current amount of data in the queue by
9036         measuring the difference between start and end timestamps (in running
9037         time) inside the queue. Fixes #432876.
9038         API: GstQueue::pushing to notify elements that we are pushing data again
9039         since the running signal is rather broken for this purpose.
9040
9041 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
9042
9043         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
9044           gst_queue_base_init, gst_queue_init):
9045           use GST_BOILERPLATE
9046
9047 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
9048
9049         * win32/common/libgstreamer.def:
9050         Add new exported functions.
9051         * win32/vs6/grammar.dsp:
9052         Use grammar pre-generated files.
9053
9054 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
9057
9058         * gst/Makefile.am:
9059         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
9060         * gst/gstparse.h:
9061         * gst/gstutils.c: (gst_parse_bin_from_description):
9062         * gst/gstutils.h:
9063           Maintain API and ABI when --disable-parse is used. Now that
9064           we have an appropriate error code, we can just return NULL and the
9065           appropriate error when gst_parse_launch() is used despite it having
9066           been disabled (#342564).
9067
9068         * tests/check/Makefile.am:
9069         * tests/check/pipelines/.cvsignore:
9070         * tests/check/pipelines/parse-disabled.c:
9071           Make sure these functions exist and return NULL plus a GError when
9072           --disable-parse is used.
9073
9074 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
9075
9076         * tests/benchmarks/complexity.c: (main):
9077         * tests/benchmarks/mass-elements.c: (main):
9078           Set a good example and don't leak messages.
9079
9080 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
9081
9082         * docs/gst/Makefile.am:
9083         * docs/libs/Makefile.am:
9084           Correct fixxrefs options.
9085
9086         * docs/plugins/Makefile.am:
9087         * docs/plugins/gstreamer-plugins-docs.sgml:
9088         * docs/plugins/gstreamer-plugins-sections.txt:
9089         * plugins/elements/Makefile.am:
9090         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
9091         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
9092           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
9093           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
9094           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
9095           _GstCapsFilterClass, trans_class):
9096         * plugins/elements/gstelements.c (name, rank, type, _elements):
9097         * plugins/elements/gstidentity.c
9098           (gst_identity_check_imperfect_timestamp,
9099           gst_identity_check_imperfect_offset):
9100           Document capsfilter and add doc-blurb to identity.
9101
9102 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
9103
9104         * libs/gst/controller/gstcontroller.c:
9105         (gst_controlled_property_set_interpolation_mode):
9106         * libs/gst/controller/gstinterpolation.c:
9107           Don't crash if someone tries to set an interpolation mode that
9108           is invalid or that isn't supported yet. Fixes #422295.
9109
9110         * tests/check/libs/controller.c: (GST_START_TEST),
9111         (gst_controller_suite):
9112           Add a test case for the above.
9113
9114 2007-05-03  Edward Hervey  <edward@fluendo.com>
9115
9116         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9117         Properly set the last_stop position on GstSegment. This will only happen
9118         if there is a buffer to push out.
9119
9120 2007-05-03  Wim Taymans  <wim@fluendo.com>
9121
9122         * libs/gst/base/gstbasetransform.c:
9123         (gst_base_transform_buffer_alloc):
9124         always_in_place does not mean that the sink and source caps are the
9125         same! Make sure we don't blindly proxy the buffer_alloc in this case.
9126
9127 2007-05-03  Wim Taymans  <wim@fluendo.com>
9128
9129         * docs/libs/gstreamer-libs-sections.txt:
9130         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
9131         (gst_base_src_default_query), (gst_base_src_get_range):
9132         * libs/gst/base/gstbasesrc.h:
9133         API: gst_base_src_query_latency(). Added method so that subclasses can
9134         easily get the latency values of the base source class.
9135
9136 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
9137
9138         * tools/gst-inspect.c (print_implementation_info):
9139         Remove 0.8 cruft.
9140
9141 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
9142
9143         * tools/Makefile.am:
9144         * tools/gst-launch.1.in:
9145           Don't create a customised man page based on the host architecture,
9146           describe the default registry path generically. That way the man
9147           page is the same for all architectures and packagers have one
9148           multilib issue less to deal with. Fixes #434926.
9149
9150 2007-05-02  Wim Taymans  <wim@fluendo.com>
9151
9152         * gst/gstpad.c:
9153         Fix documentation as spotted by rg on IRC. 
9154
9155 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
9156
9157         * gst/gstutils.c:
9158           Improve docs for gst_element_{link,unlink}.
9159
9160 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
9161
9162         * docs/design/part-events.txt:
9163         * docs/design/part-overview.txt:
9164         * gst/gstevent.c:
9165         * gst/gsturi.c:
9166         * gst/gsturi.h:
9167         * libs/gst/base/gstbasesink.c:
9168           Typo fixes; minor docs addition.
9169
9170 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9171
9172         * docs/gst/gstreamer-sections.txt:
9173         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
9174         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
9175         * gst/gsturi.h:
9176         API: Add gst_uri_protocol_is_supported(), which checks if a sink
9177         or src that supports a given URI protocol exists.
9178
9179 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9180
9181         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9182         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9183         Set the location to NULL if "file://" is set as URI. Otherwise
9184         some random previous URI would still be set if "file://" is
9185         set on an already used filesink/filesrc.
9186
9187 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
9188
9189         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
9190         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
9191         Special case the "file://" URI as as this is used by some
9192         applications to test with gst_element_make_from_uri if there's
9193         an element that supports the URI protocol.
9194         Also move the g_path_is_absolute() check for the location part
9195         of the URI to also check this for "file://localhost/bla" URIs.
9196
9197 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
9198
9199         * docs/gst/gstreamer-sections.txt:
9200         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
9201         * gst/gstbuffer.h:
9202         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9203         (gst_buffer_suite):
9204           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
9205
9206 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
9207
9208         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9209         (gst_registry_binary_load_pad_template),
9210         (gst_registry_binary_load_plugin),
9211         (gst_registry_binary_read_cache):
9212         * gst/gstregistrybinary.h:
9213           Implement no-mmap alternative for registry reading. Do code cleanups.
9214           Add more comments about avoiding strdups for all text data. Comments
9215           welcome.
9216
9217 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9218
9219         * gst/gstregistrybinary.h (GstBinaryPluginElement,
9220           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
9221           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
9222           Comment structs and reformat to fix the build (that stuff should go
9223           into a priv. header).
9224
9225 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
9226
9227         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
9228         (gst_registry_binary_load_feature):
9229         * gst/gstregistrybinary.h:
9230           Refactor so that we can implement multiple features. Add support for
9231           TypeFindFactory features.
9232
9233 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
9234
9235         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
9236
9237         * configure.ac:
9238           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
9239
9240 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
9241
9242         * gst/gstbin.c: (gst_bin_element_set_state),
9243         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
9244         (bin_handle_async_done), (gst_bin_handle_message_func):
9245           Fix build with --gst-disable-gst-debug
9246
9247 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
9248
9249         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
9250           Make sure streaming has finished before calling the ::stop() vfunc,
9251           since that vfunc might clear state which is being used in the
9252           streaming thread. This fixes a race that caused crashes in
9253           audioresample when shutting down a pipeline (#420106).
9254
9255 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9256
9257         * docs/gst/gstreamer-sections.txt:
9258           That was one byte missing.
9259
9260 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9261
9262         * configure.ac:
9263         * docs/gst/gstreamer-sections.txt:
9264         * gst/Makefile.am:
9265         * gst/gstconfig.h.in:
9266         * gst/gstobject.c: (gst_object_class_init),
9267         (gst_signal_object_class_init):
9268         * gst/gstobject.h:
9269           2nd attempt to have a xml-less build as a joined effort of #413123
9270           and #421480.
9271
9272 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
9273
9274         * docs/design/draft-tagreading.txt:
9275           Added open issues/thoughts to draft.
9276
9277 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9278
9279         * gst/parse/grammar.tab.pre.c:
9280         * gst/parse/grammar.tab.pre.h:
9281         * gst/parse/lex._gst_parse_yy.pre.c:
9282         Update the prebuild parser sources.
9283
9284 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9285
9286         * gst/parse/Makefile.am:
9287         And now fix the building of the flex sources. Now everything should
9288         work as expected.
9289
9290 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9291
9292         * gst/parse/Makefile.am:
9293         Now hopefully fix the build failures by setting proper rule
9294         dependencies and moving instead of copying.
9295
9296 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9297
9298         * tests/benchmarks/complexity.gnuplot:
9299         * tests/benchmarks/complexity.scm:
9300         * tests/benchmarks/mass-elements.gnuplot:
9301         * tests/benchmarks/mass-elements.scm:
9302           Total licensification.
9303
9304 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9305
9306         * gst/parse/Makefile.am:
9307           Fix the build by correcting the rule that gave wrong files to flex.
9308
9309 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
9310
9311         * tests/benchmarks/complexity.c:
9312         * tests/benchmarks/mass-elements.c:
9313           Change licence to LGPL as granted by Benjamin and Andy.
9314
9315 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
9316
9317         * gst/parse/Makefile.am:
9318         Add correct grammar.tab.h dependency if compiling without new enough
9319         flex. Fixes #431150.
9320
9321 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9322
9323         * gst/parse/Makefile.am:
9324         Fix typo and use outdated sources if the flex/bison sources are newer
9325         than the pregenerated ones but flex is too old. Print a warning in
9326         that case. This should fix the build on the build bot.
9327
9328 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
9329
9330         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
9331         * gst/parse/Makefile.am:
9332         * gst/parse/grammar.y:
9333         * gst/parse/parse.l:
9334         Make the parser reentrant and recursively callable. This requires flex
9335         >= 2.5.31, for older versions pregenerated sources are used as we
9336         can't bump the build dependency. Finally fixes #349180.
9337
9338         * gst/gstparse.c: (gst_parse_launch):
9339         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
9340         now anyway.
9341
9342         * docs/gst/Makefile.am:
9343         * docs/gst/Makefile.am:
9344         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
9345         (__gst_parse_strfree), (__gst_parse_link_new),
9346         (__gst_parse_link_free), (__gst_parse_chain_new),
9347         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
9348         (gst_parse_element_set), (gst_parse_free_link),
9349         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
9350         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
9351         (_gst_parse_launch):
9352         * gst/parse/grammar.tab.pre.h:
9353         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
9354         (yy_get_previous_state), (yy_try_NUL_trans), (input),
9355         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
9356         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
9357         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
9358         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
9359         (_gst_parse_yypop_buffer_state),
9360         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
9361         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
9362         (yy_fatal_error), (_gst_parse_yyget_extra),
9363         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
9364         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
9365         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
9366         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
9367         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
9368         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
9369         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
9370         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
9371         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
9372         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
9373         (_gst_parse_yyfree):
9374         If the installed flex version is too old use pre-generated parser
9375         sources. These pre-generated parser sources are always updated when
9376         the actual flex/bison sources change but require everybody who wants
9377         to change something in the parser to have flex >= 2.5.31 installed.
9378
9379 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
9380
9381         * common/m4/gst-gettext.m4:
9382         * gst/gst-i18n-lib.h:
9383           Make --disable-nls to work
9384
9385 2007-04-17  Wim Taymans  <wim@fluendo.com>
9386
9387         * gst/gstconfig.h.in:
9388         Revert previous change that broke the build.
9389
9390 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
9391
9392         * configure.ac:
9393         * gst/Makefile.am:
9394         * gst/gstconfig.h.in:
9395           Drop libxml2 dependency when building with 
9396           --enable-binary-registry --disable-loadsave
9397
9398 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
9399
9400         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
9401         (gst_registry_binary_read_cache):
9402         * gst/gstregistrybinary.h:
9403           Remove unnecessary <sys/mman.h> include which broke the win32 build
9404           with MingW; move includes from header file to .c file, even if the
9405           header file isn't installed; use g_strerror() where UTF-8 strings
9406           are expected, such as in GST_DEBUG messages.
9407
9408 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9409
9410         * docs/libs/gstreamer-libs-sections.txt:
9411         Remove bogus addition for API I didn't end up keeping.
9412
9413         * libs/gst/base/gstbasesrc.h:
9414         Mention Since: 0.10.13 in the documentation.
9415
9416         Add the API keyword to the previous ChangeLog entry.
9417
9418 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9419
9420         * docs/libs/gstreamer-libs-sections.txt:
9421         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9422         (gst_base_src_default_prepare_seek_segment),
9423         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
9424         * libs/gst/base/gstbasesrc.h:
9425         Allow basesrc derived classes to execute seeks in other formats
9426         by providing a prepare_seek_segment vmethod. Sub-classes can choose
9427         to prepare the GstSegment in any format that their perform_seek method
9428         will be able to understand. The default implementation provides the
9429         old behaviour of attempting to convert the seek offsets to the 
9430         configured native format.
9431
9432         API: basesrc::prepare_seek_segment vmethod.
9433
9434 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9435
9436         * gst/gstelement.c: (gst_element_get_state_func):
9437         Don't output the same debug statement twice.
9438
9439         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
9440         (gst_adapter_peek), (gst_adapter_take_buffer):
9441         Optimise the case where we have buffers at the head of the queue that
9442         can be joined quickly (because they're contiguous sub-buffers) by
9443         merging them together rather than copying data out into new memory.
9444
9445         * gst/parse/grammar.y:
9446         * tests/check/pipelines/parse-launch.c:
9447         Fix a leak in an error path for parse_launch, and add a check 
9448         for it to the testsuite.
9449
9450 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
9451
9452         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9453           Don't deadlock when releasing a pad - gst_pad_set_active may try
9454           and take the multiqueue lock too.
9455
9456 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * gst/gsterror.c: (_gst_core_errors_init):
9459         * gst/gsterror.h:
9460           API: add GST_CORE_ERROR_DISABLED (#392804).
9461
9462 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9463
9464         * docs/faq/gst-uninstalled:
9465           don't get empty paths on the PATH variables
9466         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
9467           Don't format for the uncommon terminal width of 84 characters.
9468
9469 2007-04-06  Wim Taymans  <wim@fluendo.com>
9470
9471         * gst/gstpipeline.c: (reset_stream_time),
9472         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
9473         Only try to select a different pipeline clock when we went back to
9474         PAUSED and not when we merely got flushed.
9475
9476 2007-04-05  Michael Smith  <msmith@fluendo.com>
9477
9478         * tools/gst-launch.1.in:
9479           fractions are better supported in gstreamer than ractions, so
9480           suggest using those.
9481
9482 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9483
9484         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
9485
9486         * po/LINGUAS:
9487         * po/da.po:
9488           Added Danish translation.
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         Fix leak caused when refusing newsegment after EOS.
9495
9496         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9497         (gst_fake_sink_init), (gst_fake_sink_set_property),
9498         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
9499         (gst_fake_sink_render), (gst_fake_sink_change_state):
9500         * plugins/elements/gstfakesink.h:
9501         Add num-buffers property to make the element generate EOS after a
9502         configurable amount of buffers.
9503         API: fakesink::num-buffers property.
9504
9505         * tests/check/elements/fakesink.c: (GST_START_TEST),
9506         (fakesink_suite):
9507         Fix GstBus leak in test.
9508         Test for fakesink num-buffers.
9509
9510 2007-04-05  Wim Taymans  <wim@fluendo.com>
9511
9512         * libs/gst/base/gstbasesink.c:
9513         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
9514         (gst_base_sink_change_state):
9515         Don't accept anything after an EOS, return UNEXPECTED instead.
9516
9517         * tests/check/elements/fakesink.c: (GST_START_TEST),
9518         (fakesink_suite):
9519         Unit test for new EOS behaviour.
9520
9521 2007-04-05  Wim Taymans  <wim@fluendo.com>
9522
9523         * gst/gstelement.c: (gst_element_get_request_pad):
9524         Make padtemplates also work when they don't contain %s or %d.
9525
9526 2007-04-05  Wim Taymans  <wim@fluendo.com>
9527
9528         * docs/gst/gstreamer-sections.txt:
9529         * gst/gstclock.c: (gst_clock_adjust_unlocked),
9530         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
9531         * gst/gstclock.h:
9532         Improve _adjust_unlocked() so that it overflows less.
9533         Add gst_clock_unadjust_unlocked to convert from external time to
9534         internal time based on calibration.
9535         Add some more debug.
9536         API: GstClock::gst_clock_unadjust_unlocked()
9537
9538 2007-04-03  Wim Taymans  <wim@fluendo.com>
9539
9540         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
9541
9542         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
9543         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
9544         when releasing sink pad. Fixes #425400.
9545
9546 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
9547
9548         * docs/random/ensonic/dynlink.txt:
9549           More work on proposal for new core api.
9550
9551         * docs/libs/gstreamer-libs-sections.txt:
9552         * libs/gst/base/gstbasetransform.h:
9553           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
9554           
9555         * libs/gst/controller/gstcontroller.c:
9556         (on_object_controlled_property_changed),
9557         (gst_controller_sync_values),
9558         (gst_controller_set_interpolation_mode):
9559         * libs/gst/controller/gstcontroller.h:
9560           Less verbose logging add docs for unimplemented parts and correctly
9561           return when using unavailable parts.
9562
9563 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9564
9565         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
9566         Move all the debug to the CLOCK category, and associate it with
9567         the clock object.
9568
9569 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
9570
9571         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
9572         Make take_buffer a bit quicker by removing redundant checks
9573         caused by calling gst_adapter_take.
9574
9575 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9576
9577         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
9578           Don't leak GCond.
9579
9580         * tests/check/Makefile.am:
9581         * tests/check/elements/.cvsignore:
9582         * tests/check/elements/multiqueue.c: (setup_multiqueue),
9583         (GST_START_TEST), (multiqueue_suite):
9584           Add some dead simple unit tests for the 'multiqueue' element
9585           (some bits don't work yet and are disabled for now).
9586
9587 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
9588
9589         * gst/gstelement.c: (gst_element_get_request_pad),
9590         (gst_element_class_get_request_pad_template):
9591           Make gst_element_get_request_pad() create request pads only for
9592           request pad templates and not for, say, sometimes pad templates.
9593
9594 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
9595
9596         * docs/design/draft-klass.txt:
9597           Add example that needs more thinking.
9598         
9599         * docs/design/draft-missing-plugins.txt:
9600           More thoughts about wrapper plugins.
9601         
9602         * docs/random/ensonic/embedded.txt:
9603         * docs/random/ensonic/profiling.txt:
9604           More design work.
9605
9606 2007-03-25  Wim Taymans  <wim@fluendo.com>
9607
9608         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
9609         (gst_base_src_loop):
9610         Only push the segment events in the PLAYING state for live sources.
9611
9612 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
9613
9614         * gst/gstpipeline.c: (gst_pipeline_change_state):
9615         Modify the clock distribution path in PAUSED->PLAYING so that we 
9616         never attempt to choose a new clock unless we're actually leaving
9617         the PAUSED state for the first time. This prevents choosing a
9618         different clock when the state_change gets called for a 2nd time due
9619         to some element doing an async state change.
9620
9621 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9622
9623         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
9624         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
9625         (gst_pad_chain_unchecked), (gst_pad_push):
9626         Revert last commit. This needs some more thoughts.
9627
9628 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
9629
9630         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
9631         (gst_pad_chain_unchecked), (gst_pad_push):
9632         Check in set_caps if the caps are compatible with the pad and remove
9633         two functions that are redundant now. Fixes #421543.
9634
9635 2007-03-22  Wim Taymans  <wim@fluendo.com>
9636
9637         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
9638         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
9639         Unref some more to make valgrind happy.
9640
9641 2007-03-22  Wim Taymans  <wim@fluendo.com>
9642
9643         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
9644         (gst_system_clock_id_wait_jitter),
9645         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9646         Fix anoying regression that survived a few releases. When adding an
9647         async entry while blocking on a sync entry, the sync entry will unblock
9648         but still be busy, so it should continue to wait instead of returning
9649         _BUSY to the app.
9650         Add some comments here and there.
9651
9652         * tests/check/gst/gstsystemclock.c: (mixed_thread),
9653         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
9654         Add testcase for this.
9655
9656 2007-03-22  Wim Taymans  <wim@fluendo.com>
9657
9658         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
9659         Handle errors from the clock sync better, only UNSCHEDULED indicates a
9660         WRONG_STATE and can silently pause the task. All other cases should
9661         error out.
9662
9663 2007-03-22  Wim Taymans  <wim@fluendo.com>
9664
9665         Patch by: Ville Syrjala <syrjala at sci dot fi>
9666
9667         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
9668         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
9669         Improve debugging.
9670
9671 2007-03-21  Michael Smith  <msmith@fluendo.com>
9672
9673         * docs/pwg/advanced-types.xml:
9674           Fix some errors in the typefinding docs pointed out on irc.
9675
9676 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
9677
9678         * libs/gst/base/gstbasesrc.c:
9679         Clarify FIXME comment in the face of having added unlock_stop()
9680
9681 2007-03-21  Wim Taymans  <wim@fluendo.com>
9682
9683         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
9684         Prepare for release where we warn against possible app breakage in the
9685         case of live pipelines along with an env var to enable/disable live
9686         preroll mode (GST_COMPAT=[no-]live-preroll).
9687
9688 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9689
9690         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
9691         So we should use correct constants for checking for None offset.
9692
9693 2007-03-20  Wim Taymans  <wim@fluendo.com>
9694
9695         * docs/design/part-block.txt:
9696         Mention the fact that the newly switched element should be set to at
9697         least PAUSED.
9698
9699 2007-03-20  Wim Taymans  <wim@fluendo.com>
9700
9701         * gst/gst.c:
9702         Fix compilation with registry disabled as spotted by Saur.
9703
9704 2007-03-20  Wim Taymans  <wim@fluendo.com>
9705
9706         Patch by: Olivier Crete <tester at tester dot ca>
9707
9708         * gst/gstelement.c: (gst_element_sync_state_with_parent):
9709         Look at the pending state too when syncing the element state to the
9710         parent. Fixes #420133.
9711
9712 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
9713
9714         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9715         (gst_base_sink_change_state):
9716         * libs/gst/base/gstbasesink.h:
9717         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9718         (gst_base_src_default_event), (gst_base_src_unlock_stop),
9719         (gst_base_src_deactivate):
9720         * libs/gst/base/gstbasesrc.h:
9721         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
9722         for sub-classes to correctly clear any state they set trying to
9723         unlock, such as clearing out unlock commands from a command fd.
9724         API: basesrc::unlock_stop
9725         API: basesink::unlock_stop
9726
9727         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
9728         (gst_fd_sink_render), (gst_fd_sink_unlock),
9729         (gst_fd_sink_unlock_stop):
9730         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
9731         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
9732         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
9733
9734         Implement unlock_stop in fdsrc and fdsink.
9735         Implement seeking in fdsrc when a seekable fd is passed, as in
9736         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
9737
9738 2007-03-19  Wim Taymans  <wim@fluendo.com>
9739
9740         Patch by: Evan Nemerson <evan at coeus dash group dot com>
9741
9742         * gst/gstelement.c: (gst_element_class_init):
9743         Fix pad-added and pad-removed signal signatures so that the pad type is
9744         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
9745
9746 2007-03-19  Wim Taymans  <wim@fluendo.com>
9747
9748         * docs/gst/gstreamer-sections.txt:
9749         Add new element field and method.
9750
9751         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9752         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
9753         (gst_bin_recalc_state), (gst_bin_get_state_func),
9754         (gst_bin_element_set_state), (gst_bin_change_state_func),
9755         (gst_bin_continue_func), (bin_bus_handler),
9756         (bin_push_state_continue), (bin_handle_async_start),
9757         (bin_handle_async_done), (gst_bin_handle_message_func):
9758         Make async state changes a bit smarter by using new ASYNC_START and
9759         ASYNC_DONE messages. This reduces the number of times we run the state
9760         recalculation thread.
9761         Don't change state of element with a pending ASYNC_START message.
9762         Deprecate STATE_DIRTY messages.
9763         
9764         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
9765         (gst_element_get_state_func), (gst_element_continue_state),
9766         (gst_element_lost_state), (gst_element_set_state_func),
9767         (gst_element_change_state):
9768         * gst/gstelement.h:
9769         Keep the state that was last set by the app in a new element field.
9770         Don't allow state changes when handling an element event.
9771         Post ASYNC_START and ASYNC_DONE messages.
9772         Change lost_state so that we go to PAUSED and wait for the parent to set
9773         us to PLAYING again (so latency calculation can be performed)
9774         Export gst_element_change_state() method so that subclasses can use it.
9775         API: gst_element_change_state()
9776         API: GST_STATE_TARGET
9777
9778         * gst/gstpipeline.c: (gst_pipeline_class_init),
9779         (reset_stream_time), (gst_pipeline_change_state),
9780         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
9781         Using the new ASYNC_START message we can reset the base_time when
9782         needed. This can then be used to implement base_time redistribution in
9783         flushing seeks so that we can remove the explicit seek handling.
9784         Perform latency query and configuration when going to PLAYING.
9785
9786         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9787         (gst_base_sink_query), (gst_base_sink_change_state):
9788         Post new ASYNC_START/ASYNC_DONE messages.
9789
9790         * tests/check/generic/sinks.c: (GST_START_TEST):
9791         Fix test because the bin will not set the async element to PLAYING right
9792         away.
9793
9794         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
9795         Make the message check a little stronger.
9796         Handle ASYNC messages.
9797
9798         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
9799         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
9800         Expect ASYNC_DONE messages.
9801
9802 2007-03-19  Wim Taymans  <wim@fluendo.com>
9803
9804         * docs/gst/gstreamer-sections.txt:
9805         * gst/gstmessage.c: (gst_message_new_async_start),
9806         (gst_message_new_async_done), (gst_message_parse_info),
9807         (gst_message_parse_async_start):
9808         * gst/gstmessage.h:
9809         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
9810         support.
9811
9812 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
9813
9814         * tools/gst-inspect.c:
9815         (print_plugin_automatic_install_info_codecs):
9816           Now that we don't check for the 'Codec' keyword any longer in the
9817           klass, we shouldn't spew a warning if the klass isn't a decoder or
9818           encoder (since it might be a Source/Network, for example).
9819
9820 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
9821
9822         * tools/gst-inspect.c:
9823         (print_plugin_automatic_install_info_codecs):
9824           Don't require decoder/demuxer/depayloader elements or
9825           encoder/muxer/paylader elements to have 'Codec' as part of their
9826           factory class string when introspecting a plugin's capabilities.
9827           draft-klass.txt mentions that it might be removed in future, and
9828           flump3dec doesn't have it as part of its class string, so chances
9829           are others might also not have it.
9830
9831 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9832
9833         * po/af.po:
9834         * po/az.po:
9835         * po/bg.po:
9836         * po/ca.po:
9837         * po/cs.po:
9838         * po/de.po:
9839         * po/en_GB.po:
9840         * po/fr.po:
9841         * po/it.po:
9842         * po/nb.po:
9843         * po/nl.po:
9844         * po/ru.po:
9845         * po/sq.po:
9846         * po/sr.po:
9847         * po/sv.po:
9848         * po/tr.po:
9849         * po/uk.po:
9850         * po/vi.po:
9851         * po/zh_CN.po:
9852         * po/zh_TW.po:
9853           Update translations from translation project
9854
9855 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
9856
9857         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
9858         (gst_child_proxy_set_property):
9859           Invert precondition check to be alike the ones in the mimiced gobject
9860           api.
9861
9862 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
9863
9864         * docs/design/draft-tagreading.txt:
9865         * docs/random/ensonic/audiobaseclasses.txt:
9866           Do some Architect work.
9867
9868         * gst/gstobject.c: (gst_object_set_name):
9869           Add a WARNING.
9870
9871         * gst/gstpad.c:
9872           Add docs that point from gst_pad_get_range to gst_pad_pull_range
9873
9874 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
9875
9876         * gst/gstsystemclock.c: (gst_system_clock_init),
9877         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
9878         Defer starting the async system clock thread until the first async
9879         wait is scheduled. Fixes #414986.
9880
9881 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
9882
9883         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
9884         (gst_single_queue_free):
9885           Fix small leak (free GstSingleQueue structure too, not only contents).
9886
9887 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
9888
9889         * gst/gstbin.c:(gst_bin_add):
9890         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
9891         * win32/common/libgstbase.def:
9892         * win32/common/libgstreamer.def:
9893         Add new exported functions.
9894
9895 2007-03-09  Wim Taymans  <wim@fluendo.com>
9896
9897         * docs/plugins/gstreamer-plugins-sections.txt:
9898         Fix GstTee docs.
9899
9900 2007-03-09  Wim Taymans  <wim@fluendo.com>
9901
9902         * docs/gst/gstreamer-sections.txt:
9903         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
9904         * gst/gstbuffer.h:
9905         Add metadata copy functions. Fixes #393099.
9906         API: gst_buffer_copy_metadata()
9907
9908         * gst/gstutils.c: (gst_buffer_stamp):
9909         * libs/gst/base/gstbasetransform.c:
9910         (gst_base_transform_prepare_output_buffer):
9911         Use new metadata copy functions.
9912
9913 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9914
9915         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9916         (gst_identity_init), (gst_identity_check_perfect),
9917         (gst_identity_check_imperfect_timestamp),
9918         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
9919         (gst_identity_set_property), (gst_identity_get_property):
9920         * plugins/elements/gstidentity.h:
9921         Separate out check-imperfect-timestamp and check-imperfect-offset.
9922         Put back check-perfect as it was to keep compatibility.
9923
9924 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
9925
9926         * gst/gstelement.c: (gst_element_dispose):
9927         There's no need to warn if VOID_PENDING is not NONE here, as
9928         long as the state is NULL it's ok, and that's checked immediately
9929         above.
9930
9931 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9932
9933         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9934         Fix check for perfect stream to ignore buffers with -1 
9935         offsets/offset ends when checking data contiguity.
9936
9937 2007-03-08  Wim Taymans  <wim@fluendo.com>
9938
9939         * tools/gst-launch.c: (event_loop):
9940         Print INFO messages.
9941
9942 2007-03-08  Wim Taymans  <wim@fluendo.com>
9943
9944         * libs/gst/base/gstbasetransform.c:
9945         (gst_base_transform_sink_eventfunc),
9946         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
9947         (gst_base_transform_activate):
9948         * libs/gst/base/gstbasetransform.h:
9949         Add support for dropping buffers with custom GstFlowReturn.
9950         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
9951         buffers or dropped buffers.
9952
9953         * docs/libs/gstreamer-libs-sections.txt:
9954         docs for new custom return code.
9955
9956         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9957         Use drop support in base class to implement drop-probability.
9958
9959 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
9960
9961         * gst/gst.c: (load_plugin_func):
9962         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
9963         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9964         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9965           Remove newlines at end of debug log strings.
9966
9967 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9968
9969         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9970         Only post bus message at max, once per buffer received.
9971
9972 2007-03-07  Wim Taymans  <wim@fluendo.com>
9973
9974         * docs/design/Makefile.am:
9975         * docs/design/part-synchronisation.txt:
9976         Add doc about synchronisation
9977
9978         * docs/design/draft-latency.txt:
9979         * docs/design/part-TODO.txt:
9980         * docs/design/part-clocks.txt:
9981         * docs/design/part-events.txt:
9982         * docs/design/part-gstbus.txt:
9983         * docs/design/part-gstpipeline.txt:
9984         * docs/design/part-live-source.txt:
9985         * docs/design/part-messages.txt:
9986         * docs/design/part-overview.txt:
9987         * docs/design/part-streams.txt:
9988         * docs/design/part-trickmodes.txt:
9989         Documentation updates.
9990
9991 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
9992
9993         * gstreamer.doap:
9994         Update the doap file.
9995
9996 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9997
9998         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9999         Rename non-perfect to imperfect for Mike and for the sanctity of the
10000         language.
10001         Also make sure bus message gets emitted for data-incontiguities.
10002
10003 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10004
10005         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
10006         (gst_identity_start):
10007         * plugins/elements/gstidentity.h:
10008         Emit bus message if check-perfect is true and we encounter a
10009         non-perfect stream between 2 consecutive buffers.
10010         Fixes #415394.
10011
10012 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
10013
10014         * configure.ac:
10015         Back to CVS
10016
10017 === release 0.10.12 ===
10018
10019 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
10020
10021         * configure.ac:
10022           releasing 0.10.12, "Inevitable Demise"
10023
10024 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
10025
10026         * configure.ac:
10027          Version 0.10.11.2 (0.10.12 pre-release)
10028          Bump libtool versioning.
10029
10030 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
10031
10032         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10033           Log flow-names and not numbers.
10034
10035 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10036
10037         * configure.ac:
10038           Convert to new AG_GST style.
10039
10040 2007-02-28  Wim Taymans  <wim@fluendo.com>
10041
10042         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
10043         Don't unref query twice.
10044
10045 2007-02-28  Wim Taymans  <wim@fluendo.com>
10046
10047         * gst/gstvalue.c: (gst_value_transform_object_string),
10048         (_gst_value_initialize):
10049         Implement GstObject -> string transform so we print object names
10050         when serializing GValues containing GstObjects.
10051
10052 2007-02-28  Wim Taymans  <wim@fluendo.com>
10053
10054         * docs/gst/gstreamer-sections.txt:
10055         Add new stuff to docs.
10056
10057 2007-02-28  Wim Taymans  <wim@fluendo.com>
10058
10059         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
10060         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
10061         (gst_base_sink_change_state):
10062         Improve latency query code.
10063         Don't leak latency events.
10064
10065         * tests/check/gst/gstbin.c: (GST_START_TEST):
10066         Improve debugging.
10067
10068 2007-02-28  Wim Taymans  <wim@fluendo.com>
10069
10070         * gst/gstelement.c: (gst_element_message_full),
10071         (gst_element_get_state_func):
10072         * gst/gstelement.h:
10073         Improve docs a little. Added Since: for new macro.
10074
10075         * gst/gstobject.c: (gst_object_sink):
10076         * gst/gstpipeline.c: (gst_pipeline_change_state),
10077         (gst_pipeline_set_new_stream_time):
10078         * gst/gstpipeline.h:
10079         Improve debugging and docs.
10080
10081         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10082         Improve debugging.
10083
10084 2007-02-28  Wim Taymans  <wim@fluendo.com>
10085
10086         * gst/gstelement.c: (gst_element_message_full),
10087         (gst_element_set_locked_state), (gst_element_get_state_func),
10088         (gst_element_change_state):
10089         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
10090         Documentation updates.
10091         Small code cleanups.
10092
10093         * gst/gstmessage.c: (gst_message_new_info),
10094         (gst_message_parse_info):
10095         * gst/gstmessage.h:
10096         API: gst_message_new_info()
10097         API: gst_message_parse_info()
10098         Add INFO message create and parse code.
10099
10100 2007-02-28  Wim Taymans  <wim@fluendo.com>
10101
10102         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
10103         (bin_query_latency_done):
10104         Also report the live parameter of a latency query.
10105
10106 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10107
10108         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
10109           Copy the current generic/states example from -base and adapt so
10110           we can use the exact same code everywhere.
10111           Check a STATES_IGNORE_ELEMENTS env var which can be used
10112           to ignore certain element factories for this test, which is
10113           what is being done in -base
10114         * tests/check/Makefile.am:
10115           Mention this environment variable.
10116
10117 2007-02-27  Wim Taymans  <wim@fluendo.com>
10118
10119         * docs/gst/gstreamer-sections.txt:
10120         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
10121         (gst_bus_timed_pop), (gst_bus_pop):
10122         * gst/gstbus.h:
10123         API: gst_bus_timed_pop()
10124         Implement gst_bus_timed_pop() to do a blocking timed wait for a
10125         message to arrive on the bus.
10126
10127         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
10128         (gst_bus_suite):
10129         Two unit tests for new _timed_pop() function.
10130
10131 2007-02-23  Wim Taymans  <wim@fluendo.com>
10132
10133         * gst/gstpipeline.c: (gst_pipeline_change_state),
10134         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
10135         Don't ref a NULL clock in _provide_clock_func().
10136         Don't allow an INVALID delay.
10137         Don't try to calculate base_time with an invalid start_time.
10138         Also distribute and notify a NULL clock when it was selected.
10139
10140         * tools/gst-launch.c: (event_loop):
10141         Don't crash when a NULL clock was selected in the pipeline.
10142
10143 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
10144
10145         * docs/design/Makefile.am:
10146         * docs/design/draft-missing-plugins.txt:
10147         * docs/random/draft-missing-plugins.txt:
10148           Some small updates: update plugin system identifier prefix
10149           ('gstreamer.net' to 'gstreamer'), mention our new install
10150           API in libgstbaseutils rather than libgimme-codec, add
10151           reference to the online docs.
10152
10153 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10154
10155         * win32/common/config.h:
10156           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
10157           use moap cl ci to only check in what is mentioned in the ChangeLog.
10158
10159 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10160
10161         * docs/gst/gstreamer-sections.txt:
10162         * gst/gstelement.h:
10163           Fix up documentation to link to the correct GstGError section.
10164           Add GST_ELEMENT_INFO macro since someone else added a Info message.
10165
10166 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
10167
10168         * tools/gst-launch.c: (event_loop):
10169           Make sure that we actually show the important message part of a
10170           warning message.
10171           No need to check if the gerror is not NULL to free; first of all
10172           g_free accepts NULL; and second the default error handler would
10173           segfault if gerror was NULL.
10174
10175 2007-02-21  Wim Taymans  <wim@fluendo.com>
10176
10177         * docs/gst/gstreamer-sections.txt:
10178         Removed docs as well.
10179
10180 2007-02-21  Wim Taymans  <wim@fluendo.com>
10181
10182         * gst/gstmessage.c: (gst_message_parse_duration):
10183         * gst/gstmessage.h:
10184         Remove new messages for release.
10185
10186 2007-02-20  Wim Taymans  <wim@fluendo.com>
10187
10188         * docs/design/part-gstghostpad.txt:
10189         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
10190         (gst_ghost_pad_new_full):
10191         Make the ghostpad a parent of the internal pad again for better backward
10192         compatibility. Don't write code that relies on this however.
10193
10194         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10195         (gst_pad_link_check_hierarchy):
10196         Require that parents should be GstElements in the hierarchy check.
10197
10198 2007-02-20  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
10201         (gst_bin_change_state_func), (bin_query_min_max_init),
10202         (bin_query_latency_fold), (bin_query_latency_done),
10203         (gst_bin_query):
10204         Improve debug info.
10205         Implement latency query.
10206
10207 2007-02-20  Wim Taymans  <wim@fluendo.com>
10208
10209         * docs/design/part-gstghostpad.txt:
10210         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
10211         (gst_ghost_pad_internal_do_activate_push),
10212         (gst_ghost_pad_internal_do_activate_pull),
10213         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10214         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
10215         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
10216         Do not set the internal pad as a parent anymore so we can avoid
10217         hierarchy linking errors when the ghostpad has no parent yet. This also
10218         fixes failed activation because of unlinked internal pads, which in
10219         turn fixes the impossible case where you have to activate a pad before
10220         you can add it to a running element.
10221         Also fix the docs.
10222
10223         * gst/gstpad.c: (pre_activate), (post_activate),
10224         (gst_pad_set_active), (gst_pad_activate_pull),
10225         (gst_pad_activate_push), (gst_pad_check_pull_range):
10226         Add some more debug info.
10227         Mark activation mode in pre_activate so that we don't try to activate in
10228         endless loops. Fixes #385084.
10229
10230 2007-02-19  Wim Taymans  <wim@fluendo.com>
10231
10232         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
10233         (gst_base_transform_check_get_range):
10234         Implement a checkgetrange function instead of relying on the default
10235         core behaviour that assumes we can operate in pull mode if we have a
10236         getrange function. First step at fixing #385084.
10237
10238 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
10239
10240         * gst/gstchildproxy.h:
10241         * libs/gst/base/gstbasesink.h:
10242         * libs/gst/base/gstbasesrc.h:
10243         * libs/gst/base/gstbasetransform.h:
10244         More docs coverage and some ChangeLog surgery (add missing names)
10245
10246 2007-02-15  Wim Taymans  <wim@fluendo.com>
10247
10248         * docs/design/part-TODO.txt:
10249         * docs/design/part-activation.txt:
10250         * docs/design/part-block.txt:
10251         * docs/design/part-buffering.txt:
10252         * docs/design/part-clocks.txt:
10253         * docs/design/part-element-source.txt:
10254         * docs/design/part-events.txt:
10255         * docs/design/part-gstbin.txt:
10256         * docs/design/part-gstbus.txt:
10257         * docs/design/part-gstpipeline.txt:
10258         * docs/design/part-live-source.txt:
10259         * docs/design/part-messages.txt:
10260         * docs/design/part-overview.txt:
10261         * docs/design/part-qos.txt:
10262         * docs/design/part-query.txt:
10263         * docs/design/part-states.txt:
10264         * docs/design/part-trickmodes.txt:
10265         Some doc updates. Start renaming from stream_time to running_time where
10266         it was used wrongly.
10267
10268 2007-02-15  Wim Taymans  <wim@fluendo.com>
10269
10270         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10271         Answer LATENCY query.
10272
10273 2007-02-15  Wim Taymans  <wim@fluendo.com>
10274
10275         * tests/check/gst/gstevent.c: (event_probe), (test_event),
10276         (GST_START_TEST):
10277         Improve debugging.
10278
10279 2007-02-15  Wim Taymans  <wim@fluendo.com>
10280
10281         * gst/gstpad.c: (gst_pad_get_internal_links_default),
10282         (gst_pad_dispatcher):
10283         Improve debugging of default pad dispatcher and query functions.
10284
10285 2007-02-15  Wim Taymans  <wim@fluendo.com>
10286
10287         * docs/gst/gstreamer-sections.txt:
10288         Remove old unused method.
10289
10290 2007-02-13  Wim Taymans  <wim@fluendo.com>
10291
10292         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10293         Fix check
10294
10295 2007-02-13  Wim Taymans  <wim@fluendo.com>
10296
10297         * docs/design/part-seeking.txt:
10298         Some small update.
10299
10300         * gst/gstsegment.c: (gst_segment_set_seek):
10301         Revert old bogus change that should make seeking work again.
10302
10303 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10304
10305         * docs/random/ensonic/dynlink.txt:
10306         * docs/random/ensonic/interfaces.txt:
10307         * docs/random/ensonic/receipies.txt:
10308           Possible dynamic reconnection api, plus some type fixes the other two
10309           docs.
10310
10311 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
10312
10313         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10314         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10315         Also check for an absolute path following file:// in the filesrc
10316         element. Remove redundant check and call g_path_is_absolute() on the
10317         unescaped location.
10318
10319 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
10320
10321         * docs/design/draft-klass.txt:
10322           Add existing category analysis.
10323           
10324         * gst/gstcaps.c:
10325           Fix doc example, framerate is a fraction.
10326
10327 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10328
10329         * configure.ac:
10330         * docs/gst/Makefile.am:
10331         * docs/gst/gstreamer-sections.txt:
10332         * docs/libs/Makefile.am:
10333           Erm, forgot a bunch of --extra-dir.
10334
10335 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
10336
10337         * configure.ac:
10338         * docs/gst/Makefile.am:
10339         * docs/libs/Makefile.am:
10340         * docs/plugins/Makefile.am:
10341           Add crossreferences to glib/gobject docs.
10342
10343 2007-02-12  Wim Taymans  <wim@fluendo.com>
10344
10345         * docs/design/draft-latency.txt:
10346         Small update.
10347
10348         * docs/libs/gstreamer-libs-sections.txt:
10349         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10350         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
10351         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
10352         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
10353         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
10354         (gst_base_sink_get_position), (gst_base_sink_query),
10355         (gst_base_sink_change_state):
10356         * libs/gst/base/gstbasesink.h:
10357         API: gst_base_sink_query_latency() to let subclasses query the upstream
10358         latency.
10359         API: gst_base_sink_get_latency() to let subclasses query the configured
10360         latency in the sink.
10361         Implement query and set latency.
10362         Update some docs.
10363         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
10364         don't continue preroll when we are flushing. Fixes #405284.
10365
10366         * tests/check/pipelines/stress.c: (change_state_timeout),
10367         (quit_timeout), (GST_START_TEST), (stress_suite):
10368         Test for #405284.
10369
10370 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
10371
10372         Patch by: René Stadler <mail at renestadler de>
10373
10374         * docs/gst/gstreamer-sections.txt:
10375         * gst/gsttaglist.c: (_gst_tag_initialize):
10376         * gst/gsttaglist.h:
10377           API: add GST_TAG_REFERENCE_LEVEL (#403597).
10378
10379 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
10380
10381         * docs/libs/Makefile.am:
10382           Fix path to core docs.
10383
10384         * gst/gstbin.c: (gst_bin_get_by_interface),
10385         (gst_bin_iterate_all_by_interface):
10386           Refix docs by also renaming 'interface' to 'iface' in implementation.
10387
10388         * docs/gst/gstreamer-sections.txt:
10389         * gst/gstcaps.c:
10390         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
10391         * gst/gstchildproxy.h:
10392         * gst/gstelementfactory.c:
10393         * gst/gstpadtemplate.h:
10394         * libs/gst/controller/gstcontroller.c:
10395         (gst_controlled_property_new):
10396           Document more.
10397
10398 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
10399
10400         * gst/gstbin.h:(gst_bin_get_by_interface),
10401         (gst_bin_iterate_all_by_interface):
10402         Replace interface parameter name by iface as interface is 
10403         a reserved keyword in Visual Studio for C++ projects so it removes
10404         a build error for application developpers using VS.
10405         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
10406         Fix a bug on Windows in uri format check. Now the prefix checked
10407         is file:// and next we check if the path after file:// is absolute.
10408         * win32/common/libgstbase.def:
10409         * win32/common/libgstdataprotocol.def:
10410         * win32/common/libgstgstreamer.def:
10411         Add new exported functions.
10412
10413 2007-02-09  Andy Wingo  <wingo@pobox.com>
10414
10415         * tests/check/pipelines/simple-launch-lines.c
10416         (simple_launch_lines_suite, test_tee): Disable tee test until I
10417         have time to fix it :-(
10418
10419         * tests/check/Makefile.am (noinst_HEADERS): 
10420         * tests/check/libs/libsabi.c: 
10421         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
10422         * tests/check/gst/gstabi.c: 
10423         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
10424
10425         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
10426         tests for push and pull tee behavior.
10427
10428         * plugins/elements/gsttee.h: 
10429         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
10430         mark as deprecated as well as unimplemented. It was a crack idea.
10431         Add support for tee operating in pull mode, off by default.
10432
10433         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
10434         normal-case logs down to LOG, raise errors to WARNING.
10435         (gst_registry_xml_read_cache): Don't log before calling a function
10436         that logs.
10437
10438         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
10439         exit (registry finalize).
10440         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
10441         DEBUG log when we emit signals that people don't even have the
10442         chance to connect to.
10443         (gst_registry_scan_path_level): Less logging in the normal case.
10444
10445 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10446
10447         Patch by: Michal Benes <michal dot benes at itonis dot tv>
10448
10449         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10450         Correctly generate EOS for non-seekable files. We don't have a total
10451         length for them and would get an unexpected end of file if we only
10452         special-cased for regular files. (Fixes: #404569)
10453
10454 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
10455
10456         * tests/check/elements/filesrc.c: (GST_START_TEST),
10457         (filesrc_suite):
10458         Add unit test for the GstURIHandler interface in filesrc. This also
10459         tests the newly added file://localhost/foo/bar support.
10460
10461 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
10462
10463         * gst/gstelementfactory.h:
10464           The klass string is not a hierarchy. Add reference to the design doc
10465           for more information and common types.
10466
10467 2007-02-02  Wim Taymans  <wim@fluendo.com>
10468
10469         * gst/gstquery.c: (gst_query_new_latency):
10470         Remove old structure field.
10471
10472 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
10473
10474         * tools/gst-launch.1.in:
10475           Give example for network streaming (#351998)
10476
10477 2007-02-02  Wim Taymans  <wim@fluendo.com>
10478
10479         * docs/gst/gstreamer-sections.txt:
10480         Add docs for new methods.
10481
10482         * gst/gstevent.c: (gst_event_new_latency),
10483         (gst_event_parse_latency):
10484         * gst/gstevent.h:
10485         Add new LATENCY event to configure latency in a pipeline.
10486         API: gst_event_new_latency
10487         API: gst_event_parse_latency
10488
10489         * gst/gstmessage.c: (gst_message_new_buffering),
10490         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
10491         (gst_message_new_latency), (gst_message_parse_buffering),
10492         (gst_message_parse_lost_preroll):
10493         * gst/gstmessage.h:
10494         Added messages used in draft-latency.
10495         API: gst_message_new_lost_preroll
10496         API: gst_message_parse_lost_preroll
10497         API: gst_message_new_prerolled
10498         API: gst_message_new_latency
10499
10500         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
10501         (gst_query_parse_latency):
10502         * gst/gstquery.h:
10503         Implemented new latency query as in design doc.
10504         API: gst_query_new_latency
10505         API: gst_query_set_latency
10506         API: gst_query_parse_latency
10507
10508 2007-02-02  Wim Taymans  <wim@fluendo.com>
10509
10510         * docs/design/draft-latency.txt:
10511         Slight redesign to allow for dynamic latency adjustments.
10512
10513         * docs/design/part-negotiation.txt:
10514         Fix some typos.
10515
10516 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
10517
10518         reviewed by: Wim Taymans <wim@fluendo.com>
10519
10520         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
10521         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
10522         Allow file://localhost/foo/bar URLs and correctly fail for every other
10523         hostname that one sets. This was gnomevfssrc is linked for those if
10524         installed as it can handle it (#403172)
10525
10526 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10527
10528         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
10529
10530         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10531         (unref_data), (gst_collect_pads_add_pad_full):
10532         * libs/gst/base/gstcollectpads.h:
10533         Don't put the previously added destroy notify in the GstCollectData
10534         struct as all it's padding is already used and we don't want to break
10535         ABI. Instead put in the pad's GObject data for now. This should be
10536         cleaned up for 0.11 (#402393).
10537
10538 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
10539
10540         reviewed by: Wim Taymans <wim@fluendo.com>
10541
10542         * docs/libs/gstreamer-libs-sections.txt:
10543         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10544         (unref_data), (gst_collect_pads_add_pad),
10545         (gst_collect_pads_add_pad_full):
10546         * libs/gst/base/gstcollectpads.h:
10547         API: Add function to specify a destroy notification for custom
10548         GstCollectData when adding new pads in GstCollectPads (#402393).
10549
10550 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
10551
10552         * po/sv.po:
10553           Update Swedish translation (#378255).
10554
10555 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10556
10557         * docs/design/draft-klass.txt:
10558           Fix the previous change, this is a list of categories and not a hierarchy.
10559
10560 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
10561
10562         * docs/design/draft-klass.txt:
10563           Add info about how to get a list of used classes.
10564
10565 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
10566
10567         * plugins/elements/gsttypefindelement.c:
10568         (gst_type_find_element_chain_do_typefinding),
10569         (gst_type_find_element_change_state):
10570           Don't leak found caps in chain function (no idea why that never
10571           showed up as a leak anywhere).
10572
10573 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
10574
10575         * gst/gstplugin.h:
10576           Fix and expand GstPluginDesc API docs.
10577
10578 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10579
10580         * gst/gstcaps.c:
10581         * gst/gstelementfactory.c:
10582         * gst/gstpadtemplate.h:
10583           api doc fixes
10584
10585         * libs/gst/controller/gstcontroller.c:
10586         (gst_controlled_property_new):
10587         * tests/examples/controller/audio-example.c:
10588           comment fixes
10589
10590 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
10591
10592         * configure.ac:
10593           comment about refining the xml deps
10594
10595         * docs/manuals.mak:
10596           comments about moving away from jade for docs
10597         
10598         * gst/gst.c:
10599           recommit the ifdefs to use the binary registry
10600         
10601         * gst/gstbin.c: (gst_bin_change_state_func):
10602           this break is obsolete
10603
10604         * gst/gstelementfactory.h:
10605           better GST_ELEMENT_DETAILS docs, add comment about translation
10606
10607         * gst/gstinfo.h:
10608           remove eol slash
10609
10610         * gst/gstobject.c: (gst_signal_object_get_type):
10611           add G_UNLIKELY as usual
10612
10613         * gst/gstpad.c: (gst_pad_event_default):
10614           add fall trhu comment
10615
10616         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10617         (gst_registry_binary_initialize_magic),
10618         (gst_registry_binary_save_string),
10619         (gst_registry_binary_save_pad_template),
10620         (gst_registry_binary_save_feature),
10621         (gst_registry_binary_save_plugin),
10622         (gst_registry_binary_write_cache),
10623         (gst_registry_binary_check_magic),
10624         (gst_registry_binary_load_pad_template),
10625         (gst_registry_binary_load_feature),
10626         (gst_registry_binary_load_plugin),
10627         (gst_registry_binary_read_cache):
10628           comment typo and formatting
10629
10630         * gst/gstutils.c: (gst_element_state_get_name),
10631         (gst_element_state_change_return_get_name):
10632           remove obsolete breaks
10633
10634         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10635           add FIXME 0.11 and remove cpp comment
10636
10637 2007-01-29  Edward Hervey  <edward@fluendo.com>
10638
10639         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10640         Fix print statement in an even more portable way.
10641
10642 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
10643
10644         * docs/gst/gstreamer-sections.txt:
10645         * gst/gstutils.h:
10646           API: add GST_ROUND_DOWN_* macros (#401781).
10647
10648 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
10649
10650         * docs/gst/gstreamer.types.in:
10651         * gst/gstregistry.c: (gst_registry_class_init):
10652           Document registry signals and make gtk-doc pick them up (#401381).
10653
10654 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         * docs/pwg/building-testapp.xml:
10657           Add some audioconverts and audioresample to the pipeline, and some
10658           more comments and error handling.
10659
10660 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
10661
10662         * docs/manual/manual.xml:
10663         * docs/pwg/pwg.xml:
10664           Fix typo (#400987).
10665
10666 2007-01-26  Wim Taymans  <wim@fluendo.com>
10667
10668         * gst/gstcaps.c: (gst_static_caps_get):
10669         Init caps flags too.
10670
10671 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
10672
10673         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
10674
10675         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10676         If not using mmap'ed files try to seek to the end instead of the
10677         start to determine whether we can seek at all. This fixes the case
10678         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
10679         seeks for everything afterwards fail. Fixes #400656
10680
10681 2007-01-25  Wim Taymans  <wim@fluendo.com>
10682
10683         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
10684         Add some refcount debugging.
10685         Make gst_static_caps_get threadsafe, which is needed when autoplugging
10686         in multiple streaming threads.
10687
10688 2007-01-25  Wim Taymans  <wim@fluendo.com>
10689
10690         Patch by: David Schleef <ds at schleef dot org>
10691
10692         * docs/libs/gstreamer-libs-sections.txt:
10693         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
10694         * libs/gst/base/gstadapter.h:
10695         API: gst_adapter_copy() that can reduce the amount of memcpy when
10696         getting data from the adapter. Fixes #388201.
10697
10698 2007-01-25  Edward Hervey  <edward@fluendo.com>
10699
10700         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
10701         In print statements, "%x" is for guint. Fixes build on macosx.
10702
10703 2007-01-24  Edward Hervey  <edward@fluendo.com>
10704
10705         * plugins/elements/gstmultiqueue.c:
10706         (gst_multi_queue_loop):
10707         Small fix.
10708         (single_queue_overrun_cb), (single_queue_underrun_cb),
10709         (single_queue_check_full), (gst_single_queue_new):
10710         Implement single queue growth system.
10711         This uses the extra-size properties, and will grow single queues by
10712         that much if one goes full whereas there are others empty. This is
10713         called extra-mode in the code.
10714         When a single queue's levels go back below the initial max-size
10715         limits, it is no longer in extra-mode. This is to ensure we don't
10716         consume too much memory.
10717         Fixes #399875
10718
10719 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
10720
10721         * gst/gst.c: (gst_init_get_option_group):
10722           Make warning about late g_thread_init() calls a bit more explicit,
10723           so that it's more obvious to application developers what they need
10724           to do if a user files a bug against their application.
10725
10726 2007-01-22  Edward Hervey  <edward@fluendo.com>
10727
10728         * plugins/elements/gstmultiqueue.c:
10729         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
10730         Remove previous hack of unsetting the flushing flag for the source pad
10731         instead of activating it. Instead, fix the source pad activate function
10732         so that it no longer depends on having a parent set or not.
10733
10734 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
10735
10736         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
10737
10738         * docs/manual/basics-bus.xml:
10739           Fix example code, gst_element_unref() doesn't exist any longer.
10740
10741 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
10742
10743         Patch by: Mark Nauwelaerts <manauw at skynet be>
10744
10745         * gst/gstpad.c:
10746           Fix two docs typoes (#399094).
10747
10748 2007-01-19  Edward Hervey  <edward@fluendo.com>
10749
10750         * docs/faq/gst-uninstalled:
10751         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
10752         depending on libgstbaseutils can work in uninstalled environment.
10753
10754 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
10755
10756         * gst/gsttaglist.h:
10757         * gst/gsttagsetter.c:
10758         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
10759         statement for new tag.
10760
10761 2007-01-17  Edward Hervey  <edward@fluendo.com>
10762
10763         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
10764         When dynamically creating single queues, activate sinkpad before adding
10765         it.
10766         We should be doing the same thing for the source pad, but we can't
10767         since it would call a method which needs the parent to be set in order
10768         to work propertly. Instead of activating the source pad, we just unset
10769         the flushing flag, which is the minimal requirement for adding a pad
10770         to an element in a state greater than READY.
10771
10772 2007-01-17  Edward Hervey  <edward@fluendo.com>
10773
10774         * docs/faq/gst-uninstalled:
10775         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
10776         Mac OS X.
10777
10778 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
10779
10780         * tests/check/gst/gstabi.c:
10781         * tests/check/gst/struct_hppa.h:
10782         * tests/check/libs/libsabi.c:
10783         * tests/check/libs/struct_hppa.h:
10784           Add ABI structs for HPPA (see #393796).
10785
10786 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
10787
10788         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10789           Actually write ABI structs to the file specified in the GST_ABI
10790           environment variable, as the message we print claims we would.
10791
10792 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10793
10794         * tests/check/gst/gsttask.c:
10795           Fix header comment.
10796
10797 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10798
10799         * gst/gsttaglist.c: (_gst_tag_initialize):
10800           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
10801           previous two entries.
10802
10803 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10804
10805         * docs/gst/gstreamer-sections.txt:
10806         * gst/gsttaglist.c: (_gst_tag_initialize):
10807         * gst/gsttaglist.h:
10808           Add tag support for beat-per-minute.
10809
10810 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
10811
10812         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10813         (gst_registry_binary_initialize_magic),
10814         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
10815         (gst_registry_binary_save_pad_template),
10816         (gst_registry_binary_save_feature),
10817         (gst_registry_binary_save_plugin),
10818         (gst_registry_binary_write_cache),
10819         (gst_registry_binary_check_magic),
10820         (gst_registry_binary_load_pad_template),
10821         (gst_registry_binary_load_feature),
10822         (gst_registry_binary_load_plugin),
10823         (gst_registry_binary_read_cache):
10824         * gst/gstregistrybinary.h:
10825           Use glib types, cleanup comments, impement interfaces and uri-types.
10826
10827 2007-01-13  Andy Wingo  <wingo@pobox.com>
10828
10829         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
10830         getrange() to return buffers with other caps, while we fix
10831         demuxers and typefind, or otherwise change part-negotiation.txt.
10832
10833 2007-01-12  Andy Wingo  <wingo@pobox.com>
10834
10835         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
10836         Factor start/stop into this private function instead of partially
10837         in activate functions and partially in the change_state function.
10838         Fixes setup before the element has changed from READY->PAUSED, as
10839         is the case in pull-mode pipelines.
10840         (gst_base_transform_sink_activate_push)
10841         (gst_base_transform_src_activate_pull): Refactor to use
10842         gst_base_transform_activate().
10843         (gst_base_transform_change_state): Removed, not needed any more.
10844
10845         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10846         Truncate before fixating.
10847         
10848         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
10849         Don't set_caps() if the result of fixating is ANY, as it's not
10850         supported, and not necessary in the case of a link with no
10851         template caps on either side. Fixes tests/check/libs/basesrc in
10852         some pull-mode tests.
10853
10854         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
10855         (gst_base_transform_init, gst_base_transform_sink_activate_push)
10856         (gst_base_transform_src_activate_pull): 
10857         Track the activation mode.
10858         (gst_base_transform_setcaps): In pull mode, when activating the
10859         src pad, after activating the sink pad, activate the sink pad's
10860         peer, as discussed in part-negotiation.txt.
10861
10862         * libs/gst/base/gstbasesrc.h: 
10863         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
10864         vmethod, as in basesink.
10865
10866         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
10867
10868         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
10869         mode, first proxy the setcaps to the peer pad.
10870         (gst_base_sink_pad_fixate): Add a fixate function that calls the
10871         new fixate vmethod.
10872         (gst_base_sink_default_activate_pull): Rename from
10873         gst_base_sink_activate_pull.
10874         (gst_base_sink_negotiate_pull): New function, performs negotiation
10875         in pull mode before calling ::activate_pull().
10876         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
10877         vmethod instead of the default implementation. I have no idea how
10878         this worked before. Negotiate before calling activate_pull.
10879
10880         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
10881         sink pads in pull mode. In addition to being correct, fixes
10882         filesrc ! decodebin ! identity ! fakesink.
10883         (gst_pad_get_range, gst_pad_pull_range): Don't call
10884         gst_pad_set_caps() if the caps changes; instead error out with
10885         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
10886
10887 2007-01-12  Andy Wingo  <wingo@pobox.com>
10888
10889         * docs/design/part-negotiation.txt: Update with more policy.
10890
10891 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10892
10893         * libs/gst/check/gstbufferstraw.h:
10894         * libs/gst/check/gstcheck.h:
10895           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
10896           belongs.
10897
10898 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10899
10900         * tests/check/Makefile.am:
10901         * tests/check/gst/.cvsignore:
10902         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
10903         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
10904         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
10905         (GST_START_TEST), (gst_tag_setter_suite):
10906           Add minimal unit test for beforementioned GstTagSetter bug.
10907
10908 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
10909
10910         Patch by: René Stadler <mail at renestadler dot de>
10911
10912         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
10913           gst_tag_list_merge() returns a new list, so it's not the best idea
10914           to ingore its return value. Effectively meant that tags could only
10915           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
10916           Also add function guard to require a non-NULL taglist as input (has
10917           always been so due to gst_tag_list_copy(), just making it explicit).
10918
10919 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10920
10921         * docs/random/draft-missing-plugins.txt:
10922           Some additions: mention new API that is supposed to be used at the
10923           various stages; short blob about new gst-inspect introspection
10924           option; mention potential future problem with plugins that have
10925           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
10926
10927 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10928
10929         * tools/gst-inspect.c:
10930         (print_plugin_automatic_install_info_codecs),
10931         (print_plugin_automatic_install_info_protocols),
10932         (print_plugin_automatic_install_info), (main):
10933         Add --print-plugin-auto-install-info option to gst-inspect, so we can
10934         introspect plugin files and get machine-parsable output that corresponds
10935         to the last bit of the missing-plugin installer string (small gotcha:
10936         doesn't take into account ranks).
10937
10938 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
10939
10940         * configure.ac:
10941         * docs/gst/gstreamer-sections.txt:
10942         * gst/Makefile.am:
10943         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
10944         (gst_registry_lookup_locked):
10945         * gst/gstregistry.h:
10946         * gst/gstregistrybinary.c: (gst_registry_binary_write),
10947         (gst_registry_binary_initialize_magic),
10948         (gst_registry_binary_save_string),
10949         (gst_registry_binary_save_pad_template),
10950         (gst_registry_binary_save_feature),
10951         (gst_registry_binary_save_plugin),
10952         (gst_registry_binary_write_cache),
10953         (gst_registry_binary_check_magic),
10954         (gst_registry_binary_load_pad_template),
10955         (gst_registry_binary_load_feature),
10956         (gst_registry_binary_load_plugin),
10957         (gst_registry_binary_read_cache):
10958         * gst/gstregistrybinary.h:
10959         * gst/gstregistryxml.c: (load_feature),
10960         (gst_registry_xml_read_cache):
10961           commit binary registry (disabled by default, see #359653)
10962
10963 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
10964
10965         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
10966           Fix 'make check' too.
10967
10968 2007-01-10  Andy Wingo  <wingo@pobox.com>
10969
10970         * docs/design/part-negotiation.txt: Fix a typo, add a couple
10971         notes.
10972         
10973         * docs/design/part-negotiation.txt: Update with, um, one way that
10974         pull-mode negotiation might work?
10975
10976         * gst/gstpad.h: 
10977         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
10978         that the pad must be a src pad; makes sense to call it the other
10979         way in pull mode, and the logic is symmetric anyway.
10980
10981 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
10982
10983         * plugins/elements/gstfilesink.c:
10984           Include <stdio.h> for fseeko().
10985
10986 2007-01-10  Wim Taymans  <wim@fluendo.com>
10987
10988         * gst/gstevent.c:
10989         * gst/gstevent.h:
10990         Reserve LATENCY event.
10991
10992 2007-01-09  Wim Taymans  <wim@fluendo.com>
10993
10994         * docs/design/draft-latency.txt:
10995         Updates.
10996
10997 2007-01-09  Wim Taymans  <wim@fluendo.com>
10998
10999         * docs/design/draft-latency.txt:
11000         Updates.
11001
11002         * gst/gstelement.h:
11003         * gst/gststructure.c:
11004         * gst/gsttrace.c:
11005         Small typo fixes.
11006
11007 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
11008
11009         * tests/check/.cvsignore:
11010           Ignore test-registry.xml as well.
11011
11012 2007-01-09  Wim Taymans  <wim@fluendo.com>
11013
11014         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11015         unref data at the end when we are done with the pad.
11016
11017 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11018
11019         * docs/gst/gstreamer-sections.txt:
11020         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
11021         (init_post), (gst_deinit), (gst_update_registry):
11022         * gst/gst.h:
11023           API: add gst_update_registry() (#391296).
11024
11025         * tests/check/Makefile.am:
11026         * tests/check/gst/gstregistry.c:
11027         * tests/check/gst/.cvsignore:
11028           Simple unit test for the above.
11029
11030 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
11031
11032         * gst/gstregistry.c: (gst_registry_scan_path_level):
11033           Plugin extension on HP-UX is .sl, add that to the list of approved
11034           plugin extensions (see #393796).
11035
11036         * tests/check/gst/gstpad.c: (GST_START_TEST):
11037           ulong => gulong. Fixes compilation with HP-UX compiler.
11038
11039         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11040           Fix compilation if valgrind headers are not available.
11041
11042 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
11043
11044         * win32/common/libgstreamer.def: 
11045           Add new exported function.
11046         * win32/vs6/libgstbase.dsp: 
11047           Add gstdataqueue.c to the build.
11048         * win32/vs6/libgstcoreelements.dsp:
11049           Add gstmultiqueue.c to the build.
11050         
11051 2007-01-06  Andy Wingo  <wingo@pobox.com>
11052
11053         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
11054         activate_pull(), providing for a way to specialize the process of
11055         spawning a thread to pull on the sink pad. There is a default
11056         implementation.
11057
11058         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
11059         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
11060         (gst_base_sink_init): Renamed pad activation functions (inserting
11061         "_pad" in their names). Refactor to use the new activate_pull
11062         vmethod, as appropriate.
11063         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
11064         default activate_pull function to start a task pulling from the
11065         sink pad, as before.
11066
11067         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
11068         on the pads if necessary, as in push()/chain(). Update docs.
11069         Shouldn't affect existing pull() usage as it is currently only
11070         being used on buffers without caps.
11071
11072 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11073
11074         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11075         (init_pre):
11076           Call g_thread_init() first thing in gst_init() / gst_check_init().
11077           When initialisation is done via gst_init_get_option_group() and
11078           GOption parsing, issue a warning if the GLib thread system has not
11079           been initialised yet by the time gst_init_get_option_group() is
11080           called, as it's quite likely other GLib functions such as
11081           g_option_context_new() have been called already then, and
11082           g_thread_init() must be called before any other GLib function. The
11083           application in question must be fixed in that case, since memory
11084           corruption might happen otherwise.
11085           We issue the warning because even if the GLib folks decide to work
11086           around the problem on their end in future, this is still an issue
11087           with all GLib versions >= 2.10.0, so we should warn until we depend
11088           on a GLib version we know to be safe.
11089           Update documentation as well.
11090           Closes bug #391278.
11091
11092 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11093
11094         * tools/gst-inspect.c: (main):
11095         * tools/gst-launch.c: (main):
11096         * tools/gst-typefind.c: (main):
11097         * tools/gst-xmlinspect.c: (main):
11098           Call g_thread_init() really really early, before any other GLib
11099           function (see #342564 and recent discussion on gtk-devel-list).
11100
11101 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11102
11103         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
11104
11105         * gst/gst_private.h:
11106         * gst/gstconfig.h.in:
11107         * gst/gstinfo.h:
11108           On win32, all the __declspec stuff for symbol exporting is
11109           apparently only needed with MSVC, but doesn't work with MingW.
11110           Fixes compilation with MingW and #391909.
11111
11112 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
11113
11114         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
11115           Change some GST_ERROR_OBJECT that aren't really errors to
11116           GST_WARNING_OBJECT in order to reduce terminal spam.
11117
11118 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11119
11120         * tests/check/Makefile.am:
11121           disable test again, as there seem to be still race problems
11122
11123 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
11124
11125         * tests/check/Makefile.am:
11126         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11127         (GST_START_TEST), (queue_suite):
11128           enable queue test again, add tests for the leaky behaviour
11129
11130 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
11131
11132         * configure.ac:
11133         * tests/examples/Makefile.am:
11134           Compile adapter test/example only if the required headers are
11135           available (fixes #391915).
11136
11137 2007-01-01  David Schleef  <ds@schleef.org>
11138
11139         * gst/gstplugin.c:
11140           Restore the previous signal handler for SIGSEGV instead of
11141           setting to default, since we may have stolen it away from
11142           someone.  (i.e., Mono)
11143
11144 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11145
11146         * docs/random/draft-missing-plugins.txt:
11147           Some small additions and clarifications.
11148
11149 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
11150
11151         * gst/gstregistryxml.c: (gst_registry_save_escaped):
11152           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
11153           since that can lead to random memory corruptions and crashes
11154           (may or may not be related to #383244, #386711, and #386711).
11155
11156 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11157
11158         * tests/check/.cvsignore:
11159         * tests/check/Makefile.am:
11160           sync .cvsignome and CLEANFILES
11161
11162 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11163
11164         * tests/check/Makefile.am:
11165           fix distcheck
11166
11167 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11168
11169         * docs/design/part-states.txt:
11170           two tiny additional comments
11171         
11172         * gst/gststructure.c:
11173           doc fixing
11174
11175         * tests/check/Makefile.am:
11176         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11177         (GST_START_TEST):
11178           disable test for now, unless it gets fixed
11179
11180 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11181
11182         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11183         (GST_START_TEST):
11184           fix race in underrun test
11185
11186 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11187
11188         * tests/check/elements/.cvsignore:
11189           ignore more
11190
11191         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11192         (GST_START_TEST):
11193           try to narrow test failure
11194
11195 2006-12-21  David Schleef  <ds@schleef.org>
11196
11197         * plugins/elements/gstfakesrc.c:
11198           Use g_random_int_range(), since it produces better random
11199           numbers in a range than almost-correct floating point code.
11200
11201 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
11202
11203         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
11204         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
11205         (gst_check_teardown_sink_pad):
11206           do not automatically (de)activate pads
11207
11208         * tests/check/Makefile.am:
11209         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
11210         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
11211           add new, yet simple tests for queue
11212
11213         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
11214         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
11215         * tests/check/elements/filesrc.c: (cleanup_filesrc),
11216         (GST_START_TEST):
11217         * tests/check/elements/identity.c: (cleanup_identity):
11218           consistent pad (de)activation
11219
11220 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
11221
11222         Patch by: Sebastian Dröge  <slomo ubuntu com>
11223
11224         * libs/gst/base/gstcollectpads.c:
11225           Fix two doc typos (#387866).
11226
11227 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11228
11229         * docs/manual/advanced-dparams.xml:
11230           Fix typo (g_object_control_properties() doesn't exist).
11231
11232 2006-12-19  Edward Hervey  <edward@fluendo.com>
11233
11234         * gst/gstsegment.c: (gst_segment_set_seek):
11235         Fine tune the cases where the segment start/stop values are really
11236         updated.
11237         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11238         Add tests for the return values of gst_segment_set_seek().
11239
11240 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
11241
11242         * gst/gst.c:
11243           Docs typo fix.
11244
11245         * plugins/elements/gstqueue.c: (gst_queue_class_init),
11246         (gst_queue_init):
11247           Fix incorrect documentation and flesh it out a bit more.
11248           Set default values for the max properties on the GParamSpec as well,
11249           so it shows up correctly in gst-inspect.
11250
11251 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
11252
11253         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11254           Correct docs of queue, add more detail and crosslink it more.
11255
11256 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11257
11258         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
11259           Print additional debug info when the stream isn't perfectly
11260           timestamped; don't try to use invalid durations.
11261
11262 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
11263
11264         * docs/design/Makefile.am:
11265           Dist new design docs.
11266
11267 2006-12-16  Wim Taymans  <wim@fluendo.com>
11268
11269         Patch by: Sjoerd Simons <sjoerd at luon dot net>
11270
11271         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
11272         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11273         (gst_collect_pads_stop), (gst_collect_pads_event),
11274         (gst_collect_pads_chain):
11275         * libs/gst/base/gstcollectpads.h:
11276         Add refcounting to the collectpads data so we can track when it's safe
11277         to free the data. Fixes #383382.
11278
11279 2006-12-15  Wim Taymans  <wim@fluendo.com>
11280
11281         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
11282         (gst_collect_pads_remove_pad):
11283         Automatically activate/deactivate pads when they are added to a
11284         started/stoped collectpads.
11285
11286 2006-12-15  Wim Taymans  <wim@fluendo.com>
11287
11288         * gst/gstelement.c: (gst_element_add_pad):
11289         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11290         * gst/gstpad.c: (gst_pad_init):
11291         Set pads to FLUSHING when they are created. Check, warn and fix when a
11292         demuxer adds an inactive pad to itself when running. Fixes #339326.
11293
11294 2006-12-15  Wim Taymans  <wim@fluendo.com>
11295
11296         * gst/gstelement.c: (gst_element_class_init),
11297         (gst_element_default_send_event), (gst_element_send_event),
11298         (gst_element_default_query), (gst_element_query):
11299         Expose default element send_event and query handling as vmethods that
11300         subclasses can chain up to.
11301
11302 2006-12-15  Wim Taymans  <wim@fluendo.com>
11303
11304         * gst/gstelement.c: (gst_element_set_state_func):
11305         Small documentation fixes.
11306
11307 2006-12-15  Wim Taymans  <wim@fluendo.com>
11308
11309         * docs/design/draft-latency.txt:
11310         Checked in draft for handling latency in pipelines.
11311
11312 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11313
11314         * Makefile.am:
11315         * gstreamer.doap:
11316         * gstreamer.spec.in:
11317           adding .doap file
11318
11319 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
11320
11321         * gst/gst.c: (init_pre), (init_post):
11322           init_pre() and init_post() might be called via our GOptionGroup or
11323           from gst_init(), and we should skip both of them if we've already
11324           been initialised, otherwise we will init some things twice or add
11325           two default log functions.
11326
11327 2006-12-13  Edward Hervey  <edward@fluendo.com>
11328
11329         * docs/manual/basics-bus.xml:
11330         No, gst_main_loop does not exist. Its g_main_loop.
11331         Discovered by somebody who abused the copy-paste technique of coding :)
11332
11333 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
11334
11335         * gst/gstghostpad.c:
11336           Log ghostpad debug stuff to the GST_PADS category as well rather
11337           than just to the default category.
11338
11339 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
11340
11341         * configure.ac:
11342         * gst/gst.c: (init_pre):
11343           Add some basic system details such as OS and architecture
11344           to the debug output if possible, courtesy of uname().
11345
11346 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
11347
11348         * docs/gst/running.xml:
11349           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
11350           environment variables.
11351
11352 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11353
11354         * tests/check/gst/gstbin.c: (GST_START_TEST):
11355         It is acceptable to have a refcount of 2 or 3 at this point in the
11356         test, because the pipeline might be just posting its state_change
11357         message. The next line then waits for that message to appear using
11358         bus_poll, so that should be fine too.
11359
11360 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
11361
11362         * gst/gst.c: (ensure_current_registry_forking):
11363         Ignore EINTR when reading from the child registry pipe.
11364         Explicitly ignore the return value from close, since it makes no
11365         difference.
11366
11367         * gst/gstminiobject.c: (gst_mini_object_ref),
11368         (gst_mini_object_unref):
11369         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
11370
11371         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
11372         When removing cached plugins, remove their features too, so they're
11373         not visible after they've disappeared.
11374
11375         * gst/gstutils.c: (prepare_link_maybe_ghosting):
11376         In the unlikely case that we are linking pads with no parents, don't
11377         crash trying to get the non-existent parent bin.
11378
11379         * gst/parse/grammar.y:
11380         Output debug in the PIPELINE category
11381
11382 2005-03-08  Wim Taymans  <wim@fluendo.com>
11383
11384         Patch by: René Stadler <mail at renestadler dot de>
11385
11386         * gst/gstclock.c: (gst_clock_new_periodic_id):
11387         Reject invalid clock times for interval of periodic ids.
11388         Fixes ##383506.
11389
11390 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11391
11392         * gst/gstelementfactory.c: (gst_element_factory_create):
11393         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11394         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
11395         * tools/gst-inspect.c: (print_element_info):
11396         Fix refcounting of gst_plugin_feature_load to match the docs. 
11397         Fixes: #380129
11398
11399 2006-12-07  Wim Taymans  <wim@fluendo.com>
11400
11401         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
11402         (gst_base_sink_get_position):
11403         Improve debugging of events.
11404
11405 2006-12-07  Wim Taymans  <wim@fluendo.com>
11406
11407         Patch by: René Stadler <mail at renestadler dot de>
11408
11409         * gst/gstclock.c: (gst_clock_id_wait):
11410         Make period ids add the interval to the origial requested time instead
11411         of the possibly updated time which can be wrong when there are multiple
11412         waiters for the same id. Fixes #382592.
11413
11414         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
11415         (gst_system_clock_id_wait_jitter_unlocked),
11416         (gst_system_clock_id_wait_jitter):
11417         Fix restart in the async notify thread when an async entry is added to
11418         the front of the list. Fixes #381492. 
11419
11420         * tests/check/gst/gstsystemclock.c: (store_callback),
11421         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
11422         Added test for multiple async waits.
11423         Added test for async wait order.
11424
11425 2006-12-07  Wim Taymans  <wim@fluendo.com>
11426
11427         * gst/gstbin.c: (gst_bin_query):
11428         Add some more docs about the POSITION query.
11429
11430 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
11431
11432         * configure.ac:
11433         Bump version nano - back to CVS.
11434
11435 === release 0.10.11 ===
11436
11437 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
11438
11439         * configure.ac:
11440           releasing 0.10.11, "Love never runs on time"
11441
11442 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
11443
11444         * win32/common/libgstbase.def:
11445         * win32/common/libgstreamer.def:
11446         * win32/vs8/libgstbase.vcproj:
11447         * win32/vs8/libgstcoreelements.vcproj:
11448         * win32/vs8/libgstreamer.vcproj:
11449         Fix compilation on win32 under VS8
11450         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11451         Partially fixes #381175
11452
11453 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
11454
11455         * gst/gstvalue.c: (gst_value_compare_fraction):
11456         If someone is foolish enough to compare 2 fractions with denominator =
11457         0, return UNORDERED rather than aborting.
11458
11459 2006-11-28  Edward Hervey  <edward@fluendo.com>
11460
11461         * libs/gst/base/Makefile.am:
11462         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
11463         (gst_data_queue_base_init), (gst_data_queue_class_init),
11464         (gst_data_queue_init), (gst_data_queue_new),
11465         (gst_data_queue_cleanup), (gst_data_queue_finalize),
11466         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
11467         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
11468         (gst_data_queue_is_empty), (gst_data_queue_is_full),
11469         (gst_data_queue_set_flushing), (gst_data_queue_push),
11470         (gst_data_queue_pop), (gst_data_queue_drop_head),
11471         (gst_data_queue_set_property), (gst_data_queue_get_property):
11472         * libs/gst/base/gstdataqueue.h:
11473         New GstDataQueue object for threadsafe queueing. Most useful for
11474         elements that need some queueing functionnality.
11475         * docs/libs/gstreamer-libs-docs.sgml:
11476         * docs/libs/gstreamer-libs-sections.txt:
11477         Insert documentation for GstDataQueue
11478         * plugins/elements/Makefile.am:
11479         * plugins/elements/gstelements.c:
11480         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
11481         (gst_multi_queue_class_init), (gst_multi_queue_init),
11482         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
11483         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
11484         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
11485         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
11486         (gst_multi_queue_loop), (gst_multi_queue_chain),
11487         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
11488         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
11489         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
11490         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
11491         (wake_up_next_non_linked), (compute_next_non_linked),
11492         (single_queue_overrun_cb), (single_queue_underrun_cb),
11493         (single_queue_check_full), (gst_single_queue_new):
11494         * plugins/elements/gstmultiqueue.h:
11495         New multiqueue element, using GstDataQueue. Used for queuing multiple
11496         streams.
11497         Closes #344639 and #347785
11498
11499 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
11500
11501         * docs/pwg/advanced-types.xml:
11502           add more missing type details
11503
11504         * tools/gst-run.c: (main):
11505           remove unused variable
11506
11507 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
11508
11509         * docs/libs/Makefile.am:
11510         * docs/libs/gstreamer-libs.types:
11511           add types of base classes to enable gobject specific stuff in the docs
11512
11513         * docs/random/ensonic/embedded.txt:
11514           more ideas about isolating platform specific things
11515
11516 2006-11-20  Wim Taymans  <wim@fluendo.com>
11517
11518         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
11519
11520         * libs/gst/check/gstcheck.h:
11521         Fix compilation and running against 0.9.4. Fixes #377332.
11522
11523 2006-11-20  Wim Taymans  <wim@fluendo.com>
11524
11525         * gst/gstsegment.c: (gst_segment_set_seek),
11526         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11527         (gst_segment_to_running_time):
11528         Fix boundary checking in to_running_time() and to_stream_time().
11529         Fixes #377183.
11530
11531         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11532         stream and running time can now be calculated for the complete
11533         clipped segment.
11534
11535 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
11536
11537         * gst/gstpad.c: (gst_pad_push_event):
11538           Can't access event structure after giving away ownership of
11539           the event.
11540
11541 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
11542
11543         * docs/random/ensonic/embedded.txt:
11544         * docs/random/ensonic/profiling.txt:
11545         * docs/random/ensonic/receipies.txt:
11546           more thinking
11547
11548 2006-11-13  Wim Taymans  <wim@fluendo.com>
11549
11550         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11551
11552         * gst/gstpad.c:
11553         Fix documentation for gst_pad_dispatcher. Fixes #374475.
11554
11555 2006-11-13  Wim Taymans  <wim@fluendo.com>
11556
11557         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
11558
11559         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11560         Store new length in segment duration so we don't keep on calling the
11561         potentially expensize get_size() call. Fixes #370865.
11562
11563 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
11564
11565         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
11566
11567         * win32/common/libgstreamer.def:
11568           Add two missing symbols (#366492).
11569
11570 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
11571
11572         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
11573         (gst_adapter_take_buffer):
11574         Fix format string to use all its arguments.
11575         Remove useless >= check on a guint
11576
11577 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11578
11579         * tests/examples/adapter/.cvsignore:
11580         Ignore build file as commanded by the build-bot
11581
11582 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11583
11584         * tests/examples/adapter/Makefile.am:
11585         * tests/examples/adapter/adapter_test.c: (run_test_take),
11586         (run_test_take_buffer), (run_tests), (main):
11587
11588         Add new files from the previous commit
11589
11590 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
11591
11592         * Makefile.am:
11593         * configure.ac:
11594         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
11595         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
11596         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
11597         * libs/gst/base/gstadapter.h:
11598         * tests/check/libs/adapter.c: (create_and_fill_adapter),
11599         (GST_START_TEST), (gst_adapter_suite):
11600         * tests/examples/Makefile.am:
11601         Do some optimisation work in GstAdapter to avoid copies in more cases.
11602         It could still do slightly better by merging buffers when
11603         gst_buffer_is_span_fast is true, but is already faster. 
11604
11605         Also, avoid traversing a single-linked list to append each incoming 
11606         buffer inside the adapter.
11607
11608         Add simple test app that times the adapter behaviour in different
11609         situations, and extend the unit test to check that bytes enter and
11610         exit the adapter in their original order.
11611
11612 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
11613
11614         * docs/random/draft-missing-plugins.txt:
11615           Update: use element message instead of adding a new message
11616           type to the core; don't provide GStreamer API to initiate the
11617           plugin download, just provide API to compose the strings needed
11618           and let an external libgimmestuff handle the rest.
11619
11620 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
11621
11622         * tools/gst-inspect.c: (print_element_properties_info):
11623         Print a string instead of 'unknown type' for GValueArray properties
11624
11625 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
11626
11627         * docs/random/draft-missing-plugins.txt:
11628         More small fixes.
11629
11630 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11631
11632         * tests/examples/typefind/typefind.c: (type_found), (main):
11633           Make typefind element example work again (#371894); add a
11634           license header.
11635
11636 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
11637
11638         * docs/random/draft-missing-plugins.txt:
11639           Commit initial draft about how to deal with missing plugins,
11640           needs work (API too).
11641
11642 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
11643
11644         * docs/pwg/advanced-types.xml:
11645           documents the new caps elements (see #363118)
11646
11647 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * gst/gstplugin.c: (gst_plugin_load_file):
11650         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
11651         (gst_file_src_map_region), (gst_file_src_start):
11652         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
11653         (gst_file_index_commit):
11654           Use g_strerror() instead of strerror() - we want UTF-8.
11655
11656 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
11657
11658         Patch by: Peter Kjellerstedt <pkj at axis com>
11659
11660         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11661           Another printf fix (#371493).
11662
11663 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11664
11665         * tests/check/gst/gsttag.c:
11666           relicence (okay with author=company)
11667
11668 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11669
11670         * gst/gstpad.c: (gst_pad_event_default_dispatch),
11671         (gst_pad_push_event):
11672           Enhance debug and improve docs
11673         
11674         * gst/gsturi.c:
11675           Fix docs
11676
11677 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11678
11679         * docs/random/ensonic/distributed.txt:
11680         * docs/random/ensonic/profiling.txt:
11681           more ideas
11682
11683 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
11684
11685         * docs/gst/gstreamer-sections.txt:
11686           add new API and fix the build
11687           
11688         * gst/gstbin.c: (gst_bin_recalc_state):
11689         * gst/gstelement.c: (gst_element_message_full),
11690         (gst_element_get_state_func), (gst_element_set_state_func):
11691           use new API and improve logging
11692         
11693         * gst/gstutils.c: (gst_element_state_change_return_get_name):
11694         * gst/gstutils.h:
11695           API: add function to get StateChangereturn names to improve logs 
11696
11697 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
11698
11699         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11700           I'm considering shooting the next person to put strerror stuff
11701           in the translateable part of the message.
11702
11703 2006-11-03  Wim Taymans  <wim@fluendo.com>
11704
11705         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
11706         Get the type and printf conversion specifiers right.
11707
11708 2006-11-03  Wim Taymans  <wim@fluendo.com>
11709
11710         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11711
11712         * gst/gstpad.c: (gst_pad_init), (pre_activate),
11713         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
11714         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
11715         Some small cleanups. Improve debugging.
11716         * gst/gstpad.h:
11717         Signal all waiting threads with a broadcast instead of just one.
11718         Fixes #369942.
11719
11720 2006-11-03  Wim Taymans  <wim@fluendo.com>
11721
11722         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
11723         (gst_fd_src_create):
11724         Add some debugging. 
11725         Only update fd when it's different from the old.
11726
11727 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11728
11729         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
11730           Printf fixes for PPC/OSX, take two (#369366).
11731
11732 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
11735
11736         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11737         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11738         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
11739           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
11740           don't cast to long long for portability reasons, but use
11741           GLib's types instead.
11742
11743 2006-10-30  Michael Smith  <msmith@fluendo.com>
11744
11745         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11746           Get the arguments to lseek() the right way around.
11747           Fixes 367677.
11748
11749 2006-10-30  Wim Taymans  <wim@fluendo.com>
11750
11751         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
11752
11753         * gst/gstinfo.h:
11754         _declspec should be __declspec (two underscores, not one). Fixes 366572.
11755
11756 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         Patch by: Kjartan Maraas  <kmaraas at gnome org>
11759
11760         * docs/design/part-MT-refcounting.txt:
11761         * docs/random/wtay/capsnego2-docs:
11762         * gst/gstclock.c:
11763         * gst/gstxml.c:
11764           Typo fixes (#366212).
11765
11766 2006-10-28  Wim Taymans  <wim@fluendo.com>
11767
11768         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11769
11770         * gst/gst.c:
11771         * win32/common/libgstbase.def:
11772         * win32/common/libgstreamer.def:
11773         * win32/vs8/libgstbase.vcproj:
11774         * win32/vs8/libgstcontroller.vcproj:
11775         Add needed entries in .def files.
11776         Use HAVE_UNISTD_H.
11777         Rearrange def files in vs8 solutions. Fixes #366286.
11778
11779 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         * win32/common/gstconfig.h:
11782           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
11783           hand-made win32 gstconfig.h. Fixes #366321.
11784
11785 2006-10-27  Wim Taymans  <wim@fluendo.com>
11786
11787         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
11788         (gst_ghost_pad_new_full):
11789         Make acceptcaps return TRUE when we don't have a target, just like
11790         setcaps does.
11791
11792 2006-10-27  Wim Taymans  <wim@fluendo.com>
11793
11794         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11795         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
11796
11797 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
11798
11799         * gst/gststructure.c: (gst_structure_id_set_value):
11800           If someone tries to set a non-UTF8 string field on a structure,
11801           don't just print a warning, but also ignore the request and do
11802           not change/add that field to the structure.
11803
11804         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
11805           Test for the above.
11806
11807 2006-10-25  David Schleef  <ds@schleef.org>
11808
11809         * gst/gstinfo.c:
11810           g_hash_table_insert() needs a cast to a non-const pointer duh.
11811
11812 2006-10-25  David Schleef  <ds@schleef.org>
11813
11814         * gst/gstinfo.c:
11815         * gst/gstinfo.h:
11816           Change name parameter of _gst_debug_register_funcptr to const
11817           to reflect the constness of its use in the function as well
11818           as to quiet a gcc warning.
11819
11820 2006-10-25  Edward Hervey  <edward@fluendo.com>
11821
11822         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
11823         Don't push the buffer if it's empty.
11824         Closes #363095
11825
11826 2006-10-24  Wim Taymans  <wim@fluendo.com>
11827
11828         * gst/gstevent.h:
11829         Add small comment.
11830
11831         * libs/gst/base/gstbasetransform.c:
11832         (gst_base_transform_sink_eventfunc):
11833         Debug segment values *after* updating them as this is more
11834         interesting.
11835
11836 2006-10-23  Wim Taymans  <wim@fluendo.com>
11837
11838         * docs/design/part-events.txt:
11839         Update some docs.
11840
11841         * docs/design/part-block.txt:
11842         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
11843         (gst_pad_push_event):
11844         Revert BLOCKING patch, it tries to be smart without really having a
11845         clear idea what or how. So, now we discard all FLUSHING events again on
11846         a blocking pad. Should fix gnonlin again.
11847
11848 2006-10-23  Wim Taymans  <wim@fluendo.com>
11849
11850         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
11851
11852         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
11853         (gst_base_src_start), (gst_base_src_activate_push):
11854         Make sure size is always initialized. Fixes #364388.
11855
11856 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
11857
11858         * docs/random/ensonic/distributed.txt:
11859           add some ideas about doing distributed processing
11860
11861         * docs/random/ensonic/profiling.txt:
11862           get_rusage look promising
11863
11864 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11865
11866         * docs/manual/basics-helloworld.xml:
11867           Add a cast in example to fix compile warning
11868
11869 2006-10-18  Wim Taymans  <wim@fluendo.com>
11870
11871         * gst/gstsegment.c: (gst_segment_set_last_stop),
11872         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11873         Relax arg checking again, -1 is allowed.
11874
11875 2006-10-18  Wim Taymans  <wim@fluendo.com>
11876
11877         * gst/gstsegment.c: (gst_segment_set_last_stop),
11878         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
11879         _set_last_stop() must be with a value != -1
11880         A _TYPE_SET to -1 means seek to 0.
11881         Calc last_stop correctly for negative rates.
11882         Make sure we work with positive durations when updating a segment.
11883
11884 2006-10-18  Wim Taymans  <wim@fluendo.com>
11885
11886         * docs/design/part-live-source.txt:
11887         * gst/gstclock.h:
11888         Small docs fixes.
11889
11890 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
11891
11892         * gst/gstbuffer.h:
11893           Add an explicit cast to GstBuffer** to keep old code that added an
11894           explicit cast to GstMiniObject** for gst_mini_object_replace()
11895           compiling without warning.
11896
11897 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
11898
11899         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
11900           check for validity of dates
11901
11902 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11903
11904         * docs/gst/gstreamer-sections.txt:
11905           Forgot this one, makes gtk-doc shut up.
11906
11907 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11908
11909         Patch by: Peter Kjellerstedt <pkj at axis com>
11910
11911         * gst/gstobject.h:
11912           Don't define xmlNodePtr to gpointer if the core was built with
11913           --disable-loadsave and --disable-registry, this will break
11914           applications that want to use libxml2 but are buildling against a
11915           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
11916           instead so we don't have to mess with the libxml2 namespace
11917           (#361675).
11918
11919 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
11920
11921         * gst/gstbuffer.h:
11922           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
11923           type-punned pointer warnings.
11924
11925 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
11926
11927         * gst/gstelement.h:
11928           Add casts to the correct return type to state <=> state transition
11929           macros.
11930
11931 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
11932
11933         * docs/design/part-live-source.txt:
11934           describe howto handle latency
11935         
11936         * docs/random/ensonic/profiling.txt:
11937           more ideas
11938
11939         * tools/gst-plot-timeline.py:
11940           fix log parsing for solaris, remove unused function
11941
11942 2006-10-16  Wim Taymans  <wim@fluendo.com>
11943
11944         * docs/design/part-trickmodes.txt:
11945         * gst/gstevent.c:
11946         Update some docs regarding reverse playback.
11947
11948 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11949
11950         Patch by: Marcus Granado  <mrc dot gran at gmail com>
11951
11952         * win32/vs8/grammar.vcproj:
11953           Error out with a warning if glib-genmarshal.exe is not in path,
11954           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
11955
11956 2006-10-13  Wim Taymans  <wim@fluendo.com>
11957
11958         * gst/gstsegment.c: (gst_segment_set_seek):
11959         When seeking to stop -1, set last_stop (current position) to the
11960         duration of the segment.
11961
11962 2006-10-13  Wim Taymans  <wim@fluendo.com>
11963
11964         * gst/gstelement.h:
11965         Clarify _NO_PREROLL a bit more.
11966
11967         * gst/gstevent.c:
11968         Fix docs.
11969
11970         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
11971         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11972         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
11973         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
11974         due to wrong locking order. Fixes #361769.
11975         Remove some redundant/misplaced checks in pad_block.
11976
11977         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11978         For negative rates, count backwards from the duration.
11979
11980 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11981
11982         * gst/gsterror.c: (_gst_library_errors_init):
11983           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
11984           up with something better).
11985
11986 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11987
11988         * win32/vs6/libgstreamer.dsp:
11989         * win32/vs7/libgstreamer.vcproj:
11990         * win32/vs8/libgstreamer.vcproj:
11991           Don't reference glib-compat.c which is currently not used and not
11992           disted; add gstquark.c which was recently added. Fixes #361730.
11993
11994 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
11995
11996         * win32/common/libgstbase.def:
11997         * win32/common/libgstcontroller.def:
11998         * win32/common/libgstreamer.def:
11999           Add gst_caps_merge() and a bunch of other recently-added functions.
12000           Fixes #361732.
12001
12002 2006-10-11  Wim Taymans  <wim@fluendo.com>
12003
12004         * docs/plugins/gstreamer-plugins.args:
12005         * docs/plugins/inspect/plugin-coreelements.xml:
12006         * docs/plugins/inspect/plugin-coreindexers.xml:
12007         Update element args.
12008
12009         * gst/gstsystemclock.c:
12010         Small comment update.
12011
12012         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
12013         (gst_tee_request_new_pad), (gst_tee_release_pad),
12014         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
12015         (gst_tee_sink_activate_pull):
12016         * plugins/elements/gsttee.h:
12017         Some tee loving:
12018         Add default property defines.
12019         Implement release pad function.
12020         Give properties better blubs etc.
12021         Activate pads before adding them to a running tee.
12022         Do simple buffer_alloc on the first requested pad.
12023         Post error when activation fails.
12024
12025 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12026
12027         * gst/gst.c: (ensure_current_registry_forking):
12028           Check return value of write() to make compiler happy.
12029
12030 2006-10-11  Wim Taymans  <wim@fluendo.com>
12031
12032         Patch by: Sjoerd Simons <sjoerd at luon dot net>
12033
12034         * plugins/elements/gstqueue.c: (gst_queue_chain):
12035         Recheck queue filledness after signalling the overrun when we're about
12036         to leak downstream because we released the lock when emitting the signal
12037         and the queue could be empty again. Fixes #352345.
12038
12039 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
12040
12041         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12042           Fix refcounting here too, just like we did for _new_valist() a few
12043           days ago (#357180) (thanks to René Stadler). Also remove all those
12044           'Since: 0.9' from the gtk-doc blobs.
12045
12046         * tests/check/libs/controller.c: (controller_refcount_new_list),
12047         (gst_controller_suite):
12048           Unit test for the above.
12049
12050 2006-10-10  Wim Taymans  <wim@fluendo.com>
12051
12052         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
12053
12054         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
12055         (gst_pad_save_thyself):
12056         Update some docs.
12057         Write pad direction in XML output. Fixes #345496.
12058
12059 2006-10-10  Wim Taymans  <wim@fluendo.com>
12060
12061         Patch by: René Stadler <mail at renestadler dot de>
12062
12063         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12064         (gst_controller_new_list), (_gst_controller_dispose),
12065         (_gst_controller_finalize), (_gst_controller_class_init):
12066         Take ref to controlled object so that it cannot disappear. 
12067         Fixes #357432.
12068
12069 2006-10-10  Wim Taymans  <wim@fluendo.com>
12070
12071         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
12072         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12073         (gst_check_teardown_sink_pad):
12074         Activate/deactivate pads in setup/teardown respectively.
12075
12076 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12077
12078         Patch by: Josep Torra Valles <josep@fluendo.com>
12079
12080         * gst/Makefile.am:
12081         Cast values when making gstenumtypes.h.  This pacifies Forte
12082         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
12083         in the enumeration.
12084
12085 2006-10-09  Wim Taymans  <wim@fluendo.com>
12086
12087         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
12088         Rename some more @cur to @start to fix docs. 
12089
12090         * gst/gstsegment.c: (gst_segment_set_seek):
12091         Fix typo.
12092         time and start must always stay in sync as defined in design doc.
12093
12094         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12095         Rename param to fix docs.
12096
12097         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12098         Check that start and time are in sync.
12099
12100         * tests/check/pipelines/parse-launch.c:
12101         (gst_parse_test_element_change_state):
12102         Activate pad before adding to the element.
12103
12104 2006-10-09  Wim Taymans  <wim@fluendo.com>
12105
12106         * docs/design/part-qos.txt:
12107         Fix typo.
12108
12109         * gst/gstevent.c:
12110         * gst/gstevent.h:
12111         Update seek event docs regarding negative rates.
12112         Rename @cur to @start. 
12113
12114         * gst/gstsegment.c: (gst_segment_set_seek):
12115         * gst/gstsegment.h:
12116         Update set_seek docs regarding negative rates.
12117         Correctly update last_stop to @stop when dealing with negative
12118         rates.
12119         Rename @cur to @start. 
12120
12121         * tests/check/gst/gstpad.c: (GST_START_TEST):
12122         Activate pads before trying to use them.
12123
12124         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12125         (gst_segment_suite):
12126         Add simple check for segments and negative rates.
12127
12128 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
12129
12130         * gst/gsttaglist.c: (gst_tag_list_is_empty):
12131         * gst/gsttaglist.h:
12132         * docs/gst/gstreamer-sections.txt:
12133           API: add gst_tag_list_is_empty() (#360467).
12134
12135         * tests/check/gst/gsttag.c: (GST_START_TEST):
12136           And a test case.
12137
12138 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12139
12140         * gst/gstmessage.h:
12141         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
12142         a value that doesn't fit on enumeration.
12143
12144 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12145
12146         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12147         Remove local debugging system and use Gstreamer's instead.
12148
12149 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12150
12151         Patch by: Josep Torra Valles <josep@fluendo.com>
12152
12153         * common/m4/gst-error.m4:
12154         Disable warning of statement not reached on Forte.
12155         * gst/gstmessage.h:
12156         Fix warning on Forte (value doesn't fit on enumeration).
12157         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
12158         Fix warning on Forte (value doesn't fit on enumeration).
12159         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12160         DEBUG macro says it takes minimum of 2 args and so Forte
12161         complains about the use with just 1 arg.
12162         * plugins/elements/gstfdsink.c:
12163         * plugins/elements/gstfdsrc.c:
12164         * plugins/elements/gstfilesink.c:
12165         * plugins/elements/gstfilesrc.c:
12166         Use correct return type for the uri handler implementations.
12167
12168         All these fix warnings in Forte.  Fixes bug #360860.
12169
12170 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12171
12172         * gst/gstelement.h:
12173           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
12174           format string, so don't use G_GNUC_PRINTF for those versions.
12175
12176 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12177
12178         * gst/gsttaglist.c: (gst_is_tag_list):
12179         * gst/gsttaglist.h:
12180           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
12181
12182         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12183           Small test for the above.
12184
12185 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         * gst/gsttaglist.h:
12188           Less tabs, more spaces.
12189
12190 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
12191
12192         * gst/gstinfo.h:
12193           Those two function declarations do actually belong there, revert
12194           commit from yesterday that turned them intro macros.
12195
12196 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12197
12198         Patch by: Josep Torra Valles <josep@fluendo.com>
12199
12200         * gst/gst.c: (gst_init_get_option_group):
12201         Fix empty declaration and type mismatch.
12202         * gst/gstbin.c: (gst_bin_change_state_func):
12203         Fix type mismatch.
12204         * gst/gstelement.c: (gst_element_continue_state),
12205         (gst_element_set_state_func), (gst_element_change_state),
12206         (gst_element_change_state_func):
12207         Fix type mismatches.
12208         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
12209         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
12210         Cast as appropriate.
12211         * gst/gstobject.c: (gst_class_signal_connect):
12212         Cast as appropriate.  The function pointer parameter really
12213         has the wrong type but would break API if we change it.
12214         * gst/gstquery.c:
12215         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
12216         order of including string.h.
12217         * gst/gstutils.c: (gst_element_state_get_name):
12218         Remove unreachable line.
12219         * gst/gstxml.c: (gst_xml_parse_doc):
12220         Fix type mismatch.
12221         All these caught by Forte.
12222
12223 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12224
12225         Patch by: Josep Torra Valles <josep@fluendo.com>
12226
12227         * common/m4/gst-error.m4:
12228         Fixed bug #360151.
12229         We need to disable warnings on Forte for empty declarations
12230         due to gst-indent adding ;s to lines that just use macros
12231         where the macro actually doesn't need a ; at end to end
12232         statement.
12233
12234 2006-10-06  Wim Taymans  <wim@fluendo.com>
12235
12236         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12237         (gst_file_sink_close_file), (gst_file_sink_event),
12238         (gst_file_sink_render):
12239         Add some FIXME for the NEWSEGMENT handling.
12240
12241 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12242
12243         * gst/parse/grammar.y:
12244         Remove static function gst_parse_element_lock as all it does
12245         is return.  Looks like cruft from 0.8.
12246
12247 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12248
12249         Patch by: Josep Torra Valles <josep@fluendo.com>
12250
12251         * common/m4/gst-error.m4:
12252         * configure.ac:
12253         * libs/gst/net/Makefile.am:
12254         Fix a compilation issue with Forte on Solaris.  inet_aton is in
12255         libresolv.
12256
12257 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12258
12259         * gst/gstpad.c: (pre_activate):
12260         * gst/gstregistry.c: (gst_registry_scan_path_level):
12261         * gst/gstregistryxml.c: (load_plugin):
12262         * libs/gst/controller/gstcontroller.c:
12263         (gst_controlled_property_set_interpolation_mode):
12264         * libs/gst/dataprotocol/dataprotocol.c:
12265         (gst_dp_packet_from_event_1_0):
12266         * libs/gst/net/gstnetclientclock.c:
12267         (gst_net_client_clock_observe_times):
12268         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
12269           Printf fixes.
12270
12271 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
12272
12273         * configure.ac:
12274         * docs/gst/gstreamer-sections.txt:
12275         * gst/gstconfig.h.in:
12276         * gst/gstelement.h:
12277         * gst/gstinfo.h:
12278           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
12279           whether we can use G_GNUC_PRINTF in other header files and at
12280           least check the printf format/arguments of debug messages and
12281           GST_ELEMENT_ERROR messages when the printf extension is not
12282           being used.
12283           Replace more tabs with spaces in gstinfo.h and remove two spurious
12284           function declarations in GST_DISABLE_DEBUG part with macros.
12285
12286 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
12287
12288         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
12289           More docs for the sync-message signal (mention that it is not
12290           emitted by default); log message structures of messages posted on
12291           the bus as well.
12292
12293 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
12294
12295         * gst/gst.c: (ensure_current_registry_forking):
12296         Use a pipe pair to receive status results from the forked child, and
12297         ignore the result from waitpid. Fixes #355499
12298
12299 2006-10-02  Wim Taymans  <wim@fluendo.com>
12300
12301         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12302         (gst_ghost_pad_suite):
12303         Fix leak in check.
12304
12305 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12306
12307         * gst/gstpad.c:
12308           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
12309
12310 2006-10-02  Edward Hervey  <edward@fluendo.com>
12311
12312         * docs/design/part-block.txt:
12313         Further explain the use of flushing on blocked pads.
12314         * docs/gst/gstreamer-sections.txt:
12315         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
12316         (gst_pad_push_event):
12317         * gst/gstpad.h:
12318         Added new GstPadFlag : GST_PAD_BLOCKING.
12319         Adds the notion of pads really blocking, which enables to properly
12320         handle FLUSH_START/FLUSH_STOP events on blocked pads.
12321         Fixes #358999
12322         API: gst_pad_is_blocking()
12323         API: GST_PAD_IS_BLOCKING() macro
12324         API: GST_PAD_BLOCKING GstPadFlag
12325         
12326 2006-10-02  Wim Taymans  <wim@fluendo.com>
12327
12328         Patch by: mrcgran <mrc.gran at gmail dot com>
12329
12330         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
12331         Filter the proxied caps against the padtemplate if we have one.
12332
12333         * gst/gstquery.c: (gst_query_new_segment):
12334         Add include for gstinfo.h so that compilation with
12335         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
12336
12337 2006-10-02  Wim Taymans  <wim@fluendo.com>
12338
12339         Patch by: Alessandro Decina  <alessandro at nnva org>
12340
12341         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
12342         (gst_file_sink_set_location), (gst_file_sink_open_file),
12343         (gst_file_sink_close_file), (gst_file_sink_event),
12344         (gst_file_sink_render):
12345         Set file to NULL when closing filesink so that we can set a new filename
12346         in READY. Fixes #358613.
12347
12348 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12349
12350         Patch by: Alessandro Decina  <alessandro at nnva org>
12351
12352         * gst/gstevent.c: (_gst_event_copy):
12353           Fix gst_mini_object_make_writable() and gst_event_copy() for events
12354           with event structures by setting the parent refcount address of the
12355           copied structure to the address of the refcount member of the newly
12356           copied event rather than the address of the refcount member of the
12357           original event. Fixes #358737.
12358
12359         * tests/check/gst/gstevent.c: (GST_START_TEST):
12360           Unit test for the above.
12361
12362 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
12363
12364         * docs/design/Makefile.am:
12365           Dist some more files.
12366
12367 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12368
12369         * tests/check/libs/controller.c: (GST_START_TEST),
12370         (gst_controller_suite):
12371           Add test for the previous fix; add some more tests
12372           for correct refcounting behaviour; fix a few leaks
12373           in test cases; call gst_controller_init() at start
12374           of all tests.
12375
12376 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12377
12378         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12379         (gst_controller_set_from_list):
12380           Don't g_return_val_if_fail() on timed values with invalid timestamps
12381           inside a critical section without unlocking the mutex. Spotted by
12382           René Stadler. (#357617)
12383           Also, fix up refcounting properly: when returning an existing
12384           controller, we should increase the reference only once and not
12385           once per property and when trying to control a property again
12386           we should also increase the refcount.
12387
12388 2006-09-29  Wim Taymans  <wim@fluendo.com>
12389
12390         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
12391         * libs/gst/net/gstnettimeprovider.c:
12392         (gst_net_time_provider_thread):
12393         Stop reading commands when EOF as well.
12394
12395         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12396         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12397         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12398         Unify description of the dump property.
12399
12400 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12401
12402         * tests/examples/manual/.cvsignore:
12403         OK, so it's actually cvsignore that needs changing. Stop laughing.
12404
12405 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12406
12407         * tests/examples/manual/Makefile.am:
12408         Gah, declare vars *before* using them
12409
12410 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12411
12412         * gst/gst.c: (init_pre), (scan_and_update_registry),
12413         (ensure_current_registry_nonforking),
12414         (ensure_current_registry_forking), (ensure_current_registry),
12415         (init_post), (gst_debug_help), (gst_deinit):
12416         * gst/gst_private.h:
12417         * gst/gstregistry.c: (gst_registry_finalize),
12418         (gst_registry_remove_features_for_plugin_unlocked),
12419         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12420         (gst_registry_scan_path),
12421         (_priv_gst_registry_remove_cache_plugins),
12422         (_priv_gst_registry_cleanup):
12423         * gst/gstregistry.h:
12424         Re-commit the registry changes, along with an extra fix:
12425           When a cached plugin is encountered at a different file path,
12426           update the stored path in the registry cache so that the parent
12427           process knows where it actually is now when it re-reads the registry
12428           cache. Fixes the thing that broke distcheck with the previous commit.
12429
12430         * tests/check/Makefile.am:
12431         Clean up files named 'core' too when running make clean.
12432
12433         * tests/examples/manual/Makefile.am:
12434         Set up a registry path for running these tests, and clean it properly
12435         for distcheck.
12436
12437 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
12438
12439         * configure.ac:
12440         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
12441         want gmodule-no-export-2.0.pc instead so that we don't drag in
12442         --export-dynamic on every project that links to GStreamer.
12443
12444         Also, make our export regex only match the start of symbols, rather 
12445         than any symbol that contains '_gst' somewhere.
12446
12447         * libs/gst/check/Makefile.am:
12448         The libgstcheck we build does however need export-dynamic, as it
12449         produces some symbols that don't match our _gst... style regex.
12450         Fixes: #318031
12451
12452 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12453
12454         * gst/gst.c: (init_pre), (scan_and_update_registry),
12455         (ensure_current_registry_nonforking),
12456         (ensure_current_registry_forking), (ensure_current_registry),
12457         (init_post), (gst_debug_help), (gst_deinit):
12458         * gst/gst_private.h:
12459         * gst/gstregistry.c: (gst_registry_finalize),
12460         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12461         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
12462         (_gst_registry_cleanup):
12463         * gst/gstregistry.h:
12464           Revert previous change until I figure out why it breaks distcheck.
12465
12466 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
12467
12468         * gst/gst.c: (init_pre), (scan_and_update_registry),
12469         (ensure_current_registry_nonforking),
12470         (ensure_current_registry_forking), (ensure_current_registry),
12471         (init_post), (gst_debug_help), (gst_deinit):
12472
12473           Make init_pre and init_post take the full complement of GOptionFunc
12474           args so they can return useful GErrors. Make the registry updating
12475           functions do so.
12476
12477           Call _priv_gst_registry_remove_cache_plugins after scanning files to
12478           ensure that the registry we're about to write out doesn't contain
12479           stale information about old-deleted plugin files.
12480
12481           Make _priv_gst_registry_remove_cache_plugins return a boolean so
12482           that deletion of plugin files is considered a registry change.
12483
12484         * gst/gst_private.h:
12485         * gst/gstregistry.c: (gst_registry_finalize),
12486         (gst_registry_remove_features_for_plugin_unlocked),
12487         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
12488         (gst_registry_scan_path),
12489         (_priv_gst_registry_remove_cache_plugins),
12490         (_priv_gst_registry_cleanup):
12491         * gst/gstregistry.h:
12492         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
12493         by adding _priv prefix, so that they won't appear in the global
12494         symbol table. They still do atm though because of #318031. Move the
12495         prototypes to gst_private.h
12496
12497         When removing a plugin, remove all features for that plugin too. 
12498         Fixes #340878.
12499
12500 2006-09-27  Wim Taymans  <wim@fluendo.com>
12501
12502         * docs/random/moving-plugins:
12503         Make it clear that the "compiled-in descriptions" really mean
12504         the element details.
12505
12506         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12507         (gst_base_sink_wait_preroll):
12508         Update docs.
12509
12510         * docs/libs/gstreamer-libs-sections.txt:
12511         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
12512         (gst_base_src_get_range), (gst_base_src_activate_push):
12513         * libs/gst/base/gstbasesrc.h:
12514         Added function to block while waiting for PLAYING, this function
12515         is used by live sources that block on the clock.
12516         API: gst_base_src_wait_playing()
12517
12518 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12519
12520         Patch by: Peter Kjellerstedt <pkj at axis com>
12521
12522         * Makefile.am:
12523           gst-element-check.m4 is generated and should therefore be
12524           copied from the build dir rather than the source dir (#357593).
12525           'make distcheck' hasn't noticed this because we were disting
12526           the file as well, so stop doing that.
12527
12528 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12529
12530         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12531           Add some tests for gst_caps_intersect().
12532
12533         * tools/gst-launch.c: (event_loop):
12534           Print all buffering percentages we get, even the 100% one.
12535
12536 2006-09-26  Wim Taymans  <wim@fluendo.com>
12537
12538         * tools/gst-inspect.c: (print_element_properties_info),
12539         (print_signal_info):
12540         Fix printing of flags to match the look of enums.
12541
12542 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12543
12544         * gst/gstelementfactory.c:
12545           Fix typo in docs blurb.
12546
12547 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12548
12549         * gst/gsturi.c: (search_by_entry):
12550           Don't assert/crash here if a uri handler doesn't return any
12551           supported protocols. The list of protocols could be generated
12552           dynamically at runtime or at plugin registration, and an error
12553           in the underlying library shouldn't be fatal (#353301).
12554
12555 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
12556
12557         * gst/gstinfo.c:
12558           Fix warning if HAVE_PRINTF_EXTENSION is undefined
12559           (spotted by Peter Kjellerstedt).
12560
12561 2006-09-23  Wim Taymans  <wim@fluendo.com>
12562
12563         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
12564
12565         * libs/gst/base/gstbasesrc.c:
12566         (gst_base_src_default_check_get_range), (gst_base_src_start),
12567         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12568         (gst_base_src_change_state):
12569         Match _start/_stop calls in the activate functions. Remove redundant
12570         _stop call from the state change function. Fixes #356910.
12571         Turn failure DEBUG into ERROR. 
12572
12573 2006-09-22  Wim Taymans  <wim@fluendo.com>
12574
12575         * docs/design/part-buffering.txt:
12576         * gst/gstmessage.c: (gst_message_new_buffering),
12577         (gst_message_parse_buffering):
12578         Update docs about buffering.
12579
12580         * docs/design/part-trickmodes.txt:
12581         Fix typo.
12582
12583 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
12584
12585         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12586         (gst_controller_new_list):
12587           Ref instances when returning them again (fixes #357180)
12588
12589 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12590
12591         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
12592           Don't forget to release proxy lock when there's an error.
12593
12594 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
12595
12596         * gst/gstcaps.h:
12597           Add extra initialisers for Caps things, to fix some plugin warnings
12598           when using -Wextra
12599
12600 2006-09-18  Wim Taymans  <wim@fluendo.com>
12601
12602         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
12603           Also set template on the internal pad so that a getcaps from the 
12604           target pad returns the template caps.
12605
12606 2006-09-18  Wim Taymans  <wim@fluendo.com>
12607
12608         * gst/gstelement.c: (gst_element_post_message),
12609         (gst_element_dispose):
12610         Use _DEBUG_OBJECT some more.
12611
12612         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12613         Avoid typechecks.
12614
12615         * tools/gst-launch.c: (main):
12616         If the toplevel element is not a GstPipeline, it must be put in a
12617         pipeline so that a bus and clock is selected.
12618
12619 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12620
12621         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
12622           JITTER, RATE, and LATENCY query should be handled by the
12623           default case and not by the CONVERT query code.
12624
12625 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
12626
12627         * gst/gstformat.c: (gst_format_register):
12628           Fix locking order (must take lock before using n_values).
12629
12630         * gst/gstvalue.c: (gst_value_serialize_enum),
12631         (gst_value_deserialize_enum_iter_cmp),
12632         (gst_value_deserialize_enum):
12633           Fix serialisation/deserialisation of custom registered GstFormats.
12634
12635         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12636           Unit test for custom format serialisation/deserialisation.
12637
12638 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
12639
12640         * docs/pwg/building-boiler.xml:
12641         * plugins/elements/gstcapsfilter.c:
12642         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
12643         section.
12644
12645 2006-09-16  Edward Hervey  <edward@fluendo.com>
12646
12647         * libs/gst/base/gstbasetransform.c:
12648         (gst_base_transform_buffer_alloc):
12649         Check if requested caps are the same as the sinks caps IF
12650         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
12651         is FALSE.
12652         This fixes the renegotiation issues stated in #352827.
12653
12654 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12655
12656         * configure.ac:
12657         * docs/manual/advanced-autoplugging.xml:
12658         * tests/examples/Makefile.am:
12659         * tests/examples/manual/.cvsignore:
12660         * tests/examples/manual/Makefile.am:
12661         * tests/examples/manual/extract.pl:
12662           Extract the manual examples again like we used to do.
12663           Fix one of them.
12664
12665 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
12666
12667         * win32/common/config.h:
12668           update for version
12669
12670 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
12671
12672         * gst/gsterror.c:
12673           Documents how to receive errors.
12674
12675 2006-09-15  Wim Taymans  <wim@fluendo.com>
12676
12677         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
12678         (event_loop), (main):
12679         Added some comments here and there.
12680         Post an application message when an interrupt is caught instead of doing
12681         an uncontrolled state change.
12682         Clean up the event loop.
12683         Handle buffering messages, pause/resume the pipeline.
12684         Make shutdown because of an interrupt more reliable.
12685
12686 2006-09-15  Wim Taymans  <wim@fluendo.com>
12687
12688         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
12689         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
12690         (gst_base_sink_preroll_object):
12691         Make sure that our internal state is correct when we commit our state
12692         asynchronously. This solves a race where a state change to PLAYING
12693         could cause the sink to remain blocked in preroll in some situations.
12694
12695 2006-09-15  Wim Taymans  <wim@fluendo.com>
12696
12697         * tools/gst-inspect.c: (print_element_properties_info),
12698         (print_signal_info):
12699         List flags as hex so it's easier to deal with.
12700
12701 2006-09-15  Wim Taymans  <wim@fluendo.com>
12702
12703         * docs/libs/gstreamer-libs-sections.txt:
12704         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
12705         (gst_base_sink_do_sync):
12706         * libs/gst/base/gstbasesink.h:
12707         Expose logic to wait for preroll so that subclasses such as audiosink
12708         can also use this method.
12709         API: gst_base_sink_wait_preroll()
12710
12711 2006-09-15  Wim Taymans  <wim@fluendo.com>
12712
12713         * gst/gstobject.c: (gst_object_set_parent):
12714         * gst/gstpipeline.c: (do_pipeline_seek):
12715         Small cleanups in docs and code.
12716
12717         * gst/gstsegment.c: (gst_segment_clip):
12718         * tests/check/gst/gstsegment.c: (GST_START_TEST):
12719         if stop == start and start is in the segment, no clipping should be
12720         done. Also add a test for this.
12721
12722 2006-09-15  Wim Taymans  <wim@fluendo.com>
12723
12724         * docs/design/part-buffering.txt:
12725         * docs/gst/gstreamer-sections.txt:
12726         * gst/gstmessage.c: (gst_message_new_buffering),
12727         (gst_message_parse_buffering):
12728         * gst/gstmessage.h:
12729         Added methods to create and parse BUFFERING messages.
12730         Added preliminary docs about buffering.
12731         API: gst_message_new_buffering
12732         API: gst_message_parse_buffering
12733
12734 2006-09-06  Wim Taymans  <wim@fluendo.com>
12735
12736         * gst/gstbin.c:
12737         Update documentation.
12738
12739         * gst/gstelement.c: (gst_element_class_init),
12740         (gst_element_release_request_pad), (gst_element_set_clock),
12741         (gst_element_get_index), (gst_element_add_pad),
12742         (gst_element_remove_pad), (gst_element_get_random_pad),
12743         (gst_element_send_event), (gst_element_get_query_types),
12744         (gst_element_query), (gst_element_post_message),
12745         (gst_element_message_full), (gst_element_continue_state),
12746         (gst_element_lost_state), (gst_element_save_thyself),
12747         (gst_element_restore_thyself):
12748         Documentation updates.
12749         Rename last bit of the new-pad -> pad-added signal rename.
12750         Fix the case where an element query would only work if the source
12751         pad was linked.
12752         Avoid some useless type checking in message handling.
12753
12754         * gst/gstevent.c:
12755         * gst/gstevent.h:
12756         * gst/gstutils.c:
12757         Documentation updates.
12758
12759 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12760
12761         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
12762           add an INFO line for when we actually update the fd
12763
12764 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12765
12766         * configure.ac:
12767           back to TRUNK
12768
12769 === release 0.10.10 ===
12770
12771 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
12772
12773         * configure.ac:
12774           releasing 0.10.10, "Pais"
12775
12776 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
12777
12778         * docs/manual/advanced-position.xml:
12779           Fix typo in sample code.
12780
12781 2006-09-05  Wim Taymans  <wim@fluendo.com>
12782
12783         * libs/gst/net/gstnetclientclock.c: (inet_aton),
12784         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
12785         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
12786         * libs/gst/net/gstnetclientclock.h:
12787         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12788         * libs/gst/net/gstnettimepacket.h:
12789         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
12790         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
12791         (gst_net_time_provider_thread), (gst_net_time_provider_new):
12792         * libs/gst/net/gstnettimeprovider.h:
12793         Make stuff compile on windows. Fixes #345295.
12794
12795 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12796
12797         * gst/gst.c: (ensure_current_registry_forking):
12798           Print better details when child was terminated by signal.
12799
12800 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12801
12802         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
12803           Print a warning rather than g_assert() if a plugin feature
12804           is a URI handler but returns no protocols (#353976).
12805
12806 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
12807
12808         * docs/random/moving-plugins:
12809         Fix two typos.         
12810
12811 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12812
12813         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
12814           Fix locking order, handle NULL function values properly.
12815
12816         * gst/gstinfo.h:
12817           Fix docs.
12818
12819         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
12820           Initialise variable before using it and fix debug statement to
12821           print the address of the function rather than the address of the
12822           variable on the stack holding the address of the function.
12823
12824 2006-09-01  Wim Taymans  <wim@fluendo.com>
12825
12826         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
12827         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
12828         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
12829         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
12830         (gst_ghost_pad_parent_unset),
12831         (gst_ghost_pad_internal_do_activate_push),
12832         (gst_ghost_pad_internal_do_activate_pull),
12833         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12834         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12835         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12836         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
12837         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
12838         (gst_ghost_pad_new_no_target_from_template),
12839         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
12840         More cleanups.
12841         Avoid needless typechecking in macros.
12842         Since the internal pad is always present and never changes, there is
12843         no need to locking or ref when retrieving it.
12844         Improve debugging a bit.
12845         Handle link errors when setting the target. Fixes #341029.
12846
12847 2006-09-01  Wim Taymans  <wim@fluendo.com>
12848
12849         * docs/libs/gstreamer-libs-sections.txt:
12850         * docs/plugins/gstreamer-plugins-sections.txt:
12851         Fix docs some more.
12852
12853         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12854         (gst_collect_pads_event):
12855         * libs/gst/base/gstcollectpads.h:
12856         Documentation updates.
12857         Free queued buffer when removing a pad.
12858
12859 2006-08-31  Michael Smith  <msmith@fluendo.com>
12860
12861         * gst/gstutils.c: (gst_element_link_pads),
12862         (gst_element_link_pads_filtered):
12863           Ensure that we set a capsfilter to NULL if we failed to link it
12864           when doing filtered linking, to avoid criticals.
12865
12866           No need to check for unreffing srcpad, which is explicly NULLed
12867           above (a trivial code cleanup).
12868
12869 2006-08-31  Wim Taymans  <wim@fluendo.com>
12870
12871         * docs/design/part-gstghostpad.txt:
12872         Update ascii art in documentation.
12873
12874         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
12875         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
12876         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12877         (gst_ghost_pad_internal_do_activate_push),
12878         (gst_ghost_pad_internal_do_activate_pull),
12879         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12880         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12881         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
12882         (gst_ghost_pad_set_target):
12883         Small cleanups and leak fixes.
12884         Remove some checks now that the internal pad is never NULL.
12885         Fix the case where linking pads without a target would create nasty
12886         criticals. Fixes #341029.
12887         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
12888         value of _set_target().
12889
12890         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12891         (gst_ghost_pad_suite):
12892         Some more tests for creating and linking untargeted ghostpads.
12893
12894 2006-08-31  Edward Hervey  <edward@fluendo.com>
12895
12896         * docs/gst/gstreamer-sections.txt:
12897         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
12898         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12899         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
12900         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
12901         (gst_ghost_pad_new_from_template),
12902         (gst_ghost_pad_new_no_target_from_template):
12903         * gst/gstghostpad.h:
12904         Refactored *_new() functions.
12905         Templates are now used as a g_object_new() parameter.
12906         Use template in _do_getcaps() if we don't have a target.
12907         Small documentation cleanups.
12908         Added two new constructors:
12909         gst_ghost_pad_new_from_template()
12910         gst_ghost_pad_new_no_target_from_template()
12911         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
12912         (gst_ghost_pad_suite):
12913         Added tests for new ghostpad instanciation functions.
12914
12915         API additions: gst_ghost_pad_new_from_template,
12916         gst_ghost_pad_new_no_target_from_template
12917
12918 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
12919
12920         * docs/random/ensonic/profiling.txt:
12921           Ideas about qos profiling.
12922
12923 2006-08-29  Wim Taymans  <wim@fluendo.com>
12924
12925         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
12926         Code cleanups.
12927         Fix memleak.
12928
12929 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
12930
12931         * gst/gstxml.c:
12932           Improve and detypofy docs.
12933
12934         * tests/check/Makefile.am:
12935         * tests/check/gst/.cvsignore:
12936         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
12937           Add a basic test suite for GstXML.
12938
12939 2006-08-29  Wim Taymans  <wim@fluendo.com>
12940
12941         * gst/gstelement.c: (activate_pads), (clear_caps),
12942         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12943         Clear the pad caps when the element shut down all of the pads and
12944         is not streaming data that could modify the caps. 
12945         Fixes #352958.
12946
12947 2006-08-28  Michael Smith  <msmith@fluendo.com>
12948
12949         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12950           Revert previous change; I misunderstood single-segment mode.
12951
12952 2006-08-28  Michael Smith  <msmith@fluendo.com>
12953
12954         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12955           Unset DISCONT on buffers when using single-segment mode.
12956
12957 2006-08-28  Wim Taymans  <wim@fluendo.com>
12958
12959         * gst/gstcaps.c: (gst_caps_merge_structure):
12960         * gst/gstcaps.h:
12961         Fix docs and indentation again.
12962
12963         * tests/check/gst/gstquery.c: (GST_START_TEST):
12964         Fix leak in tests and add some more tests.
12965
12966 2006-08-28  Edward Hervey  <edward@fluendo.com>
12967
12968         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12969         Inform GstSegment of the last stop position in order for the current
12970         segment to have a proper duration if it doesn't have a specific stop
12971         position from which a duration could be calculated.
12972         This bug was noticeable when a non-flushing, non-update new segment was
12973         followed by another segment (all buffers from the new segment were being
12974         dropped).
12975
12976 2006-08-28  Wim Taymans  <wim@fluendo.com>
12977
12978         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12979         Small comment update.
12980
12981         * plugins/elements/gstidentity.c: (gst_identity_class_init),
12982         (gst_identity_transform_ip):
12983         Drop-probability is broken, mention this in the code with a 
12984         FIXME and also in the property description.
12985         Make silent also be silent about the drop messages.
12986
12987 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
12988
12989         * docs/manual/appendix-win32.xml:
12990           Remove mention of popt, we don't depend on that any
12991           longer (#353136). Add some comments pointing out that
12992           this section is slightly outdated.
12993
12994 2006-08-28  Wim Taymans  <wim@fluendo.com>
12995
12996         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
12997
12998         * gst/gstquery.c: (gst_query_new_segment):
12999         * tests/check/gst/gstquery.c: (GST_START_TEST):
13000         Initialize variables when creating a new segment query.
13001         Fixes #353121.
13002
13003 2006-08-28  Wim Taymans  <wim@fluendo.com>
13004
13005         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
13006
13007         * gst/gstelement.c: (gst_element_get_bus):
13008         * tests/check/gst/gstelement.c: (GST_START_TEST):
13009         Check for NULL before _reffing the bus. Fixes #353122.
13010
13011 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
13012
13013         * docs/manual/basics-bus.xml:
13014           Docs update: fix wrong callback return value explanation; add
13015           some lines about the implicit relationship between main loop
13016           and main context; remove duplicate main loop variable declaration.
13017
13018 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
13019
13020         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13021           Don't leak caps in unit test; add a few more simple
13022           checks. 
13023
13024 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
13025
13026         * docs/gst/gstreamer-sections.txt:
13027         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
13028         (gst_caps_structure_is_subset), (gst_caps_merge),
13029         (gst_caps_merge_structure):
13030         * gst/gstcaps.h:
13031         * libs/gst/base/gstbasetransform.c:
13032         (gst_base_transform_transform_caps):
13033         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13034           implement caps merging (fixes #352580)
13035
13036 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
13037
13038         * tools/Makefile.am:
13039         * tools/gst-plot-timeline.py:
13040           add debug-log plotting developer tool (#340674)
13041
13042 2006-08-23  Wim Taymans  <wim@fluendo.com>
13043
13044         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
13045         (gst_pad_stop_task):
13046         Improve debugging for task functions.
13047
13048         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
13049         (gst_task_start), (gst_task_pause), (gst_task_join):
13050         Make sure that the task function started and finished after a 
13051         join(). 
13052         Don't try to push the task function on the threadpool multiple
13053         times.
13054         Improve the g_warning message with some useful suggestions
13055         about how to fix the problem. 
13056
13057 2006-08-23  Wim Taymans  <wim@fluendo.com>
13058
13059         * gst/gstutils.c: (gst_pad_proxy_getcaps):
13060         Handle RESYNC correctly in _proxy_getcaps.
13061
13062 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
13063
13064         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
13065         (gst_xml_parse_memory), (gst_xml_get_element):
13066           Chain up to parent class in dispose function and also
13067           unref the elements in the toplevel_elements GList.
13068           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
13069           Always return a reference in gst_xml_get_element() rather
13070           than only sometimes.
13071
13072         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
13073           Don't leak GstXml object.
13074
13075 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
13076
13077         * docs/gst/gstreamer-sections.txt:
13078         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
13079         (gst_caps_merge):
13080         * gst/gstcaps.h:
13081         * libs/gst/base/gstbasetransform.c:
13082         (gst_base_transform_transform_caps):
13083           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
13084           in a better way
13085
13086 2006-08-21  Edward Hervey  <edward@fluendo.com>
13087
13088         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
13089         Implement GObject::dispose virtual method in GstXML so we can free the
13090         top_elements GList.
13091
13092 2006-08-21  Wim Taymans  <wim@fluendo.com>
13093
13094         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
13095         (gst_buffer_create_sub):
13096         Copy duration/offset_end/caps when creating a subbuffer of the
13097         complete parent.
13098         Make the subbuffer read-only when we make the metadata writable for
13099         now. Fixes #351768.
13100
13101         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13102         Added check for metadata copy when creating subbuffers.
13103
13104 2006-08-21  Edward Hervey  <edward@fluendo.com>
13105
13106         * libs/gst/base/gstbasetransform.c:
13107         (gst_base_transform_buffer_alloc):
13108         Only call downstream buffer_alloc if transform element is passthrough
13109         or always_in_place. Closes #350449.
13110
13111 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13112
13113         * ChangeLog:
13114           ChangeLog surgery to add comments to previous changes
13115
13116 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13117
13118         * gst/gst.c:
13119           Add comments
13120
13121         * gst/gstpad.c: (gst_pad_set_active):
13122           Be more verbose in the log
13123
13124         * libs/gst/base/gstbasetransform.c:
13125         (gst_base_transform_transform_caps):
13126           Simplify caps to get rid of duplicates, fixes #345444
13127
13128 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13129
13130         * gst/gstvalue.c:
13131         * gst/gstvalue.h:
13132           Use these optimizations only internally.
13133
13134 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
13135
13136         * gst/gstvalue.c: (gst_value_compare_list),
13137         (gst_value_compare_fraction_range),
13138         (gst_value_intersect_fraction_fraction_range),
13139         (gst_value_intersect_fraction_range_fraction_range),
13140         (gst_value_subtract_fraction_fraction_range),
13141         (gst_value_subtract_fraction_range_fraction_range),
13142         (gst_value_get_compare_func), (gst_value_compare),
13143         (gst_value_compare_with_func):
13144         * gst/gstvalue.h:
13145           Saves the expensive lookup of the compare function in many cases
13146          (#345444)
13147
13148 2006-08-18  Edward Hervey  <edward@fluendo.com>
13149
13150         * tests/check/gst/gstinfo.c: (gst_info_suite):
13151         Disable test that require gstdebug if it wasn't built in core.
13152
13153 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13154
13155         * docs/random/ensonic/logging.txt:
13156           update ideas
13157           
13158         * gst/gstinfo.c: (gst_debug_log_default):
13159           reorder fields, save some columns, add optional color codes for log
13160           levels
13161
13162 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
13163
13164         * docs/random/ensonic/logging.txt:
13165           add ideas about making the logs a bit more useful
13166
13167 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13168
13169         * docs/pwg/advanced-events.xml:
13170         * docs/pwg/titlepage.xml:
13171           Update for 0.10 API (#340627). Add myself
13172           to authors list.
13173
13174 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
13175
13176         * docs/libs/gstreamer-libs-docs.sgml:
13177         * docs/libs/gstreamer-libs-sections.txt:
13178         * libs/gst/check/gstbufferstraw.c:
13179           Make gstcheck stuff show up in docs (still needs to
13180           be documented properly though).
13181
13182 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
13183
13184         * docs/gst/gstreamer-sections.txt:
13185         * gst/Makefile.am:
13186         * gst/gst.c: (init_post):
13187         * gst/gst_private.h:
13188         * gst/gstquark.c: (_priv_gst_quarks_initialize):
13189         * gst/gstquark.h:
13190         * gst/gstquery.c: (gst_query_new_position),
13191         (gst_query_set_position), (gst_query_parse_position),
13192         (gst_query_new_duration), (gst_query_set_duration),
13193         (gst_query_parse_duration), (gst_query_new_convert),
13194         (gst_query_set_convert), (gst_query_parse_convert),
13195         (gst_query_new_segment), (gst_query_set_segment),
13196         (gst_query_parse_segment), (gst_query_new_seeking),
13197         (gst_query_set_seeking), (gst_query_parse_seeking):
13198         Add internal helpers for pre-registering quarks from static strings
13199         and using the quark values directly instead of looking them up when
13200         creating and parsing queries. Can be used for event construction too.
13201         Closes #350432.
13202
13203 2006-08-16  Wim Taymans  <wim@fluendo.com>
13204
13205         * gst/gstbin.c:
13206         Fix bogus docs.
13207
13208 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13209
13210         * gst/gstutils.c: (gst_util_set_value_from_string):
13211           Fix memleak (#351502).
13212
13213         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13214           Add unit test for most of gst_util_set_value_from_string()
13215           (not that one would want to encourage use of this function).
13216
13217 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * libs/gst/check/gstcheck.h:
13220           Use const gchar * variables in fail_unless_equals_string
13221           macro to avoid compiler warnings (and don't use tabs for
13222           indenting).
13223
13224 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * tools/gst-launch.c: (print_tag):
13227           More space on the left for the tag names, to cater
13228           for the 'extended comment' tag (not touching the
13229           string for the first line since it's translated).
13230
13231 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
13232
13233         * libs/gst/check/gstcheck.h:
13234           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
13235           print something when they fail.
13236
13237 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13238
13239         * docs/gst/gstreamer-sections.txt:
13240         * gst/gsttaglist.c: (_gst_tag_initialize):
13241         * gst/gsttaglist.h:
13242           API: add GST_TAG_EXTENDED_COMMENT (#350935).
13243           Also change merge function for GST_TAG_COMMENT to
13244           use_first.
13245
13246 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13247
13248         * gst/gstinfo.c: (gst_debug_print_object):
13249           Make GST_PTR_FORMAT print messages as well.
13250
13251         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
13252         (GST_START_TEST), (gst_info_suite):
13253           More tests.
13254
13255 2006-08-14  Edward Hervey  <edward@fluendo.com>
13256
13257         * gst/gstelementfactory.c: (gst_element_register):
13258         If the GstElementClass doesn't have a GstElementDetails with all fields
13259         filled up correctly (longname, description AND author), then error out
13260         nicely instead of crashing.
13261
13262 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
13263
13264         * gst/gststructure.c:
13265           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
13266
13267         * gst/gstvalue.h:
13268           Expand on the difference between arrays and lists as we use them.
13269           
13270 2006-08-14  Wim Taymans  <wim@fluendo.com>
13271
13272         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13273         If the parent state change function failed, don't assume we can safely
13274         stop the source, this will be done when the pads are deactivated.
13275
13276 2006-08-14  Wim Taymans  <wim@fluendo.com>
13277
13278         * gst/gstbuffer.c:
13279         * gst/gsttask.c: (gst_task_join):
13280         Small doc updates.
13281
13282         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
13283         (gst_pad_stop_task):
13284         When pad (de)activation failed for some reason, restore the old
13285         activation mode and set the pad to flushing instead of assuming the
13286         pad is deactivated.
13287         If the _task_join() failed, reinstall the task on the pad so that it can
13288         be stopped later and return an error.
13289
13290 2006-08-11  Andy Wingo  <wingo@pobox.com>
13291
13292         * configure.ac:
13293         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13294         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
13295         is only for users of API that don't want to see deprecated
13296         functions in the headers; people that want to compile out
13297         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
13298         CFLAGS. Fixes the build of multifdsink, or will soon..
13299
13300 2006-08-11  Wim Taymans  <wim@fluendo.com>
13301
13302         * docs/gst/gstreamer-sections.txt:
13303         Add GstClockClass vmethod docs.
13304
13305         * gst/gstcaps.h:
13306         Mark #endif with comment for associated #if
13307
13308         * gst/gstclock.c: (gst_clock_id_wait):
13309         * gst/gstclock.h:
13310         Add vmethod wait_jitter to avoid an unneeded _get_time() for
13311         most clock implementations.
13312         Document vmethods.
13313         Flesh out docs about resolution methods.
13314         API: GstClockClass::wait_jitter
13315
13316         * gst/gstsystemclock.c: (gst_system_clock_class_init),
13317         (gst_system_clock_async_thread),
13318         (gst_system_clock_id_wait_jitter_unlocked),
13319         (gst_system_clock_id_wait_jitter):
13320         Use base class wait_jitter variant for improved performance
13321         due to less clock polling.
13322
13323 2006-08-11  Edward Hervey  <edward@fluendo.com>
13324
13325         * gst/gst.c: (gst_init_check), (init_post):
13326         Set gst as being initialized before scanning/updating the registry,
13327         since there might be my python plugin loader that calls gst_init() and
13328         we don't want to loop back in.
13329         Closes #350879
13330
13331 2006-08-11  Wim Taymans  <wim@fluendo.com>
13332
13333         * docs/design/part-qos.txt:
13334         Bring docs in line with the code. Mostly the sign of the jitter was
13335         wrong in the docs. Fixes #349943.
13336
13337         * gst/gstclock.c:
13338         Fix the docs for the jitter.
13339
13340         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
13341         (gst_event_parse_tag), (gst_event_new_buffer_size),
13342         (gst_event_parse_buffer_size), (gst_event_parse_qos),
13343         (gst_event_new_seek), (gst_event_parse_seek),
13344         (gst_event_new_navigation):
13345         Make sure the GstStructure has no parent when creating custom
13346         events.
13347         Add some more argument checking so that we avoid 0.0 rates.
13348         Flesh out the docs for the QoS event some more.
13349
13350 2006-08-11  Wim Taymans  <wim@fluendo.com>
13351
13352         * docs/gst/gstreamer-sections.txt:
13353         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
13354         (ensure_current_registry_forking), (ensure_current_registry),
13355         (parse_one_option), (parse_goption_arg), (gst_deinit),
13356         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
13357         * gst/gst.h:
13358         Doc updates.
13359         Added API and command line option to disable registry forking in
13360         addition to the environment variable.
13361         Constify some static arrays.
13362         Added some more debug.
13363         Don't deinit twice.
13364         API: gst_registry_fork_is_enabled()
13365         API: gst_registry_fork_set_enabled()
13366         API: --gst-disable-registry-fork command line option
13367         Fixes #348918.
13368
13369 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
13370
13371         * gst/gst.c: (gst_init):
13372           Fix typo in error message.
13373
13374 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13375
13376         * libs/gst/controller/gstcontroller.h:
13377           fix ABI size-correction
13378
13379         * tests/check/libs/gdp.c: (gst_dp_suite):
13380           make tests that use deprecated API conditional
13381
13382 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
13383
13384         * docs/libs/gstreamer-libs-sections.txt:
13385         * libs/gst/controller/gstcontroller.c:
13386         (_gst_controller_get_property), (_gst_controller_set_property),
13387         (_gst_controller_init), (_gst_controller_class_init):
13388         * libs/gst/controller/gstcontroller.h:
13389         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
13390         (gst_object_set_control_rate):
13391           API: add gst_object_{s,g}et_control_rate(), add private data section,
13392           fix docs
13393
13394         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
13395         * libs/gst/dataprotocol/dataprotocol.h:
13396           add deprecation guards to make gtk-doc happy and allow disabling cruft
13397
13398 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13399
13400         * tests/check/Makefile.am:
13401         * tests/check/gst/.cvsignore:
13402           Let's enable the new unit test as well.
13403
13404 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13405
13406         * configure.ac:
13407         * docs/gst/gstreamer-sections.txt:
13408         * gst/gstconfig.h.in:
13409         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
13410         (_gst_info_printf_extension_ptr),
13411         (_gst_info_printf_extension_segment):
13412           API: add GST_SEGMENT_FORMAT, which is a printf extension we
13413           register that lets us easily dump GstSegments into debug
13414           logs (#350419).
13415
13416         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
13417         (info_segment_format_printf_extension), (gst_info_suite):
13418           Add simple unit test that logs a bunch of different segments (not
13419           valgrinded at the moment because of leaks in
13420           gst_debug_add_log_function).
13421
13422 2006-08-09  Edward Hervey  <edward@fluendo.com>
13423
13424         * libs/gst/base/gstbasetransform.c:
13425         (gst_base_transform_buffer_alloc):
13426         Even if we can't figure out the proper format to request downstream,
13427         call buffer_alloc() downstream with the input parameters without setting
13428         the caps on the srcpad. This will force negotiation in the chain
13429         function.
13430         Closes #350449
13431
13432 2006-08-08  Edward Hervey  <edward@fluendo.com>
13433
13434         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
13435         Unlinking from a pad without a target is now a perfectly valid case
13436         which should NOT raise an assertion.
13437         This case would happen if a linked ghostpad its target set to NULL after
13438         it was previously linked.
13439
13440 2006-08-08  Edward Hervey  <edward@fluendo.com>
13441
13442         * tests/check/libs/gdp.c:
13443         Also comment out the test (see below).
13444
13445 2006-08-08  Edward Hervey  <edward@fluendo.com>
13446
13447         * tests/check/libs/gdp.c: (gst_dp_suite):
13448         Use the architecture information from config.h and not gcc macros
13449         in order to properly disable a test that fails on PPC64.
13450
13451 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
13452
13453         * gst/gstelement.c: (gst_element_remove_pad):
13454           Don't crash printing the warning if the pad has no parent.
13455
13456 2006-08-02  Wim Taymans  <wim@fluendo.com>
13457
13458         * libs/gst/dataprotocol/dataprotocol.c:
13459         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13460         (gst_dp_crc), (gst_dp_header_payload_length),
13461         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
13462         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
13463         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
13464         (gst_dp_event_from_packet), (gst_dp_validate_header),
13465         (gst_dp_validate_payload):
13466         Make debug category static
13467         Constify the crc table.
13468         Do some more arg checking in public functions.
13469         Fix some docs and do some small cleanups.
13470
13471         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
13472         Add some more checks to see if GDP deals with bogus input.
13473
13474 2006-07-31  Wim Taymans  <wim@fluendo.com>
13475
13476         * gst/gstvalue.c: (gst_value_compare_list):
13477         Fix GstValueList comparison code. Fixes #347293.
13478
13479         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13480         Check to test GstValueList comparison.
13481
13482 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13483
13484         * gst/gstelementfactory.c: (gst_element_factory_create):
13485         Remove unnecessary ref/unref pair
13486
13487         * gst/parse/grammar.y:
13488         Make sure to free the parse buffer on all code paths.
13489         Move a g_free up to the error handler where it's easier to see.
13490
13491         * tests/check/gst/gstevent.c: (test_event):
13492         Extending timeout for downstream travelling events to 10 seconds to
13493         hopefully avoid intermittent failure on the buildbots.
13494
13495         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
13496         Don't manually set the state of the src element - it will happen as a
13497         natural consequence of the pipeline changing state, and that way it
13498         will do it in the right order too.
13499
13500 2006-07-31  Wim Taymans  <wim@fluendo.com>
13501
13502         * libs/gst/base/gstbasetransform.c:
13503         (gst_base_transform_buffer_alloc):
13504         Use OBJECT_LOCK and refcounting to get the pad caps in the
13505         buffer_alloc function because the caps could change while we are
13506         busy with them. Fixes #349105
13507
13508 2006-07-31  Wim Taymans  <wim@fluendo.com>
13509
13510         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
13511         Protect _PAD_CAPS with OBJECT_LOCK.
13512
13513 2006-07-31  Wim Taymans  <wim@fluendo.com>
13514
13515         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
13516         (gst_pad_get_property), (gst_pad_activate_pull),
13517         (gst_pad_activate_push), (gst_pad_set_blocked_async),
13518         (gst_pad_set_activate_function),
13519         (gst_pad_set_activatepull_function),
13520         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
13521         (gst_pad_set_getrange_function),
13522         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
13523         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13524         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
13525         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
13526         (gst_pad_set_acceptcaps_function),
13527         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13528         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
13529         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
13530         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
13531         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
13532         (gst_pad_configure_sink), (gst_pad_configure_src),
13533         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
13534         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
13535         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
13536         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
13537         (gst_pad_send_event):
13538         Use _DEBUG_OBJECT when it makes sense.
13539         Protect GST_PAD_CAPS with the OBJECT_LOCK.
13540         Small cleanups and code reflows.
13541         Avoid caps refcounting in _accept_caps.
13542         Refactor alloc_buffer so that the code performed on the peer is in a
13543         separate function. Also if the pad does not implement a buffer alloc
13544         function, we should still check if the pad is flushing before falling
13545         back to the default allocator.
13546
13547 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
13548
13549         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13550         Make all uses of identity and fakesink have silent=true to avoid
13551         serialising every passing data structure, which is breaking tests
13552         on FC4 for some unknown reason.
13553
13554 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13555
13556         * gst/parse/Makefile.am:
13557         * gst/parse/grammar.y:
13558         * gst/parse/parse.l:
13559           Reverted previous patch as it required to bump the flex dependency to
13560           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
13561
13562 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
13563
13564         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
13565
13566         * gst/parse/Makefile.am:
13567         * gst/parse/grammar.y:
13568         * gst/parse/parse.l:
13569           push & pop the state of the lexer for reentrant use case
13570           Fixes #349180
13571
13572 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
13573
13574         * libs/gst/base/gstbasesrc.h:
13575           Note in the docs that the ::newsegment vfunc is not actually used by
13576           GstBaseSrc.
13577
13578 2006-07-28  Wim Taymans  <wim@fluendo.com>
13579
13580         * libs/gst/base/gstcollectpads.c:
13581         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
13582         (gst_collect_pads_clear), (gst_collect_pads_flush),
13583         (gst_collect_pads_event), (gst_collect_pads_chain):
13584         When flushing a pad, also clear the queued buffer so that we don't
13585         accidentally use it when we shouldn't.
13586         Fix leaks by inreffing incomming buffer.
13587         Flush out queued buffers in case of errors.
13588         Fixes #347452.
13589
13590 2006-07-28  Wim Taymans  <wim@fluendo.com>
13591
13592         * docs/random/phonon-gst:
13593         Random notes about a Phonon backend.
13594
13595 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13596
13597         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13598         Extra debug output
13599         * tests/check/libs/gdp.c: (gst_dp_suite):
13600         Take a whack at fixing the ppc compile using a different define to
13601         disable the broken test.
13602
13603         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13604         Remove excess g_print()
13605
13606 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13607
13608         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13609         Oops, meant to uncomment this line too to dampen the noise a bit.
13610
13611 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
13612
13613         * gst/parse/grammar.y:
13614         * gst/parse/parse.l:
13615         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13616         (GST_START_TEST), (parse_suite):
13617         Fix some of the leaks exposed by extending the parse-launch testsuite,
13618         and move the 3 I can't figure out into a separate test that won't run
13619         the pipelines unless the appropriate line is uncommented.
13620
13621 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13622
13623         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13624           Requesting 0 bytes before the end of the file should result in
13625           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
13626           unit test.
13627
13628 2006-07-27  Wim Taymans  <wim@fluendo.com>
13629
13630         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
13631         Fix useless assert, a uint is always positive.
13632
13633         * gst/gststructure.c: (gst_structure_nth_field_name),
13634         (gst_structure_foreach), (gst_structure_map_in_place):
13635         Check input arguments for public functions to avoid obvious crashes.
13636
13637         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
13638         * plugins/elements/gstfakesink.h:
13639         Do less useless typechecking.
13640
13641 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
13642
13643         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13644           Do not use mmap() by default since there are a number of error
13645           conditions that we would like to handle in a non-fatal way that
13646           will result in a SIGBUS if we use mmap(). Examples: external
13647           devices (USB harddrive, portable music player) being unplugged
13648           while in use; file on mounted CD/DVD that can't be read because
13649           the medium is partly damaged. Fixes #348455 and #348475.
13650
13651 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
13652
13653         * gst/gstquery.h:
13654         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
13655         rates are a gdouble
13656
13657 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
13658
13659         * gst/gstregistry.c:
13660           Move big documentation comment into class section header, so that it
13661           appears in the API docs.
13662
13663 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13664
13665         * docs/gst/gstreamer-sections.txt:
13666         Oops. Commit the docs additions too for new API.
13667         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
13668
13669 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13670
13671         * gst/gststructure.c: (gst_structure_id_set),
13672         (gst_structure_id_set_valist):
13673         * gst/gststructure.h:
13674         Add API for setting values into structures without performing
13675         a quark lookup, if the appropriate quark is already known.
13676
13677         API: gst_structure_id_set
13678         API: gst_structure_id_set_valist
13679
13680         * gst/parse/grammar.y:
13681         * gst/parse/parse.l:
13682         Remove some dead code shown by the coverage information.
13683         Don't throw a critical g_warning when encountering a syntax error,
13684         just warn and let the normal error path handle it.
13685
13686         * plugins/elements/gstelements.c:
13687         Bump the rank of filesink up to PRIMARY so that it is preferred over
13688         gnomevfssink for file:// sink uri's
13689
13690         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
13691         (GST_START_TEST), (run_delayed_test),
13692         (gst_parse_test_element_base_init),
13693         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
13694         (gst_parse_test_element_change_state),
13695         (gst_register_parse_element), (parse_suite):
13696         Beef up the tests for parse syntax to check that more error cases
13697         fail as they are supposed to. Increases the test coverage a bit.
13698
13699 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
13700
13701         * docs/manual/basics-elements.xml:
13702           Fix gst_element_link() example.
13703
13704         * gst/gstutils.c:
13705           Mention in API docs that one should usually gst_bin_add()
13706           elements to a bin or pipeline before doing the linking.
13707           
13708 2006-07-26  Wim Taymans  <wim@fluendo.com>
13709
13710         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
13711         (gst_subbuffer_get_type), (gst_buffer_create_sub):
13712         Avoid function call for known types by keeping the buffer and
13713         subbuffer GType global.
13714
13715         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13716         Random silly optimisations in read() path.
13717
13718 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
13719
13720         * tools/gst-launch.c: (main):
13721           If the top-level of the parse is a normal bin, it doesn't do the
13722           right logic to run as a top-level element, so place it inside a
13723           pipeline.
13724
13725 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
13726
13727         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
13728           Remove superfluous g_object_notify() calls, GObject does
13729           that for us automatically.
13730
13731 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
13732
13733         * gst/gstinfo.h:
13734           on Win32, use dllspec to export the debug category symbols
13735
13736 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
13737
13738         * gst/gsttaglist.c: (_gst_tag_initialize):
13739           Allow more than one GST_TAG_IMAGE per taglist.
13740
13741 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13742
13743         * gst/gstminiobject.c:
13744           update docs
13745         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
13746         (gst_fd_src_create):
13747           log recurring events at LOG level
13748           add more debug for when the fd gets set
13749
13750 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13751
13752         * gst/gstparse.c: (gst_parse_launch):
13753           Also remove reentrance checks if flex is MT safe (#348179)
13754          Fix my empty ChangeLog entry below
13755
13756 2006-07-21  Andy Wingo  <wingo@pobox.com>
13757
13758         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
13759
13760         * libs/gst/check/Makefile.am
13761         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
13762         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
13763         * libs/gst/check/gstbufferstraw.h:
13764         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
13765         functions, thus proving I am still a GStreamer haxor. OK I wrote
13766         them a long time ago, but anyways.
13767
13768 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
13769
13770         * configure.ac:
13771         * gst/gstparse.c: (gst_parse_launch):
13772           Check for flex version and omit mutex if we have a MT save flex
13773           (fixes #348179)
13774
13775 2006-07-21  Wim Taymans  <wim@fluendo.com>
13776
13777         * gst/gstparse.c: (gst_parse_launch):
13778         Protect recursive calls to _parse with a recursive mutex
13779         and busy flag.
13780
13781 2006-07-21  Wim Taymans  <wim@fluendo.com>
13782
13783         * tests/check/gst/gstpad.c: (GST_START_TEST):
13784         Fix leak in test.
13785
13786 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
13787
13788         * gst/gstparse.c: (gst_parse_launch):
13789           Do not hang on recursive usage of gst_parse_launch()
13790
13791 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13792
13793         * gst/gsttaglist.c:
13794           Add some more docs, comments and FIXME 0.11s here and there
13795           and also fix some typos.
13796
13797 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
13798
13799         * gst/gstsegment.h:
13800           Convert tabs to spaces for better readability. 
13801
13802 2006-07-20  Edward Hervey  <edward@fluendo.com>
13803
13804         * tests/check/libs/gdp.c: (gst_dp_suite):
13805         the test_buffer test fails at line 140 on ppc64 at the following
13806         check:
13807         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
13808                 GST_BUFFER_FLAG_IN_CAPS),
13809                 "GST_BUFFER_IN_CAPS flag should have been copied !");
13810         See bug #348114 for more details.
13811
13812 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
13813
13814         * docs/pwg/advanced-scheduling.xml:
13815         * gst/gstpad.c:
13816           Fix typos (#348000).
13817
13818 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
13819
13820         * docs/pwg/intro-basics.xml:
13821           Fix wrong links (#347927).
13822
13823 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
13824
13825         * gst/gstregistry.h:
13826         * gst/gstregistryxml.c: (load_feature),
13827         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
13828         * win32/common/config.h:
13829           make --disable-index work (#342564)
13830
13831 2006-07-18  Wim Taymans  <wim@fluendo.com>
13832
13833         Patch by: Peter Kjellerstedt <pkj at axis dot com>
13834
13835         * gst/Makefile.am:
13836         * gst/gsttrace.h:
13837         The attached patch adds two missing defines to gsttrace.h when tracing
13838         is disabled.  It also corrects one existing define.
13839         Fixes #347756.
13840
13841 2006-07-17  Wim Taymans  <wim@fluendo.com>
13842
13843         * docs/gst/gstreamer-sections.txt:
13844         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
13845         * gst/gst.h:
13846         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
13847         Add two functions to check and change the SIGSEGV behaviour
13848         when loading plugins.
13849         Don't mess with the SIGSEGV handler when we were told not to.
13850         Fixes #347794.
13851         API: gst_segtrap_is_enabled
13852         API: gst_segtrap_set_enabled
13853
13854 2006-07-14  Wim Taymans  <wim@fluendo.com>
13855
13856         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13857         * tests/check/elements/filesrc.c: (GST_START_TEST):
13858         Revert fix for regression in #347408 after release.
13859
13860 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
13861
13862         Patch by: Antoine Tremblay <hexa00 at gmail com>
13863
13864         * gst/gstutils.c: (gst_element_unlink):
13865           Free iterator when done (#347311).
13866
13867         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13868           And add a test case for this.
13869
13870 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
13871
13872         * configure.ac:
13873         Bump nano back to CVS
13874
13875 === release 0.10.9 ===
13876
13877 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
13878
13879         * configure.ac:
13880           releasing 0.10.9, "On the road again"
13881
13882 2006-07-13  Wim Taymans  <wim@fluendo.com>
13883
13884         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
13885         * tests/check/elements/filesrc.c: (GST_START_TEST):
13886         Revert pull-0 fix for release. Disable check. Fixes #347408.
13887
13888 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13889
13890         * libs/gst/dataprotocol/dataprotocol.c:
13891         (gst_dp_event_from_packet_1_0):
13892           Fixes #347337: failure to deserialize event packets with
13893           empty payload (only event type)
13894
13895 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13896
13897         * gst/Makefile.am:
13898           do not install a .c file in the header directory
13899
13900 2006-07-13  Edward Hervey  <edward@fluendo.com>
13901
13902         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13903         GhostPad no longer implicitely use the padtemplates of the targets.
13904         Fixes #347384
13905
13906 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
13907
13908         * gst/gstvalue.c: (gst_value_compare_list),
13909         (gst_value_compare_array), (_gst_value_initialize):
13910         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13911         Make GstValueArray comparison be order dependent as designed.
13912         Add checks for value lists and value array comparisons.
13913         Fixes #347221
13914
13915 2006-07-11  Edward Hervey  <edward@fluendo.com>
13916
13917         * gst/gstbin.c: (activate_pads),
13918         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
13919         (gst_bin_change_state_func):
13920         (de)activate src pads before calling state_change on the childs.
13921         This is to avoid the case where a src ghostpad is blocked (holding the
13922         stream lock), which would block the deactivation of the ghostpad's
13923         target pad.
13924         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
13925         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
13926         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
13927         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13928         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13929         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13930         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
13931         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
13932         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
13933         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
13934         (gst_ghost_pad_class_init),
13935         (gst_ghost_pad_internal_do_activate_push),
13936         (gst_ghost_pad_internal_do_activate_pull),
13937         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
13938         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13939         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
13940         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
13941         GhostPads now create their internal GstProxyPad at creation (and not
13942         when they're linked, as it was being done previously).
13943         The internal and target pads are linked straight away.
13944         The data will also travel through the other pad in order to make
13945         pad blocking and probes non-hackish (the probe/block now really happens
13946         on the GhostPad and not on the target).
13947         * gst/gstpad.c: (gst_pad_set_blocked_async),
13948         (gst_pad_link_prepare), (gst_pad_push_event):
13949         Remove previous ghostpad cruft.
13950         * gst/gstutils.c: (gst_pad_add_data_probe),
13951         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13952         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13953         (gst_pad_remove_buffer_probe):
13954         Remove previous ghost pad cruft.
13955         Added more detailed debug statements.
13956         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13957         Fix the testsuite for refcounting changes.
13958         The comments about who has references were correct, but the refcount
13959         being checked wasn't the same (!?!).
13960
13961         Fixes #341029
13962
13963 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13964
13965         * docs/gst/gstreamer-sections.txt:
13966         * gst/gstconfig.h.in:
13967         More docs for configuration options, add docs to gtk-doc.
13968
13969 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
13970
13971         * gst/Makefile.am:
13972         * gst/gstconfig.h.in:
13973         * win32/common/config.h:
13974         Fix build when disabling tracing (fixes #344016). Also start to document
13975         the defines that disable the sub-systems.
13976
13977 2006-07-10  Edward Hervey  <edward@fluendo.com>
13978
13979         * gst/gst.c: (ensure_current_registry_forking):
13980         let's make valgrind happy...
13981
13982 2006-07-09  Wim Taymans  <wim@fluendo.com>
13983
13984         * gst/gstelement.c: (activate_pads),
13985         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
13986         Better pad activation code: Reset the collect value too on resync.
13987         Add some comments.
13988
13989 2006-07-09  Wim Taymans  <wim@fluendo.com>
13990
13991         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
13992         (gst_pad_activate_push):
13993         Use some more macros where it makes sense.
13994         Allow pad mode switching instead of asserting. When a pad
13995         is activated in one mode and we activate it in another, 
13996         deactivate it first before activating it in a different mode.
13997         Fixes #329198.
13998
13999 2006-07-08  Andy Wingo  <wingo@pobox.com>
14000
14001         * tools/gst-launch.c (main): Handle err == NULL.
14002
14003         * gst/gst.c (init_post, ensure_current_registry)
14004         (ensure_current_registry_forking)
14005         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
14006         factoring out the registry scanning into separate functions. Don't
14007         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
14008         Better environment var name/interface suggestions accepted.
14009
14010 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14011
14012         * gst/gstobject.c: (gst_object_set_name_default),
14013         (gst_object_set_name):
14014           Random micro-optimisation: don't use a hash table
14015           with strings as keys and the usual strdup/strcmp
14016           involved, but rather just use the GQuark of the
14017           type name as key, since it needs to be looked up
14018           anyway to get the type name string.
14019
14020         * tests/check/gst/gstobject.c: (GST_START_TEST):
14021           Fix various leaks.
14022
14023 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14024
14025         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
14026         (gst_bin_iterate_all_by_interface):
14027           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
14028           GTypes are gulongs and thus the top 4 bytes might be cut
14029           off on some platforms when doing GPOINTER_TO_INT, leading
14030           to invalid GTypes and bad things happening (see RH bug #179654).
14031           Also add a check to make sure the type passed in is really
14032           an interface type.
14033
14034 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14035
14036         * .cvsignore:
14037           Ignore more.
14038
14039 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
14040
14041         * Makefile.am:
14042         * configure.ac:
14043         * gst-element-check.m4:
14044         * gst-element-check.m4.in:
14045           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
14046           instead of the unversioned gst-inspect (#324176, #168659).
14047
14048 2006-07-06  Wim Taymans  <wim@fluendo.com>
14049
14050         * gst/gstmessage.h:
14051         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
14052         warnings.
14053
14054 2006-07-06  Wim Taymans  <wim@fluendo.com>
14055
14056         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14057         (gst_base_src_wait), (gst_base_src_update_length),
14058         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
14059         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
14060         (gst_base_src_loop), (gst_base_src_start),
14061         (gst_base_src_activate_pull):
14062         Update docs.
14063         blocksize == 0 now means the default blocksize when working in push
14064         based mode.
14065         Remove some pointless asserts in _wait function.
14066         Fix offset/length calculations and EOS handling. We can now pull 0
14067         bytes as well, which is allowed.
14068         use _check_get_range() to decide if we can operate in _pull based
14069         mode.
14070         Fix refcounting leak when check_get_range function was not 
14071         implemented.
14072         API GstBaseSrc::blocksize range can be 0 too now (default)
14073
14074         * tests/check/elements/filesrc.c: (GST_START_TEST),
14075         (filesrc_suite):
14076         Added check to test _get_range() behaviour.
14077
14078 2006-07-06  Wim Taymans  <wim@fluendo.com>
14079
14080         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14081         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
14082         (gst_pad_pull_range):
14083         * gst/gstpad.h:
14084         Lots of comments and docs added to the pad functions.
14085         Flesh out the expected behaviour of the get_range() functions.
14086
14087 2006-07-06  Wim Taymans  <wim@fluendo.com>
14088
14089         * gst/gstbus.h:
14090         * gst/gstclock.h:
14091         * gst/gstevent.h:
14092         * gst/gstiterator.h:
14093         * gst/gstpad.h:
14094         * gst/gstplugin.h:
14095         * gst/gsttask.h:
14096         Remove comma at end of enumerator list. 
14097
14098 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
14099
14100         * win32/common/libgstbase.def:
14101         * win32/common/libgstdataprotocol.def:
14102         * win32/common/libsgtreamer.def:
14103         Add new exported functions.
14104
14105 2006-07-05  Wim Taymans  <wim@fluendo.com>
14106
14107         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
14108         Add some more docs here and there.
14109
14110 2006-07-05  Wim Taymans  <wim@fluendo.com>
14111
14112         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
14113         (gst_base_sink_loop), (gst_base_sink_get_position):
14114         When operating in pull mode update the offset so that we
14115         read sequentially.
14116
14117 2006-07-05  Wim Taymans  <wim@fluendo.com>
14118
14119         * gst/gstregistryxml.c: (read_string):
14120         Avoid strdup. (will happen in libxml, but hey!)
14121
14122         * gst/gsturi.c:
14123         Add some more docs.
14124
14125 2006-07-05  Wim Taymans  <wim@fluendo.com>
14126
14127         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
14128         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
14129         (gst_buffer_suite):
14130         No point in checking if the size of the subbuffer > 0, the
14131         code handles it correclty as demonstrated by unit test.
14132         Also add a unit test for the zero sized _new_and_alloc and
14133         _copy. Fixes #346663.
14134
14135 2006-07-05  Wim Taymans  <wim@fluendo.com>
14136
14137         * libs/gst/base/gstbasetransform.c:
14138         (gst_base_transform_prepare_output_buffer),
14139         (gst_base_transform_buffer_alloc),
14140         (gst_base_transform_handle_buffer):
14141         Make sure the buffer we pass to transform_ip has a refcount of
14142         1 and thus is writable. Fixes #343196
14143
14144 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
14145
14146         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
14147         (gst_file_src_init), (gst_file_src_set_property),
14148         (gst_file_src_get_property), (gst_file_src_map_region):
14149         * plugins/elements/gstfilesrc.h:
14150         Add "sequential" property, off by default, to use madvise and hint
14151         to the kernel that sequential access is desired.
14152         Touch all retrieved pages by default to ensure they are pulled
14153         into memory. (Closes #345720)
14154
14155 2006-07-03  Wim Taymans  <wim@fluendo.com>
14156
14157         * docs/design/part-block.txt:
14158         * docs/design/part-dynamic.txt:
14159         Small docs updates.
14160
14161 2006-07-03  Wim Taymans  <wim@fluendo.com>
14162
14163         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
14164         (gst_caps_unref), (gst_static_caps_get),
14165         (gst_caps_append_structure):
14166         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
14167         Use GSlice when the glib we build against is >= 2.10
14168
14169 2006-07-03  Wim Taymans  <wim@fluendo.com>
14170
14171         * gst/gstelement.c: (gst_element_pads_activate):
14172         Small cleanup in pad activation code.
14173
14174 2006-07-03  Wim Taymans  <wim@fluendo.com>
14175
14176         Patch by: Peter Kjellerstedt <pkj at axis dot com>
14177
14178         * gst/gst-i18n-app.h:
14179         * gst/gst-i18n-lib.h:
14180         * tools/gst-inspect.c: (print_signal_info):
14181         The attached patch will make the inclusion of gettext.h unconditional in
14182         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
14183         libintl.h in tools/gst-inspect.c.
14184         This allows use of --disable-nls again and fixes #344642.
14185
14186 2006-07-03  Edward Hervey  <edward@fluendo.com>
14187
14188         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
14189         Implement pad blocking on events according to part-block.txt.
14190         More comments on behaviour.
14191         * tests/check/gst/gstevent.c: (test_event):
14192         Send event to peer pad of blocked pad (else it will block).
14193
14194 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14195
14196         * libs/gst/check/gstcheck.c: (gst_check_message_error),
14197         (gst_check_run_suite):
14198           if we get the wrong message, give us the types as string
14199         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
14200           Fix a translatable
14201         * tests/check/elements/filesrc.c: (GST_START_TEST):
14202           add a test for trying to open a non-existing file
14203
14204 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14205
14206         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14207           add a test for adding self
14208
14209 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14210
14211         * libs/gst/check/gstcheck.h:
14212           add some assert_ as alias for fail_unless_*
14213         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
14214           increase test coverage
14215
14216 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * Makefile.am:
14219           include lcov.mak for lcov coverage generation
14220         * tools/Makefile.am:
14221           add to CLEANFILES
14222
14223 2006-07-02  Edward Hervey  <edward@fluendo.com>
14224
14225         * tests/check/elements/.cvsignore:
14226         moaping
14227
14228 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * configure.ac:
14231           don't set CFLAGS and friends for gcov, done from GST_GCOV now
14232         * tests/check/Makefile.am:
14233           clean up gcov files
14234
14235 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14236
14237         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
14238           remove gst_caps_simplify; it was not declared and not used
14239           and deprecated in 0.8
14240
14241 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14242
14243         * docs/faq/gst-uninstalled:
14244           don't put empty paths on PYTHONPATH
14245         * docs/gst/gstreamer-sections.txt:
14246           remove some symbols that are not there
14247
14248 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14249
14250         * gst/gstcaps.c: (gst_caps_compare_structures):
14251           whitespace fixes
14252         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
14253         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14254           add more tests
14255
14256 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14257
14258         * libs/gst/dataprotocol/Makefile.am:
14259           build dataprotocol test by linking to the lib, instead of
14260           compiling the source, so we get coverage
14261         * tests/check/Makefile.am:
14262         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
14263         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
14264           add a test for filesrc
14265
14266 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14267
14268         * tests/check/gst/gststructure.c: (GST_START_TEST),
14269         (gst_structure_suite):
14270           Push coverage from 59.04% to 70.00%
14271
14272 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14273
14274         * tests/check/Makefile.am:
14275           gst-inspect every element; this makes sure that we also get
14276           coverage on element's get/set functions
14277
14278 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14279
14280         * configure.ac:
14281           set CFLAGS and friends to -O0 if gcov is being used
14282           add GCOV LIBS
14283         * gst/Makefile.am:
14284         * libs/gst/base/Makefile.am:
14285         * libs/gst/check/Makefile.am:
14286         * libs/gst/controller/Makefile.am:
14287         * libs/gst/dataprotocol/Makefile.am:
14288         * libs/gst/net/Makefile.am:
14289         * plugins/elements/Makefile.am:
14290         * plugins/indexers/Makefile.am:
14291           add makefile rules to generate gcov data and clean up
14292         * tests/check/Makefile.am:
14293           add a coverage target that generates an html overview
14294           of coverage data
14295
14296 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14297
14298         * tests/check/elements/fakesink.c:
14299         * tests/check/elements/fakesrc.c:
14300         * tests/check/elements/fdsrc.c:
14301         * tests/check/elements/identity.c:
14302         * tests/check/generic/sinks.c: (gst_sinks_suite):
14303         * tests/check/generic/states.c:
14304         * tests/check/gst/gst.c:
14305         * tests/check/gst/gstabi.c:
14306         * tests/check/gst/gstbin.c:
14307         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
14308         * tests/check/gst/gstbus.c: (gst_bus_suite):
14309         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14310         * tests/check/gst/gstelement.c:
14311         * tests/check/gst/gstevent.c: (gst_event_suite):
14312         * tests/check/gst/gstghostpad.c:
14313         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
14314         * tests/check/gst/gstmessage.c: (gst_message_suite):
14315         * tests/check/gst/gstminiobject.c:
14316         * tests/check/gst/gstobject.c:
14317         * tests/check/gst/gstpad.c:
14318         * tests/check/gst/gstpipeline.c:
14319         * tests/check/gst/gstplugin.c:
14320         * tests/check/gst/gstquery.c: (gst_query_suite):
14321         * tests/check/gst/gstsegment.c: (gst_segment_suite):
14322         * tests/check/gst/gststructure.c:
14323         * tests/check/gst/gstsystemclock.c:
14324         * tests/check/gst/gsttag.c:
14325         * tests/check/gst/gsttask.c: (gst_task_suite):
14326         * tests/check/gst/gstutils.c:
14327         * tests/check/gst/gstvalue.c:
14328         * tests/check/libs/adapter.c:
14329         * tests/check/libs/basesrc.c:
14330         * tests/check/libs/collectpads.c:
14331         * tests/check/libs/controller.c:
14332         * tests/check/libs/gdp.c: (gst_dp_suite):
14333         * tests/check/libs/gstnetclientclock.c:
14334         * tests/check/libs/gstnettimeprovider.c:
14335         * tests/check/libs/libsabi.c: (libsabi_suite):
14336         * tests/check/libs/typefindhelper.c:
14337         * tests/check/pipelines/cleanup.c:
14338         * tests/check/pipelines/parse-launch.c:
14339         * tests/check/pipelines/simple-launch-lines.c:
14340         * tests/check/pipelines/stress.c: (stress_suite):
14341           use the new macro
14342
14343 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
14346         * libs/gst/check/gstcheck.h:
14347           create a macro and function so that the simple unit test
14348           case can be just one macro to create main()
14349
14350 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
14351
14352         * gst/gstbin.c: (gst_bin_restore_thyself):
14353         * gst/gstxml.c: (gst_xml_make_element):
14354           Fix deserialisation from XML. Set parent manually
14355           instead of using gst_bin_add(), since gst_bin_add()
14356           will unlink all pads of the element being added.
14357           Fixes #341667.
14358
14359 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
14360
14361         Patch by: Peter Kjellerstedt <pkj at axis com>
14362
14363         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
14364           Fix missing g_strdup() and double free when using the
14365           --gst-plugin-load command line option (#346097).
14366
14367 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14368
14369         * gst/gstinfo.c:
14370           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
14371
14372         * libs/gst/net/gstnetclientclock.c:
14373         * libs/gst/net/gstnettimeprovider.c:
14374           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
14375
14376 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
14377
14378         * docs/manual/advanced-dataaccess.xml:
14379           Fix buffer probe example compilation in
14380           ADM (#345708).
14381         
14382 2006-06-22  Edward Hervey  <edward@fluendo.com>
14383
14384         * gst/gstelement.c: (gst_element_pads_activate):
14385         We need to deactivate src pads first and then sink pads.
14386         The reason is the src pads might be blocking while holding the streaming
14387         lock, so we need to deactivate them first so that deactivating the sink
14388         pads doesn't block (since it will require the streaming lock).
14389
14390 2006-06-22  Wim Taymans  <wim@fluendo.com>
14391
14392         * libs/gst/base/gstbasetransform.c:
14393         (gst_base_transform_buffer_alloc):
14394         Forgot to remove two unneeded unrefs.
14395         Simplify a check _is_equal allready checks the obvious case.
14396
14397 2006-06-22  Wim Taymans  <wim@fluendo.com>
14398
14399         * docs/design/part-block.txt:
14400         Some docs about what pad_block should do.
14401
14402 2006-06-22  Wim Taymans  <wim@fluendo.com>
14403
14404         * gst/gstcaps.c: (gst_caps_replace):
14405         Fix crasher when passed NULL. Doc clarification.
14406         Optimize for the trivial case.
14407
14408         * gst/gstpipeline.c: (gst_pipeline_change_state):
14409         Small cleanups.
14410
14411         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14412         Small documentation cleanup.
14413
14414         * libs/gst/base/gstbasetransform.c:
14415         (gst_base_transform_buffer_alloc):
14416         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
14417         is what we need and it avoids a whole lot of redundant 
14418         refcount operations.
14419
14420 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
14421
14422         Patch by: Philip Jägenstedt  <philip at lysator liu se>
14423
14424         * docs/manual/advanced-dataaccess.xml:
14425           Fix 'Embedding static elements' section to use
14426           GST_PLUGIN_DEFINE_STATIC (#345607).
14427
14428 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14429
14430         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
14431           Attempt to 'fix' spuriously failing test case: it seems like the
14432           timeout of half a second is simply too small when the system is under
14433           load otherwise, and the timeout doesn't really seem to serve any
14434           particular purpose here. Give the pipeline a few seconds to preroll
14435           first, and then give it another half a second to go from PAUSED to
14436           PLAYING and marshal the message into the main thread.
14437
14438 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14439
14440         * tools/gst-feedback-m.m:
14441           Don't only use unversioned tools, try versioned tools as well
14442           (#345086).
14443
14444 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
14445
14446         * gst/gstbus.c: (gst_bus_class_init):
14447           Fix some typos, make docs more explicit.
14448
14449 2006-06-20  Wim Taymans  <wim@fluendo.com>
14450
14451         * tests/check/gst/gstghostpad.c: (block_callback),
14452         (GST_START_TEST), (gst_ghost_pad_suite):
14453         Added some more ghostpad tests, mainly blocking
14454         and probes.
14455
14456 2006-06-16  Wim Taymans  <wim@fluendo.com>
14457
14458         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
14459         (gst_file_sink_close_file), (gst_file_sink_do_seek),
14460         (gst_file_sink_event), (gst_file_sink_render):
14461         * plugins/elements/gstfilesink.h:
14462         Check if we can seek in the file instead of assuming
14463         we always can. Post an error when we are asked to seek in a
14464         non-seekable file (like a fifo). Fixes #343312.
14465         Some cleanups.
14466
14467 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14468
14469         * tools/gst-launch.1.in:
14470           Un-garble (fourcc) bit in filtered caps section.
14471
14472 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
14473
14474         * docs/manual/advanced-autoplugging.xml:
14475         * docs/manual/basics-helloworld.xml:
14476         * docs/manual/highlevel-components.xml:
14477           Don't leak bus reference in sample code.
14478
14479 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
14480
14481         * autogen.sh:
14482           Add default for new --enable-plugin-docs switch.
14483
14484         * configure.ac:
14485           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
14486           Fixes #344039.
14487
14488         * docs/Makefile.am:
14489           Use new ENABLE_PLUGIN_DOCS conditional.
14490
14491 2006-06-14  Wim Taymans  <wim@fluendo.com>
14492
14493         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
14494         Make it clear with a FIXME and a real define what the #if 0
14495         previously disabled.
14496
14497 2006-06-14  Wim Taymans  <wim@fluendo.com>
14498
14499         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14500         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14501         * libs/gst/base/gstbasetransform.c:
14502         (gst_base_transform_sink_eventfunc):
14503         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14504         Don't randomly and silently reset a segment when the format 
14505         changes as this is a bug somewhere upstream. Fixes #330379.
14506
14507 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
14508
14509         Patch by: Wouter Paesen  <wouter at kangaroot net>
14510
14511         * libs/gst/controller/gstcontroller.c:
14512         (gst_controlled_property_new):
14513           Fix controlling of float properties (#344849).
14514
14515         * tests/check/libs/controller.c:
14516         (gst_test_mono_source_get_property),
14517         (gst_test_mono_source_set_property),
14518         (gst_test_mono_source_class_init), (GST_START_TEST):
14519           While we're at it, add some float stuff to unit test.
14520
14521 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14522
14523         * docs/README:
14524         * docs/images/gdp-header.svg:
14525           add a gdp image
14526         * docs/libs/Makefile.am:
14527         * docs/libs/gdp-header.png:
14528         * libs/gst/dataprotocol/dataprotocol.c:
14529           add it to the API docs
14530         * docs/manual/intro-motivation.xml:
14531           fix typo
14532
14533 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14534
14535         * gst/gst.c: (scan_and_update_registry), (init_post):
14536           If the fork()'ed child process can't write the updated registry cache
14537           file to disk for some reason, make it exit with a failure exit code,
14538           so that the parent can then re-scan the plugins itself and update the
14539           registry structures in memory and work with that (rather than failing
14540           when creating elements because seemingly no plugins are available).
14541           Refactor registry scanning code into separate function for this and
14542           also separate fork() and non-fork() code paths. Fixes #344748.
14543
14544 2006-06-13  Wim Taymans  <wim@fluendo.com>
14545
14546         * docs/manual/advanced-dataaccess.xml:
14547         Fix wrong PluginDesc. Fixes #344755.
14548
14549 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
14550
14551         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
14552           Fix silly bug that prevented us from creating
14553           ~/.gstreamer-0.10 and writing the registry in one
14554           go (the first call to g_mkstemp() would overwrite the
14555           placeholder in the template string, so the second call
14556           to g_mkstemp() after creating the missing directory
14557           would then error out with 'invalid argument').
14558
14559 2006-06-13  Edward Hervey  <edward@fluendo.com>
14560
14561         * gst/gst.c: (init_post):
14562         Free string.
14563
14564 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14565
14566         * gst/glib-compat-private.h:
14567         * gst/glib-compat.c:
14568         * gst/glib-compat.h:
14569         * gst/gstvalue.c: (gst_value_serialize_flags):
14570           remove GLib 2.6 compatibility code
14571
14572 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
14573
14574         * gst/parse/Makefile.am:
14575           Fix build with 'make -j N' even more (#340016).
14576
14577 2006-06-12  Wim Taymans  <wim@fluendo.com>
14578
14579         * docs/gst/gstreamer-sections.txt:
14580         Fix docs.
14581
14582 2006-06-12  Wim Taymans  <wim@fluendo.com>
14583
14584         * gst/gstsegment.c: (gst_segment_set_duration),
14585         (gst_segment_set_last_stop), (gst_segment_set_seek),
14586         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
14587         (gst_segment_to_running_time), (gst_segment_clip):
14588         Use G_UNLIKELY to help the compiler a bit.
14589
14590 2006-06-12  Wim Taymans  <wim@fluendo.com>
14591
14592         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14593
14594         * gst/gstevent.c: (gst_event_get_type):
14595         * gst/gstmessage.c:
14596         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
14597         (gst_pad_push):
14598         constify quark registration strings. Fixes #344115
14599         Avoid unneeded type checking is _pad_push() by internally
14600         calling gst_pad_chain_unchecked().
14601
14602 2006-06-12  Wim Taymans  <wim@fluendo.com>
14603
14604         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
14605         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
14606         (gst_subbuffer_finalize), (gst_buffer_create_sub),
14607         (gst_buffer_is_span_fast), (gst_buffer_span):
14608         Init _type for consistency.
14609         Use _FLAGS macro to avoid type check.
14610         Avoid unneeded type checks in subbufer code.
14611
14612 2006-06-12  Wim Taymans  <wim@fluendo.com>
14613
14614         * gst/gst.c: (gst_debug_help):
14615         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
14616         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14617         (gst_plugin_feature_list_free):
14618         * gst/gstregistry.c: (gst_registry_add_plugin),
14619         (gst_registry_add_feature), (gst_registry_plugin_filter),
14620         (gst_registry_feature_filter), (gst_registry_find_plugin),
14621         (gst_registry_find_feature), (gst_registry_get_plugin_list),
14622         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
14623         * gst/gstregistryxml.c: (load_feature),
14624         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
14625         * gst/gstminiobject.c: (gst_mini_object_unref),
14626         (gst_mini_object_replace), (gst_value_mini_object_free),
14627         (gst_value_mini_object_copy):
14628         Use _CAST macros to avoid unneeded type checking.
14629         Added some more G_UNLIKELY.
14630
14631 2006-06-12  Wim Taymans  <wim@fluendo.com>
14632
14633         * gst/gstbuffer.h:
14634         Avoid unneeded type checking.
14635         API: GST_BUFFER_IS_DISCONT
14636
14637         * gst/gstminiobject.h:
14638         Avoid type check in flag accessor.
14639
14640         * gst/gstelementfactory.h:
14641         * gst/gstplugin.h:
14642         * gst/gstpluginfeature.h:
14643         Add _CAST macros.
14644         API: GST_ELEMENT_FACTORY_CAST
14645         API: GST_PLUGIN_CAST
14646         API: GST_PLUGIN_FEATURE_CAST
14647
14648 2006-06-12  Wim Taymans  <wim@fluendo.com>
14649
14650         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
14651         (gst_object_unref):
14652         Add G_UNLIKELY in type registration.
14653         Avoid type check in _ref/_unref since that is also
14654         done in glib.
14655
14656 2006-06-12  Wim Taymans  <wim@fluendo.com>
14657
14658         * gst/gsterror.c: (gst_g_error_get_type):
14659         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
14660         (gst_static_pad_template_get_type):
14661         * gst/gsttaglist.c: (gst_tag_list_get_type):
14662         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
14663         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
14664         * gst/gsturi.c: (gst_uri_handler_get_type):
14665         * gst/gstvalue.c: (gst_date_get_type):
14666         * gst/gstxml.c: (gst_xml_get_type):
14667         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
14668         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
14669         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
14670         Add G_UNLIKELY in type registration.
14671
14672 2006-06-12  Wim Taymans  <wim@fluendo.com>
14673
14674         * tools/gst-inspect.c: (print_signal_info):
14675         Properly print enum values.
14676
14677 2006-06-12  Wim Taymans  <wim@fluendo.com>
14678
14679         * gst/gstinfo.c: (gst_debug_set_active),
14680         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
14681         * gst/gstinfo.h:
14682         Add some G_[UN]LIKELY.
14683         Maintain __gst_debug_min to avoid formatting the arguments of
14684         debug messages that will be dropped anyway to avoid a lot of 
14685         overhead from the debugging system.
14686
14687 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14688
14689         * po/POTFILES.in:
14690         * po/POTFILES.skip:
14691           add missing files containing translatable strings, tell intltool about
14692           one exception
14693
14694 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14695
14696         * tests/check/libs/.cvsignore:
14697         add test-binary to ignore list
14698
14699 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
14700
14701         * docs/libs/gstreamer-libs-docs.sgml:
14702         reorder (put dp into a chapter) and indent
14703
14704 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14705
14706         * configure.ac:
14707           back to HEAD
14708
14709 === release 0.10.8 ===
14710
14711 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
14712
14713         * configure.ac:
14714           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
14715
14716 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14717
14718         * gst/gst.c: (init_post):
14719           move pid declaration to declaration block
14720
14721 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14722
14723         * gst/gst.c: (init_post):
14724           use _exit() instead of exit() in our forked child; this ensures
14725           that none of the registered exit handlers from whatever is using
14726           GStreamer get executed.  This fixes gnome-mixer-applet failing
14727           to load, because ORBit would shut down.
14728           Spotted by: Edward Hervey  <edward@fluendo.com>
14729           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
14730           Fixes #344474
14731
14732 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14733
14734         * configure.ac:
14735           back to TRUNK
14736
14737 === release 0.10.7 ===
14738
14739 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
14740
14741         * configure.ac:
14742           releasing 0.10.7, "Soepeke, ik zie ou"
14743
14744 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14745
14746         * configure.ac:
14747         * po/af.po:
14748         * po/az.po:
14749         * po/bg.po:
14750         * po/ca.po:
14751         * po/cs.po:
14752         * po/de.po:
14753         * po/en_GB.po:
14754         * po/fr.po:
14755         * po/it.po:
14756         * po/nb.po:
14757         * po/nl.po:
14758         * po/ru.po:
14759         * po/sq.po:
14760         * po/sr.po:
14761         * po/sv.po:
14762         * po/tr.po:
14763         * po/uk.po:
14764         * po/vi.po:
14765         * po/zh_CN.po:
14766         * po/zh_TW.po:
14767         * win32/common/config.h:
14768           0.10.6.2 prerelease
14769
14770 2006-06-07  Wim Taymans  <wim@fluendo.com>
14771
14772         * gst/gstindex.c: (gst_index_gtype_resolver):
14773         * tools/gst-xmlinspect.c: (print_plugin_info):
14774         Fix leak spotted by coverity checker. Fixes #343827
14775         Fix another other leak found by paolo borelli.
14776
14777 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14778
14779         * libs/gst/dataprotocol/dataprotocol.c:
14780         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
14781         (gst_dp_version_get_type), (gst_dp_init),
14782         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
14783         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
14784         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
14785         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
14786         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
14787         (gst_dp_packetizer_free):
14788         * libs/gst/dataprotocol/dataprotocol.h:
14789           API: add a GstDPPacketizer object, and create/free functions
14790           API: add GstDPVersion enum
14791           Add 1.0 event function that uses the string serialization
14792           Serialize more useful buffer flags
14793           Fixes #343988
14794
14795 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14796
14797         * tests/check/Makefile.am:
14798         * tests/check/gst/gstabi.c:
14799         * tests/check/gst/struct_ppc64.h:
14800         * tests/check/libs/libsabi.c:
14801         * tests/check/libs/struct_ppc64.h:
14802           add ppc64 structure sizes
14803
14804 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14805
14806         * tests/check/Makefile.am:
14807         * tests/check/gst/gstabi.c:
14808         * tests/check/gst/struct_x86_64.h:
14809         * tests/check/libs/libsabi.c:
14810         * tests/check/libs/struct_x86_64.h:
14811           generate and add structure size lists for x86_64
14812
14813 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14814
14815         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
14816         * libs/gst/check/gstcheck.h:
14817           factor out the method from tests that checks size of structures,
14818           and add code to generate the header containing these sizes
14819         * tests/check/gst/gstabi.c: (GST_START_TEST):
14820         * tests/check/gst/struct_i386.h:
14821         * tests/check/libs/libsabi.c: (GST_START_TEST):
14822         * tests/check/libs/struct_i386.h:
14823           use it
14824
14825 2006-06-06  Michael Smith  <msmith@fluendo.com>
14826
14827         * gst/gstsegment.h:
14828           Don't use c++-style comments, fixes #343929
14829
14830 2006-06-05  Edward Hervey  <edward@fluendo.com>
14831
14832         * gst/gst.c:
14833         plugin_paths is not used if we build without registry support.
14834
14835         * gst/gstsegment.c: (gst_segment_copy): 
14836         _copy() was always returning NULL...
14837
14838 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14839
14840         * libs/gst/dataprotocol/dataprotocol.c:
14841         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14842         (gst_dp_packet_from_event):
14843           factor out CRC code
14844
14845 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14846
14847         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
14848           make sure we unset caps
14849
14850 2006-06-02  Michael Smith  <msmith@fluendo.com>
14851
14852         * libs/gst/check/gstcheck.c: (gst_check_init),
14853         (gst_check_chain_func):
14854         * libs/gst/check/gstcheck.h:
14855           Add a cond/mutex to the check support lib, signal this whenever we
14856           add to the buffers list. This will allow tests to not busy-wait on
14857           the buffer-list.
14858
14859 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14860
14861         * libs/gst/dataprotocol/dataprotocol.c:
14862         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
14863         (gst_dp_packet_from_event):
14864           factor out some common header init code
14865
14866 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14867
14868         * docs/libs/gstreamer-libs-sections.txt:
14869         * docs/libs/tmpl/gstdataprotocol.sgml:
14870         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
14871         * libs/gst/dataprotocol/dataprotocol.h:
14872           API: make gst_dp_crc() public
14873
14874 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14875
14876         * plugins/indexers/gstindexers.c: (plugin_init):
14877         conditionally register fileindexer (fixes #343598)
14878
14879 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
14880
14881         * gst/gsttagsetter.h:
14882         Can't cast ifaces to a class
14883
14884         * libs/gst/net/gstnetclientclock.h:
14885         * libs/gst/net/gstnettimeprovider.h:
14886         * plugins/elements/gstfakesink.h:
14887         * plugins/elements/gstfakesrc.h:
14888         * plugins/elements/gstfdsink.h:
14889         * plugins/elements/gstfdsrc.h:
14890         * plugins/elements/gstfilesink.h:
14891         * plugins/elements/gstfilesrc.h:
14892         * plugins/elements/gstidentity.h:
14893         * plugins/elements/gstqueue.h:
14894         * plugins/elements/gsttee.h:
14895         * plugins/indexers/gstfileindex.c:
14896         * plugins/indexers/gstmemindex.c:
14897         * tests/old/examples/plugins/example.h:
14898         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
14899
14900 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14901
14902         * libs/gst/dataprotocol/dataprotocol.c:
14903         (gst_dp_header_from_buffer):
14904           make sure we zero the whole ABI-compatible area
14905
14906 2006-06-01  Wim Taymans  <wim@fluendo.com>
14907
14908         Patch by: Alessandro Decina <alessandro at nnva dot org>
14909
14910         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
14911         Make sure the EOS flag is cleared from pads after a flush
14912         or stop. Fixes #343538.
14913
14914         * tests/check/libs/collectpads.c: (GST_START_TEST),
14915         (gst_collect_pads_suite):
14916         Added test for collectpads reusage after EOS.
14917
14918 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
14919
14920         * gst/gst.c:
14921          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
14922         * win32/common/libgstbase.def:
14923          export gst_collect_pads_set_flushing
14924         * win32/common/libgstreamer.def:
14925          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
14926          gst_value_fraction_multiply
14927         * win32/vs6/gst_inspect.dsp:
14928          add a link to intl.lib
14929
14930 2006-05-30  Wim Taymans  <wim@fluendo.com>
14931
14932         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
14933         (gst_collect_pads_chain):
14934         Handle the case where a pad is removed from the collection
14935         that could cause the other pads to become collectable.
14936
14937 2006-05-30  Wim Taymans  <wim@fluendo.com>
14938
14939         * gst/gstelement.c:
14940         Clarify the use of _release_request_pad() and
14941         _get_request_pad() a bit better.
14942
14943         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
14944         (gst_adapter_take_buffer):
14945         Fix some doc and comment typos.
14946
14947 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14948
14949         * docs/gst/gstreamer-sections.txt:
14950         * docs/libs/gstreamer-libs-sections.txt:
14951           add declared symbols
14952
14953 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
14954
14955         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14956         Add debug that can be enabled using a #define at the top of the file,
14957         for dumping stats about how late/early we were when waking up from
14958         waiting on the clock.
14959
14960 2006-05-30  Wim Taymans  <wim@fluendo.com>
14961
14962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
14963         When rebuilding the pad list, don't leak the previous list.
14964
14965 2006-05-30  Wim Taymans  <wim@fluendo.com>
14966
14967         Patch by: Lutz Mueller <lutz at topfrose dot de>
14968
14969         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14970         (gst_base_src_get_query_types), (gst_base_src_update_length):
14971         Publish supported query types.
14972         Update last_stop field in get_range mode so the position
14973         query works. Fixes #342321.
14974
14975 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
14976
14977         * docs/gst/gstreamer-sections.txt:
14978         * gst/gsttaglist.c: (_gst_tag_initialize):
14979         * gst/gsttaglist.h:
14980           API: add GST_TAG_PREVIEW_IMAGE (#343341).
14981
14982 2006-05-30  Wim Taymans  <wim@fluendo.com>
14983
14984         Patch by: Alessandro Decina <alessandro at nnva dot org>
14985
14986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
14987         Unlock mutex when removing an unknown pad.
14988         Fixes #343334.
14989
14990         * tests/check/Makefile.am:
14991         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
14992         (push_event), (setup), (teardown), (GST_START_TEST),
14993         (gst_collect_pads_suite), (main):
14994         Added collecpads check, disabled for now as check crashes for
14995         some reason.
14996
14997 2006-05-29  Wim Taymans  <wim@fluendo.com>
14998
14999         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
15000         Don't leak pads lists.
15001
15002 2006-05-29  Wim Taymans  <wim@fluendo.com>
15003
15004         * docs/libs/gstreamer-libs-sections.txt:
15005         * libs/gst/base/gstcollectpads.c:
15006         (gst_collect_pads_set_flushing_unlocked),
15007         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15008         (gst_collect_pads_stop):
15009         * libs/gst/base/gstcollectpads.h:
15010         API: gst_collect_pads_set_flushing()
15011         Added api to set the pads to flushing, useful for seeking
15012         code in elements using collectpads.
15013         Clear segment when receiving a flush.
15014
15015 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
15016
15017         * gst/gst.c: (add_path_func), (init_post):
15018           Don't scan registry paths passed via --gst-plugin-path immediately
15019           (will crash, because absolutely nothing is set up and no types are
15020           registered etc.); do this later in init_post(). Fixes #343057.
15021
15022 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15023
15024         * gst/gst.c: (init_post):
15025           if we have fork, fork while reading/rebuilding the registry
15026           so the parent doesn't take the hit of having all plugins loaded
15027           in memory.  Fixes #342777.
15028         * configure.ac:
15029           Check if we have fork()
15030         * win32/common/config.h.in:
15031           no fork() on win32
15032
15033 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15034
15035         * plugins/elements/gstelements.c:
15036         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
15037         (gst_file_src_init), (gst_file_src_set_property),
15038         (gst_file_src_get_property), (gst_file_src_start):
15039         * plugins/elements/gstfilesrc.h:
15040           API: GstFileSrc::use-mmap
15041
15042         Add a use-mmap property to enable easier testing of all code paths.
15043         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
15044         in the absence of gnomevfssrc. (Closes #340501)
15045
15046 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15047
15048         * tools/gst-inspect.c:
15049         Add missing include, removes warning of ngettext not being defined on
15050         some arches.
15051
15052 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
15053
15054         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15055         Handle NULL input and output pointers silently as a failed conversion,
15056         rather than g_warnings.
15057
15058 2006-05-25  Wim Taymans  <wim@fluendo.com>
15059
15060         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
15061         Initialize variable before using. Fixes #342820.
15062
15063 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
15064
15065         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
15066           Fix off-by-one bug that would only allow peeks of N-1 bytes
15067           from the start even if the buffer to typefind on contains
15068           in fact N bytes of data (makes vorbis typefinding from a
15069           vorbis identification header buffer work).
15070
15071         * tests/check/Makefile.am:
15072         * tests/check/libs/.cvsignore:
15073         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
15074         (gst_typefindhelper_suite), (main), (foobar_typefind),
15075         (plugin_init):
15076           Add very basic unit test for gst_type_find_helper_for_buffer()
15077           that checks for the problem fixed above.
15078
15079 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15080
15081         * tools/gst-inspect.c: (print_interfaces),
15082         (print_element_properties_info), (print_element_list), (main):
15083           add more translatable strings
15084
15085 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
15086
15087         Patch by: Julien Moutte  <julien at moutte net>
15088
15089         * docs/gst/gstreamer-sections.txt:
15090           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
15091           
15092         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
15093         (gst_fake_sink_preroll):
15094         * plugins/elements/gstfakesink.h:
15095           API: Add new GstFakeSink::preroll-handoff signal (#337100).
15096
15097 2006-05-23  Wim Taymans  <wim@fluendo.com>
15098
15099         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
15100         * gst/gstpad.h:
15101         Added _CUSTOM error and success GstFlowReturn that can be
15102         used be elements internally. 
15103         Added macro to check for SUCCESS flowreturns.
15104         API: GST_FLOW_CUSTOM_SUCCESS
15105         API: GST_FLOW_CUSTOM_ERROR
15106         API: GST_FLOW_IS_SUCCESS
15107
15108         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
15109         Added check for GstFlowReturn sanity.
15110
15111 2006-05-23  Wim Taymans  <wim@fluendo.com>
15112
15113         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
15114
15115         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
15116         (gst_collect_pads_event):
15117         clear/reset segment info in FLUSH_STOP.
15118         Fixes #336929.
15119
15120 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
15121
15122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
15123         (gst_collect_pads_check_collected):
15124         Flush queued buffer on _stop(), fixes playing again (#342454)
15125
15126 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15127
15128         * tests/check/gst/gststructure.c: (GST_START_TEST),
15129         (gst_structure_suite):
15130           add a test for a complete structure
15131
15132 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15133
15134         * docs/faq/developing.xml:
15135         * docs/faq/faq.xml:
15136         * docs/faq/troubleshooting.xml:
15137         * docs/faq/using.xml:
15138           Some minor FAQ updates that won't change the fact that
15139           our FAQ is badly structured, full of information hardly
15140           anyone new to GStreamer needs to know and lacking lots
15141           of information people constantly ask for.
15142           
15143 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
15144
15145         * gst/gstpad.c: (gst_pad_set_caps):
15146           Short-circuit gst_pad_set_caps if setting the existing
15147           caps pointer again, and avoid printing debug and 
15148           reffing/unreffing the caps.
15149
15150         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15151           There's actually no need to set the caps before pushing -
15152           the acceptcaps method will handle it anyway.
15153
15154 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
15155
15156         * docs/gst/gstreamer-sections.txt:
15157         * win32/common/libgstreamer.def:
15158         * gst/gstutils.c: (gst_element_seek_simple):
15159         * gst/gstutils.h:
15160           API: add gst_element_seek_simple() (#342238).
15161
15162 2006-05-18  Edward Hervey  <edward@fluendo.com>
15163
15164         * gst/gsttypefind.c: (gst_type_find_get_type):
15165         * gst/gsttypefind.h:
15166         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
15167         registered for GstTypeFind pointers. This allows wrapping the structure
15168         in bindings (i.e. gst-python).
15169
15170 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15171
15172         * gst/gsttagsetter.c:
15173           Docs additions and fixes (see #339918).
15174
15175 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15176
15177         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15178         The caps intersection algorithm can produce multiple copies of the
15179         caps. Until that is fixed, we need to simplify the result to be
15180         sure whether the allowed caps are fixed or not.
15181
15182         * plugins/elements/gstqueue.c: (gst_queue_init),
15183         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
15184         (gst_queue_push_one):
15185         Proxied buffer alloc should not set the caps on the source pad.
15186         When pushing buffers, we always accept the caps change that triggers.
15187         This prevents negotiation errors caused by caps changing mid-stream 
15188         and then being refused on our source pad (because upstream is now
15189         refusing those caps).
15190
15191 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
15192
15193         * tests/examples/helloworld/helloworld.c: (main):
15194           Must plug audioconvert and audioresample between decoder
15195           and audio sink.
15196
15197 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
15198
15199         * gst/gstregistryxml.c: (read_string), (load_pad_template),
15200         (load_feature), (load_plugin):
15201         Allow empty strings for some of the plugin fields so we don't 
15202         drop valid plugin entries that were written out correctly
15203         (Fixes #341479)
15204
15205 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
15206         
15207         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
15208           Use g_remove and g_rename instead of remove and rename that don't 
15209           handle utf8 characters. rename was failing for users who had specific
15210           characters in their name then the registry was built at each 
15211           gstreamer init.
15212         * win32/vs6/gst_inspect.dsp:
15213         * win32/vs6/gst_launch.dsp:
15214         * win32/vs6/libgstbase.dsp:
15215         * win32/vs6/libgstcoreelements.dsp:
15216         * win32/vs6/libgstreamer.dsp:
15217           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
15218           build of libgstreamer and clean unused libraries in projects link 
15219           settings.
15220
15221 2006-05-17  Edward Hervey  <edward@fluendo.com>
15222
15223         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15224         The queue is not responsible for pushing an EOS when receiving a fatal
15225         flow error. It's up to the real element driving the pipeline to do that.
15226
15227 2006-05-16  Edward Hervey  <edward@fluendo.com>
15228
15229         * plugins/elements/gstqueue.c: (gst_queue_push_one):
15230         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
15231         buffer returned a fatal error. It should just send an EOS and stop
15232         its task.
15233         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
15234         when pushing buffers on the queue and will be able to handle the event.
15235
15236 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
15237
15238         * docs/manual/basics-bins.xml:
15239         * docs/manual/basics-init.xml:
15240           Fix typos and minor errors in sample code (#341856).
15241
15242 2006-05-16  Wim Taymans  <wim@fluendo.com>
15243
15244         * docs/design/part-qos.txt:
15245         Fix indexes in formulas to make more sense.
15246
15247 2006-05-15  Wim Taymans  <wim@fluendo.com>
15248
15249         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15250         Don't report POSITION based on clock time if sync is
15251         disabled in a sink.
15252
15253 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
15254
15255         * gst/gstobject.h:
15256           Add cast to make compiler happy - refcount variable was a gint
15257           in GstObject but is a guint in GObject and g_atomic_int_get()
15258           wants a gint *.
15259
15260 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15261
15262         * gst/parse/Makefile.am:
15263           chain commands using &&, which also makes parallel make work
15264
15265 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
15266
15267         * docs/gst/gstreamer-sections.txt:
15268         * gst/gstevent.c:
15269         * gst/gstevent.h:
15270         * gst/gstmessage.h:
15271           Minor docs fixes.
15272
15273 === release 0.10.6 ===
15274
15275 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
15276
15277         * configure.ac:
15278           releasing 0.10.6, "Take the cannoli"
15279
15280 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
15281
15282         * tools/gst-launch.c: (print_tag):
15283           Fix use of uninitialized variable in the hypothetical
15284           case that some broken plugin creates a GST_TAG_IMAGE
15285           tag containing a NULL buffer (#341667).
15286
15287 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
15288
15289         * tools/gst-launch.c: (print_tag):
15290           Print something more intelligible for image tags when
15291           using the -t switch (#341556).
15292
15293 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15294
15295         * Makefile.am:
15296           updates for win32
15297         * configure.ac:
15298           define GST_MAJORMINOR so we have it available in win32/common/config.h
15299           Possibly remove it from our Makefile.am files later
15300         * win32/common/config.h:
15301         * win32/common/config.h.in:
15302           added GST_MAJORMINOR
15303         * win32/common/gstenumtypes.c: (register_gst_resource_error):
15304         * win32/common/gstversion.h:
15305           updated
15306
15307 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
15308
15309         * win32/MANIFEST:
15310           Update win32 files listing.
15311         * win32/common/gstversion.h:
15312           Add GST_MAJORMINOR definition.
15313         * win32/common/libgstreamer.def:
15314           Add new exported functions.
15315           
15316 2006-05-12  Michael Smith  <msmith@fluendo.com>
15317
15318         * gst/gstplugin.c: (gst_plugin_load_file):
15319           If an so file has no plugin entry point, unload the module.
15320
15321 2006-05-11  Wim Taymans  <wim@fluendo.com>
15322
15323         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
15324         (gst_queue_set_property):
15325         Don't forget to signal the _chain or _loop function 
15326         when the queue size or thresholds change since that might
15327         cause them to make progres again.
15328
15329 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
15330
15331         * gst/gstclock.c: (gst_clock_class_init):
15332         * gst/gstindex.c: (gst_index_class_init):
15333         * gst/gstobject.c: (gst_object_class_init):
15334         * gst/gstpad.c: (gst_pad_class_init):
15335         * gst/gstpipeline.c: (gst_pipeline_class_init):
15336         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15337         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
15338         * libs/gst/base/gstbasetransform.c:
15339         (gst_base_transform_class_init):
15340         * libs/gst/net/gstnetclientclock.c:
15341         (gst_net_client_clock_class_init):
15342         * libs/gst/net/gstnettimeprovider.c:
15343         (gst_net_time_provider_class_init):
15344         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
15345         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
15346         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
15347         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
15348         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
15349         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
15350         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
15351         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15352         * plugins/elements/gsttee.c: (gst_tee_class_init):
15353         * tests/old/examples/plugins/example.c: (gst_example_class_init):
15354         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
15355           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
15356
15357 2006-05-11  Wim Taymans  <wim@fluendo.com>
15358
15359         * gst/gstbuffer.c: (_gst_buffer_initialize):
15360         Register subbufer along with the buffer type so that
15361         it does not accidentally gets registered from N
15362         different streaming threads in a non threadsafe way.
15363
15364 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15365
15366         * gst/gstbuffer.h:
15367         * gst/gstevent.h:
15368         * gst/gstmessage.h:
15369           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
15370           gst_event_ref() and gst_message_ref() functions again
15371           (ugly hack, please do fix if there's a better way besides
15372           overrides.txt, which doesn't seem to work).
15373
15374 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15375
15376         * libs/gst/check/gstcheck.h:
15377           add an assert for setting state to avoid lots of repetitive code
15378           in the future
15379
15380 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15381
15382         * gst/gstvalue.c: (gst_value_serialize_flags):
15383           fix a leak if no flags are set
15384         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15385           fix leak in tests
15386
15387 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
15388
15389         * docs/manual/basics-pads.xml:
15390           Expand a bit on caps and filtered links and update
15391           examples that were still using the no longer existing
15392           gst_pad_link_filtered() (#338206).
15393
15394 2006-05-10  Wim Taymans  <wim@fluendo.com>
15395
15396         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15397         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15398         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
15399         (gst_collect_pads_stop):
15400         * libs/gst/base/gstcollectpads.h:
15401         No need to call _stop in _finalize.
15402         Iterate the main pad list in _finalize.
15403         Added some more debug.
15404         Free lists and data in the right order.
15405         Also free data whem doing _remove_pad when stopped for
15406         backward compatibility protect ::started with PAD_LOCK as
15407         well.
15408
15409 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15410
15411         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
15412         (gst_structure_parse_value):
15413           add some comments
15414           rename a method so that it actually says what it does better
15415
15416 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15417
15418         * gst/gstevent.c: (_gst_event_initialize):
15419         * gst/gstformat.c: (_gst_format_initialize):
15420           make sure some essential types used by events are registered
15421           as part of gst_init()
15422         * gst/gstvalue.c: (gst_value_serialize_flags):
15423           if no flags are set, serialize them to a value that represents NONE
15424           so that deserializing them works
15425         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15426           add tests for serialization and deserialization of flags
15427
15428 2006-05-10  Wim Taymans  <wim@fluendo.com>
15429
15430         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
15431         (gst_collect_pads_collect_range), (gst_collect_pads_available),
15432         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
15433         (gst_collect_pads_event), (gst_collect_pads_chain):
15434         Update docs.
15435         Better debug info.
15436         Catch and return errors from the collect function
15437         Refuse data on eos pads.
15438
15439 2006-05-10  Edward Hervey  <edward@fluendo.com>
15440
15441         * gst/gstinterface.h:
15442         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
15443         GInterface type checking.
15444         They were previously using non-defined macros.
15445
15446 2006-05-09  Wim Taymans  <wim@fluendo.com>
15447
15448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
15449         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
15450         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
15451         (gst_collect_pads_start), (gst_collect_pads_stop),
15452         (gst_collect_pads_peek), (gst_collect_pads_pop),
15453         (gst_collect_pads_available), (gst_collect_pads_read),
15454         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
15455         (gst_collect_pads_is_collected), (gst_collect_pads_event),
15456         (gst_collect_pads_chain):
15457         * libs/gst/base/gstcollectpads.h:
15458         Clean up the mess that is collectpads, add comments and
15459         FIXMEs where needed.
15460         Maintain a separate pad list so we can add pads while
15461         collecting the other ones. For this we need a new separate 
15462         lock (see comics).
15463         Fix memory leak in finalize.
15464         Refactor some weird code to set/unset pad flushing flags, mark
15465         with comments.
15466         Don't crash in _available, _read, _flush when we're EOS.
15467
15468         * tests/check/libs/.cvsignore:
15469         Ignore adapter check binary.
15470
15471 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15472
15473         * gst/gstindex.c: (gst_index_resolver_get_type):
15474         * plugins/elements/gstfakesink.c:
15475         (gst_fake_sink_state_error_get_type):
15476         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15477         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
15478         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
15479           Const-ify GEnumValue arrays.
15480
15481 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15482
15483         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
15484           Add test case for flags + gst_buffer_make_metadata_writable().
15485
15486 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15487
15488         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
15489           gst_buffer_make_metadata_writable() should maintain the
15490           buffer flags (those that make sense at least) (see #340859).
15491
15492 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15493
15494         * tools/gst-inspect.c:
15495         * tools/gst-launch.c:
15496         * tools/gst-typefind.c:
15497         * tools/gst-xmlinspect.c:
15498         * tools/tools.h:
15499           Fix up includes: need to include stdlib.h in tools.h for exit().
15500
15501 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
15502
15503         * gst/gsttaglist.c: (_gst_tag_initialize):
15504         * gst/gsttaglist.h:
15505           API: add GST_TAG_IMAGE tag (#340721).
15506
15507 2006-05-08  Wim Taymans  <wim@fluendo.com>
15508
15509         * gst/gstquery.c:
15510         Added some docs for the segment query.
15511
15512 2006-05-08  Wim Taymans  <wim@fluendo.com>
15513
15514         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15515         (gst_base_src_loop), (gst_base_src_change_state):
15516         Always push non-flushing serialized events in the streaming 
15517         thread.
15518
15519 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15520
15521         * gst/gsterror.c: (_gst_stream_errors_init):
15522           Add a missing error string.
15523
15524 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
15525
15526         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
15527         Add applied_rate to the debug
15528
15529         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
15530         Copy applied_rate into the outgoing NEWSEGMENT event
15531
15532 2006-05-08  Wim Taymans  <wim@fluendo.com>
15533
15534         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
15535
15536         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
15537         (gst_base_sink_change_state):
15538         call ::unlock before taking the PREROLL_LOCK so we can safely
15539         handle elements that lock in ::render.
15540         Fixes #340174.
15541
15542 2006-05-08  Edward Hervey  <edward@fluendo.com>
15543
15544         * autogen.sh: (CONFIGURE_DEF_OPT): 
15545         Darwin's libtoolize is in fact called glibtoolize.
15546         Adding glibtoolize to the list of accepted names for libtoolize.
15547
15548 2006-05-08  Wim Taymans  <wim@fluendo.com>
15549
15550         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
15551         Unify error handling, don't post an error message
15552         when a push() returns EOS but perform our normal EOS
15553         handling code. Fixes #340772.
15554
15555 2006-05-08  Wim Taymans  <wim@fluendo.com>
15556
15557         * docs/design/part-overview.txt:
15558         Make upsteam/downstream concepts more clear.
15559         Give an example of serialized/non-serialized events.
15560
15561         * docs/design/part-events.txt:
15562         * docs/design/part-streams.txt:
15563         Mention applied_rate.
15564
15565         * docs/design/part-trickmodes.txt:
15566         Mention applied rate, flesh out some more use cases.
15567
15568         * gst/gstevent.c: (gst_event_new_new_segment),
15569         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
15570         (gst_event_parse_new_segment_full), (gst_event_new_tag),
15571         (gst_event_parse_tag), (gst_event_new_buffer_size),
15572         (gst_event_parse_buffer_size), (gst_event_new_qos),
15573         (gst_event_parse_qos), (gst_event_parse_seek),
15574         (gst_event_new_navigation):
15575         * gst/gstevent.h:
15576         Add applied_rate field to NEWSEGMENT event.
15577         API: gst_event_new_new_segment_full()
15578         API: gst_event_parse_new_segment_full()
15579
15580         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
15581         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
15582         (gst_segment_to_stream_time), (gst_segment_to_running_time):
15583         * gst/gstsegment.h:
15584         Add applied_rate to GstSegment structure.
15585         Make calculation of stream_time and running_time more correct
15586         wrt rate/applied_rate.
15587         Add some more docs.
15588         API: GstSegment::applied_rate field
15589         API: gst_segment_set_newsegment_full();
15590
15591         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15592         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
15593         * libs/gst/base/gstbasetransform.c:
15594         (gst_base_transform_sink_eventfunc),
15595         (gst_base_transform_handle_buffer):
15596         Parse and use applied_rate in the GstSegment field.
15597
15598         * tests/check/gst/gstevent.c: (GST_START_TEST):
15599         Add check for applied_rate field.
15600
15601         * tests/check/gst/gstsegment.c: (GST_START_TEST),
15602         (gstsegments_suite):
15603         Add more checks for various GstSegment operations.
15604
15605 2006-05-08  Wim Taymans  <wim@fluendo.com>
15606
15607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
15608         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
15609         (gst_base_sink_get_position), (gst_base_sink_change_state):
15610         Store the sync time of the buffer end position separatly in a
15611         new variable eos_rtime so we can properly sync the EOS event.
15612         Fixes #340697.
15613         Fix the docs for gst_base_sink_set_qos_enabled().
15614         Don't set segment start to invalid value when we receive a 
15615         non TIME newsegment.
15616         get closer to handling position reporting for negative rates 
15617         correctly.
15618
15619 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15620
15621         * gst/gstcaps.c:
15622         Docs about how to print caps for debug purposes.
15623
15624         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
15625         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
15626
15627 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
15628
15629         * gst/gstelement.c:
15630           use full enum names and preprend a '%' in docs strings to make recent 
15631           gtk-doc turn that into a link
15632
15633 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15634
15635         * docs/manual/basics-bins.xml:
15636         * docs/manual/basics-bus.xml:
15637         * docs/manual/basics-pads.xml:
15638           Some typo fixes, some additions, some clarifications. 
15639
15640 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15641
15642         * tools/gst-inspect.c: (main):
15643         * tools/gst-launch.c: (main):
15644         * tools/gst-run.c: (main):
15645         * tools/gst-typefind.c: (main):
15646         * tools/gst-xmlinspect.c: (main):
15647           Use the string passed to g_option_context_new() for
15648           what it's intended for - the program name is already
15649           printed elsewhere.
15650
15651 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15652
15653         * tools/Makefile.am:
15654         * tools/gst-inspect.c: (main):
15655         * tools/gst-launch.c: (main):
15656         * tools/gst-xmlinspect.c: (main):
15657         * tools/tools.h:
15658           Add back --version command line option (#340460).
15659
15660         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
15661           Add --version option and use GOption for argument parsing; refactor a
15662           bit; accept directories as arguments and recurse into them; lastly,
15663           print a decent error message when things go wrong.
15664
15665 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15666
15667         * docs/manual/basics-bins.xml:
15668         Don't mention GstThread (#340611)
15669         * docs/manual/basics-elements.xml:
15670         Update link to GObject tutorial (#340607)
15671         
15672 2006-05-05  Wim Taymans  <wim@fluendo.com>
15673
15674         * gst/gstbuffer.h:
15675         * gst/gstminiobject.c:
15676         Add note about refcounting and miniobject/buffer writeability
15677         to docs. Fixes #340604
15678
15679         * gst/gstelementfactory.h:
15680         Added some explanation about @klass.
15681
15682 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15683
15684         * docs/manual/intro-motivation.xml:
15685         * docs/manual/manual.xml:
15686         Avoid CORBA & Bonobo references (#340598)
15687
15688 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15689
15690         * docs/manual/basics-bus.xml:
15691         * docs/manual/basics-pads.xml:
15692         Fix up some inaccuracies and omissions (#340609)
15693         
15694 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
15695
15696         * gst/gstghostpad.c:
15697           Small typo in docs (#340625)
15698
15699 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15700
15701         * gst/parse/Makefile.am:
15702           Make 'make -j' proof (see #340698).
15703
15704 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
15705
15706         * configure.ac:
15707           Require GLib-2.8 here as well.
15708
15709 2006-05-05  Wim Taymans  <wim@fluendo.com>
15710
15711         * gst/glib-compat.c:
15712         * gst/gst.c: (init_pre):
15713         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
15714         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
15715         (gst_object_dispatch_properties_changed):
15716         * gst/gstobject.h:
15717         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
15718         * gst/gststructure.c: (gst_structure_set_valist):
15719         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
15720         Remove pre glib2.8 compatibility, fixes #340508
15721
15722 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15723
15724         * gst/gsttaglist.h:
15725           Mention type of tags in doc blurbs.
15726
15727 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
15728
15729         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
15730         (gst_pad_configure_src), (gst_pad_push):
15731         Restore acceptcaps checking behaviour now that good plugins have
15732         been released.
15733
15734 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
15735
15736         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
15737
15738         * gst/gst.c:
15739         * gst/gstbus.c:
15740         * gst/gstclock.c:
15741         * gst/gstevent.c:
15742         * gst/gstformat.c:
15743         * gst/gstmessage.c:
15744         * gst/gstparse.c:
15745         * gst/gstquery.c:
15746         * gst/gstutils.c:
15747         * gst/parse/Makefile.am:
15748         * libs/gst/base/gstadapter.c:
15749         * libs/gst/base/gstbasesrc.c:
15750         * libs/gst/base/gstpushsrc.c:
15751         * libs/gst/base/gsttypefindhelper.c:
15752         * plugins/elements/gstfakesrc.c:
15753         * plugins/elements/gstidentity.c:
15754           Make sure gstprivate.h and/or config.h are
15755           always included first, otherwise some of our
15756           defines (like _FILE_OFFSET_BITS) might be
15757           redefined in the system headers. Fixes build
15758           on opensolaris (#340016).
15759
15760 2006-05-04  Wim Taymans  <wim@fluendo.com>
15761
15762         * docs/libs/gstreamer-libs-sections.txt:
15763         API: addition: gst_adapter_take_buffer()
15764         
15765         * libs/gst/base/gstadapter.c: (gst_adapter_push),
15766         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
15767         (gst_adapter_available_fast):
15768         * libs/gst/base/gstadapter.h:
15769         Prepare for optimizing the hell out of this hugely inefficient
15770         piece of code. 
15771         Added gst_adapter_take_buffer() so we can at least start thinking
15772         about subbuffering and merging.
15773         Added some comments.
15774
15775         * tests/check/Makefile.am:
15776         * tests/check/libs/adapter.c: (GST_START_TEST),
15777         (gst_adapter_suite), (main):
15778         Added GstAdapter check.
15779
15780 2006-05-04  Wim Taymans  <wim@fluendo.com>
15781
15782         * docs/design/part-overview.txt:
15783         Fix some typos, add blurb about buffer flags.
15784
15785 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
15786
15787         * docs/libs/gstreamer-libs-sections.txt:
15788           make sure GstBaseTransformClass shows up in the docs
15789         * libs/gst/base/gstbasetransform.c:
15790         * libs/gst/base/gstbasetransform.h:
15791           move docs so gtk-doc picks it up now
15792
15793 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15794
15795         * docs/libs/gstreamer-libs-sections.txt:
15796           add missing symbols to docs
15797
15798 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
15799
15800         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15801           back out the newsegment handling change, see #340060 for ongoing
15802           discussion
15803
15804 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
15805
15806         * tools/gst-run.c: (get_candidates), (main):
15807           Fix wrong g_file_test() usage (see glib docs for why it doesn't
15808           work); fix typo in error message. Fixes #340079.
15809
15810 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15811
15812         * common/Makefile.am:
15813         * docs/Makefile.am:
15814         * docs/faq/Makefile.am:
15815         * docs/gst/Makefile.am:
15816         * docs/libs/Makefile.am:
15817         * docs/manual/Makefile.am:
15818         * docs/plugins/Makefile.am:
15819         * docs/pwg/Makefile.am:
15820         * docs/slides/Makefile.am:
15821         * docs/upload.mak:
15822         * common/upload.mak:
15823           move upload.mak to common
15824
15825 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15828           add more asserts on refcounts
15829           do more cleanup at end of tests
15830           fix test leaks showing in FC5
15831
15832 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
15833
15834         * plugins/elements/gsttypefindelement.c:
15835         (gst_type_find_element_handle_event):
15836         reverted wrong change and reflowed code to avoid others falling into
15837         this trap
15838
15839 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15840
15841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
15842           fix changelog entry about last collectpads change,
15843           add notes about proper fix
15844
15845 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15846
15847         * gst/gst.c:
15848         * gst/gstregistry.c: (gst_registry_scan_path_level),
15849         (gst_registry_scan_path):
15850         * gst/gstregistry.h:
15851           only write out registry if it has changed, fixes #338339
15852
15853 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15854
15855         * gst/gstbin.c:
15856         * gst/gstpipeline.c:
15857         * plugins/elements/gstcapsfilter.c:
15858         * plugins/elements/gstfakesink.c:
15859         * plugins/elements/gstfakesrc.c:
15860         * plugins/elements/gstfdsink.c:
15861         * plugins/elements/gstfdsrc.c:
15862         * plugins/elements/gstfilesink.c:
15863         * plugins/elements/gstfilesrc.c:
15864         * plugins/elements/gstidentity.c:
15865         * plugins/elements/gstqueue.c:
15866         * plugins/elements/gsttee.c:
15867         * plugins/elements/gsttypefindelement.c:
15868         (gst_type_find_element_handle_event):
15869           make GstElementDetails const
15870
15871 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15872
15873         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
15874         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15875         (gst_collect_pads_is_collected), (gst_collect_pads_event):
15876           more detailed debug and formatting cleanup,
15877           forward newsegments to src-pad (so that e.g. adder not eats them)
15878
15879 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15880
15881         * gst/gstutils.c: (gst_element_link_pads):
15882           cleanup double code
15883
15884 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
15885
15886         * libs/gst/controller/gstcontroller.c:
15887         (gst_controller_sync_values):
15888           some little tuning
15889         * tests/check/libs/controller.c: (GST_START_TEST),
15890         (gst_controller_suite):
15891           a new test for live value handling
15892
15893 2006-04-28  Wim Taymans  <wim@fluendo.com>
15894
15895         * gst/gstutils.c: (push_and_ref):
15896         Added some more docs.
15897         Fix refcount issue whith gst_element_found_tags() helper 
15898         function. Fixes #338335
15899
15900         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15901         Added testsuite for gst_element_found_tags().
15902
15903 2006-04-28  Michael Smith  <msmith@fluendo.com>
15904
15905         * gst/gstvalue.c: (gst_value_serialize_flags):
15906           Avoid NULL dereference when trying to serialize flags containing
15907           invalid values.
15908
15909 2006-04-28  Michael Smith  <msmith@fluendo.com>
15910
15911         * plugins/elements/gsttypefindelement.c:
15912         (gst_type_find_element_handle_event):
15913           If we get EOS before any data is accumulated, don't use
15914           uninitialised local variables.
15915
15916 2006-04-28  Michael Smith  <msmith@fluendo.com>
15917
15918         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15919         (gst_dp_event_from_packet):
15920           Fixes in reading/writing events over GDP (not currently used?) - 
15921           dereferencing NULL events for unknown/invalid event types, memory
15922           leak, and change g_warning to GST_WARNING.
15923
15924 2006-04-28  Wim Taymans  <wim@fluendo.com>
15925
15926         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
15927         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
15928         (gst_base_sink_get_position), (gst_base_sink_change_state):
15929         When frame dropping is enabled, we should not ignore frames
15930         without a duration.
15931         Update some documentation.
15932
15933 2006-04-28  Wim Taymans  <wim@fluendo.com>
15934
15935         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15936         (gst_base_src_send_event), (gst_base_src_change_state):
15937         Documentation updates.
15938
15939 2006-04-28  Wim Taymans  <wim@fluendo.com>
15940
15941         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
15942         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
15943         handle EAGAIN, EINTR and short writes correctly. Also clean
15944         up some error cases, avoid a deadlock on bad file descriptors and
15945         use GST_DEBUG_OBJECT.
15946         Fixes #339843
15947
15948 2006-04-28  Wim Taymans  <wim@fluendo.com>
15949
15950         * gst/gstvalue.c: (gst_value_serialize_buffer),
15951         (gst_value_deserialize_buffer):
15952         Don't try to serialize a GValue with a NULL buffer. 
15953         Fixes #339821.
15954
15955         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15956         Added check for serialisation of NULL buffers.
15957
15958 2006-04-28  Wim Taymans  <wim@fluendo.com>
15959
15960         * gst/gstminiobject.c: (gst_value_take_mini_object):
15961         Taking a NULL miniobject is valid, fix the case where
15962         we try to unref the NULL miniobject.
15963
15964 2006-04-28  Wim Taymans  <wim@fluendo.com>
15965
15966         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
15967
15968         * gst/gstbin.c: (gst_bin_handle_message_func):
15969         Update docs.
15970         Don't leak bin refcount when a state recalc is
15971         in progress and we delay another one #339808.
15972
15973 2006-04-28  Wim Taymans  <wim@fluendo.com>
15974
15975         * docs/design/part-TODO.txt:
15976         Mention QoS as an ongoing work item.
15977
15978         * docs/design/part-buffering.txt:
15979         New doc about buffering that needs to be fleshed out
15980         at some point.
15981
15982         * docs/design/part-qos.txt:
15983         More QoS policy for decoders/demuxers/transforms
15984
15985         * docs/design/part-trickmodes.txt:
15986         Small update.
15987
15988 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15989
15990         * configure.ac:
15991           back to HEAD
15992
15993 === release 0.10.5 ===
15994
15995 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
15996
15997         * configure.ac:
15998           releasing 0.10.5, "Fogo"
15999
16000 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16001
16002         patch by: Wim Taymans
16003
16004         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
16005         (gst_pad_configure_src), (gst_pad_push):
16006         * gst/gstpipeline.c: (gst_pipeline_init):
16007           Fix internal data flow errors.  Fixes #338711.
16008
16009 2006-04-12  Wim Taymans  <wim@fluendo.com>
16010
16011         * tests/check/gst/gstelement.c: (GST_START_TEST):
16012         Don't leak the factory.
16013
16014 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16015
16016         * configure.ac:
16017         * win32/common/config.h:
16018           prerelease
16019
16020 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
16021
16022         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16023         (gst_controller_unset_all):
16024           Free allocated GstTimedValues when freeing list nodes.
16025           Should fix leaks 'make check-valgrind' complains about.
16026
16027         * win32/common/libgstcontroller.def:
16028           Add gst_controller_unset_all.
16029
16030 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
16031
16032         * docs/libs/gstreamer-libs-sections.txt:
16033         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
16034         (gst_controller_unset_all):
16035         * libs/gst/controller/gstcontroller.h:
16036         API: Added new method gst_controller_unset_all()
16037         fixed gst_controller_unset()
16038         * tests/check/libs/controller.c: (GST_START_TEST),
16039         (gst_controller_suite):
16040         Added two testcases for new and fixed method
16041
16042 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
16043
16044         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
16045           MSG_DONTWAIT is not defined on Cygwin, so work
16046           around that (fixes #317048).
16047           
16048 2006-04-11  Wim Taymans  <wim@fluendo.com>
16049
16050         * gst/gstelementfactory.c: (gst_element_register),
16051         (gst_element_factory_create), (gst_element_factory_make):
16052         Some cleanups.
16053         Fixed a FIXME.
16054         Updated docs (Fixes #131079)
16055
16056         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16057         Small cleanups.
16058
16059         * tests/check/gst/gstelement.c: (GST_START_TEST),
16060         (gst_element_suite):
16061         Added testcase for elementfactory class field.
16062
16063 2006-04-10  Wim Taymans  <wim@fluendo.com>
16064
16065         * gst/gstsegment.c:
16066         Added some more docs.
16067
16068         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
16069         (gst_base_sink_reset_qos):
16070         Calculate more accurate rate values.
16071
16072 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
16073
16074         * gst/gst_private.h:
16075           add a new #ifdef to use __declspec(dllimport) only for
16076           other modules and not for gstreamer core
16077         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
16078           use gst_guint64_to_gdouble for conversion
16079         * win32/common/libgstreamer.def:
16080           add new exported functions
16081         * win32/vs6/gst_inspect.dsp:
16082         * win32/vs6/gst_launch.dsp:
16083         * win32/vs6/libgstbase.dsp:
16084         * win32/vs6/libgstcontroller.dsp:
16085         * win32/vs6/libgstcoreelements.dsp:
16086         * win32/vs6/libgstdataprotocol.dsp:
16087         * win32/vs6/libgstnet.dsp:
16088           update project files
16089
16090 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16091
16092         * gst/gstbuffer.c: (gst_subbuffer_class_init):
16093         * gst/gstclock.c: (gst_clock_class_init):
16094         * gst/gstelement.c: (gst_element_class_init):
16095         * gst/gstindex.c: (gst_index_class_init):
16096         * gst/gstindexfactory.c: (gst_index_factory_class_init):
16097         * gst/gstobject.c: (gst_object_class_init),
16098         (gst_signal_object_class_init):
16099         * gst/gstpad.c: (gst_pad_class_init):
16100         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
16101         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
16102         * gst/gstregistry.c: (gst_registry_class_init):
16103         * gst/gstsystemclock.c: (gst_system_clock_class_init):
16104         * gst/gsttask.c: (gst_task_class_init):
16105         * gst/gstxml.c: (gst_xml_class_init):
16106         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
16107         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16108         (gst_base_src_loop):
16109         * libs/gst/controller/gstcontroller.c:/
16110         (_gst_controller_class_init):
16111         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
16112         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
16113         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
16114         * tests/old/examples/plugins/example.c: (gst_example_class_init):
16115         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
16116         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
16117
16118 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
16119
16120         * gst/gstpad.c: (gst_pad_link):
16121           Must set peer pads before calling the link function, otherwise
16122           a task started from a link function might get a flow-not-linked
16123           result when trying to push because the other thread where the
16124           linking happens hasn't had a chance to set the peers yet. This
16125           might happen for example when a queue gets linked to a downstream
16126           element, as queue starts a streaming task when its source pad
16127           gets linked. Happens in real life when playing back flac/musepack
16128           files in playbin (#332390).
16129           
16130 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
16131
16132         * gst/gstindex.h:
16133         * gst/gstxml.h:
16134         * libs/gst/base/gstadapter.h:
16135         * libs/gst/base/gstbasesink.h:
16136         * libs/gst/base/gstbasesrc.h:
16137         * libs/gst/base/gstbasetransform.h:
16138         * libs/gst/base/gstcollectpads.h:
16139         * libs/gst/base/gstpushsrc.h:
16140         Fix broken GObject macros
16141
16142 2006-04-07  Wim Taymans  <wim@fluendo.com>
16143
16144         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16145         Initialize start and stop times, thanks valgrind.
16146
16147 2006-04-07  Wim Taymans  <wim@fluendo.com>
16148
16149         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16150         Be a bit nicer to badly behaving upstream elements that expect
16151         us to deal with non TIME segments and timestamps (such as fakesrc
16152         in the testsuite).
16153
16154 2006-04-07  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/gstbus.c:
16157         Small documentation clarification about the signal watch.
16158
16159         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16160         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16161         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16162         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
16163         (gst_base_sink_get_position_last),
16164         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
16165         Convert and store timestamps in stream time and running time, the
16166         raw timestamps are not useful, also document this better.
16167         Use different window sizes for good and bad QoS observations so
16168         we react to badness a little quicker.
16169         Keep track of the amount of rendered and dropped buffers.
16170         Send QoS timestamps in running time.
16171
16172         * libs/gst/base/gstbasetransform.c:
16173         (gst_base_transform_sink_eventfunc),
16174         (gst_base_transform_handle_buffer):
16175         Compare QoS timestamps against running time.
16176
16177 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16178
16179         * gst/gstpad.c:
16180           Typo fixes in docs.
16181
16182 2006-04-06  Michael Smith  <msmith@fluendo.com>
16183
16184         * gst/gstpad.c: (gst_pad_set_property):
16185           Use g_value_get_object() instead of g_value_dup_gst_object(),
16186           to avoid double-reffing the pad template (which we then sink,
16187           so this worked previously if (and only if) the pad template
16188           was floating.
16189
16190         * gst/gstpadtemplate.c: (gst_pad_template_init),
16191         (gst_pad_template_pad_created):
16192           Never return floating references to pad templates, create
16193           them as initially-sunken.
16194
16195           Document an extra function (and make this stop sinking our
16196           pad template, since that is now guaranteed to do nothing,
16197           since we created it sunken).
16198
16199         * gst/gstghostpad.c:
16200           Fix docs typo.
16201
16202 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
16203
16204         * gst/gstinfo.c: (__gst_in_valgrind):
16205           Add some newlines.
16206
16207         * plugins/elements/gsttypefindelement.c:
16208         (gst_type_find_element_chain):
16209           Don't leak buffer caps.
16210
16211 2006-04-06  Michael Smith  <msmith@fluendo.com>
16212
16213         * gst/parse/grammar.y:
16214           Fix a leak in parse-launch for any source-or-sink named element 
16215           references used.
16216
16217         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
16218           Unref the pipeline if it exists after we've failed parsing.
16219
16220 2006-04-05  Michael Smith  <msmith@fluendo.com>
16221
16222         * gst/gstpipeline.c: (gst_pipeline_init):
16223           When we create a pipeline bus, initially create it in flushing mode.
16224           Fixes leaks in at least one test, and makes a new pipeline work the
16225           same as one that has gone to READY and then back to NULL.
16226
16227         * gst/gstelement.c:
16228           Typo fix in docs.
16229
16230 2006-04-05  Michael Smith  <msmith@fluendo.com>
16231
16232         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16233           Unref a pad we reffed.
16234         * tests/check/gst/gstutils.c: (GST_START_TEST):
16235           Unref bins
16236
16237 2006-04-05  Michael Smith  <msmith@fluendo.com>
16238
16239         * gst/gstquery.c: (gst_query_set_formats),
16240         (gst_query_set_formatsv):
16241           Fix leaking GValues in queries, as shown by valgrind/testsuite.
16242
16243 2006-04-05  Michael Smith  <msmith@fluendo.com>
16244
16245         * tests/check/generic/sinks.c: (GST_START_TEST):
16246           Fix a variety of memleaks in sinks check, which are only sometimes 
16247           shown by running the tests under valgrind (weird?).
16248
16249 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
16250
16251         * docs/version.entities.in:
16252           Fix the substituted entity name after thomas' changes on the
16253           weekend.
16254
16255 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
16256
16257         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
16258         VALGRIND_PRINTF
16259         
16260 2006-04-05  Andy Wingo  <wingo@pobox.com>
16261
16262         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
16263
16264         * libs/gst/base/gstbasetransform.c
16265         (gst_base_transform_sink_eventfunc): When resetting our segment on
16266         FLUSH_STOP, also update the flag saying we haven't seen a
16267         newsegment.
16268
16269 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16270
16271         Patch by: Paolo Borelli  <pborelli at katamail dot com>
16272
16273         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
16274         (gst_plugin_check_license):
16275           minor clean-ups: G_DEFINE_TYPE already takes care of the
16276           parent_class stuff, no need to do it twice. Mark array of
16277           license strings as constant. (#337103)
16278           
16279 2006-04-04  Michael Smith  <msmith@fluendo.com>
16280
16281         * tools/gst-inspect.c: (print_element_list):
16282           Free the right plugin list; fixes a memory leak.
16283
16284 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16285
16286         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
16287
16288         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16289           Don't error out on empty buffers (#336945).
16290           
16291 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
16292
16293         * docs/libs/gstreamer-libs-sections.txt:
16294         * gst/gsttaglist.c:
16295         * libs/gst/base/gstbasesink.c:
16296         * libs/gst/base/gstbasesink.h:
16297         * libs/gst/base/gstbasesrc.c:
16298         * libs/gst/base/gstbasesrc.h:
16299           Documentation updates. Make BaseSink and BaseSrc docs contain the
16300           class structure so that people can actually see the prototypes for
16301           virtual functions they're supposed to be overriding.
16302
16303 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
16304
16305         * plugins/elements/gsttypefindelement.c:
16306         (gst_type_find_element_chain):
16307           More debug info; when skipping typefinding, send cached
16308           events in all cases.
16309
16310 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * configure.ac:
16313           use new AS_VERSION and AS_NANO macros
16314         * gst/gst-i18n-lib.h:
16315         * gst/gst.c:
16316         * gst/gsterror.c:
16317         * gst/gstversion.h.in:
16318         * win32/common/config.h:
16319         * win32/common/config.h.in:
16320           update accordingly
16321
16322 2006-03-31  Michael Smith  <msmith@fluendo.com>
16323
16324         * plugins/elements/gsttypefindelement.c:
16325         (gst_type_find_element_chain):
16326           Do not typefind content if the buffers already have caps.
16327           Neccesary for icydemux (#333657), and the right thing to do anyway.
16328
16329 2006-03-30  Wim Taymans  <wim@fluendo.com>
16330
16331         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16332         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
16333         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
16334         (gst_base_sink_record_qos_observation),
16335         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16336         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16337         (gst_base_sink_change_state):
16338         More QoS measurements as described in the design doc.
16339         Get rid of ringbuffer with observations, running average is
16340         more simple and equally good.
16341         Calculates valid proportion now.
16342         Added beginning of flood measurement.
16343
16344 2006-03-29  Wim Taymans  <wim@fluendo.com>
16345
16346         * docs/design/part-qos.txt:
16347         * gst/gstclock.c:
16348         Small documentation updates and additions.
16349
16350 2006-03-29  Wim Taymans  <wim@fluendo.com>
16351
16352         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16353         (gst_base_src_send_event), (gst_base_src_loop),
16354         (gst_base_src_change_state):
16355         Perform the EOS logic when we reach the segment stop position.
16356         Fix compilation on gcc4.1
16357
16358 2006-03-29  Wim Taymans  <wim@fluendo.com>
16359
16360         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
16361
16362         * plugins/elements/gstqueue.c: (gst_queue_init),
16363         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
16364         (gst_queue_set_property):
16365         * plugins/elements/gstqueue.h:
16366         In queue, when EOS is received, if minimum threshold > max_size -
16367         current_level, there is chance that queue blocks forever in conditional
16368         item del wait. This is because the queue is not emptied completely due
16369         to minimum threshold.  Here is another approach. Instead of setting
16370         cur_levels to max in EOS, just zero all minimum threshold levels. This
16371         should make sure that queue gives out all data. When going to READY
16372         (stop) state, just reset the original minimum threshold levels.
16373         Fixes #336336.
16374
16375 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
16376
16377         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
16378         (gst_type_find_element_handle_event),
16379         (gst_type_find_element_send_cached_events),
16380         (gst_type_find_element_change_state):
16381         * plugins/elements/gsttypefindelement.h:
16382           When typefinding is done in push mode, we should cache
16383           events we receive during typefinding instead of just
16384           dropping them (e.g. newsegment, custom events from
16385           dvdreadsrc etc.) and then send them out once we've
16386           determined the type of the stream (and decodebin
16387           has had a chance to plug in a decoder/demuxer).
16388           
16389 2006-03-27  Wim Taymans  <wim@fluendo.com>
16390
16391         * docs/design/part-qos.txt:
16392         First QoS ideas.
16393
16394 2006-03-27  Wim Taymans  <wim@fluendo.com>
16395
16396         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
16397
16398         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
16399         (gst_base_src_send_event), (gst_base_src_change_state):
16400         Handle element seek correctly when we are streaming.
16401         Fixes #326998.
16402
16403 2006-03-24  Michael Smith  <msmith@fluendo.com>
16404
16405         * docs/faq/gst-uninstalled:
16406           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
16407           allow you to correctly run intalled applications built against old 
16408           core, using plugins that require updated core (e.g. running
16409           installed totem against a full uninstalled gstreamer stack)
16410
16411 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16412
16413         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16414         more debug details
16415
16416 2006-03-24  Wim Taymans  <wim@fluendo.com>
16417
16418         * docs/gst/gstreamer-sections.txt:
16419         Rearrange the order of the methods so that related methods
16420         are grouped together in sections.
16421
16422 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16423
16424         * gst/gstelement.c:
16425           Little clarification in the docs
16426
16427 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
16428
16429         * docs/README:
16430         formatting fix
16431         * plugins/elements/gstidentity.c:
16432         * plugins/elements/gstqueue.c:
16433         * plugins/elements/gsttee.c:
16434         * plugins/elements/gsttypefindelement.c:
16435         GST_ELEMENT_DETAILS formatting
16436
16437 2006-03-24  Wim Taymans  <wim@fluendo.com>
16438
16439         * libs/gst/base/gstbasesink.h:
16440         Only add fields, not insert or we break ABI.
16441
16442 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16443
16444         * win32/common/libgstbase.def:
16445         * win32/common/libgstreamer.def:
16446           Update, add recently added functions.
16447
16448 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16449
16450         * docs/gst/gstreamer-sections.txt:
16451         * gst/gstutils.c: (gst_pad_query_peer_position),
16452         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
16453         * gst/gstutils.h:
16454           API: add some new utility functions:
16455            - gst_pad_query_peer_position()
16456            - gst_pad_query_peer_duration()
16457            - gst_pad_query_peer_convert()
16458           
16459 2006-03-23  Wim Taymans  <wim@fluendo.com>
16460
16461         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16462         (gst_base_sink_init), (gst_base_sink_finalize),
16463         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
16464         (gst_base_sink_set_property), (gst_base_sink_get_property),
16465         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
16466         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
16467         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
16468         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
16469         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
16470         (gst_base_sink_preroll_object), (gst_base_sink_event),
16471         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
16472         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
16473         (gst_base_sink_query), (gst_base_sink_change_state):
16474         Decouple max-lateness and the fact that QoS messages are generated
16475         with a new property (qos).
16476         added API: GstBaseSink::async_play()
16477         Add vmethod so subclasses can be notified of ASYNC playing
16478         state changes.
16479         Collect timestamp start and stop to report better current
16480         position in EOS/PLAYING/PAUSED/READY/NULL.
16481         Refactor QoS/frame dropping and other measurements.
16482         API: GstBaseSrc::qos
16483         Fixes #326311
16484
16485         * libs/gst/base/gstbasesink.h:
16486         Added Private struct.
16487         API: gst_base_sink_set_qos_enabled()
16488         API: gst_base_sink_is_qos_enabled()
16489
16490 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
16491
16492         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
16493           If compiling against GLib-2.8 or newer, try to read the
16494           registry file using GMappedFile first before falling back
16495           to fopen() + fread() (#332151).
16496
16497 2006-03-22  Wim Taymans  <wim@fluendo.com>
16498
16499         * gst/gstinfo.c: (gst_debug_set_active),
16500         (gst_debug_category_set_threshold):
16501         Disable debugging unless explicitly activated.
16502         Fixes #335480.
16503
16504 2006-03-22  Wim Taymans  <wim@fluendo.com>
16505
16506         * gst/gstelement.c: (gst_element_set_locked_state),
16507         (gst_element_dispose):
16508         Cleanup the error case.
16509
16510         * gst/gstobject.c: (gst_object_dispose):
16511         print a critical when some object was disposed with
16512         a parent, also revive the object since it might
16513         crash the parent.
16514
16515 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
16516
16517         * tools/gst-launch.1.in:
16518           Fix another typo.
16519
16520 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16521
16522         * configure.ac:
16523         * tests/check/Makefile.am:
16524           disable some tests when we don't have a registry
16525         * tests/check/gst/gstutils.c: (gst_utils_suite):
16526           don't build the part that needs parsing
16527
16528 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16529
16530         * gst/Makefile.am
16531         * tests/examples/Makefile.am:
16532           fix --disable-parse build
16533
16534 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16535
16536         * tools/gst-feedback.1.in:
16537           Fix typo: s/feeback/feedback/ (#133494).
16538
16539 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16540
16541         * tools/Makefile.am:
16542         * tools/gst-launch.1.in:
16543           Add FILES section and correct entry about GST_REGISTRY_PATH
16544           environment variable (#133495; #133494).
16545
16546 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16547
16548         * tools/Makefile.am:
16549         * tools/gst-md5sum.1.in:
16550         * tools/gst-md5sum.c:
16551           Remove gst-md5sum and man page (the md5sink element
16552           required was removed ages ago)
16553
16554 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16555
16556         * gst/gststructure.c: (gst_structure_id_set_value):
16557           Make sure that string fields in structures/taglists
16558           contain valid UTF-8 - we don't want to pass rubbish to
16559           applications because of a buggy plugin (cp. #334167).
16560
16561 2006-03-21  Edward Hervey  <edward@fluendo.com>
16562
16563         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16564         (gst_bin_handle_message_func):
16565         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
16566         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
16567         (gst_element_set_bus_func):
16568         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
16569         * gst/gstminiobject.c: (gst_value_set_mini_object),
16570         (gst_value_take_mini_object):
16571         * gst/gstpad.c: (gst_pad_set_pad_template):
16572         * gst/gstpipeline.c: (gst_pipeline_dispose),
16573         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
16574         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
16575         (gst_collect_pads_chain):
16576         * libs/gst/net/gstnettimeprovider.c:
16577         (gst_net_time_provider_set_property):
16578         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
16579         It's in fact all issues with gst_*object_replace().
16580
16581 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
16582
16583         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
16584         
16585         * pkgconfig/gstreamer-check-uninstalled.pc.in:
16586         * pkgconfig/gstreamer-check.pc.in:
16587           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
16588
16589 2006-03-21  Edward Hervey  <edward@fluendo.com>
16590
16591         * gst/gstbuffer.h:
16592         * gst/gstevent.h:
16593         * gst/gstmessage.h:
16594         gst_[buffer|event|message]_ref() macros are replaced by a static
16595         inline functions because gcc-4.1 will about if the return value
16596         isn't used.
16597         * tests/check/gst/gstevent.c: (event_probe):
16598         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
16599
16600 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
16601
16602         * gst/gstutils.h:
16603         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
16604         the type' case. (Closes: #335195 for now). In the future, when we
16605         depend on GLib 2.10, we could also intern the type name using
16606         g_intern_static_string()
16607
16608 2006-03-20  Wim Taymans  <wim@fluendo.com>
16609
16610         * gst/gstbin.c: (gst_bin_handle_message_func),
16611         (bin_query_max_init), (bin_query_position_fold),
16612         (bin_query_position_done), (gst_bin_query):
16613         Position query should also take max of all streams.
16614
16615 2006-03-20  Wim Taymans  <wim@fluendo.com>
16616
16617         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16618         (gst_fake_src_finalize):
16619         Fix leaks in fakesrc.
16620
16621         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
16622         Fix leaks in the testcase.
16623
16624 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
16625
16626         * gst/gst_private.h:
16627           add win32 specific import decoration(__declspec(dllimport)) 
16628           for all extern GstDebugCategory * variables
16629         * win32/common/libgstbase.def:
16630         * win32/common/libgstcontroller.def:
16631         * win32/common/libgstreamer.def:
16632           Add some exports, remove empty lines
16633         * win32/common/libgstdataprotocol.def:
16634         * win32/common/libgstdataprotocol.dsp:
16635         * win32/common/libgstnet.def:
16636         * win32/common/libgstnet.dsp:
16637           new project files and exportation files added
16638         
16639 2006-03-19  Wim Taymans  <wim@fluendo.com>
16640
16641         * tests/check/libs/basesrc.c: (eos_event_counter):
16642         Use proper return value for probe.
16643
16644 2006-03-17  Wim Taymans  <wim@fluendo.com>
16645
16646         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16647         (gst_pad_push):
16648         Don't leak buffers, caps and pads on negotiation errors.
16649
16650 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
16651
16652         * docs/faq/cvs.xml:
16653         * docs/faq/dependencies.xml:
16654         * docs/faq/developing.xml:
16655         * docs/faq/faq.xml:
16656         * docs/faq/general.xml:
16657         * docs/faq/getting.xml:
16658         * docs/faq/legal.xml:
16659         * docs/faq/troubleshooting.xml:
16660         * docs/faq/using.xml:
16661         Faq review and update.
16662
16663 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
16664
16665         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
16666         (gst_pad_push):
16667         Don't pound the cpu to pieces by checking get_caps when accept_caps
16668         is called with the same caps as the pad already has.
16669         Use GST_DEBUG_OBJECT when outputting caps change information.
16670
16671 2006-03-15  Wim Taymans  <wim@fluendo.com>
16672
16673         * gst/gstclock.c: (gst_clock_class_init):
16674         Fix docs.
16675
16676 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
16677
16678         * gst/gstbuffer.h:
16679         Documentation fix.
16680
16681         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
16682         (gst_pad_accept_caps), (gst_pad_configure_sink),
16683         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
16684         Make the default acceptcaps behaviour be to check the requested 
16685         caps against the gst_pad_get_caps output. 
16686
16687         Ensure that gst_pad_accept_caps is used to check caps when a pad
16688         doesn't have a setcaps function, so that pads automatically refuse 
16689         caps that they don't allow in their pad template. (Fixes #332986)
16690
16691         When a buffer with attached caps is pushed, ensure that the source 
16692         pad receives those caps even if the element didn't call
16693         gst_pad_set_caps first.
16694
16695 2006-03-15  Wim Taymans  <wim@fluendo.com>
16696
16697         * libs/gst/base/gstadapter.c:
16698         Add some docs.
16699
16700 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
16701
16702         * win32/common/libgstbase.def:
16703         * win32/common/libgstcontroller.def:
16704         * win32/common/libgstreamer.def:
16705           Add a whole bunch of missing functions (#334434).
16706
16707 2006-03-14  Wim Taymans  <wim@fluendo.com>
16708
16709         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
16710         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16711         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
16712         Better debug info when we receive a segment event.
16713         Reorganize a bit so we can pass the get_times() results around.
16714         Use the segment format when calculating the running time.
16715         Don't do QoS is sync is disabled or we have no clock or the
16716         element does not want us to sync to the clock.
16717         Don't drop buffers if QoS is disabled for now.
16718
16719 2006-03-14  Wim Taymans  <wim@fluendo.com>
16720
16721         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
16722         Marked the stats property as unimplemented so people don't get
16723         wild ideas.
16724         Add debug message when regression goes wrong.
16725         Added some more docs.
16726
16727 2006-03-14  Wim Taymans  <wim@fluendo.com>
16728
16729         * gst/gstsegment.c: (gst_segment_to_stream_time):
16730         Return correct return type in case of errors.
16731
16732 2006-03-14  Wim Taymans  <wim@fluendo.com>
16733
16734         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
16735           Don't segfault on invalid formats.
16736
16737 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16738
16739         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
16740           Can't use gst_segment_to_running_time() when the segment
16741           is not in GST_TIME_FORMAT (like with filesink, for example).
16742           Stops flac encoding pipelines from spewing critical warnings
16743           at EOS (#331248).
16744           
16745 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
16746
16747         * gst/gstpipeline.c: (gst_pipeline_class_init):
16748           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
16749
16750         * plugins/elements/gsttypefindelement.c:
16751         (gst_type_find_element_handle_event):
16752           Don't try to typefind empty streams.
16753
16754 2006-03-14  Wim Taymans  <wim@fluendo.com>
16755
16756         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16757         (gst_base_sink_do_qos):
16758         Separate QoS calculation.
16759         Only drop buffers when lateness is bigger than the 
16760         duration of the buffer.
16761
16762 2006-03-13  Wim Taymans  <wim@fluendo.com>
16763
16764         * gst/gstpipeline.c: (gst_pipeline_set_property),
16765         (gst_pipeline_get_property), (do_pipeline_seek),
16766         (gst_pipeline_change_state), (gst_pipeline_set_delay),
16767         (gst_pipeline_get_delay):
16768         Don't deadlock when reading properties.
16769
16770 2006-03-13  Wim Taymans  <wim@fluendo.com>
16771
16772         * libs/gst/base/gstbasetransform.c:
16773         (gst_base_transform_class_init), (gst_base_transform_init),
16774         (gst_base_transform_sink_event),
16775         (gst_base_transform_sink_eventfunc),
16776         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
16777         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
16778         (gst_base_transform_set_property),
16779         (gst_base_transform_get_property),
16780         (gst_base_transform_change_state), (gst_base_transform_update_qos),
16781         (gst_base_transform_set_qos_enabled),
16782         (gst_base_transform_is_qos_enabled):
16783         * libs/gst/base/gstbasetransform.h:
16784         Make basetransform virtual method for src events too.
16785         Handle QOS in basetransform.
16786         API: gst_base_transform_update_qos()
16787         API: gst_base_transform_set_qos_enabled()
16788         API: gst_base_transform_is_qos_enabled()
16789
16790 2006-03-13  Wim Taymans  <wim@fluendo.com>
16791
16792         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16793         (gst_base_sink_do_sync):
16794         Small cleanups.
16795         Use QOS debug category.
16796
16797 2006-03-13  Wim Taymans  <wim@fluendo.com>
16798
16799         * plugins/elements/gstqueue.c:
16800         Very small doc update.
16801
16802 2006-03-13  Wim Taymans  <wim@fluendo.com>
16803
16804         * gst/gst_private.h:
16805         * gst/gstinfo.c: (_gst_debug_init):
16806         Added QOS debug category
16807
16808 2006-03-13  Wim Taymans  <wim@fluendo.com>
16809
16810         * docs/gst/gstreamer-sections.txt:
16811         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
16812         * gst/gstbin.h:
16813         * gst/gstbus.c: (gst_bus_class_init):
16814         * gst/gstbus.h:
16815         * gst/gstclock.c:
16816         * gst/gstelement.c: (gst_element_set_locked_state):
16817         * gst/gstsegment.c:
16818         Documentation updates.
16819
16820         * gst/gstpipeline.c: (gst_pipeline_get_type),
16821         (gst_pipeline_class_init), (gst_pipeline_init),
16822         (gst_pipeline_dispose), (gst_pipeline_set_property),
16823         (gst_pipeline_get_property), (do_pipeline_seek),
16824         (gst_pipeline_send_event), (gst_pipeline_change_state),
16825         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
16826         (gst_pipeline_get_delay):
16827         * gst/gstpipeline.h:
16828         Added methods for setting the delay.
16829         API: gst_pipeline_set_delay()
16830         API: gst_pipeline_get_delay()
16831         Add pipeline debug category
16832         Various cleanups.
16833         Updated docs.
16834         Don't reset stream time when seek failed.
16835
16836 2006-03-13  Wim Taymans  <wim@fluendo.com>
16837
16838         * docs/design/draft-klass.txt:
16839         * docs/design/part-clocks.txt:
16840         * docs/design/part-events.txt:
16841         * docs/design/part-gstbin.txt:
16842         * docs/design/part-gstpipeline.txt:
16843         * docs/design/part-messages.txt:
16844         * docs/design/part-negotiation.txt:
16845         * docs/design/part-overview.txt:
16846         * docs/design/part-preroll.txt:
16847         * docs/design/part-seeking.txt:
16848         * docs/design/part-states.txt:
16849         * docs/design/part-streams.txt:
16850         Documentation updates.
16851
16852 2006-03-12  Julien MOUTTE  <julien@moutte.net>
16853
16854         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
16855         us to leak strings...
16856
16857 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16858
16859         * libs/gst/net/gstnettimeprovider.c:
16860           fix docs
16861         * win32/common/config.h:
16862           update
16863
16864 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
16865
16866         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
16867
16868         * configure.ac:
16869           Don't check for libgnomeui (leftover from old examples
16870           that aren't built or disted any longer) (#334303).
16871           
16872 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
16873
16874         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
16875         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
16876           Emit RESOURCE_NO_SPACE_LEFT error here as well when
16877           there's no space left on the device.
16878
16879 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
16880
16881         * gst/gstclock.h:
16882           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
16883           to cast the input to GstClockTime before comparing with
16884           another GstClockTime value.
16885
16886 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16887
16888         * configure.ac:
16889           back to trunk
16890
16891 === release 0.10.4 ===
16892
16893 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
16894
16895         * configure.ac:
16896           releasing 0.10.4, "Light"
16897
16898 2006-03-10  Michael Smith  <msmith@fluendo.com>
16899
16900         * libs/gst/dataprotocol/dataprotocol.c:
16901           Fix docs for dataprocotol to not get the return types completely
16902           wrong for a few functions.
16903
16904 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16905
16906         * docs/gst/gstreamer-sections.txt:
16907         * gst/gstpipeline.c: (gst_pipeline_class_init),
16908         (gst_pipeline_init), (gst_pipeline_set_property),
16909         (gst_pipeline_get_property), (gst_pipeline_change_state),
16910         (gst_pipeline_set_auto_flush_bus),
16911         (gst_pipeline_get_auto_flush_bus):
16912         * gst/gstpipeline.h:
16913           Add new API: gst_pipeline_set_auto_flush_bus() and
16914           gst_pipeline_get_auto_flush_bus() to disable automatic
16915           flushing of the pipeline's GstBus when going from READY
16916           to NULL state (#332045).
16917
16918 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16919
16920         * docs/gst/gstreamer-sections.txt:
16921         * gst/gsturi.c: (gst_uri_has_protocol):
16922         * gst/gsturi.h:
16923            Add new API: gst_uri_has_protocol() (#333779).
16924
16925 2006-03-09  Wim Taymans  <wim@fluendo.com>
16926
16927         * gst/gstclock.c: (gst_clock_entry_new),
16928         (gst_clock_id_compare_func), (gst_clock_id_wait),
16929         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
16930         (gst_clock_init), (gst_clock_get_internal_time),
16931         (gst_clock_set_master), (do_linear_regression),
16932         (gst_clock_add_observation), (gst_clock_set_property):
16933         * gst/gstclock.h:
16934         Review docs.
16935         Small cleanups.
16936         Fix a possible segfault when the window-size is made smaller.
16937         Calculate jitter before performing the clock wait. Ideally
16938         the clock implementation should calculate jitter but we need
16939         API breakage for that.
16940
16941         * gst/gstsystemclock.c: (gst_system_clock_init):
16942         Docs review.
16943         
16944         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16945         Remove leftover else
16946
16947         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
16948         (gst_systemclock_suite):
16949         Added check to test GST_CLOCK_DIFF.
16950
16951 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
16952
16953         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
16954         (gst_type_find_helper_get_range):
16955           If we are provided with the size, we should implement
16956           GstTypeFind::get_length, so that typefind functions who
16957           want to can actually peek at the middle of a file.
16958
16959 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
16960
16961         * docs/manual/advanced-dataaccess.xml:
16962           Add some very very basic error checking.
16963
16964         * docs/pwg/appendix-checklist.xml:
16965           Some updates to the list of things to check when writing an element.
16966
16967 2006-03-08  Wim Taymans  <wim@fluendo.com>
16968
16969         * docs/design/part-element-transform.txt:
16970         Added some docs about the design of tranform elements.
16971
16972         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
16973         (gst_base_src_loop), (gst_base_src_change_state):
16974         Mark buffers with the DISCONT flag.
16975
16976 2006-03-08  Michael Smith  <msmith@fluendo.com>
16977
16978         * gst/gstregistry.h:
16979         * gst/gstregistryxml.c: (gst_registry_save),
16980         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
16981         (gst_registry_xml_save_pad_template),
16982         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
16983         (gst_registry_xml_write_cache):
16984           Rewrite registry-saving to avoid race conditions and check for
16985           failed writes.
16986
16987 2006-03-08  Wim Taymans  <wim@fluendo.com>
16988
16989         * libs/gst/base/gstbasetransform.c:
16990         (gst_base_transform_transform_caps),
16991         (gst_base_transform_transform_size),
16992         (gst_base_transform_prepare_output_buffer),
16993         (gst_base_transform_get_unit_size),
16994         (gst_base_transform_buffer_alloc),
16995         (gst_base_transform_handle_buffer),
16996         (gst_base_transform_change_state):
16997         Cleanups, separate normal flow from errors, add sensible
16998         DEBUG lines.
16999         Don't try to renegotiate when allocating an output buffer.
17000         Also copy DISCONT buffer flag when copying a buffer.
17001         Reset the transform after we finish streaming, not during.
17002
17003 2006-03-08  Wim Taymans  <wim@fluendo.com>
17004
17005         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17006         Use last buffer timestamp in qos message.
17007
17008 2006-03-07  Wim Taymans  <wim@fluendo.com>
17009
17010         Patch by: Christophe Fergeau
17011
17012         * docs/pwg/advanced-tagging.xml:
17013         * docs/pwg/building-pads.xml:
17014           fixes #333416
17015
17016 2006-03-07  Wim Taymans  <wim@fluendo.com>
17017
17018         * docs/libs/gstreamer-libs-sections.txt:
17019         Added basesink new methods.
17020
17021         * gst/gstevent.c:
17022         * gst/gstevent.h:
17023         Docs updates. Flesh out the QoS docs.
17024
17025         * libs/gst/base/gstadapter.c:
17026         Small doc clarification about ownership and flushing.
17027
17028         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
17029         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
17030         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
17031         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17032         * libs/gst/base/gstbasesink.h:
17033         API additions: 
17034         Added new methods to allow subclass to control max-lateness 
17035         and sync.
17036         Generate very basic QoS events based on last sync observation.
17037         Updated docs, fix typo, added some QoS blurb.
17038
17039         * libs/gst/base/gstbasesrc.c:
17040         Remove obsolete _get_state() calls from docs.
17041
17042 2006-03-07  Wim Taymans  <wim@fluendo.com>
17043
17044         * docs/libs/gstreamer-libs-sections.txt:
17045         * libs/gst/base/gstbasetransform.h:
17046         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
17047         Fix docs for GstBaseSrc.
17048
17049 2006-03-07  Wim Taymans  <wim@fluendo.com>
17050
17051         * docs/gst/gstreamer-sections.txt:
17052         * gst/gstbuffer.h:
17053         * gst/gstvalue.c:
17054         * libs/gst/base/gstbasetransform.h:
17055         Small documentation fixes.
17056
17057 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17058
17059         * gst/gstvalue.c:
17060           Document thread-unsafety of gst_value_register_foo_func()
17061           when used at the same time as gst_value_foo() (#322628).
17062
17063 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
17064
17065         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
17066         (gst_push_src_check_get_range):
17067           Push sources don't support pull mode by default.
17068
17069 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17070
17071         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17072         (gst_base_src_init), (gst_base_src_pad_check_get_range),
17073         (gst_base_src_default_check_get_range):
17074         * libs/gst/base/gstbasesrc.h:
17075           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
17076           provide default implementation, and rename
17077           gst_base_src_check_get_range() to
17078           gst_base_src_pad_check_get_range() for clarity.
17079
17080 2006-03-06  Wim Taymans  <wim@fluendo.com>
17081
17082         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
17083         Make property overridable.
17084
17085 2006-03-06  Wim Taymans  <wim@fluendo.com>
17086
17087         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17088         (gst_base_sink_init), (gst_base_sink_set_property),
17089         (gst_base_sink_get_property), (gst_base_sink_do_sync):
17090         * libs/gst/base/gstbasesink.h:
17091         API addition: Make max-lateness a property.
17092
17093 2006-03-06  Wim Taymans  <wim@fluendo.com>
17094
17095         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
17096         (gst_base_sink_do_sync), (gst_base_sink_render_object):
17097         Don't ever draw a frame that is >10ms late.
17098
17099 2006-03-06  Michael Smith  <msmith@fluendo.com>
17100
17101         * gst/gstmessage.c: (_gst_message_copy):
17102           When copying a message, set the parent_refcount of the enclosed
17103           structure to point at the copy, not the original message.
17104
17105 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
17106
17107         Patch by: Christophe Fergeau
17108
17109         * gst/gstutils.h:
17110           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
17111           usable in c++ code (#333417)
17112
17113 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17114
17115         * gst/gstclock.h:
17116           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
17117
17118 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
17119
17120         * libs/gst/base/gstbasetransform.c:
17121         (gst_base_transform_transform_caps):
17122           Make sure caps are writable before passing them to
17123           gst_caps_append().
17124
17125 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17126
17127         * gst/gsterror.h:
17128           Fix some minor docs errors.
17129
17130 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
17131
17132           Patch by: Ross Burton <ross at burtonini dot com>
17133
17134         * gst/gsterror.c: (_gst_resource_errors_init):
17135         * gst/gsterror.h:
17136           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
17137
17138 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17139
17140         * gst/gst.c:
17141         Add a check and output a g_warning when GStreamer is built
17142         against GLib 2.6 but running against 2.8 or higher, and vice 
17143         versa. (Closes: #323542)
17144
17145 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
17146
17147         * gst/parse/parse.l:
17148           Commit patch for parse_launch syntax from #331255. Removes 
17149           support for quoted strings and mimetypes when writing filtered 
17150           caps. See the bug report for more details - I'm pretty sure this
17151           obscure feature is not in use by _anyone_ anywhere.
17152
17153           With this simple change, the size of the gstreamer.so here 
17154           drops from 2193KB to 1565KB.
17155
17156 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * plugins/elements/gsttypefindelement.h:
17159         * plugins/elements/gsttypefindelement.c:
17160         (gst_type_find_element_src_event), (start_typefinding),
17161         (stop_typefinding), (gst_type_find_element_handle_event),
17162         (gst_type_find_element_chain),
17163         (gst_type_find_element_chain_do_typefinding):
17164           Use gst_type_find_helper_for_buffer() for chain-based
17165           typefinding.
17166
17167 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17168
17169         * plugins/elements/gsttypefindelement.c:
17170         (gst_type_find_element_class_init),
17171         (gst_type_find_element_set_property),
17172         (gst_type_find_element_get_property):
17173           Deprecate "maximum" property (not only was it only taken into
17174           account for typefinding in push-mode anyway, it also was never
17175           actually possible to set it in the first place because the
17176           property was registered with the numeric property ID for the
17177           "minimum" property). Register "maximum" property correctly,
17178           for the sake of future copy'n'pasters. Remove some cruft
17179           from property get/set functions.
17180
17181 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
17182
17183         * plugins/elements/gsttypefindelement.c:
17184         (gst_type_find_element_activate):
17185           Use gst_type_find_helper_get_range() here, so we
17186           can honour the "minimum" property and also emit
17187           the signal with the correct probability of the found caps.
17188
17189 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
17190
17191         * docs/libs/gstreamer-libs-sections.txt:
17192         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
17193         (helper_find_suggest), (gst_type_find_helper_get_range),
17194         (gst_type_find_helper):
17195         * libs/gst/base/gsttypefindhelper.h:
17196           New API: gst_type_find_helper_get_range() (#333042).
17197
17198 2006-03-02  Michael Smith  <msmith@fluendo.com>
17199
17200         * gst/gstregistryxml.c: (load_feature):
17201           Asserting on a failure to read part of the registry is Not Cool.
17202           Just log a warning and return NULL (which is already handled)
17203
17204 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
17205
17206         * win32/common/libgstbase.def:
17207           added export of gst_type_find_helper_for_buffer
17208         * win32/common/libgstbase.def:
17209           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
17210           gst_ghost_pad_get_target
17211
17212 2006-02-28  Wim Taymans  <wim@fluendo.com>
17213
17214         * docs/design/draft-klass.txt:
17215         We use Filter now.
17216         Added Connector to mark elements that are only used to
17217         allow pipeline connections.
17218         Moved Debug to extra feature since most of them are 
17219         functionally something else.
17220
17221 2006-02-28  Wim Taymans  <wim@fluendo.com>
17222
17223         * docs/design/draft-klass.txt:
17224         Some updates and clarifications.
17225
17226 2006-02-28  Wim Taymans  <wim@fluendo.com>
17227
17228         * docs/design/draft-klass.txt:
17229         Proposal for klass field values.
17230
17231         * docs/design/part-streams.txt:
17232         Start of a doc describing stream anatomy.
17233
17234 2006-02-28  Wim Taymans  <wim@fluendo.com>
17235
17236         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
17237         Help the compiler a bit with type registration.
17238         Use existing forward cod path instead of duplicating it when 
17239         handling a message.
17240         
17241         * gst/gstbus.c: (gst_bus_get_type):
17242         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
17243         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
17244         * gst/gstclock.c: (gst_clock_get_type):
17245         * gst/gstelement.c: (gst_element_get_type),
17246         * gst/gstelementfactory.c: (gst_element_factory_get_type):
17247         * gst/gstindexfactory.c: (gst_index_factory_get_type):
17248         * gst/gstminiobject.c: (gst_mini_object_get_type):
17249         * gst/gstpad.c: (gst_pad_get_type):
17250         * gst/gstsegment.c: (gst_segment_get_type):
17251         * gst/gststructure.c: (gst_structure_get_type):
17252         * gst/gstsystemclock.c: (gst_system_clock_get_type):
17253         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
17254         * gst/gstvalue.c:
17255         Help compiler with type registration.
17256
17257         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
17258         Small doc update.
17259
17260 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17261
17262         * plugins/elements/gsttypefindelement.c:
17263         (gst_type_find_element_handle_event):
17264           When we get an EOS event and have not found a type yet
17265           (most likely because we had not yet accumulated
17266           TYPE_FIND_MIN_SIZE of data yet), try to determine the
17267           type given the data we have so far. Fixes typefinding
17268           for very short streams again, most notably quicktime
17269           redirections as used on Apple's trailer site (#331701).
17270
17271 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17272
17273         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
17274         (gst_type_find_helper):
17275           Try typefinding factories with the highest rank first.
17276
17277 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17278
17279         * docs/libs/gstreamer-libs-docs.sgml:
17280         * docs/libs/gstreamer-libs-sections.txt:
17281         * libs/gst/base/gsttypefindhelper.c:
17282           Add section for typefind helper and add documentation
17283           for the old and the new function.
17284
17285 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17286
17287         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
17288         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
17289         (gst_type_find_helper_for_buffer):
17290         * libs/gst/base/gsttypefindhelper.h:
17291           New API: gst_type_find_helper_for_buffer() (#332723).
17292           
17293 2006-02-27  Michael Smith  <msmith@fluendo.com>
17294
17295         Patch by: Loïc Minier
17296
17297         * configure.ac:
17298         * docs/Makefile.am:
17299         * docs/slides/Makefile.am:
17300           prevent CVS directories getting disted.
17301
17302 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
17303
17304         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
17305           Use the REFCOUNTING category for caps refcounting.
17306           
17307 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17308
17309         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17310           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
17311
17312 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
17313
17314         * plugins/elements/gsttypefindelement.c:
17315         (gst_type_find_element_activate):
17316           Use gst_pad_check_pull_range() before _activate_pull()
17317           to avoid unnecessary open/close (see #331690).
17318
17319 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17320
17321         * gst/gstutils.c:
17322           Docs enhancement: make it crystal clear what the
17323           gst_pad_add_*_probe() callbacks should look like.
17324
17325 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
17326
17327         * libs/gst/base/gstbasesrc.c:
17328           Document how applications can stop recording from
17329           live sources (see #330996).
17330
17331 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17332
17333         * tests/check/Makefile.am:
17334         * tests/check/libs/basesrc.c: (eos_event_counter),
17335         (basesrc_eos_events_pull), (basesrc_eos_events_push),
17336         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
17337         (gst_basesrc_suite), (main):
17338           ... and add some tests for the base source EOS stuff.
17339
17340 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17341
17342         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
17343           Test case originally showed the problem fixed below,
17344           but was then amended. Add checks back at the place
17345           where they used to be.
17346
17347 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17348
17349         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17350         (gst_base_src_init), (gst_base_src_loop),
17351         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17352         (gst_base_src_change_state):
17353         * libs/gst/base/gstbasesrc.h:
17354           Don't unconditionally send EOS when going from PAUSED to
17355           READY state, esp. make sure we don't send two EOS events
17356           in some cases (e.g. one when reaching EOS and one when
17357           going from PAUSED to READY). Also, we don't want to send
17358           EOS events when operating in pull mode. However, we do
17359           want to send an EOS event when shutting down a live
17360           source explicitly, for example (fixes #330996).
17361           
17362 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
17363
17364         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
17365           Update src->read_position after a seek when not using mmap.
17366           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
17367
17368 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
17369
17370         * gst/Makefile.am:
17371         * gst/gstparse.h:
17372         * gst/gstutils.c:
17373         * gst/gstutils.h:
17374         Make things work with --disable-parse as they do with 
17375         --disable-load-save - the symbols involved disappear, but the
17376         header is still installed and GST_DISABLE_PARSE is included via
17377         gstconfig.h
17378
17379 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17380
17381         * libs/gst/base/gstbasetransform.c:
17382         (gst_base_transform_change_state): Fix a stupid bug. I was 
17383         sure I compiled that.
17384
17385 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17386
17387         * gst/gstpad.c: (gst_pad_set_blocked_async):
17388         * gst/gstutils.c: (gst_pad_add_data_probe),
17389         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17390         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17391         (gst_pad_remove_buffer_probe): Make those function act on the
17392         ghostpad target when it's a ghostpad. (Closes #331727)
17393
17394 2006-02-20  Julien MOUTTE  <julien@moutte.net>
17395
17396         * libs/gst/base/gstbasetransform.c:
17397         (gst_base_transform_change_state): Make basetransform reusable.
17398         (Closes #331898)
17399
17400 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
17401
17402         * docs/random/release:
17403         Move the current documentation of how to do a release to the top
17404         of the file.
17405
17406         * gst/gstbin.c: (gst_bin_class_init),
17407         (gst_bin_handle_message_func):
17408         Allow multiple state-recalculation threads. (Closes #328873)
17409
17410 2006-02-19  Julien MOUTTE  <julien@moutte.net>
17411
17412         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
17413         * gst/gstpad.c: (gst_pad_set_event_function),
17414         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17415         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
17416         2 strings. You can't use the STR_NULL macro on that.
17417
17418 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
17419
17420         * gst/gstpad.c: (gst_pad_set_event_function),
17421         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
17422         (gst_pad_set_getcaps_function)
17423         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
17424           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
17425           So now, we can use --gst-debug-level=5 on Windows
17426         * win32/common/libgstcontroller.def:
17427           Added export of gst_controller_init
17428         * win32/vs6/libgstcontroller.dsp:
17429           Fixed Release post build configuration
17430
17431 2006-02-17  Wim Taymans  <wim@fluendo.com>
17432
17433         * tests/check/gst/gstquery.c: (GST_START_TEST):
17434         Added another check.
17435
17436 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
17437
17438         * plugins/elements/gsttypefindelement.c: (find_peek):
17439           We can do peeks at non-zero offsets, as long as they
17440           fall within the buffer we have.
17441
17442 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
17443
17444         * tests/check/Makefile.am:
17445         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
17446         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
17447         (parse_suite), (main):
17448           Add testsuite for parse launch syntax
17449
17450 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
17451
17452         * plugins/elements/gsttypefindelement.c:
17453         (gst_type_find_element_chain):
17454           When typefinding is unsuccessful in the chain function, don't
17455           error out immediately. Only error out with NO_CAPS_FOUND if
17456           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
17457           otherwise simply wait for more data so we can try typefinding
17458           again with more data later. Also, don't attempt to typefind
17459           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
17460           this should improve typefinding from network sources where the
17461           size of the first buffer can be somewhat random.
17462
17463 2006-02-14  Wim Taymans  <wim@fluendo.com>
17464
17465         * docs/gst/gstreamer-sections.txt:
17466         * gst/gstpadtemplate.c:
17467         * gst/gstpadtemplate.h:
17468         Fix padtemplate docs, fixes #328805.
17469
17470 2006-02-14  Wim Taymans  <wim@fluendo.com>
17471
17472         * tools/gst-launch.c: (main):
17473         NO_PREROLL is not an ERROR so don't send confusing messages
17474         to the user.
17475
17476 2006-02-14  Wim Taymans  <wim@fluendo.com>
17477
17478         Patch by: Torsten Schoenfeld
17479
17480         * gst/gstregistry.c: (gst_registry_get_default),
17481         (_gst_registry_cleanup):
17482         Protect default registry with lock and ref/sink it.
17483         Fixes #324818
17484
17485 2006-02-14  Wim Taymans  <wim@fluendo.com>
17486
17487         * gst/gstbuffer.c:
17488         * gst/gstquery.c: (gst_query_list_add_format),
17489         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17490         (gst_query_parse_formats_nth):
17491         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
17492         Docs fixes.
17493
17494 2006-02-14  Wim Taymans  <wim@fluendo.com>
17495
17496         * docs/gst/gstreamer-sections.txt:
17497         Reworked query docs.
17498
17499         * gst/gstquery.c: (gst_query_new_formats),
17500         (gst_query_list_add_format), (gst_query_set_formats),
17501         (gst_query_set_formatsv), (gst_query_parse_formats_length),
17502         (gst_query_parse_formats_nth):
17503         * gst/gstquery.h:
17504         Flesh out formats query, added some new methods.
17505         Fix part of #324398.
17506
17507         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
17508         Added query creation tests.
17509
17510 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
17511
17512         * gst/gstpad.c: (fixate_value):
17513         Add a default fixation for fraction lists.
17514
17515 2006-02-13  Wim Taymans  <wim@fluendo.com>
17516
17517         * gst/gsttask.c: (gst_task_init), (gst_task_func),
17518         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
17519         (gst_task_join):
17520         * gst/gsttask.h:
17521         Detect and warn for obvious deadlocks. fixes #320340
17522         Fix error case where lock was not released.
17523
17524         * tests/check/Makefile.am:
17525         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
17526         (task_func), (gst_element_suite), (main):
17527         Add task check.
17528
17529 2006-02-13  Wim Taymans  <wim@fluendo.com>
17530
17531         * docs/gst/gstreamer-sections.txt:
17532         * gst/gstbus.c:
17533         Add new functions to docs.
17534
17535 2006-02-13  Wim Taymans  <wim@fluendo.com>
17536
17537         * docs/design/part-TODO.txt:
17538         Updated TODO list, basesrc supports seeking to non-bytes
17539         formats.
17540
17541         * docs/design/part-element-sink.txt:
17542         Update docs.
17543
17544         * gst/gstbin.c: (bin_replace_message),
17545         (gst_bin_handle_message_func):
17546         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
17547         * gst/gstevent.c: (gst_event_finalize):
17548         * gst/gstpad.c: (gst_pad_event_default_dispatch),
17549         (gst_pad_send_event):
17550         Use shiny new _TYPE_NAME macros.
17551
17552         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17553         Move debug statement up.
17554
17555         * gst/gstelement.c: (gst_element_set_locked_state):
17556         Add some debugging.
17557
17558 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
17559
17560         * docs/gst/gstreamer-sections.txt:
17561         * gst/gstmessage.h:
17562         * gst/gstquery.h:
17563           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
17564           macros (#330906). Also, document the already existing
17565           GST_QUERY_TYPE macro.
17566
17567 2006-02-13  Wim Taymans  <wim@fluendo.com>
17568
17569         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
17570         (event_probe), (GST_START_TEST):
17571         Only events up to the pipeline EOS are counted, there are
17572         some more when going to NULL currently which we don't care
17573         about for now.
17574
17575 2006-02-13  Wim Taymans  <wim@fluendo.com>
17576
17577         * gst/gstpad.c: (gst_pad_send_event):
17578         Correctly check flushing and emit probes. fixes #330125
17579
17580 2006-02-10  Andy Wingo  <wingo@pobox.com>
17581
17582         * gst/gstbus.c (gst_bus_class_init): Declare our private data
17583         structure.
17584         (gst_bus_init): Cache the location of the private data in the
17585         instance structure.
17586         (gst_bus_enable_sync_message_emission) 
17587         (gst_bus_disable_sync_message_emission): Implement new public
17588         functions.
17589         (gst_bus_post): Emit the sync-message signal if the user asked for
17590         it. Fixes #330684.
17591
17592         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
17593         location of the bus-private structure.
17594         (gst_bus_enable_sync_message_emission)
17595         (gst_bus_disable_sync_message_emission): API addition
17596
17597 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
17598
17599         Patch by: Vincent Torri
17600
17601         * docs/pwg/building-boiler.xml:
17602         PWG patch from #326800
17603
17604 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
17605
17606         * configure.ac:
17607         * docs/Makefile.am:
17608         * docs/design/Makefile.am:
17609           Dist design docs.
17610
17611 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17612
17613         * configure.ac:
17614           back to CVS
17615
17616 === release 0.10.3 ===
17617
17618 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
17619
17620         * configure.ac:
17621           releasing 0.10.3, "Like a virgin"
17622
17623 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
17624
17625         * configure.ac:
17626           2nd prerelease of 0.10.3
17627           Bump libtool versioning.
17628
17629 2006-02-07  Andy Wingo  <wingo@pobox.com>
17630
17631         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
17632         update last_stop if we're in TIME format and the timestamp is
17633         valid.
17634
17635         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
17636         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
17637         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
17638         If we get a new newsegment with a different format, adapt
17639         accordingly.
17640
17641         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
17642         of 0. Not a problem, really.
17643
17644         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
17645         warn if sync=true.
17646
17647 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
17648
17649         * configure.ac:
17650           Prelease of 0.10.3
17651
17652 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
17653
17654         * win32/vs7:
17655           project files updated to the default vs7 configuration
17656         * win32/common/libgstbase.def:
17657         * win32/common/libgstreamer.def:
17658           added new symbols,
17659           removed empty lines,
17660           sorted all exported symbols alphabetically
17661         * win32/common/dirent.c:
17662         * win32/common/dirent.h:
17663         * win32/common/gchar.h:
17664           use windows line end.
17665           
17666 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17667
17668         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
17669           Send EOS event when stopping.
17670
17671 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
17672
17673         * docs/README:
17674           Tell folks what to do if the plugin-foobar.xml file
17675           hasn't been generated for a newly-added plugin.
17676
17677 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17678
17679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
17680         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
17681         (gst_collect_pads_start), (gst_collect_pads_stop),
17682         (gst_collect_pads_event): Collectpads now holds a reference
17683         to the GstPad that was added. Indeed we don't want to look
17684         at pads that might just go away with no warning...
17685
17686 2006-02-05  Julien MOUTTE  <julien@moutte.net>
17687
17688         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17689         (gst_collect_pads_start), (gst_collect_pads_stop),
17690         (gst_collect_pads_event), (gst_collect_pads_chain):
17691         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
17692         Mark Nauwelaerts's patch on bug #328491.
17693
17694 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17695
17696         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
17697         (gst_utils_suite):
17698           Add some simple tests for gst_parse_bin_from_description() and
17699           gst_bin_find_unconnected_pad() (#329069).
17700
17701 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
17702
17703         * tools/gst-launch.c: (event_loop), (main):
17704           Catch errors during preroll (#320084).
17705
17706 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
17707
17708         * plugins/elements/gsttypefindelement.c:
17709         (gst_type_find_element_activate):
17710           Post TYPE_NOT_FOUND error message when typefinding
17711           is unsuccessful in the activate function as well.
17712
17713 2006-02-02  Wim Taymans  <wim@fluendo.com>
17714
17715         * docs/design/part-element-sink.txt:
17716         Updated doc.
17717
17718 2006-02-02  Wim Taymans  <wim@fluendo.com>
17719
17720         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
17721         (gst_base_sink_render_object),
17722         (gst_base_sink_queue_object_unlocked):
17723         Only keep track of prerollable items when we are 
17724         prerolling.
17725         Before rendering after preroll, always check if we
17726         have queued items.
17727         Added some more debugging.
17728
17729 2006-02-02  Wim Taymans  <wim@fluendo.com>
17730
17731         * gst/gstelement.c: (gst_element_continue_state),
17732         (gst_element_set_state_func), (gst_element_change_state):
17733         Fixed #326576, been running this for quite some time with
17734         no regressions at all.
17735
17736 2006-02-02  Wim Taymans  <wim@fluendo.com>
17737
17738         * common/gst.supp:
17739         Added more suppressions
17740
17741 2006-02-02  Wim Taymans  <wim@fluendo.com>
17742
17743         * docs/design/part-element-sink.txt:
17744         Updated document.
17745
17746         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17747         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
17748         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
17749         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
17750         (gst_base_sink_do_sync), (gst_base_sink_render_object),
17751         (gst_base_sink_preroll_object),
17752         (gst_base_sink_queue_object_unlocked),
17753         (gst_base_sink_queue_object), (gst_base_sink_event),
17754         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
17755         (gst_base_sink_loop), (gst_base_sink_activate_pull),
17756         (gst_base_sink_get_position), (gst_base_sink_change_state):
17757         * libs/gst/base/gstbasesink.h:
17758         Totally refactored matching the design doc.
17759         Use two segments, one to clip incomming buffers and another to
17760         perform sync.
17761         Handle queueing correctly, bypass the queue when playing.
17762         Make EOS cancelable.
17763         Handle errors correctly when operating in pull based mode.
17764
17765         * tests/check/elements/fakesink.c: (GST_START_TEST),
17766         (fakesink_suite):
17767         Added new check for sinks.
17768
17769 2006-02-02  Wim Taymans  <wim@fluendo.com>
17770
17771         * gst/gstsegment.c: (gst_segment_clip):
17772         No reason to refuse to clip when start == -1
17773
17774 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
17775
17776         * docs/README:
17777         * docs/manual/intro-basics.xml:
17778         * docs/manual/intro-preface.xml:
17779         * docs/manual/manual.xml:
17780         * docs/pwg/advanced-dparams.xml:
17781         * docs/pwg/intro-basics.xml:
17782         * docs/pwg/intro-preface.xml:
17783         * docs/pwg/pwg.xml:
17784           describe dparams (controller) for plugins
17785           unify docs a little more
17786
17787 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
17788
17789         * docs/gst/gstreamer-sections.txt:
17790         * gst/gstutils.c: (element_find_unconnected_pad),
17791         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
17792         * gst/gstutils.h:
17793           Add new API: gst_parse_bin_from_description() and
17794           gst_bin_find_unconnected_pad() (#329069).
17795
17796 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
17797
17798         * docs/manual/README:
17799           uncover a nasty detail of the docs build
17800
17801 2006-01-31  Wim Taymans  <wim@fluendo.com>
17802
17803         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
17804         Don't cache duration messages if we're not going to use or
17805         free them.
17806
17807 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
17808
17809         * docs/manual/advanced-dparams.xml:
17810         * docs/pwg/advanced-dparams.xml:
17811           more dparam docs
17812         * gst/gstindex.c:
17813           fix docs
17814         * libs/gst/controller/lib.c: (gst_controller_init):
17815           init just once
17816
17817 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
17818
17819         * gst/gstelement.c: (gst_element_message_full):
17820           also show file/line/func if no additional debug was given
17821
17822 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
17823         
17824         * win32/vs7/grammar.vcproj:
17825           activate copy of autogenerated files for Release mode
17826
17827 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17828         
17829         * win32/common/libgstreamer.def:
17830           export gst_value_compare
17831
17832 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
17833
17834         * plugins/elements/Makefile.am:
17835         * plugins/elements/gstelements.c:
17836         * plugins/elements/gstfdsink.c: (_do_init),
17837         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
17838         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
17839         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
17840         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
17841         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
17842         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
17843         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
17844         * plugins/elements/gstfdsink.h:
17845         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
17846
17847 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
17848
17849         * docs/manual/advanced-dparams.xml:
17850           describe controller
17851         * docs/manual/advanced-position.xml:
17852         * docs/manual/basics-init.xml:
17853         * docs/manual/manual.xml:
17854         * docs/manual/titlepage.xml:
17855         * docs/pwg/pwg.xml:
17856         * docs/pwg/titlepage.xml:
17857           cleanup xml (more to come)
17858         * libs/gst/controller/gstcontroller.c:
17859           fix typo
17860
17861 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
17862         
17863         * win32/vs6/grammar.dsp:
17864           add autogen of gstmarshal.c,h for Release mode
17865                 
17866 2006-01-30  Wim Taymans  <wim@fluendo.com>
17867
17868         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
17869         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
17870         (gst_base_sink_handle_object), (gst_base_sink_event),
17871         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
17872         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17873         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
17874         (gst_base_sink_deactivate), (gst_base_sink_activate),
17875         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17876         (gst_base_sink_query), (gst_base_sink_change_state):
17877         Basesink cleanups, remove some old code.
17878         Handle the case where a subclass can preroll in the render
17879         method (mostly audiosinks).
17880         Handle more events.
17881         Remove some locks around variables that are now protected
17882         with the PREROLL_LOCK (clock_id, flushing, ..).
17883         Optimize position query some more, do correct locking.
17884         Remove old code to push queue in state change, this is not
17885         needed anymore since preroll blocks on all prerollable items 
17886         now.
17887         Almost implemented as described in design doc.
17888
17889 2006-01-30  Wim Taymans  <wim@fluendo.com>
17890
17891         * tests/check/gst/gstbin.c: (GST_START_TEST):
17892         Wait for refcount to settle down before checking.
17893
17894 2006-01-30  Wim Taymans  <wim@fluendo.com>
17895
17896         * docs/design/part-element-sink.txt:
17897         Pseudo code overview of desired sink behaviour regarding
17898         preroll.
17899
17900 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17901         * win32/vs6/grammar.dsp:
17902           fix some bugs in Release mode for autogenerated files
17903                 
17904 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17905         * win32/common/libgstbase.def:
17906         * win32/common/libgstreamer.def:
17907           export some new symbols: gst_base_src_set_format,
17908           gst_iterator_next, gst_structure_set_valist
17909
17910 2006-01-29  Julien MOUTTE  <julien@moutte.net>
17911
17912         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
17913         Set pad functions unconditionally. Fixes #329105.
17914
17915 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
17916         * win32/vs8:
17917           add vs8 project files created by Sergey Scobich
17918
17919 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
17920
17921         * gst/gstutils.c: (gst_element_unlink_pads):
17922         Don't leak pad references.
17923
17924         * tests/check/elements/fakesink.c: (GST_START_TEST):
17925         * tests/check/generic/sinks.c: (GST_START_TEST):
17926         * tests/check/generic/states.c: (GST_START_TEST):
17927         * tests/check/gst/gstbin.c: (GST_START_TEST):
17928         * tests/check/gst/gstcaps.c: (GST_START_TEST):
17929         * tests/check/gst/gstelement.c: (GST_START_TEST):
17930         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
17931         * tests/check/gst/gstiterator.c: (GST_START_TEST):
17932         * tests/check/gst/gstvalue.c: (GST_START_TEST):
17933         Fix a bunch of leaks. Make generic/sinks.c
17934         use a bit less cpu by slowing the buffer rate
17935         between fakesrc and fakesink.
17936         
17937 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
17938         * gst/gstcaps.c:
17939         * gst/gstelement.c: (gst_element_send_event):
17940         * gst/gstevent.c:
17941         * gst/gstinfo.c:
17942         * gst/gstiterator.c:
17943         * gst/gstiterator.h:
17944         * gst/gstpad.c: (gst_pad_send_event):
17945         * gst/gststructure.c:
17946         * gst/gsturi.c:
17947         * gst/gstutils.c:
17948         * gst/gstvalue.c:
17949         * libs/gst/base/gstadapter.c:
17950           doc fixes, to link to function, just write gst_cool_function(), don't
17951           prefix with '#'
17952
17953 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17954
17955         * plugins/elements/gsttee.c: (gst_tee_do_push),
17956         (gst_tee_handle_buffer):
17957         Always prefer an actual return value from a src
17958         pad in place of NOT_LINKED. This means we return
17959         WRONG_STATE when all src pads are WRONG_STATE
17960         instead of NOT_LINKED.
17961
17962         Lock when replacing the last message to prevent
17963         racing with the get_property method.
17964
17965         Add debug output
17966
17967 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17968
17969         * tests/check/Makefile.am:
17970         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
17971         (main):
17972         Add a very simple check that should have caught the memleak I fixed
17973         last night (if not for the slice allocator hiding it)
17974
17975 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
17976
17977         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17978         (gst_bin_remove_func), (gst_bin_handle_message_func),
17979         (bin_query_duration_fold), (bin_query_generic_fold):
17980         Clean up references to the clock provider when disposed or when
17981         handling a clock-lost message from it.
17982
17983         Unref sinks when performing a query via gst_iterator_fold, as the
17984         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
17985
17986         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
17987         (gst_clock_set_master):
17988         Drop our reference to the master clock, if any, when we are disposed.
17989
17990         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
17991         Chain up in dispose. 
17992
17993 2006-01-26  Wim Taymans  <wim@fluendo.com>
17994
17995         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
17996         Add some debugging.
17997
17998 2006-01-26  Julien MOUTTE  <julien@moutte.net>
17999
18000         * plugins/elements/gsttee.c: (gst_tee_do_push),
18001         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
18002         handles pad being NOT_LINKED or in WRONG_STATE.
18003
18004 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18005
18006         * win32/MANIFEST:
18007           more updating
18008
18009 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18010
18011         * win32/MANIFEST:
18012           remove obsolete entry
18013
18014 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
18015
18016         * docs/gst/gstreamer-sections.txt:
18017         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
18018         (gst_bin_iterate_sources), (gst_bin_send_event):
18019         * gst/gstbin.h:
18020         * gst/gstelement.c: (gst_element_send_event):
18021         * gst/gstevent.c:
18022         * gst/gstpad.c: (gst_pad_send_event):
18023           added code for downstream events, reviewed docs in gstevent.c
18024
18025 2006-01-25  Julien MOUTTE  <julien@moutte.net>
18026
18027         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18028         We only query position using the clock in the playing state.
18029         Query peer in the other cases.
18030         * win32/common/config.h: Updates.
18031
18032 2006-01-24  Wim Taymans  <wim@fluendo.com>
18033
18034         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18035         A clock entry that is scheduled for the exact time of the
18036         clock is still in time.
18037
18038         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18039         (gst_base_sink_do_sync):
18040         Add some more debug info.
18041
18042 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18043
18044         * win32/vs7:
18045           Add new vs7 project files and solution.
18046
18047 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
18048
18049         * win32/vs7:
18050           all files removed as they were out-dated.
18051
18052 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18053
18054         * docs/random/release:
18055           update notes
18056         * gst/gstbin.c: (gst_bin_init):
18057         * gst/gstbus.c: (gst_bus_new):
18058         * gst/gstbus.h:
18059         * gst/gstpipeline.c: (gst_pipeline_init):
18060           use gst_bus_new(), improve logging, fix docs
18061         * win32/common/config.h:
18062           update for cvs build
18063
18064 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
18065
18066         * autogen.sh:
18067           up required version of automake to 1.7
18068
18069 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
18070
18071         * win32/common/libgstreamer.def:
18072           export gst_buffer_is_metadata_writable
18073
18074 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
18075
18076         * docs/gst/gstreamer-sections.txt:
18077         * gst/gstevent.h:
18078           Add gst_event_replace() (#327001)
18079
18080 2006-01-20  Wim Taymans  <wim@fluendo.com>
18081
18082         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
18083         Make it actually compile too..
18084
18085 2006-01-20  Wim Taymans  <wim@fluendo.com>
18086
18087         * gst/gstcaps.c:
18088         Clarify behaviour of _is_equal() when passing NULL parameters.
18089
18090         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
18091         (gst_pad_set_caps):
18092         Cleanups. Don't unref NULL caps.
18093         When setting the same caps, protect caps of the pad with
18094         proper lock.
18095         Use full functionality of _is_equal() when comparing caps.
18096
18097 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18098
18099         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
18100         Don't loop infinitely if there are no buffers to present. Partially
18101         fixes #327197, but collectpads is just broken for reusing elements
18102         to do multiple encodes atm.
18103
18104 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
18105
18106         * tools/gst-inspect.c: (print_element_features):
18107         * tools/gst-xmlinspect.c: (main):
18108         URL_HANDLER is not a plugin feature we can search for in
18109         the registry.
18110
18111 2006-01-19  Edward Hervey  <edward@fluendo.com>
18112
18113         * gst/gstelement.c: (gst_element_pads_activate): 
18114         When activating, do src pads first, then sink pads.
18115         When de-activating, do sink pads first, then src pads.
18116
18117 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18118
18119         * docs/gst/gstreamer-sections.txt:
18120         Add gst_index_add_associationv to the docs
18121
18122 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18123
18124         * gst/gstevent.c:
18125           Fix docs typo
18126
18127         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
18128         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
18129           Do some refactoring. Doesn't actually change functionality,
18130           but makes landing the DRAIN event easier later.
18131
18132 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
18133
18134         * docs/pwg/advanced-scheduling.xml:
18135           Update from 0.9.x to 0.10 API and make example a bit
18136           clearer.
18137
18138 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18139
18140         * docs/gst/gstreamer-sections.txt:
18141         Add gst_buffer_(is|make)_metadata_writable methods.
18142
18143 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
18144
18145         * docs/design/part-sparsestreams.txt:
18146         Update sparse streams doc, hopefully for greater clarity
18147
18148 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
18149
18150         * docs/design/part-events.txt:
18151         Remove mention of FILLER events.
18152         Add DRAIN event.
18153
18154         * docs/design/part-sparsestreams.txt:
18155         Write some things about using NEWSEGMENT to keep sparse streams
18156         flowing.
18157
18158 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18159
18160         * gst/gstbin.c: (gst_bin_dispose):
18161           Guard gst_object_unref call against a NULL object (dispose
18162           can theoretically be called multiple times).
18163           
18164 2006-01-18  Wim Taymans  <wim@fluendo.com>
18165
18166         * gst/gstbin.c: (gst_bin_element_set_state):
18167         * gst/gstclock.c: (gst_clock_id_wait):
18168         Added some more debug info.
18169
18170         * libs/gst/base/gstadapter.c:
18171         Added more docs.
18172
18173         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18174         (gst_base_sink_do_sync), (gst_base_sink_chain):
18175         Added some comments.
18176
18177 2006-01-18  Wim Taymans  <wim@fluendo.com>
18178
18179         * tests/check/Makefile.am:
18180         * tests/check/elements/fakesink.c: (chain_async_buffer),
18181         (chain_async), (chain_async_return), (GST_START_TEST),
18182         (fakesink_suite), (main):
18183         Added fakesink test that checks prerolling and clipping
18184         behaviour.
18185
18186         * tests/check/gst/gstutils.c: (GST_START_TEST):
18187         Make check run faster so that buildbots don't timeout.
18188
18189 2006-01-18  Wim Taymans  <wim@fluendo.com>
18190
18191         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18192         (gst_base_sink_do_sync):
18193         Some cleanups.
18194         When the sink finishes blocking on the preroll buffer, it can
18195         immediatly render it instead of rendering when the next buffer
18196         arrives.
18197
18198 2006-01-18  Wim Taymans  <wim@fluendo.com>
18199
18200         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
18201         (gst_base_sink_get_property), (gst_base_sink_do_sync),
18202         (gst_base_sink_chain):
18203         Small cleanups.
18204         GST_ELEMENT_CLOCK and sync are protected with LOCK.
18205         Don't store _last_stop if the buffer is dropped.
18206
18207 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
18208
18209         * plugins/elements/gsttypefindelement.c:
18210         (gst_type_find_element_class_init):
18211           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
18212           object method handler that sets the caps on the pad and we want
18213           that to happen before we emit the signal (fixes e.g. feeding a
18214           plain text file to decodebin).
18215
18216 2006-01-18  Christian Schaller  <Christian@fluendo.com>
18217
18218         * gst/gstplugin.c: Add MPL and Proprietary as license options
18219
18220 2006-01-18  Andy Wingo  <wingo@pobox.com>
18221
18222         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
18223         symbol was exported before, it appears this was just an oversight.
18224         Fixes #168703.
18225         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
18226
18227         * gst/gstindex.c (gst_index_add_associationv): Changed int in
18228         prototype to gint. OK since this prototype was not in the header.
18229
18230 2006-01-17  Andy Wingo  <wingo@pobox.com>
18231
18232         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
18233         registry while we remove plugins.
18234
18235         * tools/gst-inspect.c (print_element_info): Don't unref the
18236         factory arg, that should be the responsibility of whatever code
18237         received the ref. Fixes a double-free when called from
18238         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
18239         (main): Unref the factory if we have one.
18240         (print_element_list): No change -- relies on the
18241         plugin_feature_list_free to free the list of features.
18242
18243 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
18244
18245         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18246         (gst_buffer_make_metadata_writable):
18247         * gst/gstbuffer.h:
18248         * libs/gst/base/gstbasetransform.c:
18249         (gst_base_transform_prepare_output_buf):
18250         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18251         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18252           Replace gst_buffer_(make|is)_metadata_writable patch now
18253           that the release is out.
18254
18255 2006-01-17  Andy Wingo  <wingo@pobox.com>
18256
18257         * gst/gstregistry.c: Reflow design comment. Update so as to speak
18258         in the present tense without reference to versions.
18259
18260         * gst/gstregistry.c (gst_registry_add_plugin)
18261         (gst_registry_remove_plugin, gst_registry_remove_feature)
18262         (gst_registry_find_feature, gst_registry_get_feature_list)
18263         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
18264         (gst_registry_lookup, gst_registry_scan_path)
18265         (_gst_registry_remove_cache_plugins)
18266         (gst_registry_get_feature_list_by_plugin): Add argument
18267         validation.
18268
18269 === release 0.10.2 ===
18270
18271 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
18272
18273         * configure.ac:
18274           releasing 0.10.2, "If man is five"
18275
18276 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18277
18278         * gst/gstbuffer.c:
18279         * gst/gstbuffer.h:
18280         * libs/gst/base/gstbasetransform.c:
18281         (gst_base_transform_prepare_output_buf):
18282         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18283         * tests/check/gst/gstbuffer.c: (gst_test_suite):
18284           Back out patch until after the release.
18285
18286 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18287
18288         * gst/gstminiobject.c:
18289           Spelling fix in docs.
18290         * ChangeLog - remove conflict indicator
18291
18292 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
18293
18294         Reviewed By: Andy Wingo
18295
18296         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
18297         (gst_buffer_make_metadata_writable):
18298         * gst/gstbuffer.h:
18299           Add gst_buffer_(is|make)_metadata_writable as analogues of
18300           gst_buffer_(is|make)_writable.
18301
18302         * libs/gst/base/gstbasetransform.c:
18303         (gst_base_transform_prepare_output_buf):
18304         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18305           Use name gst_buffer_(is|make)_metadata_writable functions.
18306
18307         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
18308           Test gst_buffer_(is|make)_metadata_writable
18309         
18310           (Closes: #324162)
18311
18312 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18313
18314         * docs/manual/Makefile.am:
18315           don't do parallel make
18316         * configure.ac:
18317           AC_SUBST HOST_CPU
18318         * win32/common/config.h.in:
18319           add generations for HOST_CPU and GST_MAJORMINOR
18320         * win32/common/config.h:
18321           commit generated result
18322
18323 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
18324
18325         * docs/manual/appendix-integration.xml:
18326           Update GNOME integration section to use gst_init_get_option_group()
18327           instead of the old popt stuff (#322911). Also, GNOME applications
18328           should  now use gconf*sink and gconf*src instead of the old gconf
18329           helper lib we had.
18330
18331 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
18332
18333
18334         * docs/gst/gstreamer-docs.sgml:
18335         * docs/gst/gstreamer-sections.txt:
18336         * docs/libs/gstreamer-libs-sections.txt:
18337           add new API entries to the docs
18338         * libs/gst/controller/Makefile.am:
18339         * libs/gst/controller/gstcontroller.c:
18340         * libs/gst/controller/gstcontroller.h:
18341         * libs/gst/controller/gstcontrollerprivate.h:
18342         * libs/gst/controller/gsthelper.c:
18343         * libs/gst/controller/gstinterpolation.c:
18344           move private structs to private header
18345         * po/README:
18346           gstreamer-0.7 -> gstreamer-0.10
18347         * tests/check/libs/struct_i386.h:
18348           remove private structs
18349
18350 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18351
18352         * plugins/indexers/Makefile.am:
18353           Fixes as part of #317048
18354
18355 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18356
18357         * plugins/indexers/Makefile.am:
18358           fix #316086 - compilation when mmap is missing
18359
18360 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
18361
18362         * libs/gst/base/gstbasesink.c:
18363           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
18364           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
18365         * win32/common/config.h:
18366           added some defines GST_MAJORMINOR and HOST_CPU
18367         * win32/common/libgstbase.def:
18368         * win32/common/libgstreamer.def:
18369           added some exported functions.
18370
18371 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18372
18373         * libs/gst/controller/gstcontroller.c:
18374         (gst_controlled_property_set_interpolation_mode),
18375         (gst_controlled_property_new):
18376         * libs/gst/controller/gstcontroller.h:
18377         * libs/gst/controller/gstinterpolation.c:
18378         (interpolate_none_get_string_value_array):
18379           make G_TYPE_STRING controlable
18380
18381 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
18382
18383         * tools/README:
18384         * tools/gst-feedback.1.in:
18385         * tools/gst-inspect.1.in:
18386         * tools/gst-launch.1.in:
18387         * tools/gst-md5sum.1.in:
18388         * tools/gst-typefind.1.in:
18389         * tools/gst-xmlinspect.1.in:
18390         * tools/gst-xmllaunch.1.in:
18391           cleanup man-pages, remove reference to gst-register, document env-vars
18392
18393 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
18394
18395         * gst/gstbuffer.c: (gst_buffer_span):
18396           gst_buffer_span should copy the timestamp of the first buffer
18397           if they were both originally overlapping subbuffers of the 
18398           same parent, using the same logic as the 'slow copy' case.
18399
18400 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
18401
18402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
18403           Need to awaken ALL the pads when we pop a buffer, otherwise
18404           collectpads only works when there is 2 input streams.
18405
18406 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
18407
18408         * docs/random/ensonic/media-device-daemon.txt:
18409           more ideas (dbus)
18410         * gst/gstbuffer.c:
18411           fix doc example, add clarification
18412         * tools/gst-launch.1.in:
18413           add initial info about GST_PLUGIN_PATH, needs more work
18414
18415 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
18416
18417         * docs/manual/basics-bins.xml:
18418         * docs/manual/basics-elements.xml:
18419         * docs/manual/intro-basics.xml:
18420           Some more minor docs additions and updates.
18421
18422 2006-01-11  Wim Taymans  <wim@fluendo.com>
18423
18424         * docs/manual/basics-bins.xml:
18425         * docs/manual/basics-elements.xml:
18426         Some small fixes as pointed out by Ser-ver on IRC.
18427
18428 2006-01-10  Edward Hervey  <edward@fluendo.com>
18429
18430         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18431         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
18432         the single-segment mode.
18433
18434 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
18435
18436         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18437
18438         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
18439         (gst_base_src_perform_seek), (gst_base_src_send_event),
18440         (gst_base_src_set_property), (gst_base_src_get_property),
18441         (gst_base_src_loop), (gst_base_src_start),
18442         (gst_base_src_activate_push):
18443         * libs/gst/base/gstbasesrc.h:
18444           Name (private) union; makes Sun's Forte compiler happy (#324900).
18445
18446 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
18447
18448         * README:
18449           gst-register is gone.
18450
18451 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18452
18453         * gst/gstvalue.c: (_gst_value_initialize):
18454           make the G_TYPE_DATE instantiation work if debug is disabled
18455
18456 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
18457
18458         * gst/gstmessage.c: (gst_message_parse_tag),
18459         (gst_message_parse_error), (gst_message_parse_warning):
18460           Don't crash when return location for error/warning debug
18461           string is NULL; add fact that return locations can be
18462           NULL to docs where appropriate.
18463
18464 2006-01-05  Wim Taymans  <wim@fluendo.com>
18465
18466         * gst/gstplugin.c: (gst_plugin_load_file):
18467         Replace strdup by g_strdup.
18468
18469 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18470
18471         * docs/pwg/advanced-types.xml:
18472           fix doc borkage
18473
18474 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18475
18476         submitted by: Abel Cheung
18477
18478         * po/LINGUAS:
18479         * po/zh_TW.po:
18480           Added Chinese (traditional) translation
18481
18482 2006-01-04  Wim Taymans  <wim@fluendo.com>
18483
18484         * docs/manual/basics-pads.xml:
18485         * docs/plugins/Makefile.am:
18486         * docs/plugins/gstreamer-plugins-docs.sgml:
18487         * docs/plugins/gstreamer-plugins-sections.txt:
18488         * docs/pwg/advanced-clock.xml:
18489         * docs/pwg/advanced-scheduling.xml:
18490         * docs/pwg/advanced-types.xml:
18491         * plugins/elements/gstfdsink.c:
18492         * plugins/elements/gstfdsrc.c:
18493         * plugins/elements/gstfdsrc.h:
18494         * plugins/elements/gstidentity.c: (gst_identity_class_init):
18495         * plugins/elements/gstidentity.h:
18496         * plugins/elements/gstqueue.h:
18497         * plugins/elements/gsttee.c:
18498         * plugins/elements/gsttee.h:
18499         * plugins/elements/gsttypefindelement.c:
18500         (gst_type_find_element_class_init):
18501         * plugins/elements/gsttypefindelement.h:
18502         Small updates to various docs.
18503         Added core plugins to docs.
18504
18505 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18506
18507         * common/gst.supp:
18508           add a suppression for liboil's uninitialized variable
18509
18510 2006-01-02  James Livingston  <jrl at ids dot org dot au>
18511
18512         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18513
18514         * gst/gstutils.h:
18515           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
18516           macro, so that gcc doesn't complain if the -Wmissing-prototypes
18517           compiler switch is being used (#325429).
18518
18519 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
18520
18521         * gst/gstbin.c: (gst_bin_query):
18522           Disable duration query caching in bins until it gets
18523           fixed (see #324807).
18524
18525 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18526
18527         * tools/gst-inspect.c: (print_element_properties_info):
18528           Handle properties of POINTER and BOXED type.
18529
18530 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
18531
18532         * gst/gst.c: (init_post):
18533           Init tags stuff and some other things before loading
18534           any static plugins (there may be other static plugins
18535           than just the GStreamer ones, and they may want to
18536           register their own tags or formats or whatever, and
18537           preferably without segfaulting).
18538
18539         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
18540           Print at least a warning in the debug logs if we drop a
18541           query just because we don't know how to adjust the value
18542           in the particular format.
18543
18544 2005-12-24  David Schleef  <ds@schleef.org>
18545
18546         * tools/gstreamer-completion:
18547           Replacement for gst-complete written in sh and sed.  Only
18548           completes names of features, but that's 90% of what I want
18549           it for.  Properties are not available in registry.xml.  (Maybe
18550           they should be...)
18551
18552 === release 0.10.1 ===
18553
18554 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
18555
18556         * configure.ac:
18557           releasing 0.10.1, "Nollaig chridheil"
18558
18559 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
18560
18561         * docs/faq/cvs.xml:
18562           Add missing quote, should be make ERROR_CFLAGS="".
18563
18564 2005-12-20  Wim Taymans  <wim@fluendo.com>
18565
18566         * docs/design/part-trickmodes.txt:
18567         More documentation on trickmodes.
18568
18569 2005-12-20  Edward Hervey  <edward@fluendo.com>
18570
18571         * gst/gstcaps.c: (gst_static_caps_get_type):
18572         * gst/gstcaps.h:
18573           API addition: GST_TYPE_STATIC_CAPS
18574         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
18575         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18576         * gst/gstpadtemplate.h:
18577           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
18578         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
18579         bindings.
18580
18581 2005-12-18  Wim Taymans  <wim@fluendo.com>
18582
18583         * libs/gst/base/gstadapter.c:
18584         * libs/gst/base/gstadapter.h:
18585         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
18586         (gst_base_sink_get_position):
18587         * libs/gst/base/gstbasesink.h:
18588         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18589         (gst_base_src_default_query), (gst_base_src_default_do_seek),
18590         (gst_base_src_do_seek), (gst_base_src_perform_seek),
18591         (gst_base_src_send_event), (gst_base_src_update_length),
18592         (gst_base_src_get_range), (gst_base_src_loop),
18593         (gst_base_src_start):
18594         * libs/gst/base/gstbasesrc.h:
18595         * libs/gst/base/gstbasetransform.h:
18596         * libs/gst/base/gstcollectpads.h:
18597         * libs/gst/base/gstpushsrc.c:
18598         * libs/gst/base/gstpushsrc.h:
18599         * libs/gst/dataprotocol/dataprotocol.c:
18600         * libs/gst/dataprotocol/dataprotocol.h:
18601         * libs/gst/net/gstnetclientclock.h:
18602         * libs/gst/net/gstnettimeprovider.h:
18603         Documentation updates.
18604
18605 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
18606
18607         * docs/manual/basics-helloworld.xml:
18608           Remove superfluous closing bracket in helloworld example.
18609
18610 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
18611
18612         * tools/gst-launch.1.in:
18613           Update gst-launch man page; add a section with useful
18614           environment variables. Fixes #323882.
18615
18616 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
18617
18618         * gst/gst.c:
18619         * gst/gst_private.h:
18620           change some char* into char[]
18621
18622 2005-12-16  Wim Taymans  <wim@fluendo.com>
18623
18624         * gst/gstregistryxml.c: (load_feature):
18625         Cleanups.
18626         Don't use g_object_unref on GstObjects so that we avoid
18627         leaks on unsafe glibs.
18628
18629 2005-12-16  Wim Taymans  <wim@fluendo.com>
18630
18631         * gst/gstbin.c: (gst_bin_recalc_state):
18632         Small doc updates.
18633
18634 2005-12-16  Wim Taymans  <wim@fluendo.com>
18635
18636         * common/check.mak:
18637         Added make forever target for check.
18638
18639 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18640
18641         * gst/gst.c: (init_post):
18642           make the registry cache file HOST_CPU-dependent
18643
18644 2005-12-16  Andy Wingo  <wingo@pobox.com>
18645
18646         * plugins/elements/gstbufferstore.c
18647         (gst_buffer_store_cleared_func): Pay attention to g_list_append
18648         return value.
18649
18650         * tests/check/gst/gstobject.c
18651         (test_fake_object_name_threaded_unique): Pay attention to
18652         g_list_sort return value.
18653
18654 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
18655
18656         * tools/gst-feedback-m.m:
18657           Update for 0.9/0.10 (fixes #323870).
18658
18659 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
18660
18661         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
18662           Fix lcopy for mini objects, the mini object needs to be ref'ed.
18663           
18664         * tests/check/gst/gstminiobject.c: (my_foo_init),
18665         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
18666         (test_value_collection), (gst_mini_object_suite):
18667           Add test to ensure refcounts end up as expected when passing
18668           GstMiniObjects through g_object_get() and g_object_set().
18669
18670 2005-12-14  Julien MOUTTE  <julien@moutte.net>
18671
18672         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18673         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
18674         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
18675         of collectpads. This version removes a lot of races without
18676         touching API/ABI. Yay !
18677
18678 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
18679
18680         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
18681           Don't allow activation of a srcpad in pull_range if it has no
18682           getrange function.
18683           Change some debug statements to be a little clearer
18684
18685         * plugins/elements/gsttypefindelement.c:
18686         (gst_type_find_handle_src_query):
18687           Check that we have a peer before executing queries thereupon.
18688
18689         * tests/examples/metadata/read-metadata.c: (message_loop):
18690           Use gst_bus_pop instead of gst_bus_poll when we just want it to
18691           immediately return us any available message with 0 timeout.
18692
18693 2005-12-12  Michael Smith  <msmith@fluendo.com>
18694
18695         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
18696           Don't unref factories after calling them.
18697         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
18698         * plugins/elements/gsttypefindelement.c:
18699         (gst_type_find_element_chain):
18700           Free lists of factories after using them. Fixing typefinding memory
18701           leaks.
18702
18703 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18704
18705         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
18706         (gst_plugin_feature_load):
18707           more meaningful debug output
18708         * configure.ac:
18709         * tests/Makefile.am:
18710         * tests/old/examples/Makefile.am:
18711           make make distcheck happy again
18712
18713 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18714
18715         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
18716           Catch the special case where we are operating chain-based,
18717           but the downstream peer pad has no chain function. Emit a
18718           custom error message in this case instead of letting the
18719           core generate one implying that this is some sort of core
18720           bug. It's not, it just means that whatever got plugged
18721           into the pipeline downstream when we announced the type
18722           can only operate pull-based, while our source can only
18723           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
18724           Error string has not been marked for translation yet, as
18725           it probably needs some more work first.
18726
18727         (gst_type_find_element_get_best_possibility):
18728           Add helper function to find the best of all available
18729           found possibilities that qualify given the min. threshold.
18730
18731         (gst_type_find_element_handle_event):
18732           Fix the case where we get an EOS while still in TYPEFIND
18733           mode (we want to chose the best of all possible types,
18734           not just the first type that happens to be in our unsorted
18735           list of possible types).
18736
18737         (gst_type_find_element_chain):
18738           Make sure we return GST_FLOW_ERROR when we errored out
18739           in stop_typefinding(); also, don't just find the best of
18740           all found type entries and then use the last examined
18741           type entry, but actually use the best entry.
18742
18743 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
18744
18745         * tests/examples/typefind/typefind.c: (type_found):
18746         * tests/examples/xml/runxml.c: (xml_loaded):
18747           More gcc4 fixes and a mem leak fix.
18748
18749 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18750
18751         * tests/examples/xml/createxml.c: (object_saved):
18752           gcc 4 fixes
18753
18754 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18755
18756         * tests/Makefile.am:
18757           enable the examples even more
18758
18759 2005-12-12  Andy Wingo  <wingo@pobox.com>
18760
18761         * libs/gst/net/gstnettimeprovider.c
18762         (gst_net_time_provider_class_init, gst_net_time_provider_init)
18763         (gst_net_time_provider_set_property)
18764         (gst_net_time_provider_get_property):
18765         API addition: Export "active" as a GObject property.
18766         (gst_net_time_provider_thread): Only respond to time queries if
18767         the time provider is active.
18768
18769         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
18770         NetTimeProvider, preserving binary compat.
18771
18772 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18773
18774         * tests/examples/controller/audio-example.c: (main):
18775         * tests/examples/launch/Makefile.am:
18776           convert comments again
18777
18778 2005-12-12  Wim Taymans  <wim@fluendo.com>
18779
18780         * libs/gst/base/gstpushsrc.c:
18781         Fix typo.
18782
18783 2005-12-12  Wim Taymans  <wim@fluendo.com>
18784
18785         * docs/libs/gstreamer-libs-sections.txt:
18786         Added new symbol to docs.
18787
18788         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
18789         (gst_base_src_init), (gst_base_src_set_format),
18790         (gst_base_src_default_query), (gst_base_src_query),
18791         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
18792         (gst_base_src_perform_seek), (gst_base_src_send_event),
18793         (gst_base_src_default_event), (gst_base_src_event_handler),
18794         (gst_base_src_set_property), (gst_base_src_get_property),
18795         (gst_base_src_wait), (gst_base_src_do_sync),
18796         (gst_base_src_update_length), (gst_base_src_get_range),
18797         (gst_base_src_check_get_range), (gst_base_src_loop),
18798         (gst_base_src_default_negotiate), (gst_base_src_start),
18799         (gst_base_src_activate_push), (gst_base_src_activate_pull),
18800         (gst_base_src_change_state):
18801         * libs/gst/base/gstbasesrc.h:
18802         Implement seeking to other formats than _BYTES.
18803         Implement more seeking methods correctly.
18804         Doc updates.
18805         Added query vmethod.
18806         Added do_seek vmethod to make life easier for subclasses
18807         when seeking.
18808         API addition: gst_base_src_set_format()
18809
18810 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18811
18812         * tests/examples/Makefile.am:
18813           added that too
18814
18815 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
18816
18817         * configure.ac:
18818         * docs/random/ensonic/media-device-daemon.txt:
18819         * tests/examples/controller/.cvsignore:
18820         * tests/examples/controller/Makefile.am:
18821         * tests/examples/controller/audio-example.c: (main):
18822         * tests/examples/helloworld/.cvsignore:
18823         * tests/examples/helloworld/Makefile.am:
18824         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
18825         * tests/examples/launch/.cvsignore:
18826         * tests/examples/launch/Makefile.am:
18827         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
18828         * tests/examples/metadata/.cvsignore:
18829         * tests/examples/metadata/Makefile.am:
18830         * tests/examples/metadata/read-metadata.c: (message_loop),
18831         (make_pipeline), (print_tag), (main):
18832         * tests/examples/queue/.cvsignore:
18833         * tests/examples/queue/Makefile.am:
18834         * tests/examples/queue/queue.c: (event_loop), (main):
18835         * tests/examples/typefind/.cvsignore:
18836         * tests/examples/typefind/Makefile.am:
18837         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
18838         (main):
18839         * tests/examples/xml/.cvsignore:
18840         * tests/examples/xml/Makefile.am:
18841         * tests/examples/xml/createxml.c: (object_saved), (main):
18842         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
18843         * tests/old/examples/Makefile.am:
18844         * tests/old/examples/TODO:
18845         * tests/old/examples/controller/.cvsignore:
18846         * tests/old/examples/controller/Makefile.am:
18847         * tests/old/examples/controller/audio-example.c:
18848         * tests/old/examples/helloworld/.cvsignore:
18849         * tests/old/examples/helloworld/Makefile.am:
18850         * tests/old/examples/helloworld/helloworld.c:
18851         * tests/old/examples/launch/.cvsignore:
18852         * tests/old/examples/launch/Makefile.am:
18853         * tests/old/examples/launch/mp3parselaunch.c:
18854         * tests/old/examples/launch/mp3play:
18855         * tests/old/examples/manual/Makefile.am:
18856         * tests/old/examples/metadata/Makefile.am:
18857         * tests/old/examples/metadata/read-metadata.c:
18858         * tests/old/examples/queue/.cvsignore:
18859         * tests/old/examples/queue/Makefile.am:
18860         * tests/old/examples/queue/queue.c:
18861         * tests/old/examples/typefind/.cvsignore:
18862         * tests/old/examples/typefind/Makefile.am:
18863         * tests/old/examples/typefind/typefind.c:
18864         * tests/old/examples/xml/.cvsignore:
18865         * tests/old/examples/xml/Makefile.am:
18866         * tests/old/examples/xml/createxml.c:
18867         * tests/old/examples/xml/runxml.c:
18868           applied some simple fixing to some examples
18869           re-enabled the working examples
18870
18871 2005-12-12  Wim Taymans  <wim@fluendo.com>
18872
18873         * gst/gstsegment.c: (gst_segment_init),
18874         (gst_segment_set_last_stop), (gst_segment_set_seek),
18875         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18876         (gst_segment_to_running_time):
18877         Added more documentation.
18878         Make sure the last_pos value is updated properly.
18879         Make sure to_stream_time and to_running_time don't
18880         operate on wrong values.
18881
18882         * tests/check/gst/gstsegment.c: (GST_START_TEST):
18883         Update check.
18884
18885 2005-12-12  Michael Smith  <msmith@fluendo.com>
18886
18887         * plugins/elements/gsttypefindelement.c: (free_entry),
18888         (gst_type_find_element_chain):
18889           Now that we're not leaking factories, make sure we keep references
18890           to them while we need them.
18891
18892 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18893
18894         * tests/check/gst/struct_i386.h:
18895           ifdef out the XML structs
18896
18897 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18898
18899         * gst/gstvalue.c: (gst_value_transform_double_fraction):
18900           floor is not needed, F is always positive; this obviates the
18901           need for adding -lm when building without libxml
18902
18903 2005-12-12  Wim Taymans  <wim@fluendo.com>
18904
18905         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
18906         Take current playback rate into account when reporting
18907         the position.
18908
18909 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18910
18911         * docs/manual/mime-world.fig:
18912           Let's try this again, this time with a file that is
18913           actually in XFig format.
18914
18915 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18916
18917         * docs/manual/mime-world.fig:
18918           Add audioconvert element to diagram so that it
18919           matches the text and the code (fixes #319526).
18920
18921 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18922
18923         * docs/pwg/building-chainfn.xml:
18924         * docs/pwg/building-pads.xml:
18925         * docs/pwg/building-state.xml:
18926         * docs/pwg/other-source.xml:
18927           Update state change stuff for 0.10 (fixes #322969).
18928
18929 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18930
18931         * docs/manual/advanced-dataaccess.xml:
18932         * docs/manual/appendix-checklist.xml:
18933         * docs/manual/appendix-programs.xml:
18934         * docs/manual/basics-pads.xml:
18935         * docs/manual/highlevel-components.xml:
18936         * docs/manual/manual.xml:
18937           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
18938           add converters in front of pipelines; remove curly
18939           brackets for threads stuff, they no longer exist; use
18940           GST_TYPE_FRACTION for framerates; update some pieces of
18941           code to 0.10, but there's plenty more to do.
18942
18943         * docs/manual/appendix-porting.xml:
18944           Expand on asynchroneous state changes; s/0.9/0.10/;
18945           mention disappearance of gst_init_get_popt_table()
18946           (fixes #322916).
18947
18948 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
18949
18950         * docs/faq/using.xml:
18951           Spider no longer exists, and neither does gst-launch-ext.
18952           Update examples to use decodebin and playbin and put
18953           converters in front of sinks (fixes #323726).
18954
18955 2005-12-09  Michael Smith  <msmith@fluendo.com>
18956
18957         * plugins/elements/gsttypefindelement.c: (find_peek),
18958         (gst_type_find_element_chain):
18959           Fix leaking element factories in typefinding.
18960           Fix problem where we forgot about a probable type on non-seekable
18961           files, and thus later mis-typefound it.
18962
18963 2005-12-09  Michael Smith  <msmith@fluendo.com>
18964
18965         * common/m4/gst-makecontext.m4:
18966         * common/m4/gst-mcsc.m4:
18967         * configure.ac:
18968         * win32/common/config.h:
18969         * win32/common/config.h.in:
18970           Remove makecontext stuff; not used in 0.10 and causes problems on
18971           HPUX according to bug #322441
18972
18973 2005-12-07  Wim Taymans  <wim@fluendo.com>
18974
18975         * tests/check/Makefile.am:
18976         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
18977         (main):
18978         * tests/check/libs/struct_i386.h:
18979         Added ABI check for libs
18980
18981 2005-12-07  Wim Taymans  <wim@fluendo.com>
18982
18983         * tests/check/Makefile.am:
18984         And add the struct_i386.h to dist.
18985
18986 2005-12-07  Wim Taymans  <wim@fluendo.com>
18987
18988         * tests/check/Makefile.am:
18989         * tests/check/gst/.cvsignore:
18990         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
18991         (main):
18992         * tests/check/gst/struct_i386.h:
18993         Added check for ABI compatibility.
18994
18995 2005-12-07  Wim Taymans  <wim@fluendo.com>
18996
18997         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
18998         (gst_fake_src_get_times), (gst_fake_src_create):
18999         Fix broken sync option, fixes #323259
19000
19001 2005-12-07  Wim Taymans  <wim@fluendo.com>
19002
19003         * gst/gstbuffer.c:
19004         Small docs update.
19005
19006         * gst/gstcaps.c: (gst_caps_is_equal):
19007         Don't assert on NULL <--> X. Fixes #323260
19008
19009         * gst/gstminiobject.c: (gst_mini_object_replace):
19010         If we're doing atomic operations, we might just as well use
19011         the proper way to get an atomic pointer.
19012
19013         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
19014         Clean up debugging.
19015
19016 2005-12-07  Michael Smith  <msmith@fluendo.com>
19017
19018         * gst/parse/grammar.y:
19019           Remove handling of { } for threads.
19020
19021 2005-12-06  David Schleef  <ds@schleef.org>
19022
19023         * libs/gst/base/gstbasetransform.c: speling fix.
19024
19025 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19026
19027         * docs/libs/tmpl/gstdataprotocol.sgml:
19028         * docs/random/omega/testing/gstobject.c:
19029         * gst/gst.c:
19030         * gst/gstclock.c:
19031         * gst/gstelement.c:
19032         * gst/gstelementfactory.c:
19033         * gst/gsterror.c:
19034         * gst/gstevent.c:
19035         * gst/gstghostpad.c:
19036         * gst/gstinfo.c:
19037         * gst/gstpadtemplate.c:
19038         * gst/gstregistryxml.c:
19039         * gst/gsttaglist.c:
19040         * gst/gsttagsetter.c:
19041         * gst/gsttypefind.c:
19042         * gst/gstvalue.c:
19043         * libs/gst/base/gstbasesrc.c:
19044         * libs/gst/net/gstnetclientclock.c:
19045         * libs/gst/net/gstnettimeprovider.c:
19046         * plugins/elements/gstfakesrc.c:
19047         * plugins/elements/gstfdsrc.c:
19048         * plugins/elements/gstfilesrc.c:
19049         * plugins/elements/gstidentity.c:
19050         * plugins/elements/gstqueue.c:
19051         * plugins/elements/gsttypefindelement.c:
19052         * plugins/indexers/gstfileindex.c:
19053         * plugins/indexers/gstmemindex.c:
19054         * tests/check/gst/gsttag.c:
19055         * tests/old/examples/cutter/cutter.c:
19056         * tests/old/examples/mixer/mixer.c:
19057         * tests/old/examples/xml/runxml.c: (main):
19058         * tests/old/testsuite/caps/normalisation.c:
19059         * tests/old/testsuite/debug/global.c:
19060         * tests/old/testsuite/parse/parse1.c:
19061         * tools/gst-xmlinspect.c:
19062         * win32/common/dirent.c:
19063           expand tabs
19064
19065 === release 0.10.0 ===
19066
19067 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19068
19069         * configure.ac:
19070           releasing 0.10.0, "Maroilles"
19071
19072 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19073
19074         submitted by: Funda Wang <fundawang@linux.net.cn>
19075
19076         * po/LINGUAS:
19077         * po/zh_CN.po:
19078           added Chinese (Traditional) translation
19079
19080 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19081
19082         * docs/gst/gstreamer-sections.txt:
19083         * docs/libs/tmpl/gstdataprotocol.sgml:
19084         * docs/random/thomasvs/TODO:
19085         * gst/gstutils.c:
19086         * gst/gstutils.h:
19087           fix docs
19088
19089 2005-12-05  Andy Wingo  <wingo@pobox.com>
19090
19091         patch by: Wim Taymans <wim@fluendo.com>
19092
19093         * libs/gst/base/gstbasetransform.c
19094         (gst_base_transform_prepare_output_buf)
19095         (gst_base_transform_buffer_alloc):
19096         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
19097         alloc_buffer_and_set_caps.
19098
19099         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
19100         set_caps on the source pad.
19101         (gst_pad_alloc_buffer_and_set_caps): New function, does what
19102         alloc_buffer used to do. Fixes #322874.
19103
19104         * docs/gst/gstreamer-sections.txt: 
19105         * docs/design/part-negotiation.txt: 
19106         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
19107         changes.
19108
19109 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19110
19111         patch by: Sebastien Moutte
19112
19113         * win32/MANIFEST:
19114         * win32/common/config.h.in:
19115         * win32/vs6/libgstcontroller.dsp:
19116           win32 build fixes
19117
19118 2005-12-05  Wim Taymans  <wim@fluendo.com>
19119
19120         * gst/gstcaps.c: (gst_caps_is_equal):
19121         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19122         (gst_fake_src_create):
19123         Back out previous code changes, leave doc updates, file bugs 
19124         instead. 
19125
19126 2005-12-05  Wim Taymans  <wim@fluendo.com>
19127
19128         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
19129         (gst_fake_src_get_times), (gst_fake_src_create):
19130         * plugins/elements/gstfakesrc.h:
19131         Fix broken sync code.
19132
19133 2005-12-05  Wim Taymans  <wim@fluendo.com>
19134
19135         * gst/gstcaps.c: (gst_caps_is_equal):
19136         Comparing NULL against !NULL yields different caps, not a
19137         failure.
19138
19139 2005-12-05  Wim Taymans  <wim@fluendo.com>
19140
19141         * gst/gstpipeline.c:
19142         Fix small typo in docs.
19143
19144 2005-12-05  Andy Wingo  <wingo@pobox.com>
19145
19146         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
19147
19148         * gst/gst.c (init_post): remove hard-coded 0.9 location for
19149         registries/plugins with a MAJORMINOR one.
19150         (plugin_desc): Rename library from gstcoreleements to
19151         staticelements. Fixes #323222.
19152
19153 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
19154
19155         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
19156           Change debug category to 'collectpads' from 'collect_pads'
19157           (fixes #323250).
19158
19159 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19160
19161         patch by: Sebastien Moutte
19162
19163         * libs/gst/controller/gstinterpolation.c:
19164           use convert function for uint64/double
19165         * win32/vs6/libgstcontroller.dsp:
19166           link to GLib
19167
19168 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
19169
19170         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
19171         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
19172         * gst/gstutils.h:
19173         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
19174           add tests that seem to show that the guint64/gdouble conversions
19175           are correct.
19176
19177 2005-12-02  Wim Taymans  <wim@fluendo.com>
19178
19179         * gst/gstregistry.c: (gst_registry_add_path):
19180         * gst/gstregistry.h:
19181         * gst/gstregistryxml.c:
19182         Fix docs again.
19183
19184 2005-12-02  Wim Taymans  <wim@fluendo.com>
19185
19186         * gst/gstutils.c: (gst_util_uint64_scale_int64),
19187         (gst_util_uint64_scale_int):
19188         Small cleanup.
19189
19190         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19191         Add debug log line.
19192
19193         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
19194         Add FIXME.
19195
19196 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19197
19198         * win32/MANIFEST:
19199         * win32/common/config.h:
19200         * win32/vs6/gstreamer.dsw:
19201         * win32/vs6/libgstcoreelements.dsp:
19202         * win32/vs6/libgstelements.dsp:
19203           renamed core elements plugin
19204
19205 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19206
19207         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
19208         (get_candidates):
19209           do piece-wise major/minor comparison so 0.9 < 0.10
19210           also allow .exe extensions for tools
19211
19212 2005-12-02  Michael Smith  <msmith@fluendo.com>
19213
19214         * gst/gst.c:
19215           Escape a % to make gtkdoc happier; bug 322958.
19216
19217 === release 0.9.7 ===
19218
19219 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19220
19221         * configure.ac:
19222           releasing 0.9.7, "My Dog Has No Nose"
19223
19224 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19225
19226         * common/gst-xmlinspect.py:
19227         * configure.ac:
19228         * docs/libs/tmpl/gstdataprotocol.sgml:
19229         * docs/random/release:
19230         * po/af.po:
19231         * po/az.po:
19232         * po/bg.po:
19233         * po/ca.po:
19234         * po/cs.po:
19235         * po/de.po:
19236         * po/en_GB.po:
19237         * po/fr.po:
19238         * po/it.po:
19239         * po/nb.po:
19240         * po/nl.po:
19241         * po/ru.po:
19242         * po/sq.po:
19243         * po/sr.po:
19244         * po/sv.po:
19245         * po/tr.po:
19246         * po/uk.po:
19247         * po/vi.po:
19248         * win32/common/config.h:
19249         * win32/common/config.h.in:
19250         * win32/vs6/gst_inspect.dsp:
19251         * win32/vs6/gst_launch.dsp:
19252         * win32/vs6/libgstbase.dsp:
19253         * win32/vs6/libgstelements.dsp:
19254         * win32/vs6/libgstreamer.dsp:
19255         * win32/vs7/GStreamer.vcproj:
19256         * win32/vs7/gst-inspect.vcproj:
19257         * win32/vs7/gst-launch.vcproj:
19258         * win32/vs7/libgstbase.vcproj:
19259           bump GST_MAJORMINOR to 0.10
19260           reset libtool version
19261
19262 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19263
19264         * po/LINGUAS:
19265         * po/bg.po:
19266           Added Bulgarian translation by (Alexander Shopov)
19267
19268 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19269
19270         * tests/check/gst/gstplugin.c:
19271           fix test
19272
19273 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19274
19275         * common/gst-xmlinspect.py:
19276         * common/gtk-doc-plugins.mak:
19277         * configure.ac:
19278         * docs/Makefile.am:
19279         * docs/gst/Makefile.am:
19280         * docs/gst/gstreamer-docs.sgml:
19281         * docs/gst/gstreamer-sections.txt:
19282         * docs/gst/gstreamer.types:
19283         * docs/gst/gstreamer.types.in:
19284         * docs/plugins/Makefile.am:
19285         * docs/plugins/gstreamer-plugins-docs.sgml:
19286         * docs/plugins/gstreamer-plugins-sections.txt:
19287         * docs/plugins/gstreamer-plugins.types:
19288         * docs/plugins/inspect.stamp:
19289         * docs/plugins/inspect/plugin-coreelements.xml:
19290         * docs/plugins/inspect/plugin-coreindexers.xml:
19291         * docs/plugins/scanobj-build.stamp:
19292         * gstreamer.spec.in:
19293         * plugins/elements/Makefile.am:
19294         * plugins/elements/gstelements.c:
19295         * plugins/elements/gstfakesink.c:
19296         * plugins/elements/gstfakesrc.c:
19297         * plugins/elements/gstfilesink.c:
19298         * plugins/elements/gstfilesrc.c:
19299         * plugins/elements/gstqueue.c:
19300         * plugins/indexers/Makefile.am:
19301         * plugins/indexers/gstindexers.c:
19302           document core plugins in a separate document just like all the
19303           others
19304           rename these plugins to something starting with core
19305
19306 2005-12-01  Andy Wingo  <wingo@pobox.com>
19307
19308         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
19309         padding here before, but it missed the commit.
19310
19311 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19312
19313         * libs/gst/controller/gstinterpolation.c:
19314           whitespace prices have crashed, we should feel free to use some now
19315           use gst_guint64_to_gdouble
19316
19317 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19318
19319         * libs/gst/controller/gstcontroller.c:
19320         * libs/gst/controller/gsthelper.c:
19321         * libs/gst/controller/gstinterpolation.c:
19322         * libs/gst/controller/lib.c:
19323           wrap config.h include
19324
19325 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19326
19327         * docs/gst/gstreamer-sections.txt:
19328           update docs
19329
19330 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
19331
19332         * plugins/elements/gstelements.c:
19333         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
19334         (gst_fd_sink__class_init), (gst_fd_sink__init),
19335         (gst_fd_sink__chain), (gst_fd_sink__set_property),
19336         (gst_fd_sink__get_property):
19337         * plugins/elements/gstfdsink.h:
19338         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
19339         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
19340         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
19341         (gst_fd_src_unlock), (gst_fd_src_set_property),
19342         (gst_fd_src_get_property), (gst_fd_src_create),
19343         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
19344         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
19345         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
19346         (gst_fd_src_uri_handler_init):
19347         * plugins/elements/gstfdsrc.h:
19348         * plugins/elements/gstqueue.c: (gst_queue_get_type):
19349           more anal cleanup
19350
19351 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19352
19353         * docs/gst/Makefile.am:
19354         * docs/gst/gstreamer.types.in:
19355         * gst/Makefile.am:
19356           fix the docs build
19357
19358 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19359
19360         * configure.ac:
19361         * gst/Makefile.am:
19362         * gst/gst.c:
19363         * gst/gstplugin.h:
19364         * gst/gstregistry.h:
19365         * tests/benchmarks/complexity.c:
19366         * tests/benchmarks/mass-elements.c:
19367         * tests/check/Makefile.am:
19368         * tools/Makefile.am:
19369         * tools/gst-inspect.c:
19370         * tools/gst-xmlinspect.c:
19371           various fixes to make
19372           --disable-nls --disable-registry --disable-loadsave
19373           --disable-parse --disable-gst-debug
19374           work and get the core .so down to 360444 bytes after stripping
19375
19376 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19377
19378         * Makefile.am:
19379         * configure.ac:
19380           descend into tests
19381         * docs/random/thomasvs/TODO:
19382         * tests/Makefile.am:
19383         * tests/README:
19384           add a README
19385
19386 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19387
19388         * win32/GStreamer.vcproj:
19389         * win32/MANIFEST:
19390         * win32/Makefile:
19391         * win32/Makefile.inspect:
19392         * win32/Makefile.launch:
19393         * win32/Makefile.register:
19394         * win32/README.txt:
19395         * win32/gst-inspect.vcproj:
19396         * win32/gst-launch.vcproj:
19397         * win32/gst-register.vcproj:
19398         * win32/gstelements.vcproj:
19399         * win32/gstgetbits.def:
19400         * win32/gstgetbits.vcproj:
19401         * win32/gstreamer-dbg.def:
19402         * win32/gstreamer.def:
19403         * win32/libgstbase.def:
19404         * win32/libgstbase.vcproj:
19405         * win32/link_oldruntime.c:
19406         * win32/mman.c:
19407         * win32/mman.h:
19408         * win32/mman.inl:
19409         * win32/msvc71.sln:
19410           move even more stuff, win32/ is nice and clean now
19411
19412 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19413
19414         * libs/gst/control/.cvsignore:
19415         * win32/MANIFEST:
19416         * win32/config.h:
19417         * win32/dirent.c:
19418         * win32/dirent.h:
19419         * win32/gstbytestream.def:
19420         * win32/gstbytestream.vcproj:
19421         * win32/gstconfig.h:
19422         * win32/gstenumtypes.c:
19423         * win32/gstenumtypes.h:
19424         * win32/gstoptimalscheduler.vcproj:
19425         * win32/gstversion.h:
19426         * win32/gtchar.h:
19427         * win32/testsuite/bins.vcproj:
19428         * win32/testsuite/bytestream.vcproj:
19429         * win32/testsuite/caps.vcproj:
19430         * win32/testsuite/cleanup.vcproj:
19431         * win32/testsuite/clock.vcproj:
19432         * win32/testsuite/debug.vcproj:
19433         * win32/testsuite/dlopen.vcproj:
19434         * win32/testsuite/dynparams.vcproj:
19435         * win32/testsuite/elements.vcproj:
19436         * win32/testsuite/ghostpads.vcproj:
19437         * win32/testsuite/indexers.vcproj:
19438         * win32/testsuite/negotiation.vcproj:
19439         * win32/testsuite/parse.vcproj:
19440         * win32/testsuite/plugin.vcproj:
19441         * win32/testsuite/refcounting.vcproj:
19442         * win32/testsuite/schedulers.vcproj:
19443         * win32/testsuite/states.vcproj:
19444         * win32/testsuite/tags.vcproj:
19445         * win32/testsuite/threads.vcproj:
19446           remove old win32 stuff that isn't maintained and should be
19447           reorganized
19448
19449 2005-11-30  Andy Wingo  <wingo@pobox.com>
19450
19451         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
19452         loading the gst.interfaces python module bork.
19453
19454         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
19455         available since GLib 2.2. Fixes #318031.
19456
19457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19458
19459         * Makefile.am:
19460         * check/.cvsignore:
19461         * check/Makefile.am:
19462         * check/elements/.cvsignore:
19463         * check/elements/fakesrc.c:
19464         * check/elements/fdsrc.c:
19465         * check/elements/identity.c:
19466         * check/generic/.cvsignore:
19467         * check/generic/states.c:
19468         * check/gst-libs/.cvsignore:
19469         * check/gst-libs/controller.c:
19470         * check/gst-libs/gdp.c:
19471         * check/gst/.cvsignore:
19472         * check/gst/capslist.h:
19473         * check/gst/gst.c:
19474         * check/gst/gstbin.c:
19475         * check/gst/gstbuffer.c:
19476         * check/gst/gstbus.c:
19477         * check/gst/gstcaps.c:
19478         * check/gst/gstelement.c:
19479         * check/gst/gstevent.c:
19480         * check/gst/gstghostpad.c:
19481         * check/gst/gstiterator.c:
19482         * check/gst/gstmessage.c:
19483         * check/gst/gstminiobject.c:
19484         * check/gst/gstobject.c:
19485         * check/gst/gstpad.c:
19486         * check/gst/gstpipeline.c:
19487         * check/gst/gstplugin.c:
19488         * check/gst/gstsegment.c:
19489         * check/gst/gststructure.c:
19490         * check/gst/gstsystemclock.c:
19491         * check/gst/gsttag.c:
19492         * check/gst/gstutils.c:
19493         * check/gst/gstvalue.c:
19494         * check/net/.cvsignore:
19495         * check/net/gstnetclientclock.c:
19496         * check/net/gstnettimeprovider.c:
19497         * check/pipelines/.cvsignore:
19498         * check/pipelines/cleanup.c:
19499         * check/pipelines/simple_launch_lines.c:
19500         * check/pipelines/stress.c:
19501         * check/states/.cvsignore:
19502         * check/states/sinks.c:
19503         * configure.ac:
19504         * examples/Makefile.am:
19505         * examples/appreader/.cvsignore:
19506         * examples/appreader/Makefile.am:
19507         * examples/appreader/appreader.c:
19508         * examples/controller/.cvsignore:
19509         * examples/controller/Makefile.am:
19510         * examples/controller/audio-example.c:
19511         * examples/cutter/.cvsignore:
19512         * examples/cutter/Makefile.am:
19513         * examples/cutter/cutter.c:
19514         * examples/cutter/cutter.h:
19515         * examples/events/Makefile.am:
19516         * examples/events/seek.c:
19517         * examples/helloworld/.cvsignore:
19518         * examples/helloworld/Makefile.am:
19519         * examples/helloworld/helloworld.c:
19520         * examples/helloworld2/.cvsignore:
19521         * examples/helloworld2/Makefile.am:
19522         * examples/helloworld2/helloworld2.c:
19523         * examples/launch/.cvsignore:
19524         * examples/launch/Makefile.am:
19525         * examples/launch/mp3parselaunch.c:
19526         * examples/launch/mp3play:
19527         * examples/manual/.cvsignore:
19528         * examples/manual/Makefile.am:
19529         * examples/manual/extract.pl:
19530         * examples/metadata/Makefile.am:
19531         * examples/metadata/read-metadata.c:
19532         * examples/mixer/.cvsignore:
19533         * examples/mixer/Makefile.am:
19534         * examples/mixer/mixer.c:
19535         * examples/mixer/mixer.h:
19536         * examples/pingpong/.cvsignore:
19537         * examples/pingpong/Makefile.am:
19538         * examples/pingpong/pingpong.c:
19539         * examples/plugins/.cvsignore:
19540         * examples/plugins/Makefile.am:
19541         * examples/plugins/example.c:
19542         * examples/plugins/example.h:
19543         * examples/pwg/.cvsignore:
19544         * examples/pwg/Makefile.am:
19545         * examples/pwg/extract.pl:
19546         * examples/queue/.cvsignore:
19547         * examples/queue/Makefile.am:
19548         * examples/queue/queue.c:
19549         * examples/queue2/.cvsignore:
19550         * examples/queue2/Makefile.am:
19551         * examples/queue2/queue2.c:
19552         * examples/queue3/.cvsignore:
19553         * examples/queue3/Makefile.am:
19554         * examples/queue3/queue3.c:
19555         * examples/queue4/.cvsignore:
19556         * examples/queue4/Makefile.am:
19557         * examples/queue4/queue4.c:
19558         * examples/retag/.cvsignore:
19559         * examples/retag/Makefile.am:
19560         * examples/retag/retag.c:
19561         * examples/retag/transcode.c:
19562         * examples/thread/.cvsignore:
19563         * examples/thread/Makefile.am:
19564         * examples/thread/thread.c:
19565         * examples/typefind/.cvsignore:
19566         * examples/typefind/Makefile.am:
19567         * examples/typefind/typefind.c:
19568         * examples/xml/.cvsignore:
19569         * examples/xml/Makefile.am:
19570         * examples/xml/createxml.c:
19571         * examples/xml/runxml.c:
19572         * tests/Makefile.am:
19573         * tests/check/Makefile.am:
19574         * testsuite/.cvsignore:
19575         * testsuite/Makefile.am:
19576         * testsuite/Rules:
19577         * testsuite/caps/.cvsignore:
19578         * testsuite/caps/Makefile.am:
19579         * testsuite/caps/app_fixate.c:
19580         * testsuite/caps/audioscale.c:
19581         * testsuite/caps/caps.c:
19582         * testsuite/caps/caps.h:
19583         * testsuite/caps/caps_strings:
19584         * testsuite/caps/compatibility.c:
19585         * testsuite/caps/deserialize.c:
19586         * testsuite/caps/enumcaps.c:
19587         * testsuite/caps/eratosthenes.c:
19588         * testsuite/caps/filtercaps.c:
19589         * testsuite/caps/fixed.c:
19590         * testsuite/caps/fraction-convert.c:
19591         * testsuite/caps/fraction-multiply-and-zero.c:
19592         * testsuite/caps/intersect2.c:
19593         * testsuite/caps/intersection.c:
19594         * testsuite/caps/normalisation.c:
19595         * testsuite/caps/random.c:
19596         * testsuite/caps/renegotiate.c:
19597         * testsuite/caps/sets.c:
19598         * testsuite/caps/simplify.c:
19599         * testsuite/caps/string-conversions.c:
19600         * testsuite/caps/structure.c:
19601         * testsuite/caps/subtract.c:
19602         * testsuite/caps/union.c:
19603         * testsuite/debug/.cvsignore:
19604         * testsuite/debug/Makefile.am:
19605         * testsuite/debug/category.c:
19606         * testsuite/debug/commandline.c:
19607         * testsuite/debug/global.c:
19608         * testsuite/debug/output.c:
19609         * testsuite/debug/printf_extension.c:
19610         * testsuite/dlopen/.cvsignore:
19611         * testsuite/dlopen/Makefile.am:
19612         * testsuite/dlopen/dlopen_gst.c:
19613         * testsuite/dlopen/loadgst.c:
19614         * testsuite/elements/.cvsignore:
19615         * testsuite/elements/Makefile.am:
19616         * testsuite/elements/gst-inspect-check.in:
19617         * testsuite/elements/struct_i386.h:
19618         * testsuite/elements/struct_size.c:
19619         * testsuite/indexers/.cvsignore:
19620         * testsuite/indexers/Makefile.am:
19621         * testsuite/indexers/cache1.c:
19622         * testsuite/indexers/indexdump.c:
19623         * testsuite/parse/.cvsignore:
19624         * testsuite/parse/Makefile.am:
19625         * testsuite/parse/parse1.c:
19626         * testsuite/parse/parse2.c:
19627         * testsuite/plugin/.cvsignore:
19628         * testsuite/plugin/Makefile.am:
19629         * testsuite/plugin/README:
19630         * testsuite/plugin/dynamic.c:
19631         * testsuite/plugin/linked.c:
19632         * testsuite/plugin/loading.c:
19633         * testsuite/plugin/registry.c:
19634         * testsuite/plugin/static.c:
19635         * testsuite/plugin/static2.c:
19636         * testsuite/plugin/testplugin.c:
19637         * testsuite/plugin/testplugin2.c:
19638         * testsuite/plugin/testplugin2_s.c:
19639         * testsuite/plugin/testplugin_s.c:
19640         * testsuite/refcounting/.cvsignore:
19641         * testsuite/refcounting/Makefile.am:
19642         * testsuite/refcounting/bin.c:
19643         * testsuite/refcounting/element.c:
19644         * testsuite/refcounting/element_pad.c:
19645         * testsuite/refcounting/mainloop.c:
19646         * testsuite/refcounting/mem.c:
19647         * testsuite/refcounting/mem.h:
19648         * testsuite/refcounting/object.c:
19649         * testsuite/refcounting/pad.c:
19650         * testsuite/refcounting/sched.c:
19651         * testsuite/refcounting/thread.c:
19652         * testsuite/states/.cvsignore:
19653         * testsuite/states/Makefile.am:
19654         * testsuite/states/bin.c:
19655         * testsuite/states/locked.c:
19656         * testsuite/states/parent.c:
19657         * testsuite/threads/.cvsignore:
19658         * testsuite/threads/159566.c:
19659         * testsuite/threads/159852.c:
19660         * testsuite/threads/Makefile.am:
19661         * testsuite/threads/queue.c:
19662         * testsuite/threads/signals.c:
19663         * testsuite/threads/staticrec.c:
19664         * testsuite/threads/thread.c:
19665         * testsuite/threads/threadb.c:
19666         * testsuite/threads/threadc.c:
19667         * testsuite/threads/threadd.c:
19668         * testsuite/threads/threade.c:
19669         * testsuite/threads/threadf.c:
19670         * testsuite/threads/threadg.c:
19671         * testsuite/threads/threadh.c:
19672         * testsuite/threads/threadi.c:
19673           move all of these under tests
19674
19675 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19676
19677         * configure.ac:
19678         * tests/Makefile.am:
19679           fix distcheck
19680
19681 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19682
19683         * docs/gst/gstreamer-sections.txt:
19684         * tests/sched/.cvsignore:
19685         * tests/sched/Makefile.am:
19686         * tests/sched/cases/(fs-fs).xml:
19687         * tests/sched/cases/(fs-i-fs).xml:
19688         * tests/sched/cases/(fs-i-i-fs).xml:
19689         * tests/sched/cases/(fs-i-q[i-fs]).xml:
19690         * tests/sched/dynamic-pipeline.c:
19691         * tests/sched/interrupt1.c:
19692         * tests/sched/interrupt2.c:
19693         * tests/sched/interrupt3.c:
19694         * tests/sched/runtestcases:
19695         * tests/sched/runxml.c:
19696         * tests/sched/sched-stress.c:
19697         * tests/sched/sort.c:
19698         * tests/sched/testcases:
19699         * tests/sched/testcases1.tc:
19700         * tests/seeking/.cvsignore:
19701         * tests/seeking/Makefile.am:
19702         * tests/seeking/seeking1.c:
19703         * tests/threadstate/.cvsignore:
19704         * tests/threadstate/Makefile.am:
19705         * tests/threadstate/test1.c:
19706         * tests/threadstate/test2.c:
19707         * tests/threadstate/threadstate1.c:
19708         * tests/threadstate/threadstate2.c:
19709         * tests/threadstate/threadstate3.c:
19710         * tests/threadstate/threadstate4.c:
19711         * tests/threadstate/threadstate5.c:
19712           remove obsolete tests
19713         * configure.ac:
19714         * tests/bench-complexity.scm:
19715         * tests/bench-mass_elements.scm:
19716         * tests/complexity.c:
19717         * tests/complexity.gnuplot:
19718         * tests/instantiate/.cvsignore:
19719         * tests/instantiate/Makefile.am:
19720         * tests/instantiate/caps.c:
19721         * tests/mass_elements.c:
19722         * tests/network-clock-utils.scm:
19723         * tests/network-clock.scm:
19724         * tests/plot-data:
19725         First pass at cleaning up tests/ dir before moving the rest
19726         Combined with CVS surgery
19727
19728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19729
19730         * po/POTFILES.in:
19731           queue has moved, update
19732
19733 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19734
19735         * docs/gst/gstreamer-sections.txt:
19736           remove double entries from the docs
19737         * gst/gst_private.h:
19738         * gst/gstinfo.c: (_gst_debug_init):
19739           remove the THREAD debug category
19740         * gst/Makefile.am:
19741         * gst/gstqueue.c:
19742         * gst/gstqueue.h:
19743         * docs/gst/gstreamer.types:
19744         * plugins/elements/gstqueue.c: (gst_queue_get_type),
19745         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
19746           completely move queue and fix up debugging categories
19747
19748 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19749
19750         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
19751           make initialization portable, using LL is not
19752
19753 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19754
19755         * win32/common/gstconfig.h:
19756           add large padding
19757
19758 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19759
19760         * win32/common/libgstreamer.def:
19761           rename symbols; sort base section
19762
19763 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19764
19765         * gst/gstclock.c: (do_linear_regression):
19766           remove crack non-portable handrolled DEBUG macro
19767
19768 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19769
19770         * docs/random/release:
19771           update notes
19772         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19773         (gst_object_flags_get_type), (register_gst_bin_flags),
19774         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19775         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19776         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19777         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
19778         (gst_caps_flags_get_type), (register_gst_clock_return),
19779         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19780         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19781         (gst_clock_flags_get_type), (register_gst_state),
19782         (gst_state_get_type), (register_gst_state_change_return),
19783         (gst_state_change_return_get_type), (register_gst_state_change),
19784         (gst_state_change_get_type), (register_gst_element_flags),
19785         (gst_element_flags_get_type), (register_gst_core_error),
19786         (gst_core_error_get_type), (register_gst_library_error),
19787         (gst_library_error_get_type), (register_gst_resource_error),
19788         (gst_resource_error_get_type), (register_gst_stream_error),
19789         (gst_stream_error_get_type), (register_gst_event_type_flags),
19790         (gst_event_type_flags_get_type), (register_gst_event_type),
19791         (gst_event_type_get_type), (register_gst_seek_type),
19792         (gst_seek_type_get_type), (register_gst_seek_flags),
19793         (gst_seek_flags_get_type), (register_gst_format),
19794         (gst_format_get_type), (register_gst_index_certainty),
19795         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19796         (gst_index_entry_type_get_type),
19797         (register_gst_index_lookup_method),
19798         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19799         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19800         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19801         (gst_index_flags_get_type), (register_gst_debug_level),
19802         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19803         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19804         (gst_iterator_result_get_type), (register_gst_iterator_item),
19805         (gst_iterator_item_get_type), (register_gst_message_type),
19806         (gst_message_type_get_type), (register_gst_mini_object_flags),
19807         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19808         (gst_pad_link_return_get_type), (register_gst_flow_return),
19809         (gst_flow_return_get_type), (register_gst_activate_mode),
19810         (gst_activate_mode_get_type), (register_gst_pad_direction),
19811         (gst_pad_direction_get_type), (register_gst_pad_flags),
19812         (gst_pad_flags_get_type), (register_gst_pad_presence),
19813         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19814         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19815         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19816         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19817         (gst_plugin_flags_get_type), (register_gst_rank),
19818         (gst_rank_get_type), (register_gst_query_type),
19819         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19820         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19821         (gst_tag_flag_get_type), (register_gst_task_state),
19822         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19823         (gst_alloc_trace_flags_get_type),
19824         (register_gst_type_find_probability),
19825         (gst_type_find_probability_get_type), (register_gst_uri_type),
19826         (gst_uri_type_get_type), (register_gst_parse_error),
19827         (gst_parse_error_get_type):
19828         * win32/common/gstenumtypes.h:
19829         * win32/common/gstversion.h:
19830           update visual studio generated files
19831
19832 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19833
19834         * win32/vs6/libgstbase.dsp:
19835         * win32/vs6/libgstelements.dsp:
19836           update project files for new locations
19837
19838 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
19839
19840         * Makefile.am:
19841           remove some files
19842         * README:
19843           reinstate and update
19844         * DEVEL:
19845         * REQUIREMENTS:
19846           removed
19847         * LICENSE:
19848         * docs/random/LICENSE:
19849           moved to random
19850
19851 2005-11-30  Edward Hervey  <edward@fluendo.com>
19852
19853         * gst/gsttypefind.c: (gst_type_find_register):
19854         * gst/gsttypefind.h:
19855         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
19856         (gst_type_find_factory_dispose):
19857         * gst/gsttypefindfactory.h:
19858         Fix memory leak in GstTypeFindFactory.
19859
19860 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19861
19862         * gst/gst.c:
19863         * plugins/elements/Makefile.am:
19864         * plugins/elements/gstelements.c:
19865         * plugins/elements/gstqueue.c:
19866           move queue from core to the elements plugin
19867
19868 2005-11-29  Andy Wingo  <wingo@pobox.com>
19869
19870         * libs/gst/base/gstbasetransform.h: 
19871         * libs/gst/base/gstbasesrc.h: 
19872         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
19873
19874         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
19875         of pointers by which to pad very extensible base classes (like the
19876         ones in libs/gst/base).
19877
19878 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19879
19880         * docs/gst/gstreamer-docs.sgml:
19881         * docs/gst/gstreamer-sections.txt:
19882         * docs/libs/gstreamer-libs-docs.sgml:
19883         * docs/libs/gstreamer-libs-sections.txt:
19884           moving documentation from core to lib
19885
19886 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19887
19888         * check/Makefile.am:
19889         * configure.ac:
19890         * docs/gst/Makefile.am:
19891         * gst/Makefile.am:
19892         * gst/base/.cvsignore:
19893         * gst/base/Makefile.am:
19894         * gst/base/README:
19895         * gst/base/gstadapter.c:
19896         * gst/base/gstadapter.h:
19897         * gst/base/gstbasesink.c:
19898         * gst/base/gstbasesink.h:
19899         * gst/base/gstbasesrc.c:
19900         * gst/base/gstbasesrc.h:
19901         * gst/base/gstbasetransform.c:
19902         * gst/base/gstbasetransform.h:
19903         * gst/base/gstcollectpads.c:
19904         * gst/base/gstcollectpads.h:
19905         * gst/base/gstpushsrc.c:
19906         * gst/base/gstpushsrc.h:
19907         * gst/base/gsttypefindhelper.c:
19908         * gst/base/gsttypefindhelper.h:
19909         * gst/check/Makefile.am:
19910         * gst/check/gstcheck.c:
19911         * gst/check/gstcheck.h:
19912         * gst/net/Makefile.am:
19913         * gst/net/gstnet.h:
19914         * gst/net/gstnetclientclock.c:
19915         * gst/net/gstnetclientclock.h:
19916         * gst/net/gstnettimepacket.c:
19917         * gst/net/gstnettimepacket.h:
19918         * gst/net/gstnettimeprovider.c:
19919         * gst/net/gstnettimeprovider.h:
19920         * libs/gst/Makefile.am:
19921         * libs/gst/base/Makefile.am:
19922         * libs/gst/base/gstbasetransform.c:
19923         * libs/gst/check/Makefile.am:
19924         * plugins/elements/Makefile.am:
19925         * po/POTFILES.in:
19926           CVS surgery + support to move base, check, and net out of gst
19927           and into libs/gst
19928
19929 2005-11-29  Andy Wingo  <wingo@pobox.com>
19930
19931         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
19932
19933         * gst/gststructure.h (struct _GstStructure): Only one pointer of
19934         padding.
19935
19936         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
19937
19938         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
19939
19940         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
19941
19942         * gst/gstobject.h: (struct _GstObject): Only one pointer of
19943         padding; reduces object size by about 30%. We don't expect
19944         anything else to go into gstobject.
19945
19946         * gst/gstminiobject.h (struct _GstMiniObject)
19947         (struct _GstMiniObjectClass): Only one pointer of padding; the
19948         payload is only a pointer and two ints anyway. For the class there
19949         are only two methods as well.
19950         
19951         * gst/gstelement.h (struct _GstElementClass): Removed
19952         the state_changed signal callback, it is not used.
19953
19954 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19955
19956         * docs/gst/gstreamer.types:
19957           fix includes, though they are a little dinky
19958
19959 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19960
19961         * check/Makefile.am:
19962           look in the right place for elements, a lot more chance of
19963           success
19964         * gst/Makefile.am:
19965           remove indexers and elements subdirs
19966         * plugins/Makefile.am:
19967           make indexers conditional
19968
19969 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19970
19971         * Makefile.am:
19972         * configure.ac:
19973         * plugins/elements/Makefile.am:
19974         * plugins/elements/gstcapsfilter.c:
19975         * plugins/elements/gstfilesink.c:
19976         * plugins/elements/gstfilesrc.c:
19977         * plugins/elements/gstidentity.c:
19978         * plugins/indexers/Makefile.am:
19979           do CVS surgery and related build fixery to move elements
19980           and indexers in a new gstreamer/plugins directory, out of the
19981           gst/ directory
19982
19983 2005-11-29  Andy Wingo  <wingo@pobox.com>
19984
19985         * check/Makefile.am:
19986         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19987         * pkgconfig/gstreamer-net.pc.in:
19988         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
19989         #322257.
19990
19991 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19992
19993         * tools/Makefile.am:
19994         * tools/gst-complete.1.in:
19995         * tools/gst-complete.c:
19996         * tools/gst-compprep.1.in:
19997         * tools/gst-compprep.c:
19998           removing -compprep and -complete
19999
20000 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20001
20002         * gst/gstevent.c: (gst_event_new_new_segment),
20003         (gst_event_parse_new_segment):
20004         * gst/gstevent.h:
20005           fix #320529 - clean up new_segment API and structure.
20006           Let's hope everyone was using the methods, and not the structure.
20007
20008 2005-11-29  Edward Hervey  <edward@fluendo.com>
20009
20010         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20011         (gst_base_sink_event), (gst_base_sink_do_sync),
20012         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
20013         Properly handle non GST_FORMAT_TIME segment
20014         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20015         Properly handle non GST_FORMAT_TIME segment
20016         * gst/gstsegment.c:
20017         This function is valid if the accumulator is 0 and the format
20018         is different from the requested format.
20019         
20020 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20021
20022         * docs/gst/gstreamer-sections.txt:
20023         Add gst_query_new_seeking and gst_query_parse_seeking to the
20024         docs.
20025
20026 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
20027
20028         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
20029           Treat a pad alloc with new caps the same as if we were not
20030           negotiated, in order to allow a changing upstream output
20031           to produce a new format of data.
20032
20033 2005-11-29  Edward Hervey  <edward@fluendo.com>
20034
20035         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20036         (gst_base_transform_event), (gst_base_transform_eventfunc):
20037         The event virtual method is now properly implemented, with a default
20038         handler
20039         Sub classes should call the parent_class event method. They should
20040         return FALSE if they had a problem handling the given event, or don't
20041         want GstBaseTransform to send that even downstream
20042         * gst/elements/gstidentity.c: (gst_identity_class_init),
20043         (gst_identity_init), (gst_identity_event),
20044         (gst_identity_transform_ip), (gst_identity_set_property),
20045         (gst_identity_get_property):
20046         * gst/elements/gstidentity.h:
20047         Added the single-segment boolean property.
20048         If set to TRUE, it will output a single segment of data, starting from
20049         0, will eat up all incoming newsegment, and modify the timestamp of the
20050         buffers accordingly
20051
20052 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
20053
20054         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
20055           Don't ref NULL target pad (#322751). Improve docs.
20056
20057 2005-11-29  Michael Smith  <msmith@fluendo.com>
20058
20059         * gst/gstregistryxml.c: (load_plugin):
20060           Don't crash if we failed to load a feature from a plugin. 
20061
20062 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20063
20064         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20065         (GST_START_TEST):
20066           use more check API and less GLib API
20067
20068 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20069
20070         * Makefile.am:
20071           don't run checks if we don't have check
20072         * common/check.mak:
20073           remove the registry when running make torture
20074         * docs/gst/gstreamer-sections.txt:
20075           remove second multiply
20076         * gst/gstqueue.c: (gst_queue_loop):
20077           fix a compile warning when disabling debug
20078
20079 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20080
20081         * gst/gstinfo.h:
20082         Hey! Let's print the pad name if the pointer != NULL instead
20083         of when it == NULL :-)
20084
20085 2005-11-28  Wim Taymans  <wim@fluendo.com>
20086
20087         * check/gst/gstutils.c: (GST_START_TEST):
20088         Updated check, add some scaling accuracy checking code.
20089
20090         * gst/gstutils.c: (gst_util_div128_64),
20091         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
20092         (gst_util_uint64_scale_int):
20093         Fix 6 times faster division code. Optimize for common 
20094         1/1 and less common X/1 cases.
20095
20096 2005-11-28  Wim Taymans  <wim@fluendo.com>
20097
20098         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20099         More checks.
20100
20101         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
20102         (do_linear_regression), (gst_clock_add_observation):
20103         Cleanups.
20104         Release lock when the clock cannot be slaved.
20105         Catch the case where the regression returned an invalid denominator.
20106
20107         * gst/gstutils.c: (gst_util_div128_64_iterate),
20108         (gst_util_div128_64), (gst_util_uint64_scale_int64),
20109         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20110         Add protentially more performant non-iterative 128/64 divide function
20111         that unfortunatly does not work yet.
20112         Shortcut the trivial 0/X = 0 case.
20113         Remove the warnings on overflow.
20114
20115 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20116
20117         * gst/gstplugin.c: (gst_plugin_register_func):
20118           everything causing a plugin not to load should be at least a WARNING
20119
20120 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
20121
20122         * docs/random/ensonic/dparams.txt:
20123           some TODOs for the next dev cycle
20124         * libs/gst/controller/gstcontroller.c:
20125         (gst_controlled_property_set_interpolation_mode),
20126         (gst_controlled_property_new):
20127         * libs/gst/controller/gstcontroller.h:
20128           use base type to assign acccessor functions
20129
20130 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20131
20132         * check/Makefile.am:
20133         Oops, that should have been top_srcdir
20134
20135 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
20136
20137         * check/Makefile.am:
20138         * check/elements/fdsrc.c: (GST_START_TEST):
20139         Use a cmdline define to specify the location of a file to use for
20140         testing, to avoid breaking distcheck.
20141
20142 2005-11-28  Andy Wingo  <wingo@pobox.com>
20143
20144         * gst/gstpad.c (fixate_value): Use array functions for arrays.
20145
20146 2005-11-28  Edward Hervey  <edward@fluendo.com>
20147
20148         * tools/gst-launch.c: (main):
20149         Clarify the output strings, makes it easier to translate.
20150         Fixes #322626
20151
20152 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20153
20154         * gst/Makefile.am:
20155           don't try and build net if we don't even have <sys/socket.h>
20156
20157 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
20158
20159         * check/Makefile.am:
20160         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
20161         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
20162           Add tests for fdsrc seekability
20163
20164         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20165         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
20166         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
20167         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
20168         * gst/elements/gstfdsrc.h:
20169           fdsrc should not be a 'live' source.
20170           Implement seeking on seekable fd's.
20171
20172         * gst/gstquery.c: (gst_query_new_seeking),
20173         (gst_query_parse_seeking):
20174         * gst/gstquery.h:
20175           Implement SEEKING query functions: 
20176             *_new_seeking and *_parse_seeking
20177
20178 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
20179
20180         * gst/gstelement.c: (gst_element_dispose):
20181           don't loop forever
20182
20183         * gst/gstiterator.c:
20184         * gst/gststructure.c:
20185           doc fixes
20186
20187         * libs/gst/controller/gstcontroller.c:
20188         (gst_controlled_property_set_interpolation_mode):
20189         * libs/gst/controller/gstcontroller.h:
20190         * libs/gst/controller/gstinterpolation.c:
20191         (interpolate_none_get_enum_value_array):
20192           support controlling enums
20193
20194 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20195
20196         * gst/gstvalue.c:
20197           Improve documentation for gst_value_union().
20198
20199         * gst/gstvalue.h:
20200           Change return value for union, intersect and subtract functions
20201           from gint to gboolean.
20202
20203 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
20204
20205         * gst/gstvalue.c: (gst_value_serialize_any_list),
20206         (gst_value_transform_any_list_string),
20207         (gst_value_deserialize_list), (gst_value_deserialize_array),
20208         (gst_value_set_int_range), (gst_value_deserialize_int_range),
20209         (gst_value_set_double_range), (gst_value_deserialize_double_range),
20210         (gst_value_set_fraction_range_full),
20211         (gst_value_deserialize_fraction_range),
20212         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
20213         (gst_value_deserialize_boolean),
20214         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
20215         (gst_value_serialize_float), (gst_value_deserialize_float),
20216         (gst_string_wrap), (gst_value_deserialize_string),
20217         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
20218         (gst_value_union_int_range_int_range),
20219         (gst_value_intersect_int_range_int_range),
20220         (gst_value_intersect_double_range_double_range),
20221         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
20222         (gst_value_subtract_int_range_int_range),
20223         (gst_value_subtract_double_double_range),
20224         (gst_value_subtract_double_range_double_range),
20225         (gst_value_deserialize_fraction):
20226         * gst/gstvalue.h:
20227           Use gint, gdouble and gchar in our API instead of int, double and
20228           char (and make usage in gstvalue.c more consistent).
20229
20230 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20231
20232         * check/Makefile.am:
20233         * libs/gst/controller/Makefile.am:
20234         * libs/gst/dataprotocol/Makefile.am:
20235           fix up Makefile.am and remove GST_ENABLE_NEW
20236
20237 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20238
20239         * configure.ac:
20240         * gst/Makefile.am:
20241         * gst/base/Makefile.am:
20242         * gst/check/Makefile.am:
20243         * gst/elements/Makefile.am:
20244         * gst/net/Makefile.am:
20245           update LDFLAGS use some more
20246
20247 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20248
20249         * common/m4/gst-doc.m4:
20250           Fixes #312589
20251
20252 2005-11-26  Edward Hervey  <edward@fluendo.com>
20253
20254         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20255         This shouldn't issue a g_warning since it returns NULL if it
20256         couldn't find the plugin, and all functions using this behave
20257         properly on a NULL return. Switching to a GST_WARNING.
20258
20259 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
20260
20261         * gst/gstbin.c: (gst_bin_handle_message_func):
20262         Don't leak clock messages.
20263
20264 2005-11-25  Wim Taymans  <wim@fluendo.com>
20265
20266         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20267         (gst_util_uint64_scale_int):
20268         Optimisations, remove unneeded vars.
20269
20270 2005-11-25  Wim Taymans  <wim@fluendo.com>
20271
20272         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20273         Added more checks for the high precision uint64 cases.
20274
20275         * gst/gstutils.c: (gst_util_uint64_scale_int64),
20276         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
20277         Implement high precision (guint64 * guint64) / guint64.
20278
20279 2005-11-24  Wim Taymans  <wim@fluendo.com>
20280
20281         * gst/base/gstbasesrc.c: (gst_base_src_query):
20282         Fix wrong percentage query.
20283
20284         * gst/gstutils.c: (gst_util_uint64_scale),
20285         (gst_util_uint64_scale_int):
20286         Add some more common cases that can be handled 
20287         efficiently to _scale.
20288
20289 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20290
20291         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
20292         (gst_mini_object_suite):
20293           don't use check calls from threads; check probably isn't
20294           threadsafe and using a lock to make it threadsafe would
20295           defeat the purpose of this check
20296         * gst/check/gstcheck.c:
20297         * gst/check/gstcheck.h:
20298           use GST_DEBUG some more
20299
20300 2005-11-24  Wim Taymans  <wim@fluendo.com>
20301
20302         * gst/gstutils.c: (gst_util_uint64_scale),
20303         (gst_util_uint64_scale_int):
20304         Chain trivial case to _scale_int.
20305
20306 2005-11-24  Wim Taymans  <wim@fluendo.com>
20307
20308         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
20309         Added test for scaling.
20310
20311         * gst/gstclock.h:
20312         Small doc fix.
20313
20314         * gst/gstutils.c: (gst_util_uint64_scale_int):
20315         Implemented high precision scaling code.
20316
20317 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
20318
20319         * gst/gstinfo.h:
20320           do not crash on pad==NULL
20321
20322 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20323
20324         Patch by: Stefan Kost
20325
20326         * common/gtk-doc.mak:
20327         * docs/gst/Makefile.am:
20328         * docs/libs/Makefile.am:
20329           Fix distcheck issues for the libraries docs build
20330           Closes #319599.
20331
20332 2005-11-24  Michael Smith <msmith@fluendo.com>
20333
20334         * docs/manual/basics-helloworld.xml:
20335           Fix bug #315027: memory leak in example code in docs.
20336
20337 2005-11-24  Michael Smith <msmith@fluendo.com>
20338
20339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20340           Unlock the PREROLL_LOCK in a failure case.
20341
20342 2005-11-24  Wim Taymans  <wim@fluendo.com>
20343
20344         * docs/gst/gstreamer-sections.txt:
20345         * gst/base/gstadapter.h:
20346         * gst/base/gstbasesink.h:
20347         * gst/base/gstbasesrc.h:
20348         * gst/base/gstbasetransform.h:
20349         * gst/base/gstpushsrc.h:
20350         * gst/elements/gstfakesink.h:
20351         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
20352         * gst/elements/gstfakesrc.h:
20353         * gst/elements/gstfilesink.h:
20354         * gst/elements/gstfilesrc.h:
20355         * gst/gst.c:
20356         * gst/gstbin.c:
20357         * gst/gstbuffer.c: (_gst_buffer_copy):
20358         * gst/gstbus.h:
20359         * gst/gstcaps.c:
20360         * gst/gstchildproxy.c:
20361         * gst/gstclock.c:
20362         * gst/gstelement.c:
20363         * gst/gstelementfactory.c:
20364         * gst/gstelementfactory.h:
20365         * gst/gstevent.c:
20366         * gst/gstghostpad.h:
20367         * gst/gstindex.h:
20368         * gst/gstinterface.h:
20369         * gst/gstminiobject.c:
20370         * gst/gstminiobject.h:
20371         * gst/gstpad.c:
20372         * gst/gstpad.h:
20373         * gst/gstpadtemplate.h:
20374         * gst/gstpipeline.h:
20375         * gst/gstpluginfeature.h:
20376         * gst/gstquery.h:
20377         * gst/gstqueue.h:
20378         * gst/gsttaglist.c:
20379         * gst/gsttaglist.h:
20380         * gst/gsttagsetter.c:
20381         * gst/gsttagsetter.h:
20382         * gst/gsttrace.c:
20383         * gst/gsttrace.h:
20384         * gst/gsttypefind.h:
20385         * gst/gsturi.h:
20386         * gst/gstvalue.c:
20387         * gst/net/gstnetclientclock.c:
20388         * gst/net/gstnetclientclock.h:
20389         * gst/net/gstnettimepacket.c:
20390         * gst/net/gstnettimeprovider.c:
20391         * gst/net/gstnettimeprovider.h:
20392         Doc fixes.
20393
20394 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20395
20396         * configure.ac: back to HEAD
20397
20398 === release 0.9.6 ===
20399
20400 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
20401
20402         * configure.ac:
20403           releasing 0.9.6, "Always On Time"
20404
20405 2005-11-23  Wim Taymans  <wim@fluendo.com>
20406
20407         * docs/gst/gstreamer-sections.txt:
20408         * gst/glib-compat.c:
20409         * gst/gsttagsetter.c:
20410         * gst/gstvalue.c:
20411         * gst/net/gstnetclientclock.c:
20412         * gst/net/gstnettimepacket.h:
20413         Doc updates.
20414
20415 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20416
20417         * docs/faq/using.xml:
20418         * docs/libs/tmpl/gstcontrol.sgml:
20419         * docs/manual/advanced-dparams.xml:
20420         * docs/manual/appendix-checklist.xml:
20421         * docs/manual/basics-elements.xml:
20422         * docs/pwg/other-source.xml:
20423         * docs/random/moving-plugins:
20424         * gst/gstpad.c:
20425         * tools/gst-launch.1.in:
20426           remove mentions of sinesrc
20427
20428 2005-11-23  Michael Smith <msmith@fluendo.com>
20429
20430         * docs/gst/gstreamer-sections.txt:
20431           Update for new API and API changes.
20432         * gst/gstobject.h:
20433           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
20434         * gst/gstvalue.c:
20435           Documentation typo fix.
20436         * gst/net/gstnettimepacket.c:
20437           Documentation fixes for arguments.
20438
20439 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
20440
20441         * gst/gststructure.c: (gst_structure_get_fraction),
20442         (gst_structure_parse_value),
20443         (gst_structure_fixate_field_nearest_fraction):
20444         * gst/gststructure.h:
20445         * gst/gstutils.c: (gst_util_uint64_scale_int):
20446         * gst/gstutils.h:
20447         * scripts/update-funcnames:
20448         API Changes. 
20449         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
20450         Make gst_structure_fixate_field_nearest_fraction take a numerator
20451         and denominator argument instead of a GValue
20452         add gst_structure_get_fraction helper function.
20453
20454 2005-11-23  Wim Taymans  <wim@fluendo.com>
20455
20456         * docs/design/part-TODO.txt:
20457         Update TODO.
20458
20459         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
20460         * gst/net/gstnetclientclock.h:
20461         Use parent fields for timeout and window_size.
20462
20463 2005-11-23  Andy Wingo  <wingo@pobox.com>
20464
20465         * check/net/gstnetclientclock.c (test_functioning): Adjust to
20466         rate_num/rate_denom change.
20467
20468         * gst/net/gstnetclientclock.c
20469         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
20470         OBJECT_LOCK. Don't call add_observation with the lock.
20471
20472         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
20473         fraction.
20474         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
20475         rate fraction.
20476         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
20477         deal with rate as a fraction whose numerator and denominator are
20478         GstClockTime values.
20479         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
20480         master; the other fields are protected by the SLAVE_LOCK.
20481         (do_linear_regression): Note that this must be called with the
20482         SLAVE_LOCK.
20483         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
20484         OBJECT_LOCK. Call set_calibration instead of touching the
20485         variables directly.
20486         (gst_clock_set_property, gst_clock_get_property): Protect
20487         master/slave parameters with the SLAVE_LOCK.
20488
20489         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
20490         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
20491         note that all of the instance variables that add_observation and
20492         the set_master functions use are protected by that lock and not
20493         the OBJECT_LOCK.
20494         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
20495
20496         * gst/gstclock.c (gst_clock_add_observation): No longer requires
20497         the caller to take the object lock.
20498
20499 2005-11-23  Wim Taymans  <wim@fluendo.com>
20500
20501         * gst/gsterror.c: (_gst_core_errors_init):
20502         * gst/gsterror.h:
20503         Add error for clock stuff.
20504
20505         * gst/gstpipeline.c: (gst_pipeline_change_state),
20506         (gst_pipeline_set_clock):
20507         Post clock error when clock cannot be used in a pipeline.
20508
20509 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
20510
20511         * docs/gst/gstreamer-sections.txt:
20512           make two symbols from gstinfo private for the docs
20513         * gst/base/gstcollectpads.h:
20514         * gst/gstutils.c:
20515           fix doc typos, update docs
20516
20517 2005-11-22  Wim Taymans  <wim@fluendo.com>
20518
20519         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20520         (gst_base_sink_wait), (gst_base_sink_do_sync),
20521         (gst_base_sink_handle_event):
20522         * gst/base/gstbasesink.h:
20523         No need to store the clock, the parent element class already
20524         has it.
20525
20526         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
20527         Updates for clock_set returning a gboolean
20528
20529         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
20530         (gst_clock_id_wait_async), (gst_clock_class_init),
20531         (gst_clock_init), (gst_clock_finalize),
20532         (gst_clock_get_internal_time), (gst_clock_get_time),
20533         (gst_clock_slave_callback), (gst_clock_set_master),
20534         (gst_clock_get_master), (do_linear_regression),
20535         (gst_clock_add_observation), (gst_clock_set_property),
20536         (gst_clock_get_property):
20537         * gst/gstclock.h:
20538         Implement master/slave. When setting a clock as a slave, a
20539         periodic timeout is scheduled to sample master and slave times.
20540         Then the slave clock is recalibrated to match offset and rate
20541         of the master clock.
20542         Update logging a bit.
20543         Add flag so that a clock can state that is cannot be slaved to
20544         another clock.
20545
20546         * gst/gstelement.c: (gst_element_set_clock):
20547         * gst/gstelement.h:
20548         The set clock returns a gboolean for when an element cannot
20549         deal with the selected clock in the pipeline. 
20550
20551         * gst/gstpipeline.c: (gst_pipeline_change_state),
20552         (gst_pipeline_set_clock):
20553         * gst/gstpipeline.h:
20554         Handle the case where the selected clock cannot be set on
20555         the pipeline.
20556
20557         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
20558         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
20559         (gst_net_client_clock_set_property),
20560         (gst_net_client_clock_get_property),
20561         (gst_net_client_clock_observe_times):
20562         * gst/net/gstnetclientclock.h:
20563         Use regression code in GstClock parent, remove duplicated
20564         functionality.
20565
20566 2005-11-22  Michael Smith <msmith@fluendo.com>
20567
20568         * gst/gstutils.c: (gst_util_clock_time_scale):
20569         * gst/gstutils.h:
20570         * docs/gst/gstreamer-sections.txt:
20571           Rename method to have extra underscore.
20572
20573 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20574
20575         * gst/elements/Makefile.am:
20576         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
20577         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
20578         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
20579         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
20580         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
20581         * gst/elements/gstfakesrc.h:
20582         * gst/gstqueue.c: (queue_leaky_get_type):
20583           correctly fix GEnumValues so that nick is the short lowercase
20584           dashed tag
20585         * tools/gst-inspect.c: (print_element_properties_info):
20586           also show the nick, since it's useful to use from parse_launch
20587           syntax
20588           Fixes #322139
20589
20590 2005-11-22  Michael Smith <msmith@fluendo.com>
20591
20592         * gst/gstutils.c: (gst_util_clocktime_scale):
20593         * gst/gstutils.h:
20594         * docs/gst/gstreamer-sections.txt:
20595           Add util method for scaling a clocktime by a fraction. Useful 
20596           implementation is left as an exercise for the reader.
20597
20598 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20599
20600         * gst/gstvalue.c: (gst_value_collect_fraction_range):
20601         If needed, allocate storage in the destination value during
20602         collection.
20603
20604 2005-11-22  Edward Hervey  <edward@fluendo.com>
20605
20606         * docs/gst/gstreamer-sections.txt:
20607         * gst/Makefile.am:
20608         * gst/gst.h:
20609         * gst/gsturitype.c:
20610         * gst/gsturitype.h:
20611         * gst/gstutils.c: (gst_util_set_object_arg):
20612         * tools/gst-compprep.c: (main):
20613         * tools/gst-inspect.c: (print_element_properties_info):
20614         Removed GstURI, closes bug #321061
20615
20616 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20617
20618         * check/gst/gststructure.c: (GST_START_TEST):
20619         * gst/gststructure.c: (gst_structure_parse_value):
20620           Oops, broke automatic string type parsing.
20621           Add a test to catch it in future.
20622
20623 2005-11-22  Andy Wingo  <wingo@pobox.com>
20624
20625         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
20626         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
20627         Actually rename the function implementations. Grr.
20628
20629 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20630
20631         * check/gst/capslist.h:
20632           Comment test cases
20633         * check/gst/gststructure.c: (GST_START_TEST),
20634         (gst_structure_suite):
20635           Test automatic value type detection in gst_structure_from_string.
20636         * gst/gststructure.c: (gst_structure_parse_value):
20637           Add fraction as a type we try and guess automatically in
20638           caps/structure strings.
20639
20640 2005-11-22  Andy Wingo  <wingo@pobox.com>
20641
20642         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
20643
20644         * gst/gsttagsetter.h:
20645         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
20646         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
20647         (gst_tag_setter_add_tag_valist)
20648         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
20649         _add_values, _add_valist, and _add_valist_values. Since this is an
20650         interface the function suffixes should be more explicit so
20651         language binding don't end up with element.add_valist ->
20652         gst_tag_setter_add_valist, for example. Fixes #322069.
20653
20654 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20655
20656         * check/gst/gstcaps.c: (GST_START_TEST):
20657           Extend caps string tests to check that a caps to string
20658           conversion is reversible and produces the same caps.
20659
20660         * gst/gststructure.c: (gst_structure_value_get_generic_type):
20661           Output "fraction" as the generic type fraction range, so caps
20662           serialisation and deserialisation works.
20663         * check/gst/capslist.h:
20664         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20665           Support 'MIN' and 'MAX' for deserialising fractions.
20666
20667 2005-11-22  Andy Wingo  <wingo@pobox.com>
20668
20669         * gst/gstevent.h (gst_event_new_new_segment)
20670         (gst_event_parse_new_segment, gst_event_new_buffer_size)
20671         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
20672         Renamed from *_newsegment, *_buffersize, *_notarget.
20673
20674         * scripts/update-funcnames: New script, performs the changes
20675         listed above.
20676
20677 2005-11-22  Wim Taymans  <wim@fluendo.com>
20678
20679         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20680         Make sure the GstFlowReturn is returned.
20681
20682         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
20683         (gst_bus_add_signal_watch):
20684         * gst/gstbus.h:
20685         add gst_bus_add_signal_watch_full.
20686
20687         * gst/gstplugin.c: (gst_plugin_load_file):
20688         Small style cleanup.
20689
20690 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20691
20692         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
20693           Block the fakesrc srcpad when we send an event, to avoid
20694           contention on the stream_lock causing random test failures.
20695
20696 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20697
20698         * check/gst/gstvalue.c: (GST_START_TEST):
20699         * gst/gstvalue.c: (gst_value_fraction_subtract):
20700           Fix subtraction.
20701
20702 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
20703
20704         * gst/gst.h:
20705           include "gstchildproxy.h"
20706         * gst/gstchildproxy.h:
20707         * libs/gst/controller/gstcontroller.h:
20708           use G_GNUC_NULL_TERMINATED
20709
20710 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
20711
20712         * check/gst/capslist.h:
20713         * check/gst/gstcaps.c: (GST_START_TEST):
20714         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
20715         * gst/gststructure.c: (gst_structure_parse_range),
20716         (gst_structure_fixate_field_nearest_fraction):
20717         * gst/gststructure.h:
20718         * gst/gstvalue.c: (gst_value_init_fraction_range),
20719         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
20720         (gst_value_collect_fraction_range),
20721         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
20722         (gst_value_set_fraction_range_full),
20723         (gst_value_get_fraction_range_min),
20724         (gst_value_get_fraction_range_max),
20725         (gst_value_serialize_fraction_range),
20726         (gst_value_transform_fraction_range_string),
20727         (gst_value_compare_fraction_range),
20728         (gst_value_deserialize_fraction_range),
20729         (gst_value_intersect_fraction_fraction_range),
20730         (gst_value_intersect_fraction_range_fraction_range),
20731         (gst_value_subtract_fraction_fraction_range),
20732         (gst_value_subtract_fraction_range_fraction),
20733         (gst_value_subtract_fraction_range_fraction_range),
20734         (gst_value_collect_fraction), (gst_value_fraction_multiply),
20735         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
20736         (gst_value_transform_string_fraction), (_gst_value_initialize):
20737         * gst/gstvalue.h:
20738           Implement fraction ranges and extend GstFraction to support
20739           arithmetic subtraction, as well as deserialization from integer
20740           strings such as "100"
20741           Add a testsuite as for int and double range set operations
20742
20743 2005-11-21  Andy Wingo  <wingo@pobox.com>
20744
20745         * gst/gsttaglist.h: 
20746         * gst/gstcaps.h: 
20747         * gst/gststructure.h: Add glib-compat.h.
20748
20749 2005-11-21  Wim Taymans  <wim@fluendo.com>
20750
20751         * gst/gstbin.c: (gst_bin_change_state_func):
20752         Fix for #321595
20753
20754 2005-11-21  Wim Taymans  <wim@fluendo.com>
20755
20756         * gst/gstsegment.h:
20757         And add a nice define too.
20758
20759 2005-11-21  Wim Taymans  <wim@fluendo.com>
20760
20761         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
20762         (gst_segment_new), (gst_segment_free), (gst_segment_init),
20763         (gst_segment_set_duration), (gst_segment_set_last_stop),
20764         (gst_segment_set_seek), (gst_segment_set_newsegment),
20765         (gst_segment_to_stream_time), (gst_segment_to_running_time),
20766         (gst_segment_clip):
20767         * gst/gstsegment.h:
20768         Make binding friendly.
20769
20770 2005-11-21  Andy Wingo  <wingo@pobox.com>
20771
20772         * gst/gsttagsetter.h: 
20773         * gst/gsttaglist.h: 
20774         * gst/gststructure.h: 
20775         * gst/gstcaps.h: 
20776         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
20777         #319940.
20778
20779         * gst/gsterror.c (_gst_core_errors_init):
20780         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
20781         category.
20782
20783         * gst/Makefile.am (gst_headers): Add glib-compat.h.
20784         (noinst_HEADERS): noinst the -private.
20785
20786 2005-11-21  Michael Smith <msmith@fluendo.com>
20787
20788         * gst/gstplugin.h:
20789         * gst/gstregistry.h:
20790           Remove unimplemented declarations for which we can see no sensible
20791           use.
20792
20793 2005-11-21  Andy Wingo  <wingo@pobox.com>
20794
20795         * gst/gst.h: Include glib-compat.h.
20796
20797         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
20798
20799         * gst/glib-compat.c: Include the public and the private header.
20800
20801         * gst/glib-compat-private.h: Copied here from glib-compat.h.
20802
20803         * gst/gstvalue.c: 
20804         * gst/gstpad.c: 
20805         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
20806
20807         * check/gst/gstevent.c (create_custom_events): Check that
20808         FLUSH_STOP is serialized.
20809
20810         * check/elements/identity.c (event_func): 
20811         * check/elements/fakesrc.c (event_func): No stream lock, the core
20812         takes it.
20813
20814         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
20815         stream lock taking, yay.
20816
20817         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
20818         ensure that core takes the stream lock.
20819
20820         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
20821         lock name change.
20822
20823         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
20824         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
20825         it already. For the flush start we do take it though so we get the
20826         right preroll state change messages.
20827
20828         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
20829         the stream lock here, the core does it for us.
20830
20831         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
20832         GST_STREAM_GET_LOCK.
20833         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
20834         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
20835         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
20836         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
20837         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
20838         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
20839
20840         * gst/gstpad.c: Update for stream lock name change.
20841
20842         * gst/base/gstbasesink.c: Update for preroll lock name change.
20843
20844 2005-11-21  Wim Taymans  <wim@fluendo.com>
20845
20846         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
20847         (gst_clock_get_master):
20848         * gst/gstclock.h:
20849         * gst/gstsystemclock.c: (gst_system_clock_init):
20850         Convert Clock flags to object flags.
20851         Added methods to manage master/slave clocks.
20852
20853 2005-11-21  Wim Taymans  <wim@fluendo.com>
20854
20855         * check/gst/gstsegment.c: (GST_START_TEST):
20856         * docs/design/part-TODO.txt:
20857         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20858         (gst_base_sink_event), (gst_base_sink_do_sync),
20859         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
20860         (gst_base_sink_query), (gst_base_sink_change_state):
20861         * gst/base/gstbasesink.h:
20862         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20863         (gst_base_src_default_newsegment),
20864         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20865         (gst_base_src_get_range), (gst_base_src_loop),
20866         (gst_base_src_change_state):
20867         * gst/base/gstbasesrc.h:
20868         * gst/base/gstbasetransform.c:
20869         (gst_base_transform_prepare_output_buf),
20870         (gst_base_transform_event), (gst_base_transform_change_state):
20871         * gst/base/gstbasetransform.h:
20872         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
20873         (gst_collect_pads_event):
20874         * gst/base/gstcollectpads.h:
20875         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
20876         (gst_fake_src_create):
20877         * gst/elements/gstfakesrc.h:
20878         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20879         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
20880         (gst_segment_set_last_stop), (gst_segment_set_seek),
20881         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
20882         (gst_segment_to_running_time), (gst_segment_clip):
20883         * gst/gstsegment.h:
20884         More segment updates, replace code in plugins with segment
20885         helper functions.
20886
20887 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20888
20889         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
20890         Don't ignore sscanf results
20891
20892 2005-11-21  Andy Wingo  <wingo@pobox.com>
20893
20894         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
20895
20896         * *.h:
20897         * *.c: Ran scripts/update-macros. Oh yes.
20898
20899         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
20900         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
20901         GST_GET_LOCK, etc.
20902
20903         * scripts/update-macros: New script. Run it on your files to
20904         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
20905         well.
20906
20907 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20908
20909         * docs/gst/Makefile.am:
20910         * docs/gst/gstreamer-docs.sgml:
20911         * docs/gst/gstreamer-sections.txt:
20912         * docs/gst/gstreamer.types:
20913         * gst/gstinfo.h:
20914           more docs fixes, add new api to the docs
20915
20916 2005-11-21  Andy Wingo  <wingo@pobox.com>
20917
20918         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
20919         state_broadcast call.
20920
20921         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
20922
20923 2005-11-21  Julien MOUTTE  <julien@moutte.net>
20924
20925         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
20926         function calls for arrays.
20927
20928 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
20929
20930         * docs/random/ensonic/media-device-daemon.txt:
20931           wild idea, can this be done?
20932         * docs/gst/gstreamer-sections.txt:
20933         * gst/gsterror.h:
20934         * gst/gstfilter.c:
20935         * gst/gstfilter.h:
20936         * gst/gstplugin.h:
20937         * gst/gstpluginfeature.c:
20938         * gst/gsttrace.c:
20939         * gst/gstvalue.c:
20940         * gst/gstvalue.h:
20941           doc fixes and additions
20942
20943 2005-11-21  Andy Wingo  <wingo@pobox.com>
20944
20945         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
20946         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
20947         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
20948         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
20949         private to the basesrc implementation.
20950
20951         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
20952         behalf of event function if necessary. It should no longer be
20953         necessary to take the stream lock in pad's event functions. Fixes
20954         #320299.
20955
20956 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20957         * docs/gst/gstreamer-sections.txt:
20958         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
20959         (gst_structure_fixate_field_nearest_double),
20960         (gst_structure_fixate_field_boolean):
20961         * gst/gststructure.h:
20962         * win32/common/libgstreamer.def:
20963         * win32/gstreamer.def:
20964
20965         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
20966         (#322027)
20967
20968 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
20969
20970         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
20971         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
20972         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
20973         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
20974         (gst_fdsrc_uri_handler_init):
20975         * gst/elements/gstfdsrc.h:
20976           Port fd:// URI handler from 0.8 to fdsrc
20977
20978 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20979
20980         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
20981         (gst_value_serialize_fourcc):
20982         * gst/gstvalue.h:
20983           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
20984           consistent with our other format defines (#320324).
20985
20986 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
20987
20988         * gst/gstvalue.c: (gst_value_is_fixed):
20989           Revert previous commit. Value lists are by definition
20990           not fixed, as they are a list of possible values.
20991
20992 2005-11-21  Andy Wingo  <wingo@pobox.com>
20993
20994         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
20995         during the stable series if we need it. Fixes #319178.
20996
20997         * gst/gstevent.c (gst_event_new_filler): Removed.
20998
20999         * check/gst/gstevent.c: Update comment about filler events.
21000
21001 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21002
21003         * gst/gstvalue.c: (gst_value_is_fixed):
21004           Should handle both value arrays and value lists.
21005
21006 2005-11-21  Andy Wingo  <wingo@pobox.com>
21007
21008         patch by: Alessandro Dessina <alessandro nnva org>
21009
21010         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
21011         functions to access arrays. Fixes #321962.
21012
21013 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21014
21015         * docs/gst/gstreamer.types:
21016           gst_collectpads_get_type => gst_collect_pads_get_type.
21017           
21018         * gst/base/gstbasetransform.c:
21019           Remove unused SIGNAL_HANDOFF enum.
21020
21021 2005-11-21  Andy Wingo  <wingo@pobox.com>
21022
21023         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
21024         the event type (upstream, downstream, serialized). Renamed
21025         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
21026         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
21027         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
21028
21029         * gst/gstevent.c: Update for new CUSTOM event names.
21030
21031         * check/gst/gstevent.c: Update check for new CUSTOM event names.
21032
21033         * gst/gstevent.h:
21034         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
21035         bug #319392.
21036
21037 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21038
21039         * docs/gst/gstreamer-sections.txt:
21040         * win32/common/libgstbase.def:
21041         * win32/libgstbase.def:
21042         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
21043         (gst_collect_pads_class_init), (gst_collect_pads_init),
21044         (gst_collect_pads_finalize), (gst_collect_pads_new),
21045         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
21046         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
21047         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
21048         (gst_collect_pads_start), (gst_collect_pads_stop),
21049         (gst_collect_pads_peek), (gst_collect_pads_pop),
21050         (gst_collect_pads_available), (gst_collect_pads_read),
21051         (gst_collect_pads_flush), (gst_collect_pads_event),
21052         (gst_collect_pads_chain):
21053         * gst/base/gstcollectpads.h:
21054           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
21055           unimplemented functions as unimplemented. Add padding to
21056           GstCollectData. (#320766, #320423)
21057
21058 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
21059
21060         * gst/gstmessage.c:
21061           Improve docs for DURATION message (usage of duration parameter)
21062           (#320113)
21063
21064 2005-11-20  Wim Taymans  <wim@fluendo.com>
21065
21066         * check/Makefile.am:
21067         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
21068         (main):
21069         * gst/Makefile.am:
21070         * gst/gst.h:
21071         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
21072         (gst_segment_set_seek), (gst_segment_set_newsegment),
21073         (gst_segment_to_stream_time), (gst_segment_to_running_time),
21074         (gst_segment_clip):
21075         * gst/gstsegment.h:
21076         Added segment helper structure and methods. Not fully implemented
21077         yet.
21078         Added segment check.
21079
21080 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
21081
21082         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21083           Add a deserialisation test for fractions
21084         * examples/metadata/read-metadata.c: (message_loop),
21085         (make_pipeline), (main):
21086           Fix up metadata reading sample.
21087         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21088           Debug format fix
21089         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21090           Don't try and fixate empty caps
21091         * gst/gst_private.h:
21092           Wrap in G_BEGIN_DECLS/G_END_DECLS
21093         * gst/gstvalue.c: (gst_value_collect_fraction),
21094         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
21095         (gst_value_transform_string_fraction),
21096         (gst_value_compare_fraction):
21097           Add some extra guards to ensure that we don't end up 
21098           with an invalid denominator of 0 in a gstfraction and
21099           that fractions always get reduced.
21100
21101 2005-11-20  Wim Taymans  <wim@fluendo.com>
21102
21103         * docs/gst/gstreamer-sections.txt:
21104         * gst/gstbuffer.h:
21105         * gst/gstelement.c:
21106         * gst/gstformat.c:
21107         * gst/gstformat.h:
21108         * gst/gstindex.h:
21109         * gst/gstquery.c:
21110         * gst/gstquery.h:
21111         * gst/gstvalue.c:
21112         Doc fixes.
21113
21114 2005-11-20  Wim Taymans  <wim@fluendo.com>
21115
21116         * docs/design/part-TODO.txt:
21117         * gst/gstcaps.h:
21118         Make a proper enum of the flag.
21119
21120 2005-11-19  Wim Taymans  <wim@fluendo.com>
21121
21122         * docs/design/part-TODO.txt:
21123         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
21124         (gst_format_to_quark), (gst_format_register):
21125         * gst/gstformat.h:
21126         * gst/gstquery.c: (_gst_query_initialize),
21127         (gst_query_type_get_name), (gst_query_type_to_quark),
21128         (gst_query_type_register):
21129         * gst/gstquery.h:
21130         Add type to quark and type to string conversions.
21131
21132 2005-11-19  Andy Wingo  <wingo@pobox.com>
21133
21134         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
21135         #320097.
21136
21137 2005-11-19  Wim Taymans  <wim@fluendo.com>
21138
21139         * docs/design/part-TODO.txt:
21140         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21141         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
21142         (gst_bin_handle_message_func):
21143         * gst/gstbin.h:
21144         Make message handling overridable.
21145
21146 2005-11-19  Andy Wingo  <wingo@pobox.com>
21147
21148         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
21149
21150         * gst/gstclock.h:
21151         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
21152         be a GstClockTime.
21153         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
21154         is a GstClockTime. Fixes #321710.
21155
21156         * gst/gstclock.h (GstClock): Remove offset property. Add
21157         internal_calibration and external_calibration. Fix padding. Pad
21158         also by GstClockTime so we don't run into problems.
21159
21160         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
21161         (gst_clock_get_rate_offset): Remove.
21162         (gst_clock_set_time_adjust): Remove. Fixes #321712.
21163
21164         * gst/gstutils.h:
21165         * gst/gstutils.c (g_static_rec_cond_wait)
21166         (g_static_rec_cond_timed_wait): Removed, no longer needed.
21167
21168         * gst/gstbin.c: Remove terrible continue_state prototype.
21169
21170         * gst/gstelement.h (gst_element_continue_state): Make public.
21171
21172         * gst/gstelement.h:
21173         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
21174         by continue_state. Fixes #319389.
21175
21176         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
21177         Really fixes #168438. However I don't see anywhere where the
21178         filter function is called... stupid GStreamer...
21179         
21180         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
21181         don't have a dispose function, so it won't get called when the
21182         object is unreffed, but oh well!
21183
21184         * gst/gstindex.c (gst_index_set_filter_full): New API function,
21185         allows a destroy function to be set so user_data can be freed.
21186         Fixes #168438.
21187         (gst_index_set_filter): Call gst_index_set_filter_full.
21188
21189         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
21190
21191         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
21192         string should produce an error, given the lack of a way to
21193         represent NULL strings. Fixes #165650.
21194         
21195         * gst/gstvalue.h: 
21196         * gst/gstvalue.c (gst_value_array_append_value) 
21197         (gst_value_array_prepend_value, gst_value_array_get_size) 
21198         (gst_value_array_get_value): New API, copied from
21199         gst_value_list_*, only operates on arrays.
21200         (gst_value_list_append_value, gst_value_list_prepend_value) 
21201         (gst_value_list_concat, gst_value_list_get_size) 
21202         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
21203
21204         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
21205         init_list, because it works on both.
21206         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21207         (gst_value_copy_list_or_array): Renamed from copy_list.
21208         (gst_value_free_list_or_array): Renamed from free_list.
21209         (gst_value_collect_list_or_array): Renamed from collect_list.
21210         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
21211         (gst_value_list_or_array_peek_pointer): Renamed from
21212         list_peek_pointer.
21213         (_gst_value_array_value_table, _gst_value_list_value_table):
21214         Update value table functions.
21215         (gst_value_compare_list_or_array): Renamed from compare_list.
21216
21217         * gsttaglist.h: Whoops, foreach function returns void. Also fix
21218         some constness.
21219
21220         * gst/gsttaglist.c:
21221         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
21222         GstTagList*. Fixes #143472.
21223
21224         * gst/gststructure.h: Clarify what the foreach/map functions can
21225         or can't do to their arguments.
21226
21227 2005-11-18  Wim Taymans  <wim@fluendo.com>
21228
21229         * gst/gstclock.c: (gst_clock_set_calibration),
21230         (gst_clock_get_calibration):
21231         Doc and API fixes.
21232         Calibration can be set with internal time equal to current
21233         internal time too.
21234
21235 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21236
21237         * gst/gsterror.c:
21238         * gst/gsterror.h:
21239           document
21240
21241 2005-11-18  Andy Wingo  <wingo@pobox.com>
21242
21243         * configure.ac: 
21244         * pkgconfig/gstreamer-net.pc.in:
21245         * pkgconfig/gstreamer-net-uninstalled.pc.in:
21246         * pkgconfig/Makefile.am: Add net pkgconfig files.
21247
21248 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
21249
21250         * gst/gstcaps.c:
21251         * gst/gstghostpad.c:
21252         * gst/gsttrace.c:
21253         * gst/gstvalue.c:
21254         * gst/gstvalue.h:
21255           docs fixes
21256
21257 2005-11-18  Andy Wingo  <wingo@pobox.com>
21258
21259         * gst/net/gstnetclientclock.c: Turn off debugging.
21260
21261         * check/net/gstnetclientclock.c (test_functioning): Assert that the
21262         times connverge somewhat. Can't make a real test.
21263
21264         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
21265         integer arithmetic. Return the minimum of the domain, which can be
21266         set as "internal" for gst_clock_set_calibration.
21267         (gst_net_client_clock_observe_times): Call _set_calibration.
21268         (gst_net_client_clock_new): Call _set_calibration instead of
21269         rate_offset.
21270
21271         * check/net/gstnetclientclock.c (test_functioning): Use the right
21272         adjustment api.
21273
21274         * gst/gstclock.h:
21275         * gst/gstclock.c (gst_clock_get_calibration) 
21276         (gst_clock_set_calibration): New functions, obsolete the ones I
21277         added yesterday. Doh. Precision issues mean we have to extrapolate
21278         from a point in the more recent past than 1970.
21279         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
21280         obsolete.
21281         (gst_clock_adjust_unlocked): Use the right calibration data.
21282
21283 2005-11-18  Edward Hervey  <edward@fluendo.com>
21284
21285         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
21286         Also reset the ->current_* values in READY->PAUSED
21287
21288 2005-11-18  Andy Wingo  <wingo@pobox.com>
21289
21290         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
21291         Whoops, check the right fd. Also add some debugging.
21292         (gst_net_client_clock_observe_times): Adjust for int64 offset.
21293         (do_linear_regression): Add a crapload of debugging. Subtract off
21294         the minimum values from the input series to discard unneeded bits.
21295         Use only int arithmetic. There is still double arithmetic when
21296         calculating the intercept that needs fixing. Return boolean to
21297         indicate success; FALSE would mean the domain or range is too
21298         great. Still needs fixes.
21299
21300 2005-11-18  Wim Taymans  <wim@fluendo.com>
21301
21302         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
21303         For the current position in stream time, we need to subtract
21304         accumulated time.
21305         
21306         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21307         Release lock before calling the callback function of async
21308         entries.
21309
21310 2005-11-18  Andy Wingo  <wingo@pobox.com>
21311
21312         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
21313         Port goes all the way to MAXUINT16.
21314
21315         * gst/net/gstnettimeprovider.c: Make the port range the same as
21316         for the kernel: 0 assigns, otherwise ports are less than
21317         MAXUINT16.
21318
21319         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
21320         port change.
21321
21322         * check/net/gstnetclientclock.c (test_functioning): Add the start
21323         of another test. 
21324
21325 2005-11-18  Wim Taymans  <wim@fluendo.com>
21326
21327         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21328         (gst_bin_remove_func), (bin_bus_handler):
21329         * gst/gstbin.h:
21330         Removing a clock provider from a bin, triggers a clock lost message
21331         so that a new clock will be selected.
21332         Adding a clock to a bin triggers a clock provider message.
21333         Make sure we reselect a clock when we received a clock lost message.
21334         Keep a reference to the element that provided the clock.
21335
21336 2005-11-18  Andy Wingo  <wingo@pobox.com>
21337
21338         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
21339         the clock initially so it produces values around the base time.
21340         (gst_net_client_clock_class_init): Typo fix.
21341         (gst_net_client_clock_thread): Add note on when the socket gets
21342         closed.
21343
21344 2005-11-17  Wim Taymans  <wim@fluendo.com>
21345
21346         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
21347         Free remote and local time arrays.
21348
21349 2005-11-17  Wim Taymans  <wim@fluendo.com>
21350
21351         * gst/net/gstnetclientclock.c: (do_linear_regression),
21352         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
21353         Fix compilation, uninitialized vars and a forgotten continue.
21354
21355 2005-11-17  Andy Wingo  <wingo@pobox.com>
21356
21357         * check/Makefile.am (check_PROGRAMS): 
21358         * check/net/gstnetclientclock.c: Add a most minimal test for the
21359         net client clock. More to come later.
21360
21361         * gst/net/gstnet.h: 
21362         * gst/net/Makefile.am: Add netclientclock.
21363
21364         * gst/net/gstnetclientclock.h:
21365         * gst/net/gstnetclientclock.c: New files, implement an untested
21366         GstClock that takes its time from a network time provider.
21367         Implements the algorithm in network-clock.scm.
21368
21369         * tests/network-clock.scm (*window-size*): Rename from
21370         *queue-length*.
21371         * tests/network-clock.scm (network-time): 
21372         * tests/network-clock-utils.scm (q-push): Update callers.
21373
21374 2005-11-17  Wim Taymans  <wim@fluendo.com>
21375
21376         * gst/gstbin.c: (gst_bin_provide_clock_func),
21377         (gst_bin_sort_iterator_new):
21378         And unref the child too..
21379
21380 2005-11-17  Wim Taymans  <wim@fluendo.com>
21381
21382         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
21383         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
21384         Refactor the sort iterator so it can be used while holding the
21385         LOCK too.
21386         Make clock selection select a clock closest to the source.
21387
21388 2005-11-17  Michael Smith <msmith@fluendo.com>
21389
21390         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
21391         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
21392         * gst/gstclock.h:
21393           Anonymous structs are a gcc (and some other compilers) extension, so
21394           don't use them. Since this is only for ABI-compatibility, and our
21395           API/ABI freeze is over in a few days, this whole thing will only
21396           last a few days, so don't bother trying to think up a meaningful
21397           name for the struct.
21398
21399 2005-11-17  Andy Wingo  <wingo@pobox.com>
21400
21401         * gst/gstclock.h (GstClock): Add rate and offset properties,
21402         preserving ABI stability. Add rate/offset accessors. Will file bug
21403         for the freeze break.
21404
21405         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
21406         and offset, trying to keep precision and avoiding
21407         underflow/overflow.
21408         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
21409         functions. Make gst_clock_set_time_adjust obsolete.
21410         (gst_clock_set_time_adjust): Note that this function is obsolete.
21411         Will file bug soon.
21412
21413         * gst/base/gstbasetransform.h: Make the ABI-stability hack
21414         greppable by using GST_PADDING-1+1.
21415
21416 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
21417
21418         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21419
21420         * gst/gstmessage.c: (gst_message_parse_clock_lost):
21421           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
21422
21423         * gst/gstpadtemplate.h:
21424         * gst/gstpluginfeature.h:
21425           Don't use c++ style comments in headers (#321638).
21426
21427 2005-11-16  Andy Wingo  <wingo@pobox.com>
21428
21429         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
21430         buffer.
21431
21432         * check/net/gstnettimeprovider.c: Check to see that the time
21433         provider actually provides times. Works, yo!
21434
21435 2005-11-16  Wim Taymans  <wim@fluendo.com>
21436
21437         * check/Makefile.am:
21438         Enable more tests.
21439
21440         * check/elements/fakesrc.c: (GST_START_TEST):
21441         Set element to NULL before disposing it.
21442
21443 2005-11-16  Andy Wingo  <wingo@pobox.com>
21444
21445         * gst/net/Makefile.am:
21446         * gst/net/gstnet.h:
21447         * gst/net/gstnettimeprovider.c: 
21448         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
21449         provider, include it from gstnet.h, and add it to the build.
21450
21451         * gst/net/gstnettimepacket.h: 
21452         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
21453         sending and receiving.
21454
21455 2005-11-16  Wim Taymans  <wim@fluendo.com>
21456
21457         * check/Makefile.am:
21458         Enable valgrind check.
21459
21460         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
21461         (gst_fake_src_alloc_buffer):
21462         Fix memleak.
21463
21464 2005-11-16  Wim Taymans  <wim@fluendo.com>
21465
21466         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
21467         Call parent finalize too.
21468
21469 2005-11-16  Wim Taymans  <wim@fluendo.com>
21470
21471         * check/Makefile.am:
21472         Enable valgrind check that should work fine now.
21473
21474         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21475         * gst/gstqueue.c: (gst_queue_init):
21476         Fix memleaks in pad allocation.
21477
21478 2005-11-16  Andy Wingo  <wingo@pobox.com>
21479
21480         * gst/net/Makefile.am:
21481         * gst/net/gstnet.h: New part of core to hold network elements and
21482         objects. Put in core because it exposes API that applications want
21483         to use. The library is named libgstnet-tempname right now because
21484         of the existing libgstnet in gst-plugins-base. Solution is
21485         probably to rename the one in plugins-base; will file a bug for
21486         the freeze break.
21487
21488         * gst/net/gstnettimeprovider.c: 
21489         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
21490         get_time call over the network.
21491
21492         * configure.ac: 
21493         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
21494
21495         * check/Makefile.am:
21496         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
21497         get additions shortly.
21498
21499 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21500
21501         * gst/gstpad.c: (gst_pad_new_from_static_template):
21502         * gst/gstpad.h:
21503           add gst_pad_new_from_static_template functions
21504         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
21505         (gst_check_setup_sink_pad):
21506         * gst/elements/gsttee.c: (gst_tee_init):
21507           and use them
21508
21509 2005-11-16  Wim Taymans  <wim@fluendo.com>
21510
21511         * gst/gstpad.c: (gst_pad_pause_task):
21512         Removed warning, it's not really an error either.
21513
21514 2005-11-16  Wim Taymans  <wim@fluendo.com>
21515
21516         * gst/base/gstbasetransform.c:
21517         (gst_base_transform_prepare_output_buf),
21518         (gst_base_transform_event):
21519         Check if the caps are NULL, this can happen if the element
21520         is shutting down and the pad caps are set to NULL.
21521
21522 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21523
21524         * gst/elements/gsttee.c: (gst_tee_init):
21525           fix pad template leak in tee
21526
21527 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21528
21529         * gst/glib-compat.c: (g_value_dup_gst_object):
21530         * gst/glib-compat.h:
21531         * gst/gstpad.c: (gst_pad_set_property):
21532           use gst_object_ref when setting the pad template; this will
21533           trigger the pad template leaks on GLib 2.6 and the slaves
21534
21535 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21536
21537         * gst/glib-compat.c: (gst_flags_get_first_value):
21538         * gst/glib-compat.h:
21539         * gst/gstregistryxml.c:
21540           remove functions copied from GLib 2.6
21541
21542 2005-11-16  Michael Smith <msmith@fluendo.com>
21543
21544         * gst/Makefile.am:
21545           Don't link against VALGRIND_LIBS. That was always the wrong thing to
21546           do, but only breaks with newer valgrind versions. We're not a
21547           valgrind tool, we have no link-time dependencies on libcoregrind.
21548
21549 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21550
21551         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
21552           some debug changes
21553         * gst/gstmessage.h:
21554           typo fixes
21555
21556 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21557
21558         * gst/base/gstbasesrc.c: (gst_base_src_init):
21559         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21560         * gst/gstqueue.c: (gst_queue_init):
21561         * gst/gstregistryxml.c: (load_feature):
21562           Revert all these unrefs, they don't even pass make check !
21563
21564 2005-11-15  Johan Dahlin  <johan@gnome.org>
21565
21566         * gst/base/gstbasesrc.c: (gst_base_src_init):
21567         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21568         * gst/gstqueue.c: (gst_queue_init): 
21569         Free pad templates, fixes a couple of leaks.
21570
21571 2005-11-15  Daniel Fischer  <dan at f3c dot com>
21572
21573         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21574
21575         * gst/gstpad.c: (gst_pad_get_property):
21576           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
21577           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
21578           (#321452)
21579
21580 2005-11-15  Wim Taymans  <wim@fluendo.com>
21581
21582         * gst/gstevent.c:
21583         Small doc update.
21584
21585 2005-11-15  Andy Wingo  <wingo@pobox.com>
21586
21587         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
21588
21589         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
21590         using GST_CLOCK_TIME_NONE to disable base time management.
21591         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
21592         time if it was NONE before.
21593         (gst_pipeline_change_state): Only munge the base time if
21594         stream_time != GST_CLOCK_TIME_NONE.
21595
21596         * check/gst/gstpipeline.c (test_base_time): Punt around the
21597         problem of the probe not being called, because that's not the
21598         issue I'm looking at. Add a check that setting stream_time to NONE
21599         disables base time management.
21600         
21601 2005-11-15  Wim Taymans  <wim@fluendo.com>
21602
21603         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21604         segment_stop == -1 at startup.
21605
21606         * gst/base/gstbasetransform.c: (gst_base_transform_event),
21607         (gst_base_transform_change_state):
21608         Init segment values at start.
21609
21610 2005-11-15  Wim Taymans  <wim@fluendo.com>
21611
21612         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21613         0 segment values are 0 in any format.
21614
21615         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21616         * gst/base/gstbasetransform.h:
21617         Parse newsegment correctly in basetransform
21618
21619         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
21620         Sync to clock using updated segment values.
21621
21622 2005-11-15  Andy Wingo  <wingo@pobox.com>
21623
21624         * check/gst/gstpipeline.c (test_base_time): Add check that the
21625         base time and stream time are reset correctly.
21626
21627 2005-11-15  Wim Taymans  <wim@fluendo.com>
21628
21629         * docs/design/part-TODO.txt:
21630         Some more TODO items.
21631
21632 2005-11-15  Andy Wingo  <wingo@pobox.com>
21633
21634         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
21635         error if the user selected "no clock" as the clocking method.
21636
21637         * check/gst/gstpipeline.c (test_base_time): New test for buffer
21638         timestamps with live capture.
21639
21640         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
21641         is 0 but we are a live source, timestamp the buffers using the
21642         element's clock.
21643
21644 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
21645
21646         * docs/gst/gstreamer-sections.txt:
21647         * gst/gsterror.c:
21648         * gst/gstghostpad.c:
21649         * gst/gstobject.h:
21650         * gst/gstxml.c:
21651           more section docs
21652
21653 2005-11-14  Wim Taymans  <wim@fluendo.com>
21654
21655         * common/gst.supp:
21656           add suppressions from Wim's Debian machine
21657
21658 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
21659
21660         * common/gst.supp:
21661           add suppressions from Andy's AMD64 Ubuntu machine
21662
21663 2005-11-14  Andy Wingo  <wingo@pobox.com>
21664
21665         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
21666         STATE_LOCK not necessary. Fixes #311489.
21667
21668         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
21669         #305291.
21670
21671         * gst/gstindex.c (gst_index_add_object): Note in the docs that
21672         this function is not implemented.
21673
21674 2005-11-14  Julien MOUTTE  <julien@moutte.net>
21675
21676         * gst/base/gstbasetransform.c:
21677         (gst_base_transform_prepare_output_buf):
21678         Ref the source pad caps while we need them.
21679         Fixes (#321386)
21680
21681 2005-11-11  Wim Taymans  <wim@fluendo.com>
21682
21683         * docs/gst/gstreamer-sections.txt:
21684         Added some docs for GstCollectData.
21685
21686         * gst/base/gstadapter.c:
21687         Some small code example fix.
21688
21689         * gst/base/gstcollectpads.c:
21690         * gst/base/gstcollectpads.h:
21691         Document some more.
21692
21693 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21694
21695         * configure.ac: back to HEAD
21696
21697 === release 0.9.5 ===
21698
21699 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
21700
21701         * configure.ac:
21702           releasing 0.9.5, "Bike Lunch Day"
21703
21704 2005-11-11  Wim Taymans  <wim@fluendo.com>
21705
21706         * gst/gstbuffer.c: (_gst_buffer_copy):
21707         Copy more flags.
21708
21709         * gst/gstcaps.c: (gst_caps_is_equal):
21710         Fix some docs.
21711         Make _is_equal fast in the trivial cases.
21712
21713         * gst/gstminiobject.c:
21714         * gst/gstminiobject.h:
21715         More docs. Spifify .h file.
21716
21717         * gst/gstutils.c:
21718         Small doc update.
21719
21720 2005-11-11  Wim Taymans  <wim@fluendo.com>
21721
21722         * gst/base/gstbasetransform.c:
21723         (gst_base_transform_prepare_output_buf),
21724         (gst_base_transform_handle_buffer):
21725         Small cleanups.
21726         If we're processing a buffer and need to allocate an output
21727         buffer, we cannot accept a format change. If we did get a 
21728         format change, we have to alloc a buffer ourselves of the 
21729         right size.
21730
21731 2005-11-11  Wim Taymans  <wim@fluendo.com>
21732
21733         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
21734         While checking the flag for reentrancy in the gstcaps function
21735         is nice to detect recursive invocations, it also makes it 
21736         impossible to call getcaps from multiple threads, which must be
21737         possible. So, checking for recursive calls has to go.
21738
21739 2005-11-11  Michael Smith <msmith@fluendo.com>
21740
21741         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21742           Don't sync on buffers that fall partially outside our current
21743           segment. Prevents an assertion failure/abort playing some files.
21744
21745 2005-11-10  Andy Wingo  <wingo@pobox.com>
21746
21747         * check/gst/gstbin.c (test_message_state_changed_children): Style
21748         fix..
21749
21750         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
21751         gst_bus_poll with the signal watch. Ensures that poll and a signal
21752         watch see the same messages.
21753
21754         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
21755         a poll and a watch at the same time get the same messages.
21756
21757 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21758
21759         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
21760         * gst/gstcaps.c: (gst_caps_intersect):
21761           Don't call gst_caps_do_simplify - it doesn't respect order of caps
21762           and it's not needed.
21763
21764 2005-11-10  Wim Taymans  <wim@fluendo.com>
21765
21766         * docs/design/part-TODO.txt:
21767         Updated todo.
21768
21769 2005-11-10  Wim Taymans  <wim@fluendo.com>
21770
21771         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21772         * gst/base/gstbasesrc.c: (gst_base_src_wait),
21773         (gst_base_src_do_sync), (gst_base_src_get_range):
21774         Implement clock sync in base class.
21775
21776 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21777
21778         patch by: Tim-Philipp Müller <tim at centricular dot net>
21779
21780         * gst/gststructure.c: (gst_structure_parse_field),
21781         (gst_structure_from_string):
21782           Forward-port a 0.8 patch to handle escaped spaces in structure string,
21783           so that gst_parse_launch() can deal with spaces in filtered link
21784           caps (fixes #164479)
21785         * check/gst/capslist.h:
21786         * check/gst/gststructure.c: (GST_START_TEST):
21787           add unit tests for this change
21788
21789 2005-11-10  Wim Taymans  <wim@fluendo.com>
21790
21791         * docs/gst/gstreamer-sections.txt:
21792         * gst/gstelement.c:
21793         * gst/gstelement.h:
21794         Fix docs, move some STATE macros to private.
21795
21796 2005-11-10  Wim Taymans  <wim@fluendo.com>
21797
21798         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21799         Added check for bug #317341
21800
21801         * gst/gstbuffer.c:
21802         * gst/gstbuffer.h:
21803         Some more spiffifying.
21804
21805         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
21806         Call peer linkfunction if we are a source pad. Totally fixes
21807         #317341
21808
21809         * gst/gstpad.c:
21810         Update docs, source pads should call the peer linkfunction
21811         so they can atomically perform the pad link.
21812
21813 2005-11-09  Wim Taymans  <wim@fluendo.com>
21814
21815         * gst/gstbuffer.c:
21816         * gst/gstbuffer.h:
21817         Uber-spiffy-spiffify some more.
21818
21819 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
21820
21821         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
21822         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21823         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
21824         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
21825         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
21826         * gst/gstpad.c: (gst_pad_init):
21827           Use GST_DEBUG_FUNCPTR() more extensively.
21828
21829 2005-11-09  Wim Taymans  <wim@fluendo.com>
21830
21831         * gst/gstobject.c: (gst_object_class_init):
21832         * gst/gstobject.h:
21833         Documentation fixes.
21834
21835 2005-11-09  Edward Hervey  <edward@fluendo.com>
21836
21837         * gst/gsttypefindfactory.c:
21838         Fix docs.
21839         
21840 2005-11-09  Edward Hervey  <edward@fluendo.com>
21841
21842         * gst/base/gsttypefindhelper.c:
21843         * gst/gsttypefind.c:
21844         * gst/gsttypefind.h:
21845         Fix docs.
21846
21847 2005-11-09  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/gstiterator.c:
21850         Fix revision data.
21851
21852         * gst/gsttask.c:
21853         * gst/gsttask.h:
21854         Fix docs.
21855
21856 2005-11-09  Wim Taymans  <wim@fluendo.com>
21857
21858         * gst/gstevent.h:
21859         * gst/gsturi.h:
21860         Fix docs.
21861
21862 2005-11-09  Wim Taymans  <wim@fluendo.com>
21863
21864         * docs/gst/gstreamer-sections.txt:
21865         Moved the message async delivery private lock and cond
21866         to the private section.
21867
21868         * gst/gstmessage.c:
21869         * gst/gstmessage.h:
21870         Fixed docs.
21871
21872 2005-11-09  Edward Hervey  <edward@fluendo.com>
21873
21874         * docs/gst/gstreamer-sections.txt:
21875         * gst/gsturi.c:
21876         * gst/gsturi.h:
21877         Document GstURIHandler
21878
21879 2005-11-09  Wim Taymans  <wim@fluendo.com>
21880
21881         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
21882         (gst_iterator_find_custom):
21883         * gst/gstiterator.h:
21884         Fix iterator docs.
21885
21886 2005-11-09  Wim Taymans  <wim@fluendo.com>
21887
21888         * gst/gstbin.h:
21889         Document another field.
21890
21891         * gst/gststructure.c:
21892         * gst/gststructure.h:
21893         Document.
21894
21895 2005-11-09  Wim Taymans  <wim@fluendo.com>
21896
21897         * gst/gstbin.h:
21898         Documented structs.
21899
21900 2005-11-09  Wim Taymans  <wim@fluendo.com>
21901
21902         * docs/gst/gstreamer-sections.txt:
21903         Added some new macros.
21904
21905         * gst/gstclock.c:
21906         * gst/gstclock.h:
21907         * gst/gstobject.h:
21908         Docs updates.
21909
21910 2005-11-09  Wim Taymans  <wim@fluendo.com>
21911
21912         * docs/design/part-TODO.txt:
21913         Some more items for the TODO
21914
21915         * gst/gstcaps.c:
21916         * gst/gstcaps.h:
21917         Document GstCaps.
21918
21919 2005-11-09  Andy Wingo  <wingo@pobox.com>
21920
21921         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
21922         to work on something else now tho...
21923
21924         * gst/base/gstadapter.c: More adapter docs.
21925
21926         * gst/elements/gstfilesink.c (gst_file_sink_start) 
21927         (gst_file_sink_stop): New functions, replace the state change
21928         handler.
21929         (gst_file_sink_class_init): Hook up the start and stop functions.
21930         (gst_file_sink_base_init): Don't set the state change handler any
21931         more. It was a bit ugly too, being set from here...
21932         (gst_file_sink_get_property, gst_file_sink_set_property):
21933         Cleanups...
21934         (gst_file_sink_set_location): More robust check that doesn't call
21935         GST_STATE. Ugggggg.
21936
21937 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
21938
21939         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21940           Hold STREAM_LOCK while pushing newsegment or tag events as well.
21941
21942 2005-11-08  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
21945         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
21946         (gst_base_sink_chain), (gst_base_sink_change_state):
21947         * gst/base/gstbasesink.h:
21948         * gst/base/gstbasesrc.h:
21949         * gst/gstelement.h:
21950         * gst/gstevent.h:
21951         Avoid excessive typechecking in macros.
21952
21953         * gst/gstminiobject.c: (gst_mini_object_get_type),
21954         (gst_mini_object_init), (gst_mini_object_new),
21955         (gst_mini_object_free):
21956         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
21957         (gst_object_finalize):
21958         Remove cruft code, optimize alloc_trace.
21959
21960 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21961
21962         * docs/faq/gst-uninstalled:
21963           fix up PS1 for systems that try to reset it
21964
21965 2005-11-07  Wim Taymans  <wim@fluendo.com>
21966
21967         * gst/base/gstbasesrc.c: (gst_base_src_init),
21968         (gst_base_src_get_range):
21969         Set the segment_end to -1 initially. Fixed typefind.
21970
21971 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
21972
21973         * gst/base/gstadapter.c:
21974           Debug category should be 'adapter', not 'GstAdapter'.
21975           
21976         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
21977         (gst_collectpads_class_init), (gst_collectpads_init),
21978         (gst_collectpads_peek), (gst_collectpads_pop),
21979         (gst_collectpads_event), (gst_collectpads_chain):
21980           Add debug category and some debugging output. Use boilerplate
21981           macros. Remove some extraneous words from docs.
21982
21983 2005-11-05  Andy Wingo  <wingo@pobox.com>
21984
21985         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
21986         macro.
21987
21988 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
21989
21990         * docs/gst/gstreamer-sections.txt:
21991         * gst/gstcaps.h:
21992         * gst/gstinfo.c:
21993         * gst/gstminiobject.h:
21994         * gst/gstobject.h:
21995         * gst/gstutils.h:
21996           more docs added
21997
21998 2005-11-04  Wim Taymans  <wim@fluendo.com>
21999
22000         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22001         Small update to stop at the configured segment_end
22002         position.
22003
22004 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
22005
22006         * gst/gstregistry.c:
22007         * gst/gstregistry.h:
22008           added missing docs
22009
22010 2005-11-04  Edward Hervey  <edward@fluendo.com>
22011
22012         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22013         Check if we are doing a segment seek and have arrived at the
22014         end of that segment.
22015
22016 2005-11-04  Wim Taymans  <wim@fluendo.com>
22017
22018         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
22019         Don't leak a mutex unlock in case of an error.
22020
22021         * gst/gstbus.h:
22022         Doc fixes.
22023
22024 2005-11-04  Wim Taymans  <wim@fluendo.com>
22025
22026         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
22027         (gst_bus_post):
22028         Get the context to wake up only once.
22029
22030 2005-11-03  Wim Taymans  <wim@fluendo.com>
22031
22032         * check/states/sinks.c: (GST_START_TEST):
22033         Uncomment fixed check.
22034
22035         * docs/design/part-TODO.txt:
22036         Updated TODO.
22037
22038         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22039         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22040         (gst_base_sink_get_position):
22041         If we are going to PLAYING, post the right pending state
22042         when we post the intermediate paused message.
22043
22044         * gst/gstelement.c: (gst_element_continue_state),
22045         (gst_element_set_state_func), (gst_element_change_state):
22046         Don't post state changes that were between the same state
22047         and were not ASYNC.
22048
22049 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22050
22051         * docs/gst/gstreamer-sections.txt:
22052         * gst/gstcaps.h:
22053         * gst/gstinfo.c:
22054         * gst/gstminiobject.h:
22055         * gst/gstobject.h:
22056         * gst/gstutils.h:
22057           more docs and doc style fixes
22058
22059 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
22060
22061         * docs/gst/gstreamer-sections.txt:
22062         * gst/gstelement.c:
22063         * gst/gstminiobject.c:
22064         doc fixes
22065
22066 2005-11-03  Andy Wingo  <wingo@pobox.com>
22067
22068         * check/states/sinks.c (test_livesrc_sink): Add checks that the
22069         state-changed messages actually have the right order and the right
22070         values.
22071
22072 2005-11-03  Wim Taymans  <wim@fluendo.com>
22073
22074         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
22075         Added some more checks. Specifically the case where NO_PREROLL
22076         elements are in the pipeline.
22077
22078         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22079         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
22080         (gst_base_sink_get_position):
22081         Post READY->PAUSED state change messages too.
22082         Fix bug where VOID was posted as pending state...
22083
22084         * gst/gstbin.c: (gst_bin_recalc_state):
22085         use _element_continue_state() to continue the state change.
22086
22087         * gst/gstelement.c: (gst_element_continue_state),
22088         (gst_element_commit_state), (gst_element_set_state_func),
22089         (gst_element_change_state), (gst_element_change_state_func):
22090         Lots of state change cleanups, assign the STATE_RETURN in
22091         a new continue_state() function that also propagates the
22092         last return value from a state change to the app.
22093         Update some debug statements with proper category.
22094
22095 2005-11-03  Wim Taymans  <wim@fluendo.com>
22096
22097         * docs/design/part-events.txt:
22098         * docs/design/part-gstpipeline.txt:
22099         * docs/design/part-messages.txt:
22100         * docs/design/part-overview.txt:
22101         * docs/design/part-seeking.txt:
22102         * docs/design/part-states.txt:
22103         * docs/design/part-trickmodes.txt:
22104         * docs/manual/advanced-position.xml:
22105         Small docs updates.
22106
22107         * gst/gstobject.h:
22108         People think !! is ugly, this looks better.
22109
22110         * gst/gstpad.c: (gst_pad_set_blocked_async):
22111         Remove !! since it's fixed elsewhere now.
22112
22113 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22114
22115         * gst/gstminiobject.h:
22116         * gst/gstobject.h:
22117           Add !! to _FLAG_IS_SET macros to make the result boolean.
22118
22119 2005-11-03  Edward Hervey  <edward@fluendo.com>
22120
22121         * gst/gstpad.c: (gst_pad_set_blocked_async):
22122         comparing a flag and a gboolean rarely returns coherent results...
22123         Added two characters (!!) to make that work correctly.
22124         
22125 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22126
22127         * gst/gstbus.c: (gst_bus_class_init):
22128           Fix some typos.
22129           
22130         * gst/gstqueue.c: (gst_queue_loop):
22131           Don't assume a miniobject that isn't a buffer is an
22132           event (it could be that there is a refcounting
22133           problem somewhere and the pointer is stale and
22134           refers to an already destroyed miniobject).
22135
22136 2005-11-03  Julien MOUTTE  <julien@moutte.net>
22137
22138         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
22139
22140 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
22141
22142         * docs/manual/advanced-position.xml:
22143           Update seek example and explanations to current 0.9 API.
22144
22145         * gst/elements/gsttypefindelement.c:
22146         (gst_type_find_element_activate):
22147           Remove FIXME comment now that the found caps
22148           are unreffed.
22149
22150 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22151
22152         * gst/gstregistryxml.c: (load_feature):
22153           Add another GST_STR_NULL instance
22154
22155 2005-11-02  Edward Hervey  <edward@fluendo.com>
22156
22157         * gst/gstpad.c: (handle_pad_block):
22158         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
22159         
22160 2005-11-02  Wim Taymans  <wim@fluendo.com>
22161
22162         * gst/gstbin.c:
22163         Fix typo in docs.
22164
22165         * gst/gstelement.c: (gst_element_commit_state):
22166         Remove unused value.
22167
22168         * gst/gstiterator.c:
22169         Mention that the returned element is reffed in the docs.
22170
22171 2005-11-02  Wim Taymans  <wim@fluendo.com>
22172
22173         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
22174         (gst_pad_push), (gst_pad_push_event):
22175         Unlock blocked pads when they are flushed.
22176
22177 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22178
22179         * docs/README:
22180         * docs/gst/gstreamer-sections.txt:
22181         * gst/gstbin.c:
22182           doc updates
22183         * gst/gstregistry.c: (gst_registry_scan_path_level):
22184           fix for a nasty little missed situation where an installed plug-in
22185           which was in the cache did not get overridden by an uninstalled one
22186           which was earlier in the plugin path because the newly created plugin
22187           for the uninstalled one (not in the registry) didn't get its
22188           ->registered set to TRUE
22189
22190 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22191
22192         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
22193         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
22194         (gst_collectpads_is_active), (gst_collectpads_collect),
22195         (gst_collectpads_collect_range), (gst_collectpads_start),
22196         (gst_collectpads_stop), (gst_collectpads_peek),
22197         (gst_collectpads_pop), (gst_collectpads_available),
22198         (gst_collectpads_read), (gst_collectpads_flush):
22199           Guard public API with assertions.
22200         
22201         * gst/gstpad.c:
22202           Fix docs for gst_pad_set_link_function().
22203
22204 2005-11-02  Johan Dahlin  <johan@gnome.org>
22205
22206         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
22207         Unref found_caps after we used it.
22208
22209 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
22210
22211         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
22212           Don't try to ref NULL.
22213
22214 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22215
22216         * win32/common/config.h.in:
22217           provide a GST_FUNCTION that just gives a string for now
22218
22219 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22220
22221         * win32/common/gstenumtypes.c: (register_gst_object_flags),
22222         (gst_object_flags_get_type), (register_gst_bin_flags),
22223         (gst_bin_flags_get_type), (register_gst_buffer_flag),
22224         (gst_buffer_flag_get_type), (register_gst_bus_flags),
22225         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
22226         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
22227         (gst_clock_return_get_type), (register_gst_clock_entry_type),
22228         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
22229         (gst_clock_flags_get_type), (register_gst_state),
22230         (gst_state_get_type), (register_gst_state_change_return),
22231         (gst_state_change_return_get_type), (register_gst_state_change),
22232         (gst_state_change_get_type), (register_gst_element_flags),
22233         (gst_element_flags_get_type), (register_gst_core_error),
22234         (gst_core_error_get_type), (register_gst_library_error),
22235         (gst_library_error_get_type), (register_gst_resource_error),
22236         (gst_resource_error_get_type), (register_gst_stream_error),
22237         (gst_stream_error_get_type), (register_gst_event_type),
22238         (gst_event_type_get_type), (register_gst_seek_type),
22239         (gst_seek_type_get_type), (register_gst_seek_flags),
22240         (gst_seek_flags_get_type), (register_gst_format),
22241         (gst_format_get_type), (register_gst_index_certainty),
22242         (gst_index_certainty_get_type), (register_gst_index_entry_type),
22243         (gst_index_entry_type_get_type),
22244         (register_gst_index_lookup_method),
22245         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
22246         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
22247         (gst_index_resolver_method_get_type), (register_gst_index_flags),
22248         (gst_index_flags_get_type), (register_gst_debug_level),
22249         (gst_debug_level_get_type), (register_gst_debug_color_flags),
22250         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
22251         (gst_iterator_result_get_type), (register_gst_iterator_item),
22252         (gst_iterator_item_get_type), (register_gst_message_type),
22253         (gst_message_type_get_type), (register_gst_mini_object_flags),
22254         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
22255         (gst_pad_link_return_get_type), (register_gst_flow_return),
22256         (gst_flow_return_get_type), (register_gst_activate_mode),
22257         (gst_activate_mode_get_type), (register_gst_pad_direction),
22258         (gst_pad_direction_get_type), (register_gst_pad_flags),
22259         (gst_pad_flags_get_type), (register_gst_pad_presence),
22260         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
22261         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
22262         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
22263         (gst_plugin_error_get_type), (register_gst_plugin_flags),
22264         (gst_plugin_flags_get_type), (register_gst_rank),
22265         (gst_rank_get_type), (register_gst_query_type),
22266         (gst_query_type_get_type), (register_gst_tag_merge_mode),
22267         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
22268         (gst_tag_flag_get_type), (register_gst_task_state),
22269         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
22270         (gst_alloc_trace_flags_get_type),
22271         (register_gst_type_find_probability),
22272         (gst_type_find_probability_get_type), (register_gst_uri_type),
22273         (gst_uri_type_get_type), (register_gst_parse_error),
22274         (gst_parse_error_get_type):
22275         * win32/common/gstversion.h:
22276           update win32 copies
22277
22278 2005-11-01  Luca Ognibene  <luogni@tin.it>
22279
22280         * gst/gst.c:
22281           fix docs. popt is dead, long live GOption.
22282
22283 2005-10-31  Wim Taymans  <wim@fluendo.com>
22284
22285         * gst/gstbuffer.h:
22286         Small doc fix.
22287
22288 2005-10-31  Andy Wingo  <wingo@pobox.com>
22289
22290         * Boo!
22291
22292         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
22293
22294         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
22295         need to serialize property notifications on GLib 2.8. GLib 2.6 has
22296         the possibility of deadlocks here if code calling notify() or
22297         set() has a lock that can be taken in another notify handler (ABBA
22298         with class lock and e.g. python GIL state lock).
22299
22300 2005-10-28  Julien MOUTTE  <julien@moutte.net>
22301
22302         * gst/gstbus.c: Doc updates.
22303
22304 2005-10-28  Wim Taymans  <wim@fluendo.com>
22305
22306         * docs/design/part-TODO.txt:
22307         * gst/gstiterator.c:
22308         * gst/gstsystemclock.c:
22309         * gst/gstsystemclock.h:
22310         Doc updates.
22311
22312 2005-10-28  Edward Hervey  <edward@fluendo.com>
22313
22314         * docs/gst/gstreamer-docs.sgml:
22315         * docs/gst/gstreamer-sections.txt:
22316         the GstURIType documentation page is private, it only defines GstURIType
22317         which should be defined in the GstURIHandler page
22318         
22319 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22320
22321         * gst/gstbin.c: (gst_bin_class_init):
22322         * gst/gstbin.h:
22323         * gst/gstutils.c:
22324         Documentation updates.
22325
22326 2005-10-28  Wim Taymans  <wim@fluendo.com>
22327
22328         * docs/gst/gstreamer-sections.txt:
22329         * gst/gstclock.c:
22330         * gst/gstclock.h:
22331         Documented the clocks.
22332
22333 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
22334
22335         * docs/gst/gstreamer-sections.txt:
22336           move some macros to private sections
22337         * gst/gstminiobject.c:
22338         * gst/gstminiobject.h:
22339           add descriptions provided by ds and some more
22340         * gst/gstpad.h:
22341           mark macro as to be removed
22342
22343 2005-10-28  Wim Taymans  <wim@fluendo.com>
22344
22345         * docs/design/part-TODO.txt:
22346         Add an item to TODO.
22347
22348         * gst/gstiterator.c: (gst_iterator_fold),
22349         (gst_iterator_find_custom):
22350         * gst/gstiterator.h:
22351         Add iterator docs.
22352
22353 2005-10-28  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22356         (gst_base_transform_init):
22357         Don't leak class.
22358
22359         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
22360         An EOS event marks the queue as completely filled.
22361
22362 2005-10-27  Wim Taymans  <wim@fluendo.com>
22363
22364         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22365         (gst_base_sink_do_sync), (gst_base_sink_get_position):
22366         Some more debugging.
22367
22368         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
22369         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
22370         (gst_base_transform_event), (gst_base_transform_getrange),
22371         (gst_base_transform_chain):
22372         * gst/base/gstbasetransform.h:
22373         Fix debugging,
22374         Protect transform and concurrent buffer alloc with a new lock.
22375         Try not to break ABI/API.
22376
22377 2005-10-27  Wim Taymans  <wim@fluendo.com>
22378
22379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22380         (gst_base_src_init), (gst_base_src_query),
22381         (gst_base_src_default_newsegment),
22382         (gst_base_src_configure_segment), (gst_base_src_do_seek),
22383         (gst_base_src_send_event), (gst_base_src_event_handler),
22384         (gst_base_src_pad_get_range), (gst_base_src_loop),
22385         (gst_base_src_unlock), (gst_base_src_default_negotiate),
22386         (gst_base_src_start), (gst_base_src_deactivate),
22387         (gst_base_src_activate_push), (gst_base_src_change_state):
22388         Move some stuff around and cleanup things.
22389
22390 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
22391
22392         * gst/base/gstbasesrc.c: (gst_base_src_query):
22393           Add missing break statements.
22394
22395 2005-10-27  Wim Taymans  <wim@fluendo.com>
22396
22397         * check/gst/gstbin.c: (GST_START_TEST):
22398         An extra refcount is taken in basesrc.
22399
22400         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
22401         (gst_base_src_get_range), (gst_base_src_pad_get_range),
22402         (gst_base_src_loop):
22403         Small cleanups, check for flushing after being unlocked from the 
22404         LIVE_LOCK. take refcounts correctly (not yet everywhere).
22405         Don't send out EOS when going to READY.
22406
22407 2005-10-27  Wim Taymans  <wim@fluendo.com>
22408
22409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22410         (gst_base_sink_get_position):
22411         Some more debug.
22412
22413         * gst/gstbin.c: (message_check), (bin_replace_message),
22414         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22415         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22416         (bin_query_duration_init), (bin_query_duration_fold),
22417         (bin_query_duration_done), (bin_query_generic_fold),
22418         (gst_bin_query):
22419         * tools/gst-launch.c: (main):
22420         Remove old option.
22421
22422 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
22423
22424         * examples/controller/audio-example.c: (main):
22425         * examples/queue/queue.c: (event_loop):
22426         * gst/base/gstbasetransform.h:
22427         * gst/gstelement.c: (gst_element_send_event):
22428         * gst/gstevent.h:
22429         * gst/gstpad.c: (gst_pad_send_event):
22430           fixing examples
22431           fixing docs typos
22432           changing log priority in error situations
22433
22434 2005-10-25  Wim Taymans  <wim@fluendo.com>
22435
22436         * gst/gstbin.c: (message_check), (bin_replace_message),
22437         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22438         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22439         (bin_query_duration_init), (bin_query_duration_fold),
22440         (bin_query_duration_done), (bin_query_generic_fold),
22441         (gst_bin_query):
22442         Some doc and debug updates.
22443         Cache previously requested query DURATION for speed. invalidate
22444         cached duration if element posts a DURATION message.
22445
22446 2005-10-25  Wim Taymans  <wim@fluendo.com>
22447
22448         * docs/design/part-TODO.txt:
22449         Update TODO.
22450
22451         * gst/gstbin.c: (message_check), (bin_replace_message),
22452         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22453         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
22454         (bin_query_duration_init), (bin_query_duration_fold),
22455         (bin_query_duration_done), (bin_query_generic_fold),
22456         (gst_bin_query):
22457         Handle SEGMENT_START/DONE messages correctly.
22458         More evolved query algorithm that handles duration queries
22459         correctly.
22460
22461         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
22462         (gst_element_get_state_func), (gst_element_abort_state),
22463         (gst_element_commit_state), (gst_element_lost_state):
22464         Some more debugging.
22465
22466         * gst/gstmessage.h:
22467         Added doc.
22468
22469 2005-10-25  Wim Taymans  <wim@fluendo.com>
22470
22471         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
22472         Don't use invalid stream_time.
22473
22474         * gst/gstevent.c: (gst_event_new_newsegment):
22475         stream_time in newsegment cannot be undefined.
22476
22477 2005-10-24  Wim Taymans  <wim@fluendo.com>
22478
22479         * gst/gstbus.c:
22480         Doc fix.
22481
22482         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22483         (gst_queue_loop):
22484         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
22485
22486 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
22487
22488         * docs/libs/tmpl/gstdparam.sgml:
22489         * docs/libs/tmpl/gstdplinint.sgml:
22490         * docs/libs/tmpl/gstdpman.sgml:
22491         * docs/libs/tmpl/gstdpsmooth.sgml:
22492         * docs/libs/tmpl/gstunitconvert.sgml:
22493           these are obsolete
22494
22495 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22496
22497         * configure.ac:
22498           back to HEAD
22499
22500 === release 0.9.4 ===
22501
22502 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22503
22504         * configure.ac:
22505           releasing 0.9.4, "Tyrannosaurus Rex"
22506
22507 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
22508
22509         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
22510         (gst_file_sink_get_current_offset):
22511           Use fseeko() and ftello() if available. When falling back on
22512           lseek() to get the current offset, fflush() first to make sure
22513           everything is up-to-date and we get the right offset.
22514
22515 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22516
22517         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22518         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22519         * gst/gsterror.c: (_gst_stream_errors_init):
22520         * gst/gsterror.h:
22521         * gst/gstqueue.c: (gst_queue_loop):
22522         * po/POTFILES.in:
22523           remove prematurely added error category and clean up the instances
22524
22525 2005-10-21  Wim Taymans  <wim@fluendo.com>
22526
22527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22528         (gst_base_sink_get_position), (gst_base_sink_query),
22529         (gst_base_sink_change_state):
22530         Simply set the right flag when going to playing, that's all
22531         we need to do instead of calling a function inside the object
22532         lock (that could take the lock as well and deadlock)
22533
22534 2005-10-21  Wim Taymans  <wim@fluendo.com>
22535
22536         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
22537         (gst_base_src_loop):
22538         Don't warn, the peer element knows what to do best when
22539         the seek failed, it might try something else.
22540
22541 2005-10-21  Wim Taymans  <wim@fluendo.com>
22542
22543         * gst/base/gstbasesrc.c: (gst_base_src_init),
22544         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22545         Fix seeking.
22546
22547 2005-10-21  Wim Taymans  <wim@fluendo.com>
22548
22549         * docs/design/part-segments.txt:
22550         More docs.
22551
22552         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
22553         Correctly set caps, even on the subbufer.
22554
22555 2005-10-21  Wim Taymans  <wim@fluendo.com>
22556
22557         * docs/gst/gstreamer-docs.sgml:
22558         * docs/gst/gstreamer-sections.txt:
22559         * gst/gstelement.h:
22560         * gst/gstevent.c:
22561         * gst/gstevent.h:
22562         * gst/gstmessage.h:
22563         * gst/gstpad.h:
22564         * gst/gstparse.h:
22565         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
22566         * gst/gsttask.h:
22567         * gst/gstutils.c:
22568         * gst/gstutils.h:
22569         And 2% more doc coverage.
22570
22571 2005-10-21  Andy Wingo  <wingo@pobox.com>
22572
22573         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
22574         position reporting.
22575
22576 2005-10-20  Wim Taymans  <wim@fluendo.com>
22577
22578         * gst/gsterror.c: (gst_error_get_message):
22579         * gst/gstparse.h:
22580         * gst/gstquery.h:
22581         * gst/gststructure.c:
22582         * gst/gsttrace.c:
22583         * gst/gstutils.c:
22584         More docs.
22585
22586 2005-10-20  Wim Taymans  <wim@fluendo.com>
22587
22588         * gst/gstbuffer.h:
22589         * gst/gstpad.c:
22590         * gst/gstparse.c:
22591         Another 1% more coverage.
22592
22593 2005-10-20  Wim Taymans  <wim@fluendo.com>
22594
22595         * docs/gst/gstreamer-sections.txt:
22596         * gst/gstelement.c: (gst_element_get_state_func),
22597         (gst_element_abort_state), (gst_element_commit_state),
22598         (gst_element_lost_state):
22599         * gst/gstevent.h:
22600         * gst/gstquery.c: (gst_query_set_position),
22601         (gst_query_parse_position), (gst_query_set_duration),
22602         (gst_query_parse_duration), (gst_query_new_convert):
22603         * gst/gstutils.c:
22604         Yay! 1% more docs coverage.
22605
22606 2005-10-20  Wim Taymans  <wim@fluendo.com>
22607
22608         * gst/gstpad.h:
22609         * gst/gstquery.c: (gst_query_set_position),
22610         (gst_query_parse_position), (gst_query_set_duration),
22611         (gst_query_parse_duration), (gst_query_new_convert):
22612         * gst/gstquery.h:
22613         * gst/gstutils.c: (gst_element_query_convert):
22614         * gst/gstutils.h:
22615         Docs and consistency fixes.
22616
22617 2005-10-20  Wim Taymans  <wim@fluendo.com>
22618
22619         * gst/gsttask.c:
22620         * gst/gsttask.h:
22621         More docs.
22622
22623 2005-10-20  Wim Taymans  <wim@fluendo.com>
22624
22625         * gst/gstbin.c: (message_check), (bin_replace_message),
22626         (bin_remove_messages), (is_eos), (gst_bin_add_func),
22627         (update_degree), (gst_bin_sort_iterator_next),
22628         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
22629         Reworked the message handling a bit, cache the messages instead of
22630         only the senders. alows us to do more in the future.
22631
22632 2005-10-20  Wim Taymans  <wim@fluendo.com>
22633
22634         * docs/design/part-TODO.txt:
22635         Update TODO
22636
22637         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22638         (gst_base_sink_query):
22639         Don't use clock time to report position when in EOS.
22640
22641 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
22642
22643         * tools/gst-inspect.c: (print_interfaces),
22644         (print_element_properties_info), (print_element_info):
22645           Fix interface output with gst-inspect -a; don't print
22646           newlines after double/float properties.
22647
22648 2005-10-20  Wim Taymans  <wim@fluendo.com>
22649
22650         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
22651         (gst_base_sink_query):
22652         Speed up current position calculation.
22653
22654         * gst/base/gstbasesrc.c: (gst_base_src_query),
22655         (gst_base_src_default_newsegment):
22656         Correctly set stream position in newsegment.
22657
22658         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
22659         (update_degree), (gst_bin_sort_iterator_next),
22660         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
22661         * gst/gstmessage.c: (gst_message_new_custom):
22662         Clean up debugging info
22663
22664         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22665         (gst_queue_loop), (gst_queue_handle_src_query):
22666         Pause task faster.
22667
22668 2005-10-19  Wim Taymans  <wim@fluendo.com>
22669
22670         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22671         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22672         Fix query handling again.
22673
22674 2005-10-19  Wim Taymans  <wim@fluendo.com>
22675
22676         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22677         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
22678         * gst/base/gstbasesrc.c: (gst_base_src_query):
22679         * gst/elements/gstfilesink.c: (gst_file_sink_query):
22680         * gst/elements/gsttypefindelement.c:
22681         (gst_type_find_handle_src_query), (find_element_get_length),
22682         (gst_type_find_element_activate):
22683         API change fix.
22684
22685         * gst/gstquery.c: (gst_query_new_position),
22686         (gst_query_set_position), (gst_query_parse_position),
22687         (gst_query_new_duration), (gst_query_set_duration),
22688         (gst_query_parse_duration), (gst_query_set_segment),
22689         (gst_query_parse_segment):
22690         * gst/gstquery.h:
22691         Bundling query position/duration is not a good idea since duration
22692         does not change much and we don't want to recalculate it for every
22693         position query, so they are separated again..
22694         Base value in segment query is not needed.
22695
22696         * gst/gstqueue.c: (gst_queue_handle_src_query):
22697         * gst/gstutils.c: (gst_element_query_position),
22698         (gst_element_query_duration), (gst_pad_query_position),
22699         (gst_pad_query_duration):
22700         * gst/gstutils.h:
22701         Updates for query API change.
22702         Added some docs here and there.
22703
22704 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22705
22706         * check/gst/gstbin.c: (GST_START_TEST):
22707         * check/gst/gstghostpad.c: (GST_START_TEST):
22708         * check/pipelines/cleanup.c: (GST_START_TEST):
22709           wait on thread to die so we can check refcount correctly
22710
22711 2005-10-18  Wim Taymans  <wim@fluendo.com>
22712
22713         * check/pipelines/stress.c: (GST_START_TEST):
22714         Make check a little more time consuming.
22715
22716 2005-10-18  Wim Taymans  <wim@fluendo.com>
22717
22718         * check/Makefile.am:
22719         * check/pipelines/stress.c: (GST_START_TEST),
22720         (simple_launch_lines_suite), (main):
22721         Small state change torture test.
22722
22723         * docs/design/part-states.txt:
22724         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
22725         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
22726         (gst_base_sink_change_state):
22727         Never take state lock from streaming thread, clean up ugly
22728         hacks. Unfortunatly core does not yet support nice ways to
22729         async commit state.
22730         
22731         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
22732         (bin_bus_handler):
22733         Start state recalc if a STATE_DIRTY message is posted, but only
22734         on the toplevel bin.
22735
22736         * gst/gstelement.c: (gst_element_sync_state_with_parent),
22737         (gst_element_get_state_func), (gst_element_abort_state),
22738         (gst_element_commit_state), (gst_element_lost_state),
22739         (gst_element_set_state_func), (gst_element_change_state):
22740         * gst/gstelement.h:
22741         State variables are now protected with the LOCK, the state
22742         lock is only used to serialize _set_state().
22743
22744 2005-10-18  Wim Taymans  <wim@fluendo.com>
22745
22746         * check/gst/gstbin.c: (GST_START_TEST):
22747         * check/gst/gstmessage.c: (GST_START_TEST):
22748         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22749         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
22750         (bin_bus_handler):
22751         * gst/gstelement.c: (gst_element_abort_state),
22752         (gst_element_commit_state), (gst_element_lost_state):
22753         * gst/gstmessage.c: (gst_message_new_state_changed),
22754         (gst_message_new_state_dirty), (gst_message_new_segment_start),
22755         (gst_message_new_segment_done), (gst_message_new_duration),
22756         (gst_message_parse_state_changed),
22757         (gst_message_parse_segment_start),
22758         (gst_message_parse_segment_done), (gst_message_parse_duration):
22759         * gst/gstmessage.h:
22760         * tools/gst-launch.c: (event_loop):
22761         Seriously, this is better than a previous commit as we only need
22762         to notify the fact that an element changed state in a streaming
22763         thread, marking the state of the parents dirty, hence the 
22764         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
22765         message.
22766
22767 2005-10-18  Wim Taymans  <wim@fluendo.com>
22768
22769         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
22770         (gst_bin_recalc_func):
22771         * gst/gstelement.c: (gst_element_set_clock),
22772         (gst_element_abort_state), (gst_element_lost_state):
22773         Cleanups, prepare for state change fixes.
22774
22775 2005-10-18  Wim Taymans  <wim@fluendo.com>
22776
22777         * gst/gstbin.h:
22778         * gst/gstelement.c: (gst_element_class_init),
22779         (gst_element_set_state), (gst_element_set_state_func):
22780         * gst/gstelement.h:
22781         Pending ABI changes.
22782         GThreadPool in GstBinClass to monitor async state changes.
22783         state_cookie in GstElement to detect concurrent gst/set state.
22784         set_state is now virtual too in case a very complicated element
22785         has to be constructed.
22786
22787 2005-10-18  Wim Taymans  <wim@fluendo.com>
22788
22789         * check/gst/gstbin.c: (GST_START_TEST):
22790         * check/gst/gstmessage.c: (GST_START_TEST):
22791         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22792         * gst/gstbin.c: (bin_bus_handler):
22793         * gst/gstelement.c: (gst_element_commit_state),
22794         (gst_element_lost_state):
22795         * gst/gstmessage.c: (gst_message_new_state_changed),
22796         (gst_message_new_segment_start), (gst_message_new_segment_done),
22797         (gst_message_new_duration), (gst_message_parse_state_changed),
22798         (gst_message_parse_segment_start),
22799         (gst_message_parse_segment_done), (gst_message_parse_duration):
22800         * gst/gstmessage.h:
22801         * tools/gst-launch.c: (event_loop):
22802         Make messages future proof.
22803         state-change gets a flag if it was a message comming from the
22804         streaming thread.
22805         segment-start/stop can also be specified in other formats.
22806         A message to notify an app that a pipeline changed playback 
22807         duration.
22808         Also fix a GstMessage leak in -launch
22809
22810 2005-10-18  Andy Wingo  <wingo@pobox.com>
22811
22812         * gst/gstelement.c (gst_element_dispose): More helpful message.
22813
22814 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22815
22816         reviewed by: <delete if not using a buddy>
22817
22818         * common/gtk-doc.mak:
22819
22820 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22821
22822         * gst/gstregistry.c: (gst_registry_scan_path_level):
22823           unref a plug-in we get that was already initialized
22824
22825 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
22826
22827         * docs/gst/gstreamer-sections.txt:
22828         * docs/libs/gstreamer-libs-sections.txt:
22829         * gst/gstelement.h:
22830           add new api entries
22831           hide internal macro
22832
22833 2005-10-17  Andy Wingo  <wingo@pobox.com>
22834
22835         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
22836         cleanup.
22837
22838         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
22839
22840         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
22841
22842         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
22843         (gst_element_get_state_func): Better debug message.
22844         (gst_element_commit_state): s/INFO/DEBUG/.
22845         (gst_element_lost_state, gst_element_change_state): 
22846
22847         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
22848         (gst_message_new_custom): s/INFO/LOG/.
22849
22850 2005-10-17  Michael Smith <msmith@fluendo.com>
22851
22852         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
22853           Check if end time is valid using end time, not start time.
22854
22855 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
22856
22857         * check/gst-libs/controller.c: (GST_START_TEST),
22858         (gst_controller_suite):
22859         * libs/gst/controller/gstcontroller.c:
22860         (gst_controlled_property_set_interpolation_mode):
22861         * libs/gst/controller/gstcontroller.h:
22862         * libs/gst/controller/gstinterpolation.c:
22863         * testsuite/controller/.cvsignore:
22864         * testsuite/controller/Makefile.am:
22865         * testsuite/controller/interpolator.c:
22866           merge controller testsuites
22867           fix broken tests
22868           remove mem-chunk from docs
22869
22870 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22871
22872         * gst/gstmemchunk.c:
22873         * gst/gstmemchunk.h:
22874         * gst/gsttrashstack.c:
22875         * gst/gsttrashstack.h:
22876           out.  get out.  you're fired.  to the Attic !
22877
22878 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
22879
22880         * gst/gstcaps.c: (gst_caps_intersect):
22881           fix signedness issues in a (hopefully) correct way
22882         * gst/gstelement.c: (gst_element_pads_activate):
22883           some debugging
22884         * gst/gstobject.c: (gst_object_set_parent):
22885           some debugging
22886
22887 2005-10-17  Julien MOUTTE  <julien@moutte.net>
22888
22889         * gst/gstvalue.h: Fix prototypes.
22890
22891 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22892
22893         * docs/gst/gstreamer-sections.txt:
22894         * gst/gst.c: (gst_version_string):
22895         * gst/gst.h:
22896         * gst/gstversion.h.in:
22897         * win32/common/libgstreamer.def:
22898           add gst_version_string ()
22899
22900 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22901
22902         * configure.ac:
22903           clean up further
22904         * gst/gst.c: (init_post):
22905         * win32/common/config.h.in:
22906           it's PLUGINDIR now
22907         * gst/gstcaps.c: (gst_caps_intersect):
22908           use gint64, the range could be bigger than a guint
22909
22910 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22911
22912         * gst/gstclock.h:
22913           document potential problem in 2038
22914
22915 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22916
22917         * gst/gstcaps.c: (gst_caps_intersect):
22918           Fix guint j diving under 0
22919
22920 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22921
22922         * configure.ac:
22923         * win32/common/config.h:
22924         * win32/common/config.h.in:
22925           check for process.h, declares getpid() on Windows
22926         * gst/gstinfo.c:
22927           include process.h if we have it
22928         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
22929         * gst/gstmemchunk.h:
22930           fix signedness issues
22931         * win32/common/libgstreamer.def:
22932           fix get_type's
22933
22934 2005-10-16  Julien MOUTTE  <julien@moutte.net>
22935
22936         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
22937         fix. Because of unsigned ints, caps intersection was going nuts and
22938         trying to access structures with G_MAXUINT index. That fixes
22939         videotestsrc ! ffmpegcolorspace ! fakesink
22940         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
22941         consistency.
22942
22943 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22944
22945         * configure.ac:
22946           use the gettext macro
22947         * gst/elements/gstelements.c:
22948         * gst/gst.c:
22949         * gst/indexers/gstindexers.c:
22950           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
22951         * win32/common/config.h:
22952           updated config.h
22953         * win32/common/config.h.in:
22954           add the template to generate config.h
22955         * win32/common/gstenumtypes.c:
22956         * win32/common/gstversion.h:
22957           updated copies
22958
22959 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22960
22961         * gst/gst.c: (gst_version):
22962         * gst/gstversion.h.in:
22963           add the nano
22964
22965 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22966
22967         * gst/gstevent.h:
22968           Oops, add missing closing bracket.
22969
22970 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22971
22972         * configure.ac:
22973           use common m4's for argument checking
22974
22975 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
22976
22977         * docs/gst/gstreamer-sections.txt:
22978         * gst/gstevent.h:
22979           Add GST_EVENT_TYPE_NAME() macro.
22980
22981 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22982
22983         * gst/gstinfo.c:
22984         * gst/gstpluginfeature.c:
22985         * gst/gsttask.c:
22986           privatize more symbols
22987
22988 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22989
22990         * configure.ac:
22991           add srcdir, builddir includes to GST_ALL_CFLAGS, since
22992           everything that uses GStreamer API should have the includes
22993
22994 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22995
22996         * docs/gst/gstreamer-sections.txt:
22997         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
22998         * gst/gstvalue.h:
22999           give each value a _get_type, removes the DATA exports
23000
23001 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23002
23003         * gst/gst.c:
23004         * gst/gst.h:
23005           remove _gst_registry_auto_load, not used anymore
23006         * gst/gstbin.c: (gst_bin_get_type):
23007         * gst/gstbin.h:
23008         * gst/gstelement.c: (gst_element_get_type):
23009         * gst/gstelement.h:
23010         * gst/gstobject.c: (gst_object_get_type):
23011         * gst/gstobject.h:
23012         * gst/gstpad.c: (gst_pad_get_type):
23013         * gst/gstpad.h:
23014           make _get_type functions similar, fixes data export from library
23015
23016 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23017
23018         * configure.ac:
23019           correctly make conditionals
23020         * gst/elements/Makefile.am:
23021         * gst/elements/gstelements.c:
23022           fix typo causing fdsrc not to build
23023
23024 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23025
23026         * testsuite/Makefile.am:
23027         * testsuite/bytestream/.cvsignore:
23028         * testsuite/bytestream/Makefile.am:
23029         * testsuite/bytestream/filepadsink.c:
23030         * testsuite/bytestream/gstbstest.c:
23031         * testsuite/bytestream/test1.c:
23032         * testsuite/bytestream/testfile1:
23033         * testsuite/caps/normalisation.c:
23034         * testsuite/caps/random.c: (main):
23035         * testsuite/cleanup/.cvsignore:
23036         * testsuite/cleanup/Makefile.am:
23037         * testsuite/cleanup/cleanup1.c:
23038         * testsuite/cleanup/cleanup2.c:
23039         * testsuite/cleanup/cleanup3.c:
23040         * testsuite/cleanup/cleanup4.c:
23041         * testsuite/cleanup/cleanup5.c:
23042         * testsuite/controller/interpolator.c:
23043         * testsuite/debug/printf_extension.c: (main):
23044         * testsuite/elements/tee.c:
23045         * testsuite/negotiation/.cvsignore:
23046         * testsuite/negotiation/Makefile.am:
23047         * testsuite/negotiation/pad_link.c:
23048         * testsuite/pad/Makefile.am:
23049         * testsuite/pad/chainnopull.c:
23050         * testsuite/pad/getnopush.c:
23051         * testsuite/pad/link.c:
23052         * testsuite/refcounting/sched.c: (create_pipeline):
23053         * testsuite/registry/Makefile.am:
23054         * testsuite/registry/gst-print-formats.c:
23055         * testsuite/schedulers/.cvsignore:
23056         * testsuite/schedulers/142183-2.c:
23057         * testsuite/schedulers/142183.c:
23058         * testsuite/schedulers/143777-2.c:
23059         * testsuite/schedulers/143777.c:
23060         * testsuite/schedulers/147713.c:
23061         * testsuite/schedulers/147819.c:
23062         * testsuite/schedulers/147894-2.c:
23063         * testsuite/schedulers/147894.c:
23064         * testsuite/schedulers/Makefile.am:
23065         * testsuite/schedulers/group_link.c:
23066         * testsuite/schedulers/queue_link.c:
23067         * testsuite/schedulers/relink.c:
23068         * testsuite/schedulers/unlink.c:
23069         * testsuite/schedulers/unref.c:
23070         * testsuite/schedulers/useless_iteration.c:
23071         * testsuite/states/bin.c:
23072           clean out/remove some stuff from the testsuite directories
23073
23074 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23075
23076         * configure.ac:
23077           check for some headers
23078         * gst/elements/Makefile.am:
23079         * gst/elements/gstelements.c:
23080           don't compile fdsrc without sys/socket.h
23081         * gst/indexers/Makefile.am:
23082         * gst/indexers/gstindexers.c: (plugin_init):
23083           don't compile fileindex without mmap
23084
23085 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23086
23087         * configure.ac:
23088           reorganize
23089           clean up
23090           document more
23091           remove cruft
23092         * check/Makefile.am:
23093         * docs/gst/Makefile.am:
23094         * examples/helloworld/Makefile.am:
23095         * gst/Makefile.am:
23096         * gst/base/Makefile.am:
23097         * gst/check/Makefile.am:
23098         * gst/elements/Makefile.am:
23099         * gst/indexers/Makefile.am:
23100         * gst/parse/Makefile.am:
23101         * libs/gst/controller/Makefile.am:
23102         * libs/gst/dataprotocol/Makefile.am:
23103         * examples/helloworld/helloworld.c: (event_loop):
23104           compile fixes, though it's not being compiled currently
23105
23106 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23107
23108         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
23109           Add some simple tests for the new taglist date API.
23110
23111 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23112
23113         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
23114         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
23115           Beautify 'last-message' output: print 'none' for buffer timestamps
23116           and durations if none is set; improve alignment with next messages.
23117
23118 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
23119
23120         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
23121         * gst/gstpluginfeature.h:
23122         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
23123         * gst/gstregistry.h:
23124         * docs/gst/gstreamer-sections.txt:
23125           Add new API to check plugin feature version requirements.
23126
23127         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
23128           Some basic tests for the above.         
23129
23130 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23131
23132         * gst/gststructure.c: (gst_structure_to_string):
23133           guard against NULL printf - happens when for example
23134           a message structure with GstClock gets serialized
23135
23136 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23137
23138         * gst/base/gstcollectpads.c: (gst_collectpads_event):
23139           Fix presumable copy'n'pasto.
23140
23141 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23142
23143         * gst/elements/gstfakesrc.h:
23144         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
23145         * gst/elements/gsttypefindelement.c:
23146           fix some signedness
23147         * gst/elements/gstfilesink.c: (gst_file_sink_render):
23148           I wonder if this could actually write +2GB files before
23149
23150 2005-10-13  Andy Wingo  <wingo@pobox.com>
23151
23152         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
23153         Fix Timmeke Waymans bug.
23154         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
23155         string of the proper length to gst_caps_from_string. There's a
23156         potential for, before this fix, that this could cause someone
23157         connecting over the network to cause a segfault if the payload is
23158         not NUL-terminated.
23159
23160 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23161
23162         * docs/design/draft-push-pull.txt:
23163         * docs/design/part-overview.txt:
23164         * docs/random/TODO-pre-0.9:
23165         * docs/random/old/ChangeLog.gstreamer:
23166         * gst/base/gstpushsrc.c:
23167         * gst/gstclock.c:
23168           fixed typos
23169
23170 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23171
23172         * gst/glib-compat.c: (gst_flags_get_first_value):
23173         * gst/glib-compat.h:
23174         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
23175         (gst_value_compare_double), (gst_value_serialize_flags):
23176           GLib 2.6 g_flags_get_first_value has a bug that triggers an
23177           infinite loop
23178
23179 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23180
23181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23182         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23183           fix up debugging
23184         * tools/gst-launch.c: (event_loop):
23185           print out clock nicely
23186
23187 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
23188
23189         * docs/gst/gstreamer-sections.txt:
23190         * gst/gsttaglist.h:
23191         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
23192         (gst_tag_list_get_date_index):
23193           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
23194           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
23195
23196 2005-10-13  Julien MOUTTE  <julien@moutte.net>
23197
23198         * gst/base/gstcollectpads.c: (gst_collectpads_event),
23199         (gst_collectpads_chain):
23200         * gst/base/gstcollectpads.h: Handle newsegment and store informations
23201         in CollectData.
23202
23203 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
23204
23205         * docs/gst/gstreamer-sections.txt:
23206         * gst/gst.c:
23207         * gst/gsterror.h:
23208         * tools/gst-inspect.c: (main):
23209         * tools/gst-launch.c: (main):
23210         * tools/gst-run.c: (main):
23211         * tools/gst-xmlinspect.c: (main):
23212           fix GOption context leaks
23213           doc fixes
23214
23215 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23216
23217         * gst/gstbus.c:
23218           use HAVE_UNISTD_H
23219         * win32/common/config.h:
23220           update config
23221         * win32/vs6/grammar.dsp:
23222         * win32/vs6/libgstelements.dsp:
23223         * win32/vs6/libgstreamer.dsp:
23224           update vs6 files
23225
23226 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23227
23228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23229         * gst/base/gstbasesrc.c: (gst_base_src_query):
23230           fix more guint64<->gdouble conversions
23231
23232 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23233
23234         * Makefile.am:
23235           add win32-update target
23236         * win32/common/gstconfig.h:
23237         * win32/common/gstenumtypes.c:
23238         * win32/common/gstenumtypes.h:
23239         * win32/common/gstversion.h:
23240           add files that visual studio can't generate
23241
23242 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23243
23244         * Makefile.am:
23245           add a win32-update target
23246         * configure.ac:
23247
23248 2005-10-12  Wim Taymans  <wim@fluendo.com>
23249
23250         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23251         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
23252         * gst/gstelement.c: (gst_element_commit_state),
23253         (gst_element_set_state):
23254         Protect flags with proper lock.
23255         unref provided cached clock in dispose.
23256
23257 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23258
23259         * gst/gst.c:
23260         * gst/gstminiobject.h:
23261         * gst/gstpad.h:
23262         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
23263           removed unused flags from miniobject
23264           doc fixes
23265
23266 2005-10-12  Wim Taymans  <wim@fluendo.com>
23267
23268         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
23269         (gst_file_sink_event), (gst_file_sink_render):
23270         Flush before seeking.
23271
23272 2005-10-12  Andy Wingo  <wingo@pobox.com>
23273
23274         * gst/gst.c (gst_init_check): Ignore unknown options, as has
23275         always been the case.
23276
23277 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
23278
23279         * check/gst/gstbin.c: (GST_START_TEST):
23280         * docs/gst/gstreamer-sections.txt:
23281         * gst/base/gstbasesink.c: (gst_base_sink_init):
23282         * gst/base/gstbasesrc.c: (gst_base_src_init),
23283         (gst_base_src_get_range), (gst_base_src_check_get_range),
23284         (gst_base_src_start), (gst_base_src_stop):
23285         * gst/base/gstbasesrc.h:
23286         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
23287         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
23288         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
23289         (bin_bus_handler):
23290         * gst/gstbin.h:
23291         * gst/gstbuffer.h:
23292         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
23293         * gst/gstbus.h:
23294         * gst/gstelement.c: (gst_element_is_locked_state),
23295         (gst_element_set_locked_state), (gst_element_commit_state),
23296         (gst_element_set_state):
23297         * gst/gstelement.h:
23298         * gst/gstindex.c: (gst_index_init):
23299         * gst/gstindex.h:
23300         * gst/gstminiobject.h:
23301         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
23302         (gst_object_set_parent):
23303         * gst/gstobject.h:
23304         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
23305         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
23306         * gst/gstpad.h:
23307         * gst/gstpadtemplate.h:
23308         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
23309         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
23310         * gst/gstpipeline.h:
23311         * gst/indexers/gstfileindex.c: (gst_file_index_load),
23312         (gst_file_index_commit):
23313         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
23314         * testsuite/pad/link.c: (gst_test_src_init),
23315         (gst_test_filter_init), (gst_test_sink_init):
23316         * testsuite/states/locked.c: (main):
23317           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
23318           moved bitshift from macro to enum definition
23319
23320 2005-10-12  Wim Taymans  <wim@fluendo.com>
23321
23322         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
23323         * gst/elements/gstfilesink.c: (gst_file_sink_event),
23324         (gst_file_sink_render):
23325         Some more debugging info.
23326
23327 2005-10-12  Wim Taymans  <wim@fluendo.com>
23328
23329         * docs/design/part-states.txt:
23330         * tools/gst-launch.c: (main):
23331         Some doc updates.
23332         Revert non-intentional change.
23333
23334 2005-10-12  Wim Taymans  <wim@fluendo.com>
23335
23336         * check/gst/gstbin.c: (GST_START_TEST):
23337         * check/gst/gstelement.c: (GST_START_TEST):
23338         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
23339         * check/gst/gstghostpad.c: (GST_START_TEST):
23340         * check/gst/gstpipeline.c: (GST_START_TEST):
23341         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23342         * check/states/sinks.c: (GST_START_TEST):
23343         * gst/elements/gsttypefindelement.c: (stop_typefinding):
23344         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23345         (gst_bin_remove_func), (gst_bin_get_state_func),
23346         (gst_bin_recalc_state), (gst_bin_change_state_func),
23347         (bin_bus_handler):
23348         * gst/gstelement.c: (gst_element_get_state_func),
23349         (gst_element_get_state), (gst_element_abort_state),
23350         (gst_element_commit_state), (gst_element_set_state),
23351         (gst_element_change_state), (gst_element_change_state_func):
23352         * gst/gstelement.h:
23353         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
23354         (gst_pipeline_provide_clock_func):
23355         * gst/gstutils.c: (gst_element_link_pads_filtered):
23356         * tools/gst-launch.c: (main):
23357         * tools/gst-typefind.c: (main):
23358         Use GstClockTime in _get_state() instead of GTimeVal.
23359         Remove old code in gstutils.c
23360
23361 2005-10-12  Andy Wingo  <wingo@pobox.com>
23362
23363         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
23364         removed.
23365
23366         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
23367         there is no task. Shouldn't affect any code, as nothing in our
23368         plugins checks this return value.
23369         (gst_pad_stop_task): Also take the stream lock if the pad has no
23370         task. Docs updated.
23371
23372 2005-10-12  Wim Taymans  <wim@fluendo.com>
23373
23374         * gst/gstpad.c: (pre_activate), (post_activate),
23375         (gst_pad_activate_pull), (gst_pad_activate_push):
23376         Cleanup activation code. Reset old state if
23377         activation failed.
23378
23379 2005-10-12  Wim Taymans  <wim@fluendo.com>
23380
23381         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23382         (gst_base_sink_change_state):
23383         No need to prerol after receiving EOS.
23384
23385         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23386         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
23387         * gst/elements/gstidentity.c: (gst_identity_event):
23388         Print events more verbosely.
23389
23390 2005-10-12  Wim Taymans  <wim@fluendo.com>
23391
23392         * check/Makefile.am:
23393         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
23394         * check/states/sinks2.c:
23395         Moved sinks2 testcode in sinks check.
23396
23397         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
23398         (gst_bin_remove_func), (gst_bin_recalc_state),
23399         (gst_bin_change_state_func), (bin_bus_handler):
23400         Fix potential race condition when _get_state() iterated over an
23401         ASYNC element right before it posted a state completion.
23402
23403         * gst/gstclock.h:
23404         Do proper cast here.
23405
23406         * gst/gstevent.c: (gst_event_new_newsegment),
23407         (gst_event_parse_newsegment):
23408         A playback rate of 0.0 is not allowed.
23409
23410 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23411
23412         * win32/common/config.h:
23413         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
23414         (_trewinddir), (_ttelldir), (_tseekdir):
23415         * win32/common/dirent.h:
23416         * win32/common/gtchar.h:
23417         * win32/common/libgstbase.def:
23418         * win32/common/libgstreamer.def:
23419         * win32/vs6/grammar.dsp:
23420         * win32/vs6/gst_inspect.dsp:
23421         * win32/vs6/gst_launch.dsp:
23422         * win32/vs6/gstreamer.dsw:
23423         * win32/vs6/libgstbase.dsp:
23424         * win32/vs6/libgstelements.dsp:
23425         * win32/vs6/libgstreamer.dsp:
23426           Visual Studio 6 project files, and a new common directory.
23427           Phear.
23428
23429 2005-10-11  Wim Taymans  <wim@fluendo.com>
23430
23431         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23432         (gst_base_sink_do_sync), (gst_base_sink_query),
23433         (gst_base_sink_change_state):
23434         * gst/base/gstbasesink.h:
23435         Correctly parse newsegment info.
23436
23437 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23438
23439         * gst/gst.c: (init_post):
23440           split plugin paths correctly
23441
23442 2005-10-11  Wim Taymans  <wim@fluendo.com>
23443
23444         * check/gst/gstevent.c: (GST_START_TEST):
23445         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23446         (gst_base_sink_change_state):
23447         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
23448         * gst/base/gstbasetransform.c: (gst_base_transform_event):
23449         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23450         * gst/gstevent.c: (gst_event_new_newsegment),
23451         (gst_event_parse_newsegment):
23452         * gst/gstevent.h:
23453         Added extra flag to newsegment for future API freeze.
23454         Updated check and base elements.
23455
23456 2005-10-11  Julien MOUTTE  <julien@moutte.net>
23457
23458         * gst/base/gstcollectpads.c: (gst_collectpads_init),
23459         (gst_collectpads_add_pad), (gst_collectpads_pop),
23460         (gst_collectpads_event), (gst_collectpads_chain):
23461         * gst/base/gstcollectpads.h: Handle EOS correctly.
23462
23463 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23464
23465         * tools/gst-launch.c: (main):
23466           more null protecting
23467
23468 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23469
23470         * gst/gst-i18n-lib.h:
23471           check for ENABLE_NLS, not GETTEXT_PACKAGE
23472         * gst/gstregistry.c: (gst_registry_add_plugin),
23473         (gst_registry_scan_path_level),
23474         (_gst_registry_remove_cache_plugins):
23475           protect possibly NULL strings
23476         * gst/parse/types.h:
23477           config.h already included before
23478         * tools/gst-inspect.c: (main):
23479           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
23480           check for ENABLE_NLS, not GETTEXT_PACKAGE
23481         * tools/gst-launch.c: (main):
23482           check for ENABLE_NLS, not GETTEXT_PACKAGE
23483
23484 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23485
23486         * configure.ac:
23487           if we don't have glib, fail before testing 2.8
23488         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
23489           fix a leak, should fix plugins-base testsuite
23490
23491 2005-10-11  Andy Wingo  <wingo@pobox.com>
23492
23493         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
23494         take the mode we're going to as an arg. Go head and set the mode
23495         and flushing flags now, so that if the activate function starts a
23496         thread all the flags will be in the right state.
23497         (post_activate): Renamed also. Just handle making sure streaming
23498         finishes for the deactivation case, and setting the deactivated
23499         mode.
23500         (gst_pad_set_active): Complain loudly if deactivation fails.
23501         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
23502         (gst_pad_activate_push): Adapt to pre/post_activate changes,
23503         remove the terrible hack.
23504
23505 2005-10-11  Wim Taymans  <wim@fluendo.com>
23506
23507         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23508         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
23509         (gst_bin_recalc_state), (gst_bin_change_state_func),
23510         (gst_bin_dispose), (bin_bus_handler):
23511         * gst/gstbin.h:
23512         Prepare to make current EOS message queue more generic.
23513         Fix some typos.
23514
23515         * gst/gstevent.c: (gst_event_new_newsegment),
23516         (gst_event_parse_newsegment):
23517         * gst/gstevent.h:
23518         Rename base to stream_time.
23519
23520         * gst/gstmessage.h:
23521         Fix typo in docs.
23522
23523 2005-10-11  Wim Taymans  <wim@fluendo.com>
23524
23525         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
23526         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
23527         (gst_bin_change_state_func), (bin_bus_handler):
23528         * gst/gstbin.h:
23529         Work on proper clock selection.
23530
23531 2005-10-11  Edward Hervey  <edward@fluendo.com>
23532
23533         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
23534         * libs/gst/controller/gstcontroller.h:
23535         Added GList* version of _remove_properties() in order to be able to wrap
23536         it in bindings.
23537
23538 2005-10-11  Wim Taymans  <wim@fluendo.com>
23539
23540         * docs/design/part-states.txt:
23541         Some more docs.
23542
23543         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
23544         (gst_bin_change_state_func), (bin_bus_handler):
23545         Doc updates. Don't distribute the same clock over and over again.
23546
23547         * gst/gstclock.c:
23548         * gst/gstclock.h:
23549         Doc updates.
23550
23551         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
23552         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
23553         (gst_pad_send_event):
23554         * gst/gstpad.h:
23555         Make probe emission threadsafe again.
23556         Register quarks and move _get_name() from utils.
23557         Doc updates.
23558
23559         * gst/gstpipeline.c: (gst_pipeline_class_init),
23560         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23561         Only redistribute the clock of it changed.
23562
23563         * gst/gstsystemclock.h:
23564         Doc updates. 
23565
23566         * gst/gstutils.c:
23567         * gst/gstutils.h:
23568         Moved the _flow_get_name() to GstPad.
23569
23570 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23571
23572         * check/gst-libs/gdp.c: (GST_START_TEST):
23573         * check/gst/gstcaps.c: (GST_START_TEST):
23574         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
23575         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
23576         (gst_dp_packet_from_caps):
23577           fix more valgrind warnings before turning up the heat
23578
23579 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23580
23581         * gst/parse/grammar.y:
23582           some cleanup before the hacking
23583
23584 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23585
23586         * gst/base/gstbasesrc.c: (gst_base_src_query):
23587           use conversions
23588         * gst/gstutils.c: (gst_guint64_to_gdouble),
23589         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
23590         * gst/gstutils.h:
23591           externalize, basesrc uses it
23592           obviously the implementation needs testing
23593
23594 2005-10-10  Wim Taymans  <wim@fluendo.com>
23595
23596         * tests/sched/Makefile.am:
23597         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
23598         (make_pipeline3), (make_pipeline4), (print_elem), (main):
23599
23600 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23601
23602         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
23603           apparently converting from guint64 to double is not implemented
23604           on MSVC
23605
23606 2005-10-10  Wim Taymans  <wim@fluendo.com>
23607
23608         * check/Makefile.am:
23609         * check/generic/states.c: (GST_START_TEST):
23610         * check/gst/gstbin.c: (GST_START_TEST):
23611         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23612         * check/states/sinks.c: (GST_START_TEST):
23613         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
23614         (main):
23615         Check fixes, use API as stated in design docs, remove hacks.
23616
23617         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23618         (gst_base_sink_change_state):
23619         Catch stopping our task while we're shutting down.
23620
23621         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
23622         (gst_bin_remove_func), (gst_bin_get_state_func),
23623         (gst_bin_recalc_state), (gst_bin_change_state_func),
23624         (bin_bus_handler):
23625         * gst/gstbin.h:
23626         * gst/gstelement.c: (gst_element_init),
23627         (gst_element_get_state_func), (gst_element_abort_state),
23628         (gst_element_commit_state), (gst_element_lost_state),
23629         (gst_element_set_state), (gst_element_change_state),
23630         (gst_element_change_state_func):
23631         * gst/gstelement.h:
23632         New state change algorithm (see #318116)
23633
23634         * gst/gstpipeline.c: (gst_pipeline_class_init),
23635         (gst_pipeline_init), (gst_pipeline_set_property),
23636         (gst_pipeline_get_property), (do_pipeline_seek),
23637         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
23638         * gst/gstpipeline.h:
23639         Remove crude state change hacks.
23640
23641         * gst/gstutils.h:
23642         Remove crude hacks.
23643
23644         * tools/gst-launch.c: (main):
23645         Fixes for state change. Needs some more work to fully use the
23646         new stuff.
23647
23648 2005-10-10  Andy Wingo  <wingo@pobox.com>
23649
23650         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
23651
23652         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
23653         this flag, but it's not even in GLib 2.6. Odd. Hack around the
23654         issue.
23655
23656 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23657
23658         * gst/gstiterator.c: (gst_iterator_new):
23659           Fix my previous commit: GTypes passed to gst_iterator_new()
23660           can be fundamental types.
23661
23662 2005-10-10  Wim Taymans  <wim@fluendo.com>
23663
23664         * gst/gstelement.c: (gst_element_iterate_pad_list),
23665         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
23666         (gst_element_iterate_sink_pads):
23667         Use src/sink pads lists for the respective iterators instead
23668         of filtering.
23669
23670 2005-10-10  Andy Wingo  <wingo@pobox.com>
23671
23672         Merged in popt removal + GOption addition patch from Ronald, bug
23673         #169772.
23674
23675         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
23676         GstElement macros around, remove popt-related symbols, add goption
23677         stuff.
23678
23679         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
23680         
23681         * docs/gst/Makefile.am:
23682         * docs/libs/Makefile.am: No POPT_CFLAGS.
23683         
23684         * examples/manual/Makefile.am:
23685         * docs/manual/basics-init.xml: Doc updates with an example.
23686         
23687         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
23688         (gst_init), (parse_one_option), (parse_goption_arg):
23689         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
23690         bit of hand merging and debugging to get the GOption stuff working
23691         tho.
23692         
23693         * tests/Makefile.am:
23694         * tools/Makefile.am:
23695         * tools/gst-inspect.c: (main):
23696         * tools/gst-launch.c: (main):
23697         * tools/gst-run.c: (main):
23698         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
23699
23700 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23701
23702         * gst/gstiterator.c: (gst_iterator_new):
23703           Add assertions to make sure passed GType is likely to really
23704           be a GType (as the compiler won't catch it if the size and
23705           GType arguments get mixed up, see #318447).
23706
23707 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
23708
23709         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23710
23711         * gst/gstbin.c: (gst_bin_iterate_sorted):
23712           Pass GType and size arguments to gst_iterator_new() in the right
23713           order (maybe we should make _new() take the GType as first argument
23714           just like _new_list()?) (#318447).
23715           
23716
23717 2005-10-10  Wim Taymans  <wim@fluendo.com>
23718
23719         * gst/gstelement.c: (gst_element_finalize):
23720         And free the GStaticRecMutex too
23721
23722 2005-10-10  Andy Wingo  <wingo@pobox.com>
23723
23724         * gst/gstelement.c (gst_element_init, gst_element_finalize):
23725         Allocate and free the mutex properly.
23726
23727         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
23728         New macros.
23729         (GstElement): The state_lock is now recursive. Rebuild your
23730         plugins, suckers. Old macros adapted.
23731
23732         * docs/gst/gstreamer-sections.txt: Doc updates.
23733
23734         * gst/gstutils.h:
23735         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
23736         (g_static_rec_cond_wait): Ported from state changes patch, while
23737         we wait on bug #317802 to be solved in a well-distributed GLib.
23738
23739         * gst/gstelement.c (gst_element_change_state_func): Renamed from
23740         gst_element_change_state, variable name changes.
23741         (gst_element_change_state): Split out of gst_element_set_state in
23742         preparation for the state change merge. Doesn't pay attention to
23743         the 'transition' argument.
23744         (gst_element_set_state): Updates, hopefully purely cosmetic.
23745         (gst_element_sync_state_with_parent): MT-safety. Ported from the
23746         state change patch.
23747         (gst_element_get_state_func): Renamed from get_state, cosmetic
23748         changes.
23749
23750 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23751
23752         * gst/elements/gstelements.c:
23753         * win32/GStreamer.vcproj:
23754         * win32/config.h:
23755         * win32/dirent.c: (_tseekdir):
23756         * win32/gst-inspect.vcproj:
23757         * win32/gst-launch.vcproj:
23758         * win32/gstconfig.h:
23759         * win32/gstelements.vcproj:
23760         * win32/gstenumtypes.c: (gst_object_flags_get_type):
23761         * win32/gstreamer.def:
23762         * win32/msvc71.sln:
23763           updates for the win32 build (patch from Sebastien Moutte)
23764
23765 2005-10-10  Andy Wingo  <wingo@pobox.com>
23766
23767         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
23768         gst_bin_get_state, cleaned up (but no logic changes).
23769         (bin_element_is_sink): Comment updates.
23770         (sink_iterator_filter): Remove needless cast.
23771         (gst_bin_iterate_sinks): Doc update.
23772         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
23773         cleaned up (but no logic changes).
23774
23775         * check/states/sinks.c (test_src_sink): Cleanups from the state
23776         change patch.
23777         (test_livesrc_sink): Sync on the state.
23778
23779         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
23780         the state change patch.
23781
23782         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
23783         change patch.
23784
23785         * check/gst/gstbin.c: Merge in some style fixes and additional
23786         checks from Wim's state change patch.
23787
23788 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
23789
23790         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23791         (gst_type_find_helper):
23792           Check whether we have the requested data already in our list of
23793           cached buffers before pulling a new buffer; also make the buffer
23794           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
23795
23796 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23797
23798         * gst/gstcaps.c:
23799         * gst/gstevent.c:
23800           doc updates
23801         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23802           don't use long long, it's not portable.  Replacing with
23803           gint64 seems to work; let's hope no skeletons fall out of the closet.
23804
23805 2005-10-10  Andy Wingo  <wingo@pobox.com>
23806
23807         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
23808
23809 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
23810
23811         * docs/gst/gstreamer-sections.txt:
23812         * gst/gstevent.c:
23813         * gst/gstevent.h:
23814         * gst/gstinfo.c:
23815         * gst/gstinfo.h:
23816         * gst/gstmessage.c: (gst_message_parse_state_changed):
23817         * gst/gstpad.c:
23818         * gst/gstpad.h:
23819           more docs, fix compilation
23820
23821 2005-10-09  Philippe Khalaf <burger@speedy.org>
23822         * gst/gstmessage.c:
23823           Fixed a few forgotten variables on previous commit
23824
23825 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
23826
23827         * gst/base/gsttypefindhelper.c: (helper_find_peek):
23828           Fix evil typefind crasher: getrange() might return a short
23829           buffer at the end of a file, but gst_type_find_peek() must
23830           either return the full data as requested or NULL, but
23831           never a short buffer.
23832
23833 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23834
23835         * gst/gstmessage.c: (gst_message_new_state_changed),
23836         (gst_message_parse_state_changed):
23837         * gst/gstmessage.h:
23838           don't use "new", it's a C++ keyword
23839
23840 2005-10-08  Wim Taymans  <wim@fluendo.com>
23841
23842         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
23843         * gst/gstelement.c: (gst_element_post_message):
23844         * gst/gstpipeline.c: (gst_pipeline_change_state):
23845         Small docs and debug updates.
23846
23847 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23848
23849         * docs/gst/gstreamer-sections.txt:
23850         * gst/gstelementfactory.c:
23851         * gst/gstevent.c:
23852         * gst/gsttaglist.c:
23853           more docs
23854
23855 2005-10-08  Wim Taymans  <wim@fluendo.com>
23856
23857         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
23858         (gst_bin_dispose), (bin_bus_handler):
23859         Fix typos, add comments.
23860         Clear EOS list when going to PAUSED from any direction and do it
23861         in a threadsafe way.
23862         Get base time in a threadsafe way too.
23863         Fix confusing debug in the change_state function.
23864         Various other small cleanups.
23865         
23866         * gst/gstelement.c: (gst_element_post_message):
23867         Fix very verbose bus posting code.
23868
23869         * gst/gstpipeline.c: (gst_pipeline_class_init),
23870         (gst_pipeline_set_property), (gst_pipeline_get_property),
23871         (gst_pipeline_change_state):
23872         Small ARG_ -> PROP_ cleanup
23873
23874 2005-10-08  Wim Taymans  <wim@fluendo.com>
23875
23876         * gst/gstbin.c: (is_eos), (bin_bus_handler):
23877         Do a less CPU demanding EOS check because we can.
23878
23879 2005-10-08  Wim Taymans  <wim@fluendo.com>
23880
23881         * libs/gst/dataprotocol/dataprotocol.c:
23882         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
23883         (gst_dp_packet_from_event):
23884         * libs/gst/dataprotocol/dataprotocol.h:
23885         * libs/gst/dataprotocol/dp-private.h:
23886         It's about time we bump the version number.
23887         Since event types don't fit in the guint8 anymore describing
23888         the payload type, make payload type 16 bits wide.
23889
23890 2005-10-08  Wim Taymans  <wim@fluendo.com>
23891
23892         * docs/design/part-TODO.txt:
23893         * docs/design/part-clocks.txt:
23894         * docs/design/part-events.txt:
23895         * docs/design/part-gstbin.txt:
23896         * docs/design/part-gstelement.txt:
23897         * docs/design/part-gstpipeline.txt:
23898         * docs/design/part-live-source.txt:
23899         * docs/design/part-messages.txt:
23900         * docs/design/part-overview.txt:
23901         * docs/design/part-states.txt:
23902         Many doc updates.
23903
23904 2005-10-08  Wim Taymans  <wim@fluendo.com>
23905
23906         * gst/gstevent.c:
23907         * gst/gstevent.h:
23908         Fix event quark registration.
23909         Add some space between events so we can insert them in the
23910         right groups.
23911
23912 2005-10-08  Wim Taymans  <wim@fluendo.com>
23913
23914         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23915         (gst_base_sink_handle_buffer):
23916         Better log message.
23917
23918         * gst/gstbus.h:
23919         * gst/gstelement.h:
23920         More docs.
23921
23922         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
23923         (gst_queue_set_property), (gst_queue_get_property):
23924         * gst/gstqueue.h:
23925         Remove old unused properties.
23926
23927 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
23928         * docs/gst/gstreamer-sections.txt:
23929         * gst/gstmessage.c:
23930         * gst/gstmessage.h:
23931         * gst/gstminiobject.c:
23932         * gst/gstminiobject.h:
23933         * gst/gstobject.h:
23934         * gst/gstpad.h:
23935         * gst/gstutils.h:
23936           lots of new docs and doc fixes
23937
23938 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23939
23940         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
23941         * gst/gstplugin.h:
23942         * gst/gstregistry.c: (gst_registry_lookup_locked),
23943         (gst_registry_scan_path_level):
23944         * gst/gstregistryxml.c: (load_plugin):
23945           Only ever load one plugin for a given plugin basename.
23946           This ensures correct overriding of GST_PLUGIN_PATH over
23947           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
23948           system installed plugins.
23949
23950 2005-10-08  Wim Taymans  <wim@fluendo.com>
23951
23952         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23953         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
23954         Prepare for doing QOS.
23955
23956 2005-10-08  Wim Taymans  <wim@fluendo.com>
23957
23958         * check/gst/gstbin.c: (GST_START_TEST):
23959         * check/pipelines/cleanup.c: (GST_START_TEST):
23960         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23961         Allow new clock message too.
23962
23963 2005-10-08  Wim Taymans  <wim@fluendo.com>
23964
23965         * gst/gstmessage.c: (gst_message_new_error),
23966         (gst_message_new_warning), (gst_message_new_tag),
23967         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23968         (gst_message_new_clock_lost), (gst_message_new_new_clock),
23969         (gst_message_new_segment_start), (gst_message_new_segment_done),
23970         (gst_message_parse_state_changed),
23971         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
23972         (gst_message_parse_new_clock):
23973         * gst/gstmessage.h:
23974         Also carry the clock in question.
23975
23976 2005-10-08  Wim Taymans  <wim@fluendo.com>
23977
23978         * gst/gstmessage.c: (gst_message_new_custom),
23979         (gst_message_new_eos), (gst_message_new_error),
23980         (gst_message_new_warning), (gst_message_new_tag),
23981         (gst_message_new_state_changed), (gst_message_new_clock_provide),
23982         (gst_message_new_new_clock), (gst_message_new_segment_start),
23983         (gst_message_new_segment_done), (gst_message_parse_state_changed),
23984         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
23985         * gst/gstmessage.h:
23986         Clean up.
23987         Added clock related messages.
23988
23989         * gst/gstpipeline.c: (gst_pipeline_change_state):
23990         Post message when the clock changed.
23991
23992         * tools/gst-launch.c: (event_loop):
23993         Print new clock.
23994
23995 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
23996
23997         * tools/gst-inspect.c: (print_element_properties_info):
23998           Can't pass NULL strings to g_print() on windows.
23999
24000 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24001
24002         * docs/Makefile.am:
24003         * docs/gst/Makefile.am:
24004         * docs/gst/gstreamer-docs.sgml:
24005         * docs/gst/running.xml:
24006         * docs/version.entities.in:
24007           add a chapter on running GStreamer.
24008           document GST_DEBUG and GST_PLUGIN* env vars
24009
24010 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24011
24012         * Makefile.am:
24013           remove include dir
24014         * configure.ac:
24015           remove PLUGINS_BUILDDIR stuff
24016         * gst/gst.c: (init_post):
24017           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
24018         * idiottest.mak:
24019           remove, it was condescending and not needed
24020
24021 2005-10-08  Wim Taymans  <wim@fluendo.com>
24022
24023         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
24024         (gst_base_sink_handle_object), (gst_base_sink_event),
24025         (gst_base_sink_wait), (gst_base_sink_handle_event),
24026         (gst_base_sink_change_state):
24027         * gst/base/gstbasesink.h:
24028         Repost EOS message while going to PLAYING if still EOS.
24029         Make sure that when receiving a FLUSH_START we don't attempt
24030         to sync on the clock anymore.
24031
24032 2005-10-08  Wim Taymans  <wim@fluendo.com>
24033
24034         * tools/gst-launch.c: (event_loop):
24035         Better message printout.
24036
24037 2005-10-08  Wim Taymans  <wim@fluendo.com>
24038
24039         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
24040         (gst_bin_child_proxy_get_children_count):
24041         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24042         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
24043         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
24044         (gst_child_proxy_set_valist):
24045         * gst/parse/grammar.y:
24046         Make ChildProxy threadsafe and fix mem leaks.
24047
24048 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24049
24050         * gst/gst.c: (init_post):
24051           debug the GST_PLUGIN_ env vars
24052
24053 2005-10-08  Wim Taymans  <wim@fluendo.com>
24054
24055         * check/gst/gstbin.c: (GST_START_TEST):
24056         * check/gst/gstmessage.c: (GST_START_TEST):
24057         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
24058         * gst/gstelement.c: (gst_element_commit_state),
24059         (gst_element_lost_state):
24060         * gst/gstmessage.c: (gst_message_new_state_changed),
24061         (gst_message_parse_state_changed):
24062         * gst/gstmessage.h:
24063         * tools/gst-launch.c: (event_loop):
24064         Added extra field to STATE_CHANGE message with the pending
24065         state, which will be different from the new state soon.
24066
24067 2005-10-08  Wim Taymans  <wim@fluendo.com>
24068
24069         * gst/gstbus.c: (gst_bus_pop):
24070         * gst/gstclock.c:
24071         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
24072         Small cleanups and doc updates.
24073
24074 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24075
24076         * gst/gst.c: (init_pre):
24077         * gst/gstbin.c: (gst_bin_add_func):
24078           log distributing clocks and base time
24079         * gst/gstregistry.c: (gst_registry_add_plugin),
24080         (gst_registry_scan_path_level), (gst_registry_scan_path):
24081           clean up the debugging output a little
24082         * gst/gstutils.c: (gst_element_state_get_name):
24083           warn about a memleak (I've actually seen this be used, though
24084           it was probably a bug)
24085
24086 2005-10-07  Wim Taymans  <wim@fluendo.com>
24087
24088         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24089         (gst_base_src_init), (gst_base_src_default_newsegment),
24090         (gst_base_src_newsegment), (gst_base_src_do_seek),
24091         (gst_base_src_loop), (gst_base_src_start):
24092         * gst/base/gstbasesrc.h:
24093         Make the newsegment event customizable by subclasses.
24094
24095 2005-10-07  Wim Taymans  <wim@fluendo.com>
24096
24097         * gst/gstevent.c: (gst_event_new_buffersize),
24098         (gst_event_parse_buffersize):
24099         * gst/gstevent.h:
24100         New event for future idea.
24101
24102 2005-10-07  Andy Wingo  <wingo@pobox.com>
24103
24104         * gst/gstelement.c (gst_element_post_message): Doc update.
24105
24106         * docs/gst/gstreamer-sections.txt: Update.
24107
24108         * gst/gstmessage.c (gst_message_new_application): Made into a
24109         function like honest API calls.
24110         (gst_message_new_element): New message type.
24111
24112         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
24113
24114         * check/elements/fakesrc.c (test_no_preroll): New check, checks
24115         that setting a live fakesrc to PAUSED returns NO_PREROLL both
24116         times.
24117
24118         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
24119         NO_PREROLL from gst_element_change_state to fall through.
24120
24121 2005-10-07  Wim Taymans  <wim@fluendo.com>
24122
24123         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
24124         (gst_ghost_pad_do_activate_push):
24125         Activating a ghostpad with no internal pad in push mode
24126         is ok.
24127
24128 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24129
24130         * gst/gstobject.h:
24131           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
24132           Fixes compilation on Windows.
24133
24134 2005-10-07  Michael Smith <msmith@fluendo.com>
24135
24136         * tools/gst-inspect.c:
24137           Print out feature and plugin count at the end when printing out
24138           all features.
24139
24140 2005-10-04  Michael Smith <msmith@fluendo.com>
24141
24142         * gst/gsterror.c: (_gst_stream_errors_init):
24143           Add another error string used in a few existing plugins.
24144
24145         * gst/gstplugin.c:
24146         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
24147         * tools/gst-inspect.c: (print_element_info):
24148           When a feature disappears from a plugin (and the feature exists in
24149           the cached registry file), things went horribly wrong. This isn't a
24150           complete fix, we should actually be removing the 'missing' features
24151           from the features list when we load the actual plugin. That's not
24152           yet implemented. 
24153
24154 2005-10-04  Johan Dahlin  <johan@gnome.org>
24155
24156         * check/gst/gstiterator.c: (GST_START_TEST):
24157         * gst/gstbin.c: (gst_bin_iterate_elements),
24158         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
24159         * gst/gstelement.c: (gst_element_iterate_pads):
24160         * gst/gstformat.c: (gst_format_iterate_definitions):
24161         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
24162         (gst_iterator_new_list), (gst_iterator_filter):
24163         * gst/gstiterator.h:
24164         * gst/gstquery.c: (gst_query_type_iterate_definitions):
24165         Add a GType to GstIterator, update callsites and tests.
24166
24167 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24168
24169         * gst/gstpad.c: (gst_pad_event_default_dispatch):
24170           give events a chance to be handled by event probes when the pad
24171           is not linked
24172
24173 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24174
24175         * gst/gstevent.c: (gst_event_type_get_name),
24176         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
24177         * gst/gstevent.h:
24178           add string representations for event types
24179
24180 2005-10-06  Wim Taymans  <wim@fluendo.com>
24181
24182         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
24183         Don't use NULL pointers.
24184
24185 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24186
24187         * gst/gst_private.h:
24188         * gst/gstbus.c:
24189         * gst/gstelement.c:
24190         * gst/gstinfo.c:
24191         * gst/gstpluginfeature.c:
24192           widen the debug category in output to fit the biggest one we have
24193           add a bus category and use it
24194           play with the colors
24195           fix up some categories
24196
24197 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24198
24199         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
24200           add push activation of sink ghost pads.
24201           Andye, please verify
24202
24203 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24204
24205         * gst/gstutils.c: (gst_element_link_pads):
24206           fix a bug in the case where neither element has a pad
24207         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24208           add a test for that case
24209
24210 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24211
24212         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
24213           emit have-data before checking for peers.  This allows
24214           for probe handlers to connect elements.  This helps autopluggers.
24215         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
24216         (gst_pad_suite):
24217           add six checks, linked/unlinked with no/true/false probe
24218
24219 2005-10-04  Wim Taymans  <wim@fluendo.com>
24220
24221         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
24222         (gst_fake_sink_event), (gst_fake_sink_preroll),
24223         (gst_fake_sink_render), (gst_fake_sink_change_state):
24224         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
24225         (gst_fake_src_get_property), (gst_fake_src_create),
24226         (gst_fake_src_stop):
24227         * gst/elements/gstidentity.c: (gst_identity_stop):
24228         Protect last_message with lock.
24229
24230 2005-10-04  Edward Hervey  <edward@fluendo.com>
24231
24232         * gst/gstformat.h: 
24233         Added precision in the comments for GST_FORMAT_DEFAULT
24234
24235 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
24236
24237         * tools/gst-launch.c: (main):
24238           Don't try to run erroneous pipelines.
24239
24240 2005-10-04  Julien MOUTTE  <julien@moutte.net>
24241
24242         * gst/gstbus.c: We don't need this header.
24243
24244 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24245
24246         * configure.ac:
24247           back to development
24248
24249 === release 0.9.3 ===
24250
24251 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24252
24253         * README:
24254         * configure.ac:
24255           Releasing 0.9.3, "Unregistered"
24256
24257 2005-10-03  Andy Wingo  <wingo@pobox.com>
24258
24259         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
24260         whereby calling a pad's activatepush() function can start a thread
24261         that starts to push or pull before the pad gets the FLUSHING flag
24262         unset. Hack around it by holding the stream lock until the flag is
24263         set. Need to replace this with a proper solution. Together with
24264         the ghost pad fixes, this fixes mp3 playing/tagreading.
24265
24266         * docs/design/part-gstghostpad.txt: Add a note about activation of
24267         proxy pads outside of ghost pads.
24268
24269         * gst/gstghostpad.c: Implement the ghost pad activation design.
24270
24271 2005-10-02  Andy Wingo  <wingo@pobox.com>
24272
24273         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
24274         It is volatile, after all.
24275
24276         * docs/design/part-gstghostpad.txt: Flesh out activation with
24277         ghost pads.
24278
24279         * gst/base/gstbasesrc.c (gst_base_src_init): Use
24280         GST_DEBUG_FUNCPTR.
24281
24282 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
24283
24284         * configure.ac:
24285           Fix (unused) AM_CONDITIONAL tests.
24286
24287 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
24288
24289         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
24290
24291         * gst/gstutils.c: (gst_pad_query_convert):
24292           Add assertion that makes sure src_val is >=0, just like
24293           gst_query_new_convert() has. (#315895)
24294
24295 2005-09-30  Edward Hervey  <edward@fluendo.com>
24296
24297         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
24298         Let's not iterate pads we're not interested in, it avoids getting 
24299         sky-high refcounts on sinkpad.
24300
24301 2005-09-30  Wim Taymans  <wim@fluendo.com>
24302
24303         * gst/gstelement.c: (gst_element_set_state),
24304         (gst_element_change_state):
24305         Small tweak, element in ASYNC remains ASYNC.
24306
24307 2005-09-30  Wim Taymans  <wim@fluendo.com>
24308
24309         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
24310         Only error is an error.
24311
24312         * gst/gstbin.c: (gst_bin_change_state):
24313         Better debugging.
24314
24315         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
24316         Also call pad_block in pad alloc.
24317
24318         * gst/gstutils.c: (gst_flow_get_name):
24319         Better debugging.
24320
24321 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24322
24323         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24324         (gst_base_src_get_range):
24325           Fix documentation typos. Add some more debug info.
24326
24327 2005-09-29  David Schleef  <ds@schleef.org>
24328
24329         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
24330           more end-user friendly.
24331         * tools/gst-inspect.c: (main): Check if command-line argument is
24332           a file and attempt to load that file as a plugin.
24333
24334 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24335
24336         * check/gst/gstbin.c:
24337         * check/states/sinks.c:
24338           fix tests for the new warning
24339         * check/gst/gstpipeline.c:
24340           add a test for pipeline and bus interaction
24341         * gst/gstelement.c:
24342           elements should be NULL if they get disposed; add a warning if not
24343
24344 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24345
24346         * gst/gstobject.c:
24347           for 2.6 refcounting, make debug log more correct by printing
24348           the actual refcounts at the time of swap (Wim)
24349
24350 2005-09-29  Andy Wingo  <wingo@pobox.com>
24351
24352         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
24353         removes signal watches previously added via
24354         gst_bus_add_signal_watch.
24355         (gst_bus_add_signal_watch): Don't return the source id, just store
24356         it on the bus if there wasn't an id already.
24357
24358         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
24359         add_signal_watch and remove_signal_watch.
24360
24361 2005-09-29  Edward Hervey  <edward@fluendo.com>
24362
24363         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
24364         Better if we actually iterate the list :)
24365
24366 2005-09-29  Wim Taymans  <wim@fluendo.com>
24367
24368         * check/gst/gstbin.c: (GST_START_TEST):
24369         Change for new bus API.
24370
24371         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
24372         (send_messages), (GST_START_TEST), (gstbus_suite):
24373         Change for new bus signal API.
24374
24375         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
24376         (gst_bus_source_prepare), (gst_bus_source_check),
24377         (gst_bus_create_watch), (gst_bus_add_watch_full),
24378         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
24379         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
24380         * gst/gstbus.h:
24381         Remove support for multiple GSources operating on different
24382         message types as it is too complex and unneeded when using
24383         signals.
24384         Added support for receiving signals from the bus.
24385
24386 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24387
24388         * docs/libs/tmpl/gstdataprotocol.sgml:
24389         * docs/manual/advanced-dataaccess.xml:
24390         * gst/elements/gstcapsfilter.c:
24391         * gst/gstutils.c:
24392           rename filter-caps to caps property
24393
24394 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24395
24396         * gst/gstvalue.c: (gst_value_deserialize_fraction):
24397           More robust fraction string parsing.
24398
24399         * docs/pwg/appendix-porting.xml:
24400           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
24401
24402 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
24403
24404         * gst/gstcaps.c: (gst_caps_do_simplify):
24405           Thou shalt not free a structure and then continue using it
24406           in the next loop iteration.
24407
24408         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
24409         (gst_caps_suite):
24410           Add test case for caps simplification.
24411
24412 2005-09-29  Wim Taymans  <wim@fluendo.com>
24413
24414         * check/gst/gstbin.c: (GST_START_TEST):
24415         Oops.
24416
24417 2005-09-29  Wim Taymans  <wim@fluendo.com>
24418
24419         * check/gst/gstbin.c: (GST_START_TEST):
24420         Add bus to bin.
24421
24422         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
24423         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24424         (find_element), (gst_bin_sort_iterator_next),
24425         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24426         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24427         (gst_bin_change_state), (gst_bin_dispose):
24428         A bin does not have a bus, it gets the bus from the parent.
24429
24430         * gst/gstelement.c: (gst_element_requires_clock),
24431         (gst_element_provides_clock), (gst_element_is_indexable),
24432         (gst_element_is_locked_state), (gst_element_change_state),
24433         (gst_element_set_bus_func):
24434         Small cleanups.
24435
24436         * gst/gstpipeline.c: (gst_pipeline_class_init),
24437         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
24438         The pipeline provides a bus.
24439
24440 2005-09-28  Johan Dahlin  <johan@gnome.org>
24441
24442         * gst/gstmessage.c (gst_message_parse_state_changed): Use
24443         gst_structure_get_enum instead of gst_structure_get_int
24444
24445         * gst/gststructure.c (gst_structure_get_enum): Impl.
24446
24447         * gst/gststructure.h (gst_structure_get_enum): Add
24448
24449         * docs/gst/gstreamer-sections.txt: Ditto
24450
24451         * gst/gstmessage.c (gst_message_new_state_changed): Use
24452         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
24453         which does introspection.
24454         Reviewed by Christian Schaller
24455
24456 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24457
24458         * gst/gstinfo.c: (gst_debug_log_default):
24459           don't do dummy g_strdup()s
24460         * libs/gst/controller/gstcontroller.c:
24461         (on_object_controlled_property_changed),
24462         (gst_controlled_property_new), (gst_controller_new_valist),
24463         (gst_controller_new_list),
24464         (gst_controller_remove_properties_valist), (gst_controller_set),
24465         (gst_controller_get), (gst_controller_sync_values),
24466         (gst_controller_get_value_array), (_gst_controller_class_init),
24467         (gst_controller_get_type):
24468         * libs/gst/controller/gstcontroller.h:
24469         * libs/gst/controller/gstinterpolation.c:
24470         (gst_controlled_property_find_timed_value_node):
24471           convert // to /**/ comments
24472
24473 2005-09-28  Wim Taymans  <wim@fluendo.com>
24474
24475         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
24476         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
24477         (gst_bus_sync_signal_handler):
24478         * gst/gstbus.h:
24479         Added async-message and sync-message signals to the bus.
24480         Added helper BusFunc to emit signals for all posted messages.
24481
24482         * gst/gstmessage.c: (gst_message_type_get_name),
24483         (gst_message_type_to_quark), (gst_message_get_type):
24484         * gst/gstmessage.h:
24485         Register quarks for message names.
24486
24487 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
24488
24489         * docs/libs/gstreamer-libs-sections.txt:
24490         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
24491         (gst_controller_new_list):
24492         * libs/gst/controller/gstcontroller.h:
24493           added another constructor for language bindings
24494
24495 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
24496
24497         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24498           add another check
24499         * gst/gstbus.c:
24500           add some doc
24501         * gst/gstinfo.c: (_gst_debug_init):
24502           slightly more readable color for refcount debugging
24503
24504 2005-09-28  Wim Taymans  <wim@fluendo.com>
24505
24506         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
24507         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
24508         (find_element), (gst_bin_sort_iterator_next),
24509         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24510         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24511         (gst_bin_change_state), (gst_bin_dispose):
24512         Small doc fixes. get_clock -> provide_clock.
24513
24514         * gst/gstelement.c: (gst_element_class_init),
24515         (gst_element_provides_clock), (gst_element_provide_clock),
24516         (gst_element_get_clock), (gst_element_commit_state),
24517         (gst_element_lost_state):
24518         * gst/gstelement.h:
24519         Make get/set_clock() symetric. Add provide_clock vmethod since
24520         that is actually what this function does.
24521
24522         * gst/gstpipeline.c: (gst_pipeline_class_init),
24523         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
24524         (gst_pipeline_get_clock):
24525         get_clock -> provide_clock.
24526
24527 2005-09-28  Andy Wingo  <wingo@pobox.com>
24528
24529         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
24530         lieu of real docs...
24531
24532         * gst/elements/gstfdsrc.c: Cleaned up a bit.
24533
24534 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
24535
24536         * gst/elements/gstcapsfilter.c:
24537         * gst/elements/gstfakesink.c:
24538         * gst/elements/gstfakesrc.c:
24539         * gst/elements/gstfdsink.c:
24540         * gst/elements/gstfdsrc.c:
24541         * gst/elements/gstfilesink.c:
24542         * gst/elements/gstfilesrc.c:
24543         * gst/elements/gstidentity.c:
24544         * gst/elements/gsttee.c:
24545         * gst/elements/gsttypefindelement.c:
24546           Make element details static.
24547
24548 2005-09-28  Wim Taymans  <wim@fluendo.com>
24549
24550         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24551         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24552         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24553         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24554         (gst_bin_change_state), (gst_bin_dispose):
24555         Some documentation updates.
24556         Clean up dispose handlers.
24557
24558         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
24559         * gst/gstpad.c: (gst_pad_dispose):
24560         Clean up dispose handler.
24561
24562         * gst/gstpipeline.c: (gst_pipeline_change_state):
24563         Removed spurious UNLOCK.
24564
24565 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
24566
24567         * docs/gst/gstreamer-sections.txt:
24568         * gst/base/gstbasesrc.h:
24569         * gst/gstelement.h:
24570         * gst/gstevent.h:
24571         * gst/gstobject.h:
24572         * gst/gstpad.h:
24573         * gst/gstpipeline.c:
24574         * gst/gstpipeline.h:
24575         * gst/gstutils.h:
24576         * gst/gstxml.h:
24577           added two new functions to the docs
24578                 documents all undocumented GstXXXFlags
24579                 completed some incomplete docs 
24580
24581 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24582
24583         * gst/gstbin.c: (gst_bin_dispose):
24584         * gst/gstelement.c: (gst_element_dispose):
24585           remove now useless and leaky resurrection code in dispose
24586         * gst/base/gstbasesrc.c: (gst_base_src_init):
24587         * gst/gstelementfactory.c: (gst_element_factory_create):
24588         * gst/gstobject.c: (gst_object_set_parent):
24589           add some debugging
24590
24591 2005-09-27  Wim Taymans  <wim@fluendo.com>
24592
24593         * docs/design/part-TODO.txt:
24594         Update TODO.
24595
24596         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24597         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24598         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24599         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24600         (gst_bin_change_state):
24601         * gst/gstelement.h:
24602         Remove element variable, we keep element info in the iterator now.
24603
24604 2005-09-27  Andy Wingo  <wingo@pobox.com>
24605
24606         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
24607         values.
24608
24609 2005-09-27  Wim Taymans  <wim@fluendo.com>
24610
24611         * check/gst/gstbin.c: (GST_START_TEST):
24612         Enable check that works now.
24613
24614         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
24615         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
24616         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
24617         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
24618         (gst_bin_change_state):
24619         * gst/gstbin.h:
24620         Redid the state change algorithm using a topological sort algo.
24621         Handles all cases correctly.
24622         Exposed iterator for state change order.
24623
24624         * gst/gstelement.h:
24625         Temp storage for state changes. Need to get rid of this soon.
24626
24627 2005-09-27  Wim Taymans  <wim@fluendo.com>
24628
24629         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
24630         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
24631         (link_fold_func), (gst_pad_proxy_setcaps):
24632         Leak fixes, the fold functions need to unref the passed object and
24633         _get_parent_*() returns ref to parent.
24634
24635 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24636
24637         * check/gst/gstbuffer.c: (test_make_writable):
24638           Plug leak in test case and fix 'make check-valgrind'
24639
24640 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24641
24642         * gst/gstbuffer.c: (gst_subbuffer_init):
24643           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
24644           works correctly in all circumstances (we could have just copied
24645           the parent buffer's readonly flag, but conceptually it seems
24646           cleaner to mark all subbuffers as read-only). (based on patch
24647           by Alessandro Decina, #314710).
24648         
24649         * check/gst/gstbuffer.c: (create_read_only_buffer),
24650         (test_make_writable), (test_subbuffer_make_writable),
24651         (gst_test_suite):
24652           Add some tests for gst_buffer_make_writable().
24653
24654 2005-09-27  Wim Taymans  <wim@fluendo.com>
24655
24656         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
24657         use gst_object_has_ancestor().
24658
24659         * gst/gstobject.c: (gst_object_has_ancestor):
24660         * gst/gstobject.h:
24661         gst_object_has_ancestor() copied from gstbin.c as it is a
24662         useful function.
24663
24664         * tests/instantiate/create.c: (create_all_elements):
24665         * tests/lat.c: (handoff_src), (handoff_sink):
24666         * tests/sched/runxml.c: (main):
24667         * tests/seeking/seeking1.c: (main):
24668         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24669         (main):
24670         Fix compilation of some tests.
24671
24672 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
24673
24674         * gst/gsterror.h:
24675           Remove comment. GST_TYPE_G_ERROR is here to stay,
24676           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
24677           (#316961, #300610).
24678
24679 2005-09-26  Wim Taymans  <wim@fluendo.com>
24680
24681         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24682         Added check that shows error in state change order.
24683
24684 2005-09-26  Wim Taymans  <wim@fluendo.com>
24685
24686         * gst/gstbin.c: (gst_bin_change_state):
24687         Make state change function use 3 queues again, we were
24688         adding elements in the wrong order.
24689
24690         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
24691         Some debug info,
24692
24693         * gst/gstpad.c: (gst_pad_dispose):
24694         Added some debug info first.
24695
24696 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
24697
24698         * docs/design/draft-push-pull.txt:
24699         * docs/design/part-events.txt:
24700         * docs/design/part-overview.txt:
24701         * docs/design/part-scheduling.txt:
24702           Replace all _pull_region() with _pull_range()
24703           
24704 2005-09-26  Andy Wingo  <wingo@pobox.com>
24705
24706         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
24707
24708         * check/gst-libs/controller.c: Update for controller api change.
24709
24710         * configure.ac: 
24711         * tests/Makefile.am:
24712         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
24713         over by GLib bug 118439.
24714         
24715         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
24716         routines to a function.
24717
24718         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
24719
24720         * libs/gst/controller/gsthelper.c:
24721         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
24722         (gst_object_sync_values): Renamed from sink_values. Ugh.
24723
24724         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
24725
24726         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
24727         Renamed from controller_key, as it is exported.
24728
24729         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
24730
24731 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24732
24733         * gst/Makefile.am:
24734         * gst/gst.h:
24735         * gst/gstpad.h:
24736         * gst/gstpadtemplate.h:
24737         * gst/gstquery.c:
24738         * gst/gstquery.h:
24739         * gst/gstqueryutils.c:
24740         * gst/gstqueryutils.h:
24741           remove queryutils headers after moving the two used functions
24742           to gstquery.  also fixes build problem for gstsiddec
24743
24744 2005-09-26  Michael Smith <msmith@fluendo.com>
24745
24746         * tools/gst-launch.1.in:
24747         Correct documentation in manpage of debug syntax
24748
24749 2005-09-26  Wim Taymans  <wim@fluendo.com>
24750
24751         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24752         (gst_base_src_is_seekable), (gst_base_src_change_state):
24753         Some more debugging info.
24754
24755 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24756
24757         * docs/gst/gstreamer-sections.txt:
24758         * gst/base/gstbasetransform.h:
24759         * gst/gstindex.h:
24760           added more docs
24761
24762 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24763
24764         * docs/gst/.cvsignore:
24765         * docs/gst/tmpl/.cvsignore:
24766         * docs/gst/tmpl/gstpipeline.sgml:
24767         * docs/gst/tmpl/gstplugin.sgml:
24768         * gst/gstpipeline.c:
24769         * gst/gstplugin.c:
24770         * gst/gstplugin.h:
24771           inlined the last two docs files
24772           removed the tmpl directory from cvs (no more conflicts here!)
24773
24774 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
24775
24776         * docs/gst/gstreamer-sections.txt:
24777         * docs/gst/tmpl/.cvsignore:
24778         * docs/gst/tmpl/gstpad.sgml:
24779         * docs/gst/tmpl/gstpadtemplate.sgml:
24780         * gst/Makefile.am:
24781         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
24782         (gst_pad_finalize), (gst_pad_set_pad_template):
24783         * gst/gstpad.h:
24784         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
24785         (gst_pad_template_class_init), (gst_pad_template_init),
24786         (gst_pad_template_dispose), (name_is_valid),
24787         (gst_static_pad_template_get), (gst_pad_template_new),
24788         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
24789         (gst_pad_template_pad_created):
24790         * gst/gstpadtemplate.h:
24791           inlined two more docs
24792           factored gstpadtemplate out of gstpad
24793
24794 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
24795
24796         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24797         (test_children_state_change_order_semi_sink):
24798           Fix test case: we can't rely on a fixed state change order when
24799           going from READY => PAUSED because the sink might commit its 
24800           new state first when the first buffer created by the source 
24801           reaches the sink before the source has finished its change state.
24802           (Test case still fails at times, see #316856, comment 5 onwards)
24803
24804 2005-09-24  Wim Taymans  <wim@fluendo.com>
24805
24806         * docs/design/part-events.txt:
24807         * docs/design/part-gstbus.txt:
24808         * docs/design/part-gstpipeline.txt:
24809         * docs/design/part-messages.txt:
24810         * docs/design/part-overview.txt:
24811         * docs/design/part-segments.txt:
24812         * gst/gstbin.c:
24813         * gst/gstbuffer.c:
24814         * gst/gstclock.c:
24815         * gst/gstelement.c:
24816         * gst/gstevent.c:
24817         * gst/gstfilter.c:
24818         * gst/gstiterator.c:
24819         Various documentation updates.
24820
24821 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24822
24823         * gst/gstclock.h:
24824           Well, that's embarassing.  Luckily we weren't using
24825           GST_CLOCK_DIFF anywhere.
24826
24827 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24828
24829         * common/gtk-doc.mak:
24830           don't fail on building XML, FC4 slave shows a bunch of doc
24831           missing bits that I don't get
24832         * gst/gstpad.c:
24833         * gst/gstpipeline.c:
24834         * gst/gststructure.c:
24835           some doc updates
24836
24837 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24838
24839         * docs/design/part-gstbin.txt:
24840         * docs/design/part-gstbus.txt:
24841         * gst/gstbus.c:
24842           Add blurb about how the bus goes into flushing mode and
24843           drops all messages when its bin goes from READY into NULL 
24844           state.
24845
24846 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24847
24848         * docs/gst/gstreamer-sections.txt:
24849         * gst/gststructure.c: (gst_structure_get_clock_time):
24850         * gst/gststructure.h:
24851           add a method to get a GstClockTime out of a structure
24852
24853 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
24854
24855         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24856         (test_children_state_change_order_semi_sink), (gst_bin_suite):
24857           Added test to check state change order in bins (can still be made
24858           to fail here under heavy disk load; bails out with 'Push on pad
24859           fakesink:sink0, but it was not activated in push mode').
24860
24861         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
24862           Fix state change order when there is only a semi sink (#316856)
24863
24864         * gst/gstbus.c: (gst_bus_class_init):
24865           Use _class_peek_parent(), not _class_ref(); fix docs to say
24866           'default main context' instead of 'mainloop' where that is
24867           what's meant.
24868
24869         * gst/gstelement.c: (gst_element_commit_state),
24870         (gst_element_set_state):
24871           Fix typos in debug messages
24872
24873 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24874
24875         * docs/README:
24876         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
24877         * gst/gstpluginfeature.c:
24878         * gst/gstutils.c:
24879           various doc updates
24880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24881           change an assert into an error until it gets fixed properly
24882
24883 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
24884
24885         * docs/gst/gstreamer-sections.txt:
24886         * docs/gst/tmpl/.cvsignore:
24887         * docs/gst/tmpl/gstelement.sgml:
24888         * docs/gst/tmpl/gstinfo.sgml:
24889         * docs/gst/tmpl/gstobject.sgml:
24890         * gst/gstelement.c:
24891         * gst/gstelement.h:
24892         * gst/gstinfo.c:
24893         * gst/gstinfo.h:
24894         * gst/gstobject.c: (gst_object_class_init):
24895         * gst/gstobject.h:
24896           inlined 3 more biiiig doc files and added some missing docs on the fly
24897
24898 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24899
24900         * check/gst/.cvsignore:
24901         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
24902         * gst/gstregistryxml.c: (load_plugin),
24903         (gst_registry_xml_save_plugin):
24904           put back source in registry.  add checks for find_plugin.
24905         * testsuite/states/bin.c: (assert_state), (empty_bin),
24906         (test_adding_one_element), (main):
24907         * testsuite/states/locked.c: (main):
24908           some compile/run fixes
24909
24910 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24911
24912         * check/gst/gstvalue.c: (GST_START_TEST):
24913           fix leaks in the test itself
24914
24915 2005-09-22  Wim Taymans  <wim@fluendo.com>
24916
24917         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
24918         (gst_base_sink_send_event), (gst_base_sink_peer_query),
24919         (gst_base_sink_query):
24920         Prepare for more accurate position reporting and query
24921         handling.
24922
24923         * gst/gstelement.c: (gst_element_send_event),
24924         (gst_element_set_state):
24925         Add some comment.
24926
24927 2005-09-22  Wim Taymans  <wim@fluendo.com>
24928
24929         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
24930         (gst_query_parse_segment):
24931         * gst/gstquery.h:
24932         More documentation.
24933         Add segment query for future use.
24934
24935 2005-09-22  Wim Taymans  <wim@fluendo.com>
24936
24937         * gst/gstbin.c: (gst_bin_add_func):
24938         Some more debug info.
24939
24940         * gst/gstelement.c: (gst_element_send_event):
24941         Simplify send_event
24942
24943         * gst/gstelement.h:
24944         Don't know how flags got broken.
24945
24946         * gst/gstquery.h:
24947         Added new query.
24948
24949 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24950
24951         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
24952           Add simplistic test suite for GST_TYPE_DATE serialisation and
24953           deserialisation.
24954
24955 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
24956
24957         * docs/gst/gstreamer-sections.txt:
24958         * gst/gststructure.c: (gst_structure_set_valist),
24959         (gst_structure_get_date):
24960         * gst/gststructure.h:
24961         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
24962         (gst_date_copy), (gst_value_compare_date),
24963         (gst_value_serialize_date), (gst_value_deserialize_date),
24964         (gst_value_transform_date_string),
24965         (gst_value_transform_string_date), (_gst_value_initialize):
24966         * gst/gstvalue.h:
24967           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
24968           bunch of utility functions along with a hack that checks that
24969           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
24970           is required. Part of the grand scheme in #170777.
24971
24972 2005-09-22  Andy Wingo  <wingo@pobox.com>
24973
24974         * gst/gstconfig.h.in: Psych out gtk-doc.
24975
24976         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
24977
24978         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
24979
24980         * tools/gst-inspect.c (print_element_list): Plug some
24981         inconsequential leaks.
24982
24983         * gst/gstregistry.c (gst_registry_get_default): Doc.
24984
24985         * check/gst/gstplugin.c: 
24986         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
24987         * gst/gstelementfactory.c (gst_element_factory_create): 
24988         * gst/gstindexfactory.c (gst_index_factory_create): Update for
24989         refcount changes.
24990
24991         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
24992         (gst_plugin_feature_load): Doc, don't eat refs.
24993
24994         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
24995         (gst_plugin_list_free): Doc.
24996         (gst_plugin_load_file): Doc updates.
24997
24998         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
24999         accessors returning refcounted objects, return a ref.
25000
25001         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
25002         accessor for caps. IDEMPOTENCE. Oh yes.
25003
25004 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
25005
25006         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
25007
25008         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25009         (_gst_debug_register_funcptr):
25010           Add mutex to serialise access to the hash table with
25011           the function pointer => function name string mapping;
25012           make that hash table static scope (#316809).
25013
25014         * gst/registries/.cvsignore:
25015           Remove left-over file.
25016
25017 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25018
25019         * docs/pwg/appendix-porting.xml:
25020           And something about newsegment events and caps-on-buffers to
25021           the porting guide (feel free to improve).
25022
25023 2005-09-21  Andy Wingo  <wingo@pobox.com>
25024
25025         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
25026         data and event probes on the same pad.
25027         (test_buffer_probe_once): Test that removing probes from within
25028         the probe functions works.
25029
25030 2005-09-21  Andy Wingo  <wingo@pobox.com>
25031
25032         * check/gst/gstutils.c: New file.
25033         (test_buffer_probe_n_times): A simple buffer probe test. More to
25034         come, foolios.
25035
25036         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
25037         have-data::buffer, not have-data.
25038         (gst_pad_add_event_probe): Likewise for have-data::event.
25039         (gst_pad_add_data_probe): More docs. The part about 'resolving the
25040         peer' isn't quite right yet though.
25041         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
25042         (gst_pad_remove_data_probe): Change to take the guint handler_id
25043         as their arg, not the function+data, which is more glib-like.
25044
25045         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
25046         the signal emission to indicate if the data is a buffer or an
25047         event.
25048         (gst_pad_get_type): Initialize buffer and event quarks.
25049         (gst_pad_class_init): have-data is now a detailed signal, yes it
25050         is.
25051
25052 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
25053
25054         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
25055         * gst/gstutils.c: (gst_util_set_value_from_string),
25056         (gst_util_set_object_arg):
25057           Don't put functional code in g_return_if_fail() or
25058           g_return_val_if_fail() statements, otherwise things will 
25059           break when G_DISABLE_CHECKS is defined during compilation.
25060
25061 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25062
25063         * docs/gst/tmpl/.cvsignore:
25064         * docs/gst/tmpl/gstvalue.sgml:
25065         * gst/gstvalue.c:
25066         * gst/gstvalue.h:
25067           inlied another one and added  some obvious docs
25068
25069 2005-09-21  Wim Taymans  <wim@fluendo.com>
25070
25071         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
25072         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
25073         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
25074         (gst_fdsrc_get_property), (gst_fdsrc_create):
25075         * gst/elements/gstfdsrc.h:
25076         Properly implement fdsrc. Removed signal and timeout,
25077         better implemented somewhere else.
25078
25079 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25080
25081         * docs/gst/tmpl/.cvsignore:
25082         * docs/gst/tmpl/gstimplementsinterface.sgml:
25083         * gst/gstinterface.c:
25084           inlined more docs
25085
25086 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25087
25088         * docs/gst/gstreamer-sections.txt:
25089         * docs/gst/tmpl/.cvsignore:
25090         * docs/gst/tmpl/gstenumtypes.sgml:
25091           remove obsolete doc file
25092
25093 2005-09-21  David Schleef  <ds@schleef.org>
25094
25095         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
25096         little beer, fix a little leak.
25097
25098 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
25099
25100         * docs/gst/gstreamer-docs.sgml:
25101         * docs/gst/gstreamer-sections.txt:
25102         * docs/gst/tmpl/.cvsignore:
25103         * gst/Makefile.am:
25104         * gst/gst.h:
25105         * gst/gstbin.c:
25106         * gst/gstelement.h:
25107         * gst/gstindex.c: (gst_index_class_init):
25108         * gst/gstindex.h:
25109         * gst/gstindexfactory.c: (gst_index_factory_get_type),
25110         (gst_index_factory_class_init), (gst_index_factory_init),
25111         (gst_index_factory_finalize), (gst_index_factory_new),
25112         (gst_index_factory_destroy), (gst_index_factory_find),
25113         (gst_index_factory_create), (gst_index_factory_make):
25114         * gst/gstindexfactory.h:
25115         * gst/gstpluginfeature.c:
25116         * gst/gstpluginfeature.h:
25117         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25118           more docs inlined, splitted gstindex.{c,h}
25119
25120 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25121
25122         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25123           fix a leak
25124
25125 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25126
25127         * gst/elements/gstfilesink.c: (gst_file_sink_init):
25128           Set sync to FALSE by default.
25129
25130 2005-09-20  Wim Taymans  <wim@fluendo.com>
25131
25132         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25133         (gst_base_sink_init):
25134         Make sync property settable from subclass.
25135
25136         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25137         (gst_fake_sink_change_state):
25138         Set sync to FALSE by default.
25139
25140 2005-09-20  Wim Taymans  <wim@fluendo.com>
25141
25142         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
25143         * tools/gst-launch.c: (main):
25144         The timeout handler should have lower priority than the source
25145         so we don't timeout before popping a message with 0 timeout.
25146         Dump error messages after failed state change.
25147
25148 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
25149
25150         * tools/gst-inspect.c: (print_element_properties_info):
25151           Fix two typos.
25152
25153 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25154
25155         * check/gst/gstevent.c:
25156         * gst/elements/gstfakesink.c:
25157         * gst/elements/gstfakesink.h:
25158           remove the sync property from fakesink.
25159           has the side effect of setting sync TRUE
25160           for fakesink, which is a change.  Anyone who knows how
25161           to fix this nicely in a GObject-y way, feel free.
25162
25163 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25164
25165         * docs/gst/gstreamer-docs.sgml:
25166           remove probe refsection
25167
25168 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25169
25170         * check/Makefile.am:
25171           disable valgrinding the controller test again
25172         * docs/gst/gstreamer-sections.txt:
25173           update for api-changes
25174
25175 2005-09-20  Wim Taymans  <wim@fluendo.com>
25176
25177         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
25178         (gst_base_sink_set_property), (gst_base_sink_get_property),
25179         (gst_base_sink_do_sync):
25180         * gst/base/gstbasesink.h:
25181         Added sync property to basesink to disable clock sync.
25182
25183 2005-09-20  Andy Wingo  <wingo@pobox.com>
25184
25185         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
25186         eating the caller's refcount.
25187
25188         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
25189         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
25190         refcount.
25191
25192         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
25193         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
25194         of GLib 2.8 public, so we can know which refcount to check in
25195         tests.
25196
25197         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
25198         (gst_object_init): Only set the gst refcount if we're going ahead
25199         with the refcount hack.
25200
25201 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25202
25203         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25204         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
25205           more leaks plumbed, added more debug-logging
25206         * gst/gstmacros.h:
25207           whitespace fix
25208
25209 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25210
25211         * gst/gstmessage.c:
25212           remove include of gstmemchunk.h
25213
25214 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25215
25216         * gst/gstclock.c: (_gst_clock_id_free):
25217           Commit from the Political Party For More Atomic CVS Commits,
25218           so that people don't waste too much of their day fishing
25219           out obvious leaks out of massive commits.
25220           Oh, and fix a pretty damn obvious leak in the memchunk
25221           removal code.
25222
25223 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
25224
25225         * check/Makefile.am:
25226         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
25227           plug mem-leak, re-add to valgrindable tests
25228
25229 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25230
25231         * gst/gstplugin.h:
25232           unbreak the build for those who have chronic arthritis
25233           and typing "make check" is just too taxing on the hands
25234
25235 2005-09-20  Andy Wingo  <wingo@pobox.com>
25236
25237         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
25238         really want it out, you should fix plugins at the same time.
25239
25240 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
25241
25242         * configure.ac:
25243         * docs/gst/gstreamer-sections.txt:
25244         * gst/gstobject.c:
25245           added missing symbols to api docs
25246           disable ref-count hack if we have glib >= 2.8
25247
25248 2005-09-19  David Schleef  <ds@schleef.org>
25249
25250         * docs/gst/Makefile.am: Ignore a few more internal headers
25251         * docs/gst/gstreamer-docs.sgml: Remove old sections
25252         * docs/gst/gstreamer-sections.txt: Remove old sections
25253         * docs/gst/tmpl/gstobject.sgml: update
25254         * docs/gst/tmpl/gstplugin.sgml: update
25255         * docs/gst/tmpl/gstpluginfeature.sgml: update
25256         * docs/random/ds/0.9-suggested-changes: update.
25257         * gst/Makefile.am: remove memchunk and trashstack, since they're
25258           not used.
25259         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
25260         * gst/gst.h: don't include some headers
25261         * gst/gstchildproxy.c: add gstmarshal.h
25262         * gst/gstclock.c: Don't use memchunks
25263         * gst/gstminiobject.c: Add some docs
25264         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
25265         * gst/gstobject.h: same
25266         * gst/gstplugin.c: include gstmacros.h
25267         * gst/gstplugin.h: don't include gstmacros.h, since it's private
25268         * gst/gstquery.c: don't use memchunks
25269         * gst/gstregistry.c: rename gst_registry_deinit()
25270         * gst/gstregistry.h: same
25271
25272 2005-09-19  David Schleef  <ds@schleef.org>
25273
25274         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
25275         * docs/libs/gstreamer-libs-sections.txt:
25276         * docs/libs/tmpl/gstgetbits.sgml:
25277         * docs/libs/tmpl/gstputbits.sgml:
25278
25279 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
25280
25281         * win32/gstenumtypes.c:
25282         * win32/gstenumtypes.h:
25283           Update.
25284
25285 2005-09-19  Wim Taymans  <wim@fluendo.com>
25286
25287         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
25288         Automatically PAUSE and RESUME a pipeline when a flushing seek
25289         is performed.
25290
25291 2005-09-19  Andy Wingo  <wingo@pobox.com>
25292
25293         * gst/gstregistry.h: Spacing fixen.
25294
25295 2005-09-19  Wim Taymans  <wim@fluendo.com>
25296
25297         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
25298         Handle state change failure more correctly.
25299
25300 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25301
25302         * check/Makefile.am:
25303         * check/pipelines/cleanup.c: (run_pipeline):
25304         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25305         (GST_START_TEST):
25306           enable cleanup again after fixing the leak
25307         * docs/README:
25308           some more info on docs
25309
25310 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25311
25312         * check/Makefile.am:
25313           re-enable tests now that leaks are plugged
25314         * check/gst/gst.c:
25315         * check/gst/gstbin.c:
25316         * check/gst/gstpipeline.c:
25317           add some more tests while fixing leaks
25318         * common/check.mak:
25319           make sure binaries are uptodate when valgrinding/gdbing
25320         * gst/gst.c:
25321         * gst/gstelementfactory.c:
25322           remove a ref too many, and add a FIXME for when we get
25323           round to disposing of classes
25324         * gst/gstplugin.c:
25325           fix the refcounting when loading a plugin from a file and
25326           the code pretends that the pointer is the same even though
25327           of course it can change
25328         * gst/gstpluginfeature.c:
25329           unref plugins marked cached (a bit confusing as a name)
25330           as the docs state should be done
25331           various doc additions to explain refcounting
25332         * gst/gstregistry.c:
25333         * gst/gstregistryxml.c:
25334           debugging
25335
25336 2005-09-19  Wim Taymans  <wim@fluendo.com>
25337
25338         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25339         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
25340         (send_messages), (GST_START_TEST), (gstbus_suite):
25341         * check/gst/gstpipeline.c: (GST_START_TEST):
25342         * check/pipelines/cleanup.c: (run_pipeline):
25343         * check/pipelines/simple_launch_lines.c: (run_pipeline),
25344         (GST_START_TEST):
25345         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
25346         (gst_bus_source_check), (gst_bus_source_dispatch),
25347         (gst_bus_create_watch), (gst_bus_add_watch_full),
25348         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
25349         * gst/gstbus.h:
25350         * tools/gst-launch.c: (event_loop):
25351         * tools/gst-md5sum.c: (event_loop):
25352         GstBusHandler -> GstBusFunc, return value has the same meaning as
25353         any other GSource (FALSE == remove source).
25354         _add_watch() and _add_watch_full() now take a MessageType mask to
25355         only handle specific types of messages.
25356         _poll() returns the GstMessage instead of the message type to avoid
25357         race conditions.
25358         _have_pending() takes a MessageType mask now too.
25359         Added testsuite for multiple bus watches.
25360         Fix testsuites and applications for new bus API.
25361
25362 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25363
25364         * check/Makefile.am:
25365           mark a bunch of the tests as to fix until we fix them
25366
25367 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25368
25369         * common/check.mak:
25370           use GST_PLUGIN settings for valgrind tests as well, so we're
25371           valgrinding the correct thing
25372         * gst/gst.c: (init_post):
25373           plug another leak
25374
25375 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25376
25377         * gst/gst.c: (init_post), (gst_deinit):
25378         * gst/gstelementfactory.c: (gst_element_factory_class_init),
25379         (gst_element_factory_finalize), (gst_element_factory_cleanup):
25380         * gst/gstindex.c: (gst_index_factory_class_init),
25381         (gst_index_factory_finalize):
25382         * gst/gstobject.c: (gst_object_dispose):
25383         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
25384         (gst_plugin_load_file), (gst_plugin_desc_free):
25385         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
25386         (gst_plugin_feature_finalize):
25387         * gst/gstregistry.c: (gst_registry_class_init),
25388         (gst_registry_init), (gst_registry_finalize),
25389         (gst_registry_get_default), (gst_registry_deinit):
25390         * gst/gstregistry.h:
25391         * gst/gstregistryxml.c: (load_feature), (load_plugin):
25392           various cleanups and memleak plugging.  make valgrind is happy now.
25393
25394 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
25395
25396         * common/check.mak:
25397           add a check-valgrind target
25398
25399 2005-09-18  David Schleef  <ds@schleef.org>
25400
25401         * tools/gst-inspect.c: Revert the GOption code.
25402
25403 2005-09-17  David Schleef  <ds@schleef.org>
25404
25405         * check/Makefile.am: Fix environment variables.
25406         * check/gst/gstplugin.c: Fix for API changes.
25407         * tools/gst-inspect.c: Fix for API changes.
25408         * tools/gst-xmlinspect.c: Fix for API changes.
25409         * gst/gstelementfactory.c:
25410         * gst/gstplugin.c:
25411         * gst/gstplugin.h:
25412         * gst/gstpluginfeature.c:
25413         * gst/gstpluginfeature.h:
25414         * gst/gstregistry.c:
25415         * gst/gstregistry.h:
25416         * gst/gstregistryxml.c:
25417         * gst/gsttypefind.c:
25418         * gst/gsttypefindfactory.c:
25419         * gst/indexers/gstfileindex.c:
25420         * gst/indexers/gstmemindex.c:
25421         * gst/schedulers/Makefile.am:
25422           Change registry to keep track of both plugins and features,
25423           removing the feature tracking from plugins themselves.
25424
25425 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
25426
25427         * check/Makefile.am:
25428         * tools/gst-register.1.in:
25429           remove gst-register
25430
25431 2005-09-15  David Schleef  <ds@schleef.org>
25432
25433         * check/gst/gstplugin.c:
25434         * gst/gstelementfactory.c:
25435         * gst/gstplugin.c:
25436         * gst/gstpluginfeature.c:
25437         * gst/gstregistry.c:
25438           Getting tired of debugging.  Disabled all the unreffing of
25439           plugins and features, which fixes the segfaults, but of
25440           course leaks like crazy.  At least playbin works.
25441
25442 2005-09-15  David Schleef  <ds@schleef.org>
25443
25444         * check/gst/gstplugin.c: (register_check_elements),
25445         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
25446         More testing
25447         * gst/elements/gsttypefindelement.c: Fix refcounting.
25448         * gst/gsttypefind.c:
25449         * gst/gsttypefindfactory.c:
25450         * gst/gsttypefindfactory.h:
25451
25452 2005-09-15  David Schleef  <ds@schleef.org>
25453
25454         * gst/gstindex.c: get refcounting correct.
25455         * gst/gstregistry.c: Handle the case where a feature/plugin is
25456           not found.
25457
25458 2005-09-15  David Schleef  <ds@schleef.org>
25459
25460         * check/Makefile.am:
25461         * check/gst/gstplugin.c: Add test
25462         * gst/gstplugin.c: Fix problems noticed by testsuite
25463         * gst/gstplugin.h:
25464         * gst/gstregistry.c: 
25465         * gst/gstregistry.h:
25466
25467 2005-09-15  David Schleef  <ds@schleef.org>
25468
25469         * gst/gstplugin.c: Implement semi-decent recounting and locking
25470           in plugins and plugin features.
25471         * gst/gstplugin.h:
25472         * gst/gstpluginfeature.c:
25473         * gst/gstpluginfeature.h:
25474         * gst/gstregistry.c:
25475
25476 2005-09-15  Michael Smith <msmith@fluendo.com>
25477
25478         * gst/gstregistry.c: (gst_registry_get_feature_list):
25479           Implement this. Makes oggdemux work; decodebin still broken.
25480
25481 2005-09-14  David Schleef  <ds@schleef.org>
25482
25483         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
25484           #316076)
25485         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
25486         * gst/check/Makefile.am:
25487         * libs/gst/controller/Makefile.am:
25488         * libs/gst/dataprotocol/Makefile.am:
25489
25490 2005-09-14  David Schleef  <ds@schleef.org>
25491
25492         * configure.ac: Remove getbits library.  Nothing uses it, and
25493           it should be in something like liboil if someone did want
25494           to use it.
25495         * libs/gst/Makefile.am:
25496         * libs/gst/getbits/Makefile.am:
25497         * libs/gst/getbits/gbtest.c:
25498         * libs/gst/getbits/getbits.c:
25499         * libs/gst/getbits/getbits.h:
25500         * libs/gst/getbits/gstgetbits_generic.c:
25501         * libs/gst/getbits/gstgetbits_i386.s:
25502         * libs/gst/getbits/gstgetbits_inl.h:
25503
25504 2005-09-14  David Schleef  <ds@schleef.org>
25505
25506         * gst/Makefile.am: Dist glib-compat.h
25507
25508 2005-09-14  David Schleef  <ds@schleef.org>
25509
25510         * configure.ac: Remove gst/registries, since it's no longer used.
25511         * gst/registries/Makefile.am:
25512         * gst/registries/gstlibxmlregistry.c:
25513         * gst/registries/gstlibxmlregistry.h:
25514         * gst/registries/gstxmlregistry.c:
25515         * gst/registries/gstxmlregistry.h:
25516         * gst/registries/registrytest.c:
25517
25518 2005-09-14  David Schleef  <ds@schleef.org>
25519
25520         * gst/glib-compat.h:
25521         * gst/gstregistryxml.c:
25522           Convergence is near.  Seriously.
25523
25524 2005-09-14  David Schleef  <ds@schleef.org>
25525
25526         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25527         * gst/glib-compat.h:
25528           Attempt #4 to appease the buildbots.
25529
25530 2005-09-14  David Schleef  <ds@schleef.org>
25531
25532         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25533           Attempt #3.
25534
25535 2005-09-14  David Schleef  <ds@schleef.org>
25536
25537         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25538         Attempt #2.
25539
25540 2005-09-14  David Schleef  <ds@schleef.org>
25541
25542         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
25543           the new functions.
25544
25545 2005-09-14  David Schleef  <ds@schleef.org>
25546
25547         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
25548         * gst/glib-compat.h: Add some functions that are in newer versions
25549           of glib than we care to require.
25550         * gst/gstregistryxml.c: Use them.
25551
25552 2005-09-14  David Schleef  <ds@schleef.org>
25553
25554         * po/POTFILES.in: remove gst-register.c
25555
25556 2005-09-14  David Schleef  <ds@schleef.org>
25557
25558         * docs/gst/gstreamer-docs.sgml:
25559         * docs/gst/gstreamer-sections.txt:
25560         * docs/gst/gstreamer.types:
25561         * docs/gst/tmpl/gstelement.sgml:
25562         * docs/gst/tmpl/gstplugin.sgml:
25563         * docs/gst/tmpl/gstpluginfeature.sgml:
25564           Documentation updates for registry changes.
25565
25566 2005-09-14  David Schleef  <ds@schleef.org>
25567
25568         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
25569           because we don't require glib-2.8.
25570
25571 2005-09-14  David Schleef  <ds@schleef.org>
25572
25573         * gst/gstregistryxml.c: Added.  Essentially moved out of the
25574           registries directory.
25575
25576 2005-09-14  David Schleef  <ds@schleef.org>
25577
25578         * check/Makefile.am:
25579         * check/generic/states.c:
25580         * gst/Makefile.am:
25581         * gst/gst.c:
25582         * gst/gst.h:
25583         * gst/gst_private.h:
25584         * gst/gstelementfactory.c:
25585         * gst/gstindex.c:
25586         * gst/gstinfo.c:
25587         * gst/gstplugin.c:
25588         * gst/gstplugin.h:
25589         * gst/gstpluginfeature.c:
25590         * gst/gstpluginfeature.h:
25591         * gst/gstregistry.c:
25592         * gst/gstregistry.h:
25593         * gst/gstregistrypool.c: remove
25594         * gst/gstregistrypool.h: remove
25595         * gst/gsttypefind.c:
25596         * gst/gsttypefindfactory.c:
25597         * gst/gsturi.c:
25598         * tools/Makefile.am:
25599         * tools/gst-compprep.c:
25600         * tools/gst-inspect.c:
25601         * tools/gst-register.c: remove
25602         * tools/gst-xmlinspect.c:
25603           Registry rewrite.  Changes registry from being a file created
25604           by a tool into a simple cache file created automatically by 
25605           libgstreamer.  Removed gst-register (because it's no longer
25606           needed).  Remove registry pools, because we only have one
25607           registry implementation (XML).  Fix up other subsystems as
25608           necessary.
25609
25610 2005-09-13  Michael Smith <msmith@fluendo.com>
25611
25612         * gst/gstconfig.h.in:
25613           Don't Use windows linking attributes for MinGW. Fixes #316157
25614
25615 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25616
25617         * gst/gstutils.c: (set_state_async_thread_func),
25618         (gst_element_set_state_async):
25619           Apparently people think it's better if this function doesn't
25620           try to set the state to whatever state was asked for on the first
25621           call to this function for any object.  Seriously.
25622
25623 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25624
25625         * check/gst/gstpipeline.c: (GST_START_TEST):
25626         * docs/gst/gstreamer-sections.txt:
25627         * gst/gstutils.c: (set_state_async_thread_func),
25628         (gst_element_set_state_async):
25629         * gst/gstutils.h:
25630           add a "gst_element_set_state_async" method that
25631           sets the state and starts a thread to make sure the state
25632           change completes as best as it can
25633
25634 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25635
25636         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
25637           codify design+behaviour in testsuite after discussion
25638
25639 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25640
25641         * docs/gst/tmpl/gstelement.sgml:
25642         * docs/manual/appendix-quotes.xml:
25643           add a quote
25644         * gst/gstelement.c: (gst_element_set_state):
25645           add some debug
25646
25647 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
25648
25649         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25650         (gst_base_transform_prepare_output_buf),
25651         (gst_base_transform_handle_buffer):
25652         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
25653         (gst_capsfilter_prepare_buf):
25654           Remove the requirement for sub-classes to call the parent
25655           implementation of prepare_output_buffer with a wrapper function.
25656           
25657         * gst/gsttaglist.h:
25658         * gst/gsttagsetter.h:
25659           Fix #define wrapper
25660
25661 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
25662
25663         * docs/gst/gstreamer-sections.txt:
25664           more doc cleanups
25665
25666 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25667
25668         * docs/gst/gstreamer-sections.txt:
25669         * docs/gst/tmpl/gstelement.sgml:
25670         * docs/gst/tmpl/gstplugin.sgml:
25671         * gst/gstminiobject.c:
25672         * gst/gstvalue.h:
25673           docs now stop throwing warnings
25674
25675 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25676
25677         * docs/gst/gstreamer-sections.txt:
25678         * docs/gst/gstreamer.types:
25679         * docs/gst/tmpl/gstpad.sgml:
25680         * docs/gst/tmpl/gsttypes.sgml:
25681         * gst/base/gstadapter.h:
25682         * gst/base/gstbasesink.h:
25683         * gst/base/gstbasesrc.h:
25684         * gst/gstbin.h:
25685         * gst/gstbuffer.h:
25686         * gst/gstbus.h:
25687         * gst/gstcaps.h:
25688         * gst/gstclock.h:
25689         * gst/gstelement.h:
25690         * gst/gstevent.h:
25691         * gst/gstmessage.h:
25692         * gst/gstpad.h:
25693         * gst/gststructure.c:
25694         * gst/registries/gstlibxmlregistry.h:
25695           various documentation fixes
25696
25697 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25698
25699         * docs/gst/gstreamer-sections.txt:
25700         * docs/gst/tmpl/gstvalue.sgml:
25701           rearrange gstvalue section
25702         * gst/gstutils.c: (gst_element_state_get_name):
25703           NONE -> VOID
25704         * gst/gstvalue.c: (_gst_value_initialize):
25705         * gst/gstvalue.h:
25706           doc updates
25707
25708 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
25709
25710         * check/gst-libs/controller.c:
25711           Header include fix.
25712         * gst/base/gstbasetransform.c:
25713         (gst_base_transform_default_prepare_buf),
25714         (gst_base_transform_handle_buffer):
25715         * gst/base/gstbasetransform.h:
25716           Some more basetransform changes and fixes to enable sub-classes
25717           that modify buffer metadata only.
25718         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25719         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
25720         (gst_capsfilter_prepare_buf):
25721           If the output pad has fixed allowed caps and input buffers 
25722           don't have any, set the fixed caps on outgoing buffers.
25723
25724 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
25725         * check/elements/identity.c: (GST_START_TEST):
25726           Make the error a little clearer when the test fails because
25727           identity made a copy of the buffer.
25728         * docs/gst/gstreamer-sections.txt:
25729           New symbols in gstbasetransform.h
25730         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
25731         (gst_base_transform_init), (gst_base_transform_transform_size),
25732         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25733         (gst_base_transform_default_prepare_buf),
25734         (gst_base_transform_get_unit_size),
25735         (gst_base_transform_buffer_alloc),
25736         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
25737         (gst_base_transform_change_state),
25738         (gst_base_transform_set_passthrough),
25739         (gst_base_transform_set_in_place),
25740         (gst_base_transform_is_in_place):
25741         * gst/base/gstbasetransform.h:
25742           Change BaseTransform to separate in_place operate from same_caps
25743           output. in_place implies that the element can perform the transform
25744           on incoming buffers in-place, even if the caps on the output are
25745           different.
25746           Sub-class elements can now implement special buffer allocation
25747           methods for outgoing buffers if they wish to.
25748           Big documentation addition.
25749         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
25750         * gst/elements/gstelements.c:
25751           Changes for basetransform modifications.
25752         * gst/elements/Makefile.am:
25753         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
25754           Compile fix. Extra debug output.
25755
25756 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25757
25758         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
25759         (gst_pad_suite):
25760           add tests for valid pad naming
25761         * gst/check/gstcheck.c: (gst_check_log_message_func),
25762         (gst_check_log_critical_func):
25763           add ASSERT_WARNING
25764           remove printing of code, it is fragile when the code contains
25765           % and the line number is enough info
25766         * gst/check/gstcheck.h:
25767         * gst/gstpad.c: (gst_pad_template_new):
25768           fix memleaks
25769
25770 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25771
25772         * configure.ac:
25773           say what CHECK flags we use
25774         * docs/libs/gstreamer-libs.types:
25775         * libs/gst/controller/Makefile.am:
25776         * libs/gst/controller/gst-controller.c:
25777         * libs/gst/controller/gst-controller.h:
25778         * libs/gst/controller/gst-helper.c:
25779         * libs/gst/controller/gst-interpolation.c:
25780         * libs/gst/controller/gstcontroller.c:
25781         * libs/gst/controller/gsthelper.c:
25782         * libs/gst/controller/gstinterpolation.c:
25783         * tools/gst-inspect.c: (print_plugin_info):
25784           we don't use dashes in header names
25785
25786 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25787
25788         * check/Makefile.am:
25789         * check/gst/.cvsignore:
25790         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
25791         (gst_pipeline_suite), (main):
25792           adding a test for pipelines and state changes
25793         * gst/gstutils.c: (get_state_func):
25794           add some debugging
25795         * gstreamer.spec.in:
25796           fix up spec file
25797
25798 2005-09-08  Michael Smith <msmith@fluendo.com>
25799
25800         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
25801         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
25802         (gst_file_src_is_seekable), (gst_file_src_get_size),
25803         (gst_file_src_start):
25804         * gst/elements/gstfilesrc.h:
25805           Various fixes for unseekable, unmmapable, and non-normal files, so
25806           that fallback to read() rather than mmap() works.
25807         * gst/gstevent.c: (gst_event_new_newsegment):
25808           Allow newsegment events with segment_start == segment_end, as will
25809           correctly happen if you use filesrc on a zero-size file, for
25810           example.
25811
25812 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25813
25814         * gst/gstplugin.c: (gst_plugin_load_file):
25815           Call g_module_close when we don't load the module
25816
25817         * gst/registries/gstlibxmlregistry.c:
25818         (gst_xml_registry_get_property):
25819           Port leak fix from 0.8
25820
25821 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25822
25823         * docs/gst/gstreamer-docs.sgml:
25824         * docs/gst/tmpl/.cvsignore:
25825         * docs/gst/tmpl/gsttrace.sgml:
25826         * docs/gst/tmpl/gsttrashstack.sgml:
25827         * gst/Makefile.am:
25828         * gst/gst.h:
25829         * gst/gstelement.h:
25830         * gst/gstevent.h:
25831         * gst/gstmessage.c:
25832         * gst/gstmessage.h:
25833         * gst/gsttag.c:
25834         * gst/gsttag.h:
25835         * gst/gsttaginterface.c:
25836         * gst/gsttaginterface.h:
25837         * gst/gsttaglist.c:
25838         * gst/gsttaglist.h:
25839         * gst/gsttagsetter.c:
25840         * gst/gsttagsetter.h:
25841         * gst/gsttrace.c:
25842         * gst/gsttrace.h:
25843         * gst/gsttrashstack.c:
25844           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
25845           inlined docs for gsttrace, gsttrashstack
25846
25847 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25848
25849         * gst/Makefile.am:
25850         * gst/elements/gstbufferstore.h:
25851         * gst/elements/gsttypefindelement.c:
25852         * gst/elements/gsttypefindelement.h:
25853         * gst/gst.h:
25854         * gst/gsttypefind.c:
25855         * gst/gsttypefind.h:
25856         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
25857         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
25858         (gst_type_find_factory_dispose),
25859         (gst_type_find_factory_unload_thyself),
25860         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
25861         (gst_type_find_factory_get_caps),
25862         (gst_type_find_factory_get_extensions),
25863         (gst_type_find_factory_call_function):
25864         * gst/gsttypefindfactory.h:
25865         * gst/registries/gstlibxmlregistry.c:
25866         * gst/registries/gstxmlregistry.c:
25867           splitted gsttypefind into gsttypefind, gsttypefindfactory
25868
25869 2005-09-07  Andy Wingo  <wingo@pobox.com>
25870
25871         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
25872         condition whereby the pad's task function is entered before the
25873         pad_mode variable was set.
25874
25875 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
25876
25877         * gst/gstpad.c: (gst_pad_alloc_buffer):
25878           Catch misbehaving pad_alloc functions that don't
25879           set up caps and do it for them.
25880
25881 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
25882
25883         * check/pipelines/simple_launch_lines.c: (run_pipeline):
25884           test for pipe!=NULL
25885         * docs/gst/tmpl/.cvsignore:
25886         * docs/gst/tmpl/gstmemchunk.sgml:
25887         * docs/gst/tmpl/gstparse.sgml:
25888         * docs/gst/tmpl/gsttaglist.sgml:
25889         * docs/gst/tmpl/gsttagsetter.sgml:
25890         * docs/gst/tmpl/gsttypefind.sgml:
25891         * docs/gst/tmpl/gsttypefindfactory.sgml:
25892         * gst/gstmemchunk.c:
25893         * gst/gstparse.c:
25894         * gst/gsttag.c:
25895         * gst/gsttaginterface.c:
25896         * gst/gsttypefind.c:
25897         * gst/gsttypefind.h:
25898           inlined more docs
25899
25900 === release 0.9.2 ===
25901
25902 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25903
25904         * NEWS:
25905         * RELEASE:
25906         * configure.ac:
25907           releasing 0.9.2, "South"
25908
25909 2005-09-05  Andy Wingo  <wingo@pobox.com>
25910
25911         * gst/registries/gstxmlregistry.h:
25912         * gst/registries/gstxmlregistry.c: Um... resurrect...
25913         
25914         * gst/registries/gstxmlregistry.h:
25915         * gst/registries/gstxmlregistry.c: and update to newer API.
25916         Incidentally they should be a bit faster now that they don't have
25917         to parse the caps.
25918         
25919 2005-09-05  Andy Wingo  <wingo@pobox.com>
25920
25921         * gst/registries/gstxmlregistry.h:
25922         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
25923         replaced by the libxml registry a while back
25924
25925 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25926
25927         * docs/gst/tmpl/gstplugin.sgml:
25928         * gst/elements/gstelements.c:
25929         * gst/gst.c:
25930         * gst/gstplugin.c: (gst_plugin_register_func),
25931         (gst_plugin_desc_copy), (gst_plugin_desc_free),
25932         (gst_plugin_get_source):
25933         * gst/gstplugin.h:
25934         * gst/registries/gstlibxmlregistry.c: (load_plugin),
25935         (gst_xml_registry_save_plugin):
25936         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
25937         (gst_xml_registry_save_plugin):
25938         * tools/gst-inspect.c: (print_plugin_info):
25939           add a "source" plugin description field, to represent the source
25940           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
25941           will set it to PACKAGE, which is automake's idea of the name of
25942           the source project.
25943
25944 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25945
25946         * Makefile.am:
25947         * autogen.sh:
25948         * configure.ac:
25949         * docs/Makefile.am:
25950         * docs/faq/Makefile.am:
25951         * docs/gst/tmpl/gstelement.sgml:
25952         * docs/gst/tmpl/gsttypes.sgml:
25953         * docs/htmlinstall.mak:
25954         * docs/manual/Makefile.am:
25955         * docs/pwg/Makefile.am:
25956           reorganize doc build a little
25957           split out docbook and gtk-doc stuff
25958           have two separate --enable's and enable them through autogen
25959           but disable by default in configure (to be similar to other
25960           projects)
25961         * gstreamer.spec.in:
25962           clean up docs install
25963         * po/af.po:
25964         * po/az.po:
25965         * po/ca.po:
25966         * po/cs.po:
25967         * po/de.po:
25968         * po/en_GB.po:
25969         * po/fr.po:
25970         * po/it.po:
25971         * po/nb.po:
25972         * po/nl.po:
25973         * po/ru.po:
25974         * po/sq.po:
25975         * po/sr.po:
25976         * po/sv.po:
25977         * po/tr.po:
25978         * po/uk.po:
25979         * po/vi.po:
25980           translation updates
25981
25982 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
25983
25984         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
25985           Add comment.
25986           
25987         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
25988         (gst_fake_sink_change_state):
25989           Make state change function thread-safe.
25990           
25991         * gst/gstpad.c: (gst_pad_alloc_buffer):
25992           Set offset on generic buffer allocated by fallback.
25993
25994 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
25995
25996         * docs/gst/gstreamer-sections.txt:
25997         * docs/gst/tmpl/gstelement.sgml:
25998         * gst/gstpad.c:
25999         * libs/gst/controller/gst-controller.c:
26000         (gst_controlled_property_set_interpolation_mode),
26001         (gst_controlled_property_new),
26002         (gst_controller_find_controlled_property):
26003          run the wingo-magic script against the docs
26004
26005 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26006
26007         * docs/gst/gstreamer-docs.sgml:
26008         * docs/gst/gstreamer-sections.txt:
26009         * docs/gst/tmpl/.cvsignore:
26010         * docs/gst/tmpl/gstelementdetails.sgml:
26011         * docs/gst/tmpl/gstelementfactory.sgml:
26012         * gst/gst.c:
26013         * gst/gstbus.c:
26014         * gst/gstelementfactory.c:
26015         * gst/gstelementfactory.h:
26016           merged elementdetails docs into elementfactory docs
26017           inlined both
26018
26019 2005-09-02  Andy Wingo  <wingo@pobox.com>
26020
26021         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
26022         consider this enum an enum and not a flags.
26023
26024 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
26025
26026         * docs/gst/gstreamer-docs.sgml:
26027         * docs/gst/tmpl/.cvsignore:
26028         * docs/gst/tmpl/gstghostpad.sgml:
26029         * docs/gst/tmpl/gstiterator.sgml:
26030         * docs/gst/tmpl/gstmacros.sgml:
26031         * docs/gst/tmpl/gstrealpad.sgml:
26032         * docs/gst/tmpl/gstregistry.sgml:
26033         * docs/gst/tmpl/gstregistrypool.sgml:
26034         * docs/gst/tmpl/gststructure.sgml:
26035         * docs/gst/tmpl/gstsystemclock.sgml:
26036         * docs/gst/tmpl/gsttrace.sgml:
26037         * gst/gstghostpad.c:
26038         * gst/gstmacros.h:
26039         * gst/gstmemchunk.c:
26040         * gst/gstmemchunk.h:
26041         * gst/gstqueue.c:
26042         * gst/gstregistry.c:
26043         * gst/gstregistrypool.c:
26044         * gst/gststructure.c:
26045         * gst/gstsystemclock.c:
26046           more docs inlined
26047
26048 2005-09-02  Andy Wingo  <wingo@pobox.com>
26049
26050         * gst/gstelement.h (GstState): Renamed from GstElementState,
26051         changed to be a normal enum instead of flags.
26052         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
26053         munged to be GST_STATE_CHANGE_*.
26054         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
26055         work with the new state representation.
26056         (GstStateChange): New enumeration of possible state transitions.
26057         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
26058         (GstElementClass::change_state): Pass the GstStateChange along as
26059         an argument. Helps language bindings, so they don't have to use
26060         tricky lock-needing macros like GST_STATE_CHANGE ().
26061
26062         * scripts/update-states (file): New script. Run it on a file to
26063         update it for state naming and API changes. Updates files in
26064         place.
26065
26066         * All files updated for the new API.
26067
26068 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26069
26070         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
26071         * gst/gstutils.c: (gst_util_set_value_from_string),
26072         (gst_util_set_object_arg):
26073           fix a bunch of unchecked return values
26074         * tools/gst-complete.c: (main):
26075         * gstreamer.spec.in:
26076           clean up a little
26077
26078 2005-09-01  Wim Taymans  <wim@fluendo.com>
26079
26080         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26081         (gst_base_sink_event), (gst_base_sink_do_sync),
26082         (gst_base_sink_handle_event):
26083         * gst/base/gstbasesink.h:
26084         Handle newsegments more correctly.
26085
26086         * gst/gstbus.c:
26087         Fix docs.
26088
26089         * gst/gstevent.c: (gst_event_new_newsegment):
26090         A newsegment cannot have a start_time of -1
26091
26092 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
26093
26094         * win32/gstenumtypes.c:
26095         * win32/gstenumtypes.h:
26096           Update
26097
26098 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26099
26100         * libs/gst/controller/gst-controller.c:
26101         (gst_controlled_property_set_interpolation_mode),
26102         (gst_controlled_property_new):
26103          fixed boolean again
26104
26105 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
26106
26107         * docs/faq/gst-uninstalled:
26108           add -good
26109         * gst/gstevent.c:
26110         * gst/gstevent.h:
26111           remove wrong docs
26112         * gst/gstutils.c: (gst_element_link_filtered):
26113         * gst/gstutils.h:
26114           add gst_element_link_filtered
26115
26116 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26117
26118         * docs/gst/gstreamer-docs.sgml:
26119         * docs/gst/gstreamer-sections.txt:
26120         * docs/gst/tmpl/.cvsignore:
26121         * docs/gst/tmpl/gsterror.sgml:
26122         * docs/gst/tmpl/gstfilter.sgml:
26123         * docs/gst/tmpl/gsturihandler.sgml:
26124         * docs/gst/tmpl/gsturitype.sgml:
26125         * docs/gst/tmpl/gstutils.sgml:
26126         * docs/gst/tmpl/gstxml.sgml:
26127         * gst/gsterror.c:
26128         * gst/gsterror.h:
26129         * gst/gstfilter.c:
26130         * gst/gsturi.c:
26131         * gst/gsturitype.c:
26132         * gst/gstutils.c:
26133         * gst/gstxml.c:
26134           inlined more docs, fixed double id-ref
26135
26136 2005-08-31  Wim Taymans  <wim@fluendo.com>
26137
26138         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26139         (gst_base_transform_handle_buffer):
26140         Passthrough elements don't need the caps as they don't care.
26141
26142 2005-08-31  Wim Taymans  <wim@fluendo.com>
26143
26144         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26145         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
26146         Don't leak refcounts on buffers.
26147
26148 2005-08-31  Wim Taymans  <wim@fluendo.com>
26149
26150         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
26151         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26152         (gst_base_transform_chain), (gst_base_transform_change_state):
26153         * gst/base/gstbasetransform.h:
26154         Handle the case where we are not negotiated more gracefully.
26155
26156 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
26157
26158         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
26159         (gst_file_src_map_region):
26160           Set READONLY flag on mmap'ed buffers, otherwise
26161           gst_buffer_make_writable() won't work properly (#314708).
26162
26163 2005-08-31  Wim Taymans  <wim@fluendo.com>
26164
26165         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
26166         passthrough elements can even do inplace on non writable
26167         buffers (as they don't touch them).
26168
26169 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
26170
26171         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
26172         (gst_test_mono_source_set_property),
26173         (gst_test_mono_source_class_init), (GST_START_TEST),
26174         (gst_controller_suite):
26175           more tests (hehe I have the most)
26176         * gst/gstbus.c:
26177           describe popping messages whenusing mulltiple sources
26178         * libs/gst/controller/gst-controller.c:
26179         (gst_controlled_property_set_interpolation_mode),
26180         (gst_controlled_property_new):
26181         * libs/gst/controller/gst-controller.h:
26182         * libs/gst/controller/gst-interpolation.c:
26183           implement boolean properties
26184
26185 2005-08-31  Wim Taymans  <wim@fluendo.com>
26186
26187         * gst/gstminiobject.c: (gst_mini_object_ref):
26188         Cannot assert that the refcount has to be positive
26189         since a disposed object can be resurrected.
26190
26191 2005-08-31  Wim Taymans  <wim@fluendo.com>
26192
26193         * gst/gstpad.c: (gst_pad_init):
26194         Revert change, need to first fix badly behaving 
26195         apps.
26196
26197 2005-08-30  Wim Taymans  <wim@fluendo.com>
26198
26199         * check/elements/fakesrc.c: (setup_fakesrc):
26200         * check/elements/identity.c: (setup_identity):
26201         Activate pads before using them.
26202
26203 2005-08-30  Wim Taymans  <wim@fluendo.com>
26204
26205         * gst/base/gstadapter.c: (gst_adapter_flush):
26206         Flushing out 0 bytes is ok for this function.
26207
26208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26209         no newsegment gives a warning and sets the start/stop to 
26210         invalid.
26211
26212         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
26213         (gst_base_transform_set_passthrough):
26214         Some debug info.
26215
26216         * gst/gstminiobject.c: (gst_mini_object_ref):
26217         Check refcount here too.
26218
26219         * gst/gstpad.c: (gst_pad_init):
26220         Pads are initially flushing and refusing data.
26221
26222         * gst/gstutils.c: (gst_element_link_pads_filtered):
26223         When adding a capsfilter element make sure it has the
26224         same state as the parent bin.
26225
26226 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26227
26228         * docs/gst/tmpl/.cvsignore:
26229         * docs/gst/tmpl/gstformat.sgml:
26230         * docs/gst/tmpl/gstversion.sgml:
26231         * gst/gstbus.h:
26232         * gst/gstformat.c:
26233         * gst/gstformat.h:
26234         * gst/gstversion.h.in:
26235           more docs and two more inlined
26236
26237 2005-08-30  Wim Taymans  <wim@fluendo.com>
26238
26239         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
26240         Don't sync to clock.
26241
26242 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26243
26244         * docs/gst/gstreamer-sections.txt:
26245           ultral33t func10ns deserve to appear in the docs actually
26246         * docs/gst/tmpl/.cvsignore:
26247         * docs/gst/tmpl/gstcompat.sgml:
26248         * docs/gst/tmpl/gstconfig.sgml:
26249         * gst/check/gstcheck.c:
26250         * gst/gstcompat.h:
26251         * gst/gstconfig.h.in:
26252           inlined more docs
26253
26254 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26255
26256         * docs/gst/tmpl/.cvsignore:
26257         * docs/gst/tmpl/gstquery.sgml:
26258         * docs/gst/tmpl/gstutils.sgml:
26259         * gst/gstquery.c:
26260         * gst/gstquery.h:
26261           inlined and extended docs
26262
26263 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
26264
26265         * check/gst-libs/controller.c: (GST_START_TEST),
26266         (gst_controller_suite):
26267           more tests
26268         * docs/gst/tmpl/gstutils.sgml:
26269         * docs/libs/gstreamer-libs-sections.txt:
26270         * docs/libs/tmpl/gstdataprotocol.sgml:
26271           include path fixes
26272         * examples/controller/audio-example.c: (main):
26273           controller example works now
26274         * gst/gstclock.h:
26275           doc fixes
26276         * tools/gst-inspect.c: (print_element_properties_info):
26277           show param spec flags
26278
26279 2005-08-29  Andy Wingo  <wingo@pobox.com>
26280
26281         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
26282
26283 2005-08-28  Andy Wingo  <wingo@pobox.com>
26284
26285         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
26286         as having two arguments instead of just one. Allows superclasses
26287         to access information on subclasses -- see the terrible for() loop
26288         in gtype.c:g_type_create_instance for the reason why. All callers
26289         changed.
26290
26291 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26292
26293         * docs/design/part-messages.txt:
26294           update info
26295         * docs/gst/tmpl/.cvsignore:
26296         * docs/gst/tmpl/gstcaps.sgml:
26297         * docs/gst/tmpl/gstclock.sgml:
26298         * gst/gstbus.c:
26299         * gst/gstcaps.c:
26300         * gst/gstcaps.h:
26301         * gst/gstclock.c:
26302         * gst/gstclock.h:
26303         * gst/gstmessage.c:
26304           added descriptions for bus and message
26305           inline caps and clock docs
26306
26307 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26308
26309         * gst/gstmessage.c:
26310         * gst/gstmessage.h:
26311           doc fixes
26312
26313 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
26314
26315         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
26316           fix div-by-zero
26317
26318 2005-08-26  Andy Wingo  <wingo@pobox.com>
26319
26320         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
26321         element_set_state's return val.
26322         (test_2_elements): Add test that's been disabled for months.
26323
26324         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
26325         can-activate-pull properties.
26326
26327         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
26328         can-activate-pull properties. Implement is_seekable so fakesrc can
26329         operate in pull mode.
26330
26331         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
26332         properties.
26333         (gst_base_sink_activate, gst_base_sink_activate_pull)
26334         (gst_base_sink_activate_push): Make activation mode choosing work.
26335         Cleanups.
26336         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
26337         is right. Make pull mode work. Post an eos before pausing in pull
26338         mode.
26339         (gst_base_sink_change_state): Pay attention to the core's
26340         change_state() return val.
26341         
26342         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
26343         has-getrange properties. Cleanups.
26344         
26345         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
26346         has_getrange and replace with can_activate_pull and
26347         can_activate_push.
26348
26349         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
26350         locking comments. Remove has_loop, has_chain and replace with
26351         can_activate_pull and can_activate_push.
26352
26353 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
26354
26355         * configure.ac:
26356         * examples/Makefile.am:
26357         * examples/metadata/Makefile.am:
26358         * examples/metadata/read-metadata.c: (message_loop),
26359         (have_pad_handler), (make_pipeline), (print_tag), (main):
26360           Add metadata reading example that loops over a list of filenames,
26361           dumping any tags found.
26362
26363         * gst/gstbus.c: (gst_bus_dispose):
26364         * gst/gstelement.c: (gst_element_dispose):
26365           Release a few potentially-held references in dispose.
26366
26367 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26368
26369         * docs/gst/tmpl/gstminiobject.sgml:
26370           do *not* add tmpl/*.sgml files to CVS!
26371
26372 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26373
26374         * libs/gst/bytestream/.cvsignore:
26375         * libs/gst/bytestream/Makefile.am:
26376         * libs/gst/bytestream/adapter.c:
26377         * libs/gst/bytestream/adapter.h:
26378         * libs/gst/bytestream/bytestream.c:
26379         * libs/gst/bytestream/bytestream.h:
26380         * libs/gst/bytestream/filepad.c:
26381         * libs/gst/bytestream/filepad.h:
26382           removing obsolete files
26383
26384 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26385
26386         * docs/gst/gstreamer-docs.sgml:
26387         * docs/libs/gstreamer-libs-docs.sgml:
26388           disabed additional index entries again, as this makes docs-gen just
26389           slow and they aren't useful yet
26390         * docs/libs/gstreamer-libs-sections.txt:
26391           little -section.txt cleanup for libs
26392
26393 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
26394
26395         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26396         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
26397           fix up some debugging
26398         (gst_base_transform_get_unit_size),
26399         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26400         (gst_base_transform_handle_buffer):
26401         * gst/base/gstbasetransform.h:
26402           handle and store timed NEWSEGMENT events so that subclasses that
26403           calculate time by counting samples have a segment_start time they
26404           need to add to their timestamps - see audioresample
26405
26406 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
26407
26408         * gst/gstbin.h:
26409           removed ';' from the end of macro defs
26410         * docs/gst/gstreamer-docs.sgml:
26411         * docs/gst/gstreamer-sections.txt:
26412         * docs/gst/tmpl/.cvsignore:
26413         * gst/gstbus.h:
26414         * gst/gstelement.c: (gst_element_class_init),
26415         (gst_element_set_state), (activate_pads),
26416         (gst_element_save_thyself):
26417         * gst/gstevent.c: (gst_event_new_newsegment):
26418         * gst/gstevent.h:
26419         * gst/gstiterator.c:
26420         * gst/gstiterator.h:
26421         * gst/gstpad.c:
26422         * gst/gstprobe.h:
26423         * gst/gstutils.c: (gst_pad_query_convert):
26424         * gst/gstutils.h:
26425           fixed parameter name mismatches between source, header and docs
26426           added some more docs, resolved the last batch of unused elements in
26427           docs (now someone needs to doc them)
26428
26429 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26430
26431         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
26432         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
26433           don't walk through the plugins backwards.  Where is all this
26434           reversed logic coming from ?
26435
26436 2005-08-25  Wim Taymans  <wim@fluendo.com>
26437
26438         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26439         (gst_base_transform_transform_size),
26440         (gst_base_transform_configure_caps),
26441         (gst_base_transform_get_unit_size),
26442         (gst_base_transform_buffer_alloc),
26443         (gst_base_transform_change_state):
26444         * gst/base/gstbasetransform.h:
26445         Cache caps unit_size.
26446         Make sure we cannot negotiate up and downstream at the
26447         same time.
26448
26449 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26450
26451         * gst/gst.c: (init_pre), (init_post):
26452           register the installed plugin path after the env var
26453         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
26454         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
26455           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
26456           directories, so the tests can prefer uninstalled over installed
26457
26458 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26459
26460         * gst/base/gstbasetransform.h:
26461           comment
26462         * gst/gstpad.c:
26463           add to docs
26464
26465 2005-08-25  Wim Taymans  <wim@fluendo.com>
26466
26467         * gst/gstbin.c: (bin_bus_handler):
26468         Be a bit more conservative about the posted message.
26469         
26470         * gst/gstbus.c: (gst_bus_post):
26471         Some cleanups, warn wrong return values.
26472
26473 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
26474
26475         * check/gst/gstbin.c: (GST_START_TEST):
26476         * gst/gstbin.c: (bin_bus_handler):
26477         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26478         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26479         (gst_message_new_warning), (gst_message_new_tag),
26480         (gst_message_new_state_changed), (gst_message_new_segment_start),
26481         (gst_message_new_segment_done), (gst_message_new_custom):
26482         * gst/gstmessage.h:
26483         * tools/gst-launch.c: (event_loop):
26484         * tools/gst-md5sum.c: (event_loop):
26485           Revert unpopular change for GST_MESSAGE_SRC to GObject.
26486
26487 2005-08-25  Wim Taymans  <wim@fluendo.com>
26488
26489         * check/generic/states.c: (GST_START_TEST):
26490         Cleanup can be done at the end.
26491
26492         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
26493         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26494         (gst_task_get_state), (gst_task_start), (gst_task_pause):
26495         Oh boy.. Thanks for finding this, Thomas. 
26496
26497 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26498
26499         * docs/gst/gstreamer.types:
26500           added missing types
26501
26502 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
26503
26504         * docs/gst/gstreamer-docs.sgml:
26505         * docs/gst/gstreamer-sections.txt:
26506         * docs/gst/tmpl/.cvsignore:
26507         * gst/gstbin.c:
26508         * gst/gstiterator.c:
26509         * gst/gstutils.c:
26510         * gst/registries/gstxmlregistry.h:
26511           added missing classes and symbols (123 more to go)
26512           removed removed symbols from section file
26513           fixed many doc-comments
26514
26515 2005-08-24  Wim Taymans  <wim@fluendo.com>
26516
26517         * check/generic/states.c: (GST_START_TEST):
26518         Make sure all tasks are stopped.
26519
26520         * check/gst/gstbin.c: (GST_START_TEST):
26521         Unref after usage for proper valgrinding.
26522
26523         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
26524         Really wait for the task to stop before destroying the
26525         mutex.
26526
26527         * gst/gstqueue.c: (gst_queue_sink_activate_push),
26528         (gst_queue_src_activate_push):
26529         Small cleanups. Don't stop the task when we did not start
26530         it.
26531
26532         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
26533         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
26534         (gst_task_get_state), (gst_task_start), (gst_task_pause),
26535         (gst_task_join):
26536         * gst/gsttask.h:
26537         Protect the stream lock with the object lock.
26538         Disallow setting the stream lock when running.
26539         Add cleanup_all to wait for the threadpool to finish.
26540         Remove code to autoallocate a mutex if none was provided.
26541         Add _join() to wait for a task to stop.
26542         Protect the thread pool with a global lock.
26543
26544 2005-08-24  Wim Taymans  <wim@fluendo.com>
26545
26546         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26547         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26548         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
26549         * gst/base/gstbasesink.h:
26550         Handle newsegment events correctly.
26551         Drop buffers out of the segment range.
26552
26553 2005-08-22  Andy Wingo  <wingo@pobox.com>
26554
26555         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
26556         macro, implements an interface and gstimplementsinterface for a
26557         new type.
26558
26559 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26560
26561         * check/Makefile.am:
26562         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
26563           add a test that does a bunch of state changes on elements
26564           needs some fixing for valgrind
26565         * check/states/sinks.c: (gst_object_suite):
26566           whitespace
26567         * gst/gstcaps.h:
26568           add prototype for gst_caps_is_equal_fixed
26569         * gst/gstplugin.c:
26570         * gst/gstregistrypool.c:
26571           doc fixes
26572
26573 2005-08-24  Andy Wingo  <wingo@pobox.com>
26574
26575         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
26576         convert a negative value. Doesn't make much sense. Mostly this is
26577         here to force callers to ensure -1 maps to -1.
26578
26579 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26580
26581         * docs/pwg/advanced-types.xml:
26582           Well done to Michael for catching my deliberate introduction
26583           of this spelling mistake. 
26584         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
26585         * gst/gstelement.h:
26586           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
26587           unlink pads before removing the element from the bin.
26588
26589 2005-08-24  Andy Wingo  <wingo@pobox.com>
26590
26591         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
26592         the same thing as GST_DEBUG=*:4.
26593         (parse_debug_level, parse_debug_category): New helper parsers.
26594
26595 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26596
26597         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26598         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
26599         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
26600         (gst_base_transform_buffer_alloc),
26601         (gst_base_transform_handle_buffer):
26602           use gboolean return values and pointers to size so we can use the
26603           full GST_BUFFER_SIZE range (guint) for buffer sizes
26604           use GstPadDirection for transform_caps
26605         * gst/base/gstbasetransform.h:
26606           rename get_size to get_unit_size since that's what it is
26607         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
26608           use GstPadDirection for transform_caps
26609         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26610         * gst/gstutils.h:
26611           cleanup and debugging
26612
26613 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26614
26615         * gst/gstelement.c: (gst_element_class_init),
26616         (gst_element_set_state), (activate_pads),
26617         (gst_element_save_thyself):
26618         * tools/gst-compprep.c: (main):
26619         * tools/gst-inspect.c: (print_element_properties_info):
26620         * tools/gst-xmlinspect.c: (print_element_properties):
26621           Fixed long standing mem-leak
26622
26623 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
26624
26625         * check/gst/gstbin.c: (GST_START_TEST):
26626         * gst/gstbin.c: (bin_bus_handler):
26627         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
26628         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
26629         (gst_message_new_warning), (gst_message_new_tag),
26630         (gst_message_new_state_changed), (gst_message_new_segment_start),
26631         (gst_message_new_segment_done), (gst_message_new_custom):
26632         * gst/gstmessage.h:
26633         * tools/gst-launch.c: (event_loop):
26634         * tools/gst-md5sum.c: (event_loop):
26635           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
26636           that applications can sensibly post custom messages with references
26637           to their own objects.
26638
26639 2005-08-24  Andy Wingo  <wingo@pobox.com>
26640
26641         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
26642         already.
26643
26644 2005-08-24  Wim Taymans  <wim@fluendo.com>
26645
26646         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26647         (gst_base_transform_transform_caps),
26648         (gst_base_transform_transform_size),
26649         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26650         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26651         (gst_base_transform_handle_buffer):
26652         * gst/base/gstbasetransform.h:
26653         Many fixes and new features added by Thomas. Can now also do
26654         transforms with variable sizes and a custom fixate_caps function.
26655
26656 2005-08-24  Wim Taymans  <wim@fluendo.com>
26657
26658         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26659         Some debugging.
26660
26661         * gst/gstclock.h:
26662         Cast to ClockTime before formatting to time.
26663
26664         * gst/gstutils.h:
26665         Cleanups.
26666
26667 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
26668
26669         * check/gst-libs/controller.c: (GST_START_TEST),
26670         (gst_controller_suite):
26671         * docs/gst/tmpl/gstcaps.sgml:
26672         * docs/gst/tmpl/gstghostpad.sgml:
26673         * docs/gst/tmpl/gstquery.sgml:
26674         * docs/gst/tmpl/gstutils.sgml:
26675         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
26676         (gst_object_sink_values), (gst_object_get_value_arrays),
26677         (gst_object_get_value_array):
26678           gracefully handle helper method calls to objects that are not beeing
26679           controlled, added test case for that          
26680
26681 2005-08-23  Wim Taymans  <wim@fluendo.com>
26682
26683         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
26684         (gst_event_new_newsegment), (gst_event_parse_newsegment),
26685         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
26686         (gst_event_parse_qos), (gst_event_new_seek),
26687         (gst_event_parse_seek):
26688         * gst/gstevent.h:
26689         Some more debugging output and doc cleanups.
26690
26691         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26692         Fix possible deadlock.
26693
26694 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26695
26696         * docs/gst/gstreamer-docs.sgml:
26697         * docs/gst/gstreamer-sections.txt:
26698         * docs/gst/gstreamer.types:
26699         * docs/gst/tmpl/.cvsignore:
26700         * gst/gstbin.h:
26701         * gst/gstbus.c:
26702         * gst/gstelement.c:
26703         * gst/gstevent.h:
26704           added 100 symbols from gstreamer-unused.txt to the right sections
26705           fixed more broken comments
26706           added GstBus to docs
26707
26708 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26709
26710         * docs/gst/gstreamer-sections.txt:
26711         * docs/gst/tmpl/.cvsignore:
26712         * docs/gst/tmpl/gstbin.sgml:
26713         * docs/gst/tmpl/gstbuffer.sgml:
26714         * gst/base/gstbasesrc.c:
26715         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
26716         * gst/gstbuffer.c:
26717         * gst/gstbuffer.h:
26718         * tools/gst-launch.1.in:
26719           inlined more doc comments, added missing comments and fixed comments
26720           fixed typos
26721
26722 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26723
26724         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
26725           some debugging
26726         * gst/gstcaps.h:
26727           whitespace fixes
26728         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
26729           more debugging
26730         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
26731         * gst/gststructure.h:
26732           add a fixate function for booleans; add a FIXME that these func
26733           names should probably be gst_structure_fixate_*
26734
26735 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
26736
26737         * docs/gst/gstreamer-docs.sgml:
26738         * docs/gst/gstreamer-sections.txt:
26739         * gst/Makefile.am:
26740         * gst/gstbin.c: (gst_bin_get_type),
26741         (gst_bin_child_proxy_get_child_by_index),
26742         (gst_bin_child_proxy_get_children_count),
26743         (gst_bin_child_proxy_init):
26744         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
26745         (gst_child_proxy_get_child_by_index),
26746         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
26747         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
26748         (gst_child_proxy_get), (gst_child_proxy_set_property),
26749         (gst_child_proxy_set_valist), (gst_child_proxy_set),
26750         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
26751         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
26752         * gst/gstchildproxy.h:
26753         * gst/parse/grammar.y:
26754         * tools/gst-inspect.c: (print_interfaces),
26755         (print_element_properties_info), (print_element_info):
26756           ported gstchildproxy over from 0.8
26757           ported gst-inspect fixes and enhancements over from 0.8
26758
26759 2005-08-22  Wim Taymans  <wim@fluendo.com>
26760
26761         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26762         (gst_base_transform_handle_buffer):
26763         Also call the transform function if we have ANY caps.
26764
26765         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
26766         Fix debug info.
26767
26768 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26769
26770         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
26771           Don't pretend to handle seek events if the source is not seekable
26772
26773 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
26774
26775         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26776           Remove extra parameter to debug output
26777
26778         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26779         (gst_base_src_do_seek), (gst_base_src_activate_push):
26780           Fix seek event handling.
26781
26782         * gst/gstpipeline.c: (gst_pipeline_change_state):
26783         * gst/gstqueue.c: (gst_queue_handle_sink_event),
26784         (gst_queue_src_activate_push):
26785           Don't start the src pad task on FLUSH_STOP if the pad
26786           isn't linked.
26787           Debug changes.
26788
26789 2005-08-22  Wim Taymans  <wim@fluendo.com>
26790
26791         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
26792         Added check for gst_static_caps_get() refcounting.
26793
26794 2005-08-22  Wim Taymans  <wim@fluendo.com>
26795
26796         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
26797         Make _static_caps_get() refcounting sane.
26798         
26799         * gst/gstelement.c: (gst_element_set_state):
26800         Add g_return_val_if_fail() to protect against segfaults.
26801
26802 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
26803
26804         * docs/gst/tmpl/gstevent.sgml:
26805         * gst/gstevent.c:
26806         * gst/gstevent.h:
26807           inlined remaining docs, added missing doc comments
26808
26809 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26810
26811         * check/gst/gstbin.c: (GST_START_TEST):
26812           since we don't know when preroll is done, use refcount range
26813           check for the sink
26814         * gst/check/gstcheck.h:
26815           add macro for checking refcount range
26816
26817 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26818
26819         * check/Makefile.am:
26820           clean up environment for when registry gets built versus
26821           when actual tests are run; valgrind seems to not report
26822           leaks if GST_PLUGIN_PATH is set to some specific values
26823         * check/gst/gstbin.c: (GST_START_TEST):
26824           add more refcounting checks; maybe this exposes a
26825           preroll lock bug ?
26826         * common/check.mak:
26827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26828         * gst/check/gstcheck.h:
26829         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
26830         (gst_bin_change_state):
26831         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
26832           add/fix debugging/whitespace
26833
26834 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26835
26836         * check/gst/gstevent.c: (event_probe), (test_event),
26837         (GST_START_TEST):
26838          Er, don't call gst_bin_watch_for_state_change you idiot.
26839
26840 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
26841
26842         * check/Makefile.am:
26843           Use CHECK_CFLAGS and CHECK_LIBS
26844         * check/gst/gstevent.c: (event_probe), (test_event),
26845         (GST_START_TEST):
26846           Don't leak events.
26847         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26848         (gst_base_src_start), (gst_base_src_stop),
26849         (gst_base_src_activate_push), (gst_base_src_activate_pull),
26850         (gst_base_src_change_state):
26851           Sprinkle gst_base_src_stop liberally around error paths to fix
26852           problems reusing a source after failed state changes.
26853         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26854         (helper_find_suggest), (gst_type_find_helper):
26855           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
26856         * gst/gstevent.h:
26857         * docs/gst/tmpl/gstevent.sgml:
26858           Migrate part of the docs from the SGML file. Wait for ensonic to
26859           tell me how I did it wrong ;)
26860         * tools/gst-typefind.c: (main):
26861           Extra robustness to state changes between files.
26862
26863 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26864
26865         * check/Makefile.am:
26866           don't valgrind the controller test - it's leaking - Stefan, HELP
26867         * gst/check/gstcheck.c: (gst_check_message_error),
26868         (gst_check_chain_func), (gst_check_setup_element),
26869         (gst_check_teardown_element), (gst_check_setup_src_pad),
26870         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
26871         (gst_check_teardown_sink_pad):
26872         * gst/check/gstcheck.h:
26873           add a bunch of methods to set up elements, and src and sink pads
26874         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
26875         * check/elements/identity.c: (setup_identity), (cleanup_identity),
26876         (GST_START_TEST):
26877           use them
26878         * gst/gstmessage.c:
26879         * gst/gsttag.h:
26880           whitespace/doc fixes
26881
26882 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26883
26884         * gst/gstelement.h:
26885           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
26886           be handled by the application and not always printed as well
26887
26888 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26889
26890         * check/Makefile.am:
26891           set GST_TOOLS_DIR
26892         * gst/check/gstcheck.c: (gst_check_message_error):
26893         * gst/check/gstcheck.h:
26894           add a fail_unless_equals_int
26895           add fail_unless for error messages
26896
26897 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26898
26899         * check/Makefile.am:
26900         * check/gst.supp:
26901         * common/Makefile.am:
26902         * common/check.mak:
26903         * common/gst.supp:
26904           factor out some of the common stuff so we can use it
26905
26906 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26907
26908         * check/Makefile.am:
26909         * check/gst/gstiterator.c: (GST_START_TEST):
26910         * check/gst/gstsystemclock.c: (GST_START_TEST),
26911         (gst_systemclock_suite):
26912         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26913         * gst/gstclock.c:
26914           valgrind more tests
26915
26916 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
26917
26918         * check/elements/.cvsignore:
26919         * check/elements/gstfakesrc.c:
26920           rename to name of element
26921         * check/elements/identity.c: (chain_func), (event_func),
26922         (setup_identity), (cleanup_identity), (GST_START_TEST),
26923         (identity_suite), (main):
26924           add a test for identity
26925         * check/Makefile.am:
26926         * pkgconfig/Makefile.am:
26927         * pkgconfig/gstreamer-check.pc.in:
26928         * pkgconfig/gstreamer-check-uninstalled.pc.in:
26929         * gst/check:
26930         * gst/Makefile.am:
26931         * configure.ac:
26932           move the check stuff to a library that gets installed
26933         * check/gst-libs/controller.c: (GST_START_TEST):
26934         * check/gst-libs/gdp.c:
26935         * check/gst/gst.c: (GST_START_TEST):
26936         * check/gst/gstbin.c:
26937         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26938         * check/gst/gstbus.c:
26939         * check/gst/gstcaps.c: (GST_START_TEST):
26940         * check/gst/gstelement.c:
26941         * check/gst/gstghostpad.c:
26942         * check/gst/gstiterator.c:
26943         * check/gst/gstmessage.c:
26944         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
26945         * check/gst/gstobject.c:
26946         * check/gst/gstpad.c: (GST_START_TEST):
26947         * check/gst/gststructure.c: (GST_START_TEST):
26948         * check/gst/gstsystemclock.c: (GST_START_TEST),
26949         (gst_systemclock_suite):
26950         * check/gst/gsttag.c: (gst_tag_suite):
26951         * check/gst/gstvalue.c:
26952         * check/pipelines/cleanup.c:
26953         * check/pipelines/simple_launch_lines.c:
26954         * check/states/sinks.c:
26955           change include statement
26956
26957         * docs/gst/gstreamer-sections.txt:
26958         * docs/gst/tmpl/gstpad.sgml:
26959           document more pad stuff
26960         * gst/gstminiobject.c: (gst_mini_object_ref),
26961         (gst_mini_object_unref):
26962           debug refcounting
26963
26964 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
26965
26966         * docs/gst/tmpl/gst.sgml:
26967         * gst/gst.c:
26968           eliminate another tmpl file, fix spelling in the long-description
26969
26970 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26971
26972         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
26973         (test_event), (timediff), (gstevents_suite):
26974           Should fix build on 64-bit arch's
26975
26976 2005-08-18  Andy Wingo  <wingo@pobox.com>
26977
26978         Make sure that when a pipeline goes to PLAYING, that data has
26979         actually hit the sink.
26980
26981         * check/states/sinks.c (test_sink): A sink that doesn't get any
26982         data shouldn't return SUCCESS for going to either PLAYING or
26983         PAUSED. Test also the return values on the way back down.
26984
26985         * gst/gstelement.c (gst_element_set_state): When changing the
26986         state of an element currently changing state asynchronously, go to
26987         lost-state after commiting the pending state. Makes future calls
26988         to get_state continue to return ASYNC.
26989
26990         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
26991         ASYNC when going to PLAYING if we still don't have preroll, as can
26992         happen with live sources.
26993
26994 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
26995
26996         * docs/pwg/advanced-types.xml:
26997           Hack long paragraph into 2 chunks as a workaround for buggy
26998           jadetex version in sid and breezy that loops infinitely and
26999           eats all RAM.
27000
27001 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27002
27003         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27004         (test_event), (timediff), (gstevents_suite):
27005           Provide more error margin in clock measurements to allow for 
27006           g_get_current_time inaccuracies.
27007
27008 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27009
27010         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27011         (test_event), (timediff), (gstevents_suite):
27012            Fix error message output so I might be able to tell why the
27013            test works here but fails on the build farm.
27014
27015 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
27016
27017         * check/Makefile.am:
27018         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
27019         (test_event), (timediff), (gstevents_suite), (main):
27020           I wrote a test!
27021
27022         * docs/design/part-seeking.txt:
27023           Spelling correction
27024
27025         * docs/gst/tmpl/gstevent.sgml:
27026         * docs/gst/tmpl/gstfakesrc.sgml:
27027           Docs updates.
27028
27029         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27030           Treat a buffer-without-newsegment the same as a receiving 
27031           a newsegment not in time format, and disable syncing to the clock
27032           with a warning.
27033
27034         * gst/gstbus.c: (gst_bus_set_sync_handler):
27035           Assert if anyone tries to replace the existing sync_handler for bus, 
27036           as only the owner should be setting it.
27037
27038         * gst/gstevent.h:
27039           Have a fixed set of custom event enums with events identified by
27040           their structure name (as in 0.8), rather than a free-for-all
27041           allowing collisions between enum values from different plugins.
27042
27043         * gst/gstpad.c: (gst_pad_class_init):
27044           Docs change.
27045           
27046         * gst/gstqueue.c: (gst_queue_handle_sink_event):
27047           Handle out-of-band downstream events from the sending thread.
27048
27049 2005-08-17  Andy Wingo  <wingo@pobox.com>
27050
27051         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
27052         play-timeout==0 to mean no timeout at all. In that case, don't
27053         bother with a get_state or a warning, just return directly, even
27054         if it's ASYNC.
27055
27056         * gst/base/gstbasetransform.c: Debug changes.
27057
27058         * gst/gstutils.h:
27059         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
27060         ensure bins post state change messages. A bit of a hack but I can't
27061         think of a way to avoid it.
27062
27063         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
27064
27065 2005-08-16  Andy Wingo  <wingo@pobox.com>
27066
27067         * gst/base/gstadapter.h:
27068         * gst/base/gstadapter.c (gst_adapter_take): New function, like
27069         peek() but you own the data. Not terribly efficient atm.
27070
27071 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27072
27073         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
27074         (gst_element_found_tags):
27075         * gst/gstutils.h:
27076           Add two utility functions for tag handling.
27077
27078 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27079
27080         * docs/manual/advanced-dataaccess.xml:
27081         * docs/manual/basics-helloworld.xml:
27082           Fix docs to use _bin_add() before _link(), which fixes the examples
27083           with recent core versions (reported by Madhan Raj M
27084           <raj_madan@rediffmail.com>, #313199).
27085
27086 2005-08-16  Wim Taymans  <wim@fluendo.com>
27087
27088         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
27089         Added subtract checks.
27090
27091         * docs/design/part-events.txt:
27092         Some more docs about newsegment
27093
27094         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27095         Fix FIXME
27096
27097         * gst/gstcaps.c: (gst_caps_to_string):
27098         Add comments, cleanups.
27099         
27100         * gst/gstelement.c: (gst_element_save_thyself):
27101         cleanups
27102         
27103         * gst/gstvalue.c: (gst_value_collect_int_range),
27104         (gst_string_unwrap), (gst_value_union_int_int_range),
27105         (gst_value_union_int_range_int_range),
27106         (gst_value_intersect_int_int_range),
27107         (gst_value_intersect_int_range_int_range),
27108         (gst_value_intersect_double_double_range),
27109         (gst_value_intersect_double_range_double_range),
27110         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
27111         (gst_value_subtract_int_range_int),
27112         (gst_value_subtract_double_range_double),
27113         (gst_value_subtract_double_range_double_range),
27114         (gst_value_subtract_from_list), (gst_value_subtract_list),
27115         (gst_value_can_compare), (gst_value_compare_fraction):
27116         Cleanups, add comments, remove unneeded asserts.
27117
27118 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27119
27120         * tools/gst-launch.c: (event_loop):
27121           don't convert NULL structures to strings
27122
27123 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
27124
27125         * docs/gst/gstreamer-sections.txt:
27126           made some defines private
27127         * docs/gst/tmpl/gstconfig.sgml:
27128         * docs/gst/tmpl/gstqueue.sgml:
27129         * docs/gst/tmpl/gsttaglist.sgml:
27130         * docs/gst/tmpl/gsttypes.sgml:
27131         * docs/gst/tmpl/gstutils.sgml:
27132         * docs/pwg/appendix-porting.xml:
27133         * gst/base/gstbasesink.h:
27134         * gst/base/gstbasesrc.c:
27135         * gst/base/gstbasesrc.h:
27136         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
27137         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
27138         * gst/gstelement.c: (gst_element_class_init):
27139         * gst/gstpad.c: (gst_pad_class_init):
27140         * gst/gstqueue.c: (gst_queue_class_init):
27141         * gst/gstxml.c: (gst_xml_class_init):
27142           documented all undocumented signal inline
27143         * libs/gst/controller/gst-controller.h:
27144           added padding
27145
27146 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27147
27148         * docs/pwg/appendix-porting.xml:
27149           Document _set_link_function -> _set_setcaps_function.
27150
27151 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
27152
27153         * check/Makefile.am:
27154           add a .check target for running the check
27155         * check/gst-libs/controller.c: (GST_START_TEST):
27156           cosmetic fixups
27157         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27158           complete checks for gstbuffer; would be nice if I could get the
27159           gcov stuff to work so I can see if I actually completed gstbuffer.c
27160         * check/gstcheck.h:
27161           add ASSERT_BUFFER_REFCOUNT
27162
27163 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
27164
27165         * docs/gst/gstreamer-sections.txt:
27166         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
27167         * gst/gsttag.h:
27168           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
27169           spew out a warning if a tag that is already registered
27170           is re-registered, unless it is re-registered with a 
27171           different type (#308438).
27172
27173 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
27174
27175         * docs/pwg/appendix-porting.xml:
27176         * docs/pwg/building-state.xml:
27177           Add some paragraphs about state changes in 0.9 to the PWG
27178           and the porting guide, in particular about the new meaning
27179           of GST_STATE_PAUSED and how to write state change functions
27180           with concurrent access by multiple threads in mind.
27181
27182 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
27183
27184         * docs/gst/gstreamer-docs.sgml:
27185         * docs/libs/gstreamer-libs-docs.sgml:
27186           added deprecation and since indexes
27187         * libs/gst/controller/gst-controller.c:
27188         * libs/gst/controller/gst-helper.c:
27189           added since tags
27190
27191
27192 2005-08-11  Wim Taymans  <wim@fluendo.com>
27193
27194         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
27195         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
27196         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
27197         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
27198         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
27199         (gst_ghost_pad_set_target):
27200         Actually implement (re)setting the target on a ghostpad
27201         as described in the docs.
27202
27203 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27204
27205         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
27206           Check whether GST_DEBUG_NO_COLOR environment variable is
27207           set and disable coloured debug output if that is the case.
27208
27209 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
27210
27211         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27212         (gst_type_find_helper):
27213           The memory returned by gst_type_find_peek() needs to
27214           stay valid until the end of a typefind function, and
27215           typefind functions may keep results from different 
27216           offsets around, so we can't just unref the buffer from
27217           the previous _peek(), but have to save all buffers 
27218           returned by _peek() until typefinding is done and only
27219           free them then.
27220
27221 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
27222
27223         * docs/gst/gstreamer-sections.txt:
27224         * gst/gstutils.h:
27225           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
27226
27227 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27228
27229         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
27230           Fix a pretty good memleak.
27231
27232 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27233
27234         * gst/gstiterator.h:
27235           Fix wrong include and 'make distcheck'.
27236
27237 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27238
27239         * gst/gstbin.c: (bin_bus_handler):
27240           Use gst_element_post_message() instead.
27241
27242 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
27243
27244         * gst/base/gstadapter.h:
27245         * gst/base/gstbasesink.h:
27246         * gst/base/gstbasesrc.h:
27247         * gst/base/gstbasetransform.h:
27248         * gst/base/gstcollectpads.h:
27249         * gst/base/gstpushsrc.h:
27250         * gst/gstiterator.h:
27251           Add padding to our base elements' class and instance structs and
27252           to GstIterator (you will need to rebuild all plugins and apps!)
27253
27254 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27255
27256         * gst/gstbin.c: (bin_bus_handler):
27257           Make default message forwarding from child->bus to bin->bus
27258           threadsafe and make it not emit warnings if the parent has no bus.
27259
27260 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27261
27262         * gst/gstelement.c: (activate_pads):
27263           On paused->ready, set pad->caps to NULL, as is the documented
27264           behaviour in this state change. Fixes playback of series of
27265           media files when visualization is enabled in Totem.
27266
27267 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27268
27269         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27270           Allow NULL as filter-caps (which means "any").
27271
27272 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27273
27274         * docs/libs/gstreamer-libs-sections.txt:
27275         * libs/gst/controller/gst-controller.c:
27276         * libs/gst/controller/gst-controller.h:
27277         * libs/gst/controller/gst-helper.c:
27278           adding more entries to the docs and fix small doc-bugs
27279
27280 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27281
27282         * docs/gst/gstreamer-docs.sgml:
27283         * docs/gst/gstreamer-sections.txt:
27284         * docs/gst/gstreamer.types:
27285         * docs/gst/tmpl/gstbasesink.sgml:
27286         * docs/gst/tmpl/gstbasesrc.sgml:
27287         * docs/gst/tmpl/gstbasetransform.sgml:
27288         * docs/gst/tmpl/gstfakesrc.sgml:
27289         * gst/base/gstcollectpads.c:
27290         * gst/base/gstcollectpads.h:
27291         * libs/gst/controller/gst-controller.c:
27292         * libs/gst/controller/gst-controller.h:
27293         * libs/gst/controller/gst-helper.c:
27294         * libs/gst/controller/gst-interpolation.c:
27295         * libs/gst/controller/lib.c:
27296           added long/short desc for controller docs
27297           added collectpads base class docs
27298           added correct includes to base-class docs
27299
27300 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
27301
27302         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
27303         (gst_test_mono_source_set_property),
27304         (gst_test_mono_source_class_init), (GST_START_TEST),
27305         (gst_controller_suite):
27306         * docs/gst/gstreamer-docs.sgml:
27307         * docs/gst/gstreamer-sections.txt:
27308         * docs/gst/gstreamer.types:
27309         * docs/libs/gstreamer-libs-docs.sgml:
27310         * docs/libs/gstreamer-libs-sections.txt:
27311         * gst/base/gstadapter.c:
27312         * libs/gst/controller/gst-controller.c:
27313         (gst_controlled_property_new), (gst_controlled_property_free),
27314         (gst_controller_new_valist),
27315         (gst_controller_remove_properties_valist),
27316         (gst_controller_sink_values), (_gst_controller_finalize):
27317         * libs/gst/controller/gst-controller.h:
27318         * libs/gst/controller/gst-helper.c:
27319         (gst_object_control_properties), (gst_object_uncontrol_properties),
27320         (gst_object_get_controller), (gst_object_set_controller),
27321         (gst_object_sink_values), (gst_object_get_value_arrays),
27322         (gst_object_get_value_array):
27323           more tests (and fixes) for the controller
27324           more docs for the controller
27325           integrated companies docs for the adapter 
27326
27327 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
27328
27329         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
27330         (GST_START_TEST), (fakesrc_suite):
27331           add tests for sizetype
27332
27333 2005-08-04  Andy Wingo  <wingo@pobox.com>
27334
27335         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
27336         fixes buffer_alloc proxying among other things.
27337
27338         * gst/base/gstbasetransform.c:
27339         * gst/base/gstbasetransform.h:
27340         Revert patch to gstbasetransform from 7-28 removing
27341         delay_configure.
27342
27343         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
27344         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
27345         Semantics changed, should return not the size of the output buffer
27346         but the byte size of a buffer with a given caps.
27347
27348         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
27349         debug object.
27350         (gst_base_transform_configure_caps): Don't set out_size here: (in,
27351         out) are not the pad caps until setcaps finishes.
27352         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
27353         not-in-place case as well. Deal with changing from in-place to
27354         not-in-place within calling pad_alloc_buffer. Still a bit
27355         concerned about the overhead here...
27356
27357 2005-08-03  Andy Wingo  <wingo@pobox.com>
27358
27359         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
27360         fixating is an error.
27361
27362 2005-08-04  Edward Hervey  <edward@fluendo.com>
27363
27364         * gst/base/gstadapter.h: 
27365         Added gst_adapter_get_type() to the header
27366
27367 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27368
27369         * check/Makefile.am:
27370         * check/gst-libs/controller.c:
27371         * libs/gst/controller/gst-controller.c:
27372         (gst_controller_new_valist):
27373           added check test suite for the controller
27374         * gst/base/gstpushsrc.c:
27375           fixed a doc typo
27376
27377 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27378
27379         * docs/gst/Makefile.am:
27380         * docs/gst/gstreamer-docs.sgml:
27381         * docs/gst/gstreamer-sections.txt:
27382         * docs/gst/gstreamer.types:
27383         * docs/gst/tmpl/gstfakesrc.sgml:
27384         * gst/base/README:
27385         * gst/base/gstbasesink.c:
27386         * gst/base/gstbasesink.h:
27387         * gst/base/gstbasesrc.c:
27388         * gst/base/gstbasesrc.h:
27389         * gst/base/gstbasetransform.c:
27390         * gst/base/gstpushsrc.c:
27391         * gst/base/gstpushsrc.h:
27392           add short/long description docs to base classes
27393           add pushsrc to the docs
27394           remove consolidated doc fragments
27395
27396 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
27397
27398         * configure.ac:
27399         * docs/libs/Makefile.am:
27400         * docs/libs/gstreamer-libs-docs.sgml:
27401         * docs/libs/gstreamer-libs-sections.txt:
27402         * docs/libs/gstreamer-libs.types:
27403         * examples/Makefile.am:
27404         * examples/controller/.cvsignore:
27405         * examples/controller/Makefile.am:
27406         * examples/controller/audio-example.c: (main):
27407         * libs/gst/Makefile.am:
27408         * libs/gst/controller/.cvsignore:
27409         * libs/gst/controller/Makefile.am:
27410         * libs/gst/controller/gst-controller.c:
27411         (on_object_controlled_property_changed), (gst_timed_value_compare),
27412         (gst_timed_value_find),
27413         (gst_controlled_property_set_interpolation_mode),
27414         (gst_controlled_property_new), (gst_controlled_property_free),
27415         (gst_controller_find_controlled_property),
27416         (gst_controller_new_valist), (gst_controller_new),
27417         (gst_controller_remove_properties_valist),
27418         (gst_controller_remove_properties), (gst_controller_set),
27419         (gst_controller_set_from_list), (gst_controller_unset),
27420         (gst_controller_get), (gst_controller_get_all),
27421         (gst_controller_sink_values), (gst_controller_get_value_arrays),
27422         (gst_controller_get_value_array),
27423         (gst_controller_set_interpolation_mode),
27424         (_gst_controller_finalize), (_gst_controller_init),
27425         (_gst_controller_class_init), (gst_controller_get_type):
27426         * libs/gst/controller/gst-controller.h:
27427         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
27428         (g_object_uncontrol_properties), (g_object_get_controller),
27429         (g_object_set_controller), (g_object_sink_values),
27430         (g_object_get_value_arrays), (g_object_get_value_array):
27431         * libs/gst/controller/gst-interpolation.c:
27432         (gst_controlled_property_find_timed_value_node),
27433         (interpolate_none_get), (interpolate_trigger_get),
27434         (interpolate_trigger_get_value_array):
27435         * libs/gst/controller/lib.c: (gst_controller_init):
27436         * pkgconfig/Makefile.am:
27437         * pkgconfig/gstreamer-control-uninstalled.pc.in:
27438         * pkgconfig/gstreamer-control.pc.in:
27439         * testsuite/Makefile.am:
27440         * testsuite/controller/.cvsignore:
27441         * testsuite/controller/Makefile.am:
27442         * testsuite/controller/interpolator.c: (main):
27443           added controller code
27444           removed dparam pc files
27445
27446 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27447         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
27448         (gst_collectpads_stop):
27449           Broadcast the condition when shutting down, to make sure we wake all
27450           threads up. Shut down pads on finalize, for safety.
27451
27452 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
27453         * gst/base/gstbasetransform.c: (gst_base_transform_init),
27454         (gst_base_transform_handle_buffer),
27455         (gst_base_transform_change_state):
27456           Handle PAUSED->READY->PAUSED transition after negotiation
27457           occurred already.
27458         * gst/gstmessage.c: (gst_message_init):
27459           Extra piece of debug for new messages.
27460
27461 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
27462
27463         * configure.ac:
27464         * docs/gst/tmpl/gstbasesrc.sgml:
27465         * docs/gst/tmpl/gstelement.sgml:
27466         * docs/gst/tmpl/gstevent.sgml:
27467         * docs/gst/tmpl/gstfakesrc.sgml:
27468         * docs/gst/tmpl/gstformat.sgml:
27469         * docs/gst/tmpl/gstghostpad.sgml:
27470         * docs/gst/tmpl/gstpad.sgml:
27471         * docs/gst/tmpl/gstquery.sgml:
27472         * docs/gst/tmpl/gststructure.sgml:
27473         * docs/gst/tmpl/gsttaglist.sgml:
27474         * docs/gst/tmpl/gstvalue.sgml:
27475         * docs/libs/gstreamer-libs-docs.sgml:
27476         * docs/libs/gstreamer-libs-sections.txt:
27477         * docs/libs/gstreamer-libs.types:
27478         * libs/gst/Makefile.am:
27479         * libs/gst/control/.cvsignore:
27480         * libs/gst/control/Makefile.am:
27481         * libs/gst/control/control.c:
27482         * libs/gst/control/control.h:
27483         * libs/gst/control/dparam.c:
27484         * libs/gst/control/dparam.h:
27485         * libs/gst/control/dparam_smooth.c:
27486         * libs/gst/control/dparam_smooth.h:
27487         * libs/gst/control/dparamcommon.h:
27488         * libs/gst/control/dparammanager.c:
27489         * libs/gst/control/dparammanager.h:
27490         * libs/gst/control/dplinearinterp.c:
27491         * libs/gst/control/dplinearinterp.h:
27492         * libs/gst/control/unitconvert.c:
27493         * libs/gst/control/unitconvert.h:
27494         * testsuite/Makefile.am:
27495         * testsuite/dynparams/.cvsignore:
27496         * testsuite/dynparams/Makefile.am:
27497         * testsuite/dynparams/dparamstest.c:
27498         * tools/Makefile.am:
27499         * tools/gst-inspect.c: (print_element_info), (main):
27500         * tools/gst-xmlinspect.c: (print_element_info), (main):
27501           deactivate and remove dparams (libgstcontrol)
27502
27503 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27504
27505         * gst/elements/gsttypefindelement.c:
27506         (gst_type_find_element_have_type), (gst_type_find_element_init),
27507         (stop_typefinding), (gst_type_find_element_handle_event),
27508         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27509         * gst/elements/gsttypefindelement.h:
27510           Set caps on all outgoing buffers, not just the first one.
27511
27512 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27513
27514         * gst/elements/gsttypefindelement.c:
27515         (gst_type_find_element_have_type),
27516         (gst_type_find_element_check_set_buffer_caps),
27517         (gst_type_find_element_init), (stop_typefinding),
27518         (gst_type_find_element_handle_event),
27519         (gst_type_find_element_chain), (gst_type_find_element_getrange):
27520         * gst/elements/gsttypefindelement.h:
27521           Set caps on first outgoing buffer when we've found the type.
27522
27523 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
27524
27525         * docs/gst/gstreamer-docs.sgml:
27526         * docs/gst/gstreamer-sections.txt:
27527         * docs/gst/tmpl/gstscheduler.sgml:
27528         * docs/gst/tmpl/gstschedulerfactory.sgml:
27529           Remove some old cruft from docs.
27530
27531 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
27532
27533         * gst/gstpad.h:
27534           Fix inline docs for GstPadLinkReturn.
27535           
27536         * gst/gststructure.c: (gst_structure_has_name):
27537         * gst/gststructure.h:
27538         * docs/gst/gstreamer-sections.txt:
27539           New API: gst_structure_has_name().
27540
27541 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
27542
27543         * configure.ac:
27544           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
27545           and _LARGEFILE_SOURCE in config.h as required. Do not 
27546           export those flags in our .pc files any longer (#142209).
27547
27548           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
27549
27550         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
27551         (gst_file_sink_do_seek), (gst_file_sink_event),
27552         (gst_file_sink_get_current_offset), (gst_file_sink_render):
27553           Redo seek/tell calls with large file support in mind; add some
27554           debugging messages; add log message that tells us when large
27555           file support is unavailable or not enabled for some reason.
27556
27557         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
27558           Add log message that tells us when large file support 
27559           is unavailable or not enabled for some reason.
27560
27561 2005-07-29  Wim Taymans  <wim@fluendo.com>
27562
27563         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27564         Added test for removing an element with ghostpad from a bin.
27565         Fixed test as current implementation does the right thing.
27566
27567         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
27568         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
27569         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
27570         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
27571         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
27572         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
27573         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
27574         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27575         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
27576         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
27577         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
27578         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
27579         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
27580         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
27581         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
27582         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
27583         * gst/gstghostpad.h:
27584         Clean up ghostpads, remove properties for internal stuff.
27585         Make threadsafe.
27586         Fix refcounting.
27587         Prepare for switching targets, not all use cases work yet.
27588
27589 2005-07-29  Wim Taymans  <wim@fluendo.com>
27590
27591         * docs/design/part-gstghostpad.txt:
27592         Small update.
27593
27594         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27595         (gst_bin_remove_func):
27596         Unlinking pads while holding the bin LOCK is not a good
27597         idea.
27598
27599         * gst/gstpad.c: (gst_pad_class_init),
27600         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
27601         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
27602         No prob setting template after creating the pad.
27603
27604 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
27605
27606         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
27607         (gst_bus_peek), (gst_bus_source_dispatch),
27608         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
27609         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
27610           gst_bus_poll may be called from other threads. Handle
27611           this nicely by not making poll_data disappear off the
27612           stack once gst_bus_poll returns.
27613           gst_bus_peek now increments the refcount on the returned
27614           message.
27615
27616 2005-07-29  Wim Taymans  <wim@fluendo.com>
27617
27618         * docs/design/part-gstghostpad.txt:
27619         Overview of current GhostPad datastructures and use
27620         cases for changing the target.
27621
27622 2005-07-28  Wim Taymans  <wim@fluendo.com>
27623
27624         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27625         Added checks for hierarchy consistency whan adding linked
27626         elements to bins.
27627
27628         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
27629         Added check to test element scheduling without bin/pipeline.
27630
27631         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27632         First add elements to bin, then link.
27633         
27634         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
27635         (gst_bin_remove_func):
27636         Unlink pads from elements added/removed from bin to maintain
27637         hierarchy consistency.
27638
27639 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27640
27641         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
27642         (gst_base_transform_handle_buffer):
27643         * gst/base/gstbasetransform.h:
27644           Remove broken delay_configure (fixes renegotiation of software
27645           scaling pipelines); remove some leftover printf()s.
27646
27647 2005-07-28  Wim Taymans  <wim@fluendo.com>
27648
27649         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
27650         Added some more tests for wrong hierarchy
27651
27652         * docs/design/part-overview.txt:
27653         Some updates.
27654
27655         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
27656         Cleanups.
27657
27658         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
27659         (gst_element_dispose):
27660         Some more cleanups.
27661
27662         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27663         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
27664         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27665         (gst_pad_set_caps), (gst_pad_send_event):
27666         Check for correct hierarchy when linking pads. Moving to
27667         strict requirement for ghostpads when linking elements in
27668         different bins.
27669
27670         * gst/gstpad.h:
27671         Clean ups. Added WRONG_HIERARCHY return value.
27672
27673 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27674
27675         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
27676           Better debug if no transform is possible.
27677
27678 2005-07-27  Wim Taymans  <wim@fluendo.com>
27679
27680         * docs/random/wtay/network-transp:
27681         Some old doc I had.
27682
27683 2005-07-27  Wim Taymans  <wim@fluendo.com>
27684
27685         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27686         (gst_dp_event_from_packet):
27687         Fix serialization of seek events.
27688
27689 2005-07-27  Wim Taymans  <wim@fluendo.com>
27690
27691         * check/gst-libs/gdp.c: (GST_START_TEST):
27692         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27693         Fix compilation and fix event serialization.
27694
27695 2005-07-27  Wim Taymans  <wim@fluendo.com>
27696
27697         * CHANGES-0.9:
27698         * docs/design/part-TODO.txt:
27699         * docs/design/part-events.txt:
27700         Some docs updates
27701
27702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27703         (gst_base_sink_event), (gst_base_sink_do_sync),
27704         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27705         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
27706         (gst_base_src_do_seek), (gst_base_src_event_handler),
27707         (gst_base_src_loop):
27708         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
27709         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27710         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
27711         (gst_base_transform_event), (gst_base_transform_handle_buffer),
27712         (gst_base_transform_set_passthrough),
27713         (gst_base_transform_is_passthrough):
27714         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
27715         * gst/elements/gstfilesink.c: (gst_file_sink_event):
27716         Event updates.
27717
27718         * gst/gstbuffer.h:
27719         Use faster casts.
27720
27721         * gst/gstelement.c: (gst_element_seek):
27722         * gst/gstelement.h:
27723         Update gst_element_seek.
27724
27725         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
27726         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
27727         (gst_event_new_flush_start), (gst_event_new_flush_stop),
27728         (gst_event_new_eos), (gst_event_new_newsegment),
27729         (gst_event_parse_newsegment), (gst_event_new_tag),
27730         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
27731         (gst_event_parse_qos), (gst_event_new_seek),
27732         (gst_event_parse_seek), (gst_event_new_navigation):
27733         * gst/gstevent.h:
27734         Make GstEvent use GstStructure. Add parsing code, make sure the
27735         API is sufficiently generic.
27736         Mark possible directions of events and serialization.
27737
27738         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
27739         (_gst_message_copy), (gst_message_new_segment_start),
27740         (gst_message_new_segment_done), (gst_message_new_custom),
27741         (gst_message_parse_segment_start),
27742         (gst_message_parse_segment_done):
27743         Small cleanups.
27744
27745         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
27746         (gst_pad_set_caps), (gst_pad_send_event):
27747         Update for new events. 
27748         Catch events sent in wrong directions.
27749
27750         * gst/gstqueue.c: (gst_queue_link_src),
27751         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27752         (gst_queue_handle_src_query):
27753         Event updates.
27754
27755         * gst/gsttag.c:
27756         * gst/gsttag.h:
27757         Remove event code from this file.
27758
27759         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27760         (gst_dp_event_from_packet):
27761         Event updates.
27762
27763 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27764
27765         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
27766         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
27767         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
27768           Make debugging actually useful.
27769
27770 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27771
27772         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
27773         (gst_pad_fixate_caps):
27774           Implement default fixation once again, so that gst_pad_fixate()
27775           actually does anything at all. This probably needs to be some
27776           sort of a last resort, and use profile-based fixation first, but
27777           since that doesn't exist yet, this is the best we have. Fixes
27778           visualization in Totem.
27779
27780 2005-07-22  Wim Taymans  <wim@fluendo.com>
27781
27782         * docs/design/part-events.txt:
27783         Small update.
27784
27785         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27786         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
27787         (gst_base_sink_activate_pull):
27788         Some more comments.
27789
27790         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
27791         (gst_fake_src_create):
27792         Fix handoff marshall.
27793
27794         * gst/elements/gstidentity.c: (gst_identity_class_init),
27795         (gst_identity_transform_ip):
27796         We're a real inplace element.
27797
27798         * gst/gstbus.c: (gst_bus_post):
27799         Added some comments.
27800
27801         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
27802         * tests/muxing/case1.c: (main):
27803         * tests/sched/dynamic-pipeline.c: (main):
27804         * tests/sched/interrupt1.c: (main):
27805         * tests/sched/interrupt2.c: (main):
27806         * tests/sched/interrupt3.c: (main):
27807         * tests/sched/runxml.c: (main):
27808         * tests/sched/sched-stress.c: (main):
27809         * tests/seeking/seeking1.c: (event_received), (main):
27810         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
27811         (main):
27812         * tests/threadstate/threadstate3.c: (main):
27813         * tests/threadstate/threadstate4.c: (main):
27814         * tests/threadstate/threadstate5.c: (main):
27815         Fix the tests.
27816
27817 2005-07-21  Wim Taymans  <wim@fluendo.com>
27818
27819         * docs/design/part-seeking.txt:
27820         Some small additions.
27821
27822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27823         (gst_base_sink_get_times), (gst_base_sink_do_sync),
27824         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
27825         * gst/base/gstbasesink.h:
27826         discont values are gint64, handle the math correctly.
27827
27828         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27829         Make the basesrc report error if the source pad is not linked.
27830
27831         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
27832         (gst_queue_loop), (gst_queue_handle_src_query),
27833         (gst_queue_src_activate_push):
27834         Make queue collect data even if the srcpad is not linked.
27835         Start pushing out data as soon as it is linked.
27836
27837         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
27838         * gst/gstutils.h:
27839         Added gst_flow_get_name() to ease error reporting.
27840
27841 2005-07-20  Wim Taymans  <wim@fluendo.com>
27842
27843         * gst/gstmessage.c: (gst_message_new_segment_start),
27844         (gst_message_new_segment_done), (gst_message_parse_segment_start),
27845         (gst_message_parse_segment_done):
27846         * gst/gstmessage.h:
27847         Added a bunch of messages for advanced seeking.
27848
27849         * gst/parse/grammar.y:
27850         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
27851         (gst_dpman_state_changed):
27852         Fix some new-pad -> pad-added signals
27853
27854 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27855
27856         * docs/manual/appendix-porting.xml:
27857         * docs/pwg/appendix-porting.xml:
27858           Document new-pad/state-change signal renames and the FixedList
27859           type rename.
27860
27861 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27862
27863         * docs/manual/advanced-autoplugging.xml:
27864         * docs/manual/basics-helloworld.xml:
27865         * docs/manual/basics-pads.xml:
27866         * docs/random/ds/0.9-suggested-changes:
27867         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
27868         * gst/gstelement.h:
27869         * gst/gstevent.h:
27870         * gst/gstformat.h:
27871         * gst/gstquery.h:
27872         * gst/gststructure.c: (gst_structure_value_get_generic_type),
27873         (gst_structure_parse_array), (gst_structure_parse_value):
27874         * gst/gstvalue.c: (gst_type_is_fixed),
27875         (gst_value_list_prepend_value), (gst_value_list_append_value),
27876         (gst_value_list_get_size), (gst_value_list_get_value),
27877         (gst_value_transform_array_string), (gst_value_serialize_array),
27878         (gst_value_deserialize_array), (gst_value_intersect_array),
27879         (gst_value_is_fixed), (_gst_value_initialize):
27880         * gst/gstvalue.h:
27881           GstElement::new-pad -> pad-added, GstElement::state-change ->
27882           state-changed, GstValueFixedList -> GstValueArray, add format and
27883           flags as their own arguments in gst_element_seek() (should improve
27884           "bindeability"), remove function generators since they don't work
27885           under a whole bunch of compilers (they were deprecated already
27886           anyway).
27887
27888 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27889
27890         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
27891         (_gst_debug_register_funcptr):
27892         * gst/gstinfo.h:
27893           Fix illegal cast on some platforms (#309253).
27894
27895 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27896
27897         * gst/gstmessage.c: (gst_message_new_custom):
27898         * gst/gstmessage.h:
27899           Add _new_custom, make _new_application a macro to _new_custom.
27900
27901 2005-07-20  Wim Taymans  <wim@fluendo.com>
27902
27903         * gst/base/gstbasesrc.c: (gst_base_src_init),
27904         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
27905         * gst/base/gstbasesrc.h:
27906         Add a gboolean to decide when to push out a discont.
27907
27908         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27909         (gst_queue_loop), (gst_queue_handle_src_query),
27910         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
27911         (gst_queue_set_property), (gst_queue_get_property):
27912         Some cleanups.
27913
27914         * tests/threadstate/threadstate1.c: (main):
27915         Make a thread test compile and run... very silly..
27916
27917
27918 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27919
27920         * docs/manual/appendix-porting.xml:
27921           Mention removal of libgstgconf-0.9.la and existence of gconf
27922           elements.
27923
27924 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27925
27926         * docs/pwg/advanced-clock.xml:
27927         * docs/pwg/appendix-porting.xml:
27928         * docs/pwg/intro-preface.xml:
27929         * docs/pwg/other-base.xml:
27930         * docs/pwg/other-manager.xml:
27931         * docs/pwg/other-nton.xml:
27932         * docs/pwg/other-ntoone.xml:
27933         * docs/pwg/other-oneton.xml:
27934         * docs/pwg/pwg.xml:
27935           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
27936           demuxer), remove n-to-n (was never written), fix some code examples
27937           and links and update the porting section to include all this.
27938
27939 2005-07-19  Wim Taymans  <wim@fluendo.com>
27940
27941         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
27942         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
27943         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
27944         (gst_queue_src_activate_push), (gst_queue_change_state),
27945         (gst_queue_get_property):
27946         * gst/gstqueue.h:
27947         Propagate GstFlowReturn more intelligently upstream and output
27948         an ERROR/EOS when streaming stopped due to fatal error.
27949
27950 2005-07-19  Wim Taymans  <wim@fluendo.com>
27951
27952         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27953         Don't block forever for the state change to complete, the
27954         pipeline already did with a sensible timeout.
27955
27956 2005-07-19  Wim Taymans  <wim@fluendo.com>
27957
27958         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
27959         Make sure we never call the create function is we
27960         got deactivated.
27961
27962 2005-07-19  Andy Wingo  <wingo@pobox.com>
27963
27964         * gst/parse/parse.l: Attempt to solve bug #172815.
27965
27966 2005-07-19  Wim Taymans  <wim@fluendo.com>
27967
27968         * docs/design/part-clocks.txt:
27969         * docs/design/part-events.txt:
27970         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
27971         Small docs updates.
27972         Only update the seeking values when we are not
27973         busy streaming.
27974
27975 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27976
27977         * gst/base/gstbasesrc.c: (gst_base_src_loop):
27978           Oops, ignore the result of gst_pad_push_event here.
27979
27980 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
27981
27982         * gst/base/gstbasesrc.c: (gst_base_src_loop),
27983         (gst_base_src_activate_push):
27984           Send discont event from the loop function, as pads
27985           aren't activated yet in the activate_push handler.
27986
27987         * gst/gstbin.c: (bin_bus_handler):
27988           Don't leak element name.
27989
27990 2005-07-18  Andy Wingo  <wingo@pobox.com>
27991
27992         * configure.ac: Use AS_LIBTOOL_TAGS.
27993
27994 2005-07-18  Wim Taymans  <wim@fluendo.com>
27995
27996         * docs/gst/gstreamer.types:
27997         Remove deleted types.
27998
27999 2005-07-18  Wim Taymans  <wim@fluendo.com>
28000
28001         * check/elements/gstfakesrc.c: (GST_START_TEST):
28002         * configure.ac:
28003         * gst/Makefile.am:
28004         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
28005         (init_popt_callback):
28006         * gst/gst.h:
28007         * gst/gst_private.h:
28008         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
28009         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
28010         * gst/gstbin.h:
28011         * gst/gstbus.h:
28012         * gst/gstconfig.h.in:
28013         * gst/gstelement.c: (gst_element_class_init),
28014         (gst_element_set_base_time), (gst_element_get_base_time),
28015         (iterator_fold_with_resync), (gst_element_change_state),
28016         (gst_element_dispose), (gst_element_get_bus):
28017         * gst/gstelement.h:
28018         * gst/gstelementfactory.h:
28019         * gst/gsterror.c: (_gst_core_errors_init):
28020         * gst/gsterror.h:
28021         * gst/gstevent.h:
28022         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28023         * gst/gstindex.c:
28024         * gst/gstinfo.c: (_gst_debug_init):
28025         * gst/gstmessage.c: (_gst_message_copy):
28026         * gst/gstmessage.h:
28027         * gst/gstminiobject.h:
28028         * gst/gstobject.c:
28029         * gst/gstobject.h:
28030         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28031         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
28032         * gst/gstpad.h:
28033         * gst/gstparse.h:
28034         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28035         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28036         (gst_pipeline_get_last_stream_time):
28037         * gst/gstpipeline.h:
28038         * gst/gstpluginfeature.h:
28039         * gst/gstquery.h:
28040         * gst/gstscheduler.c:
28041         * gst/gstscheduler.h:
28042         * gst/gststructure.h:
28043         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28044         (gst_task_finalize), (gst_task_func), (gst_task_create),
28045         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
28046         (gst_task_stop), (gst_task_pause):
28047         * gst/gsttask.h:
28048         * gst/gsttypefind.h:
28049         * gst/gsttypes.h:
28050         * gst/registries/gstlibxmlregistry.c: (load_feature),
28051         (gst_xml_registry_load), (gst_xml_registry_save_feature):
28052         * gst/registries/gstxmlregistry.c:
28053         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
28054         * gst/schedulers/threadscheduler.c:
28055         * libs/gst/control/dparammanager.h:
28056         * tools/gst-inspect.c: (print_element_list),
28057         (print_plugin_features), (print_element_features):
28058         * tools/gst-xmlinspect.c: (print_element_list),
28059         (print_plugin_info), (main):
28060         Removed plugable schedulers.
28061         Removed Scheduler/Manager from elements.
28062         Removed gsttypes.h, rearranged includes.
28063         Removed dependency pad<->element, element<>pipeline, and
28064         various others,  fix includes.
28065         implement gst_pad_get_parent() with gst_object_get_parent()
28066         Make GstTask sefcontained.
28067         Fix _get_state() on GstBin, it did not return ASYNC with a 0
28068         timeout.
28069         Fix endless loop in iterator_fold_with_resync.
28070
28071
28072 2005-07-18  Wim Taymans  <wim@fluendo.com>
28073
28074         * gst/Makefile.am:
28075         * gst/gstarch.h:
28076         Remove old file.
28077
28078 2005-07-18  Wim Taymans  <wim@fluendo.com>
28079
28080         * gst/Makefile.am:
28081         No more cothreads.h
28082
28083 2005-07-18  Wim Taymans  <wim@fluendo.com>
28084
28085         * gst/cothreads.c:
28086         * gst/cothreads.h:
28087         Let's remove these.
28088
28089 2005-07-18  Wim Taymans  <wim@fluendo.com>
28090
28091         * docs/design/part-dynamic.txt:
28092         * docs/design/part-events.txt:
28093         * docs/design/part-seeking.txt:
28094         Some more docs in the works.
28095
28096         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
28097         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
28098         (gst_base_transform_setcaps), (gst_base_transform_get_size),
28099         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
28100         (gst_base_transform_handle_buffer),
28101         (gst_base_transform_sink_activate_push),
28102         (gst_base_transform_src_activate_pull),
28103         (gst_base_transform_set_passthrough),
28104         (gst_base_transform_is_passthrough):
28105         Refcounting fixes.
28106
28107         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
28108         Cleanups.
28109
28110         * gst/gstevent.c: (gst_event_finalize):
28111         Set SRC to NULL.
28112
28113         * gst/gstutils.c: (gst_element_unlink),
28114         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
28115         (gst_pad_proxy_setcaps):
28116         * gst/gstutils.h:
28117         Add _get_parent_element() to get a pads parent as an element.
28118
28119 2005-07-18  Wim Taymans  <wim@fluendo.com>
28120
28121         * check/gst/gstbin.c: (GST_START_TEST):
28122         Remove bogus test.
28123
28124 2005-07-18  Wim Taymans  <wim@fluendo.com>
28125
28126         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28127         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28128         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
28129         (gst_base_sink_event), (gst_base_sink_do_sync),
28130         (gst_base_sink_chain), (gst_base_sink_loop),
28131         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
28132         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
28133         Refcounting fixes.
28134         Fix logic for returning ASYNC when not prerolled.
28135
28136 2005-07-18  Wim Taymans  <wim@fluendo.com>
28137
28138         * gst/gstqueue.c: (gst_queue_handle_sink_event):
28139         Fix nasty refcount bug.
28140
28141 2005-07-16 Philippe Khalaf <burger@speedy.org>
28142
28143         * gst/elements/gstfdsrc.c:
28144         * gst/elements/gstfdsrc.h:
28145         * gst/elements/gstelements.c:
28146         * gst/elements/Makefile.am:
28147         Ported fdsrc to 0.9.
28148
28149 2005-07-16  Wim Taymans  <wim@fluendo.com>
28150
28151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28152         (gst_base_sink_do_sync):
28153         Fix compile error.
28154
28155 2005-07-16  Wim Taymans  <wim@fluendo.com>
28156
28157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
28158         (gst_base_sink_event), (gst_base_sink_get_times),
28159         (gst_base_sink_do_sync), (gst_base_sink_change_state):
28160         * gst/base/gstbasesink.h:
28161         Store and use discont values when syncing buffers as described
28162         in design docs.
28163         
28164         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
28165         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
28166         (gst_base_src_activate_push):
28167         Push discont event when starting.
28168
28169         * gst/elements/gstidentity.c: (gst_identity_transform):
28170         Small cleanups.
28171
28172         * gst/gstbin.c: (gst_bin_change_state):
28173         Small cleanups in base_time  distribution.
28174
28175         * gst/gstelement.c: (gst_element_set_base_time),
28176         (gst_element_get_base_time), (gst_element_change_state):
28177         * gst/gstelement.h:
28178         Added methods for the base_time of the element.
28179         Some MT fixes.
28180
28181         * gst/gstpipeline.c: (gst_pipeline_send_event),
28182         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
28183         (gst_pipeline_get_last_stream_time):
28184         * gst/gstpipeline.h:
28185         MT fixes.
28186         Handle seeking as described in design doc, remove stream_time
28187         hack.
28188         Cleanups clock and stream_time selection code. Added accessors
28189         for the stream_time.
28190         
28191
28192 2005-07-16  Andy Wingo  <wingo@pobox.com>
28193
28194         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
28195         (#305291).
28196
28197 2005-07-16  Wim Taymans  <wim@fluendo.com>
28198
28199         * check/gst/gstbin.c: (GST_START_TEST):
28200         Make elements silent as the deep_notify refs the
28201         parent, which might make the test fail.
28202
28203         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
28204         Don't hold the lock for too long.
28205
28206 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
28207
28208         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
28209           Don't unref the caps we passed to gst_caps_make_writable() after
28210           passing them. gst_caps_make_writable() will do that for us.
28211
28212 2005-07-15  Andy Wingo  <wingo@pobox.com>
28213
28214         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
28215         (#157311).
28216
28217         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
28218         own marshalling function for the handoff signal. Properly type the
28219         buffer as a buffer. Fixes some warnings. Should do a more general
28220         solution.
28221         (gst_identity_class_init): Plug into the right marshaller.
28222
28223 2005-07-15  Wim Taymans  <wim@fluendo.com>
28224
28225         * docs/design/part-TODO.txt:
28226         * docs/design/part-clocks.txt:
28227         * docs/design/part-element-sink.txt:
28228         * docs/design/part-events.txt:
28229         * docs/design/part-gstpipeline.txt:
28230         Updated docs, mostly DISCONT related.
28231
28232 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
28233
28234         * docs/pwg/building-pads.xml:
28235           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
28236
28237 2005-07-15  Andy Wingo  <wingo@pobox.com>
28238
28239         * tools/gst-typefind.c: Update, add copyright block.
28240
28241         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
28242         Normalize and truncate caps before fixation.
28243
28244         * gst/gstcaps.h:
28245         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
28246         discards all but the first structure from its argument.
28247
28248 2005-07-15  Wim Taymans  <wim@fluendo.com>
28249
28250         * gst/base/gstbasetransform.c: (gst_base_transform_init),
28251         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
28252         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
28253         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
28254         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
28255         (gst_base_transform_chain), (gst_base_transform_change_state),
28256         (gst_base_transform_set_passthrough),
28257         (gst_base_transform_is_passthrough):
28258         * gst/base/gstbasetransform.h:
28259         Make passthrough work using the bufferpools.
28260         Changed API a bit, subclasses have to write into a buffer
28261         provided by the base class.
28262         More debug info in nego functions.
28263         
28264         * gst/elements/gstidentity.c: (gst_identity_init),
28265         (gst_identity_transform):
28266         Port to new base class.
28267
28268 2005-07-15  Wim Taymans  <wim@fluendo.com>
28269
28270         * gst/gstmessage.c: (gst_message_new_state_changed):
28271         * tools/gst-launch.c: (event_loop), (main):
28272         Totally dump messages in -launch with the -m option.
28273         Fix message name for State messages,
28274
28275 2005-07-14  Wim Taymans  <wim@fluendo.com>
28276
28277         * gst/base/gstbasesrc.c: (gst_base_src_loop):
28278         Post error messages on errors.
28279
28280 2005-07-14  Wim Taymans  <wim@fluendo.com>
28281
28282         * gst/gstcaps.c: (gst_caps_do_simplify):
28283         Remove debug info.
28284
28285         * gst/gsterror.h:
28286         Define error for stream stopped.
28287
28288         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
28289         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
28290         Do proper return values.
28291
28292         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
28293         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
28294         (gst_pad_get_range):
28295         Better return values.
28296
28297         * gst/gstpad.h:
28298         Reorganise return values, add macro to check for fatal errors.
28299
28300         * gst/gstqueue.c: (gst_queue_chain):
28301         Return proper GstFlowReturn values,
28302
28303 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
28304
28305         * docs/gst/gstreamer-sections.txt:
28306         * docs/gst/gstreamer.types:
28307         * docs/gst/tmpl/gst.sgml:
28308         * docs/gst/tmpl/gstbasesink.sgml:
28309         * docs/gst/tmpl/gstbasesrc.sgml:
28310         * docs/gst/tmpl/gstbasetransform.sgml:
28311         * docs/gst/tmpl/gstbin.sgml:
28312         * docs/gst/tmpl/gstbuffer.sgml:
28313         * docs/gst/tmpl/gstcaps.sgml:
28314         * docs/gst/tmpl/gstclock.sgml:
28315         * docs/gst/tmpl/gstcompat.sgml:
28316         * docs/gst/tmpl/gstconfig.sgml:
28317         * docs/gst/tmpl/gstelement.sgml:
28318         * docs/gst/tmpl/gstelementdetails.sgml:
28319         * docs/gst/tmpl/gstelementfactory.sgml:
28320         * docs/gst/tmpl/gstenumtypes.sgml:
28321         * docs/gst/tmpl/gsterror.sgml:
28322         * docs/gst/tmpl/gstevent.sgml:
28323         * docs/gst/tmpl/gstfakesink.sgml:
28324         * docs/gst/tmpl/gstfakesrc.sgml:
28325         * docs/gst/tmpl/gstfilesink.sgml:
28326         * docs/gst/tmpl/gstfilesrc.sgml:
28327         * docs/gst/tmpl/gstfilter.sgml:
28328         * docs/gst/tmpl/gstformat.sgml:
28329         * docs/gst/tmpl/gstghostpad.sgml:
28330         * docs/gst/tmpl/gstimplementsinterface.sgml:
28331         * docs/gst/tmpl/gstindex.sgml:
28332         * docs/gst/tmpl/gstindexfactory.sgml:
28333         * docs/gst/tmpl/gstinfo.sgml:
28334         * docs/gst/tmpl/gstiterator.sgml:
28335         * docs/gst/tmpl/gstmacros.sgml:
28336         * docs/gst/tmpl/gstmemchunk.sgml:
28337         * docs/gst/tmpl/gstminiobject.sgml:
28338         * docs/gst/tmpl/gstobject.sgml:
28339         * docs/gst/tmpl/gstpad.sgml:
28340         * docs/gst/tmpl/gstpadtemplate.sgml:
28341         * docs/gst/tmpl/gstparse.sgml:
28342         * docs/gst/tmpl/gstpipeline.sgml:
28343         * docs/gst/tmpl/gstplugin.sgml:
28344         * docs/gst/tmpl/gstpluginfeature.sgml:
28345         * docs/gst/tmpl/gstquery.sgml:
28346         * docs/gst/tmpl/gstqueue.sgml:
28347         * docs/gst/tmpl/gstregistry.sgml:
28348         * docs/gst/tmpl/gstregistrypool.sgml:
28349         * docs/gst/tmpl/gstscheduler.sgml:
28350         * docs/gst/tmpl/gstschedulerfactory.sgml:
28351         * docs/gst/tmpl/gststructure.sgml:
28352         * docs/gst/tmpl/gstsystemclock.sgml:
28353         * docs/gst/tmpl/gsttaglist.sgml:
28354         * docs/gst/tmpl/gsttagsetter.sgml:
28355         * docs/gst/tmpl/gsttrace.sgml:
28356         * docs/gst/tmpl/gsttrashstack.sgml:
28357         * docs/gst/tmpl/gsttypefind.sgml:
28358         * docs/gst/tmpl/gsttypefindfactory.sgml:
28359         * docs/gst/tmpl/gsttypes.sgml:
28360         * docs/gst/tmpl/gsturihandler.sgml:
28361         * docs/gst/tmpl/gsturitype.sgml:
28362         * docs/gst/tmpl/gstutils.sgml:
28363         * docs/gst/tmpl/gstvalue.sgml:
28364         * docs/gst/tmpl/gstversion.sgml:
28365         * docs/gst/tmpl/gstxml.sgml:
28366         * docs/libs/tmpl/gstcontrol.sgml:
28367         * docs/libs/tmpl/gstdataprotocol.sgml:
28368         * docs/libs/tmpl/gstdparam.sgml:
28369         * docs/libs/tmpl/gstdplinint.sgml:
28370         * docs/libs/tmpl/gstdpman.sgml:
28371         * docs/libs/tmpl/gstdpsmooth.sgml:
28372         * docs/libs/tmpl/gstgetbits.sgml:
28373         * docs/libs/tmpl/gstunitconvert.sgml:
28374         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
28375         (gst_push_src_base_init), (gst_push_src_class_init),
28376         (gst_push_src_init), (gst_push_src_create):
28377         * gst/base/gstpushsrc.h:
28378         * gst/elements/gstelements.c:
28379         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
28380         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
28381         (gst_fake_sink_init), (gst_fake_sink_set_property),
28382         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
28383         (gst_fake_sink_event), (gst_fake_sink_preroll),
28384         (gst_fake_sink_render), (gst_fake_sink_change_state):
28385         * gst/elements/gstfakesink.h:
28386         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
28387         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
28388         (gst_fake_src_base_init), (gst_fake_src_class_init),
28389         (gst_fake_src_init), (gst_fake_src_event_handler),
28390         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
28391         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
28392         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
28393         (gst_fake_src_create_buffer), (gst_fake_src_create),
28394         (gst_fake_src_start), (gst_fake_src_stop):
28395         * gst/elements/gstfakesrc.h:
28396         * gst/elements/gstfilesink.c: (_do_init),
28397         (gst_file_sink_base_init), (gst_file_sink_class_init),
28398         (gst_file_sink_init), (gst_file_sink_dispose),
28399         (gst_file_sink_set_location), (gst_file_sink_set_property),
28400         (gst_file_sink_get_property), (gst_file_sink_open_file),
28401         (gst_file_sink_close_file), (gst_file_sink_query),
28402         (gst_file_sink_event), (gst_file_sink_render),
28403         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
28404         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
28405         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
28406         * gst/elements/gstfilesink.h:
28407         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
28408         (gst_file_src_class_init), (gst_file_src_init),
28409         (gst_file_src_finalize), (gst_file_src_set_location),
28410         (gst_file_src_set_property), (gst_file_src_get_property),
28411         (gst_file_src_map_region), (gst_file_src_map_small_region),
28412         (gst_file_src_create_mmap), (gst_file_src_create_read),
28413         (gst_file_src_create), (gst_file_src_is_seekable),
28414         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
28415         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
28416         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
28417         (gst_file_src_uri_handler_init):
28418         * gst/elements/gstfilesrc.h:
28419           more autistic cleanliness in functions/names/defines
28420
28421 2005-07-13  Andy Wingo  <wingo@pobox.com>
28422
28423         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
28424         source couldn't negotiate.
28425
28426         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
28427         connections again.
28428
28429         * gst/gstutils.h:
28430         * gst/gstutils.c (gst_element_link_pads_filtered): New old
28431         function. I am channeling Hades. Put your boots on suckers!!!
28432
28433 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
28434
28435         * testsuite/caps/Makefile.am:
28436         * testsuite/caps/value_compare.c:
28437         * testsuite/caps/value_intersect.c:
28438         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
28439           move two testsuite apps over to the check dir
28440
28441 2005-07-12  Wim Taymans  <wim@fluendo.com>
28442
28443         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
28444         Added more debug info in the negotiate process.
28445
28446         * gst/gstmessage.h:
28447         Prepare for segment playback.
28448
28449         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
28450         Better debugging.
28451
28452         * gst/gstutils.c:
28453         Some more docs.
28454
28455         * tools/gst-launch.c: (main):
28456         NULL pipeline on errors.
28457
28458 2005-07-12  Andy Wingo  <wingo@pobox.com>
28459
28460         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
28461         not it comes from a malloc region. Make sure our copy gets freed.
28462
28463 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28464
28465         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
28466         * check/gst/gstmessage.c: (GST_START_TEST):
28467         * check/gst/gststructure.c: (GST_START_TEST),
28468         (gst_structure_suite), (main):
28469           more testing
28470         * gst/gstelement.c: (gst_element_message_full):
28471           clean up GError and debug string now that they get copied
28472         * gst/gstmessage.c: (gst_message_new_error),
28473         (gst_message_new_warning), (gst_message_parse_error),
28474         (gst_message_parse_warning):
28475           use GST_TYPE_G_ERROR for structure_new, and take copies of
28476           arguments, so that we don't mess up refcounting
28477
28478 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28479
28480         * check/Makefile.am:
28481           add per-test valgrind targets
28482         * check/gst-libs/gdp.c: (GST_START_TEST),
28483         (gst_data_protocol_suite), (main):
28484           clean up
28485
28486 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
28487
28488         * check/Makefile.am:
28489           instate more valgrindable tests
28490         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28491         (GST_START_TEST), (fakesrc_suite):
28492         * check/gst/gstpad.c: (GST_START_TEST):
28493         * check/gst/gststructure.c: (GST_START_TEST):
28494           fix test leaks
28495         * docs/gst/tmpl/gstminiobject.sgml:
28496         * gst/gstpad.c: (gst_pad_finalize):
28497           fix the static mutex leak
28498
28499 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28500
28501         * check/Makefile.am:
28502           add two more tests for valgrinding
28503         * check/gst/gstvalue.c: (GST_START_TEST):
28504           test refcount of deserialized buffer, found a leak
28505         * docs/gst/gstreamer-docs.sgml:
28506         * docs/gst/gstreamer-sections.txt:
28507         * docs/gst/gstreamer.types:
28508         * docs/gst/tmpl/gstminiobject.sgml:
28509           add miniobject to docs
28510         * gst/gstminiobject.c:
28511           add some docs
28512         * gst/gstvalue.c: (gst_value_deserialize_buffer),
28513         (gst_string_unwrap):
28514           fix a hard-to-find invalid write for one of the tests
28515           fix a leak for deserialized buffers
28516
28517 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28518
28519         * docs/pwg/advanced-events.xml:
28520         * docs/pwg/advanced-request.xml:
28521         * docs/pwg/advanced-scheduling.xml:
28522         * docs/pwg/appendix-porting.xml:
28523         * docs/pwg/building-boiler.xml:
28524         * docs/pwg/intro-preface.xml:
28525         * docs/pwg/other-ntoone.xml:
28526           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
28527           of example code and explanation for pad activation, loop() and
28528           getrange() functions and a bit more. Remove old comments pointing
28529           to loop-functions.
28530         * examples/pwg/Makefile.am:
28531           Add loop/getrange examples.
28532
28533 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28534
28535         * configure.ac:
28536           check for valgrind binary + some fixes
28537         * check/gst.supp:
28538           valgrind suppressions for the tests
28539         * check/Makefile.am:
28540           add a valgrind: target that valgrinds the unit tests
28541         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
28542         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
28543         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28544         * check/gst/gstghostpad.c:
28545           added some cleanup
28546         * check/gst/gstdata.c:
28547           removed
28548         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
28549         (thread_unref), (gst_mini_object_suite), (main):
28550           added
28551         * gst/gst.c: (gst_deinit):
28552         * gst/gst.h:
28553           add a method to clean up.
28554         * gst/gstsystemclock.c: (gst_system_clock_dispose),
28555         (gst_system_clock_obtain):
28556           allow for disposing the system clock.
28557         * tools/gst-launch.c: (main):
28558           deinit
28559
28560 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
28561
28562         * docs/gst/tmpl/gstbasesrc.sgml:
28563         * docs/gst/tmpl/gstfakesrc.sgml:
28564         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28565         (gst_base_src_init), (gst_base_src_set_property),
28566         (gst_base_src_get_property), (gst_base_src_get_range),
28567         (gst_base_src_start):
28568         * gst/base/gstbasesrc.h:
28569           add num-buffers property
28570         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28571         (gst_fakesrc_init), (gst_fakesrc_set_property),
28572         (gst_fakesrc_get_property), (gst_fakesrc_create),
28573         (gst_fakesrc_start):
28574           remove num-buffers property
28575
28576 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28577
28578         * docs/gst/gstreamer-sections.txt:
28579         * docs/gst/tmpl/gstbasesink.sgml:
28580         * docs/gst/tmpl/gstbasesrc.sgml:
28581         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
28582         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
28583         (gst_base_sink_finalize), (gst_base_sink_set_clock),
28584         (gst_base_sink_set_property), (gst_base_sink_get_property),
28585         (gst_base_sink_handle_object), (gst_base_sink_event),
28586         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
28587         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
28588         (gst_base_sink_loop), (gst_base_sink_deactivate),
28589         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
28590         (gst_base_sink_change_state):
28591         * gst/base/gstbasesink.h:
28592         * gst/base/gstbasesrc.h:
28593         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
28594         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28595         (gst_filesink_init):
28596           more macro splitting
28597
28598 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28599
28600         * gst/gstelement.c: (gst_element_get_bus):
28601           add debug
28602         * tools/gst-launch.c: (check_intr), (event_loop):
28603           fix bus leaks
28604
28605 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28606
28607         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
28608           fix a caps leak
28609
28610 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
28611
28612         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28613         (gst_base_src_finalize):
28614           add finalize method and clean up properly
28615         * gst/gstpipeline.c: (gst_pipeline_dispose):
28616           add debug
28617
28618 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28619
28620         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
28621         (gst_bin_suite):
28622           add more things to check
28623         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
28624         * gst/gstelement.c:
28625           more debug
28626
28627 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28628
28629         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28630         (GST_START_TEST), (fakesrc_suite):
28631         * check/gst-libs/gdp.c: (GST_START_TEST):
28632         * check/gst/gst.c: (GST_START_TEST):
28633         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
28634         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
28635         * check/gst/gstbus.c: (GST_START_TEST):
28636         * check/gst/gstcaps.c: (GST_START_TEST):
28637         * check/gst/gstdata.c: (GST_START_TEST):
28638         * check/gst/gstelement.c: (GST_START_TEST):
28639         * check/gst/gstghostpad.c: (GST_START_TEST):
28640         * check/gst/gstiterator.c: (GST_START_TEST):
28641         * check/gst/gstmessage.c: (GST_START_TEST):
28642         * check/gst/gstobject.c: (GST_START_TEST):
28643         * check/gst/gstpad.c: (GST_START_TEST):
28644         * check/gst/gststructure.c: (GST_START_TEST):
28645         * check/gst/gstsystemclock.c: (GST_START_TEST),
28646         (gst_systemclock_suite):
28647         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
28648         * check/gst/gstvalue.c: (GST_START_TEST):
28649         * check/pipelines/cleanup.c: (GST_START_TEST):
28650         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
28651         * check/states/sinks.c: (GST_START_TEST):
28652         * check/gstcheck.c: (gst_check_init):
28653         * check/gstcheck.h:
28654           add debugging category
28655           use GST_START_TEST now, so we add a debug line
28656
28657 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28658
28659         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
28660           add test for state change message on a bin
28661         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
28662           add another test
28663         * gst/gstbin.c: (gst_bin_init):
28664         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
28665         * gst/gstelement.c: (gst_element_post_message),
28666         (gst_element_set_state):
28667         * gst/gstelementfactory.c: (gst_element_factory_create):
28668         * gst/gstmessage.c: (gst_message_new):
28669         * gst/gstscheduler.c:
28670           various debugging additions and cleanups
28671
28672 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28673
28674         * check/Makefile.am:
28675         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
28676         (main):
28677           adding tests for elements
28678         * gst/gstelement.c: (gst_element_dispose):
28679
28680 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28681
28682         * gst/registries/gstlibxmlregistry.c: (load_feature):
28683           plug more leaks.  A simple gst_init() now is leakfree, yay.
28684
28685 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28686
28687         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
28688         (gst_xml_registry_load):
28689           plug another memleak
28690
28691 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28692
28693         * configure.ac:
28694           use GST_SET_ERROR_CFLAGS
28695         * docs/faq/cvs.xml:
28696           change to ERROR_CFLAGS
28697
28698 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28699
28700         * configure.ac:
28701           make GST_ERROR_CFLAGS overridable and re-enable Werror
28702         * docs/faq/cvs.xml:
28703           add a note about error CFLAGS
28704         * docs/gst/tmpl/gstfakesrc.sgml:
28705         * gst/elements/gstfakesrc.c:
28706           comment out some unused code
28707         * gst/gst.c: (split_and_iterate):
28708         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
28709         (load_feature):
28710           plug some memleaks
28711
28712 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28713
28714         * common/Makefile.am:
28715         * common/gtk-doc.mak:
28716         * docs/gst/Makefile.am:
28717           factor out gtk-doc.mak
28718
28719 2005-07-07  Wim Taymans  <wim@fluendo.com>
28720
28721         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
28722         (gst_thread_scheduler_dispose):
28723         Unlock the STREAM_LOCK completely.
28724
28725 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
28726
28727         * check/Makefile.am:
28728         * check/elements/.cvsignore:
28729         * check/elements/gstfakesrc.c: (chain_func), (event_func),
28730         (START_TEST), (fakesrc_suite), (main):
28731         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28732         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28733         (gst_fakesrc_create), (gst_fakesrc_start):
28734         * gst/elements/gstfakesrc.h:
28735           adding a first element test
28736
28737 2005-07-07  Andy Wingo  <wingo@pobox.com>
28738
28739         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
28740         debug message.
28741
28742 2005-07-07  Wim Taymans  <wim@fluendo.com>
28743
28744         * gst/gstquery.c:
28745         * gst/gstquery.h:
28746         Remove old types
28747
28748 2005-07-07  Wim Taymans  <wim@fluendo.com>
28749
28750         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
28751         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
28752         Allow subclasses to implement their own negotiation.
28753
28754 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28755
28756         * docs/design/part-gstbin.txt:
28757         * docs/design/part-gstpipeline.txt:
28758           Update design notes to reflect the movement of
28759           responsibility for bus handling from GstPipeline to
28760           GstBin
28761
28762 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28763
28764         * configure.ac:
28765           Remove unnecessary queue2/3/4 examples.
28766
28767 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
28768
28769         * examples/Makefile.am:
28770         * examples/helloworld/helloworld.c: (event_loop), (main):
28771         * examples/queue/queue.c: (event_loop), (main):
28772         * examples/queue2/queue2.c: (main):
28773           Update a couple of the examples to work again.
28774
28775         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28776         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
28777          Spelling corrections and extra debug.
28778         
28779         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
28780         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
28781         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
28782         * gst/gstbin.h:
28783         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
28784         (gst_pipeline_change_state):
28785         * gst/gstpipeline.h:
28786           Move the bus handler for children to the GstBin, and create a
28787           separate bus for receiving messages from children to the one the
28788           bus sends 'upwards' on.
28789
28790 2005-07-06  Wim Taymans  <wim@fluendo.com>
28791
28792         * gst/base/README:
28793         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
28794         (gst_base_sink_handle_object), (gst_base_sink_loop),
28795         (gst_base_sink_change_state):
28796         * gst/base/gstbasesink.h:
28797         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
28798         (gst_base_src_init), (gst_base_src_setcaps),
28799         (gst_base_src_getcaps), (gst_base_src_loop),
28800         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
28801         (gst_base_src_start), (gst_base_src_change_state):
28802         * gst/base/gstbasesrc.h:
28803         Make basesrc negotiate.
28804         Handle the case where preroll fails in basesink.
28805         Update README.
28806
28807 2005-07-06  Wim Taymans  <wim@fluendo.com>
28808
28809         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
28810         Implement the fixate function.
28811         Clean up acceptcaps.
28812
28813 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28814
28815         * docs/pwg/building-filterfactory.xml:
28816         * docs/pwg/pwg.xml:
28817           Remove never-written filter-factory chapter; I'll add the various
28818           base classes to part 4 ("other element types") later on.
28819
28820 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28821
28822         * docs/pwg/advanced-negotiation.xml:
28823         * docs/pwg/building-boiler.xml:
28824         * docs/pwg/building-pads.xml:
28825         * docs/pwg/pwg.xml:
28826         * examples/pwg/Makefile.am:
28827           Add a chapter on caps negotiation, simplify the original code
28828           samples a bit w.r.t. caps negotiation, add link to the advanced
28829           section. Add a bunch of examples showing different use cases of
28830           different types of caps negotiation. Upstream renegotiation isn't
28831           fully documented yet since nobody knows how that works.
28832
28833 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
28834
28835         * check/gst/gstpad.c:
28836         * check/gstcheck.c:
28837         * gst/gstpad.c: (gst_pad_get_internal_links_default):
28838           if pad has no parent, return NULL as list of internal links
28839
28840 2005-07-05  Andy Wingo  <wingo@pobox.com>
28841
28842         * gst/elements/gstfilesrc.c:
28843         * gst/elements/gstfakesrc.c: 
28844         * gst/base/gstpushsrc.c:
28845         * gst/base/gstbasesrc.h: 
28846         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
28847         
28848 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
28849
28850         * Makefile.am:
28851           better report generation target (lcov needs a patch)
28852
28853 2005-07-05  Andy Wingo  <wingo@pobox.com>
28854
28855         * gst/elements, testsuite: Null if we got it...
28856
28857 2005-07-05  Wim Taymans  <wim@fluendo.com>
28858
28859         * configure.ac:
28860         * libs/gst/dataprotocol/Makefile.am:
28861         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
28862         * libs/gst/dataprotocol/dataprotocol.h:
28863         * pkgconfig/Makefile.am:
28864         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
28865         * pkgconfig/gstreamer-dataprotocol.pc.in:
28866         Ported dataprotol to 0.9. 
28867         Added pkgconfig files.
28868
28869 2005-07-05  Andy Wingo  <wingo@pobox.com>
28870
28871         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
28872         Default to returning TRUE for the case when tranform_caps returns
28873         a fixed caps, like for identity or volume.
28874
28875         * check/gst/gstbus.c (pound_bus_with_messages): 
28876         * check/gst/gstmessage.c (START_TEST): 
28877         * check/pipelines/simple_launch_lines.c (got_handoff): Application
28878         message API change.
28879
28880         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
28881         logic weaks here: always run transform_caps, trying passthrough
28882         operation only if the original caps intersects with the transform.
28883
28884         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
28885         source and sink caps.
28886
28887         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
28888         Intersect the peer caps with the pad template before going into
28889         transform_caps.
28890         (gst_base_transform_transform_caps): More debugging.
28891
28892         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
28893         src argument.
28894
28895 2005-07-04  Edward Hervey  <edward@fluendo.com>
28896
28897         * gst/gstutils.c:
28898         * gst/gstutils.h:
28899         (gst_pad_add_*_probe): now returns the signal id for better wrapping
28900         in bindings.
28901
28902 2005-07-04  Andy Wingo  <wingo@pobox.com>
28903
28904         * check/gst/gstpad.c: Only set explicit caps on pads.
28905
28906 2005-07-01  Andy Wingo  <wingo@pobox.com>
28907
28908         * tests/network-clock.scm: Commentary update.
28909
28910         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
28911         Didn't really make sense, not implementable with basetransform,
28912         etc.
28913         (gst_identity_transform): Unref inbuf via make_writable. Feeble
28914         attempt at implementing the sync property, needs an unlock method.
28915
28916         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
28917         New func, by default returns the same caps (the identity
28918         transformation).
28919         (gst_base_transform_getcaps): Uses transform_caps to return
28920         something sensible.
28921         (gst_base_transform_setcaps): Complicated logic to get caps on
28922         both pads, even if they are different, and to call set_caps once
28923         for every time both pads get their caps set.
28924         (gst_base_transform_handle_buffer): Give the ref to the transform
28925         function. Allows in-place modification of the buffer.
28926
28927         * gst/base/gstbasetransform.h (transform_caps): New class method.
28928         Given caps on one side, what can I do on the other.
28929         (set_caps): Take two caps, one for each side of the element.
28930
28931         * gst/gstpad.h:
28932         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
28933         caps in place. This is safe because we can check the mutability of
28934         the caps, and a good idea because fixate functions are just called
28935         as a matter of last resort. (Not actually implemented.)
28936         (gst_pad_set_caps): If the caps we're setting is actually the same
28937         as the existing pad caps, just update the pointer without calling
28938         setcaps. Assert that caps is either NULL or fixed, as per the
28939         docs.
28940
28941         * gst/gstghostpad.c: Update for fixate changes.
28942
28943 2005-07-02  Andy Wingo  <wingo@pobox.com>
28944
28945         * gst/gstcaps.c:
28946         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
28947         two refcounts makes it immutable, which is enough. Doc more.
28948
28949 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
28950
28951         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
28952           Put the mini_object into GValue as a mini_object,
28953           not a gpointer, since that's how we declared
28954           the signal.
28955
28956 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28957
28958         * examples/pwg/Makefile.am:
28959           Fix buildbot again.
28960
28961 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28962
28963         * docs/pwg/building-testapp.xml:
28964           Add extra check.
28965         * examples/pwg/Makefile.am:
28966           Fix buildbot.
28967
28968 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28969
28970         * configure.ac:
28971         * examples/Makefile.am:
28972         * examples/pwg/Makefile.am:
28973         * examples/pwg/extract.pl:
28974           Enable building the PWG examples.
28975         * docs/pwg/advanced-interfaces.xml:
28976           Add URI interface stub.
28977         * docs/pwg/advanced-types.xml:
28978         * docs/pwg/other-autoplugger.xml:
28979         * docs/pwg/appendix-porting.xml:
28980         * docs/pwg/pwg.xml:
28981           Add porting guide (mostly stubs), remove autoplugging (see ADM).
28982         * docs/pwg/building-boiler.xml:
28983         * docs/pwg/building-chainfn.xml:
28984         * docs/pwg/building-pads.xml:
28985         * docs/pwg/building-props.xml:
28986         * docs/pwg/building-state.xml:
28987         * docs/pwg/building-testapp.xml:
28988           Update the building-*.xml parts for 0.9 changes. All examples
28989           code blocks compile in examples/pwg/*.
28990
28991 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28992
28993         * docs/manual/advanced-autoplugging.xml:
28994         * docs/manual/appendix-checklist.xml:
28995         * docs/manual/appendix-integration.xml:
28996         * docs/manual/highlevel-components.xml:
28997           Fix playbin/decodebin examples, update docs a bit, mention bus
28998           instead of signals in various places, mention kmplayer and
28999           kaffeine since they have a working GStreamer backend in the KDE
29000           section.
29001
29002 2005-06-30  Wim Taymans  <wim@fluendo.com>
29003
29004         * CHANGES-0.9:
29005         * docs/design/draft-ghostpads.txt:
29006         * docs/design/draft-push-pull.txt:
29007         * docs/design/draft-query.txt:
29008         * docs/design/part-TODO.txt:
29009         * docs/design/part-query.txt:
29010         Added CHANGES-0.9 doc, updated status of other docs.
29011         
29012         * gst/gstquery.h:
29013         Remove "hmm" macro
29014
29015 2005-06-30  Wim Taymans  <wim@fluendo.com>
29016
29017         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
29018         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
29019         (gst_base_sink_change_state):
29020         * gst/base/gstbasesink.h:
29021         Some tweaks, only EOS and a buffer complete a preroll.
29022
29023 2005-06-30  Andy Wingo  <wingo@pobox.com>
29024
29025         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
29026         activate_push down to the internal pad as well.
29027
29028 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
29029
29030         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29031
29032         * gst/gsttaginterface.c:
29033           Some documentation fixes (#307394 and #307397).
29034
29035 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
29036
29037         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29038
29039         * gst/gstvalue.c: (gst_value_intersect_list):
29040           Fix memleak (#309125).
29041
29042 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29043
29044         * docs/manual/advanced-dataaccess.xml:
29045           Fix fakesrc example to compile; doesn't work, bug somewhere...?
29046         * docs/manual/basics-pads.xml:
29047           Add reference for filtered caps to above chapter.
29048
29049 2005-06-30  Wim Taymans  <wim@fluendo.com>
29050
29051         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
29052         (gst_bin_change_state):
29053         Probes are gone.
29054         Lame attempt at making the state change function a bit
29055         more readable.
29056
29057 2005-06-30  Wim Taymans  <wim@fluendo.com>
29058
29059         * docs/design/part-clocks.txt:
29060         * docs/design/part-element-sink.txt:
29061         * docs/design/part-events.txt:
29062         * docs/design/part-preroll.txt:
29063         * docs/design/part-states.txt:
29064         Some more tweeks and additions to the docs.
29065
29066 2005-06-30  Wim Taymans  <wim@fluendo.com>
29067
29068         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29069         (default_have_data), (gst_pad_class_init), (gst_pad_init),
29070         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29071         (gst_pad_check_pull_range), (gst_pad_get_range),
29072         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
29073         * gst/gstpad.h:
29074         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
29075         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29076         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29077         (gst_pad_remove_buffer_probe):
29078         Removed atomic operations, use existing LOCK.
29079         Move exception handling out of main code path.
29080
29081 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29082
29083         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29084         (silly_return_true_function), (gst_pad_class_init),
29085         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
29086         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
29087         (gst_pad_send_event):
29088           Fix accumulator, add default value by using _emitv() instead
29089           of _emit() for signal emission.
29090
29091 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29092
29093         * docs/manual/advanced-dataaccess.xml:
29094         * examples/manual/Makefile.am:
29095           Add probe example.
29096         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
29097           Make work (??).
29098
29099 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
29100
29101         * gst/elements/gstfilesink.c: (gst_filesink_render):
29102           Simplify code so that we don't have to handle short
29103           writes and return GST_FLOW_ERROR if an error occured.
29104
29105 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29106
29107         * docs/gst/gstreamer-docs.sgml:
29108           Remove probes more.
29109
29110 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29111
29112         * docs/gst/gstreamer-sections.txt:
29113         * docs/gst/tmpl/gstpad.sgml:
29114         * docs/gst/tmpl/gstprobe.sgml:
29115         * gst/Makefile.am:
29116         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
29117         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
29118         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
29119         (gst_pad_push_event), (gst_pad_send_event):
29120         * gst/gstpad.h:
29121         * gst/gstutils.c: (gst_pad_add_data_probe),
29122         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
29123         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
29124         (gst_pad_remove_buffer_probe):
29125         * gst/gstutils.h:
29126           Remove old probes, add new g-signal-based probes and some utility
29127           functions.
29128
29129 2005-06-29  Edward Hervey  <edward@fluendo.com>
29130
29131         * gst/gstelementfactory.c:
29132         * gst/gstutils.h:
29133         * gst/gstutils.c:
29134         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
29135         the definition to the header file.
29136
29137 2005-06-29  Andy Wingo  <wingo@pobox.com>
29138
29139         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
29140         plugins from the source directory.
29141
29142 2005-06-29  Wim Taymans  <wim@fluendo.com>
29143
29144         * docs/gst/tmpl/gstbuffer.sgml:
29145         * docs/gst/tmpl/gstclock.sgml:
29146         Some fixings for blantently wrong text.
29147
29148 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29149
29150         * check/Makefile.am:
29151         * gst/gst.c: (add_path_func), (init_pre):
29152         * gst/gstregistry.c: (gst_registry_add_path):
29153           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
29154           only scan the GST_PLUGIN_PATH locations, and not add
29155           system locations
29156
29157 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
29158
29159         * docs/gst/gstreamer-sections.txt:
29160         * docs/gst/tmpl/gstbasesrc.sgml:
29161         * gst/gstelement.c:
29162         * gst/gstelement.h:
29163         * gst/gstevent.c:
29164         * gst/gstutils.c:
29165           doc fixes
29166
29167 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29168
29169         * docs/manual/advanced-autoplugging.xml:
29170           Fix autoplugging example.
29171
29172 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29173
29174         * docs/manual/advanced-autoplugging.xml:
29175         * docs/manual/mime-world.fig:
29176           Try to get autoplugging working, fix type detection. Fix text
29177           in hello-world image.
29178
29179 2005-06-29  Wim Taymans  <wim@fluendo.com>
29180
29181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
29182         (gst_base_sink_change_state):
29183         Small debug line.
29184
29185         * gst/gstclock.h:
29186         map SIGNAL and BROADCAST to the right function.
29187
29188         * gst/gstobject.h:
29189         Remove redundant braces.
29190
29191         * gst/gstpad.c: (gst_pad_set_caps):
29192         Don't call setcaps function when reseting caps to NULL.
29193
29194         * gst/gstsystemclock.c: (gst_system_clock_dispose),
29195         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
29196         (gst_system_clock_id_unschedule):
29197         Use BROADCAST as this is what we do.
29198
29199 2005-06-29  Wim Taymans  <wim@fluendo.com>
29200
29201         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
29202         We are actually prerolling before commiting the state
29203         change. 
29204
29205 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29206
29207         * docs/manual/advanced-clocks.xml:
29208         * docs/manual/advanced-interfaces.xml:
29209         * docs/manual/advanced-metadata.xml:
29210         * docs/manual/advanced-position.xml:
29211         * docs/manual/advanced-schedulers.xml:
29212         * docs/manual/advanced-threads.xml:
29213         * docs/manual/appendix-porting.xml:
29214         * docs/manual/basics-bins.xml:
29215         * docs/manual/basics-bus.xml:
29216         * docs/manual/basics-elements.xml:
29217         * docs/manual/basics-helloworld.xml:
29218         * docs/manual/basics-pads.xml:
29219         * docs/manual/highlevel-components.xml:
29220         * docs/manual/manual.xml:
29221         * docs/manual/thread.fig:
29222           Update (until threads/scheduling) Application Development Manual;
29223           remove GstThread, add GstBus, add simple porting checklist, add
29224           documentation for tag writing, clocks, make all examples until this
29225           part compile and run.
29226         * examples/manual/Makefile.am:
29227           Update from changes to Application Development Manual; add bus
29228           example, remove thread example.
29229
29230 2005-06-28  Wim Taymans  <wim@fluendo.com>
29231
29232         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
29233         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
29234         (gst_bus_source_dispatch):
29235         Add debugging messages.
29236         Make internal methods static.
29237         Handle the case where the bus is flushed in the handler.
29238         
29239         * gst/gstelement.c: (gst_element_get_bus):
29240         Fix refcount in _get_bus();
29241
29242         * gst/gstpipeline.c: (gst_pipeline_change_state),
29243         (gst_pipeline_get_clock_func):
29244         Clock refcounting fixes.
29245         Handle the case where preroll timed out more gracefully.
29246         
29247         * gst/gstsystemclock.c: (gst_system_clock_dispose):
29248         Clean up the internal thread in dispose. This is needed
29249         for subclasses that actually get disposed.
29250         
29251         * gst/schedulers/threadscheduler.c:
29252         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29253         (gst_thread_scheduler_dispose):
29254         Free thread pool in dispose.
29255
29256 2005-06-28  Andy Wingo  <wingo@pobox.com>
29257
29258         * tests/network-clock-utils.scm (debug, print-event): New utils.
29259
29260         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
29261         (*packet-loss*): Unified loss probability.
29262         (network-time): Report out-of-band events.
29263
29264         * tests/plot-data: Add support for out-of-band events. Hack it
29265         into this script instead of passing it down the pipe; should fix
29266         this later.
29267
29268 2005-06-28  Wim Taymans  <wim@fluendo.com>
29269
29270         * docs/gst/gstreamer.types:
29271         * docs/gst/tmpl/gstbasesrc.sgml:
29272         * docs/gst/tmpl/gstpad.sgml:
29273         Docs fixes.
29274
29275 2005-06-28  Wim Taymans  <wim@fluendo.com>
29276
29277         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29278         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
29279         (gst_proxy_pad_do_fixatecaps):
29280         Correctly proxy the check_pull_range function.
29281
29282 2005-06-28  Andy Wingo  <wingo@pobox.com>
29283
29284         * tests/network-clock.scm: Removed need for slib.
29285         
29286 2005-06-28  Wim Taymans  <wim@fluendo.com>
29287
29288         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
29289         (gst_basesink_preroll_queue_flush):
29290         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
29291         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
29292         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29293         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
29294         (gst_proxy_pad_set_property):
29295         * gst/gstpad.c:
29296         * gst/gstpad.h:
29297         * gst/gstqueue.c: (gst_queue_init):
29298         The deprecated pad loop function is removed now.
29299
29300 2005-06-28  Andy Wingo  <wingo@pobox.com>
29301
29302         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
29303         New parameters, simulate network packet loss.
29304
29305         * tests/network-clock-utils.scm: Initialize the RNG.
29306
29307 2005-06-28  Wim Taymans  <wim@fluendo.com>
29308
29309         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
29310         (gst_basesink_event), (gst_basesink_deactivate):
29311         Flushing the preroll queue always needs to unlock the waiters.
29312
29313 2005-06-28  Edward Hervey  <edward@fluendo.com>
29314
29315         * gst/gstpipeline.c: (gst_pipeline_send_event): 
29316         Wheen a seek was successful on a pipeline, set the stream_time to the
29317         seek offset in order to have a synchronized stream_time.
29318
29319 2005-06-28  Wim Taymans  <wim@fluendo.com>
29320
29321         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
29322         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
29323         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
29324         (gst_proxy_pad_do_fixatecaps):
29325         Call wrapper function instead of just calling the function
29326         pointers. This takes care of any locking and whatmore.
29327
29328 2005-06-28  Wim Taymans  <wim@fluendo.com>
29329
29330         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
29331         (gst_pad_pull_range):
29332         * gst/gstpad.h:
29333         CONNECTED -> LINKED.
29334
29335 2005-06-28  Andy Wingo  <wingo@pobox.com>
29336
29337         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
29338         source-munging commit!!!
29339
29340         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
29341         (gst_object_sink): Take gpointer arguments, not GstObject --
29342         avoids casts. Like GLib.
29343
29344         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
29345         activate.
29346
29347 2005-06-27  Andy Wingo  <wingo@pobox.com>
29348
29349         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
29350         remaining buffer.
29351
29352         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
29353         returns a sorted copy of the trace list.
29354         (gst_alloc_trace_print_live): New API, only prints traces with
29355         live objects. Sort the list.
29356         (gst_alloc_trace_print_all): Sort the list.
29357         (gst_alloc_trace_print): Align columns.
29358
29359         * gst/elements/gstttypefindelement.c:
29360         * gst/elements/gsttee.c:
29361         * gst/base/gstbasesrc.c:
29362         * gst/base/gstbasesink.c:
29363         * gst/base/gstbasetransform.c:
29364         * gst/gstqueue.c: Adapt for pad activation changes.
29365
29366         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
29367         sched.
29368         (gst_pipeline_dispose): Drop ref on sched.
29369
29370         * gst/gstpad.c (gst_pad_init): Set the default activate func.
29371         (gst_pad_activate_default): Push mode by default.
29372         (pre_activate_switch, post_activate_switch): New stubs, things to
29373         do before and after switching activation modes on pads.
29374         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
29375         the pad's activate function to choose which mode to activate.
29376         Shortcut on deactivation and call the right function directly.
29377         (gst_pad_activate_pull): New API, (de)activates a pad in pull
29378         mode.
29379         (gst_pad_activate_push): New API, same for push mode.
29380         (gst_pad_set_activate_function) 
29381         (gst_pad_set_activatepull_function) 
29382         (gst_pad_set_activatepush_function): Setters for new API.
29383
29384         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
29385         Trace all miniobjects.
29386         (gst_mini_object_make_writable): Unref the arg if we copy, like
29387         gst_caps_make_writable.
29388
29389         * gst/gstmessage.c (_gst_message_initialize): No trace init.
29390
29391         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
29392         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
29393         Adapt for new pad API.
29394
29395         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
29396
29397         * gst/gstelement.h:
29398         * gst/gstelement.c (gst_element_iterate_src_pads) 
29399         (gst_element_iterate_sink_pads): New API functions.
29400         
29401         * gst/gstelement.c (iterator_fold_with_resync): New utility,
29402         should fold into gstiterator.c in some form.
29403         (gst_element_pads_activate): Simplified via use of fold and
29404         delegation of decisions to gstpad->activate.
29405
29406         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
29407         help in debugging.
29408
29409         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
29410         class once in init, like gstmessage. Didn't run into this issue
29411         but it seems correct. Don't initialize a trace, gstminiobject does
29412         that.
29413
29414         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
29415         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
29416         to the bus.
29417         (assert_live_count): New util function, uses alloc traces to check
29418         cleanup.
29419
29420         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
29421         To be modified when unlink drops the internal pad.
29422
29423 2005-06-27  Wim Taymans  <wim@fluendo.com>
29424
29425         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
29426         (gst_bin_change_state):
29427         Cleanup the get_state() function a little, make sure it
29428         iterates the same set of elements.
29429         Added stub iterate_state_order().
29430
29431 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
29432
29433         * docs/gst/gstreamer-docs.sgml:
29434         * docs/gst/gstreamer-sections.txt:
29435         * docs/gst/gstreamer.types:
29436         * docs/gst/tmpl/gstbasesink.sgml:
29437         * docs/gst/tmpl/gstbasesrc.sgml:
29438         * docs/gst/tmpl/gstbasetransform.sgml:
29439         * docs/gst/tmpl/gstelement.sgml:
29440         * docs/gst/tmpl/gstiterator.sgml:
29441         * gst/base/gstbasesrc.c:
29442         * gst/base/gstbasesrc.h:
29443         * gst/base/gstbasetransform.h:
29444         * gst/gstelement.c:
29445         * gst/gstiterator.h:
29446           adding basetransform and iterator docs
29447
29448 2005-06-27  Andy Wingo  <wingo@pobox.com>
29449
29450         * docs/design/part-activation.txt: Notes on how activation should
29451         work -- not quite implemented yet.
29452
29453 2005-06-25  Wim Taymans  <wim@fluendo.com>
29454
29455         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
29456         At least get the chain function correct, needs more
29457         fixing.
29458
29459 2005-06-25  Wim Taymans  <wim@fluendo.com>
29460
29461         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29462         (gst_basesink_handle_object), (gst_basesink_event),
29463         (gst_basesink_do_sync), (gst_basesink_handle_event),
29464         (gst_basesink_change_state):
29465         * gst/gsttask.h:
29466         Right, two problems here: ghostpads don't take locks and
29467         glib _rec_mutex_lock_full() with depth==0 still locks.
29468         Catch illegal locking and g_warn them.
29469
29470 2005-06-25  Wim Taymans  <wim@fluendo.com>
29471
29472         * check/states/sinks.c: (START_TEST), (gst_object_suite):
29473         Have to check for completion now...
29474
29475 2005-06-25  Wim Taymans  <wim@fluendo.com>
29476
29477         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29478         (gst_basesink_handle_object), (gst_basesink_event),
29479         (gst_basesink_do_sync), (gst_basesink_handle_event),
29480         (gst_basesink_change_state):
29481         * gst/gstpad.h:
29482         Unlock STREAM_LOCK whatever the recursion was.
29483
29484 2005-06-25  Wim Taymans  <wim@fluendo.com>
29485
29486         * gst/base/gstbasesink.c: (gst_basesink_set_property),
29487         (gst_basesink_preroll_queue_empty),
29488         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
29489         (gst_basesink_event), (gst_basesink_do_sync),
29490         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
29491         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
29492         (gst_basesink_change_state):
29493         Reworked the base sink, handle event and buffer serialisation
29494         correctly and removed possible deadlock.
29495         Handle EOS correctly.
29496
29497 2005-06-25  Wim Taymans  <wim@fluendo.com>
29498
29499         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
29500         (gst_pipeline_change_state):
29501         * tools/gst-launch.c: (check_intr), (event_loop), (main):
29502         Allow elements to post EOS in the state change function.
29503         Fix up -launch, make it exit the poll loop when the
29504         pipeline actually changed state.
29505         Fix up warning parsing in -launch.
29506
29507 2005-06-25  Wim Taymans  <wim@fluendo.com>
29508
29509         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
29510         (gst_tee_sink_activate):
29511         Core takes STREAM_LOCK for us now.
29512
29513 2005-06-25  Wim Taymans  <wim@fluendo.com>
29514
29515         * gst/gstelement.c: (gst_element_get_state_func),
29516         (gst_element_set_state):
29517         * gst/gstelement.h:
29518         * gst/gstmessage.c: (gst_message_parse_error),
29519         (gst_message_parse_warning):
29520         Keep track of current target state while performing a state
29521         change so that subclasses can do something interesting.
29522         Fix parsing of warning/error messages when GError is NULL.
29523
29524 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
29525
29526         * docs/gst/Makefile.am:
29527         * docs/gst/gstreamer-docs.sgml:
29528         * docs/gst/gstreamer-sections.txt:
29529         * docs/gst/gstreamer.types:
29530         * docs/gst/tmpl/gstbasesink.sgml:
29531         * docs/gst/tmpl/gstbasesrc.sgml:
29532         * docs/gst/tmpl/gstbin.sgml:
29533         * docs/gst/tmpl/gstcompat.sgml:
29534         * docs/gst/tmpl/gstfakesink.sgml:
29535         * docs/gst/tmpl/gstfakesrc.sgml:
29536         * docs/gst/tmpl/gstfilesink.sgml:
29537         * docs/gst/tmpl/gstfilesrc.sgml:
29538         * docs/gst/tmpl/gstindex.sgml:
29539         * docs/manual/appendix-quotes.xml:
29540         * gst/base/gstbasesrc.h:
29541         * gst/elements/gstfakesrc.h:
29542         * gst/gstmessage.h:
29543           start pulling in base classes and elements in our docs
29544
29545 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
29546
29547         * docs/gst/Makefile.am:
29548         * docs/libs/Makefile.am:
29549           fixed make distcheck with gtk-doc 1.3
29550
29551 2005-06-23  Wim Taymans  <wim@fluendo.com>
29552
29553         * gst/gstelement.c: (gst_element_get_state_func),
29554         (gst_element_set_state), (gst_element_change_state):
29555         When the state did not change, also report NO_PREROLL
29556         when it matters.
29557
29558 2005-06-23  Wim Taymans  <wim@fluendo.com>
29559
29560         * gst/gstpad.c: (gst_pad_event_default):
29561         * gst/gstqueue.c: (gst_queue_loop):
29562         No unsafe task pausing please.
29563
29564 2005-06-23  Wim Taymans  <wim@fluendo.com>
29565
29566         * gst/schedulers/threadscheduler.c:
29567         (gst_thread_scheduler_task_start),
29568         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
29569         Ref the task before pushing it on the threadpool. This
29570         makes sure that we have a ref when the threadfunction is
29571         actually called.
29572
29573 2005-06-23  Andy Wingo  <wingo@pobox.com>
29574
29575         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
29576         offset is greater than the file's size.
29577
29578         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
29579         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
29580         * gst/gstobject.c (gst_object_class_init): Make the class lock
29581         recursive. Wim won't let me drop deep_notify. Decodebin works
29582         again, whoopdy doo.
29583
29584         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
29585         internal pad, and hacks accordingly. Doesn't do it on the target
29586         pad because we change its caps. Probably catches all cases of
29587         interest tho.
29588         (gst_ghost_pad_set_property): Connect to notify::caps as
29589         appropritate.
29590
29591         * tests/network-clock.scm (plot-simulation): Pipe data to the
29592         elite python skript.
29593
29594         * tests/network-clock-utils.scm (define-parameter): New macro,
29595         defines a parameter that can be set via the command line.
29596         (set-parameter!, parse-parameter-arguments): Command line args
29597         parser.
29598
29599         * tests/plot-data: Simple matplotlib-based plotter, takes input on
29600         stdin.
29601
29602 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
29603
29604         * gst/elements/gsttypefindelement.c:
29605         (gst_type_find_element_handle_event):
29606           Don't restart typefinding on a discont.
29607         * gst/gstelement.c: (gst_element_set_state):
29608           Debug spelling fix.
29609         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
29610           Allow changing mode of an active pad.
29611           Debug output fixes.
29612         * gst/registries/gstlibxmlregistry.c: (load_feature):
29613           Don't cast a static pad template to a normal pad template.
29614
29615 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29616
29617         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29618         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29619           remove gst_strtoll completely, since it didn't actually do
29620           anything more than what g_ascii_strtoull already does.
29621           check for range errors when deserializing
29622           do a cast for the unsigned cases; but further fixing needs
29623           a decision on what the interpretation of "(int)" and
29624           deserialization should be for values that fall outside the
29625           type's boundaries (ie, refuse, or interpret as casting)
29626
29627 2005-06-23  Wim Taymans  <wim@fluendo.com>
29628
29629         * check/Makefile.am:
29630         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
29631         * docs/design/part-live-source.txt:
29632         * docs/design/part-states.txt:
29633         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29634         (gst_basesrc_set_live), (gst_basesrc_is_live),
29635         (gst_basesrc_get_range), (gst_basesrc_activate),
29636         (gst_basesrc_change_state):
29637         * gst/base/gstbasesrc.h:
29638         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29639         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29640         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
29641         * gst/gstelement.c: (gst_element_get_state_func),
29642         (gst_element_set_state):
29643         * gst/gstelement.h:
29644         * gst/gsttypes.h:
29645         * tools/gst-launch.c: (event_loop), (main):
29646         Added support for live sources and other elements that
29647         cannot do preroll.
29648         Updated design docs, added live-source design doc.
29649         Implemented live source functionality in basesrc
29650         Fix error condition in _bin_get_state()
29651         Implement live source handling in -launch.
29652         Added check for live sources.
29653         Fixed case in GstBin where elements were changed state
29654         multiple times.
29655
29656
29657 2005-06-23  Andy Wingo  <wingo@pobox.com>
29658
29659         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
29660         borken refcounting.
29661
29662         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
29663         gst_caps_replace takes care of this for us.
29664
29665         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
29666         gst_pad_set_caps on the target, not just its setcaps() function.
29667
29668         * tests/network-clock.scm: 
29669         * tests/network-clock-utils.scm: A network clock simulator.
29670         Something of an algorithmic testbed before doing something in C.
29671
29672 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29673
29674         * check/Makefile.am:
29675         * check/gst/capslist.h:
29676           copy over from 0.8, and add two with bitmasks specified with
29677           (int) 0xFF...
29678         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29679           add test to parse everything from capslist.h
29680         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
29681         (main):
29682           add test for structure deserialization
29683         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29684           add tests for deserialization of strings to int types
29685         * gst/gststructure.c: (gst_structure_nth_field_name):
29686         * gst/gststructure.h:
29687           add a way to get the name of a field referenced by index
29688         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
29689           instead of checking if the resulting long long lies between
29690           min and max, we check if the long long would fit into
29691           a number of bytes for the final type.
29692           This fixes cases where a string represents 2^32 - 1, which
29693           when cast to int would be the (valid) -1, but is bigger than
29694           G_MAXINT
29695
29696 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29697
29698         * gst/parse/grammar.y:
29699           add a log line for type deserialization
29700
29701 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29702
29703         * check/gst/gstvalue.c: (START_TEST):
29704         * gst/gstvalue.c: (gst_value_deserialize):
29705           return long long, not int, so gint64 deserialization actually
29706           works.  Is there any flag that makes the compiler check this ?
29707           Fixes #308559
29708
29709 2005-06-22  Wim Taymans  <wim@fluendo.com>
29710
29711         * gst/gstbuffer.h:
29712         Added convenience macros for setting buffers in GValue.
29713
29714 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29715
29716         * check/gst/.cvsignore:
29717         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
29718           add a test deserializing int64, and comment part out because
29719           it fails, yay !
29720
29721 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
29722
29723         * check/Makefile.am:
29724         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
29725         * testsuite/Makefile.am:
29726         * testsuite/caps/Makefile.am:
29727         * testsuite/caps/value_serialize.c:
29728         * testsuite/test_gst_init.c:
29729           move a value_serialize test over
29730
29731 2005-06-20  Wim Taymans  <wim@fluendo.com>
29732
29733         * gst/gstpad.c:
29734         Small doc updates.
29735         
29736         * gst/gstvalue.c: (gst_value_compare_buffer),
29737         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
29738         (gst_value_compare_flags), (gst_value_serialize_flags),
29739         (gst_value_deserialize_flags), (_gst_value_initialize):
29740         Fix serialisation of buffers, they are not boxed types anymore
29741
29742 2005-06-20  Wim Taymans  <wim@fluendo.com>
29743
29744         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
29745         Testcase to show error in buffer-on-caps serialisation.
29746
29747 2005-06-20  Andy Wingo  <wingo@pobox.com>
29748
29749         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
29750         will be adding to later.
29751
29752         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
29753         if its socks fill with rocks.
29754         (gst_system_clock_obtain): Set the name on object construction.
29755         Avoid double-checked locking.
29756
29757 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
29758
29759         * gst/gsturi.c: (gst_element_make_from_uri):
29760           Fix potential endless loop.
29761
29762 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29763
29764         * check/Makefile.am:
29765           add gsttag
29766         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
29767         (main):
29768           move over from testsuite dir and clean up
29769         * configure.ac:
29770         * gst/gsttag.c:
29771         * testsuite/Makefile.am:
29772         * testsuite/tags/.cvsignore:
29773         * testsuite/tags/Makefile.am:
29774         * testsuite/tags/merge.c:
29775           remove testsuite/tags
29776
29777 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29778
29779         * docs/gst/gstreamer-sections.txt:
29780         * docs/gst/tmpl/gstenumtypes.sgml:
29781         * win32/gstenumtypes.c:
29782           clean up documentation build a little
29783
29784 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29785
29786         * check/gstcheck.h:
29787           add macros for checking refcounts on objects and caps
29788         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
29789           add some more unit tests
29790         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
29791         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
29792           fix leaked refcounts (I hope :)) so unittest works
29793         * gst/gstpad.h:
29794           whitespace removal
29795
29796 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
29797
29798         * configure.ac: back to HEAD
29799
29800 === release 0.9.1 ===
29801
29802 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
29803
29804         * NEWS:
29805         * RELEASE:
29806           updated
29807
29808 2005-06-17  Andy Wingo  <wingo@pobox.com>
29809
29810         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
29811         assert; it's always possible that the pad gets deactivated in
29812         between the checks in gstpad.c and the implementation. Rely on
29813         finish_preroll() to return a FLUSHING or similar instead of on the
29814         assert.
29815         
29816         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
29817         clock and post an EOS message if we come out of finish_preroll in
29818         the playing state.
29819
29820 2005-06-16  David Schleef  <ds@schleef.org>
29821
29822         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
29823         (gst_capsfilter_set_property): Allow NULL as possible value
29824         for filter_caps property, indicating GST_CAPS_ANY.
29825
29826 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29827
29828         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
29829           fix debug output
29830         * gst/schedulers/Makefile.am:
29831           use libgst prefix
29832         * gstreamer.spec.in:
29833           fix spec for it
29834
29835 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
29836
29837         * gstreamer.spec.in:
29838           clean up
29839
29840 2005-06-08  Andy Wingo  <wingo@pobox.com>
29841
29842         * gst/gstutils.c: RPAD fixes all around.
29843         (gst_element_link_pads): Refcounting fixes.
29844
29845         * tools/gst-inspect.c:
29846         * tools/gst-xmlinspect.c:
29847         * parse/grammar.y:
29848         * gst/base/gsttypefindhelper.c:
29849         * gst/base/gstbasesink.c:
29850         * gst/gstqueue.c: RPAD fixes.
29851
29852         * gst/gstghostpad.h:
29853         * gst/gstghostpad.c: New ghost pad implementation as full proxy
29854         pads. The tricky thing is they provide both source and sink
29855         interfaces, since they proxy the internal pad for the external
29856         pad, and vice versa. Implement with lower-level ProxyPad objects,
29857         with the interior proxy pad as a child of the exterior ghost pad.
29858         Should write a doc on this.
29859         
29860         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
29861         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
29862         gst_object API.
29863         
29864         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
29865         pads are real pads. No ghost pads in this file. Not documenting
29866         the myriad s/RPAD/PAD/ and REALIZE fixes.
29867         (gst_pad_class_init): Add properties for "direction" and
29868         "template". Both are construct-only, so they can't change during
29869         the life of the pad. Fixes properly deriving from GstPad.
29870         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
29871         derived objects, just set properties when creating the objects via
29872         g_object_new.
29873         (gst_pad_get_parent): Implement as a function, return NULL if the
29874         parent is not an element.
29875         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
29876         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
29877         
29878         * gst/gstobject.c (gst_object_class_init): Make name a construct
29879         property. Don't set it in the object init.
29880
29881         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
29882         with UNKNOWN direction.
29883         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
29884         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
29885         (gst_element_remove_pad): Remove ghost-pad special cases.
29886         (gst_element_pads_activate): Remove rpad cruft.
29887
29888         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
29889         catch the pad's-parent-not-an-element case.
29890
29891         * gst/gst.h: Include gstghostpad.h.
29892
29893         * gst/gst.c (init_post): No more real, ghost pads.
29894
29895         * gst/Makefile.am: Add gstghostpad.[ch].
29896
29897         * check/Makefile.am:
29898         * check/gst/gstbin.c:
29899         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
29900         into a bin creates ghost pads, and that the refcounts are right.
29901         Partly moved from gstbin.c.
29902
29903 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29904
29905         * check/gst-libs/.cvsignore:
29906         * check/gst/.cvsignore:
29907         * check/pipelines/.cvsignore:
29908           ignore more
29909         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
29910         (START_TEST), (cleanup_suite), (main):
29911           add some tests related to cleanup after running pipelines
29912
29913 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29914
29915         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
29916           add a testsuite for GstBuffer
29917
29918 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
29919
29920         * gst/gstminiobject.h:
29921           add defines for accessing the refcount
29922
29923 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
29924
29925         * Makefile.am: added support for html unit test coverage reports
29926
29927 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
29928
29929         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
29930           Free existing caps if the capsfilter changes. Add a FIXME about
29931           setting those caps on the pads.
29932
29933         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
29934           Before adding a ghost pad to a parent bin, check that there isn't
29935           already one for the element on the bin. Prevents infinite recursion
29936           when using decodebin in parse pipelines. Andy says he'll rewrite the
29937           way this works anyway, so ignore the hack.
29938
29939 2005-06-02  Andy Wingo  <wingo@pobox.com>
29940
29941         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
29942         file size, pass it on to the type find helper.
29943
29944         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
29945         segment_start and segment_end properly according to the seek
29946         method. Segment_end is still a bit flaky because offset can be
29947         negative for CUR and END cases, but it takes -1 as an "unset"
29948         value.
29949
29950 2005-06-02  Wim Taymans  <wim@fluendo.com>
29951
29952         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
29953         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
29954         (gst_basesink_activate):
29955         * gst/base/gstbasesink.h:
29956         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
29957         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
29958         (gst_pad_query), (gst_pad_start_task):
29959         * gst/gstpad.h:
29960         * gst/gstqueue.c: (gst_queue_bufferalloc),
29961         (gst_queue_handle_sink_event), (gst_queue_chain):
29962         Bufferalloc: return GstFlowReturn to more accuratly report
29963         why allocation failed.
29964
29965 2005-06-02  Wim Taymans  <wim@fluendo.com>
29966
29967         * gst/gstpipeline.c: (gst_pipeline_send_event):
29968         Take snapshot of state without blocking.
29969
29970 2005-06-02  Wim Taymans  <wim@fluendo.com>
29971
29972         * docs/design/part-TODO.txt:
29973         * docs/design/part-caps.txt:
29974         * docs/design/part-clocks.txt:
29975         * docs/design/part-negotiation.txt:
29976         * docs/design/part-preroll.txt:
29977         Small doc updates 
29978
29979 2005-05-30  Wim Taymans  <wim@fluendo.com>
29980
29981         * gst/elements/gstidentity.c: (gst_identity_event),
29982         (gst_identity_transform), (gst_identity_get_property):
29983         Protect last_message property as it is accessed from
29984         multiple threads.
29985
29986 2005-05-30  Wim Taymans  <wim@fluendo.com>
29987
29988         * gst/gstelement.c: (gst_element_init),
29989         (gst_element_pads_activate), (gst_element_change_state):
29990         Slicker pad activation code.
29991
29992 2005-05-30  Wim Taymans  <wim@fluendo.com>
29993
29994         * gst/Makefile.am:
29995         * gst/gstelement.h:
29996         * gst/gstelementfactory.h:
29997         * gst/gsttypes.h:
29998         Move elementfactory methods to separate .h file.
29999
30000 2005-05-30  Wim Taymans  <wim@fluendo.com>
30001
30002         * docs/design/part-overview.txt:
30003         * gst/gstsystemclock.h:
30004         Small typo fixes, doc updates.
30005
30006 2005-05-30  Wim Taymans  <wim@fluendo.com>
30007
30008         * gst/gst.c: (gst_init_get_popt_table), (init_post),
30009         (init_popt_callback):
30010         Remove cpu-opt flag.
30011
30012 2005-05-30  Wim Taymans  <wim@fluendo.com>
30013
30014         * gst/gstbuffer.c: (gst_subbuffer_finalize),
30015         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
30016         * gst/gstbuffer.h:
30017         Avoid typechecking in places where not needed.
30018         Added accessor for malloc_data.
30019
30020 2005-05-30  Wim Taymans  <wim@fluendo.com>
30021
30022         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
30023         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
30024         (gst_pad_configure_sink), (gst_pad_configure_src),
30025         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
30026         (gst_pad_start_task):
30027         Propagate errors from _set_caps() in configure_src/sink
30028         functions instead of returning TRUE.
30029         FLUSH events can travel up and downstream
30030
30031
30032 2005-05-30  Wim Taymans  <wim@fluendo.com>
30033
30034         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30035         (gst_basesink_activate):
30036         Handle EOS in preroll.
30037
30038 2005-05-30  Wim Taymans  <wim@fluendo.com>
30039
30040         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30041         (gst_queue_loop), (gst_queue_handle_src_event):
30042         Remove old pieces of code
30043         Flushing the queue in an upstream event is a very bad idea.
30044
30045 2005-05-26  Andy Wingo  <wingo@pobox.com>
30046
30047         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
30048         gst_value_set_mini_object so as to add a ref on the object (which
30049         will be removed when the value is unset).
30050
30051         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
30052         arg type in ::handoff.
30053
30054         * gst/gstelement.c (gst_element_change_state): Also deactivate
30055         pads in READY->NULL, just in case the element didn't make it to
30056         PAUSED. Wingo tested, Wim approved.
30057
30058 2005-05-26  Wim Taymans  <wim@fluendo.com>
30059
30060         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30061         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
30062         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
30063         A flushing pad cannot be used to alloc_buffer from.
30064
30065 2005-05-26  Wim Taymans  <wim@fluendo.com>
30066
30067         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
30068         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
30069         (gst_bus_source_dispatch), (gst_bus_source_finalize),
30070         (gst_bus_create_watch), (gst_bus_add_watch_full):
30071         * gst/gstbus.h:
30072         Implement a real GSource and use g_main_context_wakeup() to
30073         signal new messages instead of the socketpair.
30074
30075 2005-05-25  Wim Taymans  <wim@fluendo.com>
30076
30077         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
30078         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
30079         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30080         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30081         (gst_pad_send_event), (gst_pad_start_task):
30082         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
30083         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
30084         (gst_queue_sink_activate), (gst_queue_src_activate),
30085         (gst_queue_change_state):
30086         * gst/gstqueue.h:
30087         Fix state changes for non sinks. We now change sinks, then elements
30088         with unconnected srcpads, then the rest.
30089         More efficient queue unlocking in flush and state changes.
30090         Set the pad activate mode even if it does not have an activate
30091         function.
30092
30093 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30094
30095         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
30096           Don't go in pull mode for non-seekable sources.
30097         * gst/elements/gsttypefindelement.h:
30098         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30099         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
30100         (free_entry), (stop_typefinding),
30101         (gst_type_find_element_handle_event), (find_peek),
30102         (gst_type_find_element_chain), (do_pull_typefind),
30103         (gst_type_find_element_change_state):
30104           Allow typefinding (w/o seeking) in push-mode, simplified version
30105           of what was in 0.8.
30106         * gst/gstutils.c: (gst_buffer_join):
30107         * gst/gstutils.h:
30108           gst_buffer_join() from 0.8.
30109
30110 2005-05-25  Wim Taymans  <wim@fluendo.com>
30111
30112         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
30113         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
30114         (gst_pad_send_event), (gst_pad_start_task):
30115         Disable attempt at mode switching until it is figured out.
30116
30117 2005-05-25  Wim Taymans  <wim@fluendo.com>
30118
30119         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
30120         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
30121         (gst_basesink_finish_preroll), (gst_basesink_chain),
30122         (gst_basesink_loop), (gst_basesink_activate),
30123         (gst_basesink_change_state):
30124         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
30125         (gst_basesrc_get_range), (gst_basesrc_loop),
30126         (gst_basesrc_activate):
30127         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30128         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30129         (gst_real_pad_init), (gst_real_pad_set_property),
30130         (gst_real_pad_get_property), (gst_pad_set_active),
30131         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
30132         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
30133         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
30134         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
30135         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30136         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
30137         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
30138         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
30139         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
30140         (gst_pad_stop_task):
30141         * gst/gstpad.h:
30142         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
30143         (gst_queue_loop), (gst_queue_src_activate):
30144         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
30145         (gst_task_get_state):
30146         * gst/gsttask.h:
30147         * gst/schedulers/threadscheduler.c:
30148         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
30149         Implement gst_pad_pause/start/stop_task(), take STREAM lock
30150         in task function.
30151         Remove ACTIVE pad flag, use FLUSHING everywhere
30152         Added _pad_chain(), _pad_get_range() to call chain/getrange 
30153         functions.
30154         Add locks around IS_FLUSHING when reading.
30155         Take STREAM lock in chain(), get_range() functions so plugins
30156         don't need to take it anymore.
30157         
30158
30159
30160 2005-05-25  Wim Taymans  <wim@fluendo.com>
30161
30162         * tools/gst-launch.c: (event_loop):
30163         Unref message after using its contents instead of
30164         before.
30165
30166 2005-05-24  Wim Taymans  <wim@fluendo.com>
30167
30168         * docs/design/draft-ghostpads.txt:
30169         * docs/design/draft-push-pull.txt:
30170         * docs/design/draft-query.txt:
30171         * docs/design/part-overview.txt:
30172         Docs updates, added general overview doc.
30173
30174 2005-05-21  David Schleef  <ds@schleef.org>
30175
30176         * docs/gst/tmpl/old/GstBin.sgml:
30177         * docs/gst/tmpl/old/GstBuffer.sgml:
30178         * docs/gst/tmpl/old/GstCaps.sgml:
30179         * docs/gst/tmpl/old/GstClock.sgml:
30180         * docs/gst/tmpl/old/GstCompat.sgml:
30181         * docs/gst/tmpl/old/GstData.sgml:
30182         * docs/gst/tmpl/old/GstElement.sgml:
30183         * docs/gst/tmpl/old/GstEvent.sgml:
30184         * docs/gst/tmpl/old/GstIndex.sgml:
30185         * docs/gst/tmpl/old/GstStructure.sgml:
30186         * docs/gst/tmpl/old/GstTag.sgml:
30187         * docs/gst/tmpl/old/cothreads.sgml:
30188         * docs/gst/tmpl/old/cothreads_compat.sgml:
30189         * docs/gst/tmpl/old/gettext.sgml:
30190         * docs/gst/tmpl/old/gobject2gtk.sgml:
30191         * docs/gst/tmpl/old/grammar.tab.sgml:
30192         * docs/gst/tmpl/old/gst-i18n-app.sgml:
30193         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
30194         * docs/gst/tmpl/old/gst_private.sgml:
30195         * docs/gst/tmpl/old/gstaggregator.sgml:
30196         * docs/gst/tmpl/old/gstarch.sgml:
30197         * docs/gst/tmpl/old/gstatomic_impl.sgml:
30198         * docs/gst/tmpl/old/gstbufferstore.sgml:
30199         * docs/gst/tmpl/old/gstdata_private.sgml:
30200         * docs/gst/tmpl/old/gstdisksink.sgml:
30201         * docs/gst/tmpl/old/gstdisksrc.sgml:
30202         * docs/gst/tmpl/old/gstelementfactory.sgml:
30203         * docs/gst/tmpl/old/gstextratypes.sgml:
30204         * docs/gst/tmpl/old/gstfakesink.sgml:
30205         * docs/gst/tmpl/old/gstfakesrc.sgml:
30206         * docs/gst/tmpl/old/gstfdsink.sgml:
30207         * docs/gst/tmpl/old/gstfdsrc.sgml:
30208         * docs/gst/tmpl/old/gstfilesink.sgml:
30209         * docs/gst/tmpl/old/gstfilesrc.sgml:
30210         * docs/gst/tmpl/old/gsthttpsrc.sgml:
30211         * docs/gst/tmpl/old/gstidentity.sgml:
30212         * docs/gst/tmpl/old/gstindexfactory.sgml:
30213         * docs/gst/tmpl/old/gstmarshal.sgml:
30214         * docs/gst/tmpl/old/gstmd5sink.sgml:
30215         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
30216         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
30217         * docs/gst/tmpl/old/gstpadtemplate.sgml:
30218         * docs/gst/tmpl/old/gstpipefilter.sgml:
30219         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
30220         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
30221         * docs/gst/tmpl/old/gstshaper.sgml:
30222         * docs/gst/tmpl/old/gstspider.sgml:
30223         * docs/gst/tmpl/old/gstspideridentity.sgml:
30224         * docs/gst/tmpl/old/gststatistics.sgml:
30225         * docs/gst/tmpl/old/gsttee.sgml:
30226         * docs/gst/tmpl/old/gsttimecache.sgml:
30227         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
30228         * docs/gst/tmpl/old/gstxmlregistry.sgml:
30229         * docs/gst/tmpl/old/gthread-cothreads.sgml:
30230         * docs/gst/tmpl/old/types.sgml:
30231           I didn't intend to add these or check them in.
30232
30233 2005-05-19  David Schleef  <ds@schleef.org>
30234
30235         * configure.ac: Use -no-common everywhere.  In a sane world, it
30236           would be the default in libtool, because without it, you can't
30237           build DLLs on Windows.
30238         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
30239         * docs/gst/gstreamer-sections.txt:
30240         * docs/gst/tmpl/gstcpu.sgml:
30241         * docs/gst/tmpl/gstdata.sgml:
30242         * docs/gst/tmpl/gstthread.sgml:
30243
30244 2005-05-19  David Schleef  <ds@schleef.org>
30245
30246         * gst/gstminiobject.c: (gst_value_set_mini_object),
30247         (gst_value_take_mini_object), (gst_value_get_mini_object):
30248         * gst/gstminiobject.h: Add GValue set/get functions.
30249
30250 2005-05-19  Wim Taymans  <wim@fluendo.com>
30251
30252         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
30253         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
30254         (gst_subbuffer_init), (gst_buffer_is_span_fast):
30255         * gst/gstbuffer.h:
30256         * gst/gstbus.c: (gst_bus_post):
30257         * gst/gstelement.c: (gst_element_get_random_pad):
30258         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
30259         Make subbufer unref the parent in finalize.
30260         some more debugging info.
30261
30262
30263 2005-05-19  Wim Taymans  <wim@fluendo.com>
30264
30265         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30266         (gst_basesink_init), (gst_basesink_finalize),
30267         (gst_basesink_activate), (gst_basesink_change_state):
30268         Don't free preroll queue too early.
30269
30270 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30271
30272         * gst/Makefile.am:
30273         * gst/ROADMAP:
30274           Hi, I'm outdated. Please shoot me.
30275
30276 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30277
30278         * gst/gstpipeline.c: (gst_pipeline_send_event):
30279           Do not access variables after they have been deleted.
30280
30281 2005-05-19  Wim Taymans  <wim@fluendo.com>
30282
30283         * tools/gst-inspect.c: (print_plugin_features):
30284         A plugin feature does unfortunatly not use the
30285         object name yet...
30286
30287 2005-05-18  Wim Taymans  <wim@fluendo.com>
30288
30289         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
30290         Port _span() functions to new subbuffers.
30291
30292 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30293
30294         * gst/gstbin.c: (gst_bin_add_func):
30295           Fix clock settery in bins when adding kids after the clock has
30296           been selected.
30297
30298 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30299
30300         * gst/elements/gstidentity.c: (gst_identity_class_init):
30301           Workaround until signals support GstMiniObject.
30302
30303 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
30304
30305         * gst/gstbuffer.c:
30306         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
30307
30308 2005-05-18  Wim Taymans  <wim@fluendo.com>
30309
30310         * gst/base/Makefile.am:
30311         * gst/base/gstadapter.c: (gst_adapter_base_init),
30312         (gst_adapter_class_init), (gst_adapter_init),
30313         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
30314         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
30315         (gst_adapter_flush), (gst_adapter_available),
30316         (gst_adapter_available_fast):
30317         * gst/base/gstadapter.h:
30318         Ported and added adapter to the base classes.
30319
30320 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
30321
30322         * gst/gst.c:
30323         * gst/gstmessage.c:
30324           Make sure the class is reffed/unreffed once before threads can be
30325           used.  Fixes #304551.
30326
30327 2005-05-17  Wim Taymans  <wim@fluendo.com>
30328
30329         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
30330         (gst_basesink_chain_unlocked), (gst_basesink_activate):
30331         * gst/gstminiobject.c: (gst_mini_object_get_type),
30332         (gst_mini_object_free):
30333         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
30334         (gst_pad_push), (gst_pad_push_event):
30335         * gst/gstqueue.c: (gst_queue_change_state):
30336         Don't queue buffers in basesink when we are flushing.
30337         Unref buffer when flushing in basesink.
30338         Flush queue when going to READY
30339         Unref buffer when _push() returns an error.
30340         Don't free MiniObject instance when refcount is incremented
30341         in _finalize() so that we can recover objects.
30342
30343 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
30344
30345         * docs/manual/advanced-schedulers.xml:
30346         * docs/manual/appendix-checklist.xml:
30347         * docs/pwg/advanced-clock.xml:
30348         * docs/pwg/advanced-interfaces.xml:
30349         * docs/pwg/advanced-request.xml:
30350         * docs/pwg/advanced-types.xml:
30351         * docs/pwg/intro-preface.xml:
30352         * examples/plugins/example.c: (gst_example_get_type),
30353         (gst_example_class_init), (gst_example_chain),
30354         (gst_example_set_property), (gst_example_get_property),
30355         (gst_example_change_state), (plugin_init):
30356         * examples/plugins/example.h:
30357           small doc fixes
30358
30359 2005-05-17  Wim Taymans  <wim@fluendo.com>
30360
30361         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
30362         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
30363         * gst/gstqueue.c: (gst_queue_change_state):
30364         Clear queue when going to READY.
30365         Remove IN_SETCAPS flag too.
30366
30367 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
30368
30369         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
30370           Remove implicit cast from gboolean to GstElementStateReturn;
30371           make sure we still return failure in paused => ready case if
30372           the parent class fails to change state and our own stop 
30373           vfunc succeeds.
30374
30375 2005-05-17  Wim Taymans  <wim@fluendo.com>
30376
30377         * tools/gst-launch.c: (event_loop):
30378         Message was unreffed too soon.
30379
30380 2005-05-16  Andy Wingo  <wingo@pobox.com>
30381
30382         * gst/gstbin.c (sink_iterator_filter): Err... um...
30383
30384         * check/gst/gstbin.c (test_ghost_pads): New test for the
30385         ghosting-if-elements-not-in-same-bin behavior.
30386
30387 2005-05-16  David Schleef  <ds@schleef.org>
30388
30389         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
30390         accessing refcount directly.
30391
30392 2005-05-15  David Schleef  <ds@schleef.org>
30393
30394         * check/Makefile.am: remove GstData checks
30395         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
30396         * gst/Makefile.am: add miniobject, remove data
30397         * gst/gst.h: add miniobject, remove data
30398         * gst/gstdata.c: remove
30399         * gst/gstdata.h: remove
30400         * gst/gstdata_private.h: remove
30401         * gst/gsttypes.h: remove GstEvent and GstMessage
30402         * gst/gstelement.c: (gst_element_post_message): fix for API changes
30403         * gst/gstmarshal.list: change BOXED -> OBJECT
30404
30405         Implement GstMiniObject.
30406         * gst/gstminiobject.c:
30407         * gst/gstminiobject.h:
30408
30409         Modify to be subclasses of GstMiniObject.
30410         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
30411         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
30412         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
30413         (gst_subbuffer_get_type), (gst_subbuffer_init),
30414         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
30415         (gst_buffer_span):
30416         * gst/gstbuffer.h:
30417         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
30418         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
30419         (_gst_event_copy), (gst_event_new):
30420         * gst/gstevent.h:
30421         * gst/gstmessage.c: (_gst_message_initialize),
30422         (gst_message_get_type), (gst_message_class_init),
30423         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
30424         (gst_message_new), (gst_message_new_error),
30425         (gst_message_new_warning), (gst_message_new_tag),
30426         (gst_message_new_state_changed), (gst_message_new_application):
30427         * gst/gstmessage.h:
30428         * gst/gstprobe.c: (gst_probe_perform),
30429         (gst_probe_dispatcher_dispatch):
30430         * gst/gstprobe.h:
30431         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
30432         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
30433         (_gst_query_copy), (gst_query_new):
30434
30435         Update elements for GstData -> GstMiniObject changes
30436         * gst/gstquery.h:
30437         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
30438         (gst_queue_chain), (gst_queue_loop):
30439         * gst/elements/gstbufferstore.c:
30440         (gst_buffer_store_add_buffer_func),
30441         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
30442         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30443         (gst_fakesink_render):
30444         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30445         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
30446         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
30447         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
30448         (gst_filesrc_create_read):
30449         * gst/elements/gstidentity.c: (gst_identity_class_init):
30450         * gst/elements/gsttypefindelement.c:
30451         (gst_type_find_element_src_event), (free_entry_buffers),
30452         (gst_type_find_element_handle_event):
30453         * libs/gst/dataprotocol/dataprotocol.c:
30454         (gst_dp_header_from_buffer):
30455         * libs/gst/dataprotocol/dataprotocol.h:
30456         * libs/gst/dataprotocol/dp-private.h:
30457
30458 2005-05-15  David Schleef  <ds@schleef.org>
30459
30460         * gst/elements/gstelements.c: Don't include headers that were
30461         just removed.
30462
30463 2005-05-15  David Schleef  <ds@schleef.org>
30464
30465         * gst/elements/Makefile.am: Remove some elements that don't
30466         need to be in the core (or even exist at all).
30467         * gst/elements/gstaggregator.c:
30468         * gst/elements/gstaggregator.h:
30469         * gst/elements/gstmd5sink.c:
30470         * gst/elements/gstmd5sink.h:
30471         * gst/elements/gstmultifilesrc.c:
30472         * gst/elements/gstmultifilesrc.h:
30473         * gst/elements/gstpipefilter.c:
30474         * gst/elements/gstpipefilter.h:
30475         * gst/elements/gstshaper.c:
30476         * gst/elements/gstshaper.h:
30477         * gst/elements/gststatistics.c:
30478         * gst/elements/gststatistics.h:
30479         * po/POTFILES.in: Remove above files.
30480
30481 2005-05-14  Andy Wingo  <wingo@pobox.com>
30482
30483         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
30484         so as to get the refs right.
30485         (sink_iterator_filter): New function, wraps bin_element_is_sink,
30486         unreffing objects that don't pass the filter.
30487
30488         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
30489         gst_element_set_bus.
30490         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
30491         normal cases, this will destroy the bus.
30492
30493         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
30494         object.
30495
30496         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
30497         has no sinks.
30498
30499 2005-05-13  Andy Wingo  <wingo@pobox.com>
30500
30501         * gst/gstutils.c (gst_element_link_pads): Instead of calling
30502         gst_pad_link, call pad_link_maybe_ghosting,
30503         (pad_link_maybe_ghosting): Links pads, making sure that the
30504         elements being linked are in the same bin.
30505         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
30506         Helpers for pad_link_maybe_ghosting.
30507
30508 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30509
30510         * configure.ac:
30511           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
30512
30513 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
30514
30515         * docs/design/part-element-source.txt:
30516           Mention GstPushSrc
30517
30518 2005-05-12  Wim Taymans  <wim@fluendo.com>
30519
30520         * gst/base/gstbasesink.c: (gst_basesink_init),
30521         (gst_basesink_activate):
30522         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
30523         (gst_basesrc_is_seekable):
30524         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
30525         (bin_element_is_sink), (gst_bin_change_state):
30526         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30527         * gst/gstelement.h:
30528         Identify sinks by their flag to avoid overly complicated
30529         checks (fow now).
30530         Do state changes even for elements not reachable from the
30531         sinks.
30532         BaseSink is a sink now :)
30533         Some more debugging info in the basesrc.
30534
30535
30536 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30537
30538         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
30539           Implement _query on a bin, similar to _send_event.
30540
30541 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
30542
30543         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
30544           Discont event offset format should be GST_FORMAT_BYTES,
30545           not GST_FORMAT_TIME.
30546
30547 2005-05-12  Wim Taymans  <wim@fluendo.com>
30548
30549         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
30550         Same fix as Ronald's but without the signal. 
30551
30552 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30553
30554         * gst/gstutils.c: (gst_element_query_position):
30555           No, an element is not a pad.
30556
30557 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30558
30559         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
30560         (gst_bin_get_state):
30561           If a child is removed from a bin while we remove the child from
30562           the bin and while we're retrieving its state, signal this to the
30563           get_state function so we abort the wait (instead of waiting for
30564           a timeout) and can immediately re-iterate over all other elements.
30565
30566 2005-05-12  Wim Taymans  <wim@fluendo.com>
30567
30568         * gst/base/Makefile.am:
30569         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
30570         (gst_basesrc_start):
30571         * gst/base/gstbasesrc.h:
30572         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
30573         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
30574         (gst_pushsrc_init), (gst_pushsrc_create):
30575         * gst/base/gstpushsrc.h:
30576         Added is_seekable to BaseSrc
30577         Added simple PushSrc.
30578
30579 2005-05-11  Wim Taymans  <wim@fluendo.com>
30580
30581         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
30582         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30583         (gst_element_link_pads), (gst_element_query_position),
30584         (gst_element_query_convert), (intersect_caps_func),
30585         (gst_pad_query_position), (gst_pad_query_convert):
30586         Fix refcounting in utils function.
30587         No point in trying to activate a pad when it's added, it could
30588         be added from the state change function and then we deadlock, the
30589         element has to decide what to do.
30590
30591 2005-05-10  Andy Wingo  <wingo@pobox.com>
30592
30593         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
30594         *all* the arguments.
30595
30596         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
30597         stream lock if it's a FLUSH_DONE; normal flushes don't get the
30598         lock (according to the docs -- if this is wrong change the docs).
30599
30600         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
30601         flush messages in the NULL state.
30602
30603         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
30604         message immediately and return.
30605         (gst_bus_set_flushing): New function. If a bus is flushing, it
30606         flushes out any queued messages and immediately unrefs new
30607         messages. This is so when an element goes to NULL, all of the
30608         unhandled messages coming from it can be freed, and their
30609         references to the element dropped. In other words: message source
30610         ref considered harmful :P
30611
30612         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
30613         we're finished with it.
30614
30615         * gst/gstmessage.c (gst_message_new_state_changed): 
30616
30617 2005-05-10  Wim Taymans  <wim@fluendo.com>
30618
30619         * gst/gstvalue.c: (gst_value_compare_flags),
30620         (gst_value_serialize_flags), (gst_value_deserialize_flags),
30621         (_gst_value_initialize):
30622         Added flags serialize/deserialize/compare code.
30623
30624 2005-05-09  Andy Wingo  <wingo@pobox.com>
30625
30626         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
30627         Intersect the peer's caps with our caps.
30628
30629 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30630
30631         * gst/base/gsttypefindhelper.c: (helper_find_peek):
30632         * gst/elements/gsttypefindelement.c: (find_peek):
30633           Handle negative offsets better. Fixes decodebin.
30634
30635 2005-05-09  Wim Taymans  <wim@fluendo.com>
30636
30637         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
30638         (gst_base_transform_event):
30639         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
30640         Implement accept_caps.
30641         Fix silly lock/unlock mismatch in base class.
30642
30643 2005-05-09  Wim Taymans  <wim@fluendo.com>
30644
30645         * docs/design/draft-push-pull.txt:
30646         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
30647         * gst/elements/gstfilesink.c: (gst_filesink_init),
30648         (gst_filesink_query):
30649         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
30650         (gst_type_find_handle_src_query), (find_element_get_length):
30651         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
30652         * gst/gstelement.h:
30653         * gst/gstmessage.c:
30654         * gst/gstmessage.h:
30655         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
30656         (gst_real_pad_get_caps_unlocked),
30657         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
30658         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30659         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
30660         (gst_real_pad_dispose), (gst_real_pad_finalize),
30661         (gst_pad_load_and_link), (gst_pad_save_thyself),
30662         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
30663         (gst_pad_check_pull_range), (gst_pad_pull_range),
30664         (gst_pad_template_get_type), (gst_pad_template_class_init),
30665         (gst_pad_template_init), (gst_pad_template_dispose),
30666         (name_is_valid), (gst_static_pad_template_get),
30667         (gst_pad_template_new), (gst_static_pad_template_get_caps),
30668         (gst_pad_template_get_caps), (gst_pad_set_element_private),
30669         (gst_pad_get_element_private), (gst_pad_start_task),
30670         (gst_pad_pause_task), (gst_pad_stop_task),
30671         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
30672         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
30673         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
30674         (gst_ghost_pad_new):
30675         * gst/gstpad.h:
30676         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
30677         (gst_query_new_position), (gst_query_set_position),
30678         (gst_query_parse_position), (gst_query_new_convert),
30679         (gst_query_set_convert), (gst_query_parse_convert):
30680         * gst/gstquery.h:
30681         * gst/gstqueryutils.c:
30682         * gst/gstqueryutils.h:
30683         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30684         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30685         (gst_queue_handle_src_query):
30686         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30687         (gst_element_query_position), (gst_element_query_convert),
30688         (intersect_caps_func), (gst_pad_query_position),
30689         (gst_pad_query_convert):
30690         * gst/gstutils.h:
30691         * tools/gst-inspect.c: (print_pad_info):
30692         * tools/gst-xmlinspect.c: (print_element_info):
30693         Remove old query functions. Ported old code.
30694         Added position/convert helper functions to gstutils.
30695         Reordered gstpad.c code, grouping relevant things.
30696         Remove gst_message_new(), always need to speficy a specific
30697         message.
30698
30699
30700 2005-05-09  Andy Wingo  <wingo@pobox.com>
30701
30702         * gst/gstiterator.h: Add some includes.
30703
30704         * gst/gstqueryutils.h: Include more headers.
30705
30706         * gst/gstpad.h:
30707         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
30708         some uses of gst_pad_query.
30709
30710         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
30711         NULL out parameters.
30712         (gst_query_new_position): New proc, allocates a new position
30713         query.
30714
30715         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
30716         gstqueryutils.c to the build.
30717
30718         * gst/gststructure.c (gst_structure_set_valist): Implement with
30719         the generic G_VALUE_COLLECT.
30720         
30721 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
30722
30723         * gst/Makefile.am: (gst_headers):
30724         Added gstqueryutils.h to the list of headers to install, that was
30725         a 'nachty' move wingo :)
30726
30727 2005-05-06  Andy Wingo  <wingo@pobox.com>
30728
30729         * gst/gstquery.h
30730         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
30731         GstData, init a memchunk.
30732         (standard_definitions): Add a few query types, deprecate a few.
30733         (gst_query_get_type): New proc.
30734         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
30735         implementation.
30736         (gst_query_new_application, gst_query_get_structure): New public
30737         procs.
30738
30739         * docs/design/draft-query.txt: Removed LINKS from the query types,
30740         because all the rest can be dispatched to other pads -- seemed
30741         ugly to have a query that couldn't be dispatched. internal_links
30742         is fine as a pad method.
30743
30744         * gst/gstpad.h: Add query2 as a pad method, add the new functions
30745         in gstpad.c, but maintain binary compatibility for the moment.
30746         Will fix before 0.9 is out.
30747
30748         * gst/gstqueryutils.c: 
30749         * gst/gstqueryutils.h: New files, implement 3 methods for each
30750         query type: parse_query, parse_response, and set. Probably need an
30751         allocator as well.
30752
30753         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
30754
30755         * gst/elements/gstfilesink.c (gst_filesink_query2):
30756         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
30757         query_types, and formats methods.
30758
30759         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
30760         (gst_pad_set_query2_function): New functions.
30761         (gst_real_pad_init): Set query2_default as the default query2
30762         function. Basically just dispatches to internally linked pads.
30763
30764         Needs review!
30765         
30766         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
30767         without using the atomic operations. Only one thread can possibly
30768         be accessing the data at this point. Changed so as to avoid
30769         gst_atomic operations.
30770
30771 2005-05-06  Wim Taymans  <wim@fluendo.com>
30772
30773         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
30774         Also set caps if we use the fallback buffer alloc.
30775
30776 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
30777
30778         * docs/gst/Makefile.am:
30779         * docs/gst/gstreamer-docs.sgml:
30780         * docs/gst/gstreamer-sections.txt:
30781         * docs/gst/tmpl/gstatomic.sgml:
30782         * docs/gst/tmpl/gstmemchunk.sgml:
30783         * testsuite/elements/struct_i386.h:
30784         * win32/GStreamer.vcproj:
30785         * win32/Makefile:
30786           Purge GstAtomic stuff from docs and win32 makefiles as well
30787
30788 2005-05-06  Wim Taymans  <wim@fluendo.com>
30789
30790         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
30791         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
30792         * gst/gstpad.c: (gst_pad_peer_get_caps):
30793         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
30794         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
30795         (gst_queue_src_activate), (gst_queue_change_state):
30796         * gst/gstqueue.h:
30797         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30798         (intersect_caps_func):
30799         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
30800         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
30801         Some fixes for the peer_get_caps() change.
30802
30803 2005-05-06  Wim Taymans  <wim@fluendo.com>
30804
30805         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
30806         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
30807         (gst_basesink_activate):
30808         Actually do something with error codes returned from the push
30809         functions.
30810
30811 2005-05-06  Wim Taymans  <wim@fluendo.com>
30812
30813         * docs/design/part-element-sink.txt:
30814         * docs/design/part-element-source.txt:
30815         * gst/base/gstbasesink.c: (gst_basesink_class_init),
30816         (gst_basesink_event), (gst_basesink_activate):
30817         * gst/base/gstbasesink.h:
30818         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
30819         (gst_basesrc_activate):
30820         * gst/base/gstbasesrc.h:
30821         * gst/gstelement.c: (gst_element_pads_activate):
30822         Some more documentation.
30823         Fixed scheduling decision in _pads_activate().
30824
30825 2005-05-05  Andy Wingo  <wingo@pobox.com>
30826
30827         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
30828         the test suite.
30829
30830 2005-05-05  Wim Taymans  <wim@fluendo.com>
30831
30832         * gst/base/Makefile.am:
30833         * gst/base/gstbasesink.h:
30834         * gst/base/gstbasesrc.c: (gst_basesrc_init),
30835         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
30836         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
30837         (gst_collectpads_class_init), (gst_collectpads_init),
30838         (gst_collectpads_finalize), (gst_collectpads_new),
30839         (gst_collectpads_set_function), (gst_collectpads_add_pad),
30840         (find_pad), (gst_collectpads_remove_pad),
30841         (gst_collectpads_is_active), (gst_collectpads_collect),
30842         (gst_collectpads_collect_range), (gst_collectpads_start),
30843         (gst_collectpads_stop), (gst_collectpads_peek),
30844         (gst_collectpads_pop), (gst_collectpads_available),
30845         (gst_collectpads_read), (gst_collectpads_flush),
30846         (gst_collectpads_chain):
30847         * gst/base/gstcollectpads.h:
30848         * gst/elements/Makefile.am:
30849         * gst/elements/gstelements.c:
30850         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
30851         (gst_fakesink_get_times), (gst_fakesink_event),
30852         (gst_fakesink_preroll), (gst_fakesink_render):
30853         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
30854         (gst_filesink_init), (gst_filesink_set_location),
30855         (gst_filesink_open_file), (gst_filesink_close_file),
30856         (gst_filesink_pad_query), (gst_filesink_event),
30857         (gst_filesink_render), (gst_filesink_change_state):
30858         * gst/elements/gstfilesink.h:
30859         Added object to help in making collect pad based elements.
30860         Ported filesink.
30861         Make event function in sink baseclass return gboolean.
30862
30863 2005-05-05  Wim Taymans  <wim@fluendo.com>
30864
30865         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
30866         (gst_bin_get_by_name):
30867         * gst/gstbuffer.h:
30868         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
30869         (gst_clock_finalize):
30870         * gst/gstdata.c: (gst_data_replace):
30871         * gst/gstdata.h:
30872         * gst/gstelement.c: (gst_element_request_pad),
30873         (gst_element_pads_activate):
30874         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
30875         (gst_object_unref):
30876         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
30877         (gst_pad_set_checkgetrange_function),
30878         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
30879         (gst_pad_check_pull_range), (gst_pad_pull_range),
30880         (gst_static_pad_template_get_caps), (gst_pad_start_task),
30881         (gst_pad_pause_task), (gst_pad_stop_task):
30882         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30883         (gst_element_request_pad), (gst_pad_proxy_getcaps):
30884         Fix name lookup in GstBin.
30885         Added _data_replace() function and _buffer_replace()
30886         Use finalize method to clean up clock.
30887         Fix refcounting on request pads.
30888         Fix pad schedule mode error.
30889         Some more object refcounting debug info,
30890
30891
30892 2005-05-04  Andy Wingo <wingo@pobox.com>
30893
30894         * check/Makefile.am:
30895         * docs/gst/tmpl/gstatomic.sgml:
30896         * docs/gst/tmpl/gstplugin.sgml:
30897         * gst/base/gstbasesink.c: (gst_basesink_activate):
30898         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
30899         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
30900         (gst_basesrc_query), (gst_basesrc_set_property),
30901         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
30902         (gst_basesrc_activate):
30903         * gst/base/gstbasesrc.h:
30904         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
30905         (gst_base_transform_src_activate):
30906         * gst/elements/gstelements.c:
30907         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30908         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
30909         * gst/elements/gsttee.c: (gst_tee_sink_activate):
30910         * gst/elements/gsttypefindelement.c: (find_element_get_length),
30911         (gst_type_find_element_checkgetrange),
30912         (gst_type_find_element_activate):
30913         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
30914         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
30915         (gst_caps_load_thyself):
30916         * gst/gstelement.c: (gst_element_pads_activate),
30917         (gst_element_save_thyself), (gst_element_restore_thyself):
30918         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
30919         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
30920         * gst/gstpad.h:
30921         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
30922         (gst_xml_parse_file), (gst_xml_parse_memory),
30923         (gst_xml_get_element), (gst_xml_make_element):
30924         * gst/indexers/gstfileindex.c: (gst_file_index_load),
30925         (_file_index_id_save_xml), (gst_file_index_commit):
30926         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
30927         (read_enum), (load_pad_template), (load_feature), (load_plugin),
30928         (load_paths):
30929         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
30930         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
30931         * tools/gst-complete.c: (main):
30932         * tools/gst-compprep.c: (main):
30933         * tools/gst-inspect.c: (print_element_properties_info):
30934         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
30935         * tools/gst-xmlinspect.c: (print_element_properties):
30936         GCC 4 fixen.
30937         
30938 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
30939
30940         * gst/gstplugin.c: (gst_plugin_check_module),
30941         (gst_plugin_check_file), (gst_plugin_load_file):
30942             apply patch from #172526 to make register work on MacOSX
30943
30944 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30945
30946         * docs/gst/tmpl/gstconfig.sgml:
30947         * gst/gstconfig.h.in:
30948           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
30949         * testsuite/debug/printf_extension.c: (main):
30950           Do not use GST_PTR_FORMAT on pointers to types with
30951           sizeof < sizeof(gpointer).  Fixes test on 64-bit
30952         * testsuite/elements/property.h:
30953           use correct printf format
30954
30955 2005-05-02  Wim Taymans  <wim@fluendo.com>
30956
30957         * docs/design/draft-push-pull.txt:
30958         * docs/design/draft-query.txt:
30959         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
30960         (gst_basesrc_start):
30961         Added draft for new query API.
30962         Added draft for better selecting scheduling methods.
30963         Make basesrc ignore length if the subclass does not support
30964         it.
30965
30966 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30967
30968         * gst/Makefile.am:
30969           possible fixes for automake-1.5 - _LIBADD is reserved
30970
30971 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
30972
30973         * docs/faq/Makefile.am:
30974         * docs/manual/Makefile.am:
30975         * docs/manuals.mak:
30976         * docs/pwg/Makefile.am:
30977         * gst/Makefile.am:
30978           possible fixes for automake-1.5
30979
30980 2005-04-28  Wim Taymans  <wim@fluendo.com>
30981
30982         * gst/base/gstbasesink.c: (gst_basesink_base_init),
30983         (gst_basesink_pad_getcaps), (gst_basesink_init),
30984         (gst_basesink_do_sync):
30985         * gst/gstclock.c: (gst_clock_entry_new):
30986         * gst/gstevent.c: (gst_event_discont_get_value):
30987         * gst/gstpipeline.c: (pipeline_bus_handler),
30988         (gst_pipeline_change_state):
30989         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
30990         Better debugging of clocking info.
30991         Allow NULL values when getting discont values.
30992
30993 2005-04-27  Wim Taymans  <wim@fluendo.com>
30994
30995         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30996         * check/gst/gstpad.c: (gst_pad_suite):
30997         Increase timeout for checks.
30998
30999 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
31000
31001         * check/Makefile.am:
31002           fix the broken rule for cleanup.  Apparently this rule is
31003           only needed on FC2, so maybe this warrants further autotool
31004           inspection.
31005
31006 2005-04-26  Wim Taymans  <wim@fluendo.com>
31007
31008         * gst/gsttrashstack.h:
31009         Ooohh. a nasty one! After having a failed pop() from the stack,
31010         it's possible that the stack is empty. In that case, don't
31011         follow the NULL pointer.
31012
31013 2005-04-25  Wim Taymans  <wim@fluendo.com>
31014
31015         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31016         (gst_pad_set_checkgetrange_function),
31017         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
31018         (gst_pad_check_pull_range), (gst_pad_pull_range),
31019         (gst_static_pad_template_get_caps), (gst_pad_start_task),
31020         (gst_pad_pause_task), (gst_pad_stop_task):
31021         * gst/gstplugin.c: (gst_plugin_load):
31022         * gst/gstplugin.h:
31023         Remove gst_library_load as it does more harm than good with
31024         the new g_module flags.
31025         Revert bogus caps template check in pad linking, pad caps
31026         are important when linking not the template, which is more
31027         general than the current caps.
31028
31029 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31030
31031         * gst/autoplug/.cvsignore:
31032         * gst/autoplug/Makefile.am:
31033         * gst/autoplug/gstsearchfuncs.c:
31034         * gst/autoplug/gstsearchfuncs.h:
31035         * gst/autoplug/gstspider.c:
31036         * gst/autoplug/gstspider.h:
31037         * gst/autoplug/gstspideridentity.c:
31038         * gst/autoplug/gstspideridentity.h:
31039         * gst/autoplug/spidertest.c:
31040           Die, spider, die.
31041
31042 2005-04-25  Wim Taymans  <wim@fluendo.com>
31043
31044         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31045         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31046         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
31047         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
31048         * gst/gstpad.h:
31049         Added stubs for unimplemented functions. 
31050
31051 2005-04-24  David Schleef  <ds@schleef.org>
31052
31053         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
31054         please fix.
31055
31056 2005-04-24  David Schleef  <ds@schleef.org>
31057
31058         Convert everything from GstAtomicInt to g_atomic_int_*, and
31059         remove gstatomic.
31060         * gst/Makefile.am:
31061         * gst/gstatomic.c:
31062         * gst/gstatomic.h:
31063         * gst/gstatomic_impl.h:
31064         * gst/gstbuffer.c:
31065         * gst/gstcaps.c:
31066         * gst/gstcaps.h:
31067         * gst/gstclock.c:
31068         * gst/gstclock.h:
31069         * gst/gstdata.c:
31070         * gst/gstdata.h:
31071         * gst/gstdata_private.h:
31072         * gst/gstevent.c:
31073         * gst/gstinfo.c:
31074         * gst/gstinfo.h:
31075         * gst/gstmessage.c:
31076         * gst/gstobject.c:
31077         * gst/gstobject.h:
31078         * gst/gststructure.c:
31079         * gst/gststructure.h:
31080         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
31081         * gst/gstutils.h:
31082
31083 2005-04-24  David Schleef  <ds@schleef.org>
31084
31085         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
31086         make the regressions tests work.  Remove some code that is no
31087         longer true.
31088         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
31089         Disable warning for pads without templates.
31090
31091 2005-04-24  David Schleef  <ds@schleef.org>
31092
31093         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
31094         functions that handle filtered links.
31095         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
31096         removed functions.
31097         * gst/gstutils.c: Fix/remove utility functions that handle
31098         filtered caps.
31099         * gst/gstutils.h:
31100         * gst/gstvalue.c: Add serialization/deserialization of caps
31101         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
31102         requires fixing so that the filter caps notation creates
31103         a capsfilter element and sets the filter_caps property.  I
31104         think everyone probably wants to keep the shorthand notation.
31105         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
31106         * docs/gst/tmpl/gstpad.sgml:
31107
31108         * gst/elements/gstelements.c: Register capsfilter element.
31109         * gst/Makefile.am: fix spacing
31110         * docs/random/ds/0.9-suggested-changes: random
31111
31112 2005-04-23  David Schleef  <ds@schleef.org>
31113
31114         * gst/elements/Makefile.am:
31115         * gst/elements/gstcapsfilter.c: New element that acts like an
31116         identity, but filters caps.  Will eventually replace filtered
31117         caps in pad linking.
31118         * gst/gstutils.c: (gst_element_create_all_pads): New function
31119         to create all the ALWAYS pads that are registered with an
31120         element class.  This functionality should eventually be
31121         merged in with GstElement initialization.
31122         * gst/gstutils.h:
31123         * testsuite/trigger/README: part of trigger test code that should
31124         have been checked in a long time ago.
31125
31126 2005-04-23  David Schleef  <ds@schleef.org>
31127
31128         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
31129         needed with new versions of libtool (nobody will confirm this),
31130         and hard to carry around.
31131         * gst/autoplug/Makefile.am:
31132         * gst/base/Makefile.am:
31133         * gst/elements/Makefile.am:
31134         * gst/indexers/Makefile.am:
31135         * gst/schedulers/Makefile.am:
31136         * libs/gst/bytestream/Makefile.am:
31137         * libs/gst/control/Makefile.am:
31138         * libs/gst/dataprotocol/Makefile.am:
31139         * libs/gst/getbits/Makefile.am:
31140
31141 2005-04-21  Wim Taymans  <wim@fluendo.com>
31142
31143         * docs/design/draft-push-pull.txt:
31144         * docs/design/part-MT-refcounting.txt:
31145         * docs/design/part-TODO.txt:
31146         * docs/design/part-caps.txt:
31147         * docs/design/part-events.txt:
31148         * docs/design/part-gstbus.txt:
31149         * docs/design/part-gstpipeline.txt:
31150         * docs/design/part-messages.txt:
31151         * docs/design/part-push-pull.txt:
31152         * docs/design/part-query.txt:
31153         Some more docs.
31154
31155 2005-04-21  Wim Taymans  <wim@fluendo.com>
31156
31157         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
31158         (gst_message_new), (gst_message_new_error),
31159         (gst_message_new_warning), (gst_message_new_tag),
31160         (gst_message_new_state_changed), (gst_message_new_application),
31161         (gst_message_get_structure):
31162         * gst/gstmessage.h:
31163         * gst/gststructure.c: (gst_structure_set_parent_refcount),
31164         (gst_structure_copy_conditional):
31165         Use parent refcount in GstMessage to ensure GstStructure
31166         consistency.
31167         Cleaned up headers a bit.
31168         
31169
31170 2005-04-20  Wim Taymans  <wim@fluendo.com>
31171
31172         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31173         (gst_basesink_pad_getcaps), (gst_basesink_init),
31174         (gst_basesink_chain_unlocked):
31175         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
31176         (gst_type_find_helper):
31177         * gst/elements/gsttypefindelement.c:
31178         (gst_type_find_element_have_type), (gst_type_find_element_init),
31179         (stop_typefinding), (gst_type_find_element_handle_event),
31180         (find_suggest), (gst_type_find_element_chain),
31181         (gst_type_find_element_checkgetrange),
31182         (gst_type_find_element_getrange), (do_typefind),
31183         (gst_type_find_element_activate):
31184         * gst/gstbuffer.c: (_gst_buffer_sub_free),
31185         (gst_buffer_default_free), (gst_buffer_default_copy),
31186         (gst_buffer_set_caps):
31187         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
31188         (gst_caps_replace):
31189         * gst/gstmessage.c: (gst_message_new),
31190         (gst_message_new_state_changed):
31191         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31192         (gst_pad_set_checkgetrange_function),
31193         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
31194         (gst_pad_set_caps), (gst_pad_check_pull_range),
31195         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
31196         * gst/gstpad.h:
31197         * gst/gsttypefind.c: (gst_type_find_register):
31198         Make gst_caps_replace() work like other _replace() functions.
31199         Use _caps_replace() where possible.
31200         Make sure _message_new() initialises its field.
31201         Add gst_static_pad_template_get_caps()
31202
31203
31204 2005-04-18  Andy Wingo  <wingo@pobox.com>
31205
31206         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
31207         on the peer, not the pad. I think that was a typo. Pass an extra
31208         arg to see if random access is possible. Activate the pads as
31209         PULL_RANGE if possible.
31210
31211         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
31212
31213         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
31214         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
31215         to PROP_....
31216
31217 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31218
31219         * docs/faq/using.xml:
31220           Add note on gstreamer-properties (#154996).
31221
31222 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31223
31224         * docs/random/bbb/optional-properties:
31225           Some analysis on optional properties.
31226
31227 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31228
31229         * docs/gst/tmpl/gstelementfactory.sgml:
31230         * gst/gstelement.h:
31231         * gst/gstelementfactory.c: (gst_element_factory_init),
31232         (gst_element_factory_cleanup), (gst_element_register),
31233         (__gst_element_factory_add_static_pad_template),
31234         (gst_element_factory_get_static_pad_templates),
31235         (gst_element_factory_can_src_caps),
31236         (gst_element_factory_can_sink_caps):
31237         * gst/registries/Makefile.am:
31238         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
31239         (gst_xml_registry_class_init), (gst_xml_registry_init),
31240         (gst_xml_registry_new), (gst_xml_registry_set_property),
31241         (gst_xml_registry_get_property), (get_time), (make_dir),
31242         (gst_xml_registry_get_perms_func),
31243         (plugin_times_older_than_recurse), (plugin_times_older_than),
31244         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
31245         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
31246         (add_to_char_array), (read_string), (read_uint), (read_enum),
31247         (load_pad_template), (load_feature), (load_plugin), (load_paths),
31248         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
31249         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
31250         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
31251         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
31252         (gst_xml_registry_rebuild):
31253         * gst/registries/gstlibxmlregistry.h:
31254         * tools/gst-compprep.c: (main):
31255         * tools/gst-inspect.c: (print_pad_templates_info):
31256         * tools/gst-xmlinspect.c: (print_element_info):
31257           Use libxml2 for registry parsing, use staticpadtemplates in
31258           elementfactories. Makes gst_init() +/- 10x faster.
31259
31260 2005-04-12  Wim Taymans  <wim@fluendo.com>
31261
31262         * gst/base/Makefile.am:
31263         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31264         (gst_basesink_pad_getcaps), (gst_basesink_init),
31265         (gst_basesink_event), (gst_basesink_change_state):
31266         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31267         (gst_basesrc_init), (gst_basesrc_query),
31268         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31269         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31270         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31271         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31272         (gst_basesrc_stop), (gst_basesrc_activate),
31273         (gst_basesrc_change_state):
31274         * gst/base/gsttypefindhelper.c: (helper_find_peek),
31275         (helper_find_suggest), (gst_type_find_helper):
31276         * gst/base/gsttypefindhelper.h:
31277         * gst/elements/Makefile.am:
31278         * gst/elements/gstelements.c:
31279         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
31280         (gst_fakesink_get_times), (gst_fakesink_event),
31281         (gst_fakesink_preroll), (gst_fakesink_render):
31282         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31283         (gst_fakesrc_init), (gst_fakesrc_event_handler),
31284         (gst_fakesrc_get_property), (gst_fakesrc_create),
31285         (gst_fakesrc_start), (gst_fakesrc_stop):
31286         * gst/elements/gstfakesrc.h:
31287         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
31288         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31289         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31290         (gst_filesrc_create_read), (gst_filesrc_create),
31291         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
31292         (gst_filesrc_start):
31293         * gst/elements/gsttypefindelement.c:
31294         (gst_type_find_element_have_type), (gst_type_find_element_init),
31295         (start_typefinding), (stop_typefinding), (push_buffer_store),
31296         (gst_type_find_element_handle_event),
31297         (gst_type_find_element_chain),
31298         (gst_type_find_element_checkgetrange),
31299         (gst_type_find_element_getrange), (do_typefind),
31300         (gst_type_find_element_activate),
31301         (gst_type_find_element_change_state):
31302         * gst/elements/gsttypefindelement.h:
31303         * gst/gstpipeline.c: (pipeline_bus_handler):
31304         Added typefind helper.
31305         Small preroll fix in the base sink.
31306         Disable typefind code in basesrc.
31307         Crude port of typefindelement.
31308         Fakesrc cleanups.
31309
31310
31311 2005-04-11  Wim Taymans  <wim@fluendo.com>
31312
31313         * check/gst/gstbus.c: (gstbus_suite):
31314         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
31315         * check/gstcheck.h:
31316           Fix up the timeout so that the test does not fail.
31317
31318 2005-04-06  Wim Taymans  <wim@fluendo.com>
31319
31320         * gst/base/README:
31321         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31322         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
31323         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
31324         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
31325         (gst_basesrc_check_get_range), (gst_basesrc_loop),
31326         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
31327         (gst_basesrc_stop), (gst_basesrc_activate),
31328         (gst_basesrc_change_state), (basesrc_find_peek),
31329         (basesrc_find_suggest), (gst_basesrc_type_find):
31330         * gst/base/gstbasesrc.h:
31331         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
31332         (gst_filesrc_class_init), (gst_filesrc_init),
31333         (gst_filesrc_finalize), (gst_filesrc_set_location),
31334         (gst_filesrc_set_property), (gst_filesrc_get_property),
31335         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
31336         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
31337         (gst_filesrc_create_read), (gst_filesrc_create),
31338         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
31339         * gst/elements/gstfilesrc.h:
31340         * gst/gstelement.c: (gst_element_get_state_func),
31341         (gst_element_lost_state), (gst_element_pads_activate):
31342         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31343         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
31344         (gst_pad_pull_range):
31345         * gst/gstpad.h:
31346         More work on the generic source base class, implement seeking,
31347         query.
31348         Make filesrc extend the base source class.
31349         Added gst_pad_set_checkgetrange_function to GstPad.
31350
31351 2005-04-06  Andy Wingo  <wingo@pobox.com>
31352
31353         * pkgconfig/gstreamer-base.pc.in:
31354         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
31355
31356         * pkgconfig/Makefile.am:
31357         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
31358
31359 2005-04-04  Wim Taymans  <wim@fluendo.com>
31360
31361         * gst/base/Makefile.am:
31362         * gst/base/README:
31363         * gst/base/gstbasesink.c: (gst_basesink_base_init),
31364         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31365         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31366         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
31367         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
31368         (gst_basesrc_base_init), (gst_basesrc_class_init),
31369         (gst_basesrc_init), (gst_basesrc_get_formats),
31370         (gst_basesrc_get_query_types), (gst_basesrc_query),
31371         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
31372         (gst_basesrc_set_property), (gst_basesrc_get_property),
31373         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
31374         (gst_basesrc_loop), (gst_basesrc_activate),
31375         (gst_basesrc_change_state):
31376         * gst/base/gstbasesrc.h:
31377         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
31378         (gst_fakesrc_class_init), (gst_fakesrc_init),
31379         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
31380         (gst_fakesrc_get_property), (gst_fakesrc_create):
31381         * gst/elements/gstfakesrc.h:
31382         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
31383         (gst_filesrc_open_file), (gst_filesrc_loop),
31384         (gst_filesrc_activate), (filesrc_find_peek),
31385         (gst_filesrc_type_find):
31386         Made base source class, make fakesrc extend it.
31387         Add comments to basesink class.
31388         Some filesrc cleanup.
31389
31390 2005-03-31  David Schleef  <ds@schleef.org>
31391
31392         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
31393         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
31394         expected to link against libgstreamer.
31395         * gst/base/Makefile.am: link against libgstreamer
31396         * gst/elements/Makefile.am: same
31397
31398 2005-03-31  Andy Wingo  <wingo@pobox.com>
31399
31400         * tests/instantiate/Makefile.am:
31401         * tests/instantiate/caps.c: Add test to test speed of caps copy
31402         and free.
31403
31404         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
31405         GMemChunk to be fair.
31406
31407         * gst/gsttrashstack.h: Remove warning about using the fallback
31408         trash stack implementation, it's still faster than malloc.
31409
31410 2005-03-30  Andy Wingo  <wingo@pobox.com>
31411
31412         * tests/complexity.c: Add a copyright.
31413
31414 2005-03-31  Wim Taymans  <wim@fluendo.com>
31415
31416         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
31417         (gst_base_transform_class_init), (gst_base_transform_init),
31418         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
31419         (gst_base_transform_get_property),
31420         (gst_base_transform_sink_activate),
31421         (gst_base_transform_src_activate),
31422         (gst_base_transform_change_state):
31423         * gst/base/gstbasetransform.h:
31424         * gst/elements/gstidentity.c: (gst_identity_class_init),
31425         (gst_identity_event), (gst_identity_check_perfect),
31426         (gst_identity_transform), (gst_identity_start),
31427         (gst_identity_stop):
31428         Added start/stop methods to transform base class so subclasses 
31429         don't need to deal with state changes even.
31430
31431 2005-03-31  Wim Taymans  <wim@fluendo.com>
31432
31433         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
31434         (gst_event_new_discontinuous), (gst_event_discont_get_value):
31435         * gst/gstevent.h:
31436         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31437         (gst_pad_pull_range):
31438         Added rate to the discont event to prepare for variable speed
31439         and reverse playback.
31440
31441 2005-03-29  David Schleef  <ds@schleef.org>
31442
31443         * configure.ac:
31444         * testsuite/trigger/Makefile.am:
31445         * testsuite/trigger/trigger.c: A little example program to show
31446         how trigger-based elements can work.
31447
31448 2005-03-29  Wim Taymans  <wim@fluendo.com>
31449
31450         * gst/base/Makefile.am:
31451         * gst/base/README:
31452         * gst/base/gstbasesink.c: (gst_basesink_get_type),
31453         (gst_basesink_base_init), (gst_basesink_class_init),
31454         (gst_basesink_pad_getcaps), (gst_basesink_init),
31455         (gst_basesink_activate), (gst_basesink_change_state):
31456         * gst/base/gstbasesink.h:
31457         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
31458         (gst_base_transform_base_init), (gst_base_transform_finalize),
31459         (gst_base_transform_class_init), (gst_base_transform_init),
31460         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
31461         (gst_base_transform_event), (gst_base_transform_getrange),
31462         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
31463         (gst_base_transform_set_property),
31464         (gst_base_transform_get_property),
31465         (gst_base_transform_sink_activate),
31466         (gst_base_transform_src_activate),
31467         (gst_base_transform_change_state):
31468         * gst/base/gstbasetransform.h:
31469         * gst/elements/gstidentity.c: (gst_identity_finalize),
31470         (gst_identity_class_init), (gst_identity_init),
31471         (gst_identity_event), (gst_identity_check_perfect),
31472         (gst_identity_transform), (gst_identity_set_property),
31473         (gst_identity_get_property), (gst_identity_change_state):
31474         * gst/elements/gstidentity.h:
31475         * gst/gstelement.c: (gst_element_get_state_func),
31476         (gst_element_lost_state), (gst_element_pads_activate):
31477         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
31478         (gst_pad_check_pull_range), (gst_pad_pull_range):
31479         * gst/gstpad.h:
31480         Simplify pad activation.
31481         Added function to check if pull_range can be performed.
31482         Error out when pulling inactive or flushing pads.
31483         Removed const from refcounted types as it does not make sense.
31484         Simplify pad templates in basesink
31485         Added base class for simple 1-to-1 transforms.
31486         Make identity subclass the base transform.
31487
31488 2005-03-29  Andy Wingo  <wingo@pobox.com>
31489
31490         * docs/libs/gstreamer-libs-overrides.txt: 
31491         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
31492         really don't understand what's going on, but like whatever. I want
31493         green buildbot!
31494
31495         * docs/gst/Makefile.am:
31496         * docs/libs/Makefile.am: Dist the overrides files.
31497
31498         * check/Makefile.am (clean-local): Remove .libs directories.
31499
31500         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
31501         elements to EXTRA_DIST, so po/ files are happy.
31502
31503         * po/POTFILES.in: Er, remove it here.
31504
31505         * po/POTFILES: Remove gstspider.c.
31506
31507         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
31508
31509         * docs/libs/gstreamer-libs-docs.sgml: 
31510         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
31511         bytestream.
31512
31513         * tests/complexity.c (main): Set the length of the preroll queue
31514         on the sinks to prevent a lockup.
31515
31516         * libs/gst/dataprotocol/Makefile.am: 
31517         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
31518         the same as the one in check/gst-libs/gdp.c.
31519
31520         * po/, docs/gst/: Commit automatic changes to docs and po files.
31521
31522         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
31523         the versioned libgstbase.
31524
31525         * check/Makefile.am: Depend on an unversioned gst-register, seems
31526         to make autoconf happier.
31527
31528         * gst/base/Makefile.am: Make libgstbase a versioned lib.
31529
31530 2005-03-28  Wim Taymans  <wim@fluendo.com>
31531
31532         * configure.ac:
31533         * docs/design/part-gstelement.txt:
31534         * docs/design/part-negotiation.txt:
31535         * docs/design/part-preroll.txt:
31536         * docs/design/part-scheduling.txt:
31537         * docs/design/part-states.txt:
31538         * gst/Makefile.am:
31539         * gst/base/Makefile.am:
31540         * gst/base/README:
31541         * gst/base/gstbasesink.c: (gst_basesink_get_template),
31542         (gst_basesink_base_init), (gst_basesink_class_init),
31543         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
31544         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
31545         (gst_basesink_set_pad_functions),
31546         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
31547         (gst_basesink_set_property), (gst_basesink_get_property),
31548         (gst_base_sink_get_template), (gst_base_sink_get_caps),
31549         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
31550         (gst_basesink_preroll_queue_push),
31551         (gst_basesink_preroll_queue_empty),
31552         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
31553         (gst_basesink_event), (gst_basesink_get_times),
31554         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
31555         (gst_basesink_chain_unlocked), (gst_basesink_chain),
31556         (gst_basesink_loop), (gst_basesink_activate),
31557         (gst_basesink_change_state):
31558         * gst/base/gstbasesink.h:
31559         * gst/elements/Makefile.am:
31560         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
31561         (gst_fakesink_class_init), (gst_fakesink_init),
31562         (gst_fakesink_set_property), (gst_fakesink_get_property),
31563         (gst_fakesink_get_times), (gst_fakesink_event),
31564         (gst_fakesink_preroll), (gst_fakesink_render),
31565         (gst_fakesink_change_state):
31566         * gst/elements/gstfakesink.h:
31567         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31568         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
31569         * gst/gstelement.c: (gst_element_add_pad),
31570         (gst_element_get_state_func), (gst_element_abort_state),
31571         (gst_element_commit_state), (gst_element_lost_state),
31572         (gst_element_set_state), (gst_element_pads_activate):
31573         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
31574         * gst/gstpipeline.c: (gst_pipeline_send_event),
31575         (gst_pipeline_change_state):
31576         Added state change code.
31577         Added/updated docs.
31578         Added sink base class, make fakesink extend the base class.
31579         Small cleanups in GstPipeline.
31580
31581 2005-03-26  David Schleef  <ds@schleef.org>
31582
31583         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
31584         is broken and should be implemented in a different library.
31585         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
31586         * gst/gst.h: remove gstcpu.h
31587         * gst/gstcpu.c: remove
31588         * gst/gstcpu.h: remove
31589         * gst/Makefile.am.future: Remove this file.  It's ancient.
31590
31591 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31592
31593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
31594         (gst_bin_send_event):
31595           Add default event/set_manager handlers. The set_manager handler
31596           takes care that the manager is distributed over kids that were
31597           already in the bin before the manager was set. The event handler
31598           is a utility virtual function that sends the event over all sinks,
31599           so that gst_element_send_event (bin, event); has the expected
31600           behaviour.
31601         * gst/gstpad.c: (gst_pad_event_default):
31602           Re-install default event handling for discontinuities, so that
31603           seeking works without requiring hacks in applications or extra
31604           code in sinks.
31605         * gst/gstpipeline.c: (gst_pipeline_class_init),
31606         (gst_pipeline_send_event):
31607           Half hack, half utility: set a pipeline to PAUSED for seek events,
31608           since that is the only way we can guarantee a/v sync. Means that
31609           you can do gst_element_seek (pipeline, method, pos); on a pipeline
31610           and it "just works".
31611
31612 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
31613
31614         * gst/gstpipeline.c: (gst_pipeline_use_clock):
31615           Lock/unlock mismatch.
31616
31617 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
31618
31619         * docs/faq/gst-uninstalled:
31620           add gst-plugins-base
31621         * docs/gst/Makefile.am:
31622           don't error out until docs are fixed
31623         * docs/gst/gstreamer.types:
31624           remove thread
31625
31626 2005-03-22  Wim Taymans  <wim@fluendo.com>
31627
31628         * check/Makefile.am:
31629         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
31630         * gst/gststructure.c: (gst_structure_set_valist),
31631         (gst_structure_copy_conditional):
31632         Activated more tests.
31633         Added message test.
31634         Added G_TYPE_POINTER to GstStructure.
31635         
31636
31637 2005-03-22  Wim Taymans  <wim@fluendo.com>
31638
31639         * docs/design/part-TODO.txt:
31640         * docs/design/part-events.txt:
31641         * docs/design/part-gstbin.txt:
31642         * docs/design/part-gstbus.txt:
31643         * docs/design/part-gstpipeline.txt:
31644         * docs/design/part-messages.txt:
31645         * gst/gstbus.c:
31646         * gst/gstmessage.c:
31647         Docs updates
31648
31649 2005-03-21  Wim Taymans  <wim@fluendo.com>
31650
31651         * gst/gstbus.c: (gst_bus_post):
31652         Fix copy-and-paste error.
31653
31654 2005-03-21  Wim Taymans  <wim@fluendo.com>
31655
31656         * check/Makefile.am:
31657         * gst/Makefile.am:
31658         * gst/elements/Makefile.am:
31659         * gst/elements/gstelements.c:
31660         * gst/elements/gstfakesink.c: (gst_fakesink_init),
31661         (gst_fakesink_event), (gst_fakesink_chain):
31662         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
31663         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
31664         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
31665         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
31666         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
31667         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
31668         (gst_fakesrc_loop), (gst_fakesrc_activate),
31669         (gst_fakesrc_change_state):
31670         * gst/elements/gstfakesrc.h:
31671         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
31672         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
31673         (gst_filesrc_open_file), (gst_filesrc_loop),
31674         (gst_filesrc_activate), (gst_filesrc_change_state),
31675         (filesrc_find_peek), (filesrc_find_suggest),
31676         (gst_filesrc_type_find):
31677         * gst/elements/gstidentity.c: (gst_identity_finalize),
31678         (gst_identity_class_init), (gst_identity_init),
31679         (gst_identity_proxy_getcaps), (identity_queue_push),
31680         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
31681         (gst_identity_getrange), (gst_identity_chain),
31682         (gst_identity_sink_loop), (gst_identity_src_loop),
31683         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
31684         (gst_identity_set_property), (gst_identity_get_property),
31685         (gst_identity_change_state):
31686         * gst/elements/gstidentity.h:
31687         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
31688         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
31689         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
31690         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
31691         (gst_tee_sink_activate):
31692         * gst/elements/gsttee.h:
31693         * gst/gst.c: (gst_register_core_elements), (init_post):
31694         * gst/gst.h:
31695         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
31696         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
31697         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
31698         (gst_bin_change_state):
31699         * gst/gstbin.h:
31700         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
31701         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
31702         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
31703         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
31704         (gst_bus_set_sync_handler), (gst_bus_create_watch),
31705         (bus_watch_callback), (bus_watch_destroy),
31706         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
31707         (poll_timeout), (gst_bus_poll):
31708         * gst/gstbus.h:
31709         * gst/gstcaps.h:
31710         * gst/gstdata.h:
31711         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
31712         (gst_element_post_message), (gst_element_message_full),
31713         (gst_element_get_state_func), (gst_element_get_state),
31714         (gst_element_abort_state), (gst_element_commit_state),
31715         (gst_element_lost_state), (gst_element_set_state),
31716         (gst_element_pads_activate), (gst_element_change_state),
31717         (gst_element_dispose), (gst_element_set_manager_func),
31718         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
31719         (gst_element_set_manager), (gst_element_get_manager),
31720         (gst_element_set_bus), (gst_element_get_bus),
31721         (gst_element_set_scheduler), (gst_element_get_scheduler):
31722         * gst/gstelement.h:
31723         * gst/gstevent.c: (gst_event_new_segment_seek),
31724         (gst_event_new_flush):
31725         * gst/gstevent.h:
31726         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
31727         (_gst_message_free), (gst_message_get_type), (gst_message_new),
31728         (gst_message_new_eos), (gst_message_new_error),
31729         (gst_message_new_warning), (gst_message_new_tag),
31730         (gst_message_new_state_changed), (gst_message_new_application),
31731         (gst_message_get_structure), (gst_message_parse_tag),
31732         (gst_message_parse_state_changed), (gst_message_parse_error),
31733         (gst_message_parse_warning):
31734         * gst/gstmessage.h:
31735         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
31736         (gst_real_pad_set_property), (gst_pad_set_active),
31737         (gst_pad_is_active), (gst_pad_set_blocked_async),
31738         (gst_pad_set_blocked), (gst_pad_is_blocked),
31739         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
31740         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
31741         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
31742         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
31743         (gst_pad_link_filtered), (gst_pad_relink_filtered),
31744         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
31745         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
31746         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
31747         (gst_pad_set_caps), (gst_pad_configure_sink),
31748         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
31749         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
31750         (gst_real_pad_dispose), (gst_real_pad_finalize),
31751         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
31752         (gst_pad_event_default_dispatch), (gst_pad_event_default),
31753         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
31754         * gst/gstpad.h:
31755         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
31756         (pipeline_bus_handler), (gst_pipeline_change_state),
31757         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
31758         * gst/gstpipeline.h:
31759         * gst/gstprobe.h:
31760         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
31761         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
31762         (gst_queue_link_src), (gst_queue_bufferalloc),
31763         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
31764         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
31765         (gst_queue_loop), (gst_queue_handle_src_event),
31766         (gst_queue_handle_src_query), (gst_queue_src_activate),
31767         (gst_queue_change_state):
31768         * gst/gstqueue.h:
31769         * gst/gstscheduler.c: (gst_scheduler_init),
31770         (gst_scheduler_dispose), (gst_scheduler_create_task),
31771         (gst_scheduler_factory_create):
31772         * gst/gstscheduler.h:
31773         * gst/gststructure.c: (gst_structure_get_type),
31774         (gst_structure_copy_conditional):
31775         * gst/gststructure.h:
31776         * gst/gsttaginterface.h:
31777         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
31778         (gst_task_init), (gst_task_dispose), (gst_task_create),
31779         (gst_task_get_state), (gst_task_start), (gst_task_stop),
31780         (gst_task_pause):
31781         * gst/gsttask.h:
31782         * gst/gstthread.c:
31783         * gst/gstthread.h:
31784         * gst/gsttypes.h:
31785         * gst/schedulers/Makefile.am:
31786         * gst/schedulers/cothreads_compat.h:
31787         * gst/schedulers/entryscheduler.c:
31788         * gst/schedulers/faircothreads.c:
31789         * gst/schedulers/faircothreads.h:
31790         * gst/schedulers/fairscheduler.c:
31791         * gst/schedulers/gstbasicscheduler.c:
31792         * gst/schedulers/gstoptimalscheduler.c:
31793         * gst/schedulers/gthread-cothreads.h:
31794         * gst/schedulers/threadscheduler.c:
31795         (gst_thread_scheduler_task_get_type),
31796         (gst_thread_scheduler_task_class_init),
31797         (gst_thread_scheduler_task_init),
31798         (gst_thread_scheduler_task_start),
31799         (gst_thread_scheduler_task_stop),
31800         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
31801         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
31802         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
31803         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
31804         (plugin_init):
31805         * libs/gst/Makefile.am:
31806         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
31807         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
31808         (gst_file_pad_parent_set):
31809         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
31810         (gst_dp_event_from_packet):
31811         * tests/complexity.c: (main):
31812         * tests/mass_elements.c: (main):
31813         * testsuite/states/locked.c: (message_received), (main):
31814         * testsuite/states/parent.c: (main):
31815         * tools/gst-inspect.c: (print_element_flag_info),
31816         (print_implementation_info), (print_pad_info):
31817         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
31818         (main):
31819         * tools/gst-md5sum.c: (event_loop), (main):
31820         * tools/gst-typefind.c: (main):
31821         * tools/gst-xmlinspect.c: (print_element_info):
31822         Next big merge.
31823         Added GstBus for mainloop integration.
31824         Added GstMessage for sending notifications on the bus.
31825         Added GstTask as an abstraction for pipeline entry points.
31826         Removed GstThread.
31827         Removed Schedulers.
31828         Simplified GstQueue for multithreaded core.
31829         Made _link threadsafe, removed old capsnego.
31830         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
31831         Added pad blocking functions.
31832         Reworked scheduling functions in GstPad to prepare for
31833         scheduling updates soon.
31834         Moved events out of data stream.
31835         Simplified GstEvent types.
31836         Added return values to push/pull.
31837         Removed clocking from GstElement.
31838         Added prototypes for state change function for next merge.
31839         Removed iterate from bins and state change management.
31840         Fixed some elements, disabled others for now.
31841         Fixed -inspect and -launch.
31842         Added check for GstBus.
31843
31844 2005-03-10  Wim Taymans  <wim@fluendo.com>
31845
31846         * docs/design/part-MT-refcounting.txt:
31847         * docs/design/part-clocks.txt:
31848         * docs/design/part-gstelement.txt:
31849         * docs/design/part-gstobject.txt:
31850         * docs/design/part-standards.txt:
31851         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31852         (gst_bin_remove_func), (gst_bin_remove):
31853         * gst/gstbin.h:
31854         * gst/gstbuffer.c:
31855         * gst/gstcaps.h:
31856         * testsuite/clock/clock1.c: (main):
31857         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
31858         (main):
31859         * testsuite/dlopen/loadgst.c: (do_test):
31860         * testsuite/refcounting/bin.c: (add_remove_test1),
31861         (add_remove_test2), (main):
31862         * testsuite/refcounting/element.c: (main):
31863         * testsuite/refcounting/element_pad.c: (main):
31864         * testsuite/refcounting/pad.c: (main):
31865         * tools/gst-launch.c: (sigint_handler_sighandler):
31866         * tools/gst-typefind.c: (main):
31867         Doc updates.
31868         Added doc about clock.
31869         removed gst_bin_iterate_recurse_up(), marked methods
31870         for removal.
31871         Fix more testsuites.
31872
31873 2005-03-09  Wim Taymans  <wim@fluendo.com>
31874
31875         * gst/gstpad.c: (gst_pad_get_direction),
31876         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
31877         (gst_pad_collect_valist):
31878         * testsuite/bins/interface.c: (main):
31879         * testsuite/caps/audioscale.c: (test_caps):
31880         * testsuite/caps/caps.c: (test1), (test2), (test3):
31881         * testsuite/caps/deserialize.c: (main):
31882         * testsuite/caps/enumcaps.c: (main):
31883         * testsuite/caps/filtercaps.c: (main):
31884         * testsuite/caps/intersect2.c: (main):
31885         * testsuite/caps/random.c: (main):
31886         * testsuite/caps/renegotiate.c: (my_fixate), (main):
31887         * testsuite/caps/sets.c: (check_caps):
31888         * testsuite/caps/simplify.c: (check_caps), (main):
31889         * testsuite/caps/subtract.c: (check_caps):
31890         Fix _pad_get_direction wrt ghostpads.
31891         Fix caps testsuite.
31892
31893 2005-03-09  Wim Taymans  <wim@fluendo.com>
31894
31895         * check/Makefile.am:
31896         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
31897         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
31898         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
31899         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
31900         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
31901         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
31902         (gst_bin_remove), (gst_bin_iterate_recurse_up),
31903         (bin_element_is_sink), (gst_bin_iterate_sinks),
31904         (gst_bin_iterate_all_by_interface):
31905         * gst/gstbin.h:
31906         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
31907         (gst_element_change_state), (gst_element_dispose),
31908         (gst_element_finalize), (gst_element_set_loop_function):
31909         * gst/gstelement.h:
31910         * gst/gstiterator.c: (find_custom_fold_func):
31911         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31912         (gst_pad_collectv), (gst_pad_collect_valist),
31913         (gst_pad_template_new):
31914         * gst/gstpipeline.c: (gst_pipeline_class_init),
31915         (gst_pipeline_dispose), (gst_pipeline_set_property),
31916         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
31917         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
31918         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
31919         * gst/gstutils.h:
31920         * gst/schedulers/entryscheduler.c:
31921         * gst/schedulers/gstbasicscheduler.c:
31922         (gst_basic_scheduler_cothreaded_chain),
31923         (gst_basic_scheduler_chain_add_element):
31924         * testsuite/bins/interface.c: (main):
31925         Added GstBin test.
31926         Added GstSystemClock test.
31927         Implemented clock distribution code in GstBin.
31928         Implemented iterate sinks method for future use.
31929         Rearranged gstelement.h
31930         Fix GstIterator comparison bug.
31931         Moved some code to GstPipeline, mostly clocking related.
31932
31933 2005-03-09  Wim Taymans  <wim@fluendo.com>
31934
31935         * configure.ac:
31936         * gst/gst_private.h:
31937         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
31938         (gst_bin_remove_func), (gst_bin_remove),
31939         (gst_bin_get_by_name_recurse_up):
31940         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
31941         (gst_clock_id_compare_func), (gst_clock_id_wait),
31942         (gst_clock_id_wait_async), (gst_clock_init),
31943         (gst_clock_adjust_unlocked), (gst_clock_get_time):
31944         * gst/gstelement.h:
31945         * gst/gstinfo.c: (_gst_debug_init):
31946         * gst/gstobject.h:
31947         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
31948         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
31949         * gst/gstpad.h:
31950         Bump version number, we're now 0.9.0
31951         Add future debugging category.
31952         Fix NULL _unref() in _get_by_name_recurse_up
31953         Rearrange gstpad.h.
31954         Update some docs.
31955
31956 2005-03-08  Wim Taymans  <wim@fluendo.com>
31957
31958         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
31959         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
31960         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
31961         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
31962         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
31963         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
31964         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
31965         * gst/elements/gstidentity.c: (gst_identity_class_init):
31966         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
31967         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
31968         * gst/elements/gstshaper.c: (gst_shaper_class_init):
31969         * gst/elements/gststatistics.c: (gst_statistics_class_init):
31970         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
31971         (gst_tee_link):
31972         * gst/gstelement.c: (gst_element_class_init),
31973         (gst_element_base_class_init), (gst_element_init),
31974         (gst_element_get_random_pad), (gst_element_wait_state_change),
31975         (gst_element_change_state), (gst_element_dispose),
31976         (gst_element_finalize), (gst_element_set_loop_function):
31977         * gst/gstelement.h:
31978         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
31979         * gst/gstthread.c: (gst_thread_class_init),
31980         (gst_thread_release_children_locks), (gst_thread_change_state):
31981         * gst/schedulers/gstbasicscheduler.c:
31982         (gst_basic_scheduler_loopfunc_wrapper),
31983         (gst_basic_scheduler_chain_wrapper),
31984         (gst_basic_scheduler_src_wrapper),
31985         (gst_basic_scheduler_remove_element):
31986         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
31987         Remove threadsafe properties. Fix elements because GObject
31988         complains when installing a property before declaring a
31989         set/get_property handler.
31990         Rearrange gstelement.h file, use STATE macros for state locks.
31991         Free mutexes in the finalize method instead of dispose.
31992
31993 2005-03-08  Wim Taymans  <wim@fluendo.com>
31994
31995         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
31996         * gst/gstthread.c: (gst_thread_release_children_locks):
31997         Added parentage check.
31998         Fix build og GstThread again.
31999
32000 2005-03-08  Wim Taymans  <wim@fluendo.com>
32001
32002         * docs/design/part-MT-refcounting.txt:
32003         * docs/design/part-conventions.txt:
32004         * docs/design/part-gstobject.txt:
32005         * docs/design/part-relations.txt:
32006         * docs/design/part-standards.txt:
32007         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
32008         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
32009         (gst_bin_get_by_name), (gst_bin_get_by_interface),
32010         (gst_bin_iterate_all_by_interface):
32011         * gst/gstbuffer.h:
32012         * gst/gstclock.h:
32013         * gst/gstelement.c: (gst_element_class_init),
32014         (gst_element_change_state), (gst_element_set_loop_function):
32015         * gst/gstelement.h:
32016         * gst/gstiterator.c:
32017         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
32018         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
32019         (gst_object_dispatch_properties_changed), (gst_object_set_name),
32020         (gst_object_set_parent), (gst_object_unparent),
32021         (gst_object_check_uniqueness):
32022         * gst/gstobject.h:
32023         Docs updates, clean up some headers.
32024
32025 2005-03-07  Wim Taymans  <wim@fluendo.com>
32026
32027         * check/.cvsignore:
32028         * check/Makefile.am:
32029         * check/gst-libs/.cvsignore:
32030         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
32031         * check/gst/.cvsignore:
32032         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
32033         (START_TEST), (gstbus_suite), (main):
32034         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
32035         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
32036         (gst_data_suite), (main):
32037         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
32038         (add_fold_func), (gstiterator_suite), (main):
32039         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
32040         (thread_name_object), (thread_name_object_default),
32041         (gst_object_name_compare), (gst_object_suite), (main):
32042         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
32043         (gst_pad_suite), (main):
32044         * check/gstcheck.c: (gst_check_log_message_func),
32045         (gst_check_log_critical_func), (gst_check_init):
32046         * check/gstcheck.h:
32047         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
32048         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
32049         Added checks.
32050
32051 2005-03-07  Wim Taymans  <wim@fluendo.com>
32052
32053         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
32054         (gst_list_iterator_next), (gst_list_iterator_resync),
32055         (gst_list_iterator_free), (gst_iterator_new_list),
32056         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
32057         (gst_iterator_free), (gst_iterator_push), (filter_next),
32058         (filter_resync), (filter_uninit), (filter_free),
32059         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
32060         (gst_iterator_foreach), (find_custom_fold_func),
32061         (gst_iterator_find_custom):
32062         * gst/gstiterator.h:
32063         Added missing files.
32064
32065 2005-03-07  Wim Taymans  <wim@fluendo.com>
32066
32067         * Makefile.am:
32068         * configure.ac:
32069         * docs/design/part-MT-refcounting.txt:
32070         * docs/design/part-conventions.txt:
32071         * docs/design/part-gstobject.txt:
32072         * docs/design/part-relations.txt:
32073         * examples/mixer/mixer.c: (main):
32074         * examples/thread/thread.c: (eos), (main):
32075         * gst/Makefile.am:
32076         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
32077         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
32078         (gst_spider_plug_from_srcpad):
32079         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
32080         (gst_spider_identity_change_state),
32081         (gst_spider_identity_sink_loop_type_finding):
32082         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
32083         * gst/elements/gstidentity.c: (gst_identity_init):
32084         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
32085         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
32086         * gst/elements/gsttypefindelement.c: (free_entry):
32087         * gst/gst.c:
32088         * gst/gst.h:
32089         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
32090         (gst_bin_set_clock_func), (gst_bin_auto_clock),
32091         (gst_bin_set_index), (gst_bin_set_element_sched),
32092         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
32093         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
32094         (gst_bin_iterate_elements), (iterate_child_recurse),
32095         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
32096         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
32097         (compare_interface), (gst_bin_get_by_interface),
32098         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
32099         * gst/gstbin.h:
32100         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
32101         (gst_buffer_default_free), (gst_buffer_default_copy),
32102         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
32103         (gst_buffer_create_sub):
32104         * gst/gstbuffer.h:
32105         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
32106         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
32107         (gst_caps_unref), (gst_static_caps_get),
32108         (gst_caps_remove_and_get_structure), (gst_caps_append),
32109         (gst_caps_append_structure), (gst_caps_remove_structure),
32110         (gst_caps_copy_nth), (gst_caps_set_simple),
32111         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
32112         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
32113         (gst_caps_structure_intersect_field), (gst_caps_intersect),
32114         (gst_caps_structure_subtract_field), (gst_caps_subtract),
32115         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
32116         (gst_caps_structure_figure_out_union),
32117         (gst_caps_switch_structures), (gst_caps_do_simplify),
32118         (gst_caps_replace), (gst_caps_from_string),
32119         (gst_caps_copy_conditional):
32120         * gst/gstcaps.h:
32121         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
32122         (_gst_clock_id_free), (gst_clock_id_unref),
32123         (gst_clock_id_compare_func), (gst_clock_id_wait),
32124         (gst_clock_id_wait_async), (gst_clock_class_init),
32125         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
32126         (gst_clock_get_time), (gst_clock_set_time_adjust),
32127         (gst_clock_set_property), (gst_clock_get_property):
32128         * gst/gstclock.h:
32129         * gst/gstcompat.h:
32130         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
32131         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
32132         * gst/gstdata.h:
32133         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
32134         (gst_element_requires_clock), (gst_element_provides_clock),
32135         (gst_element_set_clock), (gst_element_clock_wait),
32136         (gst_element_wait), (gst_element_set_time_delay),
32137         (gst_element_is_indexable), (gst_element_add_pad),
32138         (gst_element_add_ghost_pad), (gst_element_remove_pad),
32139         (pad_compare_name), (gst_element_get_static_pad),
32140         (gst_element_request_pad), (gst_element_get_request_pad),
32141         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
32142         (gst_element_class_get_pad_template_list),
32143         (gst_element_class_get_pad_template), (gst_element_error_func),
32144         (gst_element_get_random_pad), (gst_element_get_event_masks),
32145         (gst_element_send_event), (gst_element_seek),
32146         (gst_element_get_query_types), (gst_element_query),
32147         (gst_element_get_formats), (gst_element_convert),
32148         (gst_element_is_locked_state), (gst_element_set_locked_state),
32149         (gst_element_sync_state_with_parent), (gst_element_change_state),
32150         (gst_element_finalize), (gst_element_yield),
32151         (gst_element_interrupt), (gst_element_set_scheduler),
32152         (gst_element_get_scheduler), (gst_element_set_loop_function):
32153         * gst/gstelement.h:
32154         * gst/gstevent.h:
32155         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
32156         (gst_format_get_by_nick), (gst_format_get_details),
32157         (gst_format_iterate_definitions):
32158         * gst/gstformat.h:
32159         * gst/gstindex.c: (gst_index_gtype_resolver):
32160         * gst/gstinfo.c:
32161         * gst/gstinfo.h:
32162         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
32163         (gst_mem_chunk_free):
32164         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
32165         (gst_object_ref), (gst_object_unref), (gst_object_sink),
32166         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
32167         (gst_object_dispatch_properties_changed),
32168         (gst_object_set_name_default), (gst_object_set_name),
32169         (gst_object_get_name), (gst_object_set_name_prefix),
32170         (gst_object_get_name_prefix), (gst_object_set_parent),
32171         (gst_object_get_parent), (gst_object_unparent),
32172         (gst_object_check_uniqueness), (gst_object_save_thyself),
32173         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
32174         (gst_object_set_property), (gst_object_get_property),
32175         (gst_object_get_path_string):
32176         * gst/gstobject.h:
32177         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
32178         (gst_real_pad_init), (gst_real_pad_get_property),
32179         (gst_pad_custom_new), (gst_pad_get_direction),
32180         (gst_pad_set_active), (gst_pad_is_active),
32181         (gst_pad_set_event_function), (gst_pad_is_linked),
32182         (gst_pad_link_free), (gst_pad_link_intersect),
32183         (gst_pad_link_fixate), (gst_pad_set_caps),
32184         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
32185         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
32186         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
32187         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
32188         (gst_pad_get_caps), (gst_pad_peer_get_caps),
32189         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
32190         (gst_pad_realize), (gst_pad_get_allowed_caps),
32191         (gst_real_pad_dispose), (gst_real_pad_finalize),
32192         (gst_pad_collectv), (gst_pad_collect_valist),
32193         (gst_pad_template_dispose), (gst_pad_template_new),
32194         (gst_pad_get_internal_links):
32195         * gst/gstpad.h:
32196         * gst/gstpipeline.c: (gst_pipeline_dispose),
32197         (gst_pipeline_change_state):
32198         * gst/gstpipeline.h:
32199         * gst/gstplugin.c:
32200         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
32201         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
32202         * gst/gstpluginfeature.h:
32203         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
32204         * gst/gstquery.c: (_gst_query_type_initialize),
32205         (gst_query_type_register), (gst_query_type_get_by_nick),
32206         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
32207         * gst/gstquery.h:
32208         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
32209         * gst/gstscheduler.c: (gst_scheduler_add_element),
32210         (gst_scheduler_factory_create):
32211         * gst/gststructure.c: (gst_structure_set_parent_refcount),
32212         (gst_structure_free), (gst_structure_set_name),
32213         (gst_structure_id_set_value), (gst_structure_set_value),
32214         (gst_structure_set_valist), (gst_structure_remove_field),
32215         (gst_structure_remove_fields),
32216         (gst_structure_remove_fields_valist),
32217         (gst_structure_remove_all_fields), (gst_structure_foreach),
32218         (gst_structure_map_in_place),
32219         (gst_caps_structure_fixate_field_nearest_int),
32220         (gst_caps_structure_fixate_field_nearest_double):
32221         * gst/gststructure.h:
32222         * gst/gstsystemclock.c: (gst_system_clock_class_init),
32223         (gst_system_clock_init), (gst_system_clock_dispose),
32224         (gst_system_clock_async_thread),
32225         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
32226         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
32227         * gst/gstsystemclock.h:
32228         * gst/gsttag.c: (gst_tag_list_add_value_internal),
32229         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
32230         * gst/gsttaginterface.c:
32231         * gst/gstthread.c: (gst_thread_dispose),
32232         (gst_thread_release_children_locks), (gst_thread_change_state),
32233         (gst_thread_main_loop):
32234         * gst/gsttrashstack.h:
32235         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
32236         * gst/gsttypes.h:
32237         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
32238         (gst_element_request_pad), (gst_element_get_pad_from_template),
32239         (gst_element_request_compatible_pad),
32240         (gst_element_get_compatible_pad_filtered),
32241         (gst_element_get_compatible_pad), (gst_element_state_get_name),
32242         (gst_element_link_pads_filtered), (gst_element_link_filtered),
32243         (gst_element_link_many), (gst_element_link),
32244         (gst_element_link_pads), (gst_element_unlink_pads),
32245         (gst_element_unlink_many), (gst_element_unlink),
32246         (gst_pad_can_link_filtered), (gst_pad_can_link),
32247         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
32248         (gst_object_default_error), (gst_bin_add_many),
32249         (gst_bin_remove_many), (gst_element_populate_std_props),
32250         (gst_element_class_install_std_props), (gst_buffer_merge),
32251         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
32252         (link_fold_func), (gst_pad_proxy_setcaps):
32253         * gst/gstutils.h:
32254         * gst/gstvalue.c: (gst_value_deserialize_string):
32255         * gst/parse/grammar.y:
32256         * gst/schedulers/gstbasicscheduler.c:
32257         (gst_basic_scheduler_cothreaded_chain),
32258         (gst_basic_scheduler_chain_recursive_add),
32259         (gst_basic_scheduler_pad_link):
32260         * gst/schedulers/gstoptimalscheduler.c:
32261         (get_group_schedule_function),
32262         (gst_opt_scheduler_state_transition),
32263         (gst_opt_scheduler_add_element), (element_get_reachables_func):
32264         * libs/gst/bytestream/bytestream.c:
32265         * libs/gst/dataprotocol/dataprotocol.c:
32266         (gst_dp_header_from_buffer):
32267         * po/nb.po:
32268         * po/ru.po:
32269         * tests/threadstate/threadstate2.c: (eos):
32270         * tools/gst-compprep.c: (main):
32271         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
32272         (print_pad_info), (print_children_info):
32273         * tools/gst-launch.c: (idle_func), (main):
32274         * tools/gst-md5sum.c: (idle_func), (main):
32275         * tools/gst-xmlinspect.c: (print_element_info):
32276         First THREADED backport attempt, focusing on adding locks and
32277         making sure the API is threadsafe. Needs more work. More docs
32278         follow this week.
32279
32280 2005-02-24  Andy Wingo  <wingo@pobox.com>
32281
32282         * tests/bench-complexity.scm:
32283         * tests/complexity.gnuplot: New files, good for running complexity
32284         benchmarks.
32285
32286         * tests/Makefile.am:
32287         * tests/complexity.c: New test, sets up N elements, at each level
32288         teeing into M streams per element. Eeeenteresting.
32289
32290         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
32291         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
32292         running bench-mass_elements.scm.
32293
32294         * tests/bench-mass_elements.scm: New script, runs mass_elements
32295         for various numbers of identities, outputting the results to a
32296         file. Requires guile 1.6. Just for testing.
32297
32298 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
32299
32300         * gst/schedulers/fairscheduler.c:
32301           compile with debug disabled
32302
32303 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
32304
32305         * configure.ac:
32306           hunting season on 0.9 is now OPEN