libs/gst/base/gstbasesink.c: Improve position reporting in the flushing state.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
4         (gst_base_sink_event), (gst_base_sink_chain_unlocked),
5         (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
6         (gst_base_sink_get_position), (gst_base_sink_change_state):
7         Improve position reporting in the flushing state.
8         Also report the position when we are not yet prerolled but we
9         have a newsegment event. Fixes #543444.
10         Improve the pull-based negotiation code.
11
12         * tests/check/elements/fakesink.c: (GST_START_TEST),
13         (fakesink_suite):
14         Add testcase for position reporting while flushing in PAUSED and
15         PLAYING.
16
17         * tests/check/generic/sinks.c: (GST_START_TEST):
18         Update unit-test, we can now query the position as soon as we receive a
19         NEWSEGMENT event.
20
21 2008-08-19  Wim Taymans  <wim.taymans@collabora.co.uk>
22
23         Based on patch by: Jason Zhao <e3423c at motorola dot com>
24
25         * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object):
26         When the subclass event handler releases the PREROLL_LOCK, we could be
27         in the flushing state and we have to ignore the event. Fixes #548394.
28
29 2008-08-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
30
31         * tools/gst-launch.1.in:
32           Document GST_REGISTRY_UPDATE environment variable.
33
34 2008-08-18  Wim Taymans  <wim.taymans@collabora.co.uk>
35
36         * libs/gst/base/gstbasetransform.c:
37         (gst_base_transform_prepare_output_buffer):
38         If the element is configured in passthrough mode but the
39         prepare_output_buffer gave us a new output buffer, discard that buffer
40         and reuse the input buffer.
41
42 2008-08-15  Wim Taymans  <wim.taymans@collabora.co.uk>
43
44         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
45
46         * plugins/elements/gsttee.c: (gst_tee_finalize), (gst_tee_init),
47         (gst_tee_request_new_pad), (gst_tee_release_pad),
48         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc):
49         * plugins/elements/gsttee.h:
50         Protect pad_alloc with a new lock so that we can be sure that nothing is
51         performing a pad_alloc when removing the pad. Fixes #547835.
52
53         * tests/check/elements/tee.c: (buffer_alloc_harness_setup),
54         (buffer_alloc_harness_teardown), (app_thread_func),
55         (final_sinkpad_bufferalloc), (GST_START_TEST), (tee_suite):
56         Added testcase for shutdown race.
57
58 2008-08-14  Thijs Vermeir  <thijsvermeir@gmail.com>
59
60         * gst/gstpad.h:
61         Add doc
62
63 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
64
65         * libs/gst/base/gstbasetransform.c:
66         (gst_base_transform_prepare_output_buffer),
67         (gst_base_transform_buffer_alloc):
68         Go over the buffer_alloc function again and make sure we always end up
69         allocating a buffer.
70         Add some more docs.
71         Avoid doing pad alloc when we have a pending suggestion because we
72         cannot yet deal with changing caps in that case. Fixes #547728
73
74 2008-08-14  Stefan Kost  <ensonic@users.sf.net>
75
76         patch by: Luc Pionchon <luc.pionchon@nokia.com>
77
78         * docs/manual/advanced-clocks.xml:
79         * docs/manual/clocks.png:
80         * docs/manual/diagrams-clocks.svg:
81           Add one more image showing different times together with a describing
82           paragraph. Fixes #547729.
83
84 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
85
86         * win32/common/libgstbase.def:
87         Add new method.
88
89 2008-08-14  Wim Taymans  <wim.taymans@collabora.co.uk>
90
91         * libs/gst/base/gstbasetransform.c:
92         (gst_base_transform_transform_caps),
93         (gst_base_transform_prepare_output_buffer),
94         (gst_base_transform_buffer_alloc), (gst_base_transform_suggest):
95         Don't overwrite the outsize when calculating the expected size of a new
96         buffer because we still need it in case we cannot process the new
97         buffer.
98         When converting the size of the new buffer to an upstream size, actually
99         use the expected size of the buffer, not some other random value.
100         Use an atomic int to signal that a new upstream caps suggestion is
101         available.
102         When we can convert the current buffer to a new format, check if the
103         buffer size is of the expected size and allocate a new buffer of the
104         expected size when this is not the case. Fixes #546883.
105
106         * tests/check/libs/transform1.c: (GST_START_TEST):
107         remove ifdeffed code from the unit test.
108
109 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
110
111         * pkgconfig/gstreamer-uninstalled.pc.in:
112         * pkgconfig/gstreamer.pc.in:
113           Remove -lgstcontrol-0.10 which never worked anyway as the lib is
114           called gstcontroller-0.10.
115
116 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
117
118         * gst/gstchildproxy.h:
119         * gst/gstpreset.h:
120           Remove double interface from doc-string.        
121
122 2008-08-12  Stefan Kost  <ensonic@users.sf.net>
123
124         * libs/gst/base/gstbasesrc.c:
125         * libs/gst/base/gstbasetransform.c:
126           Fix headings in docs and gtk-doc warnings.
127
128 2008-08-11  Michael Smith <msmith@songbirdnest.com>
129
130         * gst/gstregistrybinary.c:
131           Don't use g_mkstmp() on win32, it's unsafe if glib is using a different
132           libc.
133           Fixes #544776.
134
135 2008-08-11  Edward Hervey  <edward.hervey@collabora.co.uk>
136
137         * libs/gst/base/gstbasetransform.c:
138         (gst_base_transform_buffer_alloc):
139         Fix a "may be used unitialized" warning.
140
141 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
142
143         * docs/gst/gstreamer-sections.txt:
144         * gst/gstpreset.h:
145           Document preset-iface vmethods.
146
147 2008-08-11  Stefan Kost  <ensonic@users.sf.net>
148
149         * docs/manual/advanced-interfaces.xml:
150           Turn thoughts about HAL into a note-tag. Remove mentioning that is
151           only used to discover devices.
152
153 2008-08-07  Tim-Philipp Müller  <tim.muller at collabora co uk>
154
155         Patch by: Frederic Crozat <fcrozat@mandriva.org>
156
157         * gst/gst.c: (init_pre):
158         Make sure gettext returns translations in UTF-8 encoding rather
159         than in the current locale encoding (#546822).
160
161 2008-08-07  Wim Taymans  <wim.taymans@collabora.co.uk>
162
163         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
164         Fix subset test.
165
166         * tests/check/gst/gstcaps.c: (GST_START_TEST):
167         Improve unit test subset tests and add a testcase for the subset failure
168         cases.
169
170         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
171         Improve subtraction unit test.
172
173 2008-08-07  Stefan Kost  <ensonic@users.sf.net>
174
175         * plugins/elements/gsttee.c:
176           Unlock, instead of locking again.
177
178 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
179
180         * gst/gstpad.h:
181         Clarify the docs a bit more.
182
183 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
184
185         * tests/examples/metadata/read-metadata.c:
186           Don't leak old taglist.
187
188 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
189
190         Patch by: Olivier Crete <tester at tester dot ca>
191
192         * gst/gststructure.c:
193         (gst_structure_fixate_field_nearest_fraction):
194         Avoid overflows in fixation code when dealing with MAXINT values, which
195         v4l2src seems to do.
196         Fixes #546328.
197
198         * tests/check/gst/gststructure.c: (GST_START_TEST):
199         Make a unit test to check the fix. 
200
201 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
202
203         * plugins/elements/gstcapsfilter.c: (copy_func),
204         (gst_capsfilter_set_property):
205         Use new caps suggestion feature of basetransform to request a caps
206         negotiation upstream.
207
208 2008-08-05  Wim Taymans  <wim.taymans@collabora.co.uk>
209
210         * docs/libs/gstreamer-libs-sections.txt:
211         Add new function:
212         API: GstBaseTransform::gst_base_transform_suggest()
213
214         * libs/gst/base/gstbasetransform.c: (gst_base_transform_finalize),
215         (gst_base_transform_init), (gst_base_transform_transform_caps),
216         (gst_base_transform_transform_size),
217         (gst_base_transform_configure_caps),
218         (gst_base_transform_can_transform),
219         (gst_base_transform_find_transform), (gst_base_transform_setcaps),
220         (gst_base_transform_prepare_output_buffer),
221         (gst_base_transform_buffer_alloc),
222         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
223         (gst_base_transform_chain), (gst_base_transform_activate),
224         (gst_base_transform_set_passthrough),
225         (gst_base_transform_is_passthrough),
226         (gst_base_transform_set_in_place),
227         (gst_base_transform_is_in_place), (gst_base_transform_update_qos),
228         (gst_base_transform_set_qos_enabled),
229         (gst_base_transform_is_qos_enabled),
230         (gst_base_transform_set_gap_aware), (gst_base_transform_suggest),
231         (gst_base_transform_reconfigure):
232         * libs/gst/base/gstbasetransform.h:
233         Rewrite of basetransform to perform negotiation outside of the
234         buffer_alloc functions.  Fixes #545853.
235
236         * tests/check/libs/transform1.c: (GST_START_TEST),
237         (buffer_alloc_ct2):
238         Update unit test.
239
240 2008-08-05  Stefan Kost  <ensonic@users.sf.net>
241
242         * tests/check/gst/gstpreset.c:
243           Only run preset tests when $HOME is writable. Preliminary fix for
244           #545433.
245
246 2008-08-04  Wim Taymans  <wim.taymans@collabora.co.uk>
247
248         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
249         (gst_bin_change_state_func), (bin_handle_async_done),
250         (gst_bin_handle_message_func):
251         Fix race for bins that simulate ASYNC state changes by inserting
252         ASYNC_START and ASYNC_DONE messages in their bus. We need to check for
253         pending ASYNC messages even when the bin does not have ASYNC children.
254         We note detect this behaviour because we will receive an ASYNC message
255         that is originating from the bin itself. 
256         Fixes races with decodebin2 state changes.
257
258         * tests/check/gst/gstbin.c: (GST_START_TEST):
259         Add some more debug.
260
261 2008-08-04  Tim-Philipp Müller  <tim.muller at collabora co uk>
262
263         * gst/gsttaglist.c: (_gst_tag_initialize):
264           Fix typo.
265
266 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
267
268         * gst/gsttaglist.c:
269           Argh. actually save the text before committing. Now adds
270           gst_tag_merge_strings_with_comma() to gst_tag_register().
271
272 2008-08-04  Stefan Kost  <ensonic@users.sf.net>
273
274         * gst/gsttaglist.c:
275         * gst/gsttaglist.h:
276           Do as tim pointed out and actually register the new tag. Also improve
277           te docs and use gst_tag_merge_strings_with_comma() method to allow
278           retriving all keywords merged in one list.
279
280 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
281
282         * configure.ac:
283         * docs/gst/gstreamer.types:
284           Revert 'accidential' change of the configure option removal. We still
285           need to generate the types file in configure --disable-load-save.
286
287 2008-08-01  Stefan Kost  <ensonic@users.sf.net>
288
289         * docs/gst/gstreamer-sections.txt:
290         * gst/gsttaglist.h:
291           Add new taglist item GST_TAG_KEYWORDS, needed for #520694 .
292
293 2008-08-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
294
295         * gst/gstpadtemplate.c:
296           (gst_pad_template_class_init), (gst_static_pad_template_get),
297           (gst_pad_template_new), (gst_pad_template_pad_created),
298           (gst_pad_template_set_property), (gst_pad_template_get_property):
299           Add "name-template", "direction", "presence" and "caps" properties,
300           so that gst_pad_template_new() is just a thin wrapper around
301           g_object_new(), which is better for bindings. (Fixes: #539772)
302
303 2008-07-31  Michael Smith <msmith@songbirdnest.com>
304
305         * gst/gsturi.c:
306           Be more liberal in what URIs we accept.
307           Do not unescape bits of the URI for no apparent reason before passing to
308           the element. Fixes #545352.
309
310 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
311
312         Patch by: Robert Schwebel <r.schwebel@pengutronix.de>
313
314         * gst/gst.c:
315         Include gstconfig.h as macros from it are used. Fixes bug #545607.
316
317 2008-07-31  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
318
319         * configure.ac:
320         * docs/gst/gstreamer-sections.txt:
321         * docs/gst/gstreamer.types:
322         * docs/gst/gstreamer.types.in:
323         * gst/Makefile.am:
324         * gst/gst.c:
325         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
326         * gst/gstconfig.h.in:
327         * gst/gstelement.c: (gst_element_get_index):
328         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
329         (gst_registry_binary_load_feature),
330         (gst_registry_binary_read_cache):
331         * gst/gstregistryxml.c: (load_feature),
332         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
333         * plugins/Makefile.am:
334         * tools/gst-indent:
335         * tools/gst-inspect.c: (print_index_info), (print_element_list),
336         (print_plugin_features), (print_element_features):
337         * tools/gst-xmlinspect.c: (print_event_masks),
338         (print_element_info):
339         * win32/common/gstconfig.h:
340         Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
341
342         Disabling the indexers and URI handler code will only reduce the
343         required amount of memory by a very small amount but on the other hand
344         requires much more maintaince work. Apart from that many places of
345         code are broken when disabling them.
346
347         Disabling the enum types doesn't reduce the required amount of memory
348         by more than a few bytes and makes it hard to fix bugs like #539772,
349         i.e. use the enums as GObject properties.
350
351 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
352
353         * docs/design/part-TODO.txt:
354         Add some thoughts and problems with upstream renegotiation.
355
356 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
357
358         * gst/gstpad.c: (gst_pad_acceptcaps_default),
359         (gst_pad_configure_src), (gst_pad_alloc_buffer_full):
360         Remove silly redundant debug.
361         Add some more debug info.
362         Clarify the docs regarding new caps received from pad_alloc.
363
364 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
365
366         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_set_property),
367         (gst_capsfilter_get_property), (gst_capsfilter_transform_caps):
368         Make setting the caps more threadsafe.
369
370 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
371
372         * docs/design/part-element-transform.txt:
373         Update docs.
374
375 2008-07-31  Wim Taymans  <wim.taymans@collabora.co.uk>
376
377         * plugins/elements/gstqueue.c: (gst_queue_init),
378         (gst_queue_acceptcaps):
379         Add and use a custom acceptcaps function instead of falling back to the
380         potentially less optimized default implementation.
381
382 2008-07-29  Tim-Philipp Müller  <tim.muller at collabora co uk>
383
384         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
385           Only sanity-check the buffer size if requested_caps == buffer_caps
386           (ie. don't take pad caps into account, they're not relevant here)
387
388 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
389
390         * plugins/elements/gsttee.c:
391         * plugins/elements/gsttee.h:
392           Reverting as not everything is clear yet. Needs some general design
393           work.
394
395 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
396
397         * ChangeLog:
398           ChangeLog surgery for tee commit.
399
400 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
401
402         * docs/gst/gstreamer-sections.txt:
403           Cleanup section-file.
404
405 2008-07-29  Stefan Kost  <ensonic@users.sf.net>
406
407         * plugins/elements/gsttee.c:
408         * plugins/elements/gsttee.h:
409           Relay tag events in tee. Fixes parts of #474016.
410           Downgrades 3 reoccurring debugs to log.
411
412 2008-07-28  Michael Smith <msmith@songbirdnest.com>
413
414         * configure.ac:
415         * libs/gst/Makefile.am:
416           Build the net library if we have winsock2.
417
418 2008-07-26  Stefan Kost  <ensonic@users.sf.net>
419
420         patch by: Luc Pionchon <luc.pionchon@nokia.com>
421
422         * docs/manual/advanced-threads.xml:
423         * docs/manual/diagrams-pipelines.svg:
424         * docs/manual/hello-world.png:
425         * docs/manual/linked-elements.png:
426         * docs/manual/mime-world.png:
427         * docs/manual/queue.png:
428         * docs/manual/thread-buffering.png:
429         * docs/manual/thread-synchronizing.png:
430           Replace one diagram with two separate ones and updates others.
431           Fixes #542401.
432
433 2008-07-25  Thijs Vermeir  <thijsvermeir@gmail.com>
434
435         * gst/gstelement.h:
436         Fix link in documentation.
437
438 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
439
440         * gst/gstmessage.c:
441         Fix confusing documentation.
442
443 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
444
445         * libs/gst/base/gstbasesrc.h:
446         revert the changes to the header file for the ABI.
447
448 2008-07-24  Thijs Vermeir  <thijsvermeir@gmail.com>
449
450         * libs/gst/base/gstbasesrc.c:
451         * libs/gst/base/gstbasesrc.h:
452         Don't cache the seekable status.
453         Fixes bug #544174
454
455 2008-07-24  Rene Stadler  <mail@renestadler.de>
456
457         * docs/manual/advanced-autoplugging.xml: Add fakesink to example
458         code to close the pipeline graph.  This prevents the program from
459         printing internal data flow errors.
460
461 2008-07-23  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
462
463         * docs/manual/basics-bus.xml:
464         Correct typo. Fixes bug #544320.
465
466 2008-07-22  Michael Smith <msmith@songbirdnest.com>
467
468         * configure.ac:
469           Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
470           Add check (taken from -base) for winsock, adds WIN32_LIBS
471         * gst/Makefile.am:
472           Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
473           winsock.
474           Define GST_EXPORTS when building libgstreamer (only used on win32)
475         * gst/gst_private.h:
476         * gst/gstinfo.h:
477           Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
478           for symbols that we need to export in both these files.
479         * gst/gstpoll.c:
480           Include gst_private.h higher up to avoid some compile problems on win32.
481
482 2008-07-22  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
483
484         * gst/gstvalue.c:
485         Fix typos.
486
487 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
488
489         * gst/gstcaps.c:
490         Previous commit was wrong NULL caps does not exist
491         and indicate an error, so also add a FIXME to
492         gst_caps_is_equal where NULL caps are accepted.
493
494 2008-07-22  Thijs Vermeir  <thijsvermeir@gmail.com>
495
496         * gst/gstcaps.c:
497         Allow passing of NULL to gst_caps_union
498
499 2008-07-21  Thijs Vermeir  <thijsvermeir@gmail.com>
500
501         * gst/gstghostpad.c:
502         Add in doc that gst_ghost_pad_set_target can accept
503         NULL to clear target
504
505 2008-07-15  Michael Smith <msmith@songbirdnest.com>
506
507         * gst/gstplugin.c:
508         * gst/gstregistry.c:
509           GstRegistryPool doesn't exist; don't refer to it in docs.
510           Don't refer to functions that don't exist in docs, it's
511           unhelpful.
512
513 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
514
515         * gst/gst.c:
516         Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
517
518 2008-07-12  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
519
520         Patch by: tmatth <le dot businessman at gmail dot com>
521
522         * docs/pwg/building-testapp.xml:
523         Don't use an undeclared variable in the example program.
524         Fixes bug #542573.
525
526 2008-07-12  Stefan Kost  <ensonic@users.sf.net>
527
528         * gst/gstdebugutils.c:
529           Squeeze ghost-pad links and remove <> from classname labels to save
530           more horizontal space.
531
532 2008-07-11  Stefan Kost  <ensonic@users.sf.net>
533
534         * gst/gstdebugutils.c:
535           Give request and sometimes pads a different shpe style. Condense the
536           graphs a little more.
537
538 2008-07-09  Michael Smith <msmith@songbirdnest.com>
539
540         * configure.ac:
541           Don't require flex and bison if the parser is disabled.
542
543 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
544
545         * libs/gst/controller/gstinterpolationcontrolsource.c:
546         (_list_find_sorted_custom):
547         Don't use declarations after statements.
548
549 2008-07-08  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
550
551         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
552         Add FIXMEs for 0.11 to use GST_TYPE_OBJECT in the signature
553         of the the child-added / -removed signals as GstChildProxy
554         only supports GstObjects.
555
556 2008-07-07  Thijs Vermeir  <thijsvermeir@gmail.com>
557
558         * gst/gstdebugutils.c:
559         Fix memleak
560
561 2008-07-06  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
562
563         Patch by: Alessandro Decina <alessandro at nnva dot org>
564
565         * gst/gstpoll.c:
566         Fix "ignored return value" compiler warning with newer glibc.
567
568 2008-07-05  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
569
570         * gst/gstchildproxy.c:
571         Fix copy&paste error in gst_child_proxy_removed() documentation.
572
573 2008-07-02  Tim-Philipp Müller  <tim.muller at collabora co uk>
574
575         * gst/gstplugin.c: (CHECK_PLUGIN_DESC_FIELD), (gst_plugin_load_file):
576           Print error debug message if plugin description fields that should
577           be set are NULL.
578
579         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string):
580           Don't crash if the string to serialise is NULL (it really should
581           not be, but apparently this used to work with the xml registry ...).
582
583 2008-07-02  Thijs Vermeir  <thijsvermeir@gmail.com>
584
585         * tools/gst-plot-timeline.py:
586         Fix parsing of log messages
587
588 2008-07-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
589
590         * win32/common/libgstbase.def::
591           Sort alphabetically so make check-exports doesn't barf.
592
593 2008-07-01  Stefan Kost  <ensonic@users.sf.net>
594
595         * gst/gstevent.c:
596           Use gst_format_get_name() to improve debug output.
597
598         * gst/gstpreset.c:
599           Remove #ifdef'ed code. Add TODO comment.
600
601         * gst/gstsegment.c:
602           Add debug output to ease spotting format != segment.format assertions.
603
604 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
605
606         * tests/check/libs/gdp.c: (gst_dp_suite):
607         Also enable the GDP unit test again on PPC now that the bug
608         is fixed.
609
610 2008-06-30  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
611
612         * libs/gst/dataprotocol/dataprotocol.c:
613         Don't write to the same region of memory as a uint64 and uint16
614         as this breaks strict aliasing rules and apparantly breaks on PPC
615         and s390. Thanks to Sjoerd Simons for analysing. Fixes bug #348114.
616
617 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
618
619         * libs/gst/controller/gstinterpolationcontrolsource.c:
620           Optimize list handling. Use own find function. Exploit that fact that
621           the list is sorted. Also pass back the node before, so that we can
622           insert quickly. Have a fast path for append.
623
624 2008-06-29  Stefan Kost  <ensonic@users.sf.net>
625
626         * docs/design/draft-framestep.txt:
627         * docs/design/part-negotiation.txt:
628           Fix two typos.
629
630 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
631
632         * configure.ac:
633           Show configuration sumary after configure run. Based on patch by
634           Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
635
636 2008-06-27  Stefan Kost  <ensonic@users.sf.net>
637
638         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
639
640         * docs/manual/advanced-autoplugging.xml:
641         * docs/manual/advanced-threads.xml:
642         * docs/manual/basics-bins.xml:
643         * docs/manual/basics-elements.xml:
644         * docs/manual/basics-helloworld.xml:
645         * docs/manual/basics-pads.xml:
646           Add scale factor for pdf output.
647
648         * docs/manual/intro-basics.xml:
649           Switched sections "pads" and "bins" and added a pipeline diagram.
650
651         * docs/manual/intro-gstreamer.xml:
652           Added more info on gstreamer.
653
654         * docs/manual/intro-motivation.xml:
655           Commented out the whole section "current problem", which sounds
656           historical and somehow osolete; it could be turned in a positive
657           way and reused to improve the design principles.
658
659         * docs/manual/intro-preface.xml:
660           - Update URLs to library.gnome.org. 
661           - Do not mention GTK+ in preliminary reading (irrelevant). 
662           - Mention Plugin Writer's Manual and further reading only in the
663             previous section.
664           - Added a list of most relevant GObject/glib topics.
665
666         * docs/manual/Makefile.am:
667         * docs/manual/bin-element-ghost.fig:
668         * docs/manual/bin-element-ghost.png:
669         * docs/manual/bin-element-noghost.fig:
670         * docs/manual/bin-element-noghost.png:
671         * docs/manual/bin-element.fig:
672         * docs/manual/bin-element.png:
673         * docs/manual/filter-element-multi.fig:
674         * docs/manual/filter-element-multi.png:
675         * docs/manual/filter-element.fig:
676         * docs/manual/filter-element.png:
677         * docs/manual/gstreamer-overview.png:
678         * docs/manual/hello-world.fig:
679         * docs/manual/hello-world.png:
680         * docs/manual/linked-elements.fig:
681         * docs/manual/linked-elements.png:
682         * docs/manual/mime-world.fig:
683         * docs/manual/mime-world.png:
684         * docs/manual/queue.fig:
685         * docs/manual/queue.png:
686         * docs/manual/simple-player.png:
687         * docs/manual/sink-element.fig:
688         * docs/manual/sink-element.png:
689         * docs/manual/src-element.fig:
690         * docs/manual/src-element.png:
691         * docs/manual/diagrams-general.svg:
692         * docs/manual/diagrams-pipelines.svg:
693           Removed .fig, added .png counterpart.
694           
695           Fixes: #539137
696
697 2008-06-26  Thijs Vermeir  <thijsvermeir@gmail.com>
698
699         * plugins/elements/gstmultiqueue.c:
700         * plugins/elements/gstmultiqueue.h:
701         revert extra-size-buffers stuff, caused some race conditions
702         and extra-size-buffers is not used anymore. Docs needs some updates
703
704 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
705
706         * win32/common/config.h:
707         * win32/common/gstenumtypes.c:
708         * win32/common/gstenumtypes.h:
709         * win32/common/gstversion.h:
710           Update win32 files.
711
712 2008-06-26  Tim-Philipp Müller  <tim.muller at collabora co uk>
713
714         * gst/gstdebugutils.h: (GstDebugGraphDetails),
715           (GST_DEBUG_BIN_TO_DOT_FILE):
716           Add missing Since' markers to gtk-doc blurbs.
717
718 2008-06-26  Wim Taymans  <wim.taymans@collabora.co.uk>
719
720         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
721         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
722         (set_caps_1), (set_caps_ct1), (transform_ct1),
723         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
724         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
725         (transform_size_ct2), (buffer_alloc_ct2):
726         Add some more tests with switching caps in buffer_alloc.
727
728 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
729
730         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
731         (gst_test_trans_class_init), (result_sink_chain),
732         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
733         (gst_test_trans_push), (gst_test_trans_pop):
734         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
735         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
736         (set_caps_1), (set_caps_ct1), (transform_ct1),
737         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
738         (set_caps_ct2), (transform_ct2), (transform_caps_ct2),
739         (transform_size_ct2), (buffer_alloc_ct2),
740         (gst_basetransform_suite):
741         More tests, prepare for tests with switching caps in buffer_alloc.
742
743 2008-06-25  Thijs Vermeir  <thijsvermeir@gmail.com>
744
745         * plugins/elements/gstmultiqueue.c:
746         * plugins/elements/gstmultiqueue.h:
747         Fix dead-lock in underrun_cb
748
749 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
750
751         * docs/design/part-states.txt:
752         Fix device open/close docs.
753
754 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
755
756         * ChangeLog:
757           Mention bugnumber for last commit.
758
759 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
760
761         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
762
763         * docs/manual/manual.xml:
764         - Reorganised the previous "introduction" bundle into Foreword,
765         Introduction, and About GStreamer. The two first are <preface>
766         docbook elements. The later is the first part of the book.
767         - added intro-gstreamer.xml (content partially from
768         intro-preface.xml)
769         - moved appendix-win32.xml into appendix-integration.xml
770
771         * docs/manual/intro-preface.xml: gstreamer section moved...
772         * docs/manual/intro-gstreamer.xml: ...here. new file.
773
774         * docs/manual/appendix-win32.xml: removed file. Content moved...
775         * docs/manual/appendix-integration.xml: ...here.
776         
777         * docs/manual/highlevel-components.xml: section about GstEditor moved...
778         * docs/manual/appendix-checklist.xml: ...here.
779         
780         Fixes: 538764
781
782 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
783
784         patch by: Luc Pionchon  <luc.pionchon@nokia.com>
785
786         * docs/manual/basics-helloworld.xml:
787         * docs/manual/hello-world.fig:
788           - Explicitely include glib.h.
789           - Do not use global variables.
790           - Use g_printerr() instead of g_print().
791           - Minor formating/renaming to increase readibility.
792           - Renamed new_pad() to on_pad_added()
793           - Improved explenatory comments.
794           - renamed ogg parser to ogg demuxer
795           - Use "autoaudiosink" instead of "alsasink".
796           Fixes: #538619
797
798 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
799
800         * ChangeLog:
801           Remove cvs conflict marker.
802
803 2008-06-25  Stefan Kost  <ensonic@users.sf.net>
804
805         * docs/README:
806           Document that for plgin-docs we extraxt he short-desc from the element
807           details.
808
809         * docs/design/part-states.txt:
810           Tell that devices should be closed in PAUSED -> READY.
811
812         * docs/manual/README:
813           Document how tests in the manual are handled.
814
815         * docs/manuals.mak:
816           Typo in comment.
817
818 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
819
820         * gst/gstbin.c: (bin_query_latency_fold):
821         Only care about latency min and max when the sink is actually a live
822         sink.
823
824 2008-06-25  Wim Taymans  <wim.taymans@collabora.co.uk>
825
826         * docs/design/part-block.txt:
827         Fix typo.
828
829         * docs/design/part-element-transform.txt:
830         Add notes about why transform needs to know input/output sizes.
831         Add some issues that need to be solved.
832         Add some more use cases.
833
834         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
835         (gst_test_trans_class_init), (result_sink_chain),
836         (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
837         (gst_test_trans_push), (gst_test_trans_pop):
838         * tests/check/libs/transform1.c: (buffer_alloc_pt1),
839         (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
840         (set_caps_1), (set_caps_ct1), (transform_ct1),
841         (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
842         (gst_basetransform_suite):
843         Add suport for different pad templates and buffer-alloc.
844         Add more checks for caps and buffer-alloc.
845         Add checks for proxy buffer alloc.
846         Add unit test for copy transform.
847
848 2008-06-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
849
850         Patch by: Luc Pionchon  <luc.pionchon@nokia.com>
851
852         * docs/manual/appendix-integration.xml:
853         * docs/manual/appendix-licensing.xml:
854         * docs/manual/basics-elements.xml:
855         * docs/manual/basics-helloworld.xml:
856         * docs/manual/basics-pads.xml:
857         * docs/manual/highlevel-components.xml:
858         * docs/manual/highlevel-xml.xml:
859         * docs/manual/intro-basics.xml:
860         * docs/manual/intro-preface.xml:
861           Typo and formatting fixes (#538594).
862
863 2008-06-24  Sebastian Dröge  <sebastian.droege@collabora.co.uk>
864
865         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
866         Fix some memory leaks and uses of object instances that we don't
867         actually own.
868
869 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
870
871         * plugins/elements/gstmultiqueue.c:
872         Add functionality to extra-size-buffers property.
873
874 2008-06-22  Thijs Vermeir  <thijsvermeir@gmail.com>
875
876         * plugins/elements/gstmultiqueue.c:
877         Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
878         activate the pads if they are added in STATE_NULL.
879
880 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
881
882         * docs/libs/gstreamer-libs-sections.txt:
883         Add new API to doc
884         * libs/gst/check/gstcheck.c:
885         * libs/gst/check/gstcheck.h:
886         API: gst_check_teardown_pad_by_name
887
888 2008-06-21  Thijs Vermeir  <thijsvermeir@gmail.com>
889
890         * libs/gst/check/gstcheck.c:
891         * libs/gst/check/gstcheck.h:
892         Also setup request pads and allow setup pads by name (#537812)
893         API: gst_check_setup_src_pad_by_name
894         API: gst_check_setup_sink_pad_by_name
895
896 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
897
898         * tests/check/gst/gstbuffer.c:
899         * tests/check/pipelines/parse-launch.c:
900           Use HAVE_VALGRIND_H some more.
901
902 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
903
904         * scripts/cvs-update.sh:
905           Pass arguments to make.
906           Run autoregen.sh if Makefile is not there.
907
908 2008-06-20  Thomas Vander Stichele  <thomas at apestaart dot org>
909
910         * configure.ac:
911         * gst/gstinfo.c:
912           Don't assume that <valgrind/valgrind.h> exists just because
913           the binary is there.
914
915 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
916
917         * tests/check/Makefile.am:
918         * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
919         (gst_test_trans_class_init), (gst_test_trans_init),
920         (gst_test_trans_set_data), (result_sink_chain),
921         (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
922         (gst_test_trans_pop):
923         * tests/check/libs/transform1.c: (GST_START_TEST),
924         (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
925         Add some test basetransform element and the beginnings of various
926         unit tests for it.
927
928 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
929
930         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
931         Increase code readability.
932         Don't try to compare buffer offsets when ther are invalid.
933
934 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
935
936         * docs/design/Makefile.am:
937           Dist some more design docs.
938
939         * docs/random/moving-plugins:
940           Small addition: good plugins mustn't have functional code
941           within assertion macros.
942
943 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
944
945         * docs/design/draft-framestep.txt:
946         Some ideas about a framestep API
947
948         * docs/design/part-element-transform.txt:
949         Start design and use cases for basetransform in order to get it
950         fixed soon.
951
952 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
953
954         * gst/gsttaglist.h:
955           In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
956           be in UTF-8 encoding.
957
958 2008-06-20  Tim-Philipp Müller  <tim.muller at collabora co uk>
959
960         * gst/gstbus.c:
961           Make it known that gst_bus_poll() is pure evil (fixes #538810).
962
963 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
964
965         * plugins/elements/gstcapsfilter.c:
966         * plugins/elements/gstfakesink.c:
967         * plugins/elements/gstfakesrc.c:
968         * plugins/elements/gstfdsink.c:
969         * plugins/elements/gstfdsrc.c:
970         * plugins/elements/gstfilesink.c:
971         * plugins/elements/gstfilesrc.c:
972         * plugins/elements/gstidentity.c:
973         * plugins/elements/gstmultiqueue.c:
974         * plugins/elements/gstqueue.c:
975         * plugins/elements/gsttee.c:
976         * plugins/elements/gsttypefindelement.c:
977           Remove short_description. Add basic docs for gsttypefindelement.
978           Simplify markup for fakesrc/fdsrc.
979
980 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
981
982         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
983         Added Since doc.
984
985 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
986
987         Patch by: joel larsson <tilljoel at gmail dot com>
988
989         * docs/plugins/gstreamer-plugins.args:
990         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
991         (gst_fd_src_init), (gst_fd_src_update_fd),
992         (gst_fd_src_set_property), (gst_fd_src_get_property),
993         (gst_fd_src_create):
994         * plugins/elements/gstfdsrc.h:
995         Add timeout property like udpsrc. Fixes #538628.
996         Add some more docs and example pipelines.
997
998 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
999
1000         * docs/libs/gstreamer-libs-sections.txt:
1001         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1002         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
1003         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
1004         (gst_base_sink_do_sync):
1005         * libs/gst/base/gstbasesink.h:
1006         * win32/common/libgstbase.def:
1007         Add method to allow sinks to specify additional delay between the sync
1008         times and the actual rendering of the data.
1009         API: gst_base_sink_set_render_delay()
1010         API: gst_base_sink_get_render_delay()
1011
1012 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
1013
1014         * configure.ac:
1015         Bump version number back to dev -> 0.10.20.1
1016
1017 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
1018
1019         * docs/gst/gstreamer-sections.txt:
1020         * gst/gsttaglist.c: (_gst_tag_initialize):
1021         * gst/gsttaglist.h:
1022         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
1023         Fixes bug #538568.
1024
1025 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1026
1027         * libs/gst/controller/gstcontroller.c:
1028           Revert one change, that make ret value possible uninitialized.
1029
1030 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1031
1032         * libs/gst/controller/gstcontroller.c:
1033           Use freeze/thaw notify to sync notify emission a bit (its also more
1034           efficient). Move debug output to LOG (is called a lot in a loop).
1035           Always unset g_values if the have been initialized.
1036
1037 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1038
1039         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1040         (gst_base_sink_wait_eos), (gst_base_sink_event):
1041         If we have not seen a buffer before EOS, use the segment values to
1042         report the current position instead of invalid positions.
1043
1044 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1045
1046         * docs/plugins/tmpl/.cvsignore:
1047         * tests/check/gst/.cvsignore:
1048           Ignore more.
1049
1050 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
1051
1052         * libs/gst/controller/gstinterpolation.c:
1053         * libs/gst/controller/gstinterpolationcontrolsource.c:
1054         * tests/check/libs/controller.c:
1055           Rewrite handling of default values. Fix overflow with unsigned types
1056           in linear interpolation. Remove now obsolete _first_value() function.
1057           Add more tests. Fixes #538201.
1058
1059 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
1060
1061         * libs/gst/base/gstbasetransform.c:
1062         (gst_base_transform_class_init), (gst_base_transform_init),
1063         (gst_base_transform_transform_caps),
1064         (gst_base_transform_prepare_output_buffer):
1065         Add debug info.
1066         When a buffer is writable, its metadata is also writable so we don't
1067         need to subbuffer (which then makes the buffer not-writable anymore).
1068
1069 === release 0.10.20 ===
1070
1071 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
1072
1073         * configure.ac:
1074           releasing 0.10.20, "You Crazy Diamond"
1075
1076 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
1077
1078         * configure.ac:
1079         0.10.19.3 pre-release
1080
1081 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
1082
1083         * configure.ac:
1084         * gst/gstpreset.c:
1085         Rename DATADIR to GST_DATADIR to avoid build problems
1086         on win32. Patch By: David Schleef <ds@schleef.org>
1087         Fixes: #536857
1088
1089 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
1090
1091         * configure.ac:
1092         Explicitely link with -ldl if dladdr() is found there. Before it was
1093         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
1094         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
1095
1096 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1097
1098         * gst/gsterror.c: (_gst_stream_errors_init):
1099           Fix typo (spotted by Fabricio Godoy, #536723).
1100
1101 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
1102
1103         * configure.ac:
1104         0.10.19.2 pre-release
1105
1106 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1107
1108         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
1109         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
1110         Add some debug.
1111         Make sure we don't generate invalid QoS messages.
1112
1113 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1114
1115         * gst/gstevent.c: (gst_event_new_qos):
1116         Add some assert and docs for invalid input to the qos function.
1117
1118 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1119
1120         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1121         (gst_base_sink_get_position):
1122         The reported position must always be smaller than the last seen
1123         timestamps (or timestamp + duration for reverse).
1124
1125 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
1126
1127         Patch by: Rob Bradford <rob at robster dot org dot uk>
1128
1129         * gst/gstregistry.c: (gst_registry_scan_path_level):
1130         Don't recurse into .debug directories as some distros install
1131         the debugging symbols next to the plugins in .debug directories
1132         and dlopen() crashes on them sometimes. Fixes bug #508070.
1133
1134         Add FIXME for 0.11 to not recurse into directories at all because
1135         it's very inconsistent to the behaviour of other PATH environment
1136         variables.
1137
1138 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1139
1140         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1141         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
1142         Fix position query range checks in reverse playback.
1143
1144 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
1145
1146         * gst/gstelement.c:
1147         * gst/gstelement.h:
1148         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
1149         clear of the reference to the resulting pad must be released later
1150         or not, resulting in possible leaks. Fixes bug #533865.
1151
1152 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1153
1154         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1155
1156         * gst/gstelementfactory.c:
1157         Small doc fix. Fixes #535285.
1158
1159 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1160
1161         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
1162
1163         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1164         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1165         (gst_base_src_loop), (gst_base_src_set_flushing),
1166         (gst_base_src_change_state):
1167         Make sending an EOS event to the basesrc non-blocking even if the
1168         implementation does blocking waits in the create function. This is done
1169         by unlocking the create function when EOS is sent.
1170         Fixes #535218.
1171
1172 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1173
1174         * tools/gst-inspect.c: (print_element_properties_info):
1175         If possible print the element type of GValueArray properties.
1176
1177 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
1178
1179         * gst/gstiterator.c:
1180         Remove an unused field from the private GstListIterator struct.
1181
1182 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1183
1184         * libs/gst/controller/gstcontroller.c:
1185           Add parameter guards.
1186
1187 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * tests/check/gst/gstpipeline.c:
1190           Revert test change and add comment why it should not work.
1191
1192 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * tests/check/gst/gstpipeline.c:
1195           Extending the test a little to verify that we also get the NULL state-
1196           change message.
1197
1198 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1199
1200         * gst/gstpreset.c: (gst_preset_default_get_meta),
1201           (gst_preset_get_preset_names), (gst_preset_get_property_names),
1202           (gst_preset_load_preset), (gst_preset_save_preset),
1203           (gst_preset_rename_preset), (gst_preset_delete_preset),
1204           (gst_preset_set_meta):
1205           Add Since: markers to docs blurbs.
1206
1207         * win32/common/libgstreamer.def:
1208           Add recently-added API.
1209
1210 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1211
1212         Patch by: Stefan Kost  <ensonic@users.sf.net>
1213
1214         * configure.ac:
1215         Add DATADIR for storing presets.
1216
1217         * docs/gst/gstreamer-docs.sgml:
1218         * docs/gst/gstreamer-sections.txt:
1219         * docs/gst/gstreamer.types.in:
1220         Add GstPreset to docs.
1221
1222         * gst/Makefile.am:
1223         * gst/gst.h:
1224         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
1225         (preset_open_and_parse_header), (preset_parse_version),
1226         (preset_merge), (preset_get_keyfile),
1227         (gst_preset_default_get_preset_names),
1228         (gst_preset_default_get_property_names),
1229         (gst_preset_default_load_preset),
1230         (gst_preset_default_save_presets_file),
1231         (gst_preset_default_save_preset),
1232         (gst_preset_default_rename_preset),
1233         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
1234         (gst_preset_default_get_meta), (gst_preset_default_randomize),
1235         (gst_preset_default_reset), (gst_preset_get_preset_names),
1236         (gst_preset_get_property_names), (gst_preset_load_preset),
1237         (gst_preset_save_preset), (gst_preset_rename_preset),
1238         (gst_preset_delete_preset), (gst_preset_set_meta),
1239         (gst_preset_get_meta), (gst_preset_class_init),
1240         (gst_preset_base_init), (gst_preset_get_type):
1241         * gst/gstpreset.h:
1242         Add GstPreset to core. Fixes #396779
1243
1244         * tests/check/Makefile.am:
1245         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
1246         (gst_preset_test_set_property), (gst_preset_test_class_init),
1247         (gst_preset_test_base_init), (gst_preset_test_get_type),
1248         (gst_preset_test_plugin_init), (GST_START_TEST),
1249         (remove_preset_file), (test_setup), (test_teardown),
1250         (gst_preset_suite):
1251         Add GstPreset unit tests.
1252
1253 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         * gst/gstpad.c: (gst_pad_event_default_dispatch):
1256         The default event function on a sinkpad should return TRUE when
1257         there are no internal links but should collect the return values from
1258         the internal links otherwise.
1259
1260 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1261
1262         * plugins/elements/gsttypefindelement.c:
1263         (gst_type_find_element_src_event),
1264         (gst_type_find_element_handle_event):
1265         Use faster and safer _pad_push_event().
1266
1267 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
1268
1269         * docs/gst/gstreamer-sections.txt:
1270         * gst/gstutils.c: (element_find_unlinked_pad),
1271           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
1272         * gst/gstutils.h:
1273           API: add gst_bin_find_unlinked_pad()
1274           API: deprecate gst_bin_find_unconnected_pad() (#401456)
1275
1276 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
1277
1278         * gst/gstclock.c:
1279         * gst/gstclock.h:
1280         * gst/gsttask.c:
1281         * gst/gsttask.h:
1282         Fixed a bunch of typos.
1283
1284 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1285
1286         * gst/gstpad.h:
1287         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
1288           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
1289           (gst_parse_bin_from_description_full):
1290         * gst/gstutils.h:
1291           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
1292
1293 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1294
1295         * docs/pwg/advanced-tagging.xml:
1296           Small docs update, can't be bothered to rewrite the nonsensical
1297           examples right now.
1298
1299 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1300
1301         * gst/gstevent.h:
1302           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
1303
1304 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1305
1306         * gst/parse/grammar.y:
1307           Remove unneeded casts.
1308
1309 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
1310
1311         * gst/parse/grammar.y:
1312         * tests/check/pipelines/parse-launch.c:
1313           Get all missing elements from a parse launch string if possible
1314           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
1315
1316 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1317
1318         * tests/check/Makefile.am:
1319         * tests/check/pipelines/parse-launch.c:
1320           Add some unit tests for the new gst_parse_launch*_full() API.
1321           (Exposes a previously-existing memory leak in the error code
1322           path, so adding to VALGRIND_TO_FIX for now).
1323
1324 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
1325
1326         * docs/gst/gstreamer-sections.txt:
1327         * gst/gst.c: (init_post):
1328         * gst/gst_private.h: (_GstParseContext):
1329         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
1330           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
1331           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
1332           (gst_parse_launch_full):
1333         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
1334           (GstParseFlags), (GstParseContext):
1335         * gst/gstutils.c: (gst_parse_bin_from_description),
1336           (gst_parse_bin_from_description_full):
1337         * gst/gstutils.h:
1338         * gst/parse/grammar.y:
1339         * gst/parse/types.h:
1340         * win32/common/libgstreamer.def:
1341           Add new gst_parse_*_full API (#528178):
1342           API: gst_parse_launch_full()
1343           API: gst_parse_launchv_full()
1344           API: gst_parse_bin_from_description_full()
1345           API: gst_parse_context_new()
1346           API: gst_parse_context_free()
1347           API: gst_parse_context_get_missing_elements()
1348
1349 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
1350
1351         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
1352
1353         * docs/faq/gst-uninstalled:
1354           Also support ffmpeg in gst-uninstalled.
1355
1356 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1357
1358         * configure.ac:
1359         After discussion on IRC use the binary registry as default
1360         but allow to disable it with --disable-binary-registry.
1361
1362         * win32/common/libgstreamer.def:
1363         Add the two new symbols for the binary registry.
1364
1365 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
1366
1367         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
1368         * gst/gstutils.c: (gst_parse_bin_from_description):
1369         * gst/parse/grammar.y: (graph):
1370           More guards against bad input; typo fix; some minor clean-ups.
1371
1372 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
1373
1374         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1375
1376         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1377         If nothing else can be used, use the last buffer's start time as
1378         the segment's last stop. Fixes bug #534258.
1379
1380 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
1381
1382         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1383           Move size sanity check to the right place: downstream may return
1384           a buffer with a smaller size if the buffer caps are different than
1385           the requested ones, as may happen when doing reverse negotiation.
1386
1387 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1388
1389         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
1390         (gst_file_sink_render):
1391         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
1392         (gst_file_src_start):
1393         Small cleanups. Add note adbout g_fopen() on windows and why we don't
1394         use it yet.
1395
1396 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1397
1398         * gst/gstpad.c: (gst_pad_load_and_link):
1399         * gst/gstutils.c: (gst_element_link_pads),
1400         (gst_element_unlink_pads):
1401         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1402         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1403         (gst_check_teardown_sink_pad),
1404         (gst_check_element_push_buffer_list):
1405         * tests/check/elements/fakesink.c: (GST_START_TEST):
1406         * tests/check/elements/filesink.c:
1407         * tests/check/elements/filesrc.c: (GST_START_TEST):
1408         * tests/check/elements/multiqueue.c: (setup_multiqueue),
1409         (mq_sinkpad_to_srcpad):
1410         * tests/check/elements/tee.c: (GST_START_TEST):
1411         * tests/check/generic/sinks.c: (GST_START_TEST):
1412         * tests/check/gst/gstbin.c: (GST_START_TEST):
1413         * tests/check/gst/gstevent.c: (GST_START_TEST):
1414         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1415         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
1416         * tests/check/gst/gstquery.c: (GST_START_TEST):
1417         * tests/check/gst/gstutils.c: (GST_START_TEST):
1418         * tests/check/libs/basesrc.c: (GST_START_TEST):
1419         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
1420         (gst_parse_test_element_change_state):
1421         Don't use gst_element_get_pad().
1422
1423 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
1424
1425         * docs/Makefile.am:
1426         Fix installing plugin documentation when gtk-doc is disabled.
1427
1428 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1429
1430         * docs/manual/advanced-autoplugging.xml:
1431         * docs/manual/basics-helloworld.xml:
1432         * docs/manual/basics-pads.xml:
1433         * docs/manual/highlevel-components.xml:
1434         Avoid using a bad function in the example code.
1435
1436 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1437
1438         * gst/gstclock.c: (gst_clock_set_calibration):
1439         Fix debug of the new clock rate.
1440
1441 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
1442
1443         * win32/common/libgstbase.def:
1444         Add gst_base_sink_wait_clock() to the exported symbols.
1445
1446 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
1447
1448         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
1449
1450         * libs/gst/base/gstbasetransform.c:
1451         (gst_base_transform_sink_event):
1452         Unref events that the GstBaseTransform::event vfunc didn't want to
1453         have forwarded by the base class. Closes a leak in identity.
1454         Fixes bug #446763.
1455
1456 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1457
1458         * docs/libs/gstreamer-libs-sections.txt:
1459         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
1460         * libs/gst/base/gstbasesink.h:
1461         Expose a method that was previously used internally to synchronize
1462         against the clock because it can be useful for subclasses too.
1463         API: GstBaseSink::gst_base_sink_wait_clock()
1464
1465 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1466
1467         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
1468           Add sanity check to make sure we don't get smaller buffers
1469           than requested (and fallback to normal buffer alloc if we do).
1470
1471 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1472
1473         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
1474         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
1475         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
1476         Refactor adjusting the running_time with latency and offset into a
1477         separate method.
1478         When doing clipping, we still want to use the subclass get_times method,
1479         just in case the DURATION or TIMESTAMP are not set.
1480
1481 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1482
1483         * docs/gst/gstreamer-sections.txt:
1484         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
1485         * gst/gsttypefind.h:
1486         * win32/common/libgstreamer.def:
1487           API: add gst_type_find_suggest_simple(), #533740.
1488
1489 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
1490
1491         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
1492           Use right error code when typefinding fails, so we can use
1493           the default (translated) error messages.
1494
1495 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1496
1497         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
1498         (gst_base_src_start):
1499         When the subclass did not set caps on outgoing buffers, configure the
1500         caps we negotiated on the source pad.
1501         When the typefind helper does not find caps, error out properly instead
1502         of doing things with NULL caps.
1503
1504 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1505
1506         * gst/gsttypefind.h:
1507           Tabs to spaces, oh yes!
1508
1509 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1510
1511         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
1512           Add David's and Benjamin's tests for array intersection to the
1513           unit test suite (#147931).
1514
1515 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
1516
1517         * gst/gstevent.c:
1518           Document that gst_event_new_tag() and gst_event_new_navigation()
1519           take ownership of the taglist/structure passed to them. (#533635).
1520
1521 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
1522
1523         * docs/Makefile.am:
1524         Don't descend into the plugins dir if plugin docs building
1525         is disabled.
1526
1527         * docs/README:
1528         Add a note about the new type:GTypeName syntax for the plugin
1529         documentation .types file.
1530
1531 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
1532
1533         * gst/gstmessage.c: (gst_message_new_error),
1534         (gst_message_new_warning), (gst_message_new_info):
1535         * gst/gstmessage.h:
1536         Mark the debug string parameters as const. Fixes bug #533490.
1537
1538 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
1539
1540         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
1541         Sort buffer cache list by end offsets. This makes sure that we don't
1542         stop to search for a cached buffer that contains the requested data
1543         too early.
1544         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
1545         more efficient. Fixes bug #459862.
1546
1547 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
1548
1549         * gst/gstinfo.c:
1550           Explain why we copy the list.
1551
1552         * gst/gstpipeline.c:
1553           Improve docs.
1554
1555         * gst/gstutils.c:
1556           Add one debug-log statement to help tracing probelms with linking pads.
1557
1558 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
1559
1560         * tests/check/gst/gstinfo.c:
1561         Add a test for removing the default log handler. Seems to fail under
1562         windows.
1563
1564 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1565
1566         * gst/gstpad.c: (gst_pad_peer_accept_caps):
1567         Release pad lock before calling out to avoid a possible deadlock.
1568
1569 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
1570
1571         * gst/parse/grammar.y:
1572         Remove unneeded value unset.
1573
1574         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1575         Add unit test for de/serialization of caps.
1576
1577 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1578
1579         * plugins/elements/gstfakesink.c:
1580         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
1581         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
1582         (gst_fake_src_class_init):
1583         Use custom marshalers that take GstMiniObject as first parameter.
1584         Using OBJECT as parameter while a GstMiniObject is given will lead
1585         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
1586
1587 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1588
1589         * plugins/elements/gsttypefindelement.c:
1590         (gst_type_find_element_handle_event),
1591         (gst_type_find_element_send_cached_events),
1592         (gst_type_find_element_change_state):
1593         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
1594         immediately.
1595
1596 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1597
1598         * plugins/elements/gsttypefindelement.c:
1599         (gst_type_find_handle_src_query), (stop_typefinding),
1600         (gst_type_find_element_handle_event),
1601         (gst_type_find_element_send_cached_events),
1602         (gst_type_find_element_change_state):
1603         Forward FLUSH_START events immediately and clean up instead of
1604         caching them.
1605
1606 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
1607
1608         Patch by: Sjoerd Simons <sjoerd at luon dot net>
1609
1610         * libs/gst/base/gstbasetransform.c:
1611         (gst_base_transform_buffer_alloc):
1612         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
1613         fall back to default negotiation in the chain function if the caps
1614         are different from what was requested. Fixes bug #526768.
1615
1616 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1617
1618         * gst/gstsegment.c:
1619         * tests/check/gst/gstsegment.c:
1620           No, let's not use g_slice_{dup|copy} here, since they only exist
1621           since GLib 2.14 and we still depend only on >= 2.12. Also add
1622           unit test for gst_segment_copy().
1623
1624 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
1625
1626         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
1627           Try to fix 'dereferencing type-punned pointer will break strict
1628           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
1629           changed the default GType typedef from gulong to gsize at some point,
1630           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
1631           g_once_* functions all take a gsize * though, so work around the type
1632           mismatch for C++ by doing everything in gsize and casting to GType
1633           later.
1634
1635 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
1636
1637         * plugins/elements/gstmultiqueue.c:
1638         Add documentation for the signals to push our core plugin docs
1639         coverage back up to 100%.
1640
1641 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1642
1643         * gst/gstinfo.h (GST_FUNCTION):
1644           Reverted GST_FUNCTION to the old version as we don't want the
1645           full signature in C++ code. Also added support for MSVC.
1646
1647 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1648
1649         * gst/gstutils.h:
1650         Intern the type name string, similar to what G_DEFINE_TYPE does.
1651
1652 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1653
1654         * gst/gstutils.h:
1655         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
1656
1657 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
1658
1659         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
1660
1661         * libs/gst/base/gstbasetransform.c:
1662         (gst_base_transform_buffer_alloc):
1663         Don't passthrough buffer allocation too easily if the caps change.
1664         This breaks when working in passthrough mode and upstream changes
1665         it's caps. Fixes bug #526768.
1666
1667 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1668
1669         * gst/gstinfo.c (gst_debug_log_valist):
1670           Improved the __FILE__ part of debug output for MSVC.
1671
1672 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1673
1674         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
1675           Declaration after statement fix for compilers like MSVC.
1676
1677 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1678
1679         * win32/common/config.h.in:
1680           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
1681           use the real thing than having "???" unconditionally.
1682
1683 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
1684
1685         * gst/gstinfo.h (GST_FUNCTION):
1686           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
1687
1688 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1689
1690         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
1691         Small code cleanup.
1692
1693         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1694         (gst_base_sink_set_flushing):
1695         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1696         Fix some comments.
1697
1698 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1699
1700         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
1701         (gst_fake_src_init), (gst_fake_src_set_property),
1702         (gst_fake_src_get_property), (gst_fake_src_start):
1703         * plugins/elements/gstfakesrc.h:
1704         Added format property to control the format of the newsegment events.
1705         API: GstFakeSrc:format
1706
1707 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1708
1709         * win32/common/libgstreamer.def:
1710         Add gst_pad_has_name() to the exported symbols.
1711
1712 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
1713
1714         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
1715         * libs/gst/base/gstbasetransform.c:
1716         (gst_base_transform_prepare_output_buffer):
1717         Don't allow negative sizes when allocating new buffers.
1718         Fixes bug #461253.
1719
1720 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1721
1722         Patch by: Sjoerd Simons <sjoerd at luon net>
1723
1724         * gst/gstbus.c: (gst_bus_source_dispatch):
1725           Don't print a warning if the queue is empty when we try to pop
1726           here. That could happen if another thread or callback set the
1727           bus to flushing between the source's check/prepare and the
1728           dispatch being called (#531538).
1729
1730 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
1731
1732         * plugins/elements/gstmultiqueue.c:
1733           Small docs fix.
1734         
1735 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
1736
1737         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1738         Add unit test for deserializing uint64s and check some really large
1739         numbers in the int64 test.
1740
1741 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1742
1743         * tools/gst-inspect.c: (n_print), (print_hierarchy),
1744         (print_interfaces), (print_element_properties_info),
1745         (print_signal_info):
1746         Use "%s" as format string instead of printing strings directly.
1747
1748 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
1749
1750         * gst/gstclock.c: (gst_clock_set_calibration):
1751         Make some checks actually useful.
1752
1753         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1754         Remove some unused code. Unsigned integers tend to be >= 0.
1755
1756 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1757
1758         * gst/gstminiobject.c: (gst_value_get_mini_object):
1759           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
1760           function was not in the unscheduled 0.10.19 release.
1761
1762 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1763
1764         * gst/gstregistry.c: (gst_registry_scan_path_level):
1765           Only print one log message per non-plugin file.
1766
1767 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1768
1769         * gst/gstinfo.c: (gst_debug_log_default):
1770           Fix alignment of debug log columns on 64-bit.
1771
1772 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
1773
1774         * docs/libs/Makefile.am:
1775         * docs/libs/gstreamer-libs-sections.txt:
1776           Ignore private controller headers for docs.
1777
1778 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
1779
1780         * libs/gst/controller/gstcontrollerprivate.h:
1781         * libs/gst/controller/gsthelper.c:
1782         * libs/gst/controller/gstinterpolation.c:
1783         * libs/gst/controller/gstinterpolationcontrolsource.c:
1784         (gst_interpolation_control_source_set_interpolation_mode):
1785         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
1786         * libs/gst/controller/lib.c:
1787         Move some private declarations into private headers.
1788
1789 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
1790
1791         * gst/gstdebugutils.c: (debug_dump_element_pad):
1792         Remove some code that is unused after Stefan's refactoring and uses
1793         uninitialized variables now, resulting in a compiler warning.
1794
1795 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
1796
1797         * gst/gstregistry.c: (gst_registry_scan_path_level):
1798           Run g_str_has_suffix() only on the file name, not the
1799           entire file path.
1800
1801 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
1802
1803         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1804           Since we're not called only from the chain function any longer,
1805           we can't assume that there's always data in the queue, so move
1806           the is_full check to the beginning of the loop (otherwise we'd
1807           hit the assert when changing the limit properties while the
1808           queue is empty or not running yet).
1809           Also, only set a discont if items were actually removed from
1810           the queue.
1811
1812         * tests/check/elements/queue.c: (test_leaky_downstream):
1813           Test case for the above.
1814
1815 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
1816
1817         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1818
1819         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1820         (gst_queue_chain), (queue_capacity_change),
1821         (gst_queue_set_property):
1822         When changing thr max capacity of a leaky queue, immediatly drop buffers
1823         instead of waiting for a push on the sinkpad. Fixes #530637.
1824
1825 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
1826
1827         * gst/gstdebugutils.c:
1828           Refactor code and fix handling of ghostpads and their proxypads.
1829
1830 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1831
1832         * docs/gst/gstreamer-sections.txt:
1833         * gst/gstevent.c: (gst_event_has_name):
1834         * gst/gstevent.h:
1835         * tests/check/gst/gstevent.c: (GST_START_TEST):
1836         Add method to conveniently check the name of a custom event with
1837         gst_event_has_name().
1838         Reformat the event docs so that related methods are put together instead
1839         of the default alphabetical sort.
1840         Update unit test with new method.
1841         API: GstEvent::gst_event_has_name()
1842
1843 2008-04-28  Michael Smith <msmith@songbirdnest.com>
1844
1845         * libs/gst/check/Makefile.am:
1846           Don't add an explicit link to libgstreamer-0.10.la; it's already
1847           included in GST_OBJ_LIBS.
1848
1849 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
1850
1851         * gst/gst.c:
1852         Register GstClock type from a type-safe context. Fixes bug #530317.
1853
1854 2008-04-25  Michael Smith <msmith@songbirdnest.com>
1855
1856         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1857         * tools/gst-run.c:
1858           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1859
1860 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1861
1862         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1863         (gst_bin_dispose):
1864         Use the GLib stuff to create a private structure.
1865         Add some locking around some dispose methods to make them a little
1866         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1867
1868 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1869
1870         * libs/gst/base/gstbasesink.h:
1871         * libs/gst/base/gstbasesrc.h:
1872         * libs/gst/base/gstbasetransform.h:
1873         * libs/gst/base/gstcollectpads.h:
1874           Fix doc typos and unify caps a bit.
1875
1876 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * tools/gst-launch.1.in:
1879           Forgot to also add the envvar docs here.
1880
1881 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         * gst/gst.c: (init_post), (gst_deinit):
1884         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1885           (test_concurrent_create), (gst_pipeline_suite):
1886           Ref some more classes in gst_init() to work around thread-safety
1887           issues in pre-2.16 GLibs, and add basic unit test.
1888
1889 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
1890
1891         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1892         (gst_base_sink_send_event):
1893         Rearrange the latency query code. We always want to do the upstream
1894         query, even if we are not live so that the upstream elements can get the
1895         latency results too. If we fail doing the query and we are live, we
1896         return TRUE afterwards.
1897
1898 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1899
1900         patch by: Jason Zhao <e3423c@motorola.com>
1901
1902         * docs/gst/running.xml:
1903         * gst/gst.c:
1904           Enable/disable scan_and_update_registry() based on commandline switch
1905           or environment variable. Fixes #520468.
1906           
1907         * ChangeLog:
1908           Fix typo in my previous commit.
1909
1910 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1911
1912         * gst/gstregistrybinary.c:
1913           Add a warning if we hit unhandled factories when saving.
1914           More debug logging detail, but move to LOG category.
1915
1916 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
1917
1918         * gst/gstregistry.c:
1919           Tell the *truth* when improving the documentation.
1920
1921 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
1922
1923         * gst/gstelementfactory.c: (gst_element_factory_make):
1924         Unref the factory after it was used the last time, not before.
1925
1926         * gst/gstindexfactory.c: (gst_index_factory_make):
1927         Improve debugging a bit and don't leak a ref to the index factory with
1928         each call.
1929
1930 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1931
1932         * gst/gstregistry.c:
1933           Improve the documentation.
1934
1935 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1936
1937         * gst/gstsegment.c:
1938           The glib macro seems to be borked. Use g_slice_copy directly and cast
1939           in the hope that this fixes the warning on 64bit.
1940
1941 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1942
1943         * gst/gstsegment.c:
1944           Document the new function. Use g_slice_dup() (no need for
1945           gst_segment_init()).    
1946
1947 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
1948
1949         * docs/gst/gstreamer-sections.txt:
1950           Move GParamSepc macros to standart section.
1951   
1952         * gst/gstbin.c:
1953           Dn't document _get_type - its in private section in docs anyway and
1954           this doc-blob was incomplete.
1955
1956         * gst/gstclock.h:
1957           Fix wrong symbol names in docs.
1958
1959         * gst/gstmacros.h:
1960           Add once doc sentence.
1961
1962         * tests/check/gst/.cvsignore:
1963           Ignore more.
1964
1965 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1966
1967         * docs/gst/Makefile.am:
1968           And remove those libs here.
1969
1970 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1971
1972         * docs/libs/Makefile.am:
1973           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1974
1975 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1976
1977         Patch by: Olivier Crete <tester at tester dot ca>
1978
1979         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1980         Add the min-threshold to the min latency if possible. Fixes #529148.
1981
1982 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1983
1984         * docs/gst/gstreamer.types.in:
1985           Stupid editor, I removed that line as it should go in yet.
1986
1987 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1988
1989         * docs/gst/gstreamer.types.in:
1990         * docs/libs/gstreamer-libs.types:
1991           Remove library types fro core docs and have them in libs docs.
1992           Reformat and cleanup. Add comment for miniobject types.
1993
1994 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1995
1996         * gst/gsturi.c: (gst_uri_get_protocol):
1997           Fix leak: g_strdown operates on the string in place, while
1998           g_ascii_strdown() returns a newly-allocated string.
1999
2000 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
2001
2002         * tools/gst-inspect.c: (print_uri_handler_info),
2003         (print_element_info):
2004         Print the URI protocols and the URI type supported by the element.
2005
2006 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2007
2008         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
2009         Use g_value_take_string() instead of the deprecated
2010         g_value_set_string_take_ownership().
2011
2012 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2013
2014         * gst/gstregistrybinary.c: (_gst_crc32):
2015         Return the old CRC instead of 0 if we give a NULL buffer
2016         or a buffer with a length of 0.
2017
2018 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
2019
2020         * gst/gsturi.c: (gst_uri_protocol_check_internal),
2021         (gst_uri_get_protocol), (gst_uri_has_protocol),
2022         (gst_uri_construct), (gst_uri_handler_set_uri):
2023         A valid URI scheme can also include '+', '-' and '.' additional
2024         to alphanumeric characters as per RFC 3986 Section 3.1.
2025
2026         Handle URI schemes case insensitive in all places and convert
2027         to lower-case when constructing an URI or setting an URI with
2028         the GstURIHandler interface. Fixes bug #528868.
2029         All elements can still assume (as before) that they will
2030         get passed URIs with a lower-case URI scheme by the GstURIHandler
2031         interface.
2032
2033 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
2034
2035         * gst/gstcaps.c: (gst_static_caps_get):
2036         * gst/gstclock.c: (gst_clock_entry_new):
2037           Don't use g_atomic_set_int where it's not needed.
2038
2039 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2040
2041         * gst/gstvalue.c: (gst_value_deserialize_caps):
2042         * gst/parse/grammar.y:
2043         Fix 2 caps leaks.
2044
2045 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
2046
2047         * gst/gstutils.c: (gst_atomic_int_set):
2048         Use g_atomic_int_set() here too instead of assignment +
2049         g_atomic_int_get().
2050
2051 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
2052         
2053         * gst/gstutils.c:
2054         * gst/gstutils.h:
2055         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
2056         now that we depend on new enough GLib.
2057
2058         * gst/gstcaps.c: (gst_static_caps_get):
2059         * gst/gstclock.c: (gst_clock_entry_new):
2060         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
2061         (gst_debug_set_default_threshold), (_gst_debug_category_new),
2062         (gst_debug_category_set_threshold):
2063         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2064         (gst_base_sink_set_qos_enabled):
2065         * libs/gst/net/gstnettimeprovider.c:
2066         (gst_net_time_provider_set_property):
2067         Use g_atomic_int_set() instead of gst_atomic_int_set().
2068
2069 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
2070
2071         * gst/gstquery.c:
2072           Also use G_GINT64_CONSTANT for the queries.
2073
2074 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
2075
2076         * gst/gstmessage.c:
2077           Use G_GINT64_CONSTANT in varargs function.
2078
2079 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
2080
2081         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
2082         Initialize the registry magic with zeroes.
2083
2084 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
2085
2086         * gst/gstregistrybinary.c: (_gst_crc32),
2087         (gst_registry_binary_write),
2088         (gst_registry_binary_initialize_magic),
2089         (gst_registry_binary_write_cache),
2090         (gst_registry_binary_check_magic),
2091         (gst_registry_binary_read_cache):
2092         * gst/gstregistrybinary.h:
2093         Add crc32 checksum to the binary registry file and check this before
2094         accepting a registry file.
2095
2096         Also free the data list when writing to the registry file fails.
2097
2098 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
2099
2100         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
2101         (gst_registry_binary_load_feature),
2102         (gst_registry_binary_load_plugin):
2103         If an element supports the Uri interface, returns a valid pointer
2104         to the supported URI protocols but this pointer contains nothing
2105         don't try to save that as it will corrupt the registry.
2106
2107         Don't unref the plugin if we added it to the registry already but
2108         fail to load a feature as gst_registry_add_plugin() takes ownership
2109         of the plugin.
2110
2111         Improve debugging a bit.
2112
2113 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
2114
2115         * gst/gsttaglist.h:
2116           Clarify some tag item docs after discussion on irc.
2117
2118 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
2119
2120         * docs/gst/gstreamer-docs.sgml:
2121           Remove commented out plugins (they have their own docs). Update
2122           comments.
2123
2124 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
2125
2126         * docs/gst/gstreamer-docs.sgml:
2127         * docs/gst/gstreamer-sections.txt:
2128         * gst/gstparamspecs.c:
2129         * gst/gstparamspecs.h:
2130           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
2131           docs to own section.
2132
2133         * gst/gstvalue.c:
2134           This now only documents GValue.
2135           
2136         * docs/libs/gstreamer-libs-sections.txt:
2137         * libs/gst/controller/gstcontroller.h:
2138           Remove GST_PARAM_CONTROLLABLE.
2139
2140 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
2141
2142         * docs/README:
2143           Correct file path. Tell about how to use -overrides.txt.
2144         * docs/design/draft-tagreading.txt:
2145           Small design update.
2146
2147 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
2148
2149         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
2150         (gst_registry_binary_load_plugin):
2151         Fix a typo in a debug message and revert change from yesterday as
2152         gst_registry_add_plugin() will only fail if something is really wrong
2153         already and we can't survive it anyway.
2154
2155 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
2156
2157         * gst/gst.c: (init_post), (gst_deinit):
2158           Pre-register GstGError GType from a thread-safe context
2159           (fixes #527967); unref enum type classes in deinit.
2160
2161 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2162
2163         Patch by: Rene Stadler <mail at renestadler de>
2164
2165         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
2166           Merging an empty list with another list in KEEP_ALL mode should
2167           yield an empty list as result and not the second list (#512578).
2168
2169         * tests/check/gst/gsttagsetter.c:
2170           Add unit test for tag merge modes and the aforementioned bug.
2171
2172 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2173
2174         Patch by: Rene Stadler <mail at renestadler de>
2175
2176         * gst/gsttaglist.h:
2177           Fix description to match the order in the table (#512577).
2178   
2179 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
2180
2181         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
2182
2183         * libs/gst/net/gstnettimepacket.h:
2184         * docs/libs/gstreamer-libs-sections.txt:
2185           Define socklen_t as int if it's not defined yet. Fixes compilation
2186           with MSVC6 and other versions where socklen_t is not defined in
2187           the windows headers (#518022).
2188
2189 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
2190
2191         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
2192         If gst_registry_add_plugin() fails our reference to the plugin is
2193         invalid so don't try to use it anymore and instead error out.
2194
2195 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2196
2197         * tools/gst-xmlinspect.c: (print_element_info), (main):
2198           De-cruft a bit. If no argument is specified, print all elements in
2199           XML syntax rather than a freestyle list of elements like gst-inspect.
2200           Also, don't print XML header chunk unless we actually have something
2201           to print (ie. don't print it before an error message); print error
2202           message to stderr not stdout. Remove support for printing plugin
2203           info (it would just output something freestyle along the lines of
2204           gst-inspect so far), which fixes #514507. Also add license header.
2205
2206 2008-04-11  Julien Moutte  <julien@fluendo.com>
2207
2208         Mac OS X love...
2209         * configure.ac: Merge platform specific defines, introduce a new
2210         define on OS X to remember that forking when updating registry is
2211         unsafe.
2212         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
2213         module.
2214         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
2215         is defined.
2216         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
2217         condition that leads to absolutely no plugins being registered on
2218         OS X.
2219
2220 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2221
2222         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
2223
2224         * gst/gstutils.c: (gst_pad_add_data_probe),
2225           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
2226           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
2227           (gst_pad_add_buffer_probe_full):
2228         * gst/gstutils.h:
2229         * docs/gst/gstreamer-sections.txt:
2230         * win32/common/libgstreamer.def:
2231           Add gst_pad_add_*_probe_full() functions with a notify callback that
2232           lets the caller free the data it passes to the probe functions. This
2233           is useful for bindings such as gst-python or gstreamermm (#526814).
2234           API: gst_pad_add_data_probe_full
2235           API: gst_pad_add_buffer_probe_full
2236           API: gst_pad_add_event_probe_full
2237
2238         * tests/check/gst/gstutils.c:
2239           Add minimal unit test to make sure freeing the data actually works
2240           as expected.
2241
2242         * tests/benchmarks/.cvsignore:
2243           Random cvsignore addendum.
2244
2245 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
2246
2247         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
2248           (GST_DEBUG_BIN_TO_DOT_FILE):
2249           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
2250           to it in the docs (since these are macros the types of the arguments
2251           won't be shown in the docs otherwise).
2252
2253 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2254
2255         * gst/gstpad.c:
2256           Do not abort on out of memory for pad_alloc_buffer.
2257
2258 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
2259
2260         * libs/gst/check/gstcheck.c:
2261           Remove blank line between symbol name ad parameters to fix gtkdoc
2262           warning.
2263
2264 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2265
2266         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2267
2268         * docs/gst/gstreamer-sections.txt:
2269         * gst/gstsegment.c:
2270         * gst/gstsegment.h:
2271         * win32/common/libgstreamer.def:
2272           Expose gst_segment_copy() to make things easier for the c++ bindings.
2273           Fixes #518932.
2274           API: gst_segment_copy()
2275
2276 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2277
2278         * gst/gst.c: (gst_init_get_option_group), (init_post):
2279           Fix const position; ref GType classes for enum types to work
2280           around thread-safety issues in GLib versions < 2.16.
2281
2282 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2283
2284         * docs/design/part-buffering.txt:
2285         Fix some typos and set the estimated total for push mode to -1.
2286
2287         * gst/gstquery.c: (gst_query_new_buffering):
2288         Set buffering-left to 0 as we're not buffering by default.
2289
2290         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
2291         Implement BUFFERING query.
2292
2293 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2294
2295         Based on patch by: Milosz Derezynski <internalerror gmail com>
2296
2297         * gst/gsterror.c: (_gst_stream_errors_init):
2298         * gst/gsterror.h:
2299           Add two new error codes for encrypted content. Fixes #524659.
2300           API: GST_STREAM_ERROR_DECRYPT
2301           API: GST_STREAM_ERROR_DECRYPT_NOKEY
2302
2303 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
2304
2305         * gst/gstquery.h:
2306           Fix typo.
2307
2308         * win32/common/libgstreamer.def:
2309           Add new functions.
2310
2311 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
2312
2313         * plugins/elements/gstidentity.c: (gst_identity_event),
2314         (gst_identity_start):
2315         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
2316         event after processing some data. Fixes bug #526042.
2317
2318 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2319
2320         * docs/gst/gstreamer-sections.txt:
2321         * gst/gstquery.c: (gst_query_parse_latency),
2322         (gst_query_set_buffering_percent),
2323         (gst_query_parse_buffering_percent),
2324         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
2325         * gst/gstquery.h:
2326         Rename _avail -> _range
2327         API: gst_query_set_buffering_range
2328         API: gst_query_parse_buffering_range
2329
2330 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2331
2332         * docs/design/part-buffering.txt:
2333         * gst/gstquark.c:
2334         * gst/gstquark.h:
2335         * gst/gstquery.c: (gst_query_parse_latency),
2336         (gst_query_new_buffering), (gst_query_set_buffering_percent),
2337         (gst_query_parse_buffering_percent):
2338         * gst/gstquery.h:
2339         Add busy field and quark for the buffering query so that the app can
2340         only use the query to see if buffering is in progress.
2341
2342 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2343
2344         * docs/gst/gstreamer-sections.txt:
2345         * gst/gstmessage.c: (gst_message_set_buffering_stats),
2346         (gst_message_parse_buffering_stats):
2347         * gst/gstmessage.h:
2348         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
2349         (gst_query_parse_latency), (gst_query_new_buffering),
2350         (gst_query_set_buffering_percent),
2351         (gst_query_parse_buffering_percent),
2352         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
2353         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
2354         * gst/gstquery.h:
2355         Reorder the message docs and headers for clarity.
2356         Add aditional buffering stats API for messages.
2357         Add buffering query.
2358         Convert some leftover queries to use GstQuark.
2359         API: gst_message_set_buffering_stats
2360         API: gst_message_parse_buffering_stats
2361         API: GST_QUERY_BUFFERING
2362         API: GstBufferingMode
2363         API: gst_query_new_buffering
2364         API: gst_query_set_buffering_percent
2365         API: gst_query_parse_buffering_percent
2366         API: gst_query_set_buffering_stats
2367         API: gst_query_parse_buffering_stats
2368
2369 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2370
2371         * gst/gstmessage.c: (gst_message_new_error),
2372         (gst_message_new_warning), (gst_message_new_info),
2373         (gst_message_new_buffering), (gst_message_new_state_changed),
2374         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
2375         (gst_message_new_new_clock), (gst_message_new_segment_start),
2376         (gst_message_new_segment_done), (gst_message_new_duration),
2377         (gst_message_new_async_start), (gst_message_parse_buffering),
2378         (gst_message_parse_state_changed),
2379         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2380         (gst_message_parse_new_clock), (gst_message_parse_error),
2381         (gst_message_parse_warning), (gst_message_parse_info),
2382         (gst_message_parse_segment_start),
2383         (gst_message_parse_segment_done), (gst_message_parse_duration),
2384         (gst_message_parse_async_start):
2385         Use GstQuark for messages.
2386
2387 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2388
2389         * gst/gstquark.c: (_priv_gst_quarks_initialize):
2390         * gst/gstquark.h:
2391         Add some more quarks needed for messages and queries.
2392
2393 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
2394
2395         * docs/design/part-buffering.txt:
2396         Remove the "none" buffering mode, STREAM is a good default.
2397         Move estimated-time to the avail query, that's when it will be needed.
2398         Other small typo fixes and updates.
2399
2400 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2401
2402         * gst/gstindex.c: (gst_index_resolver_get_type):
2403           Don't put descriptions into the nick field of a GEnumValue: it's not
2404           meant for that and some language bindings rely on the nick field to
2405           construct constants and the like. Fixes #526705.
2406
2407 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
2408
2409         * NEWS:
2410         * RELEASE:
2411         * gstreamer.doap:
2412           Merge other changes from 0.10.19 release branch.
2413
2414 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
2415
2416         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2417
2418         * configure.ac:
2419         Actually build dlls when cross-compiling with mingw32.
2420         Fixes bug #526247.
2421
2422 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
2423
2424         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
2425
2426         * gst/gstpoll.c:
2427         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
2428
2429 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2430
2431         * docs/design/draft-latency.txt:
2432         Fix typo.
2433
2434         * docs/design/part-buffering.txt:
2435         Update design docs with more buffering ideas.
2436
2437 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
2438
2439         * configure.ac:
2440           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2441
2442 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2443
2444         * configure.ac:
2445           Revert part that belongs to the preset patch.
2446
2447 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
2448
2449         * configure.ac:
2450           Add qoutes to the define. Fixes # 525961.
2451
2452 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
2453
2454         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
2455         (gst_file_index_load), (gst_file_index_add_id),
2456         (gst_file_index_get_assoc_entry):
2457         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
2458         (gst_mem_index_free_id), (gst_mem_index_add_id),
2459         (gst_mem_index_index_format):
2460         Use GSlice when possible.
2461
2462 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
2463
2464         * libs/gst/controller/gstinterpolationcontrolsource.c:
2465         (gst_control_point_free),
2466         (gst_interpolation_control_source_set_internal):
2467         Use GSlice for allocating the control points.
2468
2469 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
2470
2471         * plugins/elements/gsttypefindelement.c:
2472         (gst_type_find_element_class_init),
2473         (gst_type_find_element_set_property),
2474         (gst_type_find_element_get_property),
2475         (gst_type_find_element_activate):
2476         * plugins/elements/gsttypefindelement.h:
2477         Cleanup properties.
2478         Fix pad leak when peer query fails.
2479         We can still typefind when the peer returns -1.
2480         Add property to force caps and bypass typefinding. This will be used in
2481         uridecodebin.
2482         API::force-caps
2483
2484 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2485
2486         * configure.ac:
2487         Require GLib 2.12.
2488
2489         * gst/glib-compat-private.h:
2490         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
2491         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2492         Unconditionally use GSlice for allocation.
2493
2494         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
2495         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
2496         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
2497         (gst_structure_free):
2498         Use GSlice for allocation.
2499
2500 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
2501
2502         * gst/parse/Makefile.am:
2503         * gst/parse/grammar.tab.pre.c:
2504         * gst/parse/grammar.tab.pre.h:
2505         * gst/parse/lex._gst_parse_yy.pre.c:
2506         Require a new enough flex and bison and remove the parser hacks to use
2507         a pre-regenerated version.
2508
2509 2008-04-01  Julien Moutte  <julien@fluendo.com>
2510
2511         patch by: Jason Zhao <E3423C@motorola.com>
2512
2513         * configure.ac: Add a configure switch to disable option parsing
2514         in gst_init.
2515         Fixes #522882.
2516
2517 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2518
2519         * configure.ac:
2520         * gst/gstregistry.c:
2521           MacOS has plugins under .so or under .dylib. Add detection for MacOS
2522           and handle this case.
2523
2524         * gst/gst.c:
2525           Add a comment here describing, why we stat each plugin and not try to
2526           be smart.
2527
2528 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
2529
2530         * libs/gst/base/gstbasetransform.c:
2531         (gst_base_transform_prepare_output_buffer):
2532         Also unset the GAP flag on buffers if we're working inplace but
2533         the element is not GAP-aware.
2534
2535         Mark a comment as FIXME 0.11.
2536
2537 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2538
2539         * gst/gst.c:
2540           Fix type in log message and add one to ease seeing how long registry
2541           cache verification takes.
2542
2543         * gst/gstregistry.c:
2544           Only test plugin filenames against G_MODULE_SUFFIX.
2545
2546 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
2547
2548         * gst/gstdebugutils.c:
2549           Improve handling ghost/proxy pads.
2550
2551 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
2552
2553         * docs/gst/gstreamer-sections.txt:
2554         * gst/gstpad.c:
2555         * gst/gstpad.h:
2556           Expose macro to docs and fix link to it.
2557
2558 2008-03-27  Michael Smith <msmith@fluendo.com>
2559
2560         * libs/gst/dataprotocol/dataprotocol.c:
2561         (gst_dp_packet_from_event_1_0):
2562           When calculating GDP body CRC, use the correct pointer. 
2563           Fixes part of #522401.
2564
2565 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2566
2567         Patch by: Mark Nauwelaerts <manauw at skynet be>
2568
2569         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2570         (gst_identity_init), (gst_identity_prepare_output_buffer):
2571         Identity is not always a passthrough element, it can modify the buffer
2572         timestamps when it has a datarate and operates in single-segment mode.
2573         We therefore make it an in_place filter with a custom buffer prepare
2574         function that conditionally makes the input buffer metadata writable
2575         when needed.  Fixes #523985.
2576
2577 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2578
2579         Patch by: Mark Nauwelaerts <manauw at skynet be>
2580
2581         * gst/gstclock.h:
2582         * libs/gst/base/gstbasesrc.h:
2583         * libs/gst/base/gstbasetransform.c:
2584         * libs/gst/check/gstcheck.c:
2585         Small documentation fixes. Fixes #523978.
2586
2587 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2588
2589         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2590         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
2591         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
2592
2593 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2594
2595         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
2596         (single_queue_underrun_cb):
2597         When trying to make room in the queue, bump the max allowed buffers
2598         bigger than the current amount of buffers in the queue. this fixes some
2599         nasty deadlocks in multiqueue when dynamically changing the limits of
2600         the queue.
2601
2602 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2603
2604         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
2605
2606         * gst/gstcaps.c: (gst_caps_set_simple),
2607         (gst_caps_set_simple_valist), (gst_caps_intersect):
2608         * gst/gstcaps.h:
2609         Constify the field gchar * params in set_simple and friends.
2610         Fixes #522326.
2611
2612 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2613
2614         * gst/gstvalue.c: (gst_value_transform_object_string):
2615         Transform a GstObject to a more meaningfull string that includes the
2616         object type in addition to its name.
2617
2618 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
2619
2620         * ChangeLog:
2621           ChangeLog surgery to add bugnumber to commit.
2622
2623 2008-03-23  Rene Stadler  <mail@renestadler.de>
2624
2625         * libs/gst/base/gstbasetransform.c:
2626         (gst_base_transform_set_gap_aware): Fix confusing documentation.
2627
2628 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2629
2630         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2631         Rename constant everywhere and don't forget one occurence.
2632
2633 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2634
2635         * gst/gstregistrybinary.c: (gst_registry_binary_write):
2636         Align memory to the pointer size even if the architecture allows
2637         unaligned memory access. Unaligned memory access usually comes with
2638         performance penality.
2639
2640 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
2641
2642         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2643         (gst_registry_binary_check_magic),
2644         (gst_registry_binary_load_pad_template),
2645         (gst_registry_binary_load_feature),
2646         (gst_registry_binary_load_plugin):
2647         Align memory to the pointer size instead of always 32 bit. Fixes
2648         unaligned memory accesses on ia64 and friends.
2649
2650         * gst/gstregistrybinary.h:
2651         Bump binary registry format version for this as it changes the
2652         format on those architectures that don't have unaligned access
2653         and 64 bit pointers.
2654
2655 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2656
2657         * docs/pwg/advanced-dparams.xml:
2658         * docs/pwg/building-props.xml:
2659         * docs/pwg/other-source.xml:
2660         * gst/glib-compat.h:
2661         * gst/gstbin.c: (gst_bin_class_init):
2662         * gst/gstclock.c: (gst_clock_class_init):
2663         * gst/gstindex.c: (gst_index_class_init):
2664         * gst/gstobject.c: (gst_object_class_init):
2665         * gst/gstpad.c: (gst_pad_class_init):
2666         * gst/gstpipeline.c: (gst_pipeline_class_init):
2667         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2668         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2669         * libs/gst/base/gstbasetransform.c:
2670         (gst_base_transform_class_init):
2671         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
2672         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
2673         (_gst_check_fault_handler_sighandler),
2674         (_gst_check_fault_handler_setup), (gst_check_init):
2675         * libs/gst/controller/gstcontroller.c:
2676         (_gst_controller_class_init):
2677         * libs/gst/controller/gstlfocontrolsource.c:
2678         (gst_lfo_control_source_class_init):
2679         * libs/gst/net/gstnetclientclock.c:
2680         (gst_net_client_clock_class_init):
2681         * libs/gst/net/gstnettimeprovider.c:
2682         (gst_net_time_provider_class_init):
2683         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2684         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2685         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2686         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2687         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2688         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2689         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2690         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2691         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
2692         * plugins/elements/gstqueue.c: (gst_queue_class_init):
2693         * plugins/elements/gsttee.c: (gst_tee_class_init):
2694         * plugins/elements/gsttypefindelement.c:
2695         (gst_type_find_element_class_init):
2696         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2697         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
2698         use it everywhere for GParamSpecs that use static strings (i.e. all).
2699         This gives us less memory usage, fewer allocations and thus less
2700         memory defragmentation. Fixes bug #523806.
2701
2702 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
2703
2704         * gst/gstminiobject.c: (gst_value_dup_mini_object),
2705         (gst_param_spec_mini_object):
2706         * gst/gstminiobject.h:
2707         * win32/common/libgstreamer.def:
2708         * docs/gst/gstreamer-sections.txt:
2709         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
2710         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
2711         GstParamSpecMiniObject into a public header for this.
2712
2713         This make GstMiniObject a bit more consistent with GObject and makes
2714         it possible to extend the param specs.
2715
2716         gst_value_dup_mini_object is mainly useful for set_property methods.
2717
2718         Fixes bug #523798.
2719
2720         * tools/gst-inspect.c: (print_element_properties_info):
2721         Print something useful for GstMiniObject properties and not just
2722         "unknown type".
2723
2724 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2725
2726         * docs/gst/gstreamer-sections.txt:
2727         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2728         (gst_registry_binary_check_magic):
2729         * gst/gstregistrybinary.h:
2730         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
2731         and add it to the (private part) of the docs to fix the build.
2732
2733 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
2734
2735         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
2736         (gst_registry_binary_check_magic),
2737         (gst_registry_binary_read_cache):
2738         * gst/gstregistrybinary.h:
2739         Don't use GST_MAJORMINOR for the binary registry version. Instead
2740         hardcode a value that must be changed whenever the format changes
2741         in an incompatible way.
2742         Also don't GST_ERROR when there is a version mismatch, just
2743         regenerate the registry silently.
2744
2745 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
2746
2747         * configure.ac:
2748         Back to development - 0.10.18.1
2749
2750 === release 0.10.18 ===
2751
2752 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
2753
2754         * configure.ac:
2755           releasing 0.10.18, "So far away"
2756
2757 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
2758
2759         * configure.ac:
2760         * win32/common/config.h:
2761         0.10.17.4 pre-release
2762
2763 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
2764
2765         Patch by: Ole André Vadla Ravnås
2766             <ole dot andre dot ravnas at tandberg dot com>
2767
2768         * docs/gst/gstreamer-sections.txt:
2769         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
2770         (gst_poll_update_winsock_event_mask),
2771         (gst_poll_prepare_winsock_active_sets),
2772         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
2773         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
2774         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
2775         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2776         (gst_poll_check_ctrl_commands), (gst_poll_wait):
2777         * gst/gstpoll.h:
2778         * win32/common/libgstreamer.def:
2779         Add new function gst_poll_fd_ignored() for improved Windows
2780         compatibility.
2781         Various minor fixes and cleanups. See #520808.
2782
2783 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
2784
2785         * gst/gstindex.c: (gst_index_entry_free):
2786         * gst/gstindex.h:
2787           Don't free key strings which we don't own. Fixes crash in
2788           gst_index_entry_free() (#522741).
2789
2790         * tests/check/Makefile.am:
2791         * tests/check/gst/.cvsignore:
2792         * tests/check/gst/gstindex.c: (test_index_entries),
2793           (gst_index_suite), (gst_index):
2794           Add unit test for the above.
2795
2796 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
2797
2798         * win32/common/libgstreamer.def:
2799         Remove symbols that were removed recently. Fixes bug #521740.
2800
2801 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
2802
2803         * configure.ac:
2804         * win32/common/config.h:
2805         0.10.17.3 pre-release
2806
2807 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2808
2809         Patch by: Ole André Vadla Ravnås
2810             <ole dot andre dot ravnas at tandberg dot com>
2811
2812         * docs/gst/gstreamer-sections.txt:
2813         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2814         (gst_poll_update_winsock_event_mask), (gst_poll_new),
2815         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2816         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2817         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2818         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2819         (gst_poll_fd_can_write), (gst_poll_wait),
2820         (gst_poll_set_controllable), (gst_poll_restart),
2821         (gst_poll_set_flushing):
2822         * gst/gstpoll.h:
2823         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2824         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2825         (gst_net_time_provider_new):
2826         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2827         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2828         * tests/benchmarks/gstpollstress.c: (main):
2829         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2830         Remove GstPollMode from the API, it does not make sense to let the
2831         application control this.
2832         Add support for Win32.
2833         Fix the testsuite. Fixes #520671.
2834
2835 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
2836
2837         Patch by: Ole André Vadla Ravnås
2838             <ole dot andre dot ravnas at tandberg dot com>
2839
2840         * gst/gstregistrybinary.c:
2841         Include io.h for write() and close() when building with MSVC. Fixes
2842         bug #520877.
2843
2844 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
2845
2846         * configure.ac:
2847         * gst/gst_private.h:
2848         * gst/gstconfig.h.in:
2849         * gst/gstregistry.h:
2850         * gst/gstregistrybinary.c:
2851         * win32/common/gstconfig.h:
2852           Move registry backend API to private headers where we can. Add
2853           fixme-0.11 comments for the others. Add stubs for the xml backend when
2854           using the binary to ensure they functions exists (they should not be
2855           used though). Fixes #520756.
2856
2857 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
2858
2859         * configure.ac:
2860         * win32/common/config.h:
2861         0.10.17.2 prelease
2862
2863 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2864
2865         * gst/gstregistrybinary.c: (gst_registry_binary_write),
2866         (gst_registry_binary_read_cache):
2867         * gst/gstregistryxml.c: (gst_registry_save):
2868         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2869         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2870         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2871         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2872         Switch to using portabl gsize/gssize instead of size_t/ssize_t
2873         Fixes #520152
2874
2875 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
2876
2877         * gst/gstminiobject.c:
2878         Import gst_private.h before any other header that might include other
2879         glib headers. This fixes the build on windows using native compilers.
2880
2881 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2882
2883         * win32/common/gstconfig.h:
2884           Add here too, just for completeness.
2885
2886 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2887
2888         * configure.ac:
2889         * gst/gstconfig.h.in:
2890         * gst/gstregistry.h:
2891           Fix broken use of config.h-defined preprocessor directive in a public
2892           header file. Add a corresponding define to gstconfig.h, since we can't
2893           really remove those function declarations from the header file now
2894           (or can we? and why are they there in the first place?).
2895
2896 2008-03-03  Andy Wingo  <wingo@pobox.com>
2897
2898         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2899         the new warning.
2900
2901         * gst/gststructure.c (gst_structure_from_string): Warn if
2902         structure_from_string didn't consume the whole string, but the
2903         caller did not provide an end pointer.
2904
2905 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
2906
2907         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2908
2909         * gst/gstregistryxml.c: (read_string), (load_feature):
2910           Strings allocated by libxml2 should be freed with xmlFree(), not
2911           with g_free(). Fixes issues on windows in certain contexts (#519698).
2912
2913 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
2914
2915         * gst/gstinterface.c: (gst_element_implements_interface):
2916           Don't crash if the element supports the interface queried, but does
2917           not implement GstImplementsInterface. Fixes #519584.
2918
2919         * tests/check/Makefile.am:
2920         * tests/check/gst/.cvsignore:
2921         * tests/check/gst/gstinterface.c:
2922           Add unit test for the above.
2923
2924 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2927         Small doc update.
2928
2929 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2930
2931         * gst/gstsegment.c: (gst_segment_set_seek),
2932         (gst_segment_to_stream_time):
2933         Improve some comment.
2934         Update variables where it makes more sense.
2935
2936 2008-02-29  Rene Stadler  <mail@renestadler.de>
2937
2938         * gst/gsturi.c: (gst_uri_handler_get_protocols):
2939         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
2940         URIHandlers implemented using language bindings.
2941
2942 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2943
2944         * gst/gstelementfactory.h:
2945         * tests/check/elements/fakesink.c:
2946         * tests/check/elements/fakesrc.c: (setup_fakesrc):
2947         * tests/check/elements/fdsrc.c: (setup_fdsrc):
2948         * tests/check/elements/filesink.c: (setup_filesink):
2949         * tests/check/elements/filesrc.c: (setup_filesrc):
2950         * tests/check/elements/identity.c: (setup_identity):
2951         * tests/check/elements/tee.c:
2952         * tests/check/generic/sinks.c:
2953         * tests/check/generic/states.c: (setup), (teardown):
2954         * tests/check/gst/gst.c:
2955         * tests/check/gst/gstabi.c:
2956         * tests/check/gst/gstbin.c:
2957         * tests/check/gst/gstbus.c: (pull_messages):
2958         * tests/check/gst/gstcaps.c:
2959         * tests/check/gst/gstelement.c:
2960         * tests/check/gst/gstevent.c:
2961         * tests/check/gst/gstghostpad.c:
2962         * tests/check/gst/gstiterator.c:
2963         * tests/check/gst/gstmessage.c:
2964         * tests/check/gst/gstminiobject.c: (my_foo_init):
2965         * tests/check/gst/gstobject.c: (thread_name_object),
2966         (gst_object_suite):
2967         * tests/check/gst/gstpad.c:
2968         * tests/check/gst/gstplugin.c:
2969         * tests/check/gst/gstpoll.c:
2970         * tests/check/gst/gstquery.c:
2971         * tests/check/gst/gstsegment.c:
2972         * tests/check/gst/gststructure.c:
2973         * tests/check/gst/gstsystemclock.c:
2974         * tests/check/gst/gsttask.c:
2975         * tests/check/gst/gstutils.c:
2976         * tests/check/gst/gstvalue.c:
2977         * tests/check/gst/struct_hppa.h:
2978         * tests/check/gst/struct_i386.h:
2979         * tests/check/gst/struct_ppc32.h:
2980         * tests/check/gst/struct_ppc64.h:
2981         * tests/check/gst/struct_x86_64.h:
2982         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2983         * tests/check/libs/basesrc.c:
2984         * tests/check/libs/controller.c: (GST_START_TEST):
2985         * tests/check/libs/gdp.c:
2986         * tests/check/libs/gstnetclientclock.c:
2987         * tests/check/libs/gstnettimeprovider.c:
2988         * tests/check/libs/libsabi.c:
2989         * tests/check/libs/struct_hppa.h:
2990         * tests/check/libs/struct_i386.h:
2991         * tests/check/libs/struct_ppc32.h:
2992         * tests/check/libs/struct_ppc64.h:
2993         * tests/check/libs/struct_x86_64.h:
2994         * tests/check/pipelines/cleanup.c:
2995         * tests/check/pipelines/simple-launch-lines.c:
2996         * tests/check/pipelines/stress.c:
2997         And correct even more valid sparse warnings.
2998
2999         * win32/common/libgstreamer.def:
3000         Add gst_poll_fd_init to the list of symbols.
3001
3002 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3003
3004         * gst/gstconfig.h.in:
3005         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
3006         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
3007         (gst_check_log_critical_func), (gst_check_drop_buffers),
3008         (gst_check_element_push_buffer_list):
3009         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
3010         (gst_controller_get_type):
3011         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
3012         (gst_object_get_controller), (gst_object_get_control_source):
3013         * libs/gst/controller/gstinterpolationcontrolsource.c:
3014         (gst_interpolation_control_source_new):
3015         * libs/gst/controller/gstlfocontrolsource.c:
3016         (gst_lfo_control_source_new):
3017         * libs/gst/dataprotocol/dataprotocol.c:
3018         (gst_dp_event_from_packet_0_2):
3019         * plugins/elements/gstfdsrc.c:
3020         * plugins/elements/gstmultiqueue.c:
3021         * plugins/elements/gsttee.c:
3022         * plugins/elements/gsttypefindelement.c:
3023         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
3024         (gst_file_index_add_association):
3025         * plugins/indexers/gstmemindex.c:
3026         * tests/benchmarks/gstpollstress.c: (mess_some_more):
3027         * tests/check/elements/queue.c: (setup_queue):
3028         * tests/check/gst/gstpipeline.c:
3029         * tests/check/libs/collectpads.c: (setup), (teardown),
3030         (gst_collect_pads_suite):
3031         * tests/examples/adapter/adapter_test.c:
3032         * tests/examples/metadata/read-metadata.c: (make_pipeline):
3033         * tests/examples/xml/createxml.c:
3034         * tests/examples/xml/runxml.c:
3035         * tools/gst-inspect.c:
3036         * tools/gst-run.c:
3037         Correct all relevant warnings found by the sparse semantic code
3038         analyzer. This include marking several symbols static, using
3039         NULL instead of 0 for pointers, not using variable sized arrays
3040         on the stack, moving variable declarations to the beginning of
3041         a block and using "foo (void)" instead of "foo ()" for declarations.
3042
3043 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
3044
3045         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3046         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3047         Don't reset GstPollFDs, this is not necessary at all.
3048
3049         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3050         (delayed_restart), (delayed_control):
3051         Use GST_POLL_FD_INIT.
3052
3053 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3054
3055         * gst/gstpoll.c: (gst_poll_fd_init):
3056         * gst/gstpoll.h:
3057         Added Since tags.
3058
3059         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
3060         Use some more init macros.
3061
3062 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3063
3064         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
3065         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3066         Use init macros and functions.
3067
3068 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
3069
3070         * docs/gst/gstreamer-sections.txt:
3071         * gst/gstpoll.c: (gst_poll_fd_init):
3072         * gst/gstpoll.h:
3073         Add INIT macro and _init method for initializing the GstPollFD.
3074
3075 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
3076
3077         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
3078         (gst_fd_sink_update_fd):
3079         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
3080         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3081         (delayed_restart), (delayed_control):
3082         Initialize some uninitialized variables as spotted by valgrind.
3083
3084 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
3085
3086         * tests/benchmarks/Makefile.am:
3087         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
3088         (main):
3089         Add poll stress test.
3090
3091 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
3092
3093         Patch by: Peter Kjellerstedt <pkj at axis dot com>
3094
3095         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3096         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
3097         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
3098         * plugins/elements/gstfdsink.h:
3099         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
3100         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
3101         (gst_fd_src_unlock_stop), (gst_fd_src_create),
3102         (gst_fd_src_uri_set_uri):
3103         * plugins/elements/gstfdsrc.h:
3104         Port to GstPoll. See #505417.
3105
3106 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
3107
3108         * win32/common/libgstreamer.def:
3109         Add new gst_poll_ symbols to win32 defs.
3110
3111 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
3112
3113         * docs/libs/gstreamer-libs-sections.txt:
3114         * libs/gst/net/gstnetclientclock.c:
3115         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
3116         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3117         (gst_net_client_clock_thread), (gst_net_client_clock_start),
3118         (gst_net_client_clock_stop), (gst_net_client_clock_new):
3119         * libs/gst/net/gstnetclientclock.h:
3120         * libs/gst/net/gstnettimeprovider.c:
3121         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
3122         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3123         (gst_net_time_provider_start), (gst_net_time_provider_stop),
3124         (gst_net_time_provider_new):
3125         * libs/gst/net/gstnettimeprovider.h:
3126         Use a private stuct to not break ABI.
3127
3128 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
3129
3130         Patch by: Peter Kjellerstedt <pkj at axis dot com>
3131
3132         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
3133         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
3134         (gst_net_client_clock_thread), (gst_net_client_clock_start),
3135         (gst_net_client_clock_stop), (gst_net_client_clock_new):
3136         * libs/gst/net/gstnetclientclock.h:
3137         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
3138         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
3139         (gst_net_time_provider_start), (gst_net_time_provider_stop),
3140         (gst_net_time_provider_new):
3141         * libs/gst/net/gstnettimeprovider.h:
3142         Massive code removal and cleanups because of GstPoll.
3143         Fixes #505417.
3144
3145 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
3146
3147         * configure.ac:
3148         Add checks for poll, ppoll and pselect.
3149
3150         * docs/gst/gstreamer-docs.sgml:
3151         * docs/gst/gstreamer-sections.txt:
3152         Add docs for GstPoll.
3153
3154         * gst/Makefile.am:
3155         * gst/gst.h:
3156         * gst/gstpoll.c: (find_index), (selectable_fds),
3157         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
3158         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
3159         (gst_poll_set_mode), (gst_poll_get_mode),
3160         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
3161         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
3162         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
3163         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
3164         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
3165         (gst_poll_fd_can_write), (gst_poll_wait),
3166         (gst_poll_set_controllable), (gst_poll_restart),
3167         (gst_poll_set_flushing):
3168         * gst/gstpoll.h:
3169         Add generic poll abstraction. We ideally don't want to have this in core
3170         here but in glib intead...
3171         This code will be used in various network elements and ultimately for
3172         the nanosecond precision monotonic clock (that's why it's here in core).
3173         It'll allow us to implement cancelable socket operations for windows too.
3174
3175         * tests/check/Makefile.am:
3176         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
3177         (delayed_stop), (delayed_restart), (delayed_flush),
3178         (delayed_control), (gst_poll_suite):
3179         Add GstPoll unit test.
3180
3181 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
3182
3183         * gst/gstfilter.c:
3184           Improve documentation of gst_filter_run(). Fixes #518627.
3185
3186 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3187
3188         * docs/README:
3189           Add a few lines about the new 'check-inspected-versions' target.
3190
3191 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * tests/check/gst/gstevent.c:
3194           Add qos to the event test. Rename tcase/tsuite; is not only about
3195           custom events.
3196
3197 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * plugins/elements/gstqueue.c:
3200           Ensure that buffer metadata is writeable, before modifying. Spotted by
3201           Mike.
3202
3203 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
3204
3205         * plugins/elements/gstqueue.c:
3206         * plugins/elements/gstqueue.h:
3207           When dropping buffers in leaky modes, mark next buffers we sent as
3208           DISCONT.
3209
3210 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3211
3212         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
3213           Also, if mmap() fails that would be a READ error, not OPEN_READ.
3214
3215 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
3216
3217         * plugins/elements/Makefile.am:
3218         * plugins/elements/gstbufferstore.c:
3219         * plugins/elements/gstbufferstore.h:
3220         * plugins/elements/gsttypefindelement.h:
3221           Remove GstBufferStore, no idea why we were still building it.
3222           It's not used anywhere and superseded by GstAdapter.
3223
3224         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
3225           (gst_file_src_create_mmap):
3226         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
3227           Printf format fixes for 64-bit integers.
3228
3229 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3230
3231         * configure.ac:
3232         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
3233         We're not in 0.8 times anymore.
3234
3235 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
3236
3237         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
3238         (gst_check_element_push_buffer_list):
3239         * libs/gst/check/gstcheck.h:
3240         Make the declaration in the header for
3241         gst_check_element_push_buffer_list match the implementation.
3242
3243         Fix up spelling, grammar and wording of the documentation in a few
3244         places, and add the Since keyword to new API functions.
3245         Use g_list_delete_link instead of g_list_remove in
3246         gst_check_drop_buffers, since it's immeasurably more efficient.
3247
3248         * tests/check/elements/fakesrc.c: (GST_START_TEST):
3249         Use new gst_check_drop_buffers function where appropriate.
3250
3251         * win32/common/libgstbase.def:
3252         * win32/common/libgstreamer.def:
3253         Add new symbols gst_collect_pads_take_buffer, 
3254         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
3255         exports
3256
3257         Changelog surgery to add API keyword to new gst_check API.
3258
3259 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3260
3261         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
3262         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
3263         Update pre-generated flex files with flex 2.3.34.
3264
3265 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
3266
3267         * gst/gstminiobject.c:
3268           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
3269           friendly to subclasses and not require them to know all internals
3270           of their parent class.
3271
3272 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3273
3274         * docs/libs/gstreamer-libs-sections.txt:
3275         * libs/gst/base/gstcollectpads.c:
3276         * libs/gst/base/gstcollectpads.h:
3277           Add sub-buffer functions to collectpads. Fixes #516187.
3278           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
3279
3280 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
3281
3282         * gst/gstbuffer.c:
3283           Copy selected buffer-flags when creating subbuffers.
3284           Fixes #516395.
3285
3286 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
3287
3288         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
3289         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
3290         * gst/gstmessage.c: (gst_message_class_init),
3291         (gst_message_finalize):
3292         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
3293         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
3294         (gst_mmap_buffer_finalize):
3295         Properly chain up finalize functions to the parent class.
3296
3297 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
3298
3299         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
3300
3301         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
3302         (gst_index_set_resolver_full):
3303         * gst/gstindex.h:
3304         Add new function with option to dispose of user_data in resolver.
3305         Actually call the dispose function when finalizing the object and not
3306         just when changing the resolver/filter.
3307         API: GstIndex::gst_index_set_resolver_full()
3308
3309         * docs/gst/gstreamer-sections.txt:
3310         Add new function to docs. Fixes #515469.
3311
3312 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
3313
3314         * gst/gstindex.c: (gst_index_finalize):
3315         Chain up finalize to the parent class. Fixes leaking the GstObject
3316         name and other things.
3317
3318 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
3319
3320         * configure.ac:
3321         Make DISABLE_DEPRECATED defined *only* during CVS, not during
3322         pre-releases or releases.
3323
3324         * docs/faq/gst-uninstalled:
3325         Add gst-plugins-gl
3326
3327         * docs/random/release:
3328         Change one of the steps - we only upload core & base to Gnome FTP
3329
3330 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
3331
3332         * gst/gstconfig.h.in:
3333           Add 'id' for example.
3334
3335         * gst/gstpad.c:
3336         * gst/gstutils.c:
3337         * plugins/elements/gstfdsink.c:
3338           Link to signals. Doc and comment fixes.
3339
3340 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
3343         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
3344           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
3345           unused and unimplemented; finally, it is plugin features, not
3346           plugins, that have ranks.
3347           
3348 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3349
3350         * gst/gstpluginfeature.h:
3351           Clarify GstRank range docs.
3352
3353 2008-02-05  David Schleef  <ds@schleef.org>
3354
3355         * gst/gst.c: Add a separate gst_deinitialized that prevents
3356           gst_init() from being called after gst_deinit().  Fixes #509559
3357
3358 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
3359
3360         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
3361         (gst_bin_class_init):
3362         * gst/gstelement.c: (gst_element_base_class_init),
3363         (gst_element_class_add_pad_template):
3364         * gst/gstpadtemplate.c: (gst_pad_template_init):
3365         * gst/gstpipeline.c: (gst_pipeline_get_type),
3366         (gst_pipeline_base_init), (gst_pipeline_class_init):
3367         * libs/gst/base/gstbasesink.c:
3368         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3369         (gst_base_src_base_init), (gst_base_src_class_init):
3370         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3371         (gst_capsfilter_class_init):
3372         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3373         (gst_fake_sink_class_init):
3374         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3375         (gst_fake_src_class_init):
3376         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3377         (gst_fd_sink_class_init):
3378         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3379         (gst_fd_src_class_init):
3380         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3381         (gst_file_sink_class_init):
3382         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3383         (gst_file_src_class_init):
3384         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3385         (gst_identity_class_init):
3386         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3387         (gst_multi_queue_class_init):
3388         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3389         (gst_queue_class_init):
3390         * plugins/elements/gsttee.c: (gst_tee_base_init),
3391         (gst_tee_class_init):
3392         * plugins/elements/gsttypefindelement.c:
3393         (gst_type_find_element_base_init),
3394         (gst_type_find_element_class_init):
3395         * tests/check/gst/gstelement.c: (gst_element_suite):
3396         Revert previous changes to the behaviour of GstPadTemplates, etc
3397         and the possiblity to call them in class_init as it breaks too
3398         many elements. Reopens bug #491501.
3399
3400         Should be applied again for 0.11, thus added a few FIXME 0.11 at
3401         several places.
3402
3403 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
3404
3405         * tools/gst-launch.c:
3406         Dump one graph per pipeline state-change and state change name
3407         (if GST_DEBUG_DUMP_DOT_DIR is set).
3408
3409 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
3410
3411         * gst/gstpad.c:
3412         * tests/check/gst/gstpad.c:
3413         Be sure that we have a new copy of the caps and not
3414         reffed caps from a template
3415
3416 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3417
3418         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3419         * gst/gstpipeline.c: (gst_pipeline_get_type),
3420         (gst_pipeline_class_init):
3421         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
3422         (gst_base_sink_class_init):
3423         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
3424         (gst_base_src_class_init):
3425         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
3426         (gst_base_transform_class_init):
3427         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3428         (gst_collect_pads_class_init):
3429         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
3430         * libs/gst/net/gstnettimeprovider.c:
3431         (gst_net_time_provider_base_init),
3432         (gst_net_time_provider_class_init):
3433         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
3434         (gst_capsfilter_class_init):
3435         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
3436         (gst_fake_sink_class_init):
3437         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
3438         (gst_fake_src_class_init):
3439         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
3440         (gst_fd_sink_class_init):
3441         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
3442         (gst_fd_src_class_init):
3443         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
3444         (gst_file_sink_class_init):
3445         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
3446         (gst_file_src_class_init):
3447         * plugins/elements/gstidentity.c: (gst_identity_base_init),
3448         (gst_identity_class_init):
3449         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
3450         (gst_multi_queue_class_init):
3451         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3452         (gst_queue_class_init):
3453         * plugins/elements/gsttee.c: (gst_tee_base_init),
3454         (gst_tee_class_init):
3455         * plugins/elements/gsttypefindelement.c:
3456         (gst_type_find_element_base_init),
3457         (gst_type_find_element_class_init):
3458         Don't use base_init where not absolutely necessary. For example it's
3459         not necessary anymore for adding pad templates or setting element
3460         details.
3461
3462         Leave empty base_init functions in several places as GST_BOILERPLATE
3463         still defines and uses them.
3464
3465 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
3466
3467         * gst/gstelement.c: (gst_element_base_class_init),
3468         (gst_element_class_add_pad_template):
3469         * gst/gstpadtemplate.c:
3470         Make it possible (and recommended) to set element details and add
3471         pad templates in the class_init functions by copying the details/pad
3472         templates in GstElement's base_init.
3473
3474         Also make it possible to replace existing pad templates by adding
3475         a new one with the same name. This was done in a hackish fashion
3476         in same elements before already.
3477
3478         Don't reference pad templates that are added a second time. A
3479         new pad template has a refcount of one and is not floating anymore
3480         and to be owned by the element's class. Make this more explicit by
3481         mentioning it in the docs of gst_element_class_add_pad_template().
3482
3483         These changes are backwards compatible. Fixes bug #491501.
3484
3485         * tests/check/gst/gstelement.c:
3486         Add unit test for setting element details, adding pad templates and
3487         replacing them in a subclass.
3488
3489 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
3490
3491         * tools/gst-inspect.c: (print_interfaces),
3492         (print_element_properties_info), (print_pad_info),
3493         (print_signal_info), (print_element_info):
3494         Fix a few memory leaks.
3495
3496 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3497
3498         * docs/libs/gstreamer-libs-sections.txt:
3499         * libs/gst/check/gstcheck.c:
3500         * libs/gst/check/gstcheck.h:
3501         Add more functions for unit testing: gst_check_drop_buffers,
3502         gst_check_caps_equal, gst_check_element_push_buffer_list,
3503         gst_check_element_push_buffer
3504         API: gst_check_drop_buffers
3505         API: gst_check_caps_equal
3506         API: gst_check_element_push_buffer_list
3507         API: gst_check_element_push_buffer
3508
3509 2008-02-01  Julien Moutte  <julien@fluendo.com>
3510
3511         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
3512         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
3513         (gst_index_finalize), (gst_index_entry_free),
3514         (gst_index_add_association): Fix memory leaks.
3515         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
3516         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
3517         (gst_mem_index_free_format), (gst_mem_index_free_id),
3518         (gst_mem_index_finalize): Fix memory leaks.
3519         * win32/common/config.h: Updated to CVS HEAD.
3520
3521 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3522
3523         * docs/README:
3524           Some more details about how the plugin docs works.
3525
3526         * docs/plugins/gstreamer-plugins-sections.txt:
3527           Whitespace cleanup.
3528
3529 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * gst/parse/grammar.tab.pre.c:
3532         * gst/parse/grammar.tab.pre.h:
3533         * gst/parse/grammar.y:
3534         * gst/parse/lex._gst_parse_yy.pre.c:
3535           Add delayed set-property. This allows to set properties on dynamicaly
3536           created objects (pads in videomxer). Fixes #509391.
3537
3538 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3539
3540         * gst/gstutils.c:
3541         Check if caps are not NULL (fix bug #510194)
3542
3543 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3544
3545         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
3546         (gst_base_sink_get_position_paused):
3547         Add fixme regarding EOS in pull mode.
3548         Fix position reporting in PAUSED for negative rates.
3549
3550 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3551
3552         * gst/gstminiobject.c: (gst_mini_object_replace):
3553         When replacing a miniobject, do a quick equality check first so that we
3554         can avoid a ref/unref pair.
3555
3556 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
3557
3558         * docs/design/part-synchronisation.txt:
3559         Update some docs.
3560
3561         * docs/plugins/Makefile.am:
3562         * docs/plugins/gstreamer-plugins-docs.sgml:
3563         * docs/plugins/gstreamer-plugins-sections.txt:
3564         * plugins/elements/gstmultiqueue.c:
3565         Add multiqueue to the docs.
3566
3567 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3568
3569         * configure.ac:
3570           Back to CVS
3571
3572 === release 0.10.17 ===
3573
3574 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
3575
3576         * configure.ac:
3577           releasing 0.10.17, "Due Negligence"
3578
3579 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3580
3581         * gst/gstutils.c:
3582         Revert caps != NULL check temporarily for 0.10.17 release.
3583
3584 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3585
3586         * gst/gstutils.c:
3587         Check if caps are not NULL (fix bug #510194)
3588
3589 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3590
3591         * gst/gstutils.c:
3592         Fix compilation on systems that have posix timers but no
3593         monotonic clock.
3594         Fixes: #512715
3595         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
3596         dot net>
3597
3598 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
3599
3600         * tools/gst-inspect.c:
3601         Revert previous commit in preparation for an impromptu 0.10.17 release
3602
3603 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
3604
3605         * tools/gst-inspect.c: (print_interfaces),
3606         (print_element_properties_info), (print_pad_info),
3607         (print_signal_info), (print_element_info):
3608         Fix a few memory leaks.
3609
3610 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
3611
3612         * configure.ac:
3613         Back to CVS
3614
3615 === release 0.10.16 ===
3616
3617 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
3618
3619         * configure.ac:
3620           releasing 0.10.16, "Special Dispensation"
3621
3622 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
3623
3624         * configure.ac:
3625           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
3626           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
3627           not fail when trying to crosscompile on OpenEmbedded (#511750).
3628
3629 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
3630
3631         * docs/manuals.mak:
3632         Use $(MAKE) instead of make to fix the build if GNU make is
3633         called different. Fixes bug #510747.
3634
3635 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3636
3637         * gst/gstplugin.c: (_gst_plugin_initialize):
3638           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
3639           again, which I broke two commits ago when changing the API
3640           of gst_plugin_register_static(): the g_list_foreach() in
3641           _gst_plugin_register_static still assumed the old function
3642           signature and would therefore fail (re-fixes #510187).
3643
3644         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
3645           (_gst_plugin_register_static), (gst_plugin_register_static):
3646           Revert the (technically correct) change to call g_thread_init() from
3647           the pre-main() constructor. This will break programs which call
3648           g_thread_init() without an if (!g_thread_supported()) guard in their
3649           main function. We could just blame it on GLib or the application, but
3650           it's probably best to just avoid this altogether and simply not use
3651           any GLib functions here and use plain old malloc() with a simple
3652           array to store the plugins to register later when gst_init() is
3653           finally called (re-fixes #510187).
3654
3655         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
3656           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
3657           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
3658           (GST_START_TEST), (gst_plugin_suite):
3659           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
3660           works.
3661
3662 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3663
3664         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3665           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
3666           This makes gtk-doc complain, but results in slightly better
3667           compiler errors. The old _gst_plugin_register_static() is
3668           still guarded, so there'll be a compiler warning about that
3669           instead. Fixes #510187 too.
3670
3671 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
3672
3673         * gst/gst.c: (init_post):
3674         * gst/gstplugin.c: (_gst_plugin_register_static),
3675           (gst_plugin_register_static), (_gst_plugin_initialize):
3676         * gst/gstplugin.h: (GstPluginFilter):
3677           Change API of gst_plugin_register_static() to not take
3678           a GstPluginDesc, but rather just take all the arguments
3679           in a GstPluginDesc directly. This is more intuitive and
3680           avoids certain mistakes when porting code from
3681           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
3682           Fixes #510187.
3683
3684         * tests/check/gst/gstplugin.c:
3685           Fix up for changed API.
3686
3687 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3688
3689         * docs/faq/legal.xml:
3690           Update FAQ, Totem actually has an exception these days.
3691
3692 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
3693
3694         * win32/common/libgstreamer.def:
3695         Add new API declarations
3696
3697 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3698
3699         * gst/gstminiobject.c:
3700           Spelling fixes for the API docs.
3701
3702 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
3703
3704         * libs/gst/base/gstbasetransform.c:
3705           Fix long property description for QoS.
3706
3707 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
3708
3709         * gst/gst.c:
3710         _gst_trace_on is already provided by gsttrace.h, no need to declare
3711         it ourselves.
3712
3713         * docs/libs/gstreamer-libs-sections.txt:
3714         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
3715         and remove strange tcase_add_test which is outputting a warning.
3716
3717         * libs/gst/check/gstcheck.c:
3718         * libs/gst/check/gstcheck.h:
3719         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
3720         and define them in gstcheck.c instead of having every .c file whcih
3721         includes gstcheck.h be defining its own copy and relying on symbol
3722         interposing to marry them all, which doesn't work on Solaris.
3723
3724         * tests/check/elements/identity.c: (GST_START_TEST):
3725         Don't define 'buffers' locally, it comes from libgstcheck.
3726
3727         * tests/check/generic/sinks.c: (send_buffer):
3728         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
3729
3730         * tests/check/gst/gststructure.c: (GST_START_TEST):
3731         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
3732         * tests/check/gst/gstutils.c: (GST_START_TEST):
3733         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3734         Add a bunch of casts to make various constants fit the types
3735         they're being assigned to.
3736
3737 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
3738
3739         * gst/gstchildproxy.c:
3740           Improve docs and add some ideas for making this more general-purpose.
3741
3742 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
3743
3744         * gst/gst_private.h: (GST_CAT_TYPES):
3745           Add GST_CAT_TYPES, for consistency, and so that the other
3746           debug categories don't make fun of it. Spotted by Saur on IRC.
3747
3748 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3749
3750         * gst/parse/Makefile.am:
3751           Move types.h from EXTRA_DIST to noinst_HEADERS.
3752
3753 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
3754
3755         * autogen.sh:
3756           Add -Wno-portability to the automake parameters to stop warnings
3757           about GNU make extensions being used. We require GNU make in almost
3758           every Makefile anyway.
3759
3760         * configure.ac:
3761           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
3762           at the same time is required for per target flags.
3763
3764 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * gst/gstmacros.h:
3767           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
3768           __GNUC__ is defined before using it.
3769
3770 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3771
3772         * docs/gst/gstreamer-sections.txt:
3773         * gst/gst.c: (init_post):
3774         * gst/gstplugin.c: (_gst_plugin_register_static),
3775           (gst_plugin_register_static), (_gst_plugin_initialize),
3776           (gst_plugin_register_func):
3777         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
3778           API: add gst_plugin_register_static() and deprecate
3779           GST_PLUGIN_DEFINE_STATIC, since it's not portable
3780           (#498924).
3781           Also, in _gst_plugin_register_static(), make sure to call
3782           g_thread_init() before calling GLib functions such as
3783           g_list_append() if we're not initialised yet, since that
3784           may lead to random crashes with older GSlice/GLib versions.
3785
3786         * tests/check/gst/gstplugin.c:
3787           Adapt unit test to above changes.
3788
3789 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3790
3791         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
3792         * gst/gstcaps.c: (gst_caps_to_string):
3793         * gst/gststructure.c: (GST_ASCII_IS_STRING),
3794           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
3795           Yet another gratuitous GString micro-optimisation: add a (private)
3796           function that serialises a structure appending to an existing
3797           GString, so that when we serialise caps we don't need to alloc+free
3798           a throwaway GString for each structure (each of which also entailing
3799           multiple reallocs on the way); also use g_string_sized_new() in
3800           various places with an approximate string length to avoid reallocs
3801           within GString. See #500143.
3802
3803 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3804
3805         * gst/gststructure.c: (gst_structure_id_set_value):
3806           Always check UTF-8 conformance of structure strings and not only
3807           if the debugging system is enabled; reasoning: the behaviour of
3808           the actual code shouldn't really change depending on whether the
3809           debugging system is enabled or not (#508291).
3810
3811 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
3812
3813         * Makefile.am:
3814           Remove old coverage target in favour of "make lcov".
3815
3816 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3817
3818         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3819         (gst_base_src_loop):
3820         The start segment for reverse playback goes from start to last_stop.
3821
3822 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3823
3824         Patch by: Peter Kjellerstedt <pkj axis com>
3825
3826         * gst/gstclock.h:
3827         Cast the results from the timeval/spec_to_time macros to what the
3828         docs say it casts to, a GstClockTime. fixes #508175.
3829
3830 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
3831
3832         * gst/gstbuffer.c:
3833         Update some comments.
3834
3835         * tools/gst-inspect.c: (print_element_properties_info):
3836         Improve printing of flags.
3837
3838 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
3839
3840         * libs/gst/base/gstbasetransform.c:
3841           (gst_base_transform_transform_size):
3842           Print element name with g_warning() if there's a problem
3843           with the unit size.
3844
3845 2008-01-07  David Schleef  <ds@schleef.org>
3846
3847         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3848
3849         * libs/gst/controller/gstcontroller.h:
3850         * libs/gst/controller/gstcontrolsource.h:
3851         * libs/gst/controller/gstinterpolationcontrolsource.h:
3852         * libs/gst/controller/gstlfocontrolsource.h:
3853         * libs/gst/dataprotocol/dataprotocol.h:
3854           Fix empty prototypes.  Fixes bug #507957.
3855
3856 2008-01-07  David Schleef  <ds@schleef.org>
3857
3858         * docs/faq/dependencies.xml: Fix typo.
3859
3860 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
3861
3862         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3863         (gst_base_src_loop):
3864         Don't update the last_stop position in do_seek, that's the position we
3865         did a seek to.
3866         Read backwards when we have a negative rate.
3867
3868         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3869         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3870         (filesrc_suite):
3871         Add check for reverse reading.
3872
3873 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
3874
3875         Patch by: Alexis Ballier <aballier at gentoo org>
3876
3877         * tests/check/gst/gstabi.c:
3878         * tests/check/gst/struct_ppc64.h:
3879         * tests/check/libs/libsabi.c:
3880         * tests/check/libs/struct_ppc64.h:
3881           Decide which header to include based on the userland ABI target
3882           and not the kernel/cpu. Fix up structure sizes of ppc64 header
3883           for 64-bit userland (#503590).  Might need something similar for
3884           x86 too.
3885
3886 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
3887
3888         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3889           Log the reason why fopen fails in addition to the fact that it failed.
3890           
3891 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
3892
3893         * gst/parse/parse.l:
3894         Use "%option never-interactive" to prevent useless calls to isatty()
3895         on every input when parsing. Also use "%option noinput" to not define
3896         the static input/yyinput functions which we don't use anyway. This
3897         removes a compiler warning with gcc 4.3 and saves some bytes in the
3898         library.
3899         
3900         * gst/parse/lex._gst_parse_yy.pre.c:
3901         Regenerated for the above change.
3902
3903 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
3904
3905         * gst/gstpad.c: (fixate_value):
3906         Don't crash when trying to fixate and empty list.
3907         Fixes #506643.
3908
3909 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
3910
3911         * docs/faq/gst-uninstalled:
3912         Clarify the comments to make the usage of this script and what it
3913         does easier to understand.
3914
3915 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
3916
3917         * tools/gst-plot-timeline.py:
3918         Add more options to gst-plot-timeline
3919
3920 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
3921
3922         * docs/design/part-synchronisation.txt:
3923         Some more info on how the stream_time in GstBaseSink is done.
3924
3925 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * tests/check/generic/sinks.c: (gst_sinks_suite):
3928           Put back the tcase_set_timeout(), apparently it's needed after
3929           all; fix it up in a way that makes things work with valgrind too.
3930
3931 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
3932
3933         * gst/gstdebugutils.c:
3934           Add warning when failed to open file for writing.
3935
3936 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3937
3938         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
3939
3940         * gst/gstvalue.c: (gst_value_is_fixed):
3941           Optimisation: bail out of the loop as early as possible (#500143).
3942
3943 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3944
3945         * gst/gstcaps.c: (gst_caps_to_string):
3946         * gst/gstinfo.c: (gst_debug_construct_term_color):
3947         * gst/gstparse.c: (gst_parse_launchv):
3948         * gst/gstutils.c: (gst_util_dump_mem):
3949         * gst/gstvalue.c: (gst_value_serialize_any_list),
3950           (gst_value_transform_any_list_string):
3951           Bunch of gratuitous nano-optimisations.
3952
3953 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
3954
3955         * tests/check/generic/sinks.c: (async_done_func),
3956           (async_done_eos_func):
3957           Fix leak in unit test (bus sync handler must unref the message
3958           if it returns GST_BUS_DROP). Don't fiddle with the default test
3959           timeout, this is smaller than the current preconfigured value
3960           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3961           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3962
3963 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3964
3965         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3966
3967         * configure.ac:
3968         Check for stdio_ext.h for the filesink changes.
3969
3970         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3971         (gst_file_sink_class_init), (gst_file_sink_init),
3972         (gst_file_sink_dispose), (gst_file_sink_set_property),
3973         (gst_file_sink_get_property), (gst_file_sink_open_file),
3974         (gst_file_sink_close_file):
3975         * plugins/elements/gstfilesink.h:
3976         Add two properties to control the buffering mode and size.
3977         API: GstFileSink::buffer-mode
3978         API: GstFileSink::buffer-size
3979         Fixes #500150.
3980
3981 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3982
3983         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3984         Add some more docs to explain why a FIXME was wrongly added. 
3985
3986 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3987
3988         * gst/gstobject.c:
3989           Fix typo in the gst_object_{ref,unref} documentation.
3990
3991 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3992
3993         * tests/check/libs/controller.c:
3994         * tests/check/libs/typefindhelper.c:
3995         * tests/check/pipelines/parse-launch.c:
3996           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3997           going to be deprecated (see #498924).
3998
3999 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * gst/gsttypefind.c: (gst_type_find_register):
4002           Make gst_type_find_register work for static typefind functions,
4003           ie. allow passing plugin == NULL (prerequisite for #498924).
4004
4005         * gst/gstelementfactory.c: (gst_element_register):
4006           Small docs addition.
4007
4008 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
4009
4010         * gst/gstpad.c: (gst_pad_dispose):
4011         Really unlink the peer pad instead of setting the peer pointer to NULL
4012         when we dispose the pad.
4013         This correctly calls the unlink functions and makes sure that the peer
4014         does not have a handle to invalid memory. See #504671.
4015
4016         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4017         Add testsuite for above case.
4018
4019 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
4020
4021         Patch by: Peter Kjellerstedt <pkj axis com>
4022
4023         * libs/gst/check/gstcheck.h:
4024           Fix detection of the check version we're compiling against (would
4025           otherwise break if check goes v0.10.0); correctly report the
4026           name of the failed test again in case of failure, instead of
4027           just 'tf' (fixes #504499).
4028
4029 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
4030
4031         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
4032         (gst_base_src_get_range), (gst_base_src_pad_get_range),
4033         (gst_base_src_loop), (gst_base_src_set_flushing),
4034         (gst_base_src_change_state):
4035         Allow sending EOS to the source to make it send out an EOS event from
4036         the streaming thread.
4037         Update docs and deprecate the old NULL/READY shutdown method.
4038
4039         * tests/check/libs/basesrc.c: (GST_START_TEST),
4040         (gst_basesrc_suite):
4041         Add unit test for controlled shutdown.
4042
4043 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
4044
4045         * docs/design/part-synchronisation.txt:
4046         Small updates.
4047
4048         * gst/gstsegment.c: (gst_segment_set_seek),
4049         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
4050         (gst_segment_to_running_time):
4051         The seek format can be different from the segment format when the start
4052         and stop values are not to be updated, when we only do a rate change for
4053         example.
4054
4055         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4056         (gst_segment_suite):
4057         Add a testcase for the rate-only seeks, checking that the format is
4058         correctly ignored when start and stop are not updated.
4059
4060 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
4061
4062         Patch by: Matthias Bolte <photon at mail dot upb dot de>
4063
4064         * win32/vs8/grammar.vcproj:
4065         * win32/vs8/libgstcontroller.vcproj:
4066         * win32/vs8/libgstreamer.vcproj:
4067         Fix compilation with VS8 and include some missing files.
4068
4069 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4070
4071         * gst/gsttaglist.c:
4072           Small docs addition: mention that the strings returned by
4073           gst_tag_list_get_string*() are in UTF-8 encoding.
4074
4075 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * Makefile.am:
4078           The check-exports stuff moved to common/win32.mak, so include that.
4079
4080 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
4081
4082         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4083         (gst_base_src_perform_seek), (gst_base_src_get_range),
4084         (gst_base_src_set_playing), (gst_base_src_change_state):
4085         Make _wait_playing() not check any variables so that we can call this
4086         function from subclasses. Move the checks elsewhere similar to
4087         _wait_preroll() in basesink.
4088         Add some debugging.
4089         Only signal the LIVE cond when we are going back to PLAYING.
4090
4091 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4092
4093         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
4094           Use g_remove() and g_rename(). Check result of g_rename(), and
4095           don't leak the open file descriptor if we error out when writing.
4096
4097         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
4098           Must check the return value of close() after writing out the new
4099           registry file.  Sometimes write problems such as out-of-diskspace
4100           are only reported when the file is closed and not already during
4101           the write.  This may have caused partial/broken registry files in
4102           some rare circumstances. Should fix #503675.
4103
4104 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
4105
4106         * docs/gst/.cvsignore:
4107         * docs/libs/.cvsignore:
4108         * docs/plugins/.cvsignore:
4109         Ignore files generated by new common/* modifications
4110
4111 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
4112
4113         * win32/common/libgstbase.def:
4114           Yes, you can also have a <TAB> if you want.
4115
4116 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
4117
4118         * win32/common/libgstbase.def:
4119           Add new basetransform API to win export file.
4120
4121 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
4122
4123         * tests/check/gst/gstbin.c:
4124           Adjust the test to the refcount change two days ago.
4125
4126 2007-12-14  David Schleef  <ds@schleef.org>
4127
4128         * docs/faq/getting.xml: Fix typo.
4129
4130 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
4131
4132         * docs/libs/gstreamer-libs-sections.txt:
4133         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4134           (gst_base_transform_prepare_output_buffer),
4135           (gst_base_transform_set_gap_aware):
4136         * libs/gst/base/gstbasetransform.h:
4137           API: Add gst_base_transform_set_gap_aware() to control whether
4138           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
4139           get buffers with this flag at all. Fixes #503231.
4140
4141 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
4142
4143         * libs/gst/base/gstbasesink.c:
4144         * libs/gst/base/gstbasesrc.c:
4145         * libs/gst/base/gstbasetransform.c:
4146           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
4147           thread. Correct log message in gstbasesrc.c.
4148
4149 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4150
4151         * gst/gstutils.c: (element_find_unconnected_pad):
4152           Fix possible compiler warning (#503417).
4153
4154 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
4155
4156         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
4157           Don't use GST_CAT_EVENT here for logging, it makes no sense.
4158
4159 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
4160
4161         * tools/gst-inspect.c: (print_element_properties_info):
4162           Add support for GstFraction properties.
4163
4164 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         * Makefile.am:
4167           Add check-exports target and run it as part of 'make check'
4168           (see #499140 and #493983).
4169
4170         * gst/gst_private.h:
4171         * gst/gstelementfactory.h:
4172         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
4173         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
4174           (_priv_gst_in_valgrind):
4175         * gst/gstinfo.h: (GstLogFunction):
4176         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
4177           (gst_type_find_register):
4178         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
4179           (gst_type_find_factory_get_type):
4180         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
4181           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
4182           (gst_controller_new_valist), (gst_controller_new_list),
4183           (_gst_controller_dispose), (_gst_controller_class_init):
4184         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
4185         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
4186           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
4187           (gst_object_get_controller), (gst_object_set_controller),
4188           (gst_object_suggest_next_sync), (gst_object_sync_values),
4189           (gst_object_set_control_source), (gst_object_get_control_source),
4190           (gst_object_get_value_arrays), (gst_object_get_value_array),
4191           (gst_object_get_control_rate), (gst_object_set_control_rate):
4192         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
4193         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
4194           Make some functions that should be static static; rename some
4195           private symbols so that they don't get exported; add some FIXME
4196           comments so we can move accidentally exported functions into
4197           our private section in 0.11.
4198
4199         * win32/common/libgstreamer.def:
4200           Add gst_utils_get_timestamp().
4201
4202 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4203
4204         * gst/gstvalue.c:
4205         * gst/gstvalue.h:
4206           Add more missing "Since:" tags to docs.
4207
4208 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
4209
4210         * gst/gstutils.c:
4211           Add mising "Since:" to docs.
4212
4213 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4214
4215         * gst/gstplugin.c:
4216           Include "glib-compat-private.h" to fix the build on system with
4217           glib < 2.10. Fixes #503131.
4218
4219 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4220
4221         * gst/gstutils.c:
4222         * gst/gstutils.h:
4223           Actually its not PURE as it gets the time from elsewhere.
4224
4225 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4226
4227         * docs/gst/gstreamer-sections.txt:
4228         * gst/gstclock.h:
4229         * gst/gstdebugutils.c:
4230         * gst/gstinfo.c:
4231         * gst/gstutils.c:
4232         * gst/gstutils.h:
4233         * libs/gst/base/gstbasesink.c:
4234         * tools/gst-launch.c:
4235           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
4236           uses as we don't have HAVE_POSIX_TIMERS in public headers.
4237           Thanks Tim for spotting.
4238           API: gst_util_get_timestamp
4239
4240 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
4241
4242         * configure.ac:
4243           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
4244
4245 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
4246
4247         * gst/gststructure.c: (gst_structure_validate_name),
4248           (gst_structure_new_valist), (gst_structure_parse_value),
4249           (gst_structure_from_string):
4250           Don't crash in _from_string() if the structure name is not valid
4251           (fixes #501560).  Allow structure names to start with a number
4252           again (this apparently broke the ubuntu codec installer).
4253
4254         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
4255           (GST_START_TEST):
4256           Add unit test for the crash; update unit tests for new behaviour.
4257
4258 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
4259
4260         * gst/gstutils.c:
4261         Clarify gst_element_get_compatible_pad() documentation.
4262         Fixes #500919.
4263
4264 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
4265
4266         * tests/check/Makefile.am:
4267           Don't forget to dist {gst,libs}/struct_hppa.h.
4268
4269 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4270
4271         * libs/gst/base/gstbasesink.c:
4272           Use new API to get elapsed time.
4273
4274 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4275
4276         * gst/gstdebugutils.c:
4277         * gst/gstinfo.c:
4278           Fix wrong order of args in GST_CLOCK_DIFF() usage.
4279
4280         * tools/gst-launch.c:
4281           Use new API to get elapsed time.
4282
4283 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4284
4285         * docs/gst/gstreamer-sections.txt:
4286         * gst/gstclock.h:
4287         * gst/gstdebugutils.c:
4288         * gst/gstinfo.c:
4289           Rename new API + ChangeLog surgery to remove old name from last entry..
4290
4291 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4292
4293         * docs/gst/gstreamer-sections.txt:
4294         * gst/gstclock.h:
4295         * gst/gstdebugutils.c:
4296         * gst/gstinfo.c:
4297           Now hide the different clock stuff behind a macro.
4298
4299 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
4300
4301         * configure.ac:
4302         * gst/gstdebugutils.c:
4303         * gst/gstinfo.c:
4304           Apply the posix-timer check from #361155. Conditionally use the posix
4305           timer for logging. This gives better timestamp precission, less
4306           overhead and no ntp jitter.
4307
4308 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
4309
4310         * gst/gstminiobject.c: (gst_mini_object_get_type),
4311         (gst_mini_object_class_init), (gst_mini_object_copy_default),
4312         (gst_mini_object_finalize), (gst_mini_object_copy),
4313         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
4314         (gst_mini_object_replace), (param_mini_object_validate),
4315         (gst_param_spec_mini_object_get_type):
4316         Some cleanup and checking against invalid function parameters.
4317
4318 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
4319
4320         * docs/gst/gstreamer-sections.txt:
4321         * gst/gstclock.h:
4322         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4323         (gst_systemclock_suite):
4324         Start merging in the easy bits of #361155, the monotonic clock patch.
4325         This one adds a few handy macros with docs and a testsuite.
4326
4327 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
4328
4329         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
4330         Be a bit smarter when seeking, like, don't try to do a seek when it's
4331         not needed. This avoids errors when the file is not seekable.
4332         Fixes #499771.
4333
4334 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
4335
4336         * docs/gst/gstreamer-docs.sgml:
4337         * docs/gst/gstreamer-sections.txt:
4338         * docs/gst/gstreamer.types.in:
4339         * gst/Makefile.am:
4340         * gst/gst.h:
4341         * gst/gstpreset.c:
4342         * gst/gstpreset.h:
4343         * plugins/elements/gstqueue.c:
4344           Due to popular request remove preset interface again. :-(.
4345
4346 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4347
4348         * tools/gst-inspect.c:
4349           Print 'default value' for enums and flags too.
4350
4351 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4352
4353         * docs/random/ensonic/profiling.txt:
4354           More ideas.
4355
4356         * gst/gstbin.c:
4357           Fix typo and give better log output.
4358
4359         * gst/gstdebugutils.c:
4360         * gst/gstdebugutils.h:
4361           More ideas, make graphs a bit smaller and fix param name in macro.
4362
4363 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
4364
4365         * gst/gstpreset.c:
4366           Try harder to use the return value from fgets().
4367
4368 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
4369
4370         * gst/gstpreset.c:
4371           For theses two fgets we handle the error below.
4372
4373 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4374
4375         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
4376         Only send upstream events upstream. Fixes #498746.
4377
4378 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
4379
4380         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
4381
4382         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4383         (gst_identity_init), (gst_identity_transform_ip),
4384         (gst_identity_set_property), (gst_identity_get_property):
4385         * plugins/elements/gstidentity.h:
4386         Add property to disable handoff signal emission. Fixes #498694.
4387         API: GstIdentity::signal-handoffs
4388
4389 2007-11-21  Julien Moutte  <julien@fluendo.com>
4390
4391         * docs/faq/gst-uninstalled: Yet another missing library for the
4392         uninstalled script (fft)
4393
4394 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
4395
4396         * docs/faq/developing.xml:
4397         Add a question about how to submit new translations.
4398
4399         * docs/random/release:
4400         Update the contact email address for the Translation Project
4401
4402         * plugins/elements/gstfdsrc.c:
4403         The parent_class for fdsrc is pushsrc, not GstElement.
4404
4405 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4406
4407         * gst/gstpreset.c:
4408           Plug a leak and fix saving.
4409
4410 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
4411
4412         * docs/gst/gstreamer-sections.txt:
4413         Add new gst_preset__get_property_names() function to the docs
4414         to fix the build.
4415
4416 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
4417
4418         * gst/gstpreset.c:
4419         * gst/gstpreset.h:
4420           Change _get_preset_names API to return a strv with copies. Add
4421           _get_property_names to allow implementations to filter and provide
4422           good default implementation.
4423
4424 2007-11-20  Julien MOUTTE  <julien@moutte.net>
4425
4426         * docs/faq/gst-uninstalled: Add another library to the uninstalled
4427         script (sdp).
4428
4429 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4430
4431         * gst/gstpreset.c:
4432           More cleanups, docs, and TODOs from comments that now slowly come in.
4433
4434 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4435
4436         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
4437         search path.
4438
4439 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
4440
4441         * gst/gstpreset.c:
4442           Fix bogus warning and make the property type specific code more
4443           similar.
4444
4445 2007-11-19  Julien MOUTTE  <julien@moutte.net>
4446
4447         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
4448         it build on OS X.
4449
4450 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
4451
4452         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4453         (gst_bin_add_func), (gst_bin_remove_func),
4454         (gst_bin_change_state_func), (gst_bin_continue_func):
4455         Change email, cleanups add some more debug and comments.
4456         Also set bus and clock on new elements when the pipeline was in error.
4457
4458 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
4459
4460         * gst/gstbin.c:
4461         * gst/gstdebugutils.c:
4462           Fix build with --disable-gst-debug. Fixes #497859.
4463           Spotted by Sameer Naik.
4464
4465 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4466
4467         * gst/gstevent.c:
4468           Little documentation improvment.
4469
4470         * gst/gstpreset.c:
4471           More TODO cleanups. Remove c++ comments.
4472
4473         * libs/gst/controller/gstcontroller.c:
4474           Add TODO and use quark from static string.
4475
4476         * tests/check/gst/gstmessage.c:
4477         * tests/check/gst/gststructure.c:
4478           Use quark from static string.
4479
4480 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4481
4482         * gst/gstpreset.c:
4483           Add some comments and TODOs.
4484
4485         * gst/gstpreset.h:
4486           Add padding for future changes.
4487
4488         * plugins/elements/gstqueue.c:
4489           Implement the iface.    
4490
4491 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
4492
4493         * docs/gst/gstreamer-docs.sgml:
4494         * docs/gst/gstreamer-sections.txt:
4495         * docs/gst/gstreamer.types.in:
4496         * gst/Makefile.am:
4497         * gst/gst.h:
4498         * gst/gstpreset.c:
4499         * gst/gstpreset.h:
4500           Add the preset interface (Fixes #396779). Do some doc cleanups along.
4501
4502 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
4503
4504         * configure.ac:
4505
4506         Back to CVS
4507
4508 === release 0.10.15 ===
4509
4510 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
4511
4512         * configure.ac:
4513           releasing 0.10.15, "October"
4514
4515 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
4516
4517         * win32/vs6/libgstreamer.dsp:
4518         Convert line endings back to DOS.
4519
4520 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
4521
4522         * docs/design/draft-tagreading.txt:
4523         * docs/random/ensonic/profiling.txt:
4524         Update fast tagreading draft and performance profiling ideas.
4525
4526 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4527
4528         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
4529         Don't hold the object lock when unreffing a buffer because it could
4530         cause a deadlock when the finalize function wants to grab the object
4531         lock too. Fixes #495133.
4532
4533 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
4534
4535         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
4536         (gst_segment_to_stream_time), (gst_segment_to_running_time):
4537         Also accumulate time correctly when doing reverse playback. Fixes
4538         #488201,
4539         When converting to running and stream time, use default values for
4540         start/stop/time/accum when comparing different formats. Fixes #494245.
4541
4542         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4543         Do running/stream time in TIME format.
4544
4545         * tests/check/gst/gstsegment.c: (GST_START_TEST),
4546         (gst_segment_suite):
4547         2 new unit tests for segment accumulation.
4548
4549 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         * gst/gst.c: (init_pre):
4552         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
4553           (_gst_debug_bin_to_dot_file):
4554           Move getenv() back into gst_init, so everyone can live happily
4555           ever after. Make sure the symbol isn't exported though.
4556
4557 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4558
4559         Patch by: Sebastien Moutte  <sebastien moutte net>
4560
4561         * win32/common/gstenumtypes.c:
4562         * win32/common/gstenumtypes.h:
4563           Update enum types.
4564
4565         * win32/vs6/libgstreamer.dsp:
4566           Update vs6 project files (#494343).
4567
4568 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4569
4570         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
4571         (gst_base_src_perform_seek), (gst_base_src_default_event),
4572         (gst_base_src_set_flushing), (gst_base_src_activate_push),
4573         (gst_base_src_activate_pull):
4574         Unify flushing code, remove some old unlock code that is no longer used.
4575         Take the streaming lock when seeking to avoid races. Fixes #492729.
4576         Added some more comments.
4577
4578 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4579
4580         * gst/gst.c: (_gst_disable_segtrap):
4581           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
4582           we can use gst_segtrap_is_enabled() there now that we have that API.
4583           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
4584           to do the getenv here (and export the variable).
4585
4586         * gst/gstdebugutils.c: (debug_dump_element),
4587           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
4588           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
4589
4590         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
4591           (gst_debug_log_default):
4592           Rename _gst_info_start_time to priv_gst_info_start_time so it
4593           doesn't get exported (was never in any header).
4594
4595         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
4596           (gst_plugin_loading_mutex):
4597           Make static mutex gst_plugin_loading_mutex really static (was never
4598           in any header), and use gst_segtrap_is_enabled() instead of
4599           _gst_disable_segtrap.
4600
4601         * gst/gsttrace.c: (_gst_trace_default):
4602           Make local _gst_trace_default static (was never in any header).
4603
4604 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4605
4606         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4607
4608         * win32/common/libgstbase.def:
4609         * win32/common/libgstcontroller.def:
4610         * win32/common/libgstdataprotocol.def:
4611         * win32/common/libgstnet.def:
4612         * win32/common/libgstreamer.def:
4613           Add more missing symbols, remove some duplicates, and sort
4614           as the 'sort' command sorts it (partially fixes #493983).
4615
4616 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4617
4618         * gst/gstelement.c: (gst_element_set_state_func):
4619         Only change the state cookie if a different state was set on the
4620         element. See #492729.
4621
4622 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
4623
4624         * gst/gstvalue.c:
4625           Remove unused and uninitialised type variables that were still
4626           exported for some reason (they were never in any header files
4627           though).
4628
4629 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4630
4631         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4632         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
4633         (gst_base_sink_event), (gst_base_sink_get_position_last),
4634         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4635         (gst_base_sink_change_state):
4636         Don't try to report a 0 position when we don't know, return -1 and FALSE
4637         instead. This mostly happens when we are prerolling.
4638         Make sure we can report the right position before we post the ASYNC_DONE
4639         message so that a message handler can query position without races.
4640
4641         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4642         (async_done_handoff), (async_done_func), (send_buffer),
4643         (async_done_eos_func), (gst_sinks_suite):
4644         Add two tests for the above.
4645
4646 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
4647
4648         * MAINTAINERS:
4649         Update with new email address.
4650
4651         * docs/design/part-TODO.txt:
4652         Add some more info about future pad-block and negotiation changes.
4653
4654         * docs/design/part-buffering.txt:
4655         Add some ideas about buffering reporting.
4656
4657 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
4658
4659         * tests/check/gst/gstobject.c:
4660         Disable silly racy test that always fails on this combination of CPU
4661         and kernel.
4662
4663 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
4664
4665         Patch by: Murray Cumming  <murrayc@murrayc.com>
4666
4667         * gst/gstobject.c:
4668           Corrected the registration of the parent-set and parent-unset
4669           signals: The parameter is a GstObject, not a GObject (#493134).
4670
4671 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4672
4673         * gst/gst_private.h:
4674         * gst/gstbuffer.h:
4675         * gst/gstevent.h:
4676         * gst/gstformat.h:
4677         * gst/gstmessage.h:
4678         * gst/gstplugin.h:
4679         * gst/gstquery.h:
4680         * gst/gsttaglist.h:
4681         * gst/gstvalue.h:
4682           Move declaration of private _gst_foo_initialize() functions into
4683           our private header file where they should have been all along.
4684
4685 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4686
4687         * docs/plugins/gstreamer-plugins-sections.txt:
4688         * gst/gstdebugutils.h:
4689         * gst/gstxml.h:
4690         * plugins/elements/gstqueue.c:
4691           gtk-doc fixes; trailing-comma-in-enum fix.
4692
4693 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
4694
4695         * gst/gst.c: (gst_deinit):
4696           Clean up on deinit (not the external ones though, doesn't seem to be
4697           needed for some reason).
4698
4699 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4700
4701         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
4702           Remove __declspec(dllimport) for MSVC that was copied over into core
4703           from a plugin, obviously without ever having been tested (note the
4704           single underscore in _declspec in the initial commit), and that doesn't
4705           really make sense.  See #492077.
4706
4707 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4708
4709         * gst/gst.c: (init_post):
4710         * gst/gstevent.c: (_gst_event_initialize):
4711         * gst/gstquery.c: (_gst_query_initialize):
4712         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
4713           g_type_class_ref() other types as well, see #349410 and #64764.
4714
4715         * gst/gstbuffer.c: (_gst_buffer_initialize):
4716         * gst/gstmessage.c: (_gst_message_initialize):
4717           Simplify existing g_type_class_ref().
4718
4719 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4720
4721         * gst/gstformat.c: (_gst_format_initialize):
4722           g_type_class_ref() our GstFormat type to make sure we avoid the
4723           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
4724           bug #64764. Should fix intermittent tee unit test failures (#474823).
4725
4726 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
4727
4728         * tests/check/elements/tee.c: (test_num_buffers):
4729           Simplify, simplify, simplify - or not.  Rewrite unit test
4730           not to use gst_parse_launch(); allow N sub-streams. Increasing
4731           the number of sub-streams seems to reproduce #474823 more easily.
4732
4733 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4734
4735         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
4736
4737         * gst/gsttrace.c:
4738         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
4739         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4740         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
4741           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
4742           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
4743           so use _pipe() directly (#492077).
4744
4745         * win32/common/dirent.c: (_treaddir):
4746           Add a couple of casts to make it build without warnings with MSVC.
4747
4748         * win32/common/libgstreamer.def:
4749           Add some more symbols that need to be exported.
4750
4751 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
4752
4753         * tests/examples/metadata/read-metadata.c: (message_loop):
4754           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
4755           arriving in a second or third tag message are added to
4756           the tag list as well.
4757
4758 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
4759
4760         * libs/gst/base/gstbasesrc.c:
4761           Its "Since:" and not "@Since:". And remove an superflous cast.
4762
4763 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
4764
4765         * docs/libs/gstreamer-libs-sections.txt:
4766         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4767         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
4768         (gst_base_sink_get_property), (gst_base_sink_render_object),
4769         (gst_base_sink_preroll_object),
4770         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4771         (gst_base_sink_change_state):
4772         * libs/gst/base/gstbasesink.h:
4773         Add a new last-buffer property that contains the last buffer used in
4774         basesink for preroll or rendering. useful for making snapshots.
4775         API: gst_base_sink_get_last_buffer()
4776         API: GstBaseSink::last-buffer
4777
4778 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4779
4780         * docs/gst/running.xml:
4781         * gst/gst.c:
4782         * gst/gstdebugutils.c:
4783         * gst/gstdebugutils.h:
4784         * tools/gst-launch.c:
4785           Improve bin graph dumping, by using the envvar to specify a path.
4786           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
4787
4788 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
4789
4790         * plugins/elements/gsttypefindelement.c:
4791           (gst_type_find_element_handle_event),
4792           (gst_type_find_element_activate):
4793           Post special error message if we can't determine the type of a stream
4794           because it's empty.
4795
4796 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
4797
4798         * docs/gst/running.xml:
4799         * gst/gstdebugutils.c:
4800           Document new env-var. Add one log-line after dumpng a graph.
4801
4802 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
4803
4804         * configure.ac:
4805           Ugly hack to put the (recently removed and non-portable, apparently)
4806           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4807           GNU ld, because without that 'make check' fails miserably on my debian
4808           stable box.  Someone with more knowledge of linker intricacies and
4809           portability issues than me fix this properly please.
4810
4811 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
4812
4813         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4814         Reset last seen position after flushing so that we don't report the old
4815         position anymore.
4816
4817 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4818
4819         * gst/gstelementfactory.c: (gst_element_register):
4820         * gst/gsturi.h:
4821         Patch from Alessandro Decina adding get_type_full and
4822         get_protocols_full private vfuncs to the URIHandler interface
4823         to allow bindings to support creating URI handlers. 
4824         Partially fixes: #339279
4825         API: GstURIHandlerInterface::get_type_full
4826         API: GstURIHandlerInterface::get_protocols_full
4827
4828 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4829
4830         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4831         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4832         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4833         Make it so that pads are considered linked until a buffer is pushed
4834         and discovered otherwise. This avoids problems with decodebin2 hanging
4835         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4836         case.
4837
4838         Make sure we lock the multiqueue when updating the max-size properties.
4839         
4840         Fix a crash on Solaris in a debug statement in get_request_pad that
4841         passes a NULL string to GST_DEBUG. 
4842
4843         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4844         (run_output_order_test):
4845         Fix the test to allow the first buffer on not-linked pads to come out
4846         of sequence while multiqueue discovers that they are not-linked.
4847
4848 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
4849
4850         * configure.ac:
4851         * libs/gst/check/Makefile.am:
4852         Use a custom export symbol regex for libgstcheck, as it needs
4853         to export symbols that don't match the standard GStreamer gst_*
4854         pattern, and  --export-dynamic is not portable (only works on 
4855         GNU ld)
4856
4857         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4858         (gst_check_setup_sink_pad):
4859         Make sure to pass a message parameter to the fail_* macros.
4860
4861         * tests/check/gst/gstinfo.c: (GST_START_TEST):
4862         Fix some compiler warnings.
4863
4864 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * tests/check/gst/gststructure.c: (test_to_string):
4867           Disable test that checks that white spaces are not allowed
4868           in structure names or field names, since we need to
4869           support that for now for backwards compatibility reasons.
4870
4871 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         * docs/gst/gstreamer-sections.txt:
4874         * gst/gsttaglist.c:
4875         * gst/gsttaglist.h:
4876           API: add GST_TAG_ARTIST_SORTNAME
4877           API: add GST_TAG_ALBUM_SORTNAME
4878           API: add GST_TAG_TITLE_SORTNAME
4879           Add tag variants for sorting (#414539).
4880
4881 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
4882
4883         * gst/gststructure.c:
4884           Also allow white space for names so we don't break
4885           backwards compatibility.
4886
4887 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
4888
4889         * docs/design/part-TODO.txt:
4890         * docs/design/part-segments.txt:
4891         * docs/design/part-streams.txt:
4892         Small updates.
4893
4894 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4895
4896         * docs/gst/gstreamer-sections.txt:
4897          Fixed documentation from my previous commit (added new API add
4898          gst_value_set_structure(), add gst_value_get_structure() and
4899          GST_VALUE_HOLDS_STRUCTURE).
4900
4901 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
4902
4903         * gst/gstdebugutils.c:
4904           Reflow code to fix uninitialized variable warning.
4905
4906 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
4907
4908         * gst/gstcaps.c: (gst_caps_to_string),
4909         (gst_caps_from_string_inplace):
4910         * gst/gststructure.c: (gst_structure_get_abbrs),
4911         (gst_structure_to_string), (gst_structure_from_string):
4912         * gst/gstvalue.c: (gst_value_set_structure),
4913         (gst_value_get_structure), (gst_value_serialize_structure),
4914         (gst_value_deserialize_structure), (_gst_value_initialize):
4915         * gst/gstvalue.h:
4916         * tests/check/gst/gststructure.c: (GST_START_TEST),
4917         (gst_structure_suite):
4918         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4919          Added GstStructure to gst_value_table and its related functions.
4920          Changed gst_structure_to_string to print ';' in the end.
4921          Changed gst_caps_to_string to not print ';' beteween its
4922          fields (structures) anymore and remove the lastes ';' from latest
4923          structure. Now it is possible to have nested structures.
4924          In addition, backward compatibilty is assured by accepting '\0' as
4925          end delimiter. Fixes: #487969.
4926          API: add gst_value_set_structure()
4927          API: add gst_value_get_structure()
4928          API: add GST_VALUE_HOLDS_STRUCTURE
4929
4930 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
4931
4932         * gst/gstbus.c:
4933           When no GSource callback has been set up, tell developer
4934           to use a function that actually exists.
4935
4936 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
4937
4938         * docs/gst/gstreamer-sections.txt:
4939         * gst/Makefile.am:
4940         * gst/gst.c:
4941         * gst/gst.h:
4942         * gst/gstdebugutils.c:
4943         * gst/gstdebugutils.h:
4944         * gst/gstinfo.c:
4945         * gst/gstinfo.h:
4946         * tools/gst-launch.c:
4947           Allow dumping pipelines as dot graphs. Fixes #456573.
4948
4949 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4950
4951         * gst/gststructure.c:
4952           Allow '+' as well, it can be part of media or mime types
4953           such as image/svg+xml.
4954
4955 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * docs/gst/gstreamer-sections.txt:
4958         * gst/gstbus.c:
4959         * gst/gstbus.h:
4960           API: add gst_bus_pop_filtered
4961           API: add gst_bus_timed_pop_filtered
4962           Two new functions for waiting for specific message types on the
4963           bus for a specified amount of time without iterating any main
4964           loops or main contexts.
4965
4966         * tests/check/gst/gstbus.c:
4967           Some tests for the new functions.
4968
4969 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * docs/libs/gstreamer-libs-sections.txt:
4972           Make gtk-doc ignore stuff it should ignore.
4973
4974 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4975
4976         * libs/gst/check/gstcheck.c:
4977         * libs/gst/check/gstcheck.h:
4978           Allow runtime selection of unit tests to run via the GST_CHECKS
4979           environment variable (test case function names, comma-separated).
4980
4981 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4982
4983         * gst/gststructure.c:
4984         * tests/check/gst/gststructure.c:
4985           Revert serialisation change and constrain structure-names after
4986           consensus on irc. Update api documentation to reflect the change.
4987
4988 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4989
4990         * gst/gststructure.c:
4991           Improve serialization and fix tests.
4992
4993         * tests/check/gst/gststructure.c:
4994           Add another test that covers why I actually did the previous structure
4995           change.
4996
4997 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4998
4999         * tools/gst-inspect.c: (print_element_info):
5000         Don't crash when inspecting an element.
5001
5002 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
5003
5004         * tests/check/gst/gststructure.c:
5005           Add unit test for escaping of structure name when serialising
5006           and deserialising to/from strings.
5007
5008 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
5009
5010         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5011         (gst_single_queue_new):
5012         * plugins/elements/gstqueue.c: (gst_queue_init),
5013         (gst_queue_push_one):
5014         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
5015         upstream is tricked into thinking it can suggest a format downstream
5016         while downstream does not support that format. The real problem is that
5017         core calls acceptcaps when pushing a buffer with new caps, for which we
5018         do a little workaround by setting the caps on the srcpad ourselves
5019         before pushing the buffer (until this is figured out). Fixes #486758.
5020
5021 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
5022
5023         * gst/gststructure.c:
5024         * gst/gstvalue.c:
5025           Add some more comments and debug output. Quote structure name to fix
5026           deserialisation of some strings.
5027
5028 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
5029
5030         * gst/gstbuffer.h:
5031           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
5032           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
5033
5034 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
5035
5036         * tools/gst-inspect.c:
5037           Save approx. 400 1 byte allocs when printing. Use API to acces element
5038           details.
5039
5040         * tools/gst-run.c:
5041           Avoid a strdup.
5042
5043         * tools/gst-xmlinspect.c:
5044           Use API to acces element details.
5045
5046 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
5047
5048         * gst/gstinfo.c:
5049           Fix some spelling errors.
5050
5051 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
5052
5053         * gst/gstbin.c: (bin_handle_async_done):
5054         Correctly set the next state if all of our async children commited their
5055         state. This makes sure we can actually cancel the state change in
5056         progress. Fixes a regression in Rhythmbox when seeking.
5057
5058 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5059
5060         * gst/gstbin.c:
5061           Don't shadow local variable.
5062
5063         * gst/gstinfo.c:
5064           Don't shadow global function name.
5065
5066 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
5067
5068         * gst/gstelementfactory.c:
5069         * gst/gstpluginfeature.c:
5070         * gst/gstpluginfeature.h:
5071         * gst/gstregistrybinary.c:
5072         * gst/gstregistryxml.c:
5073         * gst/gsttypefind.c:
5074           Use already-interned string for the private GstPluginFeature
5075           plugin_name field.
5076
5077 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5078
5079         * docs/libs/gstreamer-libs-sections.txt:
5080           Add new API to docs; fixes the build.
5081
5082 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
5083         
5084         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
5085
5086         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
5087         (gst_base_sink_event):
5088         * libs/gst/base/gstbasesink.h:
5089         Add function to wait for EOS, subclasses can use this to correctly wait
5090         for devices to drain before performing the EOS logic. Fixes #485343.
5091         API: gst_base_sink_wait_eos()
5092
5093 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * gst/gstplugin.h:
5096           Cast description string constants in GST_PLUGIN_DEFINE macros
5097           to a (gchar*) to make C++ code using these macros compile
5098           without warning with g++-4.2 (see #462737).  Even if slightly
5099           ugly, this seems preferable to putting the description strings
5100           into the GLib quark table or making the structure member a
5101           const gchar * and doing casts in core code that allocs and
5102           frees these strings, or requiring a cast in the C++ code.
5103
5104 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5105
5106         * gst/gstinfo.h:
5107           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
5108           to print the entire class/function signature into the log
5109           file for C++ code.  This only affects C++ code, for C code
5110           everything remains the same.
5111
5112 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
5113
5114         * gst/gstbin.c: (remove_from_queue):
5115         Work around a problem with pipelines containing (semi)loops until a
5116         proper, more complicated solution is ready. See #475455.
5117
5118 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         * gst/gstplugin.c:
5121         * gst/gstplugin.h:
5122         * gst/gstregistrybinary.c:
5123         * gst/gstregistryxml.c:
5124           Put more strings into the GLib quark table. No need to keep
5125           a hundred-something copies of identical version strings,
5126           license strings, package name strings and package origin
5127           strings around. 
5128
5129 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
5130
5131         * docs/manual/advanced-dataaccess.xml:
5132           Don't imply that it's okay to unconditionally change
5133           buffer data or buffer metadata in a pad probe callback,
5134           and a bunch of other comments. Fixes #430031.
5135
5136 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5137
5138         * win32/common/gstenumtypes.c:
5139         * win32/common/gstenumtypes.h:
5140         * win32/common/gstversion.h:
5141           Update generated files.
5142
5143 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5144
5145         * docs/manual/advanced-autoplugging.xml:
5146           Prefix section with broken code with a warning (see #342432).
5147
5148 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
5149
5150         * docs/manual/appendix-integration.xml:
5151         * docs/manual/basics-init.xml:
5152           Call g_thread_init() before g_option_context_new() to
5153           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
5154
5155 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5156
5157         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5158         (gst_base_sink_queue_object_unlocked),
5159         (gst_base_sink_queue_object), (gst_base_sink_event),
5160         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
5161         When we received EOS and are waiting for when to post the EOS message,
5162         our state is prerolled and we should not return ASYNC.
5163         Reorganize some code paths to implement this behavior.
5164
5165         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
5166         (gst_sinks_suite):
5167         Add unit test to verify above EOS fix.
5168
5169 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5170
5171         * plugins/elements/gsttypefindelement.c:
5172         (gst_type_find_element_have_type), (gst_type_find_element_init),
5173         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
5174         Move detecting the input caps of the sinkpad to the setcaps function.
5175         This allows us to update the output caps when we receive new input caps
5176         instead of always using the first detected caps.
5177
5178 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
5179
5180         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5181         (gst_base_sink_get_position):
5182         Don't try to preroll non-async elements after a flush.
5183         Subtract latency form clock times when reporting position.
5184
5185 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5186
5187         * gst/gstpad.c: (gst_pad_pause_task):
5188         * gst/gstutils.c:
5189         Small comment and documentation update.
5190
5191 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5192
5193         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
5194         (gst_base_src_set_live), (gst_base_src_is_live),
5195         (gst_base_src_query_latency), (gst_base_src_perform_seek),
5196         (gst_base_src_default_event), (gst_base_src_wait),
5197         (gst_base_src_do_sync), (gst_base_src_get_range),
5198         (gst_base_src_pad_get_range), (gst_base_src_loop),
5199         (gst_base_src_unlock), (gst_base_src_unlock_stop),
5200         (gst_base_src_set_flushing), (gst_base_src_set_playing),
5201         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5202         (gst_base_src_change_state):
5203         Rework the locking of basesrc in a similar fashion to basesink. We
5204         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
5205         us to handle live sources and semi live ones much better.
5206         Simplify flushing.
5207         Fix unlocking when seeking, shutting down and pausing in live sources.
5208
5209 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
5210
5211         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
5212         Fix compilation again.
5213
5214 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5215
5216         * gst/gstelement.c:
5217           Use meaningful categories for the logs to clean the default one.
5218
5219 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5220
5221         * tests/check/pipelines/cleanup.c:
5222           Print message name and not just number.
5223
5224 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5225
5226         * docs/design/draft-tagreading.txt:
5227           Add some more thoughts.
5228
5229 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5230
5231         * tests/check/pipelines/simple-launch-lines.c:
5232           Print message name and not just number.
5233
5234 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5235
5236         * libs/gst/base/gsttypefindhelper.c:
5237           Speedup typefinding. This is work in progress (see #459862).
5238
5239 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
5240
5241         * gst/gstplugin.c:
5242           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
5243           Spotted by Josep Torra Valles <josep@fluendo.com>.
5244
5245 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
5246
5247         * gst/gstclock.h:
5248           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
5249           field has moved to GstObject.
5250
5251 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
5252
5253         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
5254         (gst_base_src_get_range), (gst_base_src_change_state):
5255         Call unlock for live sources so that they can't get stuck in _create and
5256         produce a buffer before they are set back to PLAYING.
5257
5258 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
5259
5260         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5261         (gst_queue_locked_dequeue):
5262         Comment the segment-related code... in the PROPER function.
5263         See #482147 and my commit from yesterday.
5264
5265 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
5266
5267         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5268         Also initialize the counter that calculates the first timestamp on a
5269         buffer correctly for non-live sources.
5270
5271 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
5272
5273         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
5274         Disable code that's breaking the current-time-level reporting.
5275         See #482147
5276
5277 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
5278
5279         * docs/gst/gstreamer-sections.txt:
5280         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
5281         as they shouldn't show up. Fixes the docs build.
5282
5283 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
5284         
5285         * gst/gstinfo.h:
5286         Add an explicit variable importation needed on VS6 (only for MSC_VER)
5287         Define M_PI which is used in files which are including gstinfo.h. 
5288         VS6 includes doesn't define it.
5289         * win32/common/libgstbase.def:
5290         * win32/common/libgstcontroller.def:
5291         * win32/common/libgstreamer.def:
5292         Add new exported functions and variables.
5293         * win32/vs6/libgstcontroller.dsp:
5294         * win32/vs6/libgstreamer.dsp:
5295         Update the list of files to build.
5296         
5297 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5298
5299         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5300
5301         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
5302         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
5303         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
5304         Improve debugging. Fixes #480858.
5305
5306 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
5307
5308         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
5309
5310         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5311         First patch of code cleanups, use the macros and right arguments in the
5312         macros to signal and lock the queue. See #480858.
5313
5314 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
5315
5316         * gst/gstbus.c: (poll_func):
5317         Improve debugging when dealing with _poll().
5318
5319 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
5320
5321         * gst/gstregistryxml.c:
5322           Fix memory leak I introduced a few days ago.
5323
5324 2007-09-26  Michael Smith <msmith@fluendo.com>
5325
5326         * gst/gstbuffer.c: (gst_buffer_finalize):
5327           Make it once again possible to free GstBuffers in the default
5328           build.
5329           The poisoning scribbles on parts of the miniobject we need in
5330           order to free it.
5331           Fixes #480341
5332
5333 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
5334
5335         * docs/gst/gstreamer-sections.txt:
5336         * gst/gsttaglist.c:
5337         * gst/gsttaglist.h:
5338         API: add GST_TAG_COMPOSER, fixes #459809.
5339
5340 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
5341
5342         * gst/gstplugin.c:
5343         * gst/gstplugin.h:
5344         Add the 3-clause BSD license and the MIT/X11 license to the license
5345         list. Fixes #479784.
5346
5347 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
5348
5349         * docs/faq/getting.xml:
5350           Add Q+A about different GStreamer versions (#364056).
5351
5352 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5353
5354         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5355         (gst_base_sink_event), (gst_base_sink_change_state):
5356         Return correct gboolean from query function.
5357
5358 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5359
5360         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5361         (gst_base_sink_event), (gst_base_sink_query),
5362         (gst_base_sink_change_state):
5363         Simplify latency query.
5364         When not synchronizing, we can report latency without querying the peer
5365         element.
5366
5367 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5368
5369         * gst/gstobject.h:
5370         * gst/gstvalue.c:
5371         Fix small typos in the docs.
5372
5373 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
5374
5375         * docs/design/draft-latency.txt:
5376         * docs/design/draft-push-pull.txt:
5377         * docs/design/draft-tagreading.txt:
5378         * docs/design/part-MT-refcounting.txt:
5379         * docs/design/part-activation.txt:
5380         * docs/design/part-block.txt:
5381         * docs/design/part-element-source.txt:
5382         * docs/design/part-events.txt:
5383         * docs/design/part-gstbin.txt:
5384         * docs/design/part-gstelement.txt:
5385         * docs/design/part-gstobject.txt:
5386         * docs/design/part-gstpipeline.txt:
5387         * docs/design/part-messages.txt:
5388         * docs/design/part-preroll.txt:
5389         * docs/design/part-push-pull.txt:
5390         * docs/design/part-qos.txt:
5391         * docs/design/part-query.txt:
5392         * docs/design/part-scheduling.txt:
5393         * docs/design/part-seeking.txt:
5394         * docs/design/part-segments.txt:
5395         * docs/design/part-states.txt:
5396         Documentation updates and typo fixes.
5397
5398 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
5399
5400         * plugins/elements/gstfakesink.c:
5401           Add some debug text to error message to indicate that
5402           we errored out on request.
5403
5404         * tools/gst-launch.c:
5405           When the state change to PLAYING fails, check for an
5406           error message on the bus and print it.
5407
5408 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
5409
5410         translated by: Jorge González González <aloriel@gmail.com>
5411
5412         * po/LINGUAS:
5413         * po/es.po:
5414           Added Spanish translation.
5415
5416 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
5417
5418         * plugins/elements/gstqueue.c: (gst_queue_push_one):
5419         Fix printf arguments.
5420
5421 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5422
5423         * tests/check/generic/states.c:
5424           Improved state change unit test.
5425
5426 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
5427
5428         * gst/gstbin.h:
5429           Move priv to the right place.
5430
5431         * gst/gstsystemclock.c:
5432           Add FIXME: and improve log.
5433
5434         * tests/check/Makefile.am:
5435         * tests/examples/manual/Makefile.am:
5436           Work with all types of registries.
5437
5438 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
5439
5440         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5441         Don't unref the event after pushing it. Fixes #478401.
5442
5443 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5444
5445         * .cvsignore:
5446         * tests/examples/manual/.cvsignore:
5447           Ignore registries in any format.
5448
5449 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
5450
5451         * gst/glib-compat-private.h:
5452           Add compatibility macro for g_intern_string() for
5453           GLib-2.8 (any reason we can't just bump the
5454           requirement to at least 2.10?)
5455
5456         * gst/gstpadtemplate.h:
5457         * gst/gstelementfactory.c:
5458         * gst/gstregistryxml.c:
5459         * gst/gstregistrybinary.c:
5460           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
5461           up the internal code accordingly.  This shouldn't be a problem, since
5462           there is no reason external code could ever assume the string in such
5463           a structure is dynamically allocated unless it did that itself;  the
5464           use of g_strdup() is private to element factories.  The new code also
5465           saves some memory by putting pad template name strings into the GLib
5466           quark table instead of allocating them dynamically.
5467           Declaring this field constant fixes warnings with g++-4.2 when using
5468           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
5469
5470 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
5471
5472         * gst/gstelementfactory.c:
5473           Release static caps. Fixes #475723.
5474
5475 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * gst/gstinfo.c:
5478         * gst/gstinfo.h:
5479           Make some internal API take const gchar * instead of just
5480           gchar * to avoid compiler warnings with g++-4.2.2 when
5481           passing string constants (partially fixes #478092).
5482
5483 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5484
5485         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
5486         A latency query fails when one of the sinks fail.
5487
5488         * gst/gstelement.c: (gst_element_set_base_time):
5489         Improve debugging.
5490
5491 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
5492
5493         * gst/gstbin.c: (gst_bin_continue_func):
5494         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
5496         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
5497
5498         Fix minor compilation warnings shown with Forte.
5499
5500 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
5501
5502         * plugins/elements/gstqueue.c: (apply_buffer),
5503         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
5504         Measure queue level based on the diff between head and tail timestamps
5505         even when pushing the first buffer.
5506
5507 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5508
5509         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5510         (gst_base_sink_event), (gst_base_sink_change_state):
5511         Sinks that don't preroll can always be queried for the latency.
5512         Don't post ASYNC start when we are not async.
5513
5514 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5515
5516         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
5517         (gst_queue_handle_sink_event), (gst_queue_chain),
5518         (gst_queue_push_one), (gst_queue_handle_src_query),
5519         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
5520         * plugins/elements/gstqueue.h:
5521         When downstream returns UNEXPECTED from pushing a buffer, don't try to
5522         push more buffers but allow pushing of EOS and NEWSEGMENT.
5523         Add some more debug info here and there. Fixes #476514.
5524
5525 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
5526
5527         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5528         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
5529         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5530         (gst_base_sink_set_flushing), (gst_base_sink_query),
5531         (gst_base_sink_change_state):
5532         Latency query is allowed after we are prerolled. Introduce a new flag
5533         for this and stop abusing other variables.
5534
5535 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5536
5537         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
5538         Push OOB events downstream when we get them in send_event. This allows
5539         the application to insert events in the pipeline.
5540         Add some more comments.
5541
5542 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5543
5544         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
5545         (do_bin_latency), (gst_bin_change_state_func):
5546         * gst/gstpipeline.c: (gst_pipeline_change_state):
5547         Move latency query from GstPipeline to GstBin so that we can also
5548         use it when async-handling is enabled on bins.
5549
5550 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5551
5552         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5553         (gst_base_src_do_sync), (gst_base_src_change_state):
5554         Update docs.
5555         Clean up the timestamping and syncing code for pseudo live sources.
5556
5557 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
5558
5559         Patch by: Steve Fink  <sphink gmail com>
5560
5561         * docs/manual/appendix-checklist.xml:
5562           Mention less -R switch in the section about debug output (#474055).
5563
5564 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
5565
5566         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5567         Queue can latency to the pipeline up to the configured max size in time.
5568         Report this fact in the latency query.
5569
5570 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5571
5572         Patch by: Sebastien Moutte <sebastien at moutte dot net>
5573
5574         * libs/gst/controller/gstinterpolation.c:
5575         * libs/gst/controller/gstlfocontrolsource.c:
5576         Use gst_guint64_to_gdouble() when converting from a uint64 or
5577         GstClockTime to double to fix the build on win32. Fixes #474371.
5578
5579 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5580
5581         * gst/gstbuffer.c: (gst_buffer_finalize):
5582         Implement poisoning for GstBuffer if --enable-poisoning is specified.
5583         When finalizing a buffer the complete struct is filled with 0xff,
5584         thus making a use of the buffer after the final unref impossible.
5585
5586 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
5587
5588         * tests/check/libs/controller.c: (GST_START_TEST):
5589         Use fail_unless_equals_int(a, b) instead of
5590         fail_unless_equals (a == b) to get better output on failures.
5591
5592 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5593
5594         * tests/check/gst/gsturi.c:
5595           Also check for the other file URI variant on win32.
5596
5597 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * gst/gsturi.c: (gst_uri_get_location):
5600           If there's no hostname, we want to return 'c:/foo/bar.txt'
5601           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
5602
5603         * tests/check/gst/gsturi.c:
5604           Unit test for the above and a few more things.
5605
5606 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5607
5608         * docs/design/part-live-source.txt:
5609         Add docs on how live sources should timestamp.
5610
5611         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
5612         Add some more debug info.
5613         For subclasses that are live and like to sync, add aditional startup
5614         latency to sync time and timestamps so that we timstamp according to the
5615         design doc.
5616
5617 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5618
5619         * gst/gstbuffer.c:
5620           Also do a g_type_class_ref() for the subbuffer type in
5621           the init function.
5622
5623 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
5624
5625         * docs/gst/gstreamer-sections.txt:
5626         * gst/gstpad.c: (gst_pad_peer_query):
5627         * gst/gstpad.h:
5628         Add function to perform a query on the peer of a pad.
5629         API: gst_pad_peer_query()
5630
5631 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
5632
5633         * tests/check/gst/gstsystemclock.c:
5634           Cleanup the test a little (use gst-logging and not g_message). Improve
5635           test to check if a wait reached the target.
5636
5637 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
5638
5639         * docs/libs/gstreamer-libs-sections.txt:
5640           Add new API to docs and fix the build.
5641
5642 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
5643
5644         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5645         (gst_base_src_init), (gst_base_src_set_do_timestamp),
5646         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
5647         (gst_base_src_get_property), (gst_base_src_do_sync):
5648         * libs/gst/base/gstbasesrc.h:
5649         Add property to make the basesrc timestamp buffers based on the current
5650         running time.
5651         API: GstBaseSrc::do-timestamp
5652         API: gst_base_src_set_do_timestamp()
5653         API: gst_base_src_get_do_timestamp()
5654
5655 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
5656
5657         * docs/random/release:
5658           Really make sure translations are up-to-date before
5659           a release (#465010).
5660
5661 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
5662
5663         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5664         Always destroy the timer, also in error cases.
5665
5666 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5667
5668         * docs/manual/highlevel-xml.xml:
5669         Fix XML example code. Fixes #472714.
5670
5671 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
5672
5673         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5674         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
5675         (gst_base_sink_query):
5676         Protect eos and have_preroll with the OBJECT lock so we don't need to
5677         take the PREROLL lock when querying the latency. Fixes #473846.
5678
5679 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
5680
5681         * gst/gstelement.c:
5682           Give some log-messages a category.
5683
5684 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
5685
5686         * gst/gststructure.c:
5687         (gst_structure_fixate_field_nearest_fraction):
5688         Fix fraction list fixation code. Take the fraction with the smallest
5689         difference with the target instead of the first one in the list.
5690
5691         * tests/check/gst/gststructure.c: (GST_START_TEST),
5692         (gst_structure_suite):
5693         Added test to verify correct fraction list fixation behaviour.
5694
5695 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
5696
5697         * win32/common/libgstreamer.def:
5698           Export gst_bus_add_signal_watch too.
5699
5700 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
5701
5702         * docs/libs/gstreamer-libs-sections.txt:
5703         Add new methods to docs.
5704
5705         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5706         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
5707         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
5708         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
5709         * libs/gst/base/gstbasesink.h:
5710         Add ts-offset property to fine-tune the synchronisation.
5711         API: GstBaseSink::ts-offset property
5712         API: gst_base_sink_set_ts_offset()
5713         API: gst_base_sink_get_ts_offset()
5714
5715 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
5716
5717         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5718         (gst_base_sink_init), (gst_base_sink_set_sync),
5719         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5720         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
5721         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
5722         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
5723         (gst_base_sink_get_property), (gst_base_sink_change_state):
5724         * libs/gst/base/gstbasesink.h:
5725         Add async property to instruct the sink never to inform the parent about
5726         ASYNC state changes, update docs.
5727         Check argument with g_return_* for the public functions.
5728         API: GstBaseSink::async property
5729         API: gst_base_sink_set_async_enabled()
5730         API: gst_base_sink_is_async_enabled()
5731
5732 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
5733
5734         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
5735         Improve debugging.
5736
5737         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5738         (gst_base_src_default_query), (gst_base_src_wait),
5739         (gst_base_src_do_sync), (gst_base_src_change_state):
5740         Rearrange some code so that we can add support for measuring the 
5741         startup latency.
5742
5743 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
5744
5745         * docs/random/ensonic/dynlink.txt:
5746           More thoughs on this.
5747
5748         * plugins/elements/gstcapsfilter.c:
5749           Add bugzilla ticket number to FIXME comment.
5750
5751 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
5752
5753         * docs/design/part-TODO.txt:
5754         * docs/design/part-block.txt:
5755         Update some docs.
5756
5757 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5758
5759         * gst/Makefile.am:
5760           Revert patch which uses $(gst_headers) instead of $^ because it
5761           breaks make dist.
5762
5763 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
5764
5765         * tests/check/gst/gstbin.c: (GST_START_TEST):
5766           Fix leaks in the new unit test.
5767
5768 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
5769
5770         * gst/gst.c:
5771           Don't use GST_INFO before the debug system is actually initialised
5772           (shouldn't do any harm, but won't print anything either, so we can
5773           just as well remove it).
5774
5775         * gst/gstinfo.h:
5776           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
5777           compilers that don't support variadic macros (such as MSVC), should
5778           check for debug_level <= __gst_debug_min as well, since that's the
5779           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
5780           inline helper functions. Should improve performance a bit, but also
5781           makes sure uses of GST_INFO et.al are ignored if the debugging
5782           system isn't initialised yet (instead of printing an assertion
5783           failure).
5784
5785 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
5786
5787         patch by: David Nečas <yeti@physics.muni.cz>
5788
5789         * gst/Makefile.am:
5790           Replace some non portable makefile constructs.
5791
5792 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
5793
5794         * common/gtk-doc-plugins.mak:
5795           Grrrrr. Don't remove the types file on make clean.
5796
5797 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
5798
5799         * tools/gst-launch.1.in:
5800         Add colorspace to example pipeline. Fixes #458274.
5801
5802 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
5803
5804         * docs/random/release:
5805           The release manager should run 'make download-po' before making a
5806           release to make sure translations are up-to-date.
5807
5808         * po/LINGUAS:
5809         * po/be.po:
5810         * po/pl.po:
5811         * po/rw.po:
5812           Add some new translations.
5813
5814 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
5815
5816         * tools/gst-launch.c: (event_loop), (main):
5817         Don´t try to do any state management when a live pipeline posts
5818         buffering messages.
5819         Also make the buffering string translatable.
5820
5821 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5822
5823         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5824         (bin_handle_async_start), (gst_bin_handle_message_func):
5825         Improve debugging.
5826         When adding elements, insert messages into the bus of the newly added
5827         element and make sure the element is the source of the message. This
5828         allows the parent bin to intercept the message and do the
5829         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5830         messages to the app (which is not allowed).
5831         Update some docs.
5832
5833         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5834         Fix testsuite so that is does not work around messages that should not
5835         have been posted in the first place.
5836
5837 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5838
5839         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5840         (update_degree), (gst_bin_sort_iterator_next):
5841         Fix annoying bug in the sorted iterator where a sink that is not really
5842         a sink (when it has downstream links) screwed up the iterator.
5843
5844         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5845         Unit test to verify the fix.
5846
5847 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
5848
5849         * gst/gstmessage.h:
5850         Add some more docs for the messages.
5851
5852         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5853         (gst_base_sink_query):
5854         Add some more debugging.
5855
5856         * tools/gst-launch.c: (event_loop):
5857         When interrupting, don't try to set pipeline to PAUSED twice.
5858
5859 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5860
5861         
5862         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5863         (bin_handle_async_start), (gst_bin_handle_message_func):
5864         Move ASYNC_START message posting to where it belongs, similar to
5865         async_done. 
5866         Don't post ASYNC_START when we are in error. 
5867         Post ASYNC_START when we added an async element to a bin.
5868
5869 2007-08-14  Julien MOUTTE  <julien@moutte.net>
5870
5871         * gst/gstindex.c: (gst_index_add_association): Fix index entry
5872         generation from vargs. Fixes #466595.
5873
5874 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
5875
5876         * gst/gstbin.c: (gst_bin_element_set_state):
5877         Always change the state of a NO_PREROLL element even if it has ASYNC
5878         elements inside (in case of a bin).
5879
5880         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5881         Unit test for this case.
5882
5883 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
5884
5885         * libs/gst/check/gstbufferstraw.c:
5886         * libs/gst/check/gstcheck.h:
5887         * libs/gst/controller/gstcontroller.c:
5888         * libs/gst/controller/gstcontrolsource.h:
5889         * libs/gst/controller/gstlfocontrolsource.h:
5890         * plugins/elements/gstcapsfilter.h:
5891         * plugins/elements/gstfdsink.h:
5892         * plugins/elements/gstfdsrc.h:
5893           Add more missing docs.
5894
5895 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5896
5897         * gst/gststructure.c:
5898         Add Since tag to docs.
5899
5900 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5901
5902         * docs/gst/gstreamer-sections.txt:
5903         * gst/gststructure.c: (gst_structure_get_uint):
5904         * gst/gststructure.h:
5905         Add function to get uint from a structure.
5906         API: gst_structure_get_uint()
5907
5908 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
5909
5910         * gst/gstcaps.c: (gst_caps_set_simple_valist),
5911         (gst_caps_intersect):
5912         Fix proper check for simple caps.
5913
5914 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
5915
5916         * docs/gst/Makefile.am:
5917         * docs/libs/Makefile.am:
5918           Remove cruft and do some cleanups.
5919
5920         * docs/gst/gstreamer-docs.sgml:
5921         * docs/libs/gstreamer-libs-docs.sgml:
5922           Prepare for comming gtkdoc features (rebase against online docs).
5923
5924 2007-08-10  Michael Smith <msmith@fluendo.com>
5925
5926         * docs/gst/gstreamer-sections.txt:
5927           Add gst_registry_add_path to docs.
5928
5929 2007-08-10  Michael Smith <msmith@fluendo.com>
5930
5931         * gst/gstregistry.h:
5932           Add gst_registry_add_path, which was missing from this header.
5933
5934 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
5935
5936         * libs/gst/controller/gstlfocontrolsource.c:
5937           Printf format fix.
5938
5939 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5940
5941         * libs/gst/base/gstbasesink.c:
5942           Don't send an async_start message during downwards state change if 
5943           target state is less than READY
5944
5945 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5946
5947         translated by: Gabor Kelemen <kelemeng@gnome.hu>
5948
5949         * po/LINGUAS:
5950         * po/hu.po:
5951           Added Hungarian translation.
5952
5953 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5954
5955         * po/fi.po:
5956         * po/it.po:
5957         * po/nl.po:
5958         * po/sv.po:
5959         * po/uk.po:
5960           Updated translations.
5961
5962 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5963
5964         * libs/gst/controller/Makefile.am:
5965         Dist gstlfocontrolsourceprivate.h
5966
5967 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5968
5969         * docs/libs/gstreamer-libs.types:
5970         Don't register the enum type gst_lfo_waveform_get_type() in the
5971         .types file - only GObject derived types belong.
5972
5973 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5974
5975         Patch by: <arenevier at fdn dot fr>
5976
5977         * gst/gstbuffer.h:
5978         Remove comma from last element in enum to avoid compile errors when
5979         using -pendantic. Fixes #464366.
5980
5981 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5982
5983         * docs/design/part-TODO.txt:
5984         Add some more TODO items
5985
5986         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5987         Improve debugging.
5988
5989         * gst/gstcaps.c: (gst_caps_intersect):
5990         Optimize trivial intersection case between identical caps pointers.
5991
5992         * gst/gstelement.c: (gst_element_continue_state),
5993         (gst_element_set_state_func):
5994         * gst/gstpad.c:
5995         Fix spelling and grammar mistakes.
5996
5997 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5998
5999         * po/POTFILES.in:
6000         * po/POTFILES.skip:
6001           Update POTFILES. Fixes #461599.
6002
6003 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6004
6005         * gst/gst.c:
6006         Fix confusing typo in debug output.
6007
6008 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
6009
6010         reviewed by: Stefan Kost <ensonic@users.sf.net>
6011
6012         * libs/gst/controller/Makefile.am:
6013         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
6014         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
6015         (gst_lfo_control_source_new),
6016         (gst_lfo_control_source_set_waveform),
6017         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
6018         (gst_lfo_control_source_finalize),
6019         (gst_lfo_control_source_dispose),
6020         (gst_lfo_control_source_set_property),
6021         (gst_lfo_control_source_get_property),
6022         (gst_lfo_control_source_class_init):
6023         * libs/gst/controller/gstlfocontrolsource.h:
6024         * libs/gst/controller/gstlfocontrolsourceprivate.h:
6025         API: Add GstLFOControlSource, a control source that gives values
6026         for specific timestamps based on several periodic waveforms.
6027         Fixes #459717.
6028
6029         * tests/check/libs/controller.c: (GST_START_TEST),
6030         (gst_controller_suite):
6031         * docs/libs/gstreamer-libs-docs.sgml:
6032         * docs/libs/gstreamer-libs-sections.txt:
6033         * docs/libs/gstreamer-libs.types:
6034         Add documentation and unit tests for GstLFOControlSource.
6035
6036 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
6037
6038         * configure.ac:
6039         Back to CVS
6040
6041 === release 0.10.14 ===
6042
6043 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
6044
6045         * configure.ac:
6046           releasing 0.10.14, "Breathing Vacuum"
6047
6048 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
6049
6050         * gst/gstelement.c: (gst_element_class_set_details_simple):
6051         * gst/gstelement.h:
6052           Make strings passed to gst_element_class_set_details_simple()
6053           constant, as they should be (#462752).
6054
6055 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
6056
6057         * gst/gstbin.c: (gst_bin_change_state_func),
6058         (bin_handle_async_done), (gst_bin_handle_message_func):
6059         Don't forget about the fact that some element went ASYNC even after a
6060         resync. This makes us post the ASYNC_DONE message correctly.
6061         Fixes #462558.
6062
6063 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6064
6065         * gst/gstregistry.c: (gst_registry_add_feature):
6066         When replacing an existing feature in the registry, make sure to
6067         continue holding a reference until we've replaced the name string
6068         within our feature hash table. Make sure to use g_hash_table_replace
6069         instead of g_hash_table_insert to ensure the new name string is used
6070         as a key instead of the old one that we're about to free.
6071         Fixes: #462085
6072
6073 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
6074
6075         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6076         (gst_plugin_feature_set_name):
6077         Revert patch from #459466 until after the release and we can work
6078         out exactly what the problem is (if any).
6079
6080 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6081
6082         * docs/gst/gstreamer-sections.txt:
6083         * gst/gsttaglist.c:
6084         * gst/gsttaglist.h:
6085           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
6086
6087 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
6088
6089         * docs/libs/Makefile.am:
6090         Include our build-prefix libs and includes before the generic ones to
6091         avoid linking against the installed libs when we want the build-tree
6092         ones.
6093
6094 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
6095
6096         Patch by: Steve Fink  <sphink gmail com>
6097
6098         * docs/pwg/building-testapp.xml:
6099           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
6100           if people try to build or install the example from the plugin
6101           template against a GStreamer from package using the configure
6102           defaults.
6103
6104 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
6105
6106         Patch by: Steve Fink  <sphink gmail com>
6107
6108         * tools/gst-inspect.1.in:
6109           Document --print-all and --print-plugin-auto-install-info command
6110           line options in man page.
6111
6112 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
6113
6114         * docs/gst/gstreamer-sections.txt:
6115         Add docs for new api function.
6116
6117 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
6118
6119         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
6120         * gst/gstelementfactory.h:
6121         API: gst_element_factory_has_interface()
6122         Added method to check if an element factory implements a named
6123         interface.
6124
6125 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
6126
6127         * configure.ac:
6128         * docs/gst/gstreamer.types.in:
6129           Another conditional doc check.
6130
6131         * gst/gstmessage.c:
6132         * gst/gstparamspecs.h:
6133         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6134         * gst/gstvalue.c:
6135         * gst/gstxml.h:
6136           API-doc fixes.
6137
6138 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
6139
6140         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
6141         (gst_registry_binary_load_feature),
6142         (gst_registry_binary_load_plugin),
6143         (gst_registry_binary_read_cache):
6144           Print error just once and with additional info.
6145
6146 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
6147
6148         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
6149         (helper_find_suggest), (helper_find_get_length),
6150         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
6151         (gst_type_find_helper_for_buffer):
6152           Cleanup the typefindhelper code and add private doc comments.
6153
6154 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
6155
6156         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6157         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
6158         Fix capsfilter for cases where the caps set on capsfilter will provide
6159         additional information.
6160         Fixes #449197
6161
6162 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
6163
6164         * gst/gsttypefindfactory.c:
6165           Fix docs that recommened wrong function to use.
6166
6167 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6168
6169         * tools/gst-inspect.c: (print_plugin_features):
6170           Also give media-type for typefinders in element output.
6171
6172 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6173
6174         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
6175         (gst_registry_remove_features_for_plugin_unlocked),
6176         (gst_registry_add_feature), (gst_registry_remove_feature),
6177         (gst_registry_lookup_feature_locked):
6178         * gst/gstregistry.h:
6179           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
6180           Fixes #459501.
6181
6182 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
6183
6184         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6185         (gst_plugin_feature_set_name):
6186           Avoid double memory usage for pluginfeature names. Fixes #459466.
6187
6188 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6189
6190         * gst/gstpad.h:
6191           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
6192           driving the pipeline may need to explicitly check for NOT_LINKED as
6193           well, since IS_FATAL doesn't cover that.
6194
6195 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
6196
6197         * docs/pwg/advanced-types.xml:
6198           Fix typo and duplicate entry in video formats list.
6199
6200 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
6201
6202         * libs/gst/controller/gstinterpolation.c:
6203         Also round to the nearest int when using cubic interpolation.
6204
6205 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
6206
6207         * libs/gst/controller/gstinterpolation.c:
6208         When linearly interpolating integer types, round to the nearest int
6209         by adding 0.5. Don't do it for float/double types.
6210         Fixes the failing controller test on my machine, which is somehow
6211         rounding differently than on the buildbots.
6212
6213 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6214
6215         * tools/gst-plot-timeline.py:
6216           Better log parsing (categories can have -). Adjust text vs. lines, so
6217           that they span the same y-range.        
6218
6219 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6220
6221         * docs/random/ensonic/audiobaseclasses.txt:
6222         * docs/random/ensonic/dynlink.txt:
6223         * docs/random/ensonic/profiling.txt:
6224           Save my thoughts.
6225
6226         * docs/random/moving-plugins:
6227           Add note to use g_assert type macros.
6228
6229 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
6230
6231         * configure.ac:
6232         * libs/gst/check/Makefile.am:
6233           Add libm check as we use in for plugins.
6234
6235 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
6236
6237         * gst/gstbin.c: (gst_bin_continue_func):
6238         Check that the state_cookie hasn't changed since the continue_func
6239         was scheduled. Avoids problems where the state changes back to
6240         something it shouldn't be because it was changed in the meantime.
6241
6242 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
6243
6244         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
6245         (gst_registry_binary_save_string),
6246         (gst_registry_binary_save_pad_template),
6247         (gst_registry_binary_save_feature),
6248         (gst_registry_binary_save_plugin),
6249         (gst_registry_binary_load_feature),
6250         (gst_registry_binary_load_plugin),
6251         (gst_registry_binary_read_cache):
6252           Fix memory leak. Be less verbose in the log.
6253
6254 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6255
6256         * tests/check/elements/.cvsignore:
6257         Add file to cvsignore as commanded.
6258
6259 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6260
6261         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
6262         (mq_dummypad_event), (run_output_order_test):
6263         Use a GStaticMutex to protect all cases where libcheck
6264         fail_if/fail_unless macros might be called from multiple threads
6265         simultaneously to avoid errors like:
6266           "check_pack.c:107: :-1081725400:Bad message type arg"
6267
6268 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6269
6270         * tests/check/pipelines/stress.c: (GST_START_TEST):
6271         Make sure we set the pipeline back to the NULL state before
6272         dropping our final reference.
6273
6274 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
6275
6276         * tests/check/elements/tee.c: (GST_START_TEST):
6277         Make the tee stress-test a little less stressful so it doesn't just
6278         time out on slow-machines, and remove a small race when it's starting 
6279         up by adding a get_state() call.
6280
6281 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
6282
6283         * gst/gst.c:
6284           Avoid reading registry twice on startup. Fixes #457322.
6285
6286 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6287
6288         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6289         * pkgconfig/gstreamer-check.pc.in:
6290         Substitute the CFLAGS for libcheck into our .pc file too so that
6291         dependent modules will pick it up properly if libcheck is installed
6292         into some other prefix.
6293
6294 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
6295
6296         * configure.ac:
6297         Revert the pkg-config check for libcheck, since it pulls in the
6298         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
6299         a proper solution, either from the check project, or something else.
6300
6301 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
6302
6303         * configure.ac:
6304           Use pkg-config to locate check.
6305
6306 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
6307
6308         * gst/gsttaglist.c:
6309           Fix doc syntax.
6310
6311         * gst/gstutils.c:
6312         * gst/gstutils.h:
6313           Add deprecation guards.
6314
6315         * libs/gst/base/gstcollectpads.h:
6316           Don't document object (this is implicitly private).
6317
6318 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
6319
6320         * gst/gststructure.c: (gst_structure_parse_value):
6321           When deserialising foo=bar without a type cast, check if it's a
6322           boolean before falling back to a string type, otherwise things like
6323           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
6324           because the filtercaps end up having a signed=(string)true field,
6325           which causes problems later when intersection caps.
6326
6327         * tests/check/gst/gststructure.c: (GST_START_TEST):
6328           Add a unit test for this.
6329
6330 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
6331
6332         Reviewed by: Stefan Kost <ensonic@users.sf.net>
6333
6334         * libs/gst/controller/Makefile.am:
6335         * libs/gst/controller/gstcontroller.c:
6336         (gst_controlled_property_add_interpolation_control_source),
6337         (gst_controlled_property_new), (gst_controlled_property_free),
6338         (gst_controller_find_controlled_property),
6339         (gst_controller_new_valist), (gst_controller_new_list),
6340         (gst_controller_new), (gst_controller_remove_properties_valist),
6341         (gst_controller_remove_properties_list),
6342         (gst_controller_remove_properties),
6343         (gst_controller_set_property_disabled),
6344         (gst_controller_set_disabled), (gst_controller_set_control_source),
6345         (gst_controller_get_control_source), (gst_controller_get),
6346         (gst_controller_sync_values), (gst_controller_get_value_array),
6347         (_gst_controller_dispose), (gst_controller_get_type),
6348         (gst_controlled_property_set_interpolation_mode),
6349         (gst_controller_set), (gst_controller_set_from_list),
6350         (gst_controller_unset), (gst_controller_unset_all),
6351         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
6352         * libs/gst/controller/gstcontroller.h:
6353         * libs/gst/controller/gstcontrollerprivate.h:
6354         * libs/gst/controller/gstcontrolsource.c:
6355         (gst_control_source_class_init), (gst_control_source_init),
6356         (gst_control_source_get_value),
6357         (gst_control_source_get_value_array), (gst_control_source_bind):
6358         * libs/gst/controller/gstcontrolsource.h:
6359         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
6360         (gst_object_get_control_source):
6361         * libs/gst/controller/gstinterpolation.c:
6362         (gst_interpolation_control_source_find_control_point_node),
6363         (gst_interpolation_control_source_get_first_value),
6364         (_interpolate_none_get), (interpolate_none_get),
6365         (interpolate_none_get_boolean_value_array),
6366         (interpolate_none_get_enum_value_array),
6367         (interpolate_none_get_string_value_array),
6368         (_interpolate_trigger_get), (interpolate_trigger_get),
6369         (interpolate_trigger_get_boolean_value_array),
6370         (interpolate_trigger_get_enum_value_array),
6371         (interpolate_trigger_get_string_value_array):
6372         * libs/gst/controller/gstinterpolationcontrolsource.c:
6373         (gst_control_point_free), (gst_interpolation_control_source_reset),
6374         (gst_interpolation_control_source_new),
6375         (gst_interpolation_control_source_set_interpolation_mode),
6376         (gst_interpolation_control_source_bind),
6377         (gst_control_point_compare), (gst_control_point_find),
6378         (gst_interpolation_control_source_set_internal),
6379         (gst_interpolation_control_source_set),
6380         (gst_interpolation_control_source_set_from_list),
6381         (gst_interpolation_control_source_unset),
6382         (gst_interpolation_control_source_unset_all),
6383         (gst_interpolation_control_source_get_all),
6384         (gst_interpolation_control_source_get_count),
6385         (gst_interpolation_control_source_init),
6386         (gst_interpolation_control_source_finalize),
6387         (gst_interpolation_control_source_dispose),
6388         (gst_interpolation_control_source_class_init):
6389         * libs/gst/controller/gstinterpolationcontrolsource.h:
6390         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
6391         API: Refactor GstController into the core controller which can take
6392         a GstControlSource for providing actual values for timestamps.
6393         Implement a interpolation control source and use this for backward
6394         compatibility, deprecate a bunch of functions that are now handled
6395         by GstControlSource or GstInterpolationControlSource.
6396         Make it possible to disable the controller completely or only for
6397         specific properties. Fixes #450711.
6398         * docs/libs/gstreamer-libs-docs.sgml:
6399         * docs/libs/gstreamer-libs-sections.txt:
6400         * docs/libs/gstreamer-libs.types:
6401         Add new functions and classes to the docs.
6402         * tests/check/libs/controller.c: (GST_START_TEST),
6403         (gst_controller_suite):
6404         * tests/examples/controller/audio-example.c: (main):
6405         Port unit test and example to the new API and add some new
6406         unit tests.
6407
6408 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
6409
6410         Patch by: Mark Nauwelaerts <manauw at skynet be>
6411
6412         * plugins/elements/gstmultiqueue.c:
6413         (gst_multi_queue_get_internal_links), (apply_buffer),
6414         (single_queue_overrun_cb), (gst_single_queue_new):
6415         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
6416         the pipeline layout can be tracked correctly. Fixes #453732.
6417
6418 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
6419
6420         * docs/gst/Makefile.am:
6421         * docs/libs/Makefile.am:
6422         * docs/plugins/Makefile.am:
6423           Simplify --extra-dir as gtkdoc scans recursively.
6424
6425 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6426
6427         * tools/gst-launch.c: (main):
6428         When we got an error, there is no point in waiting for preroll when
6429         shutting down.
6430
6431 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
6432
6433         * plugins/elements/gsttee.c: (gst_tee_base_init),
6434         (gst_tee_request_new_pad), (gst_tee_release_pad),
6435         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
6436         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
6437         (gst_tee_chain):
6438         Be a lot smarter when deciding what srcpad to use for proxying
6439         the buffer_alloc. Also handle pad added/removed when doing so.
6440         Fixes #357959.
6441         Keep track of what pads we already pushed on in case we have pads
6442         added/removed while pushing. Fixes #374639 
6443
6444         * tests/check/Makefile.am:
6445         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
6446         (tee_suite):
6447         Added unit test for pad resync.
6448
6449 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6450
6451         * po/nl.po:
6452         * po/sv.po:
6453           Updated translations.
6454
6455 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6456
6457         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
6458
6459         * po/LINGUAS:
6460         * po/fi.po:
6461           Added new Finnish translation.
6462
6463 2007-06-28  Wim Taymans  <wim@fluendo.com>
6464
6465         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6466         (single_queue_overrun_cb):
6467         When figuring out when a queue is filled, use our internal time estimate
6468         based on segments, just like check_full does.
6469
6470 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6471
6472         * gst/gstminiobject.c: (gst_mini_object_get_type):
6473           Remove 3 do-nothing methods.
6474
6475 2007-06-27  Wim Taymans  <wim@fluendo.com>
6476
6477         Patch by: Tim Angus <tim at ngus dot net>
6478
6479         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6480         (gst_capsfilter_set_property):
6481         Take a reference instead of a copy when setting "caps".
6482         Fix documentation to clarify this behaviour. Fixes #449414.
6483
6484 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
6485
6486         * gst/gstindexfactory.c: (gst_index_factory_get_type):
6487         * gst/gstplugin.c: (gst_plugin_init):
6488         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
6489         * gst/gstquery.c: (gst_query_get_type):
6490         * gst/gstregistry.c: (gst_registry_init):
6491         * gst/gsturi.c: (gst_uri_handler_base_init):
6492           Remove empty instance_init() functions to save relocs and lessen the
6493           noise. Remove some of the function prototypes that are doubled by
6494           G_DEFINE_TYPE.
6495           
6496 2007-06-27  Wim Taymans  <wim@fluendo.com>
6497
6498         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
6499
6500         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
6501         Add peer and direction in the XML serialisation of ghostpads.
6502         Fixes #449226.
6503
6504 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6505
6506         * configure.ac:
6507           Preserve useful information, thanks Tim.
6508
6509 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
6510
6511         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6512         (gst_single_queue_flush), (apply_segment), (apply_buffer),
6513         (gst_single_queue_push_one), (gst_multi_queue_loop),
6514         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6515         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
6516         (compute_high_id), (gst_single_queue_new):
6517         * plugins/elements/gstmultiqueue.h:
6518         Take the multiqueue lock when updating the fill level so we don't get
6519         confused. 
6520
6521         After applying a buffer or event on the src pad segment, make sure to
6522         call gst_data_queue_limits_changed() to get the data queue to unblock
6523         and check the filled state again.
6524         
6525         Rework the not-linked pad handling so the logic is that not-linked 
6526         pads can push as fast as they like, but only so they never get 
6527         ahead of any linked pads.
6528
6529         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
6530         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
6531         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
6532
6533         Add a test to check that not-linked pads always stay behind
6534         linked pads.
6535
6536         Fixes: #430682
6537
6538 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
6539
6540         * docs/random/release:
6541           Some updates to the release procedure.
6542
6543 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
6544
6545         * gst/gstelementfactory.c: (__gst_element_details_clear):
6546           Microoptimization that saves stunning 80 bytes.
6547
6548 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
6549
6550         * docs/plugins/gstreamer-plugins.args:
6551         * docs/plugins/inspect/plugin-coreelements.xml:
6552         * docs/plugins/inspect/plugin-coreindexers.xml:
6553           Update docs with caps info.
6554
6555 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6556
6557         * po/it.po:
6558           Updated Italian translation.
6559
6560 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6561
6562         * ChangeLog:
6563         * po/vi.po:
6564           Update Vietnamese translations.
6565
6566 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * libs/gst/base/gstbasesink.c:
6569           Remove unused signal enum.
6570
6571 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6572
6573         * docs/gst/gstreamer-sections.txt:
6574         * gst/gstelement.c:
6575         * gst/gstutils.c: (gst_type_register_static_full):
6576         Beef up and include the docs for gst_type_register_static_full and
6577         gst_element_class_set_details_simple and add the API keyword
6578         in the ChangeLog.
6579
6580 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
6581
6582         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
6583         (update_time_level), (gst_single_queue_push_one),
6584         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
6585         (single_queue_overrun_cb), (single_queue_underrun_cb),
6586         (single_queue_check_full):
6587         Fix setting max-* properties after adding queues.
6588         Use IS_FILLED for checking visible items.
6589         Signal overrun if multiple queues overrun.
6590         Add extra debug output.
6591         Patch by: Wim Taymans <wim@fluendo.com>
6592
6593 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
6594
6595         * gst/gstelement.c: (gst_element_class_set_details_simple):
6596         * gst/gstelement.h:
6597         * gst/gstutils.c: (gst_type_register_static_full):
6598         * gst/gstutils.h:
6599         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
6600         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
6601         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
6602         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
6603         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
6604         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
6605         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
6606         * plugins/elements/gstidentity.c: (gst_identity_base_init):
6607         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
6608         * plugins/elements/gstqueue.c: (gst_queue_base_init),
6609         (apply_buffer), (gst_queue_chain):
6610         * plugins/elements/gsttee.c: (gst_tee_base_init):
6611         * plugins/elements/gsttypefindelement.c:
6612         (gst_type_find_element_base_init),
6613         (gst_type_find_element_class_init):
6614           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
6615           API: add gst_type_register_static_full
6616           API: add gst_element_class_set_details_simple
6617
6618 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
6619
6620         * docs/pwg/advanced-types.xml:
6621           Fix typo in iana.org URI.
6622
6623 2007-06-19  Andy Wingo  <wingo@pobox.com>
6624
6625         * tests/check/pipelines/simple-launch-lines.c
6626         (test_state_change_returns): Enable pull-mode tests now that
6627         basesink has been fixed.
6628
6629         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
6630         Changed from gst_base_sink_is_prerolled, reversing the sense of
6631         the return value. Returns FALSE also if the sink is in pull mode,
6632         in which case it needs no preroll.
6633         (gst_base_sink_query, gst_base_sink_change_state): Update for
6634         needs_preroll change.
6635         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
6636         chaining up, in which we return SUCCESS directly if we activated
6637         in pull mode instead of ASYNC. Involves countering an async_start
6638         message sent before chaining up; not sure if this is correct, in
6639         an ideal world we only send async-start when activating in push
6640         mode.
6641
6642         * tests/check/pipelines/simple-launch-lines.c
6643         (test_state_change_returns): New test, partially disabled until
6644         basesink is fixed.
6645
6646 2007-06-19  Wim Taymans  <wim@fluendo.com>
6647
6648         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6649         (gst_multi_queue_sink_event):
6650         Fix event leak.
6651
6652 2007-06-19  Wim Taymans  <wim@fluendo.com>
6653
6654         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6655         (gst_bin_change_state_func), (bin_push_state_continue),
6656         (bin_handle_async_start), (bin_handle_async_done),
6657         (gst_bin_handle_message_func):
6658         Move the common code for posting state-change messages into
6659         one function.
6660         Broadcast the state signal after we posted the messages.
6661         Mark the bin as busy when it's doing a state-change.
6662         Make sure async-start/done messages don't interfere with the bin's
6663         state when it's busy.
6664         After the state change, let the bin check which elements completed the
6665         state change while it was busy so that it can update its state.
6666
6667 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
6668
6669         * docs/random/release:
6670         Add a note about updating the doap file to the release checklist
6671
6672 2007-06-18  Wim Taymans  <wim@fluendo.com>
6673
6674         * plugins/elements/gstmultiqueue.c: (apply_buffer),
6675         (gst_single_queue_push_one), (gst_multi_queue_chain),
6676         (gst_multi_queue_sink_event):
6677         Make sure we don't reference the buffer/event after we have given away
6678         ownership in the queue.
6679
6680 2007-06-18  Wim Taymans  <wim@fluendo.com>
6681
6682         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6683         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
6684         Update queue state _after_ adding the item in the queue because else we
6685         could end up being full without the element added yet.
6686
6687 2007-06-18  Wim Taymans  <wim@fluendo.com>
6688
6689         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
6690         (gst_bin_remove_func), (gst_bin_get_state_func),
6691         (gst_bin_element_set_state), (gst_bin_continue_func),
6692         (bin_push_state_continue), (bin_handle_async_start),
6693         (bin_handle_async_done), (gst_bin_handle_message_func):
6694         * gst/gstbin.h:
6695         Immediatly commit the toplevel bin state when receiving an async-done
6696         message. This enables us to avoid spawning a thread to commit the state
6697         in some common cases and it also avoids some races.
6698         Avoid spawning a state thread when adding/removing async elements to a
6699         toplevel bin. Instead we immediatly update the bin state.
6700         Get rid of iterating all the children when getting the state in the bin
6701         because it is now always up-to-date.
6702         Fix bug where locked elements would always return _SUCCESS even it they
6703         returned NO_PREROLL before being locked.
6704         Fix the order of the state_change, async-start/done messages that was
6705         sometimes incorrect.
6706         Mark the state_dirty field as deprecated, we don't need it anymore as we
6707         are always up-to-date.
6708
6709         * gst/gstelement.c: (gst_element_get_state_func),
6710         (gst_element_continue_state):
6711         Small debug inprovements.
6712         Return the previous element state return when nothing is pending instead
6713         of blindly returning SUCCESS.
6714
6715         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
6716         (gst_sinks_suite):
6717         Add a whole bunch of new testcases.
6718
6719 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
6720
6721         * po/uk.po:
6722         * po/vi.po:
6723           Update translations.
6724
6725 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
6726
6727         * gst/gstpad.c:
6728         Fix typo in the docs.
6729
6730 2007-06-15  Wim Taymans  <wim@fluendo.com>
6731
6732         * docs/libs/gstreamer-libs-sections.txt:
6733         Add docs for new methods.
6734
6735 2007-06-15  Wim Taymans  <wim@fluendo.com>
6736
6737         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
6738         (gst_multi_queue_item_new):
6739         Don't use GSlice because we don't depend on >= 2.10 yet.
6740
6741 2007-06-15  Wim Taymans  <wim@fluendo.com>
6742
6743         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
6744         (update_time_level), (apply_segment), (apply_buffer),
6745         (gst_single_queue_push_one), (gst_multi_queue_item_new),
6746         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
6747         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
6748         (single_queue_underrun_cb), (single_queue_check_full):
6749         Remove debug printf.
6750
6751 2007-06-15  Wim Taymans  <wim@fluendo.com>
6752
6753         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
6754         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
6755         (gst_data_queue_set_flushing), (gst_data_queue_push),
6756         (gst_data_queue_pop), (gst_data_queue_drop_head),
6757         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
6758         * libs/gst/base/gstdataqueue.h:
6759         Various cleanups.
6760         Added methods to get the current levels and to inform the queue that the
6761         'full' limits changed.
6762
6763         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
6764         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6765         (gst_single_queue_flush), (update_time_level), (apply_segment),
6766         (apply_buffer), (gst_single_queue_push_one),
6767         (gst_multi_queue_item_steal_object),
6768         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6769         (gst_multi_queue_loop), (gst_multi_queue_chain),
6770         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6771         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
6772         (gst_multi_queue_src_query), (single_queue_overrun_cb),
6773         (single_queue_underrun_cb), (single_queue_check_full),
6774         (gst_single_queue_new):
6775         Keep track of time in the queue by measuring the difference between
6776         running_time on input and output. This gives more accurate results and
6777         can compensate for segments correctly.
6778         Make a queue by default only 5 buffers deep. We will now increase the
6779         buffer size depending on the filledness of the other queues.
6780         Factor out commong flush code.
6781         Make sure we don't add additional refcounts to buffers when we can avoid
6782         it.
6783         Propagate GstFlowReturn differently.
6784         Use GSlice for intermediate GstMultiQueueItems.
6785         Keep track of EOS.
6786         Resize queues on over and underruns based on filled level of other
6787         queues.
6788         When checking if the queue is filled, prefer to measure in time if we
6789         can and fall back to bytes when no time is known.
6790
6791         * plugins/elements/gstqueue.c:
6792         Fix return value.
6793
6794 2007-06-15  Wim Taymans  <wim@fluendo.com>
6795
6796         * libs/gst/base/gstbasetransform.c:
6797         (gst_base_transform_sink_event):
6798         Work around the brokenness of the event vmethod in basetransform. Prefer
6799         to return TRUE when the subclass returned FALSE (meaning don't forward
6800         the event). 
6801
6802         * libs/gst/base/gstbasetransform.h:
6803         Clarify the docs.
6804
6805 2007-06-15  Wim Taymans  <wim@fluendo.com>
6806
6807         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6808         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6809         (gst_base_src_default_query), (gst_base_src_get_range),
6810         (gst_base_src_start):
6811         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6812         Improve debugging.
6813
6814 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6815
6816         * docs/pwg/advanced-types.xml:
6817           Added more formats to caps table.
6818
6819 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
6820
6821         * tools/gst-launch.c: (main):
6822           Remove crufy code. GOption does not need this workaround.
6823
6824 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6825
6826         * libs/gst/controller/gstcontroller.c:
6827         (gst_controlled_property_set_interpolation_mode):
6828           Fix wrong getter for enums in controller.
6829
6830 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6831
6832         * libs/gst/check/gstcheck.c: (gst_check_init):
6833           Intercept criticals and warnings in the Gst-Phonon log domain, so
6834           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6835           well.
6836         
6837 2007-06-14  Edward Hervey  <edward@fluendo.com>
6838
6839         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6840         Since this file doesn't include "gst.h" it will not go through the
6841         macros that disable GST_LOG if debugging was disabled.
6842
6843 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6844
6845         * libs/gst/check/Makefile.am:
6846         * libs/gst/check/gstcheck.h:
6847         * pkgconfig/gstreamer-check-uninstalled.pc.in:
6848         * pkgconfig/gstreamer-check.pc.in:
6849           Ugly 'fix' for the controller unit test on the p5 bot: in
6850           fail_unless_equals_float() check whether the values are 'almost
6851           equal' by allowing a small absolute error, which should be good
6852           enough for our use cases (normal numbers and values close to 0).
6853           Proper fixage left to floating point arithmetic aficionados.
6854
6855 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6856
6857         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6858         (gst_base_sink_render_object), (gst_base_sink_get_position):
6859           Add two breaks thats where missing.
6860
6861 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6862
6863         * docs/libs/gstreamer-libs-sections.txt:
6864         * libs/gst/check/gstcheck.h:
6865           API: add fail_unless_equals_float() and assert_equals_float().
6866           Add documentation for some of the macros.
6867
6868         * tests/check/libs/controller.c: (GST_START_TEST):
6869           Use newly-added asserts.
6870
6871 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
6872
6873         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6874           Show the caps change in the log to help spotting the case of not
6875           exactly matching caps.
6876
6877 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
6878
6879         * docs/pwg/building-boiler.xml:
6880           Fix typos, spotted by Thijs Vermeir (#447190).
6881
6882 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6883
6884         * docs/plugins/tmpl/.cvsignore:
6885         Ignore file to keep the buildbots happy
6886
6887 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
6888
6889         * docs/plugins/Makefile.am:
6890         * docs/plugins/gstreamer-plugins-docs.sgml:
6891         * docs/plugins/gstreamer-plugins-sections.txt:
6892         Pull fdsink into the docs too.
6893
6894 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
6895
6896         * libs/gst/controller/gstinterpolation.c:
6897         Actually use the new functions with min/max checks for the trigger and
6898         none interpolation modes for get() and get_value_array() instead of
6899         just the latter.
6900
6901 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
6902
6903         * libs/gst/controller/gstcontroller.c:
6904         (gst_controlled_property_free):
6905         Unset the minimum and maximum GValues when freeing the corresponding
6906         GstControllerProperty struct.
6907
6908 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
6909
6910         * libs/gst/controller/gstcontroller.c:
6911         (gst_controlled_property_new):
6912         * libs/gst/controller/gstcontrollerprivate.h:
6913         * libs/gst/controller/gstinterpolation.c:
6914         (gst_controlled_property_find_control_point_node),
6915         (interpolate_none_get), (interpolate_none_get_enum_value_array),
6916         (interpolate_none_get_string_value_array),
6917         (interpolate_trigger_get),
6918         (interpolate_trigger_get_enum_value_array),
6919         (interpolate_trigger_get_string_value_array):
6920         Protect against values larger or smaller than the minimum or maximum
6921         allowed value for the property when using values that can be compared.
6922
6923         Optimize trigger interpolator a bit by taking the last requested value
6924         into account instead of always looping through the complete list.
6925
6926         Fix coding style a bit, everywhere else we use "return foo" instead
6927         of "return (foo)".
6928         
6929         * tests/check/libs/controller.c: (GST_START_TEST),
6930         (gst_controller_suite):
6931         Add unit test for the protection against too large or too small
6932         values.
6933
6934 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
6935
6936         * docs/random/slomo/controller.txt:
6937         Add some thoughts about the future of the controller.
6938
6939 2007-06-08  Wim Taymans  <wim@fluendo.com>
6940
6941         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6942         Don't overflow in retimestamping code.
6943
6944 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
6945
6946         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6947         Use gst_util_guint64_to_gdouble for conversions.
6948         * win32/common/libgstreamer.def:
6949         Add new exported functions.
6950
6951 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
6952
6953         * gst/gstutils.c:
6954           Small docs addition.
6955
6956 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6957
6958         * README:
6959           Remove that test line again.
6960
6961 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6962
6963         * README:
6964           Test commit mail sending.
6965
6966 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6967
6968         * configure.ac:
6969           Fix typo and test commit mail sending.
6970
6971 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6972
6973         * tests/examples/controller/audio-example.c:
6974           Improve comment and test commit mail sending.
6975
6976 2007-06-07  Wim Taymans  <wim@fluendo.com>
6977
6978         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6979         (gst_bin_remove_func), (gst_bin_element_set_state),
6980         (bin_handle_async_start), (bin_handle_async_done),
6981         (gst_bin_handle_message_func):
6982         Add helper function to find messages.
6983         Generate the async-done messages together with the state change
6984         messages.
6985         Small cleanups in handling toplevel bins.
6986
6987 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6988
6989         * libs/gst/base/gstdataqueue.c:
6990         * libs/gst/base/gstdataqueue.h:
6991         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6992         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6993         (gst_multi_queue_sink_event):
6994         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6995           Fix multiqueue leaking buffers and events when downstream or the
6996           queue are flushing. Make refcounting assumptions explicit and
6997           document them (shouldn't break existing code that uses it other than
6998           maybe leak miniobjects, but that already happens anyway). Add unit
6999           test for the most common flushing case. Fixes #423700.
7000           
7001 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7002
7003         * libs/gst/controller/gstcontroller.c:
7004         Clarify docs: The get_all, get_value_array(s) functions
7005         don't modify the GObject properties.
7006
7007 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
7008
7009         * libs/gst/controller/gstcontroller.c:
7010         (gst_controlled_property_set_interpolation_mode),
7011         (gst_controlled_property_prepend_default),
7012         (gst_controlled_property_new), (gst_controller_set_unlocked),
7013         (gst_controller_set), (gst_controller_set_from_list),
7014         (gst_controller_unset), (gst_controller_unset_all):
7015         * libs/gst/controller/gstcontrollerprivate.h:
7016         * libs/gst/controller/gstinterpolation.c:
7017         Factor out the 'set' logic into gst_controller_set_unlocked for the
7018         gst_controller_set and gst_controller_set_from_list functions.
7019
7020         To make life of the interpolators easier always add a control point
7021         at timestamp zero with the default value.
7022
7023         In the linear interpolator make things more obvious by better variable
7024         naming (slope).
7025
7026         Implement cubic interpolation mode (by using a natural cubic spline)
7027         and map the quadratic interpolation mode to this too (as quadratic
7028         doesn't make much sense, see discussion on the list).
7029
7030         * tests/check/libs/controller.c: (GST_START_TEST),
7031         (gst_controller_suite):
7032         Add unit test for the cubic interpolation mode and check everywhere
7033         if the interpolation mode could be set as expected.
7034
7035 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
7036
7037         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
7038           Don't use GLib-2.10 functions, we still depend on
7039           GLib-how-old-is-it-again-2.8.
7040
7041 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
7042
7043         * docs/gst/gstreamer-sections.txt:
7044         * gst/Makefile.am:
7045         * gst/gst.c:
7046         * gst/gst.h:
7047         * gst/gstparamspecs.c: (_gst_param_fraction_init),
7048         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
7049         (_gst_param_fraction_values_cmp),
7050         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
7051         * gst/gstparamspecs.h:
7052         * gst/gstvalue.c:
7053         * tests/check/Makefile.am:
7054         * tests/check/gst/.cvsignore:
7055         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
7056         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
7057         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
7058         (GST_START_TEST), (gst_param_spec_suite):
7059           API: add GstParamSpecFraction, so elements can have fraction
7060           properties without lots of painful string parsing (#444648).
7061
7062 2007-06-05  Wim Taymans  <wim@fluendo.com>
7063
7064         * gst/gstobject.c: (gst_object_class_init):
7065         Fix signal signature.
7066
7067         * gst/gstsegment.c:
7068         Add small clarification in the api docs.
7069
7070         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
7071         States are protected with object lock.
7072
7073 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
7074
7075         * AUTHORS:
7076         I should probably be listed as an author by now.
7077
7078         * docs/random/release:
7079         Update the release doc
7080
7081 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
7082
7083         * gst/gstvalue.c:
7084           Make docs for gst_value_compare() mention return enums that
7085           actually exist.
7086
7087 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
7088
7089         * configure.ac:
7090           Back to CVS
7091
7092 === release 0.10.13 ===
7093
7094 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
7095
7096         * configure.ac:
7097           releasing 0.10.13, "With or without you"
7098
7099 2007-05-25  Wim Taymans  <wim@fluendo.com>
7100
7101         * gst/gstbin.c: (bin_handle_async_done):
7102         Make sure that the child bin stops after completing the async state
7103         change so that the parent can continue the state change to PLAYING.
7104         Fixes #441159.
7105
7106 2007-05-25  Wim Taymans  <wim@fluendo.com>
7107
7108         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7109         (unref_data), (gst_collect_pads_remove_pad),
7110         (gst_collect_pads_check_pads):
7111         Use additional refcounting to avoid crashes when dynamically adding and
7112         removing pads. Fixes #420206.
7113
7114 2007-05-24  Wim Taymans  <wim@fluendo.com>
7115
7116         * tools/gst-launch.c: (event_loop):
7117         When buffering goes from a two digit to a single digit number, make sure
7118         to remove the old second digit by writing a blank over it.
7119
7120 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7121
7122         * libs/gst/base/gstdataqueue.c:
7123           Eliminate tabs and trailing comma in enum list; fix some typos.
7124
7125 2007-05-24  Wim Taymans  <wim@fluendo.com>
7126
7127         * tests/check/gst/gstbin.c: (GST_START_TEST):
7128         Allow refcount of 3 and 4 because some state thread might still be busy
7129         with it.
7130
7131 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
7132
7133         * plugins/elements/Makefile.am:
7134         * plugins/elements/gstmultiqueue.h:
7135         * plugins/elements/gstqueue.h:
7136           These are not installed headers, no need for padding.
7137
7138 2007-05-24  Wim Taymans  <wim@fluendo.com>
7139
7140         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
7141         (gst_bin_continue_func):
7142         Enable latency for next release.
7143         Restore STATE_LOCK around recalc_state that was left out during the
7144         rewrite and could result in racy behaviour when _get_state and
7145         recalc_state are run concurrently. See #440463.
7146
7147 2007-05-23  Wim Taymans  <wim@fluendo.com>
7148
7149         * tests/check/gst/gstsystemclock.c: (store_callback),
7150         (GST_START_TEST):
7151         Improve test_async_order to also work when both timers are already
7152         expired when we get scheduled to check it.
7153
7154 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7155
7156         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
7157         (gst_bin_set_property), (gst_bin_get_property),
7158         (gst_bin_remove_func), (gst_bin_handle_message_func):
7159         * gst/gstbin.h:
7160           'private' is a c++ keyword, let's not use that in header files,
7161           otherwise c++ compilers will throw a tantrum.
7162
7163 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7164
7165         * plugins/elements/gstelements.c:
7166         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
7167         (gst_file_sink_get_current_offset):
7168         * plugins/indexers/gstindexers.c: (plugin_init):
7169           Use #ifdef for HAVE_XYZ for consistency.
7170
7171         * tests/check/Makefile.am:
7172         * tests/check/elements/.cvsignore:
7173         * tests/check/elements/filesink.c: (setup_filesink),
7174         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
7175           Add some unit tests for filesink.
7176
7177 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
7178
7179         Patch by: Mark Nauwelaerts <manauw at skynet be>
7180
7181         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7182         (gst_file_sink_query), (gst_file_sink_do_seek),
7183         (gst_file_sink_get_current_offset), (gst_file_sink_render):
7184         * plugins/elements/gstfilesink.h:
7185           Fix position reporting; rename data_written member to current_pos to
7186           reflect its real meaning (fixes #412648).
7187
7188 2007-05-22  Edward Hervey  <edward@fluendo.com>
7189
7190         * docs/gst/gstreamer-sections.txt:
7191         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7192         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
7193         (gst_bin_remove_func), (gst_bin_handle_message_func):
7194         * gst/gstbin.h:
7195         Add a property for bins that handle the state change of their childs.
7196         Fixes #435880
7197
7198 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
7199
7200         * libs/gst/controller/gstinterpolation.c:
7201         Use an array of the correct type when using _get_value_array with
7202         linear interpolation.
7203
7204 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
7205
7206         * gst/gstelement.c (gst_element_requires_clock,
7207           gst_element_provides_clock, gst_element_request_pad,
7208           gst_element_class_set_details, gst_element_class_set_details_simple,
7209           gst_element_default_send_event, gst_element_abort_state,
7210           gst_element_continue_state, gst_element_set_state,
7211           gst_element_set_state_func, iterator_activate_fold_with_resync):
7212         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
7213           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
7214           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
7215           gst_pad_get_range, gst_pad_pull_range):
7216         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
7217           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
7218           GstPadActivateModeFunction, GstPadChainFunction,
7219           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
7220           GstPadFixateCapsFunction, GstPadTemplate):
7221         * gst/gstpipeline.c (gst_pipeline_change_state,
7222           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
7223           gst_pipeline_set_clock, gst_pipeline_auto_clock,
7224           gst_pipeline_get_delay):
7225           Whitespace and docs fixes.
7226
7227 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7228
7229         * libs/gst/controller/gstinterpolation.c:
7230         (interpolate_trigger_get_enum_value_array),
7231         (interpolate_trigger_get_string_value_array):
7232         Add support for retrieving value arrays when using the trigger
7233         interpolation mode. 
7234
7235 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7236
7237         * libs/gst/controller/gstcontroller.c:
7238         (gst_controller_get_value_array):
7239         * libs/gst/controller/gstcontroller.h:
7240         Clarify the docs of gst_controller_get_value_array(): The array where
7241         the values should be written to must be allocated as there seems to be
7242         no way to get the size of a random GType. This doesn't change any
7243         behaviour. Also fix some typos all over the place and remove an unused,
7244         commented function that is not necessary as g_object_set() could be
7245         used instead.
7246         * tests/check/libs/controller.c: (GST_START_TEST),
7247         (gst_controller_suite):
7248         Add unit test for gst_controller_get_value_array().
7249
7250 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
7251
7252         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7253
7254         Disable part of the gst_buffer_try_new_and_alloc test, because
7255         it can happily succeed on 64-bit systems where there's more address
7256         space available.
7257
7258 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
7259
7260         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
7261         Add unit test for the improved caps checking from bug #421543.
7262
7263 2007-05-21  Wim Taymans  <wim@fluendo.com>
7264
7265         * docs/design/part-synchronisation.txt:
7266         Small addition.
7267
7268         * gst/gstbin.c: (gst_bin_query):
7269         * plugins/elements/gstqueue.c: (apply_segment):
7270         Improve debugging.
7271
7272         * gst/gstmessage.h:
7273         Improve docs.
7274
7275 2007-05-21  Wim Taymans  <wim@fluendo.com>
7276
7277         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7278         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
7279         (gst_pad_configure_src):
7280         Added simple version of improved caps checking. It was previously
7281         assumed that a setcaps function would check the validity of the caps but
7282         people prefer us to check caps against the template automatically. 
7283         Fixes #421543.
7284
7285 2007-05-21  Wim Taymans  <wim@fluendo.com>
7286
7287         * libs/gst/base/gstbasetransform.h:
7288         Fix macro for locking/unlocking the transform lock.
7289
7290 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * docs/plugins/tmpl/.cvsignore:
7293           Ignore more.
7294
7295 2007-05-18  Edward Hervey  <edward@fluendo.com>
7296
7297         * plugins/elements/gstqueue.c: (gst_queue_loop):
7298         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
7299         for the subtle art of warning a potentially blocking thread that it
7300         should check the source pad return value, and relay the information
7301         upstream.
7302
7303 2007-05-18  Edward Hervey  <edward@fluendo.com>
7304
7305         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
7306         Release the queue lock !
7307
7308 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7309
7310         * docs/libs/gstreamer-libs-sections.txt:
7311         Add the two new controller functions to the appropiate places.
7312
7313 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7314
7315         reviewed by: Stefan Kost <ensonic@users.sf.net>
7316
7317         * libs/gst/controller/gstcontroller.c:
7318         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
7319         (_gst_controller_get_property), (_gst_controller_set_property),
7320         (_gst_controller_init), (_gst_controller_class_init):
7321         * libs/gst/controller/gstcontroller.h:
7322         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
7323         (gst_object_get_control_rate), (gst_object_set_control_rate):
7324         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
7325         Add API that provides sync suggestion timestamps for elements that
7326         call gst_object_sync_values() from which those elements can subdivide
7327         their processing loop to get the best results for the controlled
7328         properties. For now it just suggests last_sync + control_rate as
7329         new timestamp but this will be improved in the future.
7330
7331         While doing that change the control-rate property to a GstClockTime
7332         from guint and change it's meaning from samples to nanoseconds as
7333         the GstController doesn't know anything about sampling rate. Strictly
7334         speaking this breaks ABI but as the control-rate property didn't do
7335         anything in the past and as such couldn't be used this should be no
7336         problem.        
7337
7338 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7339
7340         reviewed by: Stefan Kost <ensonic@users.sf.net>
7341
7342         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
7343         (gst_controller_unset_all):
7344         * libs/gst/controller/gstcontrollerprivate.h:
7345         * libs/gst/controller/gstinterpolation.c:
7346         (gst_controlled_property_find_control_point_node):
7347         Save last synced value from the list to continue searching from there
7348         in future syncs. This speeds everything up a bit.
7349         
7350 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
7351
7352         reviewed by: Stefan Kost <ensonic@users.sf.net>
7353
7354         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
7355         (gst_control_point_find), (gst_controlled_property_new),
7356         (gst_control_point_free), (gst_controlled_property_free),
7357         (gst_controller_set), (gst_controller_set_from_list),
7358         (gst_controller_unset), (gst_controller_unset_all),
7359         (gst_controller_sync_values):
7360         * libs/gst/controller/gstcontroller.h:
7361         * libs/gst/controller/gstcontrollerprivate.h:
7362         * libs/gst/controller/gstinterpolation.c:
7363         (gst_controlled_property_find_control_point_node),
7364         (interpolate_none_get), (interpolate_trigger_get):
7365         Add a new private GstControlPoint struct which "inherits" from
7366         GstTimedValue to allow different interpolators to store internal
7367         values next to each control point. From the outside everything is
7368         still a GstControlPoint so we don't loose binary compatibility.
7369         Also fixup all the GValue handling to not leak GValues or list nodes.
7370         * tests/check/libs/controller.c: (GST_START_TEST):
7371         Free the list nodes and GValues in the controller_misc test.
7372
7373 2007-05-17  Edward Hervey  <edward@fluendo.com>
7374
7375         * gst/gstsegment.c:
7376         Small doc fix.
7377
7378 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
7379
7380         * gst/gstplugin.c: (gst_plugin_load_file):
7381           If we fail to load a plugin because of unresolved symbols or missing
7382           libraries and spew a warning to stderr, we may just as well mention
7383           which plugin it was that failed to load.
7384
7385 2007-05-13  David Schleef  <ds@schleef.org>
7386
7387         * docs/Makefile.am: the gtk-doc makefile snippet correctly
7388           handles the case when ENABLE_GTK_DOC is false, and installs
7389           the prebuilt documentation.  So gtk-doc subdirs are 
7390           unconditionally enabled.  Fixes: #349099.
7391
7392 2007-05-13  David Schleef  <ds@schleef.org>
7393
7394         * gst/gstutils.h: Reword some documentation.
7395
7396 2007-05-12  David Schleef  <ds@schleef.org>
7397
7398         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
7399           do anything with the passed "module" parameter, so remove it.
7400           Allows removal of additional vestigal code.
7401
7402 2007-05-12  David Schleef  <ds@schleef.org>
7403
7404         * gst/gstplugin.c:
7405           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
7406           Switch to using g_stat() because it's more portable.
7407
7408 2007-05-12  David Schleef  <ds@schleef.org>
7409
7410         * gst/gst.c:
7411           Add GST_DISABLE_OPTION_PARSING, in order to disable option
7412           parsing for embedded systems.
7413         * gst/gstelementfactory.c:
7414           Allow gst_element_register() to be called with plugin==NULL.
7415           Did nobody notice that static elements were broken?
7416
7417 2007-05-12  Wim Taymans  <wim@fluendo.com>
7418
7419         * tools/gst-launch.c: (event_loop):
7420         Give more interesting info when buffering starts and stops.
7421         Fix case where buffering starts but we fail to update the buffering flag
7422         because the target state is not PLAYING.
7423
7424 2007-05-12  Wim Taymans  <wim@fluendo.com>
7425
7426         * plugins/elements/gstqueue.c: (gst_queue_init),
7427         (gst_queue_finalize), (update_time_level), (apply_segment),
7428         (apply_buffer), (gst_queue_locked_flush),
7429         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
7430         (gst_queue_handle_sink_event), (gst_queue_chain),
7431         (gst_queue_push_one), (gst_queue_loop):
7432         * plugins/elements/gstqueue.h:
7433         Refactor an cleanup queue a bit.
7434         Do better time level calculations that also work when the srcpad is not
7435         yet running.
7436         Remove some unneeded debug lines.
7437
7438         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
7439         Added testcase for time level measurement.
7440         Try to make some stuff more racefree.
7441
7442 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7443
7444         * gst/gsturi.c: (gst_element_make_from_uri):
7445           Don't leak plugin feature.
7446
7447         * tests/check/Makefile.am:
7448         * tests/check/gst/.cvsignore:
7449         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
7450           Add brain-dead unit test.
7451
7452 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
7453
7454         Patch by: Jeroen Wouters <woutersj at gmail com>
7455
7456         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
7457           Treat protocol strings in a case-insensitive way (#437563).
7458
7459 2007-05-11  Michael Smith <msmith@fluendo.com>
7460
7461         * gst/gstplugin.c: (gst_plugin_load_file):
7462         * gst/gstregistry.c: (gst_registry_scan_path_level):
7463           Don't print a g_warning for any failure to load a shared object.
7464           Instead, push this down into gstplugin.c, and warn _only_ if we
7465           failed to open the module (i.e. failure to link).
7466           Avoids warnings on normal, working, non-plugin .so files.
7467
7468 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
7469
7470         * gst/gstplugin.c (gst_plugin_load_file):
7471         * gst/gstregistry.c (GST_CAT_DEFAULT,
7472           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
7473           Print a g_warning if there was an error when loading a plugins during
7474           registry scan. The shuld help beginners starting with gst-plugin
7475           template.
7476
7477 2007-05-10  Wim Taymans  <wim@fluendo.com>
7478
7479         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7480         (update_time_level), (gst_queue_locked_flush),
7481         (gst_queue_handle_sink_event), (gst_queue_chain),
7482         (gst_queue_push_one), (gst_queue_loop):
7483         * plugins/elements/gstqueue.h:
7484         Be smarter when calculating the current amount of data in the queue by
7485         measuring the difference between start and end timestamps (in running
7486         time) inside the queue. Fixes #432876.
7487         API: GstQueue::pushing to notify elements that we are pushing data again
7488         since the running signal is rather broken for this purpose.
7489
7490 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
7491
7492         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
7493           gst_queue_base_init, gst_queue_init):
7494           use GST_BOILERPLATE
7495
7496 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
7497
7498         * win32/common/libgstreamer.def:
7499         Add new exported functions.
7500         * win32/vs6/grammar.dsp:
7501         Use grammar pre-generated files.
7502
7503 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7504
7505         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
7506
7507         * gst/Makefile.am:
7508         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
7509         * gst/gstparse.h:
7510         * gst/gstutils.c: (gst_parse_bin_from_description):
7511         * gst/gstutils.h:
7512           Maintain API and ABI when --disable-parse is used. Now that
7513           we have an appropriate error code, we can just return NULL and the
7514           appropriate error when gst_parse_launch() is used despite it having
7515           been disabled (#342564).
7516
7517         * tests/check/Makefile.am:
7518         * tests/check/pipelines/.cvsignore:
7519         * tests/check/pipelines/parse-disabled.c:
7520           Make sure these functions exist and return NULL plus a GError when
7521           --disable-parse is used.
7522
7523 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * tests/benchmarks/complexity.c: (main):
7526         * tests/benchmarks/mass-elements.c: (main):
7527           Set a good example and don't leak messages.
7528
7529 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
7530
7531         * docs/gst/Makefile.am:
7532         * docs/libs/Makefile.am:
7533           Correct fixxrefs options.
7534
7535         * docs/plugins/Makefile.am:
7536         * docs/plugins/gstreamer-plugins-docs.sgml:
7537         * docs/plugins/gstreamer-plugins-sections.txt:
7538         * plugins/elements/Makefile.am:
7539         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
7540         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
7541           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
7542           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
7543           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
7544           _GstCapsFilterClass, trans_class):
7545         * plugins/elements/gstelements.c (name, rank, type, _elements):
7546         * plugins/elements/gstidentity.c
7547           (gst_identity_check_imperfect_timestamp,
7548           gst_identity_check_imperfect_offset):
7549           Document capsfilter and add doc-blurb to identity.
7550
7551 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
7552
7553         * libs/gst/controller/gstcontroller.c:
7554         (gst_controlled_property_set_interpolation_mode):
7555         * libs/gst/controller/gstinterpolation.c:
7556           Don't crash if someone tries to set an interpolation mode that
7557           is invalid or that isn't supported yet. Fixes #422295.
7558
7559         * tests/check/libs/controller.c: (GST_START_TEST),
7560         (gst_controller_suite):
7561           Add a test case for the above.
7562
7563 2007-05-03  Edward Hervey  <edward@fluendo.com>
7564
7565         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7566         Properly set the last_stop position on GstSegment. This will only happen
7567         if there is a buffer to push out.
7568
7569 2007-05-03  Wim Taymans  <wim@fluendo.com>
7570
7571         * libs/gst/base/gstbasetransform.c:
7572         (gst_base_transform_buffer_alloc):
7573         always_in_place does not mean that the sink and source caps are the
7574         same! Make sure we don't blindly proxy the buffer_alloc in this case.
7575
7576 2007-05-03  Wim Taymans  <wim@fluendo.com>
7577
7578         * docs/libs/gstreamer-libs-sections.txt:
7579         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
7580         (gst_base_src_default_query), (gst_base_src_get_range):
7581         * libs/gst/base/gstbasesrc.h:
7582         API: gst_base_src_query_latency(). Added method so that subclasses can
7583         easily get the latency values of the base source class.
7584
7585 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
7586
7587         * tools/gst-inspect.c (print_implementation_info):
7588         Remove 0.8 cruft.
7589
7590 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
7591
7592         * tools/Makefile.am:
7593         * tools/gst-launch.1.in:
7594           Don't create a customised man page based on the host architecture,
7595           describe the default registry path generically. That way the man
7596           page is the same for all architectures and packagers have one
7597           multilib issue less to deal with. Fixes #434926.
7598
7599 2007-05-02  Wim Taymans  <wim@fluendo.com>
7600
7601         * gst/gstpad.c:
7602         Fix documentation as spotted by rg on IRC. 
7603
7604 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
7605
7606         * gst/gstutils.c:
7607           Improve docs for gst_element_{link,unlink}.
7608
7609 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
7610
7611         * docs/design/part-events.txt:
7612         * docs/design/part-overview.txt:
7613         * gst/gstevent.c:
7614         * gst/gsturi.c:
7615         * gst/gsturi.h:
7616         * libs/gst/base/gstbasesink.c:
7617           Typo fixes; minor docs addition.
7618
7619 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7620
7621         * docs/gst/gstreamer-sections.txt:
7622         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
7623         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
7624         * gst/gsturi.h:
7625         API: Add gst_uri_protocol_is_supported(), which checks if a sink
7626         or src that supports a given URI protocol exists.
7627
7628 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7629
7630         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7631         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7632         Set the location to NULL if "file://" is set as URI. Otherwise
7633         some random previous URI would still be set if "file://" is
7634         set on an already used filesink/filesrc.
7635
7636 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
7637
7638         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7639         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7640         Special case the "file://" URI as as this is used by some
7641         applications to test with gst_element_make_from_uri if there's
7642         an element that supports the URI protocol.
7643         Also move the g_path_is_absolute() check for the location part
7644         of the URI to also check this for "file://localhost/bla" URIs.
7645
7646 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
7647
7648         * docs/gst/gstreamer-sections.txt:
7649         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
7650         * gst/gstbuffer.h:
7651         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
7652         (gst_buffer_suite):
7653           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
7654
7655 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
7656
7657         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7658         (gst_registry_binary_load_pad_template),
7659         (gst_registry_binary_load_plugin),
7660         (gst_registry_binary_read_cache):
7661         * gst/gstregistrybinary.h:
7662           Implement no-mmap alternative for registry reading. Do code cleanups.
7663           Add more comments about avoiding strdups for all text data. Comments
7664           welcome.
7665
7666 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7667
7668         * gst/gstregistrybinary.h (GstBinaryPluginElement,
7669           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
7670           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
7671           Comment structs and reformat to fix the build (that stuff should go
7672           into a priv. header).
7673
7674 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
7675
7676         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
7677         (gst_registry_binary_load_feature):
7678         * gst/gstregistrybinary.h:
7679           Refactor so that we can implement multiple features. Add support for
7680           TypeFindFactory features.
7681
7682 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
7683
7684         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
7685
7686         * configure.ac:
7687           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
7688
7689 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
7690
7691         * gst/gstbin.c: (gst_bin_element_set_state),
7692         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
7693         (bin_handle_async_done), (gst_bin_handle_message_func):
7694           Fix build with --gst-disable-gst-debug
7695
7696 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
7697
7698         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
7699           Make sure streaming has finished before calling the ::stop() vfunc,
7700           since that vfunc might clear state which is being used in the
7701           streaming thread. This fixes a race that caused crashes in
7702           audioresample when shutting down a pipeline (#420106).
7703
7704 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7705
7706         * docs/gst/gstreamer-sections.txt:
7707           That was one byte missing.
7708
7709 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7710
7711         * configure.ac:
7712         * docs/gst/gstreamer-sections.txt:
7713         * gst/Makefile.am:
7714         * gst/gstconfig.h.in:
7715         * gst/gstobject.c: (gst_object_class_init),
7716         (gst_signal_object_class_init):
7717         * gst/gstobject.h:
7718           2nd attempt to have a xml-less build as a joined effort of #413123
7719           and #421480.
7720
7721 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
7722
7723         * docs/design/draft-tagreading.txt:
7724           Added open issues/thoughts to draft.
7725
7726 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7727
7728         * gst/parse/grammar.tab.pre.c:
7729         * gst/parse/grammar.tab.pre.h:
7730         * gst/parse/lex._gst_parse_yy.pre.c:
7731         Update the prebuild parser sources.
7732
7733 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7734
7735         * gst/parse/Makefile.am:
7736         And now fix the building of the flex sources. Now everything should
7737         work as expected.
7738
7739 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7740
7741         * gst/parse/Makefile.am:
7742         Now hopefully fix the build failures by setting proper rule
7743         dependencies and moving instead of copying.
7744
7745 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7746
7747         * tests/benchmarks/complexity.gnuplot:
7748         * tests/benchmarks/complexity.scm:
7749         * tests/benchmarks/mass-elements.gnuplot:
7750         * tests/benchmarks/mass-elements.scm:
7751           Total licensification.
7752
7753 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7754
7755         * gst/parse/Makefile.am:
7756           Fix the build by correcting the rule that gave wrong files to flex.
7757
7758 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
7759
7760         * tests/benchmarks/complexity.c:
7761         * tests/benchmarks/mass-elements.c:
7762           Change licence to LGPL as granted by Benjamin and Andy.
7763
7764 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
7765
7766         * gst/parse/Makefile.am:
7767         Add correct grammar.tab.h dependency if compiling without new enough
7768         flex. Fixes #431150.
7769
7770 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7771
7772         * gst/parse/Makefile.am:
7773         Fix typo and use outdated sources if the flex/bison sources are newer
7774         than the pregenerated ones but flex is too old. Print a warning in
7775         that case. This should fix the build on the build bot.
7776
7777 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
7778
7779         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
7780         * gst/parse/Makefile.am:
7781         * gst/parse/grammar.y:
7782         * gst/parse/parse.l:
7783         Make the parser reentrant and recursively callable. This requires flex
7784         >= 2.5.31, for older versions pregenerated sources are used as we
7785         can't bump the build dependency. Finally fixes #349180.
7786
7787         * gst/gstparse.c: (gst_parse_launch):
7788         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
7789         now anyway.
7790
7791         * docs/gst/Makefile.am:
7792         * docs/gst/Makefile.am:
7793         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
7794         (__gst_parse_strfree), (__gst_parse_link_new),
7795         (__gst_parse_link_free), (__gst_parse_chain_new),
7796         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
7797         (gst_parse_element_set), (gst_parse_free_link),
7798         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
7799         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
7800         (_gst_parse_launch):
7801         * gst/parse/grammar.tab.pre.h:
7802         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7803         (yy_get_previous_state), (yy_try_NUL_trans), (input),
7804         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7805         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7806         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7807         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7808         (_gst_parse_yypop_buffer_state),
7809         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7810         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7811         (yy_fatal_error), (_gst_parse_yyget_extra),
7812         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7813         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7814         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7815         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7816         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7817         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7818         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7819         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7820         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7821         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7822         (_gst_parse_yyfree):
7823         If the installed flex version is too old use pre-generated parser
7824         sources. These pre-generated parser sources are always updated when
7825         the actual flex/bison sources change but require everybody who wants
7826         to change something in the parser to have flex >= 2.5.31 installed.
7827
7828 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
7829
7830         * common/m4/gst-gettext.m4:
7831         * gst/gst-i18n-lib.h:
7832           Make --disable-nls to work
7833
7834 2007-04-17  Wim Taymans  <wim@fluendo.com>
7835
7836         * gst/gstconfig.h.in:
7837         Revert previous change that broke the build.
7838
7839 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
7840
7841         * configure.ac:
7842         * gst/Makefile.am:
7843         * gst/gstconfig.h.in:
7844           Drop libxml2 dependency when building with 
7845           --enable-binary-registry --disable-loadsave
7846
7847 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
7848
7849         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7850         (gst_registry_binary_read_cache):
7851         * gst/gstregistrybinary.h:
7852           Remove unnecessary <sys/mman.h> include which broke the win32 build
7853           with MingW; move includes from header file to .c file, even if the
7854           header file isn't installed; use g_strerror() where UTF-8 strings
7855           are expected, such as in GST_DEBUG messages.
7856
7857 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7858
7859         * docs/libs/gstreamer-libs-sections.txt:
7860         Remove bogus addition for API I didn't end up keeping.
7861
7862         * libs/gst/base/gstbasesrc.h:
7863         Mention Since: 0.10.13 in the documentation.
7864
7865         Add the API keyword to the previous ChangeLog entry.
7866
7867 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7868
7869         * docs/libs/gstreamer-libs-sections.txt:
7870         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7871         (gst_base_src_default_prepare_seek_segment),
7872         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7873         * libs/gst/base/gstbasesrc.h:
7874         Allow basesrc derived classes to execute seeks in other formats
7875         by providing a prepare_seek_segment vmethod. Sub-classes can choose
7876         to prepare the GstSegment in any format that their perform_seek method
7877         will be able to understand. The default implementation provides the
7878         old behaviour of attempting to convert the seek offsets to the 
7879         configured native format.
7880
7881         API: basesrc::prepare_seek_segment vmethod.
7882
7883 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7884
7885         * gst/gstelement.c: (gst_element_get_state_func):
7886         Don't output the same debug statement twice.
7887
7888         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7889         (gst_adapter_peek), (gst_adapter_take_buffer):
7890         Optimise the case where we have buffers at the head of the queue that
7891         can be joined quickly (because they're contiguous sub-buffers) by
7892         merging them together rather than copying data out into new memory.
7893
7894         * gst/parse/grammar.y:
7895         * tests/check/pipelines/parse-launch.c:
7896         Fix a leak in an error path for parse_launch, and add a check 
7897         for it to the testsuite.
7898
7899 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
7900
7901         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7902           Don't deadlock when releasing a pad - gst_pad_set_active may try
7903           and take the multiqueue lock too.
7904
7905 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
7906
7907         * gst/gsterror.c: (_gst_core_errors_init):
7908         * gst/gsterror.h:
7909           API: add GST_CORE_ERROR_DISABLED (#392804).
7910
7911 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
7912
7913         * docs/faq/gst-uninstalled:
7914           don't get empty paths on the PATH variables
7915         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7916           Don't format for the uncommon terminal width of 84 characters.
7917
7918 2007-04-06  Wim Taymans  <wim@fluendo.com>
7919
7920         * gst/gstpipeline.c: (reset_stream_time),
7921         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7922         Only try to select a different pipeline clock when we went back to
7923         PAUSED and not when we merely got flushed.
7924
7925 2007-04-05  Michael Smith  <msmith@fluendo.com>
7926
7927         * tools/gst-launch.1.in:
7928           fractions are better supported in gstreamer than ractions, so
7929           suggest using those.
7930
7931 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7932
7933         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7934
7935         * po/LINGUAS:
7936         * po/da.po:
7937           Added Danish translation.
7938
7939 2007-04-05  Wim Taymans  <wim@fluendo.com>
7940
7941         * libs/gst/base/gstbasesink.c:
7942         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7943         Fix leak caused when refusing newsegment after EOS.
7944
7945         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7946         (gst_fake_sink_init), (gst_fake_sink_set_property),
7947         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7948         (gst_fake_sink_render), (gst_fake_sink_change_state):
7949         * plugins/elements/gstfakesink.h:
7950         Add num-buffers property to make the element generate EOS after a
7951         configurable amount of buffers.
7952         API: fakesink::num-buffers property.
7953
7954         * tests/check/elements/fakesink.c: (GST_START_TEST),
7955         (fakesink_suite):
7956         Fix GstBus leak in test.
7957         Test for fakesink num-buffers.
7958
7959 2007-04-05  Wim Taymans  <wim@fluendo.com>
7960
7961         * libs/gst/base/gstbasesink.c:
7962         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7963         (gst_base_sink_change_state):
7964         Don't accept anything after an EOS, return UNEXPECTED instead.
7965
7966         * tests/check/elements/fakesink.c: (GST_START_TEST),
7967         (fakesink_suite):
7968         Unit test for new EOS behaviour.
7969
7970 2007-04-05  Wim Taymans  <wim@fluendo.com>
7971
7972         * gst/gstelement.c: (gst_element_get_request_pad):
7973         Make padtemplates also work when they don't contain %s or %d.
7974
7975 2007-04-05  Wim Taymans  <wim@fluendo.com>
7976
7977         * docs/gst/gstreamer-sections.txt:
7978         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7979         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7980         * gst/gstclock.h:
7981         Improve _adjust_unlocked() so that it overflows less.
7982         Add gst_clock_unadjust_unlocked to convert from external time to
7983         internal time based on calibration.
7984         Add some more debug.
7985         API: GstClock::gst_clock_unadjust_unlocked()
7986
7987 2007-04-03  Wim Taymans  <wim@fluendo.com>
7988
7989         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7990
7991         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7992         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7993         when releasing sink pad. Fixes #425400.
7994
7995 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7996
7997         * docs/random/ensonic/dynlink.txt:
7998           More work on proposal for new core api.
7999
8000         * docs/libs/gstreamer-libs-sections.txt:
8001         * libs/gst/base/gstbasetransform.h:
8002           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
8003           
8004         * libs/gst/controller/gstcontroller.c:
8005         (on_object_controlled_property_changed),
8006         (gst_controller_sync_values),
8007         (gst_controller_set_interpolation_mode):
8008         * libs/gst/controller/gstcontroller.h:
8009           Less verbose logging add docs for unimplemented parts and correctly
8010           return when using unavailable parts.
8011
8012 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8013
8014         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
8015         Move all the debug to the CLOCK category, and associate it with
8016         the clock object.
8017
8018 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
8019
8020         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
8021         Make take_buffer a bit quicker by removing redundant checks
8022         caused by calling gst_adapter_take.
8023
8024 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
8025
8026         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
8027           Don't leak GCond.
8028
8029         * tests/check/Makefile.am:
8030         * tests/check/elements/.cvsignore:
8031         * tests/check/elements/multiqueue.c: (setup_multiqueue),
8032         (GST_START_TEST), (multiqueue_suite):
8033           Add some dead simple unit tests for the 'multiqueue' element
8034           (some bits don't work yet and are disabled for now).
8035
8036 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
8037
8038         * gst/gstelement.c: (gst_element_get_request_pad),
8039         (gst_element_class_get_request_pad_template):
8040           Make gst_element_get_request_pad() create request pads only for
8041           request pad templates and not for, say, sometimes pad templates.
8042
8043 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
8044
8045         * docs/design/draft-klass.txt:
8046           Add example that needs more thinking.
8047         
8048         * docs/design/draft-missing-plugins.txt:
8049           More thoughts about wrapper plugins.
8050         
8051         * docs/random/ensonic/embedded.txt:
8052         * docs/random/ensonic/profiling.txt:
8053           More design work.
8054
8055 2007-03-25  Wim Taymans  <wim@fluendo.com>
8056
8057         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
8058         (gst_base_src_loop):
8059         Only push the segment events in the PLAYING state for live sources.
8060
8061 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
8062
8063         * gst/gstpipeline.c: (gst_pipeline_change_state):
8064         Modify the clock distribution path in PAUSED->PLAYING so that we 
8065         never attempt to choose a new clock unless we're actually leaving
8066         the PAUSED state for the first time. This prevents choosing a
8067         different clock when the state_change gets called for a 2nd time due
8068         to some element doing an async state change.
8069
8070 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
8071
8072         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
8073         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
8074         (gst_pad_chain_unchecked), (gst_pad_push):
8075         Revert last commit. This needs some more thoughts.
8076
8077 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
8078
8079         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
8080         (gst_pad_chain_unchecked), (gst_pad_push):
8081         Check in set_caps if the caps are compatible with the pad and remove
8082         two functions that are redundant now. Fixes #421543.
8083
8084 2007-03-22  Wim Taymans  <wim@fluendo.com>
8085
8086         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
8087         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
8088         Unref some more to make valgrind happy.
8089
8090 2007-03-22  Wim Taymans  <wim@fluendo.com>
8091
8092         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
8093         (gst_system_clock_id_wait_jitter),
8094         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8095         Fix anoying regression that survived a few releases. When adding an
8096         async entry while blocking on a sync entry, the sync entry will unblock
8097         but still be busy, so it should continue to wait instead of returning
8098         _BUSY to the app.
8099         Add some comments here and there.
8100
8101         * tests/check/gst/gstsystemclock.c: (mixed_thread),
8102         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
8103         Add testcase for this.
8104
8105 2007-03-22  Wim Taymans  <wim@fluendo.com>
8106
8107         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
8108         Handle errors from the clock sync better, only UNSCHEDULED indicates a
8109         WRONG_STATE and can silently pause the task. All other cases should
8110         error out.
8111
8112 2007-03-22  Wim Taymans  <wim@fluendo.com>
8113
8114         Patch by: Ville Syrjala <syrjala at sci dot fi>
8115
8116         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
8117         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
8118         Improve debugging.
8119
8120 2007-03-21  Michael Smith  <msmith@fluendo.com>
8121
8122         * docs/pwg/advanced-types.xml:
8123           Fix some errors in the typefinding docs pointed out on irc.
8124
8125 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
8126
8127         * libs/gst/base/gstbasesrc.c:
8128         Clarify FIXME comment in the face of having added unlock_stop()
8129
8130 2007-03-21  Wim Taymans  <wim@fluendo.com>
8131
8132         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
8133         Prepare for release where we warn against possible app breakage in the
8134         case of live pipelines along with an env var to enable/disable live
8135         preroll mode (GST_COMPAT=[no-]live-preroll).
8136
8137 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8138
8139         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
8140         So we should use correct constants for checking for None offset.
8141
8142 2007-03-20  Wim Taymans  <wim@fluendo.com>
8143
8144         * docs/design/part-block.txt:
8145         Mention the fact that the newly switched element should be set to at
8146         least PAUSED.
8147
8148 2007-03-20  Wim Taymans  <wim@fluendo.com>
8149
8150         * gst/gst.c:
8151         Fix compilation with registry disabled as spotted by Saur.
8152
8153 2007-03-20  Wim Taymans  <wim@fluendo.com>
8154
8155         Patch by: Olivier Crete <tester at tester dot ca>
8156
8157         * gst/gstelement.c: (gst_element_sync_state_with_parent):
8158         Look at the pending state too when syncing the element state to the
8159         parent. Fixes #420133.
8160
8161 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
8162
8163         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
8164         (gst_base_sink_change_state):
8165         * libs/gst/base/gstbasesink.h:
8166         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
8167         (gst_base_src_default_event), (gst_base_src_unlock_stop),
8168         (gst_base_src_deactivate):
8169         * libs/gst/base/gstbasesrc.h:
8170         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
8171         for sub-classes to correctly clear any state they set trying to
8172         unlock, such as clearing out unlock commands from a command fd.
8173         API: basesrc::unlock_stop
8174         API: basesink::unlock_stop
8175
8176         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
8177         (gst_fd_sink_render), (gst_fd_sink_unlock),
8178         (gst_fd_sink_unlock_stop):
8179         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
8180         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
8181         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
8182
8183         Implement unlock_stop in fdsrc and fdsink.
8184         Implement seeking in fdsrc when a seekable fd is passed, as in
8185         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
8186
8187 2007-03-19  Wim Taymans  <wim@fluendo.com>
8188
8189         Patch by: Evan Nemerson <evan at coeus dash group dot com>
8190
8191         * gst/gstelement.c: (gst_element_class_init):
8192         Fix pad-added and pad-removed signal signatures so that the pad type is
8193         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
8194
8195 2007-03-19  Wim Taymans  <wim@fluendo.com>
8196
8197         * docs/gst/gstreamer-sections.txt:
8198         Add new element field and method.
8199
8200         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
8201         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
8202         (gst_bin_recalc_state), (gst_bin_get_state_func),
8203         (gst_bin_element_set_state), (gst_bin_change_state_func),
8204         (gst_bin_continue_func), (bin_bus_handler),
8205         (bin_push_state_continue), (bin_handle_async_start),
8206         (bin_handle_async_done), (gst_bin_handle_message_func):
8207         Make async state changes a bit smarter by using new ASYNC_START and
8208         ASYNC_DONE messages. This reduces the number of times we run the state
8209         recalculation thread.
8210         Don't change state of element with a pending ASYNC_START message.
8211         Deprecate STATE_DIRTY messages.
8212         
8213         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
8214         (gst_element_get_state_func), (gst_element_continue_state),
8215         (gst_element_lost_state), (gst_element_set_state_func),
8216         (gst_element_change_state):
8217         * gst/gstelement.h:
8218         Keep the state that was last set by the app in a new element field.
8219         Don't allow state changes when handling an element event.
8220         Post ASYNC_START and ASYNC_DONE messages.
8221         Change lost_state so that we go to PAUSED and wait for the parent to set
8222         us to PLAYING again (so latency calculation can be performed)
8223         Export gst_element_change_state() method so that subclasses can use it.
8224         API: gst_element_change_state()
8225         API: GST_STATE_TARGET
8226
8227         * gst/gstpipeline.c: (gst_pipeline_class_init),
8228         (reset_stream_time), (gst_pipeline_change_state),
8229         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
8230         Using the new ASYNC_START message we can reset the base_time when
8231         needed. This can then be used to implement base_time redistribution in
8232         flushing seeks so that we can remove the explicit seek handling.
8233         Perform latency query and configuration when going to PLAYING.
8234
8235         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8236         (gst_base_sink_query), (gst_base_sink_change_state):
8237         Post new ASYNC_START/ASYNC_DONE messages.
8238
8239         * tests/check/generic/sinks.c: (GST_START_TEST):
8240         Fix test because the bin will not set the async element to PLAYING right
8241         away.
8242
8243         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
8244         Make the message check a little stronger.
8245         Handle ASYNC messages.
8246
8247         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
8248         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
8249         Expect ASYNC_DONE messages.
8250
8251 2007-03-19  Wim Taymans  <wim@fluendo.com>
8252
8253         * docs/gst/gstreamer-sections.txt:
8254         * gst/gstmessage.c: (gst_message_new_async_start),
8255         (gst_message_new_async_done), (gst_message_parse_info),
8256         (gst_message_parse_async_start):
8257         * gst/gstmessage.h:
8258         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
8259         support.
8260
8261 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
8262
8263         * tools/gst-inspect.c:
8264         (print_plugin_automatic_install_info_codecs):
8265           Now that we don't check for the 'Codec' keyword any longer in the
8266           klass, we shouldn't spew a warning if the klass isn't a decoder or
8267           encoder (since it might be a Source/Network, for example).
8268
8269 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
8270
8271         * tools/gst-inspect.c:
8272         (print_plugin_automatic_install_info_codecs):
8273           Don't require decoder/demuxer/depayloader elements or
8274           encoder/muxer/paylader elements to have 'Codec' as part of their
8275           factory class string when introspecting a plugin's capabilities.
8276           draft-klass.txt mentions that it might be removed in future, and
8277           flump3dec doesn't have it as part of its class string, so chances
8278           are others might also not have it.
8279
8280 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8281
8282         * po/af.po:
8283         * po/az.po:
8284         * po/bg.po:
8285         * po/ca.po:
8286         * po/cs.po:
8287         * po/de.po:
8288         * po/en_GB.po:
8289         * po/fr.po:
8290         * po/it.po:
8291         * po/nb.po:
8292         * po/nl.po:
8293         * po/ru.po:
8294         * po/sq.po:
8295         * po/sr.po:
8296         * po/sv.po:
8297         * po/tr.po:
8298         * po/uk.po:
8299         * po/vi.po:
8300         * po/zh_CN.po:
8301         * po/zh_TW.po:
8302           Update translations from translation project
8303
8304 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
8305
8306         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
8307         (gst_child_proxy_set_property):
8308           Invert precondition check to be alike the ones in the mimiced gobject
8309           api.
8310
8311 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
8312
8313         * docs/design/draft-tagreading.txt:
8314         * docs/random/ensonic/audiobaseclasses.txt:
8315           Do some Architect work.
8316
8317         * gst/gstobject.c: (gst_object_set_name):
8318           Add a WARNING.
8319
8320         * gst/gstpad.c:
8321           Add docs that point from gst_pad_get_range to gst_pad_pull_range
8322
8323 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
8324
8325         * gst/gstsystemclock.c: (gst_system_clock_init),
8326         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
8327         Defer starting the async system clock thread until the first async
8328         wait is scheduled. Fixes #414986.
8329
8330 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
8333         (gst_single_queue_free):
8334           Fix small leak (free GstSingleQueue structure too, not only contents).
8335
8336 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
8337
8338         * gst/gstbin.c:(gst_bin_add):
8339         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
8340         * win32/common/libgstbase.def:
8341         * win32/common/libgstreamer.def:
8342         Add new exported functions.
8343
8344 2007-03-09  Wim Taymans  <wim@fluendo.com>
8345
8346         * docs/plugins/gstreamer-plugins-sections.txt:
8347         Fix GstTee docs.
8348
8349 2007-03-09  Wim Taymans  <wim@fluendo.com>
8350
8351         * docs/gst/gstreamer-sections.txt:
8352         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
8353         * gst/gstbuffer.h:
8354         Add metadata copy functions. Fixes #393099.
8355         API: gst_buffer_copy_metadata()
8356
8357         * gst/gstutils.c: (gst_buffer_stamp):
8358         * libs/gst/base/gstbasetransform.c:
8359         (gst_base_transform_prepare_output_buffer):
8360         Use new metadata copy functions.
8361
8362 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
8363
8364         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8365         (gst_identity_init), (gst_identity_check_perfect),
8366         (gst_identity_check_imperfect_timestamp),
8367         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
8368         (gst_identity_set_property), (gst_identity_get_property):
8369         * plugins/elements/gstidentity.h:
8370         Separate out check-imperfect-timestamp and check-imperfect-offset.
8371         Put back check-perfect as it was to keep compatibility.
8372
8373 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
8374
8375         * gst/gstelement.c: (gst_element_dispose):
8376         There's no need to warn if VOID_PENDING is not NONE here, as
8377         long as the state is NULL it's ok, and that's checked immediately
8378         above.
8379
8380 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8381
8382         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8383         Fix check for perfect stream to ignore buffers with -1 
8384         offsets/offset ends when checking data contiguity.
8385
8386 2007-03-08  Wim Taymans  <wim@fluendo.com>
8387
8388         * tools/gst-launch.c: (event_loop):
8389         Print INFO messages.
8390
8391 2007-03-08  Wim Taymans  <wim@fluendo.com>
8392
8393         * libs/gst/base/gstbasetransform.c:
8394         (gst_base_transform_sink_eventfunc),
8395         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
8396         (gst_base_transform_activate):
8397         * libs/gst/base/gstbasetransform.h:
8398         Add support for dropping buffers with custom GstFlowReturn.
8399         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
8400         buffers or dropped buffers.
8401
8402         * docs/libs/gstreamer-libs-sections.txt:
8403         docs for new custom return code.
8404
8405         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8406         Use drop support in base class to implement drop-probability.
8407
8408 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
8409
8410         * gst/gst.c: (load_plugin_func):
8411         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
8412         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8413         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
8414           Remove newlines at end of debug log strings.
8415
8416 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8417
8418         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8419         Only post bus message at max, once per buffer received.
8420
8421 2007-03-07  Wim Taymans  <wim@fluendo.com>
8422
8423         * docs/design/Makefile.am:
8424         * docs/design/part-synchronisation.txt:
8425         Add doc about synchronisation
8426
8427         * docs/design/draft-latency.txt:
8428         * docs/design/part-TODO.txt:
8429         * docs/design/part-clocks.txt:
8430         * docs/design/part-events.txt:
8431         * docs/design/part-gstbus.txt:
8432         * docs/design/part-gstpipeline.txt:
8433         * docs/design/part-live-source.txt:
8434         * docs/design/part-messages.txt:
8435         * docs/design/part-overview.txt:
8436         * docs/design/part-streams.txt:
8437         * docs/design/part-trickmodes.txt:
8438         Documentation updates.
8439
8440 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8441
8442         * gstreamer.doap:
8443         Update the doap file.
8444
8445 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8446
8447         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8448         Rename non-perfect to imperfect for Mike and for the sanctity of the
8449         language.
8450         Also make sure bus message gets emitted for data-incontiguities.
8451
8452 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8453
8454         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
8455         (gst_identity_start):
8456         * plugins/elements/gstidentity.h:
8457         Emit bus message if check-perfect is true and we encounter a
8458         non-perfect stream between 2 consecutive buffers.
8459         Fixes #415394.
8460
8461 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
8462
8463         * configure.ac:
8464         Back to CVS
8465
8466 === release 0.10.12 ===
8467
8468 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
8469
8470         * configure.ac:
8471           releasing 0.10.12, "Inevitable Demise"
8472
8473 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
8474
8475         * configure.ac:
8476          Version 0.10.11.2 (0.10.12 pre-release)
8477          Bump libtool versioning.
8478
8479 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
8480
8481         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8482           Log flow-names and not numbers.
8483
8484 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8485
8486         * configure.ac:
8487           Convert to new AG_GST style.
8488
8489 2007-02-28  Wim Taymans  <wim@fluendo.com>
8490
8491         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
8492         Don't unref query twice.
8493
8494 2007-02-28  Wim Taymans  <wim@fluendo.com>
8495
8496         * gst/gstvalue.c: (gst_value_transform_object_string),
8497         (_gst_value_initialize):
8498         Implement GstObject -> string transform so we print object names
8499         when serializing GValues containing GstObjects.
8500
8501 2007-02-28  Wim Taymans  <wim@fluendo.com>
8502
8503         * docs/gst/gstreamer-sections.txt:
8504         Add new stuff to docs.
8505
8506 2007-02-28  Wim Taymans  <wim@fluendo.com>
8507
8508         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
8509         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
8510         (gst_base_sink_change_state):
8511         Improve latency query code.
8512         Don't leak latency events.
8513
8514         * tests/check/gst/gstbin.c: (GST_START_TEST):
8515         Improve debugging.
8516
8517 2007-02-28  Wim Taymans  <wim@fluendo.com>
8518
8519         * gst/gstelement.c: (gst_element_message_full),
8520         (gst_element_get_state_func):
8521         * gst/gstelement.h:
8522         Improve docs a little. Added Since: for new macro.
8523
8524         * gst/gstobject.c: (gst_object_sink):
8525         * gst/gstpipeline.c: (gst_pipeline_change_state),
8526         (gst_pipeline_set_new_stream_time):
8527         * gst/gstpipeline.h:
8528         Improve debugging and docs.
8529
8530         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8531         Improve debugging.
8532
8533 2007-02-28  Wim Taymans  <wim@fluendo.com>
8534
8535         * gst/gstelement.c: (gst_element_message_full),
8536         (gst_element_set_locked_state), (gst_element_get_state_func),
8537         (gst_element_change_state):
8538         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
8539         Documentation updates.
8540         Small code cleanups.
8541
8542         * gst/gstmessage.c: (gst_message_new_info),
8543         (gst_message_parse_info):
8544         * gst/gstmessage.h:
8545         API: gst_message_new_info()
8546         API: gst_message_parse_info()
8547         Add INFO message create and parse code.
8548
8549 2007-02-28  Wim Taymans  <wim@fluendo.com>
8550
8551         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
8552         (bin_query_latency_done):
8553         Also report the live parameter of a latency query.
8554
8555 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8556
8557         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
8558           Copy the current generic/states example from -base and adapt so
8559           we can use the exact same code everywhere.
8560           Check a STATES_IGNORE_ELEMENTS env var which can be used
8561           to ignore certain element factories for this test, which is
8562           what is being done in -base
8563         * tests/check/Makefile.am:
8564           Mention this environment variable.
8565
8566 2007-02-27  Wim Taymans  <wim@fluendo.com>
8567
8568         * docs/gst/gstreamer-sections.txt:
8569         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8570         (gst_bus_timed_pop), (gst_bus_pop):
8571         * gst/gstbus.h:
8572         API: gst_bus_timed_pop()
8573         Implement gst_bus_timed_pop() to do a blocking timed wait for a
8574         message to arrive on the bus.
8575
8576         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
8577         (gst_bus_suite):
8578         Two unit tests for new _timed_pop() function.
8579
8580 2007-02-23  Wim Taymans  <wim@fluendo.com>
8581
8582         * gst/gstpipeline.c: (gst_pipeline_change_state),
8583         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
8584         Don't ref a NULL clock in _provide_clock_func().
8585         Don't allow an INVALID delay.
8586         Don't try to calculate base_time with an invalid start_time.
8587         Also distribute and notify a NULL clock when it was selected.
8588
8589         * tools/gst-launch.c: (event_loop):
8590         Don't crash when a NULL clock was selected in the pipeline.
8591
8592 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
8593
8594         * docs/design/Makefile.am:
8595         * docs/design/draft-missing-plugins.txt:
8596         * docs/random/draft-missing-plugins.txt:
8597           Some small updates: update plugin system identifier prefix
8598           ('gstreamer.net' to 'gstreamer'), mention our new install
8599           API in libgstbaseutils rather than libgimme-codec, add
8600           reference to the online docs.
8601
8602 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8603
8604         * win32/common/config.h:
8605           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
8606           use moap cl ci to only check in what is mentioned in the ChangeLog.
8607
8608 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8609
8610         * docs/gst/gstreamer-sections.txt:
8611         * gst/gstelement.h:
8612           Fix up documentation to link to the correct GstGError section.
8613           Add GST_ELEMENT_INFO macro since someone else added a Info message.
8614
8615 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
8616
8617         * tools/gst-launch.c: (event_loop):
8618           Make sure that we actually show the important message part of a
8619           warning message.
8620           No need to check if the gerror is not NULL to free; first of all
8621           g_free accepts NULL; and second the default error handler would
8622           segfault if gerror was NULL.
8623
8624 2007-02-21  Wim Taymans  <wim@fluendo.com>
8625
8626         * docs/gst/gstreamer-sections.txt:
8627         Removed docs as well.
8628
8629 2007-02-21  Wim Taymans  <wim@fluendo.com>
8630
8631         * gst/gstmessage.c: (gst_message_parse_duration):
8632         * gst/gstmessage.h:
8633         Remove new messages for release.
8634
8635 2007-02-20  Wim Taymans  <wim@fluendo.com>
8636
8637         * docs/design/part-gstghostpad.txt:
8638         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
8639         (gst_ghost_pad_new_full):
8640         Make the ghostpad a parent of the internal pad again for better backward
8641         compatibility. Don't write code that relies on this however.
8642
8643         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8644         (gst_pad_link_check_hierarchy):
8645         Require that parents should be GstElements in the hierarchy check.
8646
8647 2007-02-20  Wim Taymans  <wim@fluendo.com>
8648
8649         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
8650         (gst_bin_change_state_func), (bin_query_min_max_init),
8651         (bin_query_latency_fold), (bin_query_latency_done),
8652         (gst_bin_query):
8653         Improve debug info.
8654         Implement latency query.
8655
8656 2007-02-20  Wim Taymans  <wim@fluendo.com>
8657
8658         * docs/design/part-gstghostpad.txt:
8659         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
8660         (gst_ghost_pad_internal_do_activate_push),
8661         (gst_ghost_pad_internal_do_activate_pull),
8662         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8663         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
8664         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
8665         Do not set the internal pad as a parent anymore so we can avoid
8666         hierarchy linking errors when the ghostpad has no parent yet. This also
8667         fixes failed activation because of unlinked internal pads, which in
8668         turn fixes the impossible case where you have to activate a pad before
8669         you can add it to a running element.
8670         Also fix the docs.
8671
8672         * gst/gstpad.c: (pre_activate), (post_activate),
8673         (gst_pad_set_active), (gst_pad_activate_pull),
8674         (gst_pad_activate_push), (gst_pad_check_pull_range):
8675         Add some more debug info.
8676         Mark activation mode in pre_activate so that we don't try to activate in
8677         endless loops. Fixes #385084.
8678
8679 2007-02-19  Wim Taymans  <wim@fluendo.com>
8680
8681         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
8682         (gst_base_transform_check_get_range):
8683         Implement a checkgetrange function instead of relying on the default
8684         core behaviour that assumes we can operate in pull mode if we have a
8685         getrange function. First step at fixing #385084.
8686
8687 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
8688
8689         * gst/gstchildproxy.h:
8690         * libs/gst/base/gstbasesink.h:
8691         * libs/gst/base/gstbasesrc.h:
8692         * libs/gst/base/gstbasetransform.h:
8693         More docs coverage and some ChangeLog surgery (add missing names)
8694
8695 2007-02-15  Wim Taymans  <wim@fluendo.com>
8696
8697         * docs/design/part-TODO.txt:
8698         * docs/design/part-activation.txt:
8699         * docs/design/part-block.txt:
8700         * docs/design/part-buffering.txt:
8701         * docs/design/part-clocks.txt:
8702         * docs/design/part-element-source.txt:
8703         * docs/design/part-events.txt:
8704         * docs/design/part-gstbin.txt:
8705         * docs/design/part-gstbus.txt:
8706         * docs/design/part-gstpipeline.txt:
8707         * docs/design/part-live-source.txt:
8708         * docs/design/part-messages.txt:
8709         * docs/design/part-overview.txt:
8710         * docs/design/part-qos.txt:
8711         * docs/design/part-query.txt:
8712         * docs/design/part-states.txt:
8713         * docs/design/part-trickmodes.txt:
8714         Some doc updates. Start renaming from stream_time to running_time where
8715         it was used wrongly.
8716
8717 2007-02-15  Wim Taymans  <wim@fluendo.com>
8718
8719         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8720         Answer LATENCY query.
8721
8722 2007-02-15  Wim Taymans  <wim@fluendo.com>
8723
8724         * tests/check/gst/gstevent.c: (event_probe), (test_event),
8725         (GST_START_TEST):
8726         Improve debugging.
8727
8728 2007-02-15  Wim Taymans  <wim@fluendo.com>
8729
8730         * gst/gstpad.c: (gst_pad_get_internal_links_default),
8731         (gst_pad_dispatcher):
8732         Improve debugging of default pad dispatcher and query functions.
8733
8734 2007-02-15  Wim Taymans  <wim@fluendo.com>
8735
8736         * docs/gst/gstreamer-sections.txt:
8737         Remove old unused method.
8738
8739 2007-02-13  Wim Taymans  <wim@fluendo.com>
8740
8741         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8742         Fix check
8743
8744 2007-02-13  Wim Taymans  <wim@fluendo.com>
8745
8746         * docs/design/part-seeking.txt:
8747         Some small update.
8748
8749         * gst/gstsegment.c: (gst_segment_set_seek):
8750         Revert old bogus change that should make seeking work again.
8751
8752 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8753
8754         * docs/random/ensonic/dynlink.txt:
8755         * docs/random/ensonic/interfaces.txt:
8756         * docs/random/ensonic/receipies.txt:
8757           Possible dynamic reconnection api, plus some type fixes the other two
8758           docs.
8759
8760 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
8761
8762         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8763         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8764         Also check for an absolute path following file:// in the filesrc
8765         element. Remove redundant check and call g_path_is_absolute() on the
8766         unescaped location.
8767
8768 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
8769
8770         * docs/design/draft-klass.txt:
8771           Add existing category analysis.
8772           
8773         * gst/gstcaps.c:
8774           Fix doc example, framerate is a fraction.
8775
8776 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8777
8778         * configure.ac:
8779         * docs/gst/Makefile.am:
8780         * docs/gst/gstreamer-sections.txt:
8781         * docs/libs/Makefile.am:
8782           Erm, forgot a bunch of --extra-dir.
8783
8784 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
8785
8786         * configure.ac:
8787         * docs/gst/Makefile.am:
8788         * docs/libs/Makefile.am:
8789         * docs/plugins/Makefile.am:
8790           Add crossreferences to glib/gobject docs.
8791
8792 2007-02-12  Wim Taymans  <wim@fluendo.com>
8793
8794         * docs/design/draft-latency.txt:
8795         Small update.
8796
8797         * docs/libs/gstreamer-libs-sections.txt:
8798         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
8799         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
8800         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8801         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8802         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8803         (gst_base_sink_get_position), (gst_base_sink_query),
8804         (gst_base_sink_change_state):
8805         * libs/gst/base/gstbasesink.h:
8806         API: gst_base_sink_query_latency() to let subclasses query the upstream
8807         latency.
8808         API: gst_base_sink_get_latency() to let subclasses query the configured
8809         latency in the sink.
8810         Implement query and set latency.
8811         Update some docs.
8812         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8813         don't continue preroll when we are flushing. Fixes #405284.
8814
8815         * tests/check/pipelines/stress.c: (change_state_timeout),
8816         (quit_timeout), (GST_START_TEST), (stress_suite):
8817         Test for #405284.
8818
8819 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
8820
8821         Patch by: René Stadler <mail at renestadler de>
8822
8823         * docs/gst/gstreamer-sections.txt:
8824         * gst/gsttaglist.c: (_gst_tag_initialize):
8825         * gst/gsttaglist.h:
8826           API: add GST_TAG_REFERENCE_LEVEL (#403597).
8827
8828 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
8829
8830         * docs/libs/Makefile.am:
8831           Fix path to core docs.
8832
8833         * gst/gstbin.c: (gst_bin_get_by_interface),
8834         (gst_bin_iterate_all_by_interface):
8835           Refix docs by also renaming 'interface' to 'iface' in implementation.
8836
8837         * docs/gst/gstreamer-sections.txt:
8838         * gst/gstcaps.c:
8839         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8840         * gst/gstchildproxy.h:
8841         * gst/gstelementfactory.c:
8842         * gst/gstpadtemplate.h:
8843         * libs/gst/controller/gstcontroller.c:
8844         (gst_controlled_property_new):
8845           Document more.
8846
8847 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
8848
8849         * gst/gstbin.h:(gst_bin_get_by_interface),
8850         (gst_bin_iterate_all_by_interface):
8851         Replace interface parameter name by iface as interface is 
8852         a reserved keyword in Visual Studio for C++ projects so it removes
8853         a build error for application developpers using VS.
8854         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8855         Fix a bug on Windows in uri format check. Now the prefix checked
8856         is file:// and next we check if the path after file:// is absolute.
8857         * win32/common/libgstbase.def:
8858         * win32/common/libgstdataprotocol.def:
8859         * win32/common/libgstgstreamer.def:
8860         Add new exported functions.
8861
8862 2007-02-09  Andy Wingo  <wingo@pobox.com>
8863
8864         * tests/check/pipelines/simple-launch-lines.c
8865         (simple_launch_lines_suite, test_tee): Disable tee test until I
8866         have time to fix it :-(
8867
8868         * tests/check/Makefile.am (noinst_HEADERS): 
8869         * tests/check/libs/libsabi.c: 
8870         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8871         * tests/check/gst/gstabi.c: 
8872         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8873
8874         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8875         tests for push and pull tee behavior.
8876
8877         * plugins/elements/gsttee.h: 
8878         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8879         mark as deprecated as well as unimplemented. It was a crack idea.
8880         Add support for tee operating in pull mode, off by default.
8881
8882         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8883         normal-case logs down to LOG, raise errors to WARNING.
8884         (gst_registry_xml_read_cache): Don't log before calling a function
8885         that logs.
8886
8887         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8888         exit (registry finalize).
8889         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8890         DEBUG log when we emit signals that people don't even have the
8891         chance to connect to.
8892         (gst_registry_scan_path_level): Less logging in the normal case.
8893
8894 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8895
8896         Patch by: Michal Benes <michal dot benes at itonis dot tv>
8897
8898         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8899         Correctly generate EOS for non-seekable files. We don't have a total
8900         length for them and would get an unexpected end of file if we only
8901         special-cased for regular files. (Fixes: #404569)
8902
8903 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
8904
8905         * tests/check/elements/filesrc.c: (GST_START_TEST),
8906         (filesrc_suite):
8907         Add unit test for the GstURIHandler interface in filesrc. This also
8908         tests the newly added file://localhost/foo/bar support.
8909
8910 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
8911
8912         * gst/gstelementfactory.h:
8913           The klass string is not a hierarchy. Add reference to the design doc
8914           for more information and common types.
8915
8916 2007-02-02  Wim Taymans  <wim@fluendo.com>
8917
8918         * gst/gstquery.c: (gst_query_new_latency):
8919         Remove old structure field.
8920
8921 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
8922
8923         * tools/gst-launch.1.in:
8924           Give example for network streaming (#351998)
8925
8926 2007-02-02  Wim Taymans  <wim@fluendo.com>
8927
8928         * docs/gst/gstreamer-sections.txt:
8929         Add docs for new methods.
8930
8931         * gst/gstevent.c: (gst_event_new_latency),
8932         (gst_event_parse_latency):
8933         * gst/gstevent.h:
8934         Add new LATENCY event to configure latency in a pipeline.
8935         API: gst_event_new_latency
8936         API: gst_event_parse_latency
8937
8938         * gst/gstmessage.c: (gst_message_new_buffering),
8939         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8940         (gst_message_new_latency), (gst_message_parse_buffering),
8941         (gst_message_parse_lost_preroll):
8942         * gst/gstmessage.h:
8943         Added messages used in draft-latency.
8944         API: gst_message_new_lost_preroll
8945         API: gst_message_parse_lost_preroll
8946         API: gst_message_new_prerolled
8947         API: gst_message_new_latency
8948
8949         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8950         (gst_query_parse_latency):
8951         * gst/gstquery.h:
8952         Implemented new latency query as in design doc.
8953         API: gst_query_new_latency
8954         API: gst_query_set_latency
8955         API: gst_query_parse_latency
8956
8957 2007-02-02  Wim Taymans  <wim@fluendo.com>
8958
8959         * docs/design/draft-latency.txt:
8960         Slight redesign to allow for dynamic latency adjustments.
8961
8962         * docs/design/part-negotiation.txt:
8963         Fix some typos.
8964
8965 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8966
8967         reviewed by: Wim Taymans <wim@fluendo.com>
8968
8969         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8970         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8971         Allow file://localhost/foo/bar URLs and correctly fail for every other
8972         hostname that one sets. This was gnomevfssrc is linked for those if
8973         installed as it can handle it (#403172)
8974
8975 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8976
8977         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8978
8979         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8980         (unref_data), (gst_collect_pads_add_pad_full):
8981         * libs/gst/base/gstcollectpads.h:
8982         Don't put the previously added destroy notify in the GstCollectData
8983         struct as all it's padding is already used and we don't want to break
8984         ABI. Instead put in the pad's GObject data for now. This should be
8985         cleaned up for 0.11 (#402393).
8986
8987 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8988
8989         reviewed by: Wim Taymans <wim@fluendo.com>
8990
8991         * docs/libs/gstreamer-libs-sections.txt:
8992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8993         (unref_data), (gst_collect_pads_add_pad),
8994         (gst_collect_pads_add_pad_full):
8995         * libs/gst/base/gstcollectpads.h:
8996         API: Add function to specify a destroy notification for custom
8997         GstCollectData when adding new pads in GstCollectPads (#402393).
8998
8999 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
9000
9001         * po/sv.po:
9002           Update Swedish translation (#378255).
9003
9004 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9005
9006         * docs/design/draft-klass.txt:
9007           Fix the previous change, this is a list of categories and not a hierarchy.
9008
9009 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
9010
9011         * docs/design/draft-klass.txt:
9012           Add info about how to get a list of used classes.
9013
9014 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
9015
9016         * plugins/elements/gsttypefindelement.c:
9017         (gst_type_find_element_chain_do_typefinding),
9018         (gst_type_find_element_change_state):
9019           Don't leak found caps in chain function (no idea why that never
9020           showed up as a leak anywhere).
9021
9022 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
9023
9024         * gst/gstplugin.h:
9025           Fix and expand GstPluginDesc API docs.
9026
9027 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
9028
9029         * gst/gstcaps.c:
9030         * gst/gstelementfactory.c:
9031         * gst/gstpadtemplate.h:
9032           api doc fixes
9033
9034         * libs/gst/controller/gstcontroller.c:
9035         (gst_controlled_property_new):
9036         * tests/examples/controller/audio-example.c:
9037           comment fixes
9038
9039 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
9040
9041         * configure.ac:
9042           comment about refining the xml deps
9043
9044         * docs/manuals.mak:
9045           comments about moving away from jade for docs
9046         
9047         * gst/gst.c:
9048           recommit the ifdefs to use the binary registry
9049         
9050         * gst/gstbin.c: (gst_bin_change_state_func):
9051           this break is obsolete
9052
9053         * gst/gstelementfactory.h:
9054           better GST_ELEMENT_DETAILS docs, add comment about translation
9055
9056         * gst/gstinfo.h:
9057           remove eol slash
9058
9059         * gst/gstobject.c: (gst_signal_object_get_type):
9060           add G_UNLIKELY as usual
9061
9062         * gst/gstpad.c: (gst_pad_event_default):
9063           add fall trhu comment
9064
9065         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9066         (gst_registry_binary_initialize_magic),
9067         (gst_registry_binary_save_string),
9068         (gst_registry_binary_save_pad_template),
9069         (gst_registry_binary_save_feature),
9070         (gst_registry_binary_save_plugin),
9071         (gst_registry_binary_write_cache),
9072         (gst_registry_binary_check_magic),
9073         (gst_registry_binary_load_pad_template),
9074         (gst_registry_binary_load_feature),
9075         (gst_registry_binary_load_plugin),
9076         (gst_registry_binary_read_cache):
9077           comment typo and formatting
9078
9079         * gst/gstutils.c: (gst_element_state_get_name),
9080         (gst_element_state_change_return_get_name):
9081           remove obsolete breaks
9082
9083         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9084           add FIXME 0.11 and remove cpp comment
9085
9086 2007-01-29  Edward Hervey  <edward@fluendo.com>
9087
9088         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9089         Fix print statement in an even more portable way.
9090
9091 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
9092
9093         * docs/gst/gstreamer-sections.txt:
9094         * gst/gstutils.h:
9095           API: add GST_ROUND_DOWN_* macros (#401781).
9096
9097 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
9098
9099         * docs/gst/gstreamer.types.in:
9100         * gst/gstregistry.c: (gst_registry_class_init):
9101           Document registry signals and make gtk-doc pick them up (#401381).
9102
9103 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
9104
9105         * docs/pwg/building-testapp.xml:
9106           Add some audioconverts and audioresample to the pipeline, and some
9107           more comments and error handling.
9108
9109 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
9110
9111         * docs/manual/manual.xml:
9112         * docs/pwg/pwg.xml:
9113           Fix typo (#400987).
9114
9115 2007-01-26  Wim Taymans  <wim@fluendo.com>
9116
9117         * gst/gstcaps.c: (gst_static_caps_get):
9118         Init caps flags too.
9119
9120 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
9121
9122         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
9123
9124         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9125         If not using mmap'ed files try to seek to the end instead of the
9126         start to determine whether we can seek at all. This fixes the case
9127         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
9128         seeks for everything afterwards fail. Fixes #400656
9129
9130 2007-01-25  Wim Taymans  <wim@fluendo.com>
9131
9132         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
9133         Add some refcount debugging.
9134         Make gst_static_caps_get threadsafe, which is needed when autoplugging
9135         in multiple streaming threads.
9136
9137 2007-01-25  Wim Taymans  <wim@fluendo.com>
9138
9139         Patch by: David Schleef <ds at schleef dot org>
9140
9141         * docs/libs/gstreamer-libs-sections.txt:
9142         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
9143         * libs/gst/base/gstadapter.h:
9144         API: gst_adapter_copy() that can reduce the amount of memcpy when
9145         getting data from the adapter. Fixes #388201.
9146
9147 2007-01-25  Edward Hervey  <edward@fluendo.com>
9148
9149         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
9150         In print statements, "%x" is for guint. Fixes build on macosx.
9151
9152 2007-01-24  Edward Hervey  <edward@fluendo.com>
9153
9154         * plugins/elements/gstmultiqueue.c:
9155         (gst_multi_queue_loop):
9156         Small fix.
9157         (single_queue_overrun_cb), (single_queue_underrun_cb),
9158         (single_queue_check_full), (gst_single_queue_new):
9159         Implement single queue growth system.
9160         This uses the extra-size properties, and will grow single queues by
9161         that much if one goes full whereas there are others empty. This is
9162         called extra-mode in the code.
9163         When a single queue's levels go back below the initial max-size
9164         limits, it is no longer in extra-mode. This is to ensure we don't
9165         consume too much memory.
9166         Fixes #399875
9167
9168 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
9169
9170         * gst/gst.c: (gst_init_get_option_group):
9171           Make warning about late g_thread_init() calls a bit more explicit,
9172           so that it's more obvious to application developers what they need
9173           to do if a user files a bug against their application.
9174
9175 2007-01-22  Edward Hervey  <edward@fluendo.com>
9176
9177         * plugins/elements/gstmultiqueue.c:
9178         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
9179         Remove previous hack of unsetting the flushing flag for the source pad
9180         instead of activating it. Instead, fix the source pad activate function
9181         so that it no longer depends on having a parent set or not.
9182
9183 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
9184
9185         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
9186
9187         * docs/manual/basics-bus.xml:
9188           Fix example code, gst_element_unref() doesn't exist any longer.
9189
9190 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
9191
9192         Patch by: Mark Nauwelaerts <manauw at skynet be>
9193
9194         * gst/gstpad.c:
9195           Fix two docs typoes (#399094).
9196
9197 2007-01-19  Edward Hervey  <edward@fluendo.com>
9198
9199         * docs/faq/gst-uninstalled:
9200         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
9201         depending on libgstbaseutils can work in uninstalled environment.
9202
9203 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
9204
9205         * gst/gsttaglist.h:
9206         * gst/gsttagsetter.c:
9207         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
9208         statement for new tag.
9209
9210 2007-01-17  Edward Hervey  <edward@fluendo.com>
9211
9212         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
9213         When dynamically creating single queues, activate sinkpad before adding
9214         it.
9215         We should be doing the same thing for the source pad, but we can't
9216         since it would call a method which needs the parent to be set in order
9217         to work propertly. Instead of activating the source pad, we just unset
9218         the flushing flag, which is the minimal requirement for adding a pad
9219         to an element in a state greater than READY.
9220
9221 2007-01-17  Edward Hervey  <edward@fluendo.com>
9222
9223         * docs/faq/gst-uninstalled:
9224         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
9225         Mac OS X.
9226
9227 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
9228
9229         * tests/check/gst/gstabi.c:
9230         * tests/check/gst/struct_hppa.h:
9231         * tests/check/libs/libsabi.c:
9232         * tests/check/libs/struct_hppa.h:
9233           Add ABI structs for HPPA (see #393796).
9234
9235 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9238           Actually write ABI structs to the file specified in the GST_ABI
9239           environment variable, as the message we print claims we would.
9240
9241 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9242
9243         * tests/check/gst/gsttask.c:
9244           Fix header comment.
9245
9246 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9247
9248         * gst/gsttaglist.c: (_gst_tag_initialize):
9249           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
9250           previous two entries.
9251
9252 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9253
9254         * docs/gst/gstreamer-sections.txt:
9255         * gst/gsttaglist.c: (_gst_tag_initialize):
9256         * gst/gsttaglist.h:
9257           Add tag support for beat-per-minute.
9258
9259 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
9260
9261         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9262         (gst_registry_binary_initialize_magic),
9263         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
9264         (gst_registry_binary_save_pad_template),
9265         (gst_registry_binary_save_feature),
9266         (gst_registry_binary_save_plugin),
9267         (gst_registry_binary_write_cache),
9268         (gst_registry_binary_check_magic),
9269         (gst_registry_binary_load_pad_template),
9270         (gst_registry_binary_load_feature),
9271         (gst_registry_binary_load_plugin),
9272         (gst_registry_binary_read_cache):
9273         * gst/gstregistrybinary.h:
9274           Use glib types, cleanup comments, impement interfaces and uri-types.
9275
9276 2007-01-13  Andy Wingo  <wingo@pobox.com>
9277
9278         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
9279         getrange() to return buffers with other caps, while we fix
9280         demuxers and typefind, or otherwise change part-negotiation.txt.
9281
9282 2007-01-12  Andy Wingo  <wingo@pobox.com>
9283
9284         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
9285         Factor start/stop into this private function instead of partially
9286         in activate functions and partially in the change_state function.
9287         Fixes setup before the element has changed from READY->PAUSED, as
9288         is the case in pull-mode pipelines.
9289         (gst_base_transform_sink_activate_push)
9290         (gst_base_transform_src_activate_pull): Refactor to use
9291         gst_base_transform_activate().
9292         (gst_base_transform_change_state): Removed, not needed any more.
9293
9294         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9295         Truncate before fixating.
9296         
9297         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
9298         Don't set_caps() if the result of fixating is ANY, as it's not
9299         supported, and not necessary in the case of a link with no
9300         template caps on either side. Fixes tests/check/libs/basesrc in
9301         some pull-mode tests.
9302
9303         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
9304         (gst_base_transform_init, gst_base_transform_sink_activate_push)
9305         (gst_base_transform_src_activate_pull): 
9306         Track the activation mode.
9307         (gst_base_transform_setcaps): In pull mode, when activating the
9308         src pad, after activating the sink pad, activate the sink pad's
9309         peer, as discussed in part-negotiation.txt.
9310
9311         * libs/gst/base/gstbasesrc.h: 
9312         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
9313         vmethod, as in basesink.
9314
9315         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
9316
9317         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
9318         mode, first proxy the setcaps to the peer pad.
9319         (gst_base_sink_pad_fixate): Add a fixate function that calls the
9320         new fixate vmethod.
9321         (gst_base_sink_default_activate_pull): Rename from
9322         gst_base_sink_activate_pull.
9323         (gst_base_sink_negotiate_pull): New function, performs negotiation
9324         in pull mode before calling ::activate_pull().
9325         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
9326         vmethod instead of the default implementation. I have no idea how
9327         this worked before. Negotiate before calling activate_pull.
9328
9329         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
9330         sink pads in pull mode. In addition to being correct, fixes
9331         filesrc ! decodebin ! identity ! fakesink.
9332         (gst_pad_get_range, gst_pad_pull_range): Don't call
9333         gst_pad_set_caps() if the caps changes; instead error out with
9334         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
9335
9336 2007-01-12  Andy Wingo  <wingo@pobox.com>
9337
9338         * docs/design/part-negotiation.txt: Update with more policy.
9339
9340 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9341
9342         * libs/gst/check/gstbufferstraw.h:
9343         * libs/gst/check/gstcheck.h:
9344           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
9345           belongs.
9346
9347 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9348
9349         * tests/check/Makefile.am:
9350         * tests/check/gst/.cvsignore:
9351         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
9352         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
9353         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
9354         (GST_START_TEST), (gst_tag_setter_suite):
9355           Add minimal unit test for beforementioned GstTagSetter bug.
9356
9357 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         Patch by: René Stadler <mail at renestadler dot de>
9360
9361         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
9362           gst_tag_list_merge() returns a new list, so it's not the best idea
9363           to ingore its return value. Effectively meant that tags could only
9364           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
9365           Also add function guard to require a non-NULL taglist as input (has
9366           always been so due to gst_tag_list_copy(), just making it explicit).
9367
9368 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9369
9370         * docs/random/draft-missing-plugins.txt:
9371           Some additions: mention new API that is supposed to be used at the
9372           various stages; short blob about new gst-inspect introspection
9373           option; mention potential future problem with plugins that have
9374           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
9375
9376 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9377
9378         * tools/gst-inspect.c:
9379         (print_plugin_automatic_install_info_codecs),
9380         (print_plugin_automatic_install_info_protocols),
9381         (print_plugin_automatic_install_info), (main):
9382         Add --print-plugin-auto-install-info option to gst-inspect, so we can
9383         introspect plugin files and get machine-parsable output that corresponds
9384         to the last bit of the missing-plugin installer string (small gotcha:
9385         doesn't take into account ranks).
9386
9387 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
9388
9389         * configure.ac:
9390         * docs/gst/gstreamer-sections.txt:
9391         * gst/Makefile.am:
9392         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
9393         (gst_registry_lookup_locked):
9394         * gst/gstregistry.h:
9395         * gst/gstregistrybinary.c: (gst_registry_binary_write),
9396         (gst_registry_binary_initialize_magic),
9397         (gst_registry_binary_save_string),
9398         (gst_registry_binary_save_pad_template),
9399         (gst_registry_binary_save_feature),
9400         (gst_registry_binary_save_plugin),
9401         (gst_registry_binary_write_cache),
9402         (gst_registry_binary_check_magic),
9403         (gst_registry_binary_load_pad_template),
9404         (gst_registry_binary_load_feature),
9405         (gst_registry_binary_load_plugin),
9406         (gst_registry_binary_read_cache):
9407         * gst/gstregistrybinary.h:
9408         * gst/gstregistryxml.c: (load_feature),
9409         (gst_registry_xml_read_cache):
9410           commit binary registry (disabled by default, see #359653)
9411
9412 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
9413
9414         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
9415           Fix 'make check' too.
9416
9417 2007-01-10  Andy Wingo  <wingo@pobox.com>
9418
9419         * docs/design/part-negotiation.txt: Fix a typo, add a couple
9420         notes.
9421         
9422         * docs/design/part-negotiation.txt: Update with, um, one way that
9423         pull-mode negotiation might work?
9424
9425         * gst/gstpad.h: 
9426         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
9427         that the pad must be a src pad; makes sense to call it the other
9428         way in pull mode, and the logic is symmetric anyway.
9429
9430 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
9431
9432         * plugins/elements/gstfilesink.c:
9433           Include <stdio.h> for fseeko().
9434
9435 2007-01-10  Wim Taymans  <wim@fluendo.com>
9436
9437         * gst/gstevent.c:
9438         * gst/gstevent.h:
9439         Reserve LATENCY event.
9440
9441 2007-01-09  Wim Taymans  <wim@fluendo.com>
9442
9443         * docs/design/draft-latency.txt:
9444         Updates.
9445
9446 2007-01-09  Wim Taymans  <wim@fluendo.com>
9447
9448         * docs/design/draft-latency.txt:
9449         Updates.
9450
9451         * gst/gstelement.h:
9452         * gst/gststructure.c:
9453         * gst/gsttrace.c:
9454         Small typo fixes.
9455
9456 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * tests/check/.cvsignore:
9459           Ignore test-registry.xml as well.
9460
9461 2007-01-09  Wim Taymans  <wim@fluendo.com>
9462
9463         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9464         unref data at the end when we are done with the pad.
9465
9466 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9467
9468         * docs/gst/gstreamer-sections.txt:
9469         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
9470         (init_post), (gst_deinit), (gst_update_registry):
9471         * gst/gst.h:
9472           API: add gst_update_registry() (#391296).
9473
9474         * tests/check/Makefile.am:
9475         * tests/check/gst/gstregistry.c:
9476         * tests/check/gst/.cvsignore:
9477           Simple unit test for the above.
9478
9479 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
9480
9481         * gst/gstregistry.c: (gst_registry_scan_path_level):
9482           Plugin extension on HP-UX is .sl, add that to the list of approved
9483           plugin extensions (see #393796).
9484
9485         * tests/check/gst/gstpad.c: (GST_START_TEST):
9486           ulong => gulong. Fixes compilation with HP-UX compiler.
9487
9488         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9489           Fix compilation if valgrind headers are not available.
9490
9491 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
9492
9493         * win32/common/libgstreamer.def: 
9494           Add new exported function.
9495         * win32/vs6/libgstbase.dsp: 
9496           Add gstdataqueue.c to the build.
9497         * win32/vs6/libgstcoreelements.dsp:
9498           Add gstmultiqueue.c to the build.
9499         
9500 2007-01-06  Andy Wingo  <wingo@pobox.com>
9501
9502         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
9503         activate_pull(), providing for a way to specialize the process of
9504         spawning a thread to pull on the sink pad. There is a default
9505         implementation.
9506
9507         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
9508         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
9509         (gst_base_sink_init): Renamed pad activation functions (inserting
9510         "_pad" in their names). Refactor to use the new activate_pull
9511         vmethod, as appropriate.
9512         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
9513         default activate_pull function to start a task pulling from the
9514         sink pad, as before.
9515
9516         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
9517         on the pads if necessary, as in push()/chain(). Update docs.
9518         Shouldn't affect existing pull() usage as it is currently only
9519         being used on buffers without caps.
9520
9521 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9522
9523         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9524         (init_pre):
9525           Call g_thread_init() first thing in gst_init() / gst_check_init().
9526           When initialisation is done via gst_init_get_option_group() and
9527           GOption parsing, issue a warning if the GLib thread system has not
9528           been initialised yet by the time gst_init_get_option_group() is
9529           called, as it's quite likely other GLib functions such as
9530           g_option_context_new() have been called already then, and
9531           g_thread_init() must be called before any other GLib function. The
9532           application in question must be fixed in that case, since memory
9533           corruption might happen otherwise.
9534           We issue the warning because even if the GLib folks decide to work
9535           around the problem on their end in future, this is still an issue
9536           with all GLib versions >= 2.10.0, so we should warn until we depend
9537           on a GLib version we know to be safe.
9538           Update documentation as well.
9539           Closes bug #391278.
9540
9541 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9542
9543         * tools/gst-inspect.c: (main):
9544         * tools/gst-launch.c: (main):
9545         * tools/gst-typefind.c: (main):
9546         * tools/gst-xmlinspect.c: (main):
9547           Call g_thread_init() really really early, before any other GLib
9548           function (see #342564 and recent discussion on gtk-devel-list).
9549
9550 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9551
9552         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
9553
9554         * gst/gst_private.h:
9555         * gst/gstconfig.h.in:
9556         * gst/gstinfo.h:
9557           On win32, all the __declspec stuff for symbol exporting is
9558           apparently only needed with MSVC, but doesn't work with MingW.
9559           Fixes compilation with MingW and #391909.
9560
9561 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
9562
9563         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
9564           Change some GST_ERROR_OBJECT that aren't really errors to
9565           GST_WARNING_OBJECT in order to reduce terminal spam.
9566
9567 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9568
9569         * tests/check/Makefile.am:
9570           disable test again, as there seem to be still race problems
9571
9572 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
9573
9574         * tests/check/Makefile.am:
9575         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9576         (GST_START_TEST), (queue_suite):
9577           enable queue test again, add tests for the leaky behaviour
9578
9579 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
9580
9581         * configure.ac:
9582         * tests/examples/Makefile.am:
9583           Compile adapter test/example only if the required headers are
9584           available (fixes #391915).
9585
9586 2007-01-01  David Schleef  <ds@schleef.org>
9587
9588         * gst/gstplugin.c:
9589           Restore the previous signal handler for SIGSEGV instead of
9590           setting to default, since we may have stolen it away from
9591           someone.  (i.e., Mono)
9592
9593 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9594
9595         * docs/random/draft-missing-plugins.txt:
9596           Some small additions and clarifications.
9597
9598 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * gst/gstregistryxml.c: (gst_registry_save_escaped):
9601           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
9602           since that can lead to random memory corruptions and crashes
9603           (may or may not be related to #383244, #386711, and #386711).
9604
9605 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9606
9607         * tests/check/.cvsignore:
9608         * tests/check/Makefile.am:
9609           sync .cvsignome and CLEANFILES
9610
9611 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9612
9613         * tests/check/Makefile.am:
9614           fix distcheck
9615
9616 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9617
9618         * docs/design/part-states.txt:
9619           two tiny additional comments
9620         
9621         * gst/gststructure.c:
9622           doc fixing
9623
9624         * tests/check/Makefile.am:
9625         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9626         (GST_START_TEST):
9627           disable test for now, unless it gets fixed
9628
9629 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9630
9631         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9632         (GST_START_TEST):
9633           fix race in underrun test
9634
9635 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9636
9637         * tests/check/elements/.cvsignore:
9638           ignore more
9639
9640         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9641         (GST_START_TEST):
9642           try to narrow test failure
9643
9644 2006-12-21  David Schleef  <ds@schleef.org>
9645
9646         * plugins/elements/gstfakesrc.c:
9647           Use g_random_int_range(), since it produces better random
9648           numbers in a range than almost-correct floating point code.
9649
9650 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
9651
9652         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9653         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9654         (gst_check_teardown_sink_pad):
9655           do not automatically (de)activate pads
9656
9657         * tests/check/Makefile.am:
9658         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
9659         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
9660           add new, yet simple tests for queue
9661
9662         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
9663         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
9664         * tests/check/elements/filesrc.c: (cleanup_filesrc),
9665         (GST_START_TEST):
9666         * tests/check/elements/identity.c: (cleanup_identity):
9667           consistent pad (de)activation
9668
9669 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
9670
9671         Patch by: Sebastian Dröge  <slomo ubuntu com>
9672
9673         * libs/gst/base/gstcollectpads.c:
9674           Fix two doc typos (#387866).
9675
9676 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9677
9678         * docs/manual/advanced-dparams.xml:
9679           Fix typo (g_object_control_properties() doesn't exist).
9680
9681 2006-12-19  Edward Hervey  <edward@fluendo.com>
9682
9683         * gst/gstsegment.c: (gst_segment_set_seek):
9684         Fine tune the cases where the segment start/stop values are really
9685         updated.
9686         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9687         Add tests for the return values of gst_segment_set_seek().
9688
9689 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
9690
9691         * gst/gst.c:
9692           Docs typo fix.
9693
9694         * plugins/elements/gstqueue.c: (gst_queue_class_init),
9695         (gst_queue_init):
9696           Fix incorrect documentation and flesh it out a bit more.
9697           Set default values for the max properties on the GParamSpec as well,
9698           so it shows up correctly in gst-inspect.
9699
9700 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
9701
9702         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9703           Correct docs of queue, add more detail and crosslink it more.
9704
9705 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9706
9707         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
9708           Print additional debug info when the stream isn't perfectly
9709           timestamped; don't try to use invalid durations.
9710
9711 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
9712
9713         * docs/design/Makefile.am:
9714           Dist new design docs.
9715
9716 2006-12-16  Wim Taymans  <wim@fluendo.com>
9717
9718         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9719
9720         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
9721         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9722         (gst_collect_pads_stop), (gst_collect_pads_event),
9723         (gst_collect_pads_chain):
9724         * libs/gst/base/gstcollectpads.h:
9725         Add refcounting to the collectpads data so we can track when it's safe
9726         to free the data. Fixes #383382.
9727
9728 2006-12-15  Wim Taymans  <wim@fluendo.com>
9729
9730         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
9731         (gst_collect_pads_remove_pad):
9732         Automatically activate/deactivate pads when they are added to a
9733         started/stoped collectpads.
9734
9735 2006-12-15  Wim Taymans  <wim@fluendo.com>
9736
9737         * gst/gstelement.c: (gst_element_add_pad):
9738         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9739         * gst/gstpad.c: (gst_pad_init):
9740         Set pads to FLUSHING when they are created. Check, warn and fix when a
9741         demuxer adds an inactive pad to itself when running. Fixes #339326.
9742
9743 2006-12-15  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/gstelement.c: (gst_element_class_init),
9746         (gst_element_default_send_event), (gst_element_send_event),
9747         (gst_element_default_query), (gst_element_query):
9748         Expose default element send_event and query handling as vmethods that
9749         subclasses can chain up to.
9750
9751 2006-12-15  Wim Taymans  <wim@fluendo.com>
9752
9753         * gst/gstelement.c: (gst_element_set_state_func):
9754         Small documentation fixes.
9755
9756 2006-12-15  Wim Taymans  <wim@fluendo.com>
9757
9758         * docs/design/draft-latency.txt:
9759         Checked in draft for handling latency in pipelines.
9760
9761 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9762
9763         * Makefile.am:
9764         * gstreamer.doap:
9765         * gstreamer.spec.in:
9766           adding .doap file
9767
9768 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         * gst/gst.c: (init_pre), (init_post):
9771           init_pre() and init_post() might be called via our GOptionGroup or
9772           from gst_init(), and we should skip both of them if we've already
9773           been initialised, otherwise we will init some things twice or add
9774           two default log functions.
9775
9776 2006-12-13  Edward Hervey  <edward@fluendo.com>
9777
9778         * docs/manual/basics-bus.xml:
9779         No, gst_main_loop does not exist. Its g_main_loop.
9780         Discovered by somebody who abused the copy-paste technique of coding :)
9781
9782 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
9783
9784         * gst/gstghostpad.c:
9785           Log ghostpad debug stuff to the GST_PADS category as well rather
9786           than just to the default category.
9787
9788 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
9789
9790         * configure.ac:
9791         * gst/gst.c: (init_pre):
9792           Add some basic system details such as OS and architecture
9793           to the debug output if possible, courtesy of uname().
9794
9795 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
9796
9797         * docs/gst/running.xml:
9798           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
9799           environment variables.
9800
9801 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9802
9803         * tests/check/gst/gstbin.c: (GST_START_TEST):
9804         It is acceptable to have a refcount of 2 or 3 at this point in the
9805         test, because the pipeline might be just posting its state_change
9806         message. The next line then waits for that message to appear using
9807         bus_poll, so that should be fine too.
9808
9809 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
9810
9811         * gst/gst.c: (ensure_current_registry_forking):
9812         Ignore EINTR when reading from the child registry pipe.
9813         Explicitly ignore the return value from close, since it makes no
9814         difference.
9815
9816         * gst/gstminiobject.c: (gst_mini_object_ref),
9817         (gst_mini_object_unref):
9818         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9819
9820         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9821         When removing cached plugins, remove their features too, so they're
9822         not visible after they've disappeared.
9823
9824         * gst/gstutils.c: (prepare_link_maybe_ghosting):
9825         In the unlikely case that we are linking pads with no parents, don't
9826         crash trying to get the non-existent parent bin.
9827
9828         * gst/parse/grammar.y:
9829         Output debug in the PIPELINE category
9830
9831 2005-03-08  Wim Taymans  <wim@fluendo.com>
9832
9833         Patch by: René Stadler <mail at renestadler dot de>
9834
9835         * gst/gstclock.c: (gst_clock_new_periodic_id):
9836         Reject invalid clock times for interval of periodic ids.
9837         Fixes ##383506.
9838
9839 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9840
9841         * gst/gstelementfactory.c: (gst_element_factory_create):
9842         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9843         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9844         * tools/gst-inspect.c: (print_element_info):
9845         Fix refcounting of gst_plugin_feature_load to match the docs. 
9846         Fixes: #380129
9847
9848 2006-12-07  Wim Taymans  <wim@fluendo.com>
9849
9850         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9851         (gst_base_sink_get_position):
9852         Improve debugging of events.
9853
9854 2006-12-07  Wim Taymans  <wim@fluendo.com>
9855
9856         Patch by: René Stadler <mail at renestadler dot de>
9857
9858         * gst/gstclock.c: (gst_clock_id_wait):
9859         Make period ids add the interval to the origial requested time instead
9860         of the possibly updated time which can be wrong when there are multiple
9861         waiters for the same id. Fixes #382592.
9862
9863         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9864         (gst_system_clock_id_wait_jitter_unlocked),
9865         (gst_system_clock_id_wait_jitter):
9866         Fix restart in the async notify thread when an async entry is added to
9867         the front of the list. Fixes #381492. 
9868
9869         * tests/check/gst/gstsystemclock.c: (store_callback),
9870         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9871         Added test for multiple async waits.
9872         Added test for async wait order.
9873
9874 2006-12-07  Wim Taymans  <wim@fluendo.com>
9875
9876         * gst/gstbin.c: (gst_bin_query):
9877         Add some more docs about the POSITION query.
9878
9879 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
9880
9881         * configure.ac:
9882         Bump version nano - back to CVS.
9883
9884 === release 0.10.11 ===
9885
9886 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
9887
9888         * configure.ac:
9889           releasing 0.10.11, "Love never runs on time"
9890
9891 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
9892
9893         * win32/common/libgstbase.def:
9894         * win32/common/libgstreamer.def:
9895         * win32/vs8/libgstbase.vcproj:
9896         * win32/vs8/libgstcoreelements.vcproj:
9897         * win32/vs8/libgstreamer.vcproj:
9898         Fix compilation on win32 under VS8
9899         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9900         Partially fixes #381175
9901
9902 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
9903
9904         * gst/gstvalue.c: (gst_value_compare_fraction):
9905         If someone is foolish enough to compare 2 fractions with denominator =
9906         0, return UNORDERED rather than aborting.
9907
9908 2006-11-28  Edward Hervey  <edward@fluendo.com>
9909
9910         * libs/gst/base/Makefile.am:
9911         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9912         (gst_data_queue_base_init), (gst_data_queue_class_init),
9913         (gst_data_queue_init), (gst_data_queue_new),
9914         (gst_data_queue_cleanup), (gst_data_queue_finalize),
9915         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9916         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9917         (gst_data_queue_is_empty), (gst_data_queue_is_full),
9918         (gst_data_queue_set_flushing), (gst_data_queue_push),
9919         (gst_data_queue_pop), (gst_data_queue_drop_head),
9920         (gst_data_queue_set_property), (gst_data_queue_get_property):
9921         * libs/gst/base/gstdataqueue.h:
9922         New GstDataQueue object for threadsafe queueing. Most useful for
9923         elements that need some queueing functionnality.
9924         * docs/libs/gstreamer-libs-docs.sgml:
9925         * docs/libs/gstreamer-libs-sections.txt:
9926         Insert documentation for GstDataQueue
9927         * plugins/elements/Makefile.am:
9928         * plugins/elements/gstelements.c:
9929         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9930         (gst_multi_queue_class_init), (gst_multi_queue_init),
9931         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9932         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9933         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9934         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9935         (gst_multi_queue_loop), (gst_multi_queue_chain),
9936         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9937         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9938         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9939         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9940         (wake_up_next_non_linked), (compute_next_non_linked),
9941         (single_queue_overrun_cb), (single_queue_underrun_cb),
9942         (single_queue_check_full), (gst_single_queue_new):
9943         * plugins/elements/gstmultiqueue.h:
9944         New multiqueue element, using GstDataQueue. Used for queuing multiple
9945         streams.
9946         Closes #344639 and #347785
9947
9948 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
9949
9950         * docs/pwg/advanced-types.xml:
9951           add more missing type details
9952
9953         * tools/gst-run.c: (main):
9954           remove unused variable
9955
9956 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
9957
9958         * docs/libs/Makefile.am:
9959         * docs/libs/gstreamer-libs.types:
9960           add types of base classes to enable gobject specific stuff in the docs
9961
9962         * docs/random/ensonic/embedded.txt:
9963           more ideas about isolating platform specific things
9964
9965 2006-11-20  Wim Taymans  <wim@fluendo.com>
9966
9967         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9968
9969         * libs/gst/check/gstcheck.h:
9970         Fix compilation and running against 0.9.4. Fixes #377332.
9971
9972 2006-11-20  Wim Taymans  <wim@fluendo.com>
9973
9974         * gst/gstsegment.c: (gst_segment_set_seek),
9975         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9976         (gst_segment_to_running_time):
9977         Fix boundary checking in to_running_time() and to_stream_time().
9978         Fixes #377183.
9979
9980         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9981         stream and running time can now be calculated for the complete
9982         clipped segment.
9983
9984 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9985
9986         * gst/gstpad.c: (gst_pad_push_event):
9987           Can't access event structure after giving away ownership of
9988           the event.
9989
9990 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9991
9992         * docs/random/ensonic/embedded.txt:
9993         * docs/random/ensonic/profiling.txt:
9994         * docs/random/ensonic/receipies.txt:
9995           more thinking
9996
9997 2006-11-13  Wim Taymans  <wim@fluendo.com>
9998
9999         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10000
10001         * gst/gstpad.c:
10002         Fix documentation for gst_pad_dispatcher. Fixes #374475.
10003
10004 2006-11-13  Wim Taymans  <wim@fluendo.com>
10005
10006         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
10007
10008         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10009         Store new length in segment duration so we don't keep on calling the
10010         potentially expensize get_size() call. Fixes #370865.
10011
10012 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
10013
10014         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
10015
10016         * win32/common/libgstreamer.def:
10017           Add two missing symbols (#366492).
10018
10019 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
10020
10021         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
10022         (gst_adapter_take_buffer):
10023         Fix format string to use all its arguments.
10024         Remove useless >= check on a guint
10025
10026 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
10027
10028         * tests/examples/adapter/.cvsignore:
10029         Ignore build file as commanded by the build-bot
10030
10031 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
10032
10033         * tests/examples/adapter/Makefile.am:
10034         * tests/examples/adapter/adapter_test.c: (run_test_take),
10035         (run_test_take_buffer), (run_tests), (main):
10036
10037         Add new files from the previous commit
10038
10039 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
10040
10041         * Makefile.am:
10042         * configure.ac:
10043         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
10044         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
10045         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
10046         * libs/gst/base/gstadapter.h:
10047         * tests/check/libs/adapter.c: (create_and_fill_adapter),
10048         (GST_START_TEST), (gst_adapter_suite):
10049         * tests/examples/Makefile.am:
10050         Do some optimisation work in GstAdapter to avoid copies in more cases.
10051         It could still do slightly better by merging buffers when
10052         gst_buffer_is_span_fast is true, but is already faster. 
10053
10054         Also, avoid traversing a single-linked list to append each incoming 
10055         buffer inside the adapter.
10056
10057         Add simple test app that times the adapter behaviour in different
10058         situations, and extend the unit test to check that bytes enter and
10059         exit the adapter in their original order.
10060
10061 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
10062
10063         * docs/random/draft-missing-plugins.txt:
10064           Update: use element message instead of adding a new message
10065           type to the core; don't provide GStreamer API to initiate the
10066           plugin download, just provide API to compose the strings needed
10067           and let an external libgimmestuff handle the rest.
10068
10069 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
10070
10071         * tools/gst-inspect.c: (print_element_properties_info):
10072         Print a string instead of 'unknown type' for GValueArray properties
10073
10074 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
10075
10076         * docs/random/draft-missing-plugins.txt:
10077         More small fixes.
10078
10079 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10080
10081         * tests/examples/typefind/typefind.c: (type_found), (main):
10082           Make typefind element example work again (#371894); add a
10083           license header.
10084
10085 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10086
10087         * docs/random/draft-missing-plugins.txt:
10088           Commit initial draft about how to deal with missing plugins,
10089           needs work (API too).
10090
10091 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
10092
10093         * docs/pwg/advanced-types.xml:
10094           documents the new caps elements (see #363118)
10095
10096 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
10097
10098         * gst/gstplugin.c: (gst_plugin_load_file):
10099         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
10100         (gst_file_src_map_region), (gst_file_src_start):
10101         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
10102         (gst_file_index_commit):
10103           Use g_strerror() instead of strerror() - we want UTF-8.
10104
10105 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
10106
10107         Patch by: Peter Kjellerstedt <pkj at axis com>
10108
10109         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10110           Another printf fix (#371493).
10111
10112 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
10113
10114         * tests/check/gst/gsttag.c:
10115           relicence (okay with author=company)
10116
10117 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
10118
10119         * gst/gstpad.c: (gst_pad_event_default_dispatch),
10120         (gst_pad_push_event):
10121           Enhance debug and improve docs
10122         
10123         * gst/gsturi.c:
10124           Fix docs
10125
10126 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
10127
10128         * docs/random/ensonic/distributed.txt:
10129         * docs/random/ensonic/profiling.txt:
10130           more ideas
10131
10132 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
10133
10134         * docs/gst/gstreamer-sections.txt:
10135           add new API and fix the build
10136           
10137         * gst/gstbin.c: (gst_bin_recalc_state):
10138         * gst/gstelement.c: (gst_element_message_full),
10139         (gst_element_get_state_func), (gst_element_set_state_func):
10140           use new API and improve logging
10141         
10142         * gst/gstutils.c: (gst_element_state_change_return_get_name):
10143         * gst/gstutils.h:
10144           API: add function to get StateChangereturn names to improve logs 
10145
10146 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
10147
10148         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10149           I'm considering shooting the next person to put strerror stuff
10150           in the translateable part of the message.
10151
10152 2006-11-03  Wim Taymans  <wim@fluendo.com>
10153
10154         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10155         Get the type and printf conversion specifiers right.
10156
10157 2006-11-03  Wim Taymans  <wim@fluendo.com>
10158
10159         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10160
10161         * gst/gstpad.c: (gst_pad_init), (pre_activate),
10162         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
10163         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
10164         Some small cleanups. Improve debugging.
10165         * gst/gstpad.h:
10166         Signal all waiting threads with a broadcast instead of just one.
10167         Fixes #369942.
10168
10169 2006-11-03  Wim Taymans  <wim@fluendo.com>
10170
10171         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
10172         (gst_fd_src_create):
10173         Add some debugging. 
10174         Only update fd when it's different from the old.
10175
10176 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10177
10178         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
10179           Printf fixes for PPC/OSX, take two (#369366).
10180
10181 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10182
10183         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
10184
10185         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10186         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10187         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
10188           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
10189           don't cast to long long for portability reasons, but use
10190           GLib's types instead.
10191
10192 2006-10-30  Michael Smith  <msmith@fluendo.com>
10193
10194         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10195           Get the arguments to lseek() the right way around.
10196           Fixes 367677.
10197
10198 2006-10-30  Wim Taymans  <wim@fluendo.com>
10199
10200         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
10201
10202         * gst/gstinfo.h:
10203         _declspec should be __declspec (two underscores, not one). Fixes 366572.
10204
10205 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10206
10207         Patch by: Kjartan Maraas  <kmaraas at gnome org>
10208
10209         * docs/design/part-MT-refcounting.txt:
10210         * docs/random/wtay/capsnego2-docs:
10211         * gst/gstclock.c:
10212         * gst/gstxml.c:
10213           Typo fixes (#366212).
10214
10215 2006-10-28  Wim Taymans  <wim@fluendo.com>
10216
10217         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10218
10219         * gst/gst.c:
10220         * win32/common/libgstbase.def:
10221         * win32/common/libgstreamer.def:
10222         * win32/vs8/libgstbase.vcproj:
10223         * win32/vs8/libgstcontroller.vcproj:
10224         Add needed entries in .def files.
10225         Use HAVE_UNISTD_H.
10226         Rearrange def files in vs8 solutions. Fixes #366286.
10227
10228 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
10229
10230         * win32/common/gstconfig.h:
10231           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
10232           hand-made win32 gstconfig.h. Fixes #366321.
10233
10234 2006-10-27  Wim Taymans  <wim@fluendo.com>
10235
10236         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
10237         (gst_ghost_pad_new_full):
10238         Make acceptcaps return TRUE when we don't have a target, just like
10239         setcaps does.
10240
10241 2006-10-27  Wim Taymans  <wim@fluendo.com>
10242
10243         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10244         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
10245
10246 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
10247
10248         * gst/gststructure.c: (gst_structure_id_set_value):
10249           If someone tries to set a non-UTF8 string field on a structure,
10250           don't just print a warning, but also ignore the request and do
10251           not change/add that field to the structure.
10252
10253         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10254           Test for the above.
10255
10256 2006-10-25  David Schleef  <ds@schleef.org>
10257
10258         * gst/gstinfo.c:
10259           g_hash_table_insert() needs a cast to a non-const pointer duh.
10260
10261 2006-10-25  David Schleef  <ds@schleef.org>
10262
10263         * gst/gstinfo.c:
10264         * gst/gstinfo.h:
10265           Change name parameter of _gst_debug_register_funcptr to const
10266           to reflect the constness of its use in the function as well
10267           as to quiet a gcc warning.
10268
10269 2006-10-25  Edward Hervey  <edward@fluendo.com>
10270
10271         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
10272         Don't push the buffer if it's empty.
10273         Closes #363095
10274
10275 2006-10-24  Wim Taymans  <wim@fluendo.com>
10276
10277         * gst/gstevent.h:
10278         Add small comment.
10279
10280         * libs/gst/base/gstbasetransform.c:
10281         (gst_base_transform_sink_eventfunc):
10282         Debug segment values *after* updating them as this is more
10283         interesting.
10284
10285 2006-10-23  Wim Taymans  <wim@fluendo.com>
10286
10287         * docs/design/part-events.txt:
10288         Update some docs.
10289
10290         * docs/design/part-block.txt:
10291         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10292         (gst_pad_push_event):
10293         Revert BLOCKING patch, it tries to be smart without really having a
10294         clear idea what or how. So, now we discard all FLUSHING events again on
10295         a blocking pad. Should fix gnonlin again.
10296
10297 2006-10-23  Wim Taymans  <wim@fluendo.com>
10298
10299         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
10300
10301         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10302         (gst_base_src_start), (gst_base_src_activate_push):
10303         Make sure size is always initialized. Fixes #364388.
10304
10305 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
10306
10307         * docs/random/ensonic/distributed.txt:
10308           add some ideas about doing distributed processing
10309
10310         * docs/random/ensonic/profiling.txt:
10311           get_rusage look promising
10312
10313 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10314
10315         * docs/manual/basics-helloworld.xml:
10316           Add a cast in example to fix compile warning
10317
10318 2006-10-18  Wim Taymans  <wim@fluendo.com>
10319
10320         * gst/gstsegment.c: (gst_segment_set_last_stop),
10321         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10322         Relax arg checking again, -1 is allowed.
10323
10324 2006-10-18  Wim Taymans  <wim@fluendo.com>
10325
10326         * gst/gstsegment.c: (gst_segment_set_last_stop),
10327         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
10328         _set_last_stop() must be with a value != -1
10329         A _TYPE_SET to -1 means seek to 0.
10330         Calc last_stop correctly for negative rates.
10331         Make sure we work with positive durations when updating a segment.
10332
10333 2006-10-18  Wim Taymans  <wim@fluendo.com>
10334
10335         * docs/design/part-live-source.txt:
10336         * gst/gstclock.h:
10337         Small docs fixes.
10338
10339 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
10340
10341         * gst/gstbuffer.h:
10342           Add an explicit cast to GstBuffer** to keep old code that added an
10343           explicit cast to GstMiniObject** for gst_mini_object_replace()
10344           compiling without warning.
10345
10346 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
10347
10348         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
10349           check for validity of dates
10350
10351 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10352
10353         * docs/gst/gstreamer-sections.txt:
10354           Forgot this one, makes gtk-doc shut up.
10355
10356 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10357
10358         Patch by: Peter Kjellerstedt <pkj at axis com>
10359
10360         * gst/gstobject.h:
10361           Don't define xmlNodePtr to gpointer if the core was built with
10362           --disable-loadsave and --disable-registry, this will break
10363           applications that want to use libxml2 but are buildling against a
10364           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
10365           instead so we don't have to mess with the libxml2 namespace
10366           (#361675).
10367
10368 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
10369
10370         * gst/gstbuffer.h:
10371           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
10372           type-punned pointer warnings.
10373
10374 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
10375
10376         * gst/gstelement.h:
10377           Add casts to the correct return type to state <=> state transition
10378           macros.
10379
10380 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
10381
10382         * docs/design/part-live-source.txt:
10383           describe howto handle latency
10384         
10385         * docs/random/ensonic/profiling.txt:
10386           more ideas
10387
10388         * tools/gst-plot-timeline.py:
10389           fix log parsing for solaris, remove unused function
10390
10391 2006-10-16  Wim Taymans  <wim@fluendo.com>
10392
10393         * docs/design/part-trickmodes.txt:
10394         * gst/gstevent.c:
10395         Update some docs regarding reverse playback.
10396
10397 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10398
10399         Patch by: Marcus Granado  <mrc dot gran at gmail com>
10400
10401         * win32/vs8/grammar.vcproj:
10402           Error out with a warning if glib-genmarshal.exe is not in path,
10403           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
10404
10405 2006-10-13  Wim Taymans  <wim@fluendo.com>
10406
10407         * gst/gstsegment.c: (gst_segment_set_seek):
10408         When seeking to stop -1, set last_stop (current position) to the
10409         duration of the segment.
10410
10411 2006-10-13  Wim Taymans  <wim@fluendo.com>
10412
10413         * gst/gstelement.h:
10414         Clarify _NO_PREROLL a bit more.
10415
10416         * gst/gstevent.c:
10417         Fix docs.
10418
10419         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10420         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
10421         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
10422         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
10423         due to wrong locking order. Fixes #361769.
10424         Remove some redundant/misplaced checks in pad_block.
10425
10426         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10427         For negative rates, count backwards from the duration.
10428
10429 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10430
10431         * gst/gsterror.c: (_gst_library_errors_init):
10432           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
10433           up with something better).
10434
10435 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10436
10437         * win32/vs6/libgstreamer.dsp:
10438         * win32/vs7/libgstreamer.vcproj:
10439         * win32/vs8/libgstreamer.vcproj:
10440           Don't reference glib-compat.c which is currently not used and not
10441           disted; add gstquark.c which was recently added. Fixes #361730.
10442
10443 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
10444
10445         * win32/common/libgstbase.def:
10446         * win32/common/libgstcontroller.def:
10447         * win32/common/libgstreamer.def:
10448           Add gst_caps_merge() and a bunch of other recently-added functions.
10449           Fixes #361732.
10450
10451 2006-10-11  Wim Taymans  <wim@fluendo.com>
10452
10453         * docs/plugins/gstreamer-plugins.args:
10454         * docs/plugins/inspect/plugin-coreelements.xml:
10455         * docs/plugins/inspect/plugin-coreindexers.xml:
10456         Update element args.
10457
10458         * gst/gstsystemclock.c:
10459         Small comment update.
10460
10461         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10462         (gst_tee_request_new_pad), (gst_tee_release_pad),
10463         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
10464         (gst_tee_sink_activate_pull):
10465         * plugins/elements/gsttee.h:
10466         Some tee loving:
10467         Add default property defines.
10468         Implement release pad function.
10469         Give properties better blubs etc.
10470         Activate pads before adding them to a running tee.
10471         Do simple buffer_alloc on the first requested pad.
10472         Post error when activation fails.
10473
10474 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10475
10476         * gst/gst.c: (ensure_current_registry_forking):
10477           Check return value of write() to make compiler happy.
10478
10479 2006-10-11  Wim Taymans  <wim@fluendo.com>
10480
10481         Patch by: Sjoerd Simons <sjoerd at luon dot net>
10482
10483         * plugins/elements/gstqueue.c: (gst_queue_chain):
10484         Recheck queue filledness after signalling the overrun when we're about
10485         to leak downstream because we released the lock when emitting the signal
10486         and the queue could be empty again. Fixes #352345.
10487
10488 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
10489
10490         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
10491           Fix refcounting here too, just like we did for _new_valist() a few
10492           days ago (#357180) (thanks to René Stadler). Also remove all those
10493           'Since: 0.9' from the gtk-doc blobs.
10494
10495         * tests/check/libs/controller.c: (controller_refcount_new_list),
10496         (gst_controller_suite):
10497           Unit test for the above.
10498
10499 2006-10-10  Wim Taymans  <wim@fluendo.com>
10500
10501         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
10502
10503         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
10504         (gst_pad_save_thyself):
10505         Update some docs.
10506         Write pad direction in XML output. Fixes #345496.
10507
10508 2006-10-10  Wim Taymans  <wim@fluendo.com>
10509
10510         Patch by: René Stadler <mail at renestadler dot de>
10511
10512         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10513         (gst_controller_new_list), (_gst_controller_dispose),
10514         (_gst_controller_finalize), (_gst_controller_class_init):
10515         Take ref to controlled object so that it cannot disappear. 
10516         Fixes #357432.
10517
10518 2006-10-10  Wim Taymans  <wim@fluendo.com>
10519
10520         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
10521         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
10522         (gst_check_teardown_sink_pad):
10523         Activate/deactivate pads in setup/teardown respectively.
10524
10525 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10526
10527         Patch by: Josep Torra Valles <josep@fluendo.com>
10528
10529         * gst/Makefile.am:
10530         Cast values when making gstenumtypes.h.  This pacifies Forte
10531         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
10532         in the enumeration.
10533
10534 2006-10-09  Wim Taymans  <wim@fluendo.com>
10535
10536         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
10537         Rename some more @cur to @start to fix docs. 
10538
10539         * gst/gstsegment.c: (gst_segment_set_seek):
10540         Fix typo.
10541         time and start must always stay in sync as defined in design doc.
10542
10543         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10544         Rename param to fix docs.
10545
10546         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10547         Check that start and time are in sync.
10548
10549         * tests/check/pipelines/parse-launch.c:
10550         (gst_parse_test_element_change_state):
10551         Activate pad before adding to the element.
10552
10553 2006-10-09  Wim Taymans  <wim@fluendo.com>
10554
10555         * docs/design/part-qos.txt:
10556         Fix typo.
10557
10558         * gst/gstevent.c:
10559         * gst/gstevent.h:
10560         Update seek event docs regarding negative rates.
10561         Rename @cur to @start. 
10562
10563         * gst/gstsegment.c: (gst_segment_set_seek):
10564         * gst/gstsegment.h:
10565         Update set_seek docs regarding negative rates.
10566         Correctly update last_stop to @stop when dealing with negative
10567         rates.
10568         Rename @cur to @start. 
10569
10570         * tests/check/gst/gstpad.c: (GST_START_TEST):
10571         Activate pads before trying to use them.
10572
10573         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10574         (gst_segment_suite):
10575         Add simple check for segments and negative rates.
10576
10577 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10578
10579         * gst/gsttaglist.c: (gst_tag_list_is_empty):
10580         * gst/gsttaglist.h:
10581         * docs/gst/gstreamer-sections.txt:
10582           API: add gst_tag_list_is_empty() (#360467).
10583
10584         * tests/check/gst/gsttag.c: (GST_START_TEST):
10585           And a test case.
10586
10587 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10588
10589         * gst/gstmessage.h:
10590         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
10591         a value that doesn't fit on enumeration.
10592
10593 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10594
10595         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10596         Remove local debugging system and use Gstreamer's instead.
10597
10598 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10599
10600         Patch by: Josep Torra Valles <josep@fluendo.com>
10601
10602         * common/m4/gst-error.m4:
10603         Disable warning of statement not reached on Forte.
10604         * gst/gstmessage.h:
10605         Fix warning on Forte (value doesn't fit on enumeration).
10606         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
10607         Fix warning on Forte (value doesn't fit on enumeration).
10608         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10609         DEBUG macro says it takes minimum of 2 args and so Forte
10610         complains about the use with just 1 arg.
10611         * plugins/elements/gstfdsink.c:
10612         * plugins/elements/gstfdsrc.c:
10613         * plugins/elements/gstfilesink.c:
10614         * plugins/elements/gstfilesrc.c:
10615         Use correct return type for the uri handler implementations.
10616
10617         All these fix warnings in Forte.  Fixes bug #360860.
10618
10619 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10620
10621         * gst/gstelement.h:
10622           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
10623           format string, so don't use G_GNUC_PRINTF for those versions.
10624
10625 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10626
10627         * gst/gsttaglist.c: (gst_is_tag_list):
10628         * gst/gsttaglist.h:
10629           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
10630
10631         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10632           Small test for the above.
10633
10634 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
10635
10636         * gst/gsttaglist.h:
10637           Less tabs, more spaces.
10638
10639 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
10640
10641         * gst/gstinfo.h:
10642           Those two function declarations do actually belong there, revert
10643           commit from yesterday that turned them intro macros.
10644
10645 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10646
10647         Patch by: Josep Torra Valles <josep@fluendo.com>
10648
10649         * gst/gst.c: (gst_init_get_option_group):
10650         Fix empty declaration and type mismatch.
10651         * gst/gstbin.c: (gst_bin_change_state_func):
10652         Fix type mismatch.
10653         * gst/gstelement.c: (gst_element_continue_state),
10654         (gst_element_set_state_func), (gst_element_change_state),
10655         (gst_element_change_state_func):
10656         Fix type mismatches.
10657         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
10658         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
10659         Cast as appropriate.
10660         * gst/gstobject.c: (gst_class_signal_connect):
10661         Cast as appropriate.  The function pointer parameter really
10662         has the wrong type but would break API if we change it.
10663         * gst/gstquery.c:
10664         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
10665         order of including string.h.
10666         * gst/gstutils.c: (gst_element_state_get_name):
10667         Remove unreachable line.
10668         * gst/gstxml.c: (gst_xml_parse_doc):
10669         Fix type mismatch.
10670         All these caught by Forte.
10671
10672 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10673
10674         Patch by: Josep Torra Valles <josep@fluendo.com>
10675
10676         * common/m4/gst-error.m4:
10677         Fixed bug #360151.
10678         We need to disable warnings on Forte for empty declarations
10679         due to gst-indent adding ;s to lines that just use macros
10680         where the macro actually doesn't need a ; at end to end
10681         statement.
10682
10683 2006-10-06  Wim Taymans  <wim@fluendo.com>
10684
10685         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10686         (gst_file_sink_close_file), (gst_file_sink_event),
10687         (gst_file_sink_render):
10688         Add some FIXME for the NEWSEGMENT handling.
10689
10690 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10691
10692         * gst/parse/grammar.y:
10693         Remove static function gst_parse_element_lock as all it does
10694         is return.  Looks like cruft from 0.8.
10695
10696 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10697
10698         Patch by: Josep Torra Valles <josep@fluendo.com>
10699
10700         * common/m4/gst-error.m4:
10701         * configure.ac:
10702         * libs/gst/net/Makefile.am:
10703         Fix a compilation issue with Forte on Solaris.  inet_aton is in
10704         libresolv.
10705
10706 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10707
10708         * gst/gstpad.c: (pre_activate):
10709         * gst/gstregistry.c: (gst_registry_scan_path_level):
10710         * gst/gstregistryxml.c: (load_plugin):
10711         * libs/gst/controller/gstcontroller.c:
10712         (gst_controlled_property_set_interpolation_mode):
10713         * libs/gst/dataprotocol/dataprotocol.c:
10714         (gst_dp_packet_from_event_1_0):
10715         * libs/gst/net/gstnetclientclock.c:
10716         (gst_net_client_clock_observe_times):
10717         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
10718           Printf fixes.
10719
10720 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
10721
10722         * configure.ac:
10723         * docs/gst/gstreamer-sections.txt:
10724         * gst/gstconfig.h.in:
10725         * gst/gstelement.h:
10726         * gst/gstinfo.h:
10727           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
10728           whether we can use G_GNUC_PRINTF in other header files and at
10729           least check the printf format/arguments of debug messages and
10730           GST_ELEMENT_ERROR messages when the printf extension is not
10731           being used.
10732           Replace more tabs with spaces in gstinfo.h and remove two spurious
10733           function declarations in GST_DISABLE_DEBUG part with macros.
10734
10735 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
10736
10737         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
10738           More docs for the sync-message signal (mention that it is not
10739           emitted by default); log message structures of messages posted on
10740           the bus as well.
10741
10742 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
10743
10744         * gst/gst.c: (ensure_current_registry_forking):
10745         Use a pipe pair to receive status results from the forked child, and
10746         ignore the result from waitpid. Fixes #355499
10747
10748 2006-10-02  Wim Taymans  <wim@fluendo.com>
10749
10750         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10751         (gst_ghost_pad_suite):
10752         Fix leak in check.
10753
10754 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10755
10756         * gst/gstpad.c:
10757           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
10758
10759 2006-10-02  Edward Hervey  <edward@fluendo.com>
10760
10761         * docs/design/part-block.txt:
10762         Further explain the use of flushing on blocked pads.
10763         * docs/gst/gstreamer-sections.txt:
10764         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
10765         (gst_pad_push_event):
10766         * gst/gstpad.h:
10767         Added new GstPadFlag : GST_PAD_BLOCKING.
10768         Adds the notion of pads really blocking, which enables to properly
10769         handle FLUSH_START/FLUSH_STOP events on blocked pads.
10770         Fixes #358999
10771         API: gst_pad_is_blocking()
10772         API: GST_PAD_IS_BLOCKING() macro
10773         API: GST_PAD_BLOCKING GstPadFlag
10774         
10775 2006-10-02  Wim Taymans  <wim@fluendo.com>
10776
10777         Patch by: mrcgran <mrc.gran at gmail dot com>
10778
10779         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
10780         Filter the proxied caps against the padtemplate if we have one.
10781
10782         * gst/gstquery.c: (gst_query_new_segment):
10783         Add include for gstinfo.h so that compilation with
10784         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
10785
10786 2006-10-02  Wim Taymans  <wim@fluendo.com>
10787
10788         Patch by: Alessandro Decina  <alessandro at nnva org>
10789
10790         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
10791         (gst_file_sink_set_location), (gst_file_sink_open_file),
10792         (gst_file_sink_close_file), (gst_file_sink_event),
10793         (gst_file_sink_render):
10794         Set file to NULL when closing filesink so that we can set a new filename
10795         in READY. Fixes #358613.
10796
10797 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10798
10799         Patch by: Alessandro Decina  <alessandro at nnva org>
10800
10801         * gst/gstevent.c: (_gst_event_copy):
10802           Fix gst_mini_object_make_writable() and gst_event_copy() for events
10803           with event structures by setting the parent refcount address of the
10804           copied structure to the address of the refcount member of the newly
10805           copied event rather than the address of the refcount member of the
10806           original event. Fixes #358737.
10807
10808         * tests/check/gst/gstevent.c: (GST_START_TEST):
10809           Unit test for the above.
10810
10811 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
10812
10813         * docs/design/Makefile.am:
10814           Dist some more files.
10815
10816 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10817
10818         * tests/check/libs/controller.c: (GST_START_TEST),
10819         (gst_controller_suite):
10820           Add test for the previous fix; add some more tests
10821           for correct refcounting behaviour; fix a few leaks
10822           in test cases; call gst_controller_init() at start
10823           of all tests.
10824
10825 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10826
10827         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10828         (gst_controller_set_from_list):
10829           Don't g_return_val_if_fail() on timed values with invalid timestamps
10830           inside a critical section without unlocking the mutex. Spotted by
10831           René Stadler. (#357617)
10832           Also, fix up refcounting properly: when returning an existing
10833           controller, we should increase the reference only once and not
10834           once per property and when trying to control a property again
10835           we should also increase the refcount.
10836
10837 2006-09-29  Wim Taymans  <wim@fluendo.com>
10838
10839         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10840         * libs/gst/net/gstnettimeprovider.c:
10841         (gst_net_time_provider_thread):
10842         Stop reading commands when EOF as well.
10843
10844         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10845         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10846         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10847         Unify description of the dump property.
10848
10849 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10850
10851         * tests/examples/manual/.cvsignore:
10852         OK, so it's actually cvsignore that needs changing. Stop laughing.
10853
10854 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10855
10856         * tests/examples/manual/Makefile.am:
10857         Gah, declare vars *before* using them
10858
10859 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10860
10861         * gst/gst.c: (init_pre), (scan_and_update_registry),
10862         (ensure_current_registry_nonforking),
10863         (ensure_current_registry_forking), (ensure_current_registry),
10864         (init_post), (gst_debug_help), (gst_deinit):
10865         * gst/gst_private.h:
10866         * gst/gstregistry.c: (gst_registry_finalize),
10867         (gst_registry_remove_features_for_plugin_unlocked),
10868         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10869         (gst_registry_scan_path),
10870         (_priv_gst_registry_remove_cache_plugins),
10871         (_priv_gst_registry_cleanup):
10872         * gst/gstregistry.h:
10873         Re-commit the registry changes, along with an extra fix:
10874           When a cached plugin is encountered at a different file path,
10875           update the stored path in the registry cache so that the parent
10876           process knows where it actually is now when it re-reads the registry
10877           cache. Fixes the thing that broke distcheck with the previous commit.
10878
10879         * tests/check/Makefile.am:
10880         Clean up files named 'core' too when running make clean.
10881
10882         * tests/examples/manual/Makefile.am:
10883         Set up a registry path for running these tests, and clean it properly
10884         for distcheck.
10885
10886 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
10887
10888         * configure.ac:
10889         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10890         want gmodule-no-export-2.0.pc instead so that we don't drag in
10891         --export-dynamic on every project that links to GStreamer.
10892
10893         Also, make our export regex only match the start of symbols, rather 
10894         than any symbol that contains '_gst' somewhere.
10895
10896         * libs/gst/check/Makefile.am:
10897         The libgstcheck we build does however need export-dynamic, as it
10898         produces some symbols that don't match our _gst... style regex.
10899         Fixes: #318031
10900
10901 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10902
10903         * gst/gst.c: (init_pre), (scan_and_update_registry),
10904         (ensure_current_registry_nonforking),
10905         (ensure_current_registry_forking), (ensure_current_registry),
10906         (init_post), (gst_debug_help), (gst_deinit):
10907         * gst/gst_private.h:
10908         * gst/gstregistry.c: (gst_registry_finalize),
10909         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10910         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10911         (_gst_registry_cleanup):
10912         * gst/gstregistry.h:
10913           Revert previous change until I figure out why it breaks distcheck.
10914
10915 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
10916
10917         * gst/gst.c: (init_pre), (scan_and_update_registry),
10918         (ensure_current_registry_nonforking),
10919         (ensure_current_registry_forking), (ensure_current_registry),
10920         (init_post), (gst_debug_help), (gst_deinit):
10921
10922           Make init_pre and init_post take the full complement of GOptionFunc
10923           args so they can return useful GErrors. Make the registry updating
10924           functions do so.
10925
10926           Call _priv_gst_registry_remove_cache_plugins after scanning files to
10927           ensure that the registry we're about to write out doesn't contain
10928           stale information about old-deleted plugin files.
10929
10930           Make _priv_gst_registry_remove_cache_plugins return a boolean so
10931           that deletion of plugin files is considered a registry change.
10932
10933         * gst/gst_private.h:
10934         * gst/gstregistry.c: (gst_registry_finalize),
10935         (gst_registry_remove_features_for_plugin_unlocked),
10936         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10937         (gst_registry_scan_path),
10938         (_priv_gst_registry_remove_cache_plugins),
10939         (_priv_gst_registry_cleanup):
10940         * gst/gstregistry.h:
10941         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10942         by adding _priv prefix, so that they won't appear in the global
10943         symbol table. They still do atm though because of #318031. Move the
10944         prototypes to gst_private.h
10945
10946         When removing a plugin, remove all features for that plugin too. 
10947         Fixes #340878.
10948
10949 2006-09-27  Wim Taymans  <wim@fluendo.com>
10950
10951         * docs/random/moving-plugins:
10952         Make it clear that the "compiled-in descriptions" really mean
10953         the element details.
10954
10955         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10956         (gst_base_sink_wait_preroll):
10957         Update docs.
10958
10959         * docs/libs/gstreamer-libs-sections.txt:
10960         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10961         (gst_base_src_get_range), (gst_base_src_activate_push):
10962         * libs/gst/base/gstbasesrc.h:
10963         Added function to block while waiting for PLAYING, this function
10964         is used by live sources that block on the clock.
10965         API: gst_base_src_wait_playing()
10966
10967 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10968
10969         Patch by: Peter Kjellerstedt <pkj at axis com>
10970
10971         * Makefile.am:
10972           gst-element-check.m4 is generated and should therefore be
10973           copied from the build dir rather than the source dir (#357593).
10974           'make distcheck' hasn't noticed this because we were disting
10975           the file as well, so stop doing that.
10976
10977 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10978
10979         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10980           Add some tests for gst_caps_intersect().
10981
10982         * tools/gst-launch.c: (event_loop):
10983           Print all buffering percentages we get, even the 100% one.
10984
10985 2006-09-26  Wim Taymans  <wim@fluendo.com>
10986
10987         * tools/gst-inspect.c: (print_element_properties_info),
10988         (print_signal_info):
10989         Fix printing of flags to match the look of enums.
10990
10991 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10992
10993         * gst/gstelementfactory.c:
10994           Fix typo in docs blurb.
10995
10996 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10997
10998         * gst/gsturi.c: (search_by_entry):
10999           Don't assert/crash here if a uri handler doesn't return any
11000           supported protocols. The list of protocols could be generated
11001           dynamically at runtime or at plugin registration, and an error
11002           in the underlying library shouldn't be fatal (#353301).
11003
11004 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * gst/gstinfo.c:
11007           Fix warning if HAVE_PRINTF_EXTENSION is undefined
11008           (spotted by Peter Kjellerstedt).
11009
11010 2006-09-23  Wim Taymans  <wim@fluendo.com>
11011
11012         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
11013
11014         * libs/gst/base/gstbasesrc.c:
11015         (gst_base_src_default_check_get_range), (gst_base_src_start),
11016         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11017         (gst_base_src_change_state):
11018         Match _start/_stop calls in the activate functions. Remove redundant
11019         _stop call from the state change function. Fixes #356910.
11020         Turn failure DEBUG into ERROR. 
11021
11022 2006-09-22  Wim Taymans  <wim@fluendo.com>
11023
11024         * docs/design/part-buffering.txt:
11025         * gst/gstmessage.c: (gst_message_new_buffering),
11026         (gst_message_parse_buffering):
11027         Update docs about buffering.
11028
11029         * docs/design/part-trickmodes.txt:
11030         Fix typo.
11031
11032 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
11033
11034         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11035         (gst_controller_new_list):
11036           Ref instances when returning them again (fixes #357180)
11037
11038 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
11039
11040         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
11041           Don't forget to release proxy lock when there's an error.
11042
11043 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
11044
11045         * gst/gstcaps.h:
11046           Add extra initialisers for Caps things, to fix some plugin warnings
11047           when using -Wextra
11048
11049 2006-09-18  Wim Taymans  <wim@fluendo.com>
11050
11051         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
11052           Also set template on the internal pad so that a getcaps from the 
11053           target pad returns the template caps.
11054
11055 2006-09-18  Wim Taymans  <wim@fluendo.com>
11056
11057         * gst/gstelement.c: (gst_element_post_message),
11058         (gst_element_dispose):
11059         Use _DEBUG_OBJECT some more.
11060
11061         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11062         Avoid typechecks.
11063
11064         * tools/gst-launch.c: (main):
11065         If the toplevel element is not a GstPipeline, it must be put in a
11066         pipeline so that a bus and clock is selected.
11067
11068 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
11069
11070         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
11071           JITTER, RATE, and LATENCY query should be handled by the
11072           default case and not by the CONVERT query code.
11073
11074 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
11075
11076         * gst/gstformat.c: (gst_format_register):
11077           Fix locking order (must take lock before using n_values).
11078
11079         * gst/gstvalue.c: (gst_value_serialize_enum),
11080         (gst_value_deserialize_enum_iter_cmp),
11081         (gst_value_deserialize_enum):
11082           Fix serialisation/deserialisation of custom registered GstFormats.
11083
11084         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11085           Unit test for custom format serialisation/deserialisation.
11086
11087 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
11088
11089         * docs/pwg/building-boiler.xml:
11090         * plugins/elements/gstcapsfilter.c:
11091         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
11092         section.
11093
11094 2006-09-16  Edward Hervey  <edward@fluendo.com>
11095
11096         * libs/gst/base/gstbasetransform.c:
11097         (gst_base_transform_buffer_alloc):
11098         Check if requested caps are the same as the sinks caps IF
11099         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
11100         is FALSE.
11101         This fixes the renegotiation issues stated in #352827.
11102
11103 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11104
11105         * configure.ac:
11106         * docs/manual/advanced-autoplugging.xml:
11107         * tests/examples/Makefile.am:
11108         * tests/examples/manual/.cvsignore:
11109         * tests/examples/manual/Makefile.am:
11110         * tests/examples/manual/extract.pl:
11111           Extract the manual examples again like we used to do.
11112           Fix one of them.
11113
11114 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11115
11116         * win32/common/config.h:
11117           update for version
11118
11119 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
11120
11121         * gst/gsterror.c:
11122           Documents how to receive errors.
11123
11124 2006-09-15  Wim Taymans  <wim@fluendo.com>
11125
11126         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
11127         (event_loop), (main):
11128         Added some comments here and there.
11129         Post an application message when an interrupt is caught instead of doing
11130         an uncontrolled state change.
11131         Clean up the event loop.
11132         Handle buffering messages, pause/resume the pipeline.
11133         Make shutdown because of an interrupt more reliable.
11134
11135 2006-09-15  Wim Taymans  <wim@fluendo.com>
11136
11137         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
11138         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
11139         (gst_base_sink_preroll_object):
11140         Make sure that our internal state is correct when we commit our state
11141         asynchronously. This solves a race where a state change to PLAYING
11142         could cause the sink to remain blocked in preroll in some situations.
11143
11144 2006-09-15  Wim Taymans  <wim@fluendo.com>
11145
11146         * tools/gst-inspect.c: (print_element_properties_info),
11147         (print_signal_info):
11148         List flags as hex so it's easier to deal with.
11149
11150 2006-09-15  Wim Taymans  <wim@fluendo.com>
11151
11152         * docs/libs/gstreamer-libs-sections.txt:
11153         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
11154         (gst_base_sink_do_sync):
11155         * libs/gst/base/gstbasesink.h:
11156         Expose logic to wait for preroll so that subclasses such as audiosink
11157         can also use this method.
11158         API: gst_base_sink_wait_preroll()
11159
11160 2006-09-15  Wim Taymans  <wim@fluendo.com>
11161
11162         * gst/gstobject.c: (gst_object_set_parent):
11163         * gst/gstpipeline.c: (do_pipeline_seek):
11164         Small cleanups in docs and code.
11165
11166         * gst/gstsegment.c: (gst_segment_clip):
11167         * tests/check/gst/gstsegment.c: (GST_START_TEST):
11168         if stop == start and start is in the segment, no clipping should be
11169         done. Also add a test for this.
11170
11171 2006-09-15  Wim Taymans  <wim@fluendo.com>
11172
11173         * docs/design/part-buffering.txt:
11174         * docs/gst/gstreamer-sections.txt:
11175         * gst/gstmessage.c: (gst_message_new_buffering),
11176         (gst_message_parse_buffering):
11177         * gst/gstmessage.h:
11178         Added methods to create and parse BUFFERING messages.
11179         Added preliminary docs about buffering.
11180         API: gst_message_new_buffering
11181         API: gst_message_parse_buffering
11182
11183 2006-09-06  Wim Taymans  <wim@fluendo.com>
11184
11185         * gst/gstbin.c:
11186         Update documentation.
11187
11188         * gst/gstelement.c: (gst_element_class_init),
11189         (gst_element_release_request_pad), (gst_element_set_clock),
11190         (gst_element_get_index), (gst_element_add_pad),
11191         (gst_element_remove_pad), (gst_element_get_random_pad),
11192         (gst_element_send_event), (gst_element_get_query_types),
11193         (gst_element_query), (gst_element_post_message),
11194         (gst_element_message_full), (gst_element_continue_state),
11195         (gst_element_lost_state), (gst_element_save_thyself),
11196         (gst_element_restore_thyself):
11197         Documentation updates.
11198         Rename last bit of the new-pad -> pad-added signal rename.
11199         Fix the case where an element query would only work if the source
11200         pad was linked.
11201         Avoid some useless type checking in message handling.
11202
11203         * gst/gstevent.c:
11204         * gst/gstevent.h:
11205         * gst/gstutils.c:
11206         Documentation updates.
11207
11208 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11209
11210         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
11211           add an INFO line for when we actually update the fd
11212
11213 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
11214
11215         * configure.ac:
11216           back to TRUNK
11217
11218 === release 0.10.10 ===
11219
11220 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
11221
11222         * configure.ac:
11223           releasing 0.10.10, "Pais"
11224
11225 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
11226
11227         * docs/manual/advanced-position.xml:
11228           Fix typo in sample code.
11229
11230 2006-09-05  Wim Taymans  <wim@fluendo.com>
11231
11232         * libs/gst/net/gstnetclientclock.c: (inet_aton),
11233         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
11234         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
11235         * libs/gst/net/gstnetclientclock.h:
11236         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11237         * libs/gst/net/gstnettimepacket.h:
11238         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
11239         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
11240         (gst_net_time_provider_thread), (gst_net_time_provider_new):
11241         * libs/gst/net/gstnettimeprovider.h:
11242         Make stuff compile on windows. Fixes #345295.
11243
11244 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11245
11246         * gst/gst.c: (ensure_current_registry_forking):
11247           Print better details when child was terminated by signal.
11248
11249 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11250
11251         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
11252           Print a warning rather than g_assert() if a plugin feature
11253           is a URI handler but returns no protocols (#353976).
11254
11255 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
11256
11257         * docs/random/moving-plugins:
11258         Fix two typos.         
11259
11260 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11261
11262         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
11263           Fix locking order, handle NULL function values properly.
11264
11265         * gst/gstinfo.h:
11266           Fix docs.
11267
11268         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
11269           Initialise variable before using it and fix debug statement to
11270           print the address of the function rather than the address of the
11271           variable on the stack holding the address of the function.
11272
11273 2006-09-01  Wim Taymans  <wim@fluendo.com>
11274
11275         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
11276         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
11277         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
11278         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
11279         (gst_ghost_pad_parent_unset),
11280         (gst_ghost_pad_internal_do_activate_push),
11281         (gst_ghost_pad_internal_do_activate_pull),
11282         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11283         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11284         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
11285         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
11286         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
11287         (gst_ghost_pad_new_no_target_from_template),
11288         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
11289         More cleanups.
11290         Avoid needless typechecking in macros.
11291         Since the internal pad is always present and never changes, there is
11292         no need to locking or ref when retrieving it.
11293         Improve debugging a bit.
11294         Handle link errors when setting the target. Fixes #341029.
11295
11296 2006-09-01  Wim Taymans  <wim@fluendo.com>
11297
11298         * docs/libs/gstreamer-libs-sections.txt:
11299         * docs/plugins/gstreamer-plugins-sections.txt:
11300         Fix docs some more.
11301
11302         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11303         (gst_collect_pads_event):
11304         * libs/gst/base/gstcollectpads.h:
11305         Documentation updates.
11306         Free queued buffer when removing a pad.
11307
11308 2006-08-31  Michael Smith  <msmith@fluendo.com>
11309
11310         * gst/gstutils.c: (gst_element_link_pads),
11311         (gst_element_link_pads_filtered):
11312           Ensure that we set a capsfilter to NULL if we failed to link it
11313           when doing filtered linking, to avoid criticals.
11314
11315           No need to check for unreffing srcpad, which is explicly NULLed
11316           above (a trivial code cleanup).
11317
11318 2006-08-31  Wim Taymans  <wim@fluendo.com>
11319
11320         * docs/design/part-gstghostpad.txt:
11321         Update ascii art in documentation.
11322
11323         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
11324         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
11325         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11326         (gst_ghost_pad_internal_do_activate_push),
11327         (gst_ghost_pad_internal_do_activate_pull),
11328         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11329         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11330         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
11331         (gst_ghost_pad_set_target):
11332         Small cleanups and leak fixes.
11333         Remove some checks now that the internal pad is never NULL.
11334         Fix the case where linking pads without a target would create nasty
11335         criticals. Fixes #341029.
11336         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
11337         value of _set_target().
11338
11339         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11340         (gst_ghost_pad_suite):
11341         Some more tests for creating and linking untargeted ghostpads.
11342
11343 2006-08-31  Edward Hervey  <edward@fluendo.com>
11344
11345         * docs/gst/gstreamer-sections.txt:
11346         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
11347         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11348         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
11349         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
11350         (gst_ghost_pad_new_from_template),
11351         (gst_ghost_pad_new_no_target_from_template):
11352         * gst/gstghostpad.h:
11353         Refactored *_new() functions.
11354         Templates are now used as a g_object_new() parameter.
11355         Use template in _do_getcaps() if we don't have a target.
11356         Small documentation cleanups.
11357         Added two new constructors:
11358         gst_ghost_pad_new_from_template()
11359         gst_ghost_pad_new_no_target_from_template()
11360         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
11361         (gst_ghost_pad_suite):
11362         Added tests for new ghostpad instanciation functions.
11363
11364         API additions: gst_ghost_pad_new_from_template,
11365         gst_ghost_pad_new_no_target_from_template
11366
11367 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
11368
11369         * docs/random/ensonic/profiling.txt:
11370           Ideas about qos profiling.
11371
11372 2006-08-29  Wim Taymans  <wim@fluendo.com>
11373
11374         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
11375         Code cleanups.
11376         Fix memleak.
11377
11378 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
11379
11380         * gst/gstxml.c:
11381           Improve and detypofy docs.
11382
11383         * tests/check/Makefile.am:
11384         * tests/check/gst/.cvsignore:
11385         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
11386           Add a basic test suite for GstXML.
11387
11388 2006-08-29  Wim Taymans  <wim@fluendo.com>
11389
11390         * gst/gstelement.c: (activate_pads), (clear_caps),
11391         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11392         Clear the pad caps when the element shut down all of the pads and
11393         is not streaming data that could modify the caps. 
11394         Fixes #352958.
11395
11396 2006-08-28  Michael Smith  <msmith@fluendo.com>
11397
11398         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11399           Revert previous change; I misunderstood single-segment mode.
11400
11401 2006-08-28  Michael Smith  <msmith@fluendo.com>
11402
11403         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
11404           Unset DISCONT on buffers when using single-segment mode.
11405
11406 2006-08-28  Wim Taymans  <wim@fluendo.com>
11407
11408         * gst/gstcaps.c: (gst_caps_merge_structure):
11409         * gst/gstcaps.h:
11410         Fix docs and indentation again.
11411
11412         * tests/check/gst/gstquery.c: (GST_START_TEST):
11413         Fix leak in tests and add some more tests.
11414
11415 2006-08-28  Edward Hervey  <edward@fluendo.com>
11416
11417         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11418         Inform GstSegment of the last stop position in order for the current
11419         segment to have a proper duration if it doesn't have a specific stop
11420         position from which a duration could be calculated.
11421         This bug was noticeable when a non-flushing, non-update new segment was
11422         followed by another segment (all buffers from the new segment were being
11423         dropped).
11424
11425 2006-08-28  Wim Taymans  <wim@fluendo.com>
11426
11427         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11428         Small comment update.
11429
11430         * plugins/elements/gstidentity.c: (gst_identity_class_init),
11431         (gst_identity_transform_ip):
11432         Drop-probability is broken, mention this in the code with a 
11433         FIXME and also in the property description.
11434         Make silent also be silent about the drop messages.
11435
11436 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
11437
11438         * docs/manual/appendix-win32.xml:
11439           Remove mention of popt, we don't depend on that any
11440           longer (#353136). Add some comments pointing out that
11441           this section is slightly outdated.
11442
11443 2006-08-28  Wim Taymans  <wim@fluendo.com>
11444
11445         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11446
11447         * gst/gstquery.c: (gst_query_new_segment):
11448         * tests/check/gst/gstquery.c: (GST_START_TEST):
11449         Initialize variables when creating a new segment query.
11450         Fixes #353121.
11451
11452 2006-08-28  Wim Taymans  <wim@fluendo.com>
11453
11454         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
11455
11456         * gst/gstelement.c: (gst_element_get_bus):
11457         * tests/check/gst/gstelement.c: (GST_START_TEST):
11458         Check for NULL before _reffing the bus. Fixes #353122.
11459
11460 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
11461
11462         * docs/manual/basics-bus.xml:
11463           Docs update: fix wrong callback return value explanation; add
11464           some lines about the implicit relationship between main loop
11465           and main context; remove duplicate main loop variable declaration.
11466
11467 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11470           Don't leak caps in unit test; add a few more simple
11471           checks. 
11472
11473 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
11474
11475         * docs/gst/gstreamer-sections.txt:
11476         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
11477         (gst_caps_structure_is_subset), (gst_caps_merge),
11478         (gst_caps_merge_structure):
11479         * gst/gstcaps.h:
11480         * libs/gst/base/gstbasetransform.c:
11481         (gst_base_transform_transform_caps):
11482         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11483           implement caps merging (fixes #352580)
11484
11485 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
11486
11487         * tools/Makefile.am:
11488         * tools/gst-plot-timeline.py:
11489           add debug-log plotting developer tool (#340674)
11490
11491 2006-08-23  Wim Taymans  <wim@fluendo.com>
11492
11493         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
11494         (gst_pad_stop_task):
11495         Improve debugging for task functions.
11496
11497         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
11498         (gst_task_start), (gst_task_pause), (gst_task_join):
11499         Make sure that the task function started and finished after a 
11500         join(). 
11501         Don't try to push the task function on the threadpool multiple
11502         times.
11503         Improve the g_warning message with some useful suggestions
11504         about how to fix the problem. 
11505
11506 2006-08-23  Wim Taymans  <wim@fluendo.com>
11507
11508         * gst/gstutils.c: (gst_pad_proxy_getcaps):
11509         Handle RESYNC correctly in _proxy_getcaps.
11510
11511 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
11512
11513         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
11514         (gst_xml_parse_memory), (gst_xml_get_element):
11515           Chain up to parent class in dispose function and also
11516           unref the elements in the toplevel_elements GList.
11517           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
11518           Always return a reference in gst_xml_get_element() rather
11519           than only sometimes.
11520
11521         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
11522           Don't leak GstXml object.
11523
11524 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
11525
11526         * docs/gst/gstreamer-sections.txt:
11527         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
11528         (gst_caps_merge):
11529         * gst/gstcaps.h:
11530         * libs/gst/base/gstbasetransform.c:
11531         (gst_base_transform_transform_caps):
11532           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
11533           in a better way
11534
11535 2006-08-21  Edward Hervey  <edward@fluendo.com>
11536
11537         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
11538         Implement GObject::dispose virtual method in GstXML so we can free the
11539         top_elements GList.
11540
11541 2006-08-21  Wim Taymans  <wim@fluendo.com>
11542
11543         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
11544         (gst_buffer_create_sub):
11545         Copy duration/offset_end/caps when creating a subbuffer of the
11546         complete parent.
11547         Make the subbuffer read-only when we make the metadata writable for
11548         now. Fixes #351768.
11549
11550         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11551         Added check for metadata copy when creating subbuffers.
11552
11553 2006-08-21  Edward Hervey  <edward@fluendo.com>
11554
11555         * libs/gst/base/gstbasetransform.c:
11556         (gst_base_transform_buffer_alloc):
11557         Only call downstream buffer_alloc if transform element is passthrough
11558         or always_in_place. Closes #350449.
11559
11560 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11561
11562         * ChangeLog:
11563           ChangeLog surgery to add comments to previous changes
11564
11565 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11566
11567         * gst/gst.c:
11568           Add comments
11569
11570         * gst/gstpad.c: (gst_pad_set_active):
11571           Be more verbose in the log
11572
11573         * libs/gst/base/gstbasetransform.c:
11574         (gst_base_transform_transform_caps):
11575           Simplify caps to get rid of duplicates, fixes #345444
11576
11577 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11578
11579         * gst/gstvalue.c:
11580         * gst/gstvalue.h:
11581           Use these optimizations only internally.
11582
11583 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
11584
11585         * gst/gstvalue.c: (gst_value_compare_list),
11586         (gst_value_compare_fraction_range),
11587         (gst_value_intersect_fraction_fraction_range),
11588         (gst_value_intersect_fraction_range_fraction_range),
11589         (gst_value_subtract_fraction_fraction_range),
11590         (gst_value_subtract_fraction_range_fraction_range),
11591         (gst_value_get_compare_func), (gst_value_compare),
11592         (gst_value_compare_with_func):
11593         * gst/gstvalue.h:
11594           Saves the expensive lookup of the compare function in many cases
11595          (#345444)
11596
11597 2006-08-18  Edward Hervey  <edward@fluendo.com>
11598
11599         * tests/check/gst/gstinfo.c: (gst_info_suite):
11600         Disable test that require gstdebug if it wasn't built in core.
11601
11602 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11603
11604         * docs/random/ensonic/logging.txt:
11605           update ideas
11606           
11607         * gst/gstinfo.c: (gst_debug_log_default):
11608           reorder fields, save some columns, add optional color codes for log
11609           levels
11610
11611 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
11612
11613         * docs/random/ensonic/logging.txt:
11614           add ideas about making the logs a bit more useful
11615
11616 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11617
11618         * docs/pwg/advanced-events.xml:
11619         * docs/pwg/titlepage.xml:
11620           Update for 0.10 API (#340627). Add myself
11621           to authors list.
11622
11623 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
11624
11625         * docs/libs/gstreamer-libs-docs.sgml:
11626         * docs/libs/gstreamer-libs-sections.txt:
11627         * libs/gst/check/gstbufferstraw.c:
11628           Make gstcheck stuff show up in docs (still needs to
11629           be documented properly though).
11630
11631 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
11632
11633         * docs/gst/gstreamer-sections.txt:
11634         * gst/Makefile.am:
11635         * gst/gst.c: (init_post):
11636         * gst/gst_private.h:
11637         * gst/gstquark.c: (_priv_gst_quarks_initialize):
11638         * gst/gstquark.h:
11639         * gst/gstquery.c: (gst_query_new_position),
11640         (gst_query_set_position), (gst_query_parse_position),
11641         (gst_query_new_duration), (gst_query_set_duration),
11642         (gst_query_parse_duration), (gst_query_new_convert),
11643         (gst_query_set_convert), (gst_query_parse_convert),
11644         (gst_query_new_segment), (gst_query_set_segment),
11645         (gst_query_parse_segment), (gst_query_new_seeking),
11646         (gst_query_set_seeking), (gst_query_parse_seeking):
11647         Add internal helpers for pre-registering quarks from static strings
11648         and using the quark values directly instead of looking them up when
11649         creating and parsing queries. Can be used for event construction too.
11650         Closes #350432.
11651
11652 2006-08-16  Wim Taymans  <wim@fluendo.com>
11653
11654         * gst/gstbin.c:
11655         Fix bogus docs.
11656
11657 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11658
11659         * gst/gstutils.c: (gst_util_set_value_from_string):
11660           Fix memleak (#351502).
11661
11662         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11663           Add unit test for most of gst_util_set_value_from_string()
11664           (not that one would want to encourage use of this function).
11665
11666 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11667
11668         * libs/gst/check/gstcheck.h:
11669           Use const gchar * variables in fail_unless_equals_string
11670           macro to avoid compiler warnings (and don't use tabs for
11671           indenting).
11672
11673 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11674
11675         * tools/gst-launch.c: (print_tag):
11676           More space on the left for the tag names, to cater
11677           for the 'extended comment' tag (not touching the
11678           string for the first line since it's translated).
11679
11680 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
11681
11682         * libs/gst/check/gstcheck.h:
11683           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
11684           print something when they fail.
11685
11686 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11687
11688         * docs/gst/gstreamer-sections.txt:
11689         * gst/gsttaglist.c: (_gst_tag_initialize):
11690         * gst/gsttaglist.h:
11691           API: add GST_TAG_EXTENDED_COMMENT (#350935).
11692           Also change merge function for GST_TAG_COMMENT to
11693           use_first.
11694
11695 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * gst/gstinfo.c: (gst_debug_print_object):
11698           Make GST_PTR_FORMAT print messages as well.
11699
11700         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
11701         (GST_START_TEST), (gst_info_suite):
11702           More tests.
11703
11704 2006-08-14  Edward Hervey  <edward@fluendo.com>
11705
11706         * gst/gstelementfactory.c: (gst_element_register):
11707         If the GstElementClass doesn't have a GstElementDetails with all fields
11708         filled up correctly (longname, description AND author), then error out
11709         nicely instead of crashing.
11710
11711 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
11712
11713         * gst/gststructure.c:
11714           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
11715
11716         * gst/gstvalue.h:
11717           Expand on the difference between arrays and lists as we use them.
11718           
11719 2006-08-14  Wim Taymans  <wim@fluendo.com>
11720
11721         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11722         If the parent state change function failed, don't assume we can safely
11723         stop the source, this will be done when the pads are deactivated.
11724
11725 2006-08-14  Wim Taymans  <wim@fluendo.com>
11726
11727         * gst/gstbuffer.c:
11728         * gst/gsttask.c: (gst_task_join):
11729         Small doc updates.
11730
11731         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
11732         (gst_pad_stop_task):
11733         When pad (de)activation failed for some reason, restore the old
11734         activation mode and set the pad to flushing instead of assuming the
11735         pad is deactivated.
11736         If the _task_join() failed, reinstall the task on the pad so that it can
11737         be stopped later and return an error.
11738
11739 2006-08-11  Andy Wingo  <wingo@pobox.com>
11740
11741         * configure.ac:
11742         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11743         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
11744         is only for users of API that don't want to see deprecated
11745         functions in the headers; people that want to compile out
11746         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
11747         CFLAGS. Fixes the build of multifdsink, or will soon..
11748
11749 2006-08-11  Wim Taymans  <wim@fluendo.com>
11750
11751         * docs/gst/gstreamer-sections.txt:
11752         Add GstClockClass vmethod docs.
11753
11754         * gst/gstcaps.h:
11755         Mark #endif with comment for associated #if
11756
11757         * gst/gstclock.c: (gst_clock_id_wait):
11758         * gst/gstclock.h:
11759         Add vmethod wait_jitter to avoid an unneeded _get_time() for
11760         most clock implementations.
11761         Document vmethods.
11762         Flesh out docs about resolution methods.
11763         API: GstClockClass::wait_jitter
11764
11765         * gst/gstsystemclock.c: (gst_system_clock_class_init),
11766         (gst_system_clock_async_thread),
11767         (gst_system_clock_id_wait_jitter_unlocked),
11768         (gst_system_clock_id_wait_jitter):
11769         Use base class wait_jitter variant for improved performance
11770         due to less clock polling.
11771
11772 2006-08-11  Edward Hervey  <edward@fluendo.com>
11773
11774         * gst/gst.c: (gst_init_check), (init_post):
11775         Set gst as being initialized before scanning/updating the registry,
11776         since there might be my python plugin loader that calls gst_init() and
11777         we don't want to loop back in.
11778         Closes #350879
11779
11780 2006-08-11  Wim Taymans  <wim@fluendo.com>
11781
11782         * docs/design/part-qos.txt:
11783         Bring docs in line with the code. Mostly the sign of the jitter was
11784         wrong in the docs. Fixes #349943.
11785
11786         * gst/gstclock.c:
11787         Fix the docs for the jitter.
11788
11789         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
11790         (gst_event_parse_tag), (gst_event_new_buffer_size),
11791         (gst_event_parse_buffer_size), (gst_event_parse_qos),
11792         (gst_event_new_seek), (gst_event_parse_seek),
11793         (gst_event_new_navigation):
11794         Make sure the GstStructure has no parent when creating custom
11795         events.
11796         Add some more argument checking so that we avoid 0.0 rates.
11797         Flesh out the docs for the QoS event some more.
11798
11799 2006-08-11  Wim Taymans  <wim@fluendo.com>
11800
11801         * docs/gst/gstreamer-sections.txt:
11802         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11803         (ensure_current_registry_forking), (ensure_current_registry),
11804         (parse_one_option), (parse_goption_arg), (gst_deinit),
11805         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11806         * gst/gst.h:
11807         Doc updates.
11808         Added API and command line option to disable registry forking in
11809         addition to the environment variable.
11810         Constify some static arrays.
11811         Added some more debug.
11812         Don't deinit twice.
11813         API: gst_registry_fork_is_enabled()
11814         API: gst_registry_fork_set_enabled()
11815         API: --gst-disable-registry-fork command line option
11816         Fixes #348918.
11817
11818 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
11819
11820         * gst/gst.c: (gst_init):
11821           Fix typo in error message.
11822
11823 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11824
11825         * libs/gst/controller/gstcontroller.h:
11826           fix ABI size-correction
11827
11828         * tests/check/libs/gdp.c: (gst_dp_suite):
11829           make tests that use deprecated API conditional
11830
11831 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
11832
11833         * docs/libs/gstreamer-libs-sections.txt:
11834         * libs/gst/controller/gstcontroller.c:
11835         (_gst_controller_get_property), (_gst_controller_set_property),
11836         (_gst_controller_init), (_gst_controller_class_init):
11837         * libs/gst/controller/gstcontroller.h:
11838         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11839         (gst_object_set_control_rate):
11840           API: add gst_object_{s,g}et_control_rate(), add private data section,
11841           fix docs
11842
11843         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11844         * libs/gst/dataprotocol/dataprotocol.h:
11845           add deprecation guards to make gtk-doc happy and allow disabling cruft
11846
11847 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
11848
11849         * tests/check/Makefile.am:
11850         * tests/check/gst/.cvsignore:
11851           Let's enable the new unit test as well.
11852
11853 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
11854
11855         * configure.ac:
11856         * docs/gst/gstreamer-sections.txt:
11857         * gst/gstconfig.h.in:
11858         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11859         (_gst_info_printf_extension_ptr),
11860         (_gst_info_printf_extension_segment):
11861           API: add GST_SEGMENT_FORMAT, which is a printf extension we
11862           register that lets us easily dump GstSegments into debug
11863           logs (#350419).
11864
11865         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11866         (info_segment_format_printf_extension), (gst_info_suite):
11867           Add simple unit test that logs a bunch of different segments (not
11868           valgrinded at the moment because of leaks in
11869           gst_debug_add_log_function).
11870
11871 2006-08-09  Edward Hervey  <edward@fluendo.com>
11872
11873         * libs/gst/base/gstbasetransform.c:
11874         (gst_base_transform_buffer_alloc):
11875         Even if we can't figure out the proper format to request downstream,
11876         call buffer_alloc() downstream with the input parameters without setting
11877         the caps on the srcpad. This will force negotiation in the chain
11878         function.
11879         Closes #350449
11880
11881 2006-08-08  Edward Hervey  <edward@fluendo.com>
11882
11883         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11884         Unlinking from a pad without a target is now a perfectly valid case
11885         which should NOT raise an assertion.
11886         This case would happen if a linked ghostpad its target set to NULL after
11887         it was previously linked.
11888
11889 2006-08-08  Edward Hervey  <edward@fluendo.com>
11890
11891         * tests/check/libs/gdp.c:
11892         Also comment out the test (see below).
11893
11894 2006-08-08  Edward Hervey  <edward@fluendo.com>
11895
11896         * tests/check/libs/gdp.c: (gst_dp_suite):
11897         Use the architecture information from config.h and not gcc macros
11898         in order to properly disable a test that fails on PPC64.
11899
11900 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
11901
11902         * gst/gstelement.c: (gst_element_remove_pad):
11903           Don't crash printing the warning if the pad has no parent.
11904
11905 2006-08-02  Wim Taymans  <wim@fluendo.com>
11906
11907         * libs/gst/dataprotocol/dataprotocol.c:
11908         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11909         (gst_dp_crc), (gst_dp_header_payload_length),
11910         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11911         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11912         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11913         (gst_dp_event_from_packet), (gst_dp_validate_header),
11914         (gst_dp_validate_payload):
11915         Make debug category static
11916         Constify the crc table.
11917         Do some more arg checking in public functions.
11918         Fix some docs and do some small cleanups.
11919
11920         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11921         Add some more checks to see if GDP deals with bogus input.
11922
11923 2006-07-31  Wim Taymans  <wim@fluendo.com>
11924
11925         * gst/gstvalue.c: (gst_value_compare_list):
11926         Fix GstValueList comparison code. Fixes #347293.
11927
11928         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11929         Check to test GstValueList comparison.
11930
11931 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11932
11933         * gst/gstelementfactory.c: (gst_element_factory_create):
11934         Remove unnecessary ref/unref pair
11935
11936         * gst/parse/grammar.y:
11937         Make sure to free the parse buffer on all code paths.
11938         Move a g_free up to the error handler where it's easier to see.
11939
11940         * tests/check/gst/gstevent.c: (test_event):
11941         Extending timeout for downstream travelling events to 10 seconds to
11942         hopefully avoid intermittent failure on the buildbots.
11943
11944         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11945         Don't manually set the state of the src element - it will happen as a
11946         natural consequence of the pipeline changing state, and that way it
11947         will do it in the right order too.
11948
11949 2006-07-31  Wim Taymans  <wim@fluendo.com>
11950
11951         * libs/gst/base/gstbasetransform.c:
11952         (gst_base_transform_buffer_alloc):
11953         Use OBJECT_LOCK and refcounting to get the pad caps in the
11954         buffer_alloc function because the caps could change while we are
11955         busy with them. Fixes #349105
11956
11957 2006-07-31  Wim Taymans  <wim@fluendo.com>
11958
11959         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11960         Protect _PAD_CAPS with OBJECT_LOCK.
11961
11962 2006-07-31  Wim Taymans  <wim@fluendo.com>
11963
11964         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11965         (gst_pad_get_property), (gst_pad_activate_pull),
11966         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11967         (gst_pad_set_activate_function),
11968         (gst_pad_set_activatepull_function),
11969         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11970         (gst_pad_set_getrange_function),
11971         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11972         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11973         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11974         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11975         (gst_pad_set_acceptcaps_function),
11976         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11977         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11978         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11979         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11980         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11981         (gst_pad_configure_sink), (gst_pad_configure_src),
11982         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11983         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11984         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11985         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11986         (gst_pad_send_event):
11987         Use _DEBUG_OBJECT when it makes sense.
11988         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11989         Small cleanups and code reflows.
11990         Avoid caps refcounting in _accept_caps.
11991         Refactor alloc_buffer so that the code performed on the peer is in a
11992         separate function. Also if the pad does not implement a buffer alloc
11993         function, we should still check if the pad is flushing before falling
11994         back to the default allocator.
11995
11996 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11997
11998         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11999         Make all uses of identity and fakesink have silent=true to avoid
12000         serialising every passing data structure, which is breaking tests
12001         on FC4 for some unknown reason.
12002
12003 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12004
12005         * gst/parse/Makefile.am:
12006         * gst/parse/grammar.y:
12007         * gst/parse/parse.l:
12008           Reverted previous patch as it required to bump the flex dependency to
12009           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
12010
12011 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
12012
12013         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
12014
12015         * gst/parse/Makefile.am:
12016         * gst/parse/grammar.y:
12017         * gst/parse/parse.l:
12018           push & pop the state of the lexer for reentrant use case
12019           Fixes #349180
12020
12021 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
12022
12023         * libs/gst/base/gstbasesrc.h:
12024           Note in the docs that the ::newsegment vfunc is not actually used by
12025           GstBaseSrc.
12026
12027 2006-07-28  Wim Taymans  <wim@fluendo.com>
12028
12029         * libs/gst/base/gstcollectpads.c:
12030         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
12031         (gst_collect_pads_clear), (gst_collect_pads_flush),
12032         (gst_collect_pads_event), (gst_collect_pads_chain):
12033         When flushing a pad, also clear the queued buffer so that we don't
12034         accidentally use it when we shouldn't.
12035         Fix leaks by inreffing incomming buffer.
12036         Flush out queued buffers in case of errors.
12037         Fixes #347452.
12038
12039 2006-07-28  Wim Taymans  <wim@fluendo.com>
12040
12041         * docs/random/phonon-gst:
12042         Random notes about a Phonon backend.
12043
12044 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
12045
12046         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
12047         Extra debug output
12048         * tests/check/libs/gdp.c: (gst_dp_suite):
12049         Take a whack at fixing the ppc compile using a different define to
12050         disable the broken test.
12051
12052         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12053         Remove excess g_print()
12054
12055 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
12056
12057         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12058         Oops, meant to uncomment this line too to dampen the noise a bit.
12059
12060 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
12061
12062         * gst/parse/grammar.y:
12063         * gst/parse/parse.l:
12064         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12065         (GST_START_TEST), (parse_suite):
12066         Fix some of the leaks exposed by extending the parse-launch testsuite,
12067         and move the 3 I can't figure out into a separate test that won't run
12068         the pipelines unless the appropriate line is uncommented.
12069
12070 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
12071
12072         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12073           Requesting 0 bytes before the end of the file should result in
12074           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
12075           unit test.
12076
12077 2006-07-27  Wim Taymans  <wim@fluendo.com>
12078
12079         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
12080         Fix useless assert, a uint is always positive.
12081
12082         * gst/gststructure.c: (gst_structure_nth_field_name),
12083         (gst_structure_foreach), (gst_structure_map_in_place):
12084         Check input arguments for public functions to avoid obvious crashes.
12085
12086         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
12087         * plugins/elements/gstfakesink.h:
12088         Do less useless typechecking.
12089
12090 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
12091
12092         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12093           Do not use mmap() by default since there are a number of error
12094           conditions that we would like to handle in a non-fatal way that
12095           will result in a SIGBUS if we use mmap(). Examples: external
12096           devices (USB harddrive, portable music player) being unplugged
12097           while in use; file on mounted CD/DVD that can't be read because
12098           the medium is partly damaged. Fixes #348455 and #348475.
12099
12100 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
12101
12102         * gst/gstquery.h:
12103         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
12104         rates are a gdouble
12105
12106 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
12107
12108         * gst/gstregistry.c:
12109           Move big documentation comment into class section header, so that it
12110           appears in the API docs.
12111
12112 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12113
12114         * docs/gst/gstreamer-sections.txt:
12115         Oops. Commit the docs additions too for new API.
12116         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
12117
12118 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12119
12120         * gst/gststructure.c: (gst_structure_id_set),
12121         (gst_structure_id_set_valist):
12122         * gst/gststructure.h:
12123         Add API for setting values into structures without performing
12124         a quark lookup, if the appropriate quark is already known.
12125
12126         API: gst_structure_id_set
12127         API: gst_structure_id_set_valist
12128
12129         * gst/parse/grammar.y:
12130         * gst/parse/parse.l:
12131         Remove some dead code shown by the coverage information.
12132         Don't throw a critical g_warning when encountering a syntax error,
12133         just warn and let the normal error path handle it.
12134
12135         * plugins/elements/gstelements.c:
12136         Bump the rank of filesink up to PRIMARY so that it is preferred over
12137         gnomevfssink for file:// sink uri's
12138
12139         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
12140         (GST_START_TEST), (run_delayed_test),
12141         (gst_parse_test_element_base_init),
12142         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
12143         (gst_parse_test_element_change_state),
12144         (gst_register_parse_element), (parse_suite):
12145         Beef up the tests for parse syntax to check that more error cases
12146         fail as they are supposed to. Increases the test coverage a bit.
12147
12148 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
12149
12150         * docs/manual/basics-elements.xml:
12151           Fix gst_element_link() example.
12152
12153         * gst/gstutils.c:
12154           Mention in API docs that one should usually gst_bin_add()
12155           elements to a bin or pipeline before doing the linking.
12156           
12157 2006-07-26  Wim Taymans  <wim@fluendo.com>
12158
12159         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
12160         (gst_subbuffer_get_type), (gst_buffer_create_sub):
12161         Avoid function call for known types by keeping the buffer and
12162         subbuffer GType global.
12163
12164         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12165         Random silly optimisations in read() path.
12166
12167 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12168
12169         * tools/gst-launch.c: (main):
12170           If the top-level of the parse is a normal bin, it doesn't do the
12171           right logic to run as a top-level element, so place it inside a
12172           pipeline.
12173
12174 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
12175
12176         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
12177           Remove superfluous g_object_notify() calls, GObject does
12178           that for us automatically.
12179
12180 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
12181
12182         * gst/gstinfo.h:
12183           on Win32, use dllspec to export the debug category symbols
12184
12185 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
12186
12187         * gst/gsttaglist.c: (_gst_tag_initialize):
12188           Allow more than one GST_TAG_IMAGE per taglist.
12189
12190 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12191
12192         * gst/gstminiobject.c:
12193           update docs
12194         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
12195         (gst_fd_src_create):
12196           log recurring events at LOG level
12197           add more debug for when the fd gets set
12198
12199 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12200
12201         * gst/gstparse.c: (gst_parse_launch):
12202           Also remove reentrance checks if flex is MT safe (#348179)
12203          Fix my empty ChangeLog entry below
12204
12205 2006-07-21  Andy Wingo  <wingo@pobox.com>
12206
12207         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
12208
12209         * libs/gst/check/Makefile.am
12210         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
12211         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
12212         * libs/gst/check/gstbufferstraw.h:
12213         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
12214         functions, thus proving I am still a GStreamer haxor. OK I wrote
12215         them a long time ago, but anyways.
12216
12217 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
12218
12219         * configure.ac:
12220         * gst/gstparse.c: (gst_parse_launch):
12221           Check for flex version and omit mutex if we have a MT save flex
12222           (fixes #348179)
12223
12224 2006-07-21  Wim Taymans  <wim@fluendo.com>
12225
12226         * gst/gstparse.c: (gst_parse_launch):
12227         Protect recursive calls to _parse with a recursive mutex
12228         and busy flag.
12229
12230 2006-07-21  Wim Taymans  <wim@fluendo.com>
12231
12232         * tests/check/gst/gstpad.c: (GST_START_TEST):
12233         Fix leak in test.
12234
12235 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
12236
12237         * gst/gstparse.c: (gst_parse_launch):
12238           Do not hang on recursive usage of gst_parse_launch()
12239
12240 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12241
12242         * gst/gsttaglist.c:
12243           Add some more docs, comments and FIXME 0.11s here and there
12244           and also fix some typos.
12245
12246 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         * gst/gstsegment.h:
12249           Convert tabs to spaces for better readability. 
12250
12251 2006-07-20  Edward Hervey  <edward@fluendo.com>
12252
12253         * tests/check/libs/gdp.c: (gst_dp_suite):
12254         the test_buffer test fails at line 140 on ppc64 at the following
12255         check:
12256         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
12257                 GST_BUFFER_FLAG_IN_CAPS),
12258                 "GST_BUFFER_IN_CAPS flag should have been copied !");
12259         See bug #348114 for more details.
12260
12261 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
12262
12263         * docs/pwg/advanced-scheduling.xml:
12264         * gst/gstpad.c:
12265           Fix typos (#348000).
12266
12267 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
12268
12269         * docs/pwg/intro-basics.xml:
12270           Fix wrong links (#347927).
12271
12272 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
12273
12274         * gst/gstregistry.h:
12275         * gst/gstregistryxml.c: (load_feature),
12276         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
12277         * win32/common/config.h:
12278           make --disable-index work (#342564)
12279
12280 2006-07-18  Wim Taymans  <wim@fluendo.com>
12281
12282         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12283
12284         * gst/Makefile.am:
12285         * gst/gsttrace.h:
12286         The attached patch adds two missing defines to gsttrace.h when tracing
12287         is disabled.  It also corrects one existing define.
12288         Fixes #347756.
12289
12290 2006-07-17  Wim Taymans  <wim@fluendo.com>
12291
12292         * docs/gst/gstreamer-sections.txt:
12293         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
12294         * gst/gst.h:
12295         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
12296         Add two functions to check and change the SIGSEGV behaviour
12297         when loading plugins.
12298         Don't mess with the SIGSEGV handler when we were told not to.
12299         Fixes #347794.
12300         API: gst_segtrap_is_enabled
12301         API: gst_segtrap_set_enabled
12302
12303 2006-07-14  Wim Taymans  <wim@fluendo.com>
12304
12305         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12306         * tests/check/elements/filesrc.c: (GST_START_TEST):
12307         Revert fix for regression in #347408 after release.
12308
12309 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
12310
12311         Patch by: Antoine Tremblay <hexa00 at gmail com>
12312
12313         * gst/gstutils.c: (gst_element_unlink):
12314           Free iterator when done (#347311).
12315
12316         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12317           And add a test case for this.
12318
12319 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
12320
12321         * configure.ac:
12322         Bump nano back to CVS
12323
12324 === release 0.10.9 ===
12325
12326 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
12327
12328         * configure.ac:
12329           releasing 0.10.9, "On the road again"
12330
12331 2006-07-13  Wim Taymans  <wim@fluendo.com>
12332
12333         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
12334         * tests/check/elements/filesrc.c: (GST_START_TEST):
12335         Revert pull-0 fix for release. Disable check. Fixes #347408.
12336
12337 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12338
12339         * libs/gst/dataprotocol/dataprotocol.c:
12340         (gst_dp_event_from_packet_1_0):
12341           Fixes #347337: failure to deserialize event packets with
12342           empty payload (only event type)
12343
12344 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12345
12346         * gst/Makefile.am:
12347           do not install a .c file in the header directory
12348
12349 2006-07-13  Edward Hervey  <edward@fluendo.com>
12350
12351         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12352         GhostPad no longer implicitely use the padtemplates of the targets.
12353         Fixes #347384
12354
12355 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
12356
12357         * gst/gstvalue.c: (gst_value_compare_list),
12358         (gst_value_compare_array), (_gst_value_initialize):
12359         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12360         Make GstValueArray comparison be order dependent as designed.
12361         Add checks for value lists and value array comparisons.
12362         Fixes #347221
12363
12364 2006-07-11  Edward Hervey  <edward@fluendo.com>
12365
12366         * gst/gstbin.c: (activate_pads),
12367         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
12368         (gst_bin_change_state_func):
12369         (de)activate src pads before calling state_change on the childs.
12370         This is to avoid the case where a src ghostpad is blocked (holding the
12371         stream lock), which would block the deactivation of the ghostpad's
12372         target pad.
12373         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
12374         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
12375         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
12376         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
12377         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
12378         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
12379         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
12380         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
12381         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
12382         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
12383         (gst_ghost_pad_class_init),
12384         (gst_ghost_pad_internal_do_activate_push),
12385         (gst_ghost_pad_internal_do_activate_pull),
12386         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
12387         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
12388         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
12389         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
12390         GhostPads now create their internal GstProxyPad at creation (and not
12391         when they're linked, as it was being done previously).
12392         The internal and target pads are linked straight away.
12393         The data will also travel through the other pad in order to make
12394         pad blocking and probes non-hackish (the probe/block now really happens
12395         on the GhostPad and not on the target).
12396         * gst/gstpad.c: (gst_pad_set_blocked_async),
12397         (gst_pad_link_prepare), (gst_pad_push_event):
12398         Remove previous ghostpad cruft.
12399         * gst/gstutils.c: (gst_pad_add_data_probe),
12400         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12401         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12402         (gst_pad_remove_buffer_probe):
12403         Remove previous ghost pad cruft.
12404         Added more detailed debug statements.
12405         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12406         Fix the testsuite for refcounting changes.
12407         The comments about who has references were correct, but the refcount
12408         being checked wasn't the same (!?!).
12409
12410         Fixes #341029
12411
12412 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12413
12414         * docs/gst/gstreamer-sections.txt:
12415         * gst/gstconfig.h.in:
12416         More docs for configuration options, add docs to gtk-doc.
12417
12418 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
12419
12420         * gst/Makefile.am:
12421         * gst/gstconfig.h.in:
12422         * win32/common/config.h:
12423         Fix build when disabling tracing (fixes #344016). Also start to document
12424         the defines that disable the sub-systems.
12425
12426 2006-07-10  Edward Hervey  <edward@fluendo.com>
12427
12428         * gst/gst.c: (ensure_current_registry_forking):
12429         let's make valgrind happy...
12430
12431 2006-07-09  Wim Taymans  <wim@fluendo.com>
12432
12433         * gst/gstelement.c: (activate_pads),
12434         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
12435         Better pad activation code: Reset the collect value too on resync.
12436         Add some comments.
12437
12438 2006-07-09  Wim Taymans  <wim@fluendo.com>
12439
12440         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
12441         (gst_pad_activate_push):
12442         Use some more macros where it makes sense.
12443         Allow pad mode switching instead of asserting. When a pad
12444         is activated in one mode and we activate it in another, 
12445         deactivate it first before activating it in a different mode.
12446         Fixes #329198.
12447
12448 2006-07-08  Andy Wingo  <wingo@pobox.com>
12449
12450         * tools/gst-launch.c (main): Handle err == NULL.
12451
12452         * gst/gst.c (init_post, ensure_current_registry)
12453         (ensure_current_registry_forking)
12454         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
12455         factoring out the registry scanning into separate functions. Don't
12456         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
12457         Better environment var name/interface suggestions accepted.
12458
12459 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12460
12461         * gst/gstobject.c: (gst_object_set_name_default),
12462         (gst_object_set_name):
12463           Random micro-optimisation: don't use a hash table
12464           with strings as keys and the usual strdup/strcmp
12465           involved, but rather just use the GQuark of the
12466           type name as key, since it needs to be looked up
12467           anyway to get the type name string.
12468
12469         * tests/check/gst/gstobject.c: (GST_START_TEST):
12470           Fix various leaks.
12471
12472 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12473
12474         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
12475         (gst_bin_iterate_all_by_interface):
12476           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
12477           GTypes are gulongs and thus the top 4 bytes might be cut
12478           off on some platforms when doing GPOINTER_TO_INT, leading
12479           to invalid GTypes and bad things happening (see RH bug #179654).
12480           Also add a check to make sure the type passed in is really
12481           an interface type.
12482
12483 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12484
12485         * .cvsignore:
12486           Ignore more.
12487
12488 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
12489
12490         * Makefile.am:
12491         * configure.ac:
12492         * gst-element-check.m4:
12493         * gst-element-check.m4.in:
12494           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
12495           instead of the unversioned gst-inspect (#324176, #168659).
12496
12497 2006-07-06  Wim Taymans  <wim@fluendo.com>
12498
12499         * gst/gstmessage.h:
12500         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
12501         warnings.
12502
12503 2006-07-06  Wim Taymans  <wim@fluendo.com>
12504
12505         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12506         (gst_base_src_wait), (gst_base_src_update_length),
12507         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
12508         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
12509         (gst_base_src_loop), (gst_base_src_start),
12510         (gst_base_src_activate_pull):
12511         Update docs.
12512         blocksize == 0 now means the default blocksize when working in push
12513         based mode.
12514         Remove some pointless asserts in _wait function.
12515         Fix offset/length calculations and EOS handling. We can now pull 0
12516         bytes as well, which is allowed.
12517         use _check_get_range() to decide if we can operate in _pull based
12518         mode.
12519         Fix refcounting leak when check_get_range function was not 
12520         implemented.
12521         API GstBaseSrc::blocksize range can be 0 too now (default)
12522
12523         * tests/check/elements/filesrc.c: (GST_START_TEST),
12524         (filesrc_suite):
12525         Added check to test _get_range() behaviour.
12526
12527 2006-07-06  Wim Taymans  <wim@fluendo.com>
12528
12529         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12530         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
12531         (gst_pad_pull_range):
12532         * gst/gstpad.h:
12533         Lots of comments and docs added to the pad functions.
12534         Flesh out the expected behaviour of the get_range() functions.
12535
12536 2006-07-06  Wim Taymans  <wim@fluendo.com>
12537
12538         * gst/gstbus.h:
12539         * gst/gstclock.h:
12540         * gst/gstevent.h:
12541         * gst/gstiterator.h:
12542         * gst/gstpad.h:
12543         * gst/gstplugin.h:
12544         * gst/gsttask.h:
12545         Remove comma at end of enumerator list. 
12546
12547 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
12548
12549         * win32/common/libgstbase.def:
12550         * win32/common/libgstdataprotocol.def:
12551         * win32/common/libsgtreamer.def:
12552         Add new exported functions.
12553
12554 2006-07-05  Wim Taymans  <wim@fluendo.com>
12555
12556         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
12557         Add some more docs here and there.
12558
12559 2006-07-05  Wim Taymans  <wim@fluendo.com>
12560
12561         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
12562         (gst_base_sink_loop), (gst_base_sink_get_position):
12563         When operating in pull mode update the offset so that we
12564         read sequentially.
12565
12566 2006-07-05  Wim Taymans  <wim@fluendo.com>
12567
12568         * gst/gstregistryxml.c: (read_string):
12569         Avoid strdup. (will happen in libxml, but hey!)
12570
12571         * gst/gsturi.c:
12572         Add some more docs.
12573
12574 2006-07-05  Wim Taymans  <wim@fluendo.com>
12575
12576         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
12577         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
12578         (gst_buffer_suite):
12579         No point in checking if the size of the subbuffer > 0, the
12580         code handles it correclty as demonstrated by unit test.
12581         Also add a unit test for the zero sized _new_and_alloc and
12582         _copy. Fixes #346663.
12583
12584 2006-07-05  Wim Taymans  <wim@fluendo.com>
12585
12586         * libs/gst/base/gstbasetransform.c:
12587         (gst_base_transform_prepare_output_buffer),
12588         (gst_base_transform_buffer_alloc),
12589         (gst_base_transform_handle_buffer):
12590         Make sure the buffer we pass to transform_ip has a refcount of
12591         1 and thus is writable. Fixes #343196
12592
12593 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
12594
12595         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12596         (gst_file_src_init), (gst_file_src_set_property),
12597         (gst_file_src_get_property), (gst_file_src_map_region):
12598         * plugins/elements/gstfilesrc.h:
12599         Add "sequential" property, off by default, to use madvise and hint
12600         to the kernel that sequential access is desired.
12601         Touch all retrieved pages by default to ensure they are pulled
12602         into memory. (Closes #345720)
12603
12604 2006-07-03  Wim Taymans  <wim@fluendo.com>
12605
12606         * docs/design/part-block.txt:
12607         * docs/design/part-dynamic.txt:
12608         Small docs updates.
12609
12610 2006-07-03  Wim Taymans  <wim@fluendo.com>
12611
12612         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
12613         (gst_caps_unref), (gst_static_caps_get),
12614         (gst_caps_append_structure):
12615         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
12616         Use GSlice when the glib we build against is >= 2.10
12617
12618 2006-07-03  Wim Taymans  <wim@fluendo.com>
12619
12620         * gst/gstelement.c: (gst_element_pads_activate):
12621         Small cleanup in pad activation code.
12622
12623 2006-07-03  Wim Taymans  <wim@fluendo.com>
12624
12625         Patch by: Peter Kjellerstedt <pkj at axis dot com>
12626
12627         * gst/gst-i18n-app.h:
12628         * gst/gst-i18n-lib.h:
12629         * tools/gst-inspect.c: (print_signal_info):
12630         The attached patch will make the inclusion of gettext.h unconditional in
12631         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
12632         libintl.h in tools/gst-inspect.c.
12633         This allows use of --disable-nls again and fixes #344642.
12634
12635 2006-07-03  Edward Hervey  <edward@fluendo.com>
12636
12637         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
12638         Implement pad blocking on events according to part-block.txt.
12639         More comments on behaviour.
12640         * tests/check/gst/gstevent.c: (test_event):
12641         Send event to peer pad of blocked pad (else it will block).
12642
12643 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12644
12645         * libs/gst/check/gstcheck.c: (gst_check_message_error),
12646         (gst_check_run_suite):
12647           if we get the wrong message, give us the types as string
12648         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
12649           Fix a translatable
12650         * tests/check/elements/filesrc.c: (GST_START_TEST):
12651           add a test for trying to open a non-existing file
12652
12653 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12654
12655         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12656           add a test for adding self
12657
12658 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12659
12660         * libs/gst/check/gstcheck.h:
12661           add some assert_ as alias for fail_unless_*
12662         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
12663           increase test coverage
12664
12665 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12666
12667         * Makefile.am:
12668           include lcov.mak for lcov coverage generation
12669         * tools/Makefile.am:
12670           add to CLEANFILES
12671
12672 2006-07-02  Edward Hervey  <edward@fluendo.com>
12673
12674         * tests/check/elements/.cvsignore:
12675         moaping
12676
12677 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12678
12679         * configure.ac:
12680           don't set CFLAGS and friends for gcov, done from GST_GCOV now
12681         * tests/check/Makefile.am:
12682           clean up gcov files
12683
12684 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12685
12686         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
12687           remove gst_caps_simplify; it was not declared and not used
12688           and deprecated in 0.8
12689
12690 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12691
12692         * docs/faq/gst-uninstalled:
12693           don't put empty paths on PYTHONPATH
12694         * docs/gst/gstreamer-sections.txt:
12695           remove some symbols that are not there
12696
12697 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12698
12699         * gst/gstcaps.c: (gst_caps_compare_structures):
12700           whitespace fixes
12701         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12702         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12703           add more tests
12704
12705 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12706
12707         * libs/gst/dataprotocol/Makefile.am:
12708           build dataprotocol test by linking to the lib, instead of
12709           compiling the source, so we get coverage
12710         * tests/check/Makefile.am:
12711         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
12712         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
12713           add a test for filesrc
12714
12715 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12716
12717         * tests/check/gst/gststructure.c: (GST_START_TEST),
12718         (gst_structure_suite):
12719           Push coverage from 59.04% to 70.00%
12720
12721 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * tests/check/Makefile.am:
12724           gst-inspect every element; this makes sure that we also get
12725           coverage on element's get/set functions
12726
12727 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12728
12729         * configure.ac:
12730           set CFLAGS and friends to -O0 if gcov is being used
12731           add GCOV LIBS
12732         * gst/Makefile.am:
12733         * libs/gst/base/Makefile.am:
12734         * libs/gst/check/Makefile.am:
12735         * libs/gst/controller/Makefile.am:
12736         * libs/gst/dataprotocol/Makefile.am:
12737         * libs/gst/net/Makefile.am:
12738         * plugins/elements/Makefile.am:
12739         * plugins/indexers/Makefile.am:
12740           add makefile rules to generate gcov data and clean up
12741         * tests/check/Makefile.am:
12742           add a coverage target that generates an html overview
12743           of coverage data
12744
12745 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12746
12747         * tests/check/elements/fakesink.c:
12748         * tests/check/elements/fakesrc.c:
12749         * tests/check/elements/fdsrc.c:
12750         * tests/check/elements/identity.c:
12751         * tests/check/generic/sinks.c: (gst_sinks_suite):
12752         * tests/check/generic/states.c:
12753         * tests/check/gst/gst.c:
12754         * tests/check/gst/gstabi.c:
12755         * tests/check/gst/gstbin.c:
12756         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
12757         * tests/check/gst/gstbus.c: (gst_bus_suite):
12758         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12759         * tests/check/gst/gstelement.c:
12760         * tests/check/gst/gstevent.c: (gst_event_suite):
12761         * tests/check/gst/gstghostpad.c:
12762         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
12763         * tests/check/gst/gstmessage.c: (gst_message_suite):
12764         * tests/check/gst/gstminiobject.c:
12765         * tests/check/gst/gstobject.c:
12766         * tests/check/gst/gstpad.c:
12767         * tests/check/gst/gstpipeline.c:
12768         * tests/check/gst/gstplugin.c:
12769         * tests/check/gst/gstquery.c: (gst_query_suite):
12770         * tests/check/gst/gstsegment.c: (gst_segment_suite):
12771         * tests/check/gst/gststructure.c:
12772         * tests/check/gst/gstsystemclock.c:
12773         * tests/check/gst/gsttag.c:
12774         * tests/check/gst/gsttask.c: (gst_task_suite):
12775         * tests/check/gst/gstutils.c:
12776         * tests/check/gst/gstvalue.c:
12777         * tests/check/libs/adapter.c:
12778         * tests/check/libs/basesrc.c:
12779         * tests/check/libs/collectpads.c:
12780         * tests/check/libs/controller.c:
12781         * tests/check/libs/gdp.c: (gst_dp_suite):
12782         * tests/check/libs/gstnetclientclock.c:
12783         * tests/check/libs/gstnettimeprovider.c:
12784         * tests/check/libs/libsabi.c: (libsabi_suite):
12785         * tests/check/libs/typefindhelper.c:
12786         * tests/check/pipelines/cleanup.c:
12787         * tests/check/pipelines/parse-launch.c:
12788         * tests/check/pipelines/simple-launch-lines.c:
12789         * tests/check/pipelines/stress.c: (stress_suite):
12790           use the new macro
12791
12792 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12793
12794         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
12795         * libs/gst/check/gstcheck.h:
12796           create a macro and function so that the simple unit test
12797           case can be just one macro to create main()
12798
12799 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
12800
12801         * gst/gstbin.c: (gst_bin_restore_thyself):
12802         * gst/gstxml.c: (gst_xml_make_element):
12803           Fix deserialisation from XML. Set parent manually
12804           instead of using gst_bin_add(), since gst_bin_add()
12805           will unlink all pads of the element being added.
12806           Fixes #341667.
12807
12808 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
12809
12810         Patch by: Peter Kjellerstedt <pkj at axis com>
12811
12812         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12813           Fix missing g_strdup() and double free when using the
12814           --gst-plugin-load command line option (#346097).
12815
12816 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12817
12818         * gst/gstinfo.c:
12819           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12820
12821         * libs/gst/net/gstnetclientclock.c:
12822         * libs/gst/net/gstnettimeprovider.c:
12823           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12824
12825 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
12826
12827         * docs/manual/advanced-dataaccess.xml:
12828           Fix buffer probe example compilation in
12829           ADM (#345708).
12830         
12831 2006-06-22  Edward Hervey  <edward@fluendo.com>
12832
12833         * gst/gstelement.c: (gst_element_pads_activate):
12834         We need to deactivate src pads first and then sink pads.
12835         The reason is the src pads might be blocking while holding the streaming
12836         lock, so we need to deactivate them first so that deactivating the sink
12837         pads doesn't block (since it will require the streaming lock).
12838
12839 2006-06-22  Wim Taymans  <wim@fluendo.com>
12840
12841         * libs/gst/base/gstbasetransform.c:
12842         (gst_base_transform_buffer_alloc):
12843         Forgot to remove two unneeded unrefs.
12844         Simplify a check _is_equal allready checks the obvious case.
12845
12846 2006-06-22  Wim Taymans  <wim@fluendo.com>
12847
12848         * docs/design/part-block.txt:
12849         Some docs about what pad_block should do.
12850
12851 2006-06-22  Wim Taymans  <wim@fluendo.com>
12852
12853         * gst/gstcaps.c: (gst_caps_replace):
12854         Fix crasher when passed NULL. Doc clarification.
12855         Optimize for the trivial case.
12856
12857         * gst/gstpipeline.c: (gst_pipeline_change_state):
12858         Small cleanups.
12859
12860         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12861         Small documentation cleanup.
12862
12863         * libs/gst/base/gstbasetransform.c:
12864         (gst_base_transform_buffer_alloc):
12865         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12866         is what we need and it avoids a whole lot of redundant 
12867         refcount operations.
12868
12869 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
12870
12871         Patch by: Philip Jägenstedt  <philip at lysator liu se>
12872
12873         * docs/manual/advanced-dataaccess.xml:
12874           Fix 'Embedding static elements' section to use
12875           GST_PLUGIN_DEFINE_STATIC (#345607).
12876
12877 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12880           Attempt to 'fix' spuriously failing test case: it seems like the
12881           timeout of half a second is simply too small when the system is under
12882           load otherwise, and the timeout doesn't really seem to serve any
12883           particular purpose here. Give the pipeline a few seconds to preroll
12884           first, and then give it another half a second to go from PAUSED to
12885           PLAYING and marshal the message into the main thread.
12886
12887 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12888
12889         * tools/gst-feedback-m.m:
12890           Don't only use unversioned tools, try versioned tools as well
12891           (#345086).
12892
12893 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
12894
12895         * gst/gstbus.c: (gst_bus_class_init):
12896           Fix some typos, make docs more explicit.
12897
12898 2006-06-20  Wim Taymans  <wim@fluendo.com>
12899
12900         * tests/check/gst/gstghostpad.c: (block_callback),
12901         (GST_START_TEST), (gst_ghost_pad_suite):
12902         Added some more ghostpad tests, mainly blocking
12903         and probes.
12904
12905 2006-06-16  Wim Taymans  <wim@fluendo.com>
12906
12907         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12908         (gst_file_sink_close_file), (gst_file_sink_do_seek),
12909         (gst_file_sink_event), (gst_file_sink_render):
12910         * plugins/elements/gstfilesink.h:
12911         Check if we can seek in the file instead of assuming
12912         we always can. Post an error when we are asked to seek in a
12913         non-seekable file (like a fifo). Fixes #343312.
12914         Some cleanups.
12915
12916 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12917
12918         * tools/gst-launch.1.in:
12919           Un-garble (fourcc) bit in filtered caps section.
12920
12921 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
12922
12923         * docs/manual/advanced-autoplugging.xml:
12924         * docs/manual/basics-helloworld.xml:
12925         * docs/manual/highlevel-components.xml:
12926           Don't leak bus reference in sample code.
12927
12928 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
12929
12930         * autogen.sh:
12931           Add default for new --enable-plugin-docs switch.
12932
12933         * configure.ac:
12934           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12935           Fixes #344039.
12936
12937         * docs/Makefile.am:
12938           Use new ENABLE_PLUGIN_DOCS conditional.
12939
12940 2006-06-14  Wim Taymans  <wim@fluendo.com>
12941
12942         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12943         Make it clear with a FIXME and a real define what the #if 0
12944         previously disabled.
12945
12946 2006-06-14  Wim Taymans  <wim@fluendo.com>
12947
12948         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12949         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12950         * libs/gst/base/gstbasetransform.c:
12951         (gst_base_transform_sink_eventfunc):
12952         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12953         Don't randomly and silently reset a segment when the format 
12954         changes as this is a bug somewhere upstream. Fixes #330379.
12955
12956 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
12957
12958         Patch by: Wouter Paesen  <wouter at kangaroot net>
12959
12960         * libs/gst/controller/gstcontroller.c:
12961         (gst_controlled_property_new):
12962           Fix controlling of float properties (#344849).
12963
12964         * tests/check/libs/controller.c:
12965         (gst_test_mono_source_get_property),
12966         (gst_test_mono_source_set_property),
12967         (gst_test_mono_source_class_init), (GST_START_TEST):
12968           While we're at it, add some float stuff to unit test.
12969
12970 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12971
12972         * docs/README:
12973         * docs/images/gdp-header.svg:
12974           add a gdp image
12975         * docs/libs/Makefile.am:
12976         * docs/libs/gdp-header.png:
12977         * libs/gst/dataprotocol/dataprotocol.c:
12978           add it to the API docs
12979         * docs/manual/intro-motivation.xml:
12980           fix typo
12981
12982 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12983
12984         * gst/gst.c: (scan_and_update_registry), (init_post):
12985           If the fork()'ed child process can't write the updated registry cache
12986           file to disk for some reason, make it exit with a failure exit code,
12987           so that the parent can then re-scan the plugins itself and update the
12988           registry structures in memory and work with that (rather than failing
12989           when creating elements because seemingly no plugins are available).
12990           Refactor registry scanning code into separate function for this and
12991           also separate fork() and non-fork() code paths. Fixes #344748.
12992
12993 2006-06-13  Wim Taymans  <wim@fluendo.com>
12994
12995         * docs/manual/advanced-dataaccess.xml:
12996         Fix wrong PluginDesc. Fixes #344755.
12997
12998 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12999
13000         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13001           Fix silly bug that prevented us from creating
13002           ~/.gstreamer-0.10 and writing the registry in one
13003           go (the first call to g_mkstemp() would overwrite the
13004           placeholder in the template string, so the second call
13005           to g_mkstemp() after creating the missing directory
13006           would then error out with 'invalid argument').
13007
13008 2006-06-13  Edward Hervey  <edward@fluendo.com>
13009
13010         * gst/gst.c: (init_post):
13011         Free string.
13012
13013 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13014
13015         * gst/glib-compat-private.h:
13016         * gst/glib-compat.c:
13017         * gst/glib-compat.h:
13018         * gst/gstvalue.c: (gst_value_serialize_flags):
13019           remove GLib 2.6 compatibility code
13020
13021 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
13022
13023         * gst/parse/Makefile.am:
13024           Fix build with 'make -j N' even more (#340016).
13025
13026 2006-06-12  Wim Taymans  <wim@fluendo.com>
13027
13028         * docs/gst/gstreamer-sections.txt:
13029         Fix docs.
13030
13031 2006-06-12  Wim Taymans  <wim@fluendo.com>
13032
13033         * gst/gstsegment.c: (gst_segment_set_duration),
13034         (gst_segment_set_last_stop), (gst_segment_set_seek),
13035         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
13036         (gst_segment_to_running_time), (gst_segment_clip):
13037         Use G_UNLIKELY to help the compiler a bit.
13038
13039 2006-06-12  Wim Taymans  <wim@fluendo.com>
13040
13041         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13042
13043         * gst/gstevent.c: (gst_event_get_type):
13044         * gst/gstmessage.c:
13045         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
13046         (gst_pad_push):
13047         constify quark registration strings. Fixes #344115
13048         Avoid unneeded type checking is _pad_push() by internally
13049         calling gst_pad_chain_unchecked().
13050
13051 2006-06-12  Wim Taymans  <wim@fluendo.com>
13052
13053         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
13054         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
13055         (gst_subbuffer_finalize), (gst_buffer_create_sub),
13056         (gst_buffer_is_span_fast), (gst_buffer_span):
13057         Init _type for consistency.
13058         Use _FLAGS macro to avoid type check.
13059         Avoid unneeded type checks in subbufer code.
13060
13061 2006-06-12  Wim Taymans  <wim@fluendo.com>
13062
13063         * gst/gst.c: (gst_debug_help):
13064         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
13065         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13066         (gst_plugin_feature_list_free):
13067         * gst/gstregistry.c: (gst_registry_add_plugin),
13068         (gst_registry_add_feature), (gst_registry_plugin_filter),
13069         (gst_registry_feature_filter), (gst_registry_find_plugin),
13070         (gst_registry_find_feature), (gst_registry_get_plugin_list),
13071         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
13072         * gst/gstregistryxml.c: (load_feature),
13073         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
13074         * gst/gstminiobject.c: (gst_mini_object_unref),
13075         (gst_mini_object_replace), (gst_value_mini_object_free),
13076         (gst_value_mini_object_copy):
13077         Use _CAST macros to avoid unneeded type checking.
13078         Added some more G_UNLIKELY.
13079
13080 2006-06-12  Wim Taymans  <wim@fluendo.com>
13081
13082         * gst/gstbuffer.h:
13083         Avoid unneeded type checking.
13084         API: GST_BUFFER_IS_DISCONT
13085
13086         * gst/gstminiobject.h:
13087         Avoid type check in flag accessor.
13088
13089         * gst/gstelementfactory.h:
13090         * gst/gstplugin.h:
13091         * gst/gstpluginfeature.h:
13092         Add _CAST macros.
13093         API: GST_ELEMENT_FACTORY_CAST
13094         API: GST_PLUGIN_CAST
13095         API: GST_PLUGIN_FEATURE_CAST
13096
13097 2006-06-12  Wim Taymans  <wim@fluendo.com>
13098
13099         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
13100         (gst_object_unref):
13101         Add G_UNLIKELY in type registration.
13102         Avoid type check in _ref/_unref since that is also
13103         done in glib.
13104
13105 2006-06-12  Wim Taymans  <wim@fluendo.com>
13106
13107         * gst/gsterror.c: (gst_g_error_get_type):
13108         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
13109         (gst_static_pad_template_get_type):
13110         * gst/gsttaglist.c: (gst_tag_list_get_type):
13111         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
13112         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
13113         * gst/gsturi.c: (gst_uri_handler_get_type):
13114         * gst/gstvalue.c: (gst_date_get_type):
13115         * gst/gstxml.c: (gst_xml_get_type):
13116         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
13117         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
13118         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
13119         Add G_UNLIKELY in type registration.
13120
13121 2006-06-12  Wim Taymans  <wim@fluendo.com>
13122
13123         * tools/gst-inspect.c: (print_signal_info):
13124         Properly print enum values.
13125
13126 2006-06-12  Wim Taymans  <wim@fluendo.com>
13127
13128         * gst/gstinfo.c: (gst_debug_set_active),
13129         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
13130         * gst/gstinfo.h:
13131         Add some G_[UN]LIKELY.
13132         Maintain __gst_debug_min to avoid formatting the arguments of
13133         debug messages that will be dropped anyway to avoid a lot of 
13134         overhead from the debugging system.
13135
13136 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
13137
13138         * po/POTFILES.in:
13139         * po/POTFILES.skip:
13140           add missing files containing translatable strings, tell intltool about
13141           one exception
13142
13143 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
13144
13145         * tests/check/libs/.cvsignore:
13146         add test-binary to ignore list
13147
13148 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
13149
13150         * docs/libs/gstreamer-libs-docs.sgml:
13151         reorder (put dp into a chapter) and indent
13152
13153 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13154
13155         * configure.ac:
13156           back to HEAD
13157
13158 === release 0.10.8 ===
13159
13160 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
13161
13162         * configure.ac:
13163           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
13164
13165 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13166
13167         * gst/gst.c: (init_post):
13168           move pid declaration to declaration block
13169
13170 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13171
13172         * gst/gst.c: (init_post):
13173           use _exit() instead of exit() in our forked child; this ensures
13174           that none of the registered exit handlers from whatever is using
13175           GStreamer get executed.  This fixes gnome-mixer-applet failing
13176           to load, because ORBit would shut down.
13177           Spotted by: Edward Hervey  <edward@fluendo.com>
13178           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
13179           Fixes #344474
13180
13181 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13182
13183         * configure.ac:
13184           back to TRUNK
13185
13186 === release 0.10.7 ===
13187
13188 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
13189
13190         * configure.ac:
13191           releasing 0.10.7, "Soepeke, ik zie ou"
13192
13193 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13194
13195         * configure.ac:
13196         * po/af.po:
13197         * po/az.po:
13198         * po/bg.po:
13199         * po/ca.po:
13200         * po/cs.po:
13201         * po/de.po:
13202         * po/en_GB.po:
13203         * po/fr.po:
13204         * po/it.po:
13205         * po/nb.po:
13206         * po/nl.po:
13207         * po/ru.po:
13208         * po/sq.po:
13209         * po/sr.po:
13210         * po/sv.po:
13211         * po/tr.po:
13212         * po/uk.po:
13213         * po/vi.po:
13214         * po/zh_CN.po:
13215         * po/zh_TW.po:
13216         * win32/common/config.h:
13217           0.10.6.2 prerelease
13218
13219 2006-06-07  Wim Taymans  <wim@fluendo.com>
13220
13221         * gst/gstindex.c: (gst_index_gtype_resolver):
13222         * tools/gst-xmlinspect.c: (print_plugin_info):
13223         Fix leak spotted by coverity checker. Fixes #343827
13224         Fix another other leak found by paolo borelli.
13225
13226 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13227
13228         * libs/gst/dataprotocol/dataprotocol.c:
13229         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
13230         (gst_dp_version_get_type), (gst_dp_init),
13231         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
13232         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
13233         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
13234         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
13235         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
13236         (gst_dp_packetizer_free):
13237         * libs/gst/dataprotocol/dataprotocol.h:
13238           API: add a GstDPPacketizer object, and create/free functions
13239           API: add GstDPVersion enum
13240           Add 1.0 event function that uses the string serialization
13241           Serialize more useful buffer flags
13242           Fixes #343988
13243
13244 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13245
13246         * tests/check/Makefile.am:
13247         * tests/check/gst/gstabi.c:
13248         * tests/check/gst/struct_ppc64.h:
13249         * tests/check/libs/libsabi.c:
13250         * tests/check/libs/struct_ppc64.h:
13251           add ppc64 structure sizes
13252
13253 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13254
13255         * tests/check/Makefile.am:
13256         * tests/check/gst/gstabi.c:
13257         * tests/check/gst/struct_x86_64.h:
13258         * tests/check/libs/libsabi.c:
13259         * tests/check/libs/struct_x86_64.h:
13260           generate and add structure size lists for x86_64
13261
13262 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
13265         * libs/gst/check/gstcheck.h:
13266           factor out the method from tests that checks size of structures,
13267           and add code to generate the header containing these sizes
13268         * tests/check/gst/gstabi.c: (GST_START_TEST):
13269         * tests/check/gst/struct_i386.h:
13270         * tests/check/libs/libsabi.c: (GST_START_TEST):
13271         * tests/check/libs/struct_i386.h:
13272           use it
13273
13274 2006-06-06  Michael Smith  <msmith@fluendo.com>
13275
13276         * gst/gstsegment.h:
13277           Don't use c++-style comments, fixes #343929
13278
13279 2006-06-05  Edward Hervey  <edward@fluendo.com>
13280
13281         * gst/gst.c:
13282         plugin_paths is not used if we build without registry support.
13283
13284         * gst/gstsegment.c: (gst_segment_copy): 
13285         _copy() was always returning NULL...
13286
13287 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13288
13289         * libs/gst/dataprotocol/dataprotocol.c:
13290         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13291         (gst_dp_packet_from_event):
13292           factor out CRC code
13293
13294 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13295
13296         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
13297           make sure we unset caps
13298
13299 2006-06-02  Michael Smith  <msmith@fluendo.com>
13300
13301         * libs/gst/check/gstcheck.c: (gst_check_init),
13302         (gst_check_chain_func):
13303         * libs/gst/check/gstcheck.h:
13304           Add a cond/mutex to the check support lib, signal this whenever we
13305           add to the buffers list. This will allow tests to not busy-wait on
13306           the buffer-list.
13307
13308 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13309
13310         * libs/gst/dataprotocol/dataprotocol.c:
13311         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
13312         (gst_dp_packet_from_event):
13313           factor out some common header init code
13314
13315 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13316
13317         * docs/libs/gstreamer-libs-sections.txt:
13318         * docs/libs/tmpl/gstdataprotocol.sgml:
13319         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
13320         * libs/gst/dataprotocol/dataprotocol.h:
13321           API: make gst_dp_crc() public
13322
13323 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13324
13325         * plugins/indexers/gstindexers.c: (plugin_init):
13326         conditionally register fileindexer (fixes #343598)
13327
13328 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
13329
13330         * gst/gsttagsetter.h:
13331         Can't cast ifaces to a class
13332
13333         * libs/gst/net/gstnetclientclock.h:
13334         * libs/gst/net/gstnettimeprovider.h:
13335         * plugins/elements/gstfakesink.h:
13336         * plugins/elements/gstfakesrc.h:
13337         * plugins/elements/gstfdsink.h:
13338         * plugins/elements/gstfdsrc.h:
13339         * plugins/elements/gstfilesink.h:
13340         * plugins/elements/gstfilesrc.h:
13341         * plugins/elements/gstidentity.h:
13342         * plugins/elements/gstqueue.h:
13343         * plugins/elements/gsttee.h:
13344         * plugins/indexers/gstfileindex.c:
13345         * plugins/indexers/gstmemindex.c:
13346         * tests/old/examples/plugins/example.h:
13347         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
13348
13349 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13350
13351         * libs/gst/dataprotocol/dataprotocol.c:
13352         (gst_dp_header_from_buffer):
13353           make sure we zero the whole ABI-compatible area
13354
13355 2006-06-01  Wim Taymans  <wim@fluendo.com>
13356
13357         Patch by: Alessandro Decina <alessandro at nnva dot org>
13358
13359         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
13360         Make sure the EOS flag is cleared from pads after a flush
13361         or stop. Fixes #343538.
13362
13363         * tests/check/libs/collectpads.c: (GST_START_TEST),
13364         (gst_collect_pads_suite):
13365         Added test for collectpads reusage after EOS.
13366
13367 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
13368
13369         * gst/gst.c:
13370          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
13371         * win32/common/libgstbase.def:
13372          export gst_collect_pads_set_flushing
13373         * win32/common/libgstreamer.def:
13374          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
13375          gst_value_fraction_multiply
13376         * win32/vs6/gst_inspect.dsp:
13377          add a link to intl.lib
13378
13379 2006-05-30  Wim Taymans  <wim@fluendo.com>
13380
13381         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13382         (gst_collect_pads_chain):
13383         Handle the case where a pad is removed from the collection
13384         that could cause the other pads to become collectable.
13385
13386 2006-05-30  Wim Taymans  <wim@fluendo.com>
13387
13388         * gst/gstelement.c:
13389         Clarify the use of _release_request_pad() and
13390         _get_request_pad() a bit better.
13391
13392         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
13393         (gst_adapter_take_buffer):
13394         Fix some doc and comment typos.
13395
13396 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13397
13398         * docs/gst/gstreamer-sections.txt:
13399         * docs/libs/gstreamer-libs-sections.txt:
13400           add declared symbols
13401
13402 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
13403
13404         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13405         Add debug that can be enabled using a #define at the top of the file,
13406         for dumping stats about how late/early we were when waking up from
13407         waiting on the clock.
13408
13409 2006-05-30  Wim Taymans  <wim@fluendo.com>
13410
13411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
13412         When rebuilding the pad list, don't leak the previous list.
13413
13414 2006-05-30  Wim Taymans  <wim@fluendo.com>
13415
13416         Patch by: Lutz Mueller <lutz at topfrose dot de>
13417
13418         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13419         (gst_base_src_get_query_types), (gst_base_src_update_length):
13420         Publish supported query types.
13421         Update last_stop field in get_range mode so the position
13422         query works. Fixes #342321.
13423
13424 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
13425
13426         * docs/gst/gstreamer-sections.txt:
13427         * gst/gsttaglist.c: (_gst_tag_initialize):
13428         * gst/gsttaglist.h:
13429           API: add GST_TAG_PREVIEW_IMAGE (#343341).
13430
13431 2006-05-30  Wim Taymans  <wim@fluendo.com>
13432
13433         Patch by: Alessandro Decina <alessandro at nnva dot org>
13434
13435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
13436         Unlock mutex when removing an unknown pad.
13437         Fixes #343334.
13438
13439         * tests/check/Makefile.am:
13440         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
13441         (push_event), (setup), (teardown), (GST_START_TEST),
13442         (gst_collect_pads_suite), (main):
13443         Added collecpads check, disabled for now as check crashes for
13444         some reason.
13445
13446 2006-05-29  Wim Taymans  <wim@fluendo.com>
13447
13448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
13449         Don't leak pads lists.
13450
13451 2006-05-29  Wim Taymans  <wim@fluendo.com>
13452
13453         * docs/libs/gstreamer-libs-sections.txt:
13454         * libs/gst/base/gstcollectpads.c:
13455         (gst_collect_pads_set_flushing_unlocked),
13456         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13457         (gst_collect_pads_stop):
13458         * libs/gst/base/gstcollectpads.h:
13459         API: gst_collect_pads_set_flushing()
13460         Added api to set the pads to flushing, useful for seeking
13461         code in elements using collectpads.
13462         Clear segment when receiving a flush.
13463
13464 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
13465
13466         * gst/gst.c: (add_path_func), (init_post):
13467           Don't scan registry paths passed via --gst-plugin-path immediately
13468           (will crash, because absolutely nothing is set up and no types are
13469           registered etc.); do this later in init_post(). Fixes #343057.
13470
13471 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13472
13473         * gst/gst.c: (init_post):
13474           if we have fork, fork while reading/rebuilding the registry
13475           so the parent doesn't take the hit of having all plugins loaded
13476           in memory.  Fixes #342777.
13477         * configure.ac:
13478           Check if we have fork()
13479         * win32/common/config.h.in:
13480           no fork() on win32
13481
13482 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13483
13484         * plugins/elements/gstelements.c:
13485         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
13486         (gst_file_src_init), (gst_file_src_set_property),
13487         (gst_file_src_get_property), (gst_file_src_start):
13488         * plugins/elements/gstfilesrc.h:
13489           API: GstFileSrc::use-mmap
13490
13491         Add a use-mmap property to enable easier testing of all code paths.
13492         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
13493         in the absence of gnomevfssrc. (Closes #340501)
13494
13495 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13496
13497         * tools/gst-inspect.c:
13498         Add missing include, removes warning of ngettext not being defined on
13499         some arches.
13500
13501 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
13502
13503         * gst/gstvalue.c: (gst_value_deserialize_fraction):
13504         Handle NULL input and output pointers silently as a failed conversion,
13505         rather than g_warnings.
13506
13507 2006-05-25  Wim Taymans  <wim@fluendo.com>
13508
13509         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
13510         Initialize variable before using. Fixes #342820.
13511
13512 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
13515           Fix off-by-one bug that would only allow peeks of N-1 bytes
13516           from the start even if the buffer to typefind on contains
13517           in fact N bytes of data (makes vorbis typefinding from a
13518           vorbis identification header buffer work).
13519
13520         * tests/check/Makefile.am:
13521         * tests/check/libs/.cvsignore:
13522         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
13523         (gst_typefindhelper_suite), (main), (foobar_typefind),
13524         (plugin_init):
13525           Add very basic unit test for gst_type_find_helper_for_buffer()
13526           that checks for the problem fixed above.
13527
13528 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
13529
13530         * tools/gst-inspect.c: (print_interfaces),
13531         (print_element_properties_info), (print_element_list), (main):
13532           add more translatable strings
13533
13534 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
13535
13536         Patch by: Julien Moutte  <julien at moutte net>
13537
13538         * docs/gst/gstreamer-sections.txt:
13539           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
13540           
13541         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
13542         (gst_fake_sink_preroll):
13543         * plugins/elements/gstfakesink.h:
13544           API: Add new GstFakeSink::preroll-handoff signal (#337100).
13545
13546 2006-05-23  Wim Taymans  <wim@fluendo.com>
13547
13548         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
13549         * gst/gstpad.h:
13550         Added _CUSTOM error and success GstFlowReturn that can be
13551         used be elements internally. 
13552         Added macro to check for SUCCESS flowreturns.
13553         API: GST_FLOW_CUSTOM_SUCCESS
13554         API: GST_FLOW_CUSTOM_ERROR
13555         API: GST_FLOW_IS_SUCCESS
13556
13557         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
13558         Added check for GstFlowReturn sanity.
13559
13560 2006-05-23  Wim Taymans  <wim@fluendo.com>
13561
13562         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13563
13564         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
13565         (gst_collect_pads_event):
13566         clear/reset segment info in FLUSH_STOP.
13567         Fixes #336929.
13568
13569 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
13570
13571         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
13572         (gst_collect_pads_check_collected):
13573         Flush queued buffer on _stop(), fixes playing again (#342454)
13574
13575 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13576
13577         * tests/check/gst/gststructure.c: (GST_START_TEST),
13578         (gst_structure_suite):
13579           add a test for a complete structure
13580
13581 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13582
13583         * docs/faq/developing.xml:
13584         * docs/faq/faq.xml:
13585         * docs/faq/troubleshooting.xml:
13586         * docs/faq/using.xml:
13587           Some minor FAQ updates that won't change the fact that
13588           our FAQ is badly structured, full of information hardly
13589           anyone new to GStreamer needs to know and lacking lots
13590           of information people constantly ask for.
13591           
13592 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
13593
13594         * gst/gstpad.c: (gst_pad_set_caps):
13595           Short-circuit gst_pad_set_caps if setting the existing
13596           caps pointer again, and avoid printing debug and 
13597           reffing/unreffing the caps.
13598
13599         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13600           There's actually no need to set the caps before pushing -
13601           the acceptcaps method will handle it anyway.
13602
13603 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
13604
13605         * docs/gst/gstreamer-sections.txt:
13606         * win32/common/libgstreamer.def:
13607         * gst/gstutils.c: (gst_element_seek_simple):
13608         * gst/gstutils.h:
13609           API: add gst_element_seek_simple() (#342238).
13610
13611 2006-05-18  Edward Hervey  <edward@fluendo.com>
13612
13613         * gst/gsttypefind.c: (gst_type_find_get_type):
13614         * gst/gsttypefind.h:
13615         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
13616         registered for GstTypeFind pointers. This allows wrapping the structure
13617         in bindings (i.e. gst-python).
13618
13619 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13620
13621         * gst/gsttagsetter.c:
13622           Docs additions and fixes (see #339918).
13623
13624 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
13625
13626         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13627         The caps intersection algorithm can produce multiple copies of the
13628         caps. Until that is fixed, we need to simplify the result to be
13629         sure whether the allowed caps are fixed or not.
13630
13631         * plugins/elements/gstqueue.c: (gst_queue_init),
13632         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
13633         (gst_queue_push_one):
13634         Proxied buffer alloc should not set the caps on the source pad.
13635         When pushing buffers, we always accept the caps change that triggers.
13636         This prevents negotiation errors caused by caps changing mid-stream 
13637         and then being refused on our source pad (because upstream is now
13638         refusing those caps).
13639
13640 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
13641
13642         * tests/examples/helloworld/helloworld.c: (main):
13643           Must plug audioconvert and audioresample between decoder
13644           and audio sink.
13645
13646 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
13647
13648         * gst/gstregistryxml.c: (read_string), (load_pad_template),
13649         (load_feature), (load_plugin):
13650         Allow empty strings for some of the plugin fields so we don't 
13651         drop valid plugin entries that were written out correctly
13652         (Fixes #341479)
13653
13654 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
13655         
13656         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
13657           Use g_remove and g_rename instead of remove and rename that don't 
13658           handle utf8 characters. rename was failing for users who had specific
13659           characters in their name then the registry was built at each 
13660           gstreamer init.
13661         * win32/vs6/gst_inspect.dsp:
13662         * win32/vs6/gst_launch.dsp:
13663         * win32/vs6/libgstbase.dsp:
13664         * win32/vs6/libgstcoreelements.dsp:
13665         * win32/vs6/libgstreamer.dsp:
13666           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
13667           build of libgstreamer and clean unused libraries in projects link 
13668           settings.
13669
13670 2006-05-17  Edward Hervey  <edward@fluendo.com>
13671
13672         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13673         The queue is not responsible for pushing an EOS when receiving a fatal
13674         flow error. It's up to the real element driving the pipeline to do that.
13675
13676 2006-05-16  Edward Hervey  <edward@fluendo.com>
13677
13678         * plugins/elements/gstqueue.c: (gst_queue_push_one):
13679         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
13680         buffer returned a fatal error. It should just send an EOS and stop
13681         its task.
13682         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
13683         when pushing buffers on the queue and will be able to handle the event.
13684
13685 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
13686
13687         * docs/manual/basics-bins.xml:
13688         * docs/manual/basics-init.xml:
13689           Fix typos and minor errors in sample code (#341856).
13690
13691 2006-05-16  Wim Taymans  <wim@fluendo.com>
13692
13693         * docs/design/part-qos.txt:
13694         Fix indexes in formulas to make more sense.
13695
13696 2006-05-15  Wim Taymans  <wim@fluendo.com>
13697
13698         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13699         Don't report POSITION based on clock time if sync is
13700         disabled in a sink.
13701
13702 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
13703
13704         * gst/gstobject.h:
13705           Add cast to make compiler happy - refcount variable was a gint
13706           in GstObject but is a guint in GObject and g_atomic_int_get()
13707           wants a gint *.
13708
13709 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13710
13711         * gst/parse/Makefile.am:
13712           chain commands using &&, which also makes parallel make work
13713
13714 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
13715
13716         * docs/gst/gstreamer-sections.txt:
13717         * gst/gstevent.c:
13718         * gst/gstevent.h:
13719         * gst/gstmessage.h:
13720           Minor docs fixes.
13721
13722 === release 0.10.6 ===
13723
13724 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
13725
13726         * configure.ac:
13727           releasing 0.10.6, "Take the cannoli"
13728
13729 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
13730
13731         * tools/gst-launch.c: (print_tag):
13732           Fix use of uninitialized variable in the hypothetical
13733           case that some broken plugin creates a GST_TAG_IMAGE
13734           tag containing a NULL buffer (#341667).
13735
13736 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
13737
13738         * tools/gst-launch.c: (print_tag):
13739           Print something more intelligible for image tags when
13740           using the -t switch (#341556).
13741
13742 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13743
13744         * Makefile.am:
13745           updates for win32
13746         * configure.ac:
13747           define GST_MAJORMINOR so we have it available in win32/common/config.h
13748           Possibly remove it from our Makefile.am files later
13749         * win32/common/config.h:
13750         * win32/common/config.h.in:
13751           added GST_MAJORMINOR
13752         * win32/common/gstenumtypes.c: (register_gst_resource_error):
13753         * win32/common/gstversion.h:
13754           updated
13755
13756 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
13757
13758         * win32/MANIFEST:
13759           Update win32 files listing.
13760         * win32/common/gstversion.h:
13761           Add GST_MAJORMINOR definition.
13762         * win32/common/libgstreamer.def:
13763           Add new exported functions.
13764           
13765 2006-05-12  Michael Smith  <msmith@fluendo.com>
13766
13767         * gst/gstplugin.c: (gst_plugin_load_file):
13768           If an so file has no plugin entry point, unload the module.
13769
13770 2006-05-11  Wim Taymans  <wim@fluendo.com>
13771
13772         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
13773         (gst_queue_set_property):
13774         Don't forget to signal the _chain or _loop function 
13775         when the queue size or thresholds change since that might
13776         cause them to make progres again.
13777
13778 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
13779
13780         * gst/gstclock.c: (gst_clock_class_init):
13781         * gst/gstindex.c: (gst_index_class_init):
13782         * gst/gstobject.c: (gst_object_class_init):
13783         * gst/gstpad.c: (gst_pad_class_init):
13784         * gst/gstpipeline.c: (gst_pipeline_class_init):
13785         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13786         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
13787         * libs/gst/base/gstbasetransform.c:
13788         (gst_base_transform_class_init):
13789         * libs/gst/net/gstnetclientclock.c:
13790         (gst_net_client_clock_class_init):
13791         * libs/gst/net/gstnettimeprovider.c:
13792         (gst_net_time_provider_class_init):
13793         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
13794         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
13795         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
13796         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
13797         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13798         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
13799         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
13800         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13801         * plugins/elements/gsttee.c: (gst_tee_class_init):
13802         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13803         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13804           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13805
13806 2006-05-11  Wim Taymans  <wim@fluendo.com>
13807
13808         * gst/gstbuffer.c: (_gst_buffer_initialize):
13809         Register subbufer along with the buffer type so that
13810         it does not accidentally gets registered from N
13811         different streaming threads in a non threadsafe way.
13812
13813 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13814
13815         * gst/gstbuffer.h:
13816         * gst/gstevent.h:
13817         * gst/gstmessage.h:
13818           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13819           gst_event_ref() and gst_message_ref() functions again
13820           (ugly hack, please do fix if there's a better way besides
13821           overrides.txt, which doesn't seem to work).
13822
13823 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13824
13825         * libs/gst/check/gstcheck.h:
13826           add an assert for setting state to avoid lots of repetitive code
13827           in the future
13828
13829 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13830
13831         * gst/gstvalue.c: (gst_value_serialize_flags):
13832           fix a leak if no flags are set
13833         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13834           fix leak in tests
13835
13836 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
13837
13838         * docs/manual/basics-pads.xml:
13839           Expand a bit on caps and filtered links and update
13840           examples that were still using the no longer existing
13841           gst_pad_link_filtered() (#338206).
13842
13843 2006-05-10  Wim Taymans  <wim@fluendo.com>
13844
13845         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13846         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13847         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13848         (gst_collect_pads_stop):
13849         * libs/gst/base/gstcollectpads.h:
13850         No need to call _stop in _finalize.
13851         Iterate the main pad list in _finalize.
13852         Added some more debug.
13853         Free lists and data in the right order.
13854         Also free data whem doing _remove_pad when stopped for
13855         backward compatibility protect ::started with PAD_LOCK as
13856         well.
13857
13858 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13859
13860         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13861         (gst_structure_parse_value):
13862           add some comments
13863           rename a method so that it actually says what it does better
13864
13865 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13866
13867         * gst/gstevent.c: (_gst_event_initialize):
13868         * gst/gstformat.c: (_gst_format_initialize):
13869           make sure some essential types used by events are registered
13870           as part of gst_init()
13871         * gst/gstvalue.c: (gst_value_serialize_flags):
13872           if no flags are set, serialize them to a value that represents NONE
13873           so that deserializing them works
13874         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13875           add tests for serialization and deserialization of flags
13876
13877 2006-05-10  Wim Taymans  <wim@fluendo.com>
13878
13879         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13880         (gst_collect_pads_collect_range), (gst_collect_pads_available),
13881         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13882         (gst_collect_pads_event), (gst_collect_pads_chain):
13883         Update docs.
13884         Better debug info.
13885         Catch and return errors from the collect function
13886         Refuse data on eos pads.
13887
13888 2006-05-10  Edward Hervey  <edward@fluendo.com>
13889
13890         * gst/gstinterface.h:
13891         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13892         GInterface type checking.
13893         They were previously using non-defined macros.
13894
13895 2006-05-09  Wim Taymans  <wim@fluendo.com>
13896
13897         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13898         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13899         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13900         (gst_collect_pads_start), (gst_collect_pads_stop),
13901         (gst_collect_pads_peek), (gst_collect_pads_pop),
13902         (gst_collect_pads_available), (gst_collect_pads_read),
13903         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13904         (gst_collect_pads_is_collected), (gst_collect_pads_event),
13905         (gst_collect_pads_chain):
13906         * libs/gst/base/gstcollectpads.h:
13907         Clean up the mess that is collectpads, add comments and
13908         FIXMEs where needed.
13909         Maintain a separate pad list so we can add pads while
13910         collecting the other ones. For this we need a new separate 
13911         lock (see comics).
13912         Fix memory leak in finalize.
13913         Refactor some weird code to set/unset pad flushing flags, mark
13914         with comments.
13915         Don't crash in _available, _read, _flush when we're EOS.
13916
13917         * tests/check/libs/.cvsignore:
13918         Ignore adapter check binary.
13919
13920 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13921
13922         * gst/gstindex.c: (gst_index_resolver_get_type):
13923         * plugins/elements/gstfakesink.c:
13924         (gst_fake_sink_state_error_get_type):
13925         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13926         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13927         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13928           Const-ify GEnumValue arrays.
13929
13930 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13931
13932         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13933           Add test case for flags + gst_buffer_make_metadata_writable().
13934
13935 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13936
13937         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13938           gst_buffer_make_metadata_writable() should maintain the
13939           buffer flags (those that make sense at least) (see #340859).
13940
13941 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13942
13943         * tools/gst-inspect.c:
13944         * tools/gst-launch.c:
13945         * tools/gst-typefind.c:
13946         * tools/gst-xmlinspect.c:
13947         * tools/tools.h:
13948           Fix up includes: need to include stdlib.h in tools.h for exit().
13949
13950 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
13951
13952         * gst/gsttaglist.c: (_gst_tag_initialize):
13953         * gst/gsttaglist.h:
13954           API: add GST_TAG_IMAGE tag (#340721).
13955
13956 2006-05-08  Wim Taymans  <wim@fluendo.com>
13957
13958         * gst/gstquery.c:
13959         Added some docs for the segment query.
13960
13961 2006-05-08  Wim Taymans  <wim@fluendo.com>
13962
13963         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13964         (gst_base_src_loop), (gst_base_src_change_state):
13965         Always push non-flushing serialized events in the streaming 
13966         thread.
13967
13968 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13969
13970         * gst/gsterror.c: (_gst_stream_errors_init):
13971           Add a missing error string.
13972
13973 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13974
13975         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13976         Add applied_rate to the debug
13977
13978         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13979         Copy applied_rate into the outgoing NEWSEGMENT event
13980
13981 2006-05-08  Wim Taymans  <wim@fluendo.com>
13982
13983         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13984
13985         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13986         (gst_base_sink_change_state):
13987         call ::unlock before taking the PREROLL_LOCK so we can safely
13988         handle elements that lock in ::render.
13989         Fixes #340174.
13990
13991 2006-05-08  Edward Hervey  <edward@fluendo.com>
13992
13993         * autogen.sh: (CONFIGURE_DEF_OPT): 
13994         Darwin's libtoolize is in fact called glibtoolize.
13995         Adding glibtoolize to the list of accepted names for libtoolize.
13996
13997 2006-05-08  Wim Taymans  <wim@fluendo.com>
13998
13999         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
14000         Unify error handling, don't post an error message
14001         when a push() returns EOS but perform our normal EOS
14002         handling code. Fixes #340772.
14003
14004 2006-05-08  Wim Taymans  <wim@fluendo.com>
14005
14006         * docs/design/part-overview.txt:
14007         Make upsteam/downstream concepts more clear.
14008         Give an example of serialized/non-serialized events.
14009
14010         * docs/design/part-events.txt:
14011         * docs/design/part-streams.txt:
14012         Mention applied_rate.
14013
14014         * docs/design/part-trickmodes.txt:
14015         Mention applied rate, flesh out some more use cases.
14016
14017         * gst/gstevent.c: (gst_event_new_new_segment),
14018         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
14019         (gst_event_parse_new_segment_full), (gst_event_new_tag),
14020         (gst_event_parse_tag), (gst_event_new_buffer_size),
14021         (gst_event_parse_buffer_size), (gst_event_new_qos),
14022         (gst_event_parse_qos), (gst_event_parse_seek),
14023         (gst_event_new_navigation):
14024         * gst/gstevent.h:
14025         Add applied_rate field to NEWSEGMENT event.
14026         API: gst_event_new_new_segment_full()
14027         API: gst_event_parse_new_segment_full()
14028
14029         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
14030         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
14031         (gst_segment_to_stream_time), (gst_segment_to_running_time):
14032         * gst/gstsegment.h:
14033         Add applied_rate to GstSegment structure.
14034         Make calculation of stream_time and running_time more correct
14035         wrt rate/applied_rate.
14036         Add some more docs.
14037         API: GstSegment::applied_rate field
14038         API: gst_segment_set_newsegment_full();
14039
14040         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14041         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
14042         * libs/gst/base/gstbasetransform.c:
14043         (gst_base_transform_sink_eventfunc),
14044         (gst_base_transform_handle_buffer):
14045         Parse and use applied_rate in the GstSegment field.
14046
14047         * tests/check/gst/gstevent.c: (GST_START_TEST):
14048         Add check for applied_rate field.
14049
14050         * tests/check/gst/gstsegment.c: (GST_START_TEST),
14051         (gstsegments_suite):
14052         Add more checks for various GstSegment operations.
14053
14054 2006-05-08  Wim Taymans  <wim@fluendo.com>
14055
14056         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14057         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
14058         (gst_base_sink_get_position), (gst_base_sink_change_state):
14059         Store the sync time of the buffer end position separatly in a
14060         new variable eos_rtime so we can properly sync the EOS event.
14061         Fixes #340697.
14062         Fix the docs for gst_base_sink_set_qos_enabled().
14063         Don't set segment start to invalid value when we receive a 
14064         non TIME newsegment.
14065         get closer to handling position reporting for negative rates 
14066         correctly.
14067
14068 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
14069
14070         * gst/gstcaps.c:
14071         Docs about how to print caps for debug purposes.
14072
14073         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
14074         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
14075
14076 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
14077
14078         * gst/gstelement.c:
14079           use full enum names and preprend a '%' in docs strings to make recent 
14080           gtk-doc turn that into a link
14081
14082 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14083
14084         * docs/manual/basics-bins.xml:
14085         * docs/manual/basics-bus.xml:
14086         * docs/manual/basics-pads.xml:
14087           Some typo fixes, some additions, some clarifications. 
14088
14089 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14090
14091         * tools/gst-inspect.c: (main):
14092         * tools/gst-launch.c: (main):
14093         * tools/gst-run.c: (main):
14094         * tools/gst-typefind.c: (main):
14095         * tools/gst-xmlinspect.c: (main):
14096           Use the string passed to g_option_context_new() for
14097           what it's intended for - the program name is already
14098           printed elsewhere.
14099
14100 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14101
14102         * tools/Makefile.am:
14103         * tools/gst-inspect.c: (main):
14104         * tools/gst-launch.c: (main):
14105         * tools/gst-xmlinspect.c: (main):
14106         * tools/tools.h:
14107           Add back --version command line option (#340460).
14108
14109         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
14110           Add --version option and use GOption for argument parsing; refactor a
14111           bit; accept directories as arguments and recurse into them; lastly,
14112           print a decent error message when things go wrong.
14113
14114 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
14115
14116         * docs/manual/basics-bins.xml:
14117         Don't mention GstThread (#340611)
14118         * docs/manual/basics-elements.xml:
14119         Update link to GObject tutorial (#340607)
14120         
14121 2006-05-05  Wim Taymans  <wim@fluendo.com>
14122
14123         * gst/gstbuffer.h:
14124         * gst/gstminiobject.c:
14125         Add note about refcounting and miniobject/buffer writeability
14126         to docs. Fixes #340604
14127
14128         * gst/gstelementfactory.h:
14129         Added some explanation about @klass.
14130
14131 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
14132
14133         * docs/manual/intro-motivation.xml:
14134         * docs/manual/manual.xml:
14135         Avoid CORBA & Bonobo references (#340598)
14136
14137 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
14138
14139         * docs/manual/basics-bus.xml:
14140         * docs/manual/basics-pads.xml:
14141         Fix up some inaccuracies and omissions (#340609)
14142         
14143 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
14144
14145         * gst/gstghostpad.c:
14146           Small typo in docs (#340625)
14147
14148 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14149
14150         * gst/parse/Makefile.am:
14151           Make 'make -j' proof (see #340698).
14152
14153 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
14154
14155         * configure.ac:
14156           Require GLib-2.8 here as well.
14157
14158 2006-05-05  Wim Taymans  <wim@fluendo.com>
14159
14160         * gst/glib-compat.c:
14161         * gst/gst.c: (init_pre):
14162         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
14163         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
14164         (gst_object_dispatch_properties_changed):
14165         * gst/gstobject.h:
14166         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14167         * gst/gststructure.c: (gst_structure_set_valist):
14168         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
14169         Remove pre glib2.8 compatibility, fixes #340508
14170
14171 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14172
14173         * gst/gsttaglist.h:
14174           Mention type of tags in doc blurbs.
14175
14176 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
14177
14178         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14179         (gst_pad_configure_src), (gst_pad_push):
14180         Restore acceptcaps checking behaviour now that good plugins have
14181         been released.
14182
14183 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
14184
14185         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
14186
14187         * gst/gst.c:
14188         * gst/gstbus.c:
14189         * gst/gstclock.c:
14190         * gst/gstevent.c:
14191         * gst/gstformat.c:
14192         * gst/gstmessage.c:
14193         * gst/gstparse.c:
14194         * gst/gstquery.c:
14195         * gst/gstutils.c:
14196         * gst/parse/Makefile.am:
14197         * libs/gst/base/gstadapter.c:
14198         * libs/gst/base/gstbasesrc.c:
14199         * libs/gst/base/gstpushsrc.c:
14200         * libs/gst/base/gsttypefindhelper.c:
14201         * plugins/elements/gstfakesrc.c:
14202         * plugins/elements/gstidentity.c:
14203           Make sure gstprivate.h and/or config.h are
14204           always included first, otherwise some of our
14205           defines (like _FILE_OFFSET_BITS) might be
14206           redefined in the system headers. Fixes build
14207           on opensolaris (#340016).
14208
14209 2006-05-04  Wim Taymans  <wim@fluendo.com>
14210
14211         * docs/libs/gstreamer-libs-sections.txt:
14212         API: addition: gst_adapter_take_buffer()
14213         
14214         * libs/gst/base/gstadapter.c: (gst_adapter_push),
14215         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
14216         (gst_adapter_available_fast):
14217         * libs/gst/base/gstadapter.h:
14218         Prepare for optimizing the hell out of this hugely inefficient
14219         piece of code. 
14220         Added gst_adapter_take_buffer() so we can at least start thinking
14221         about subbuffering and merging.
14222         Added some comments.
14223
14224         * tests/check/Makefile.am:
14225         * tests/check/libs/adapter.c: (GST_START_TEST),
14226         (gst_adapter_suite), (main):
14227         Added GstAdapter check.
14228
14229 2006-05-04  Wim Taymans  <wim@fluendo.com>
14230
14231         * docs/design/part-overview.txt:
14232         Fix some typos, add blurb about buffer flags.
14233
14234 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14235
14236         * docs/libs/gstreamer-libs-sections.txt:
14237           make sure GstBaseTransformClass shows up in the docs
14238         * libs/gst/base/gstbasetransform.c:
14239         * libs/gst/base/gstbasetransform.h:
14240           move docs so gtk-doc picks it up now
14241
14242 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14243
14244         * docs/libs/gstreamer-libs-sections.txt:
14245           add missing symbols to docs
14246
14247 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
14248
14249         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14250           back out the newsegment handling change, see #340060 for ongoing
14251           discussion
14252
14253 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
14254
14255         * tools/gst-run.c: (get_candidates), (main):
14256           Fix wrong g_file_test() usage (see glib docs for why it doesn't
14257           work); fix typo in error message. Fixes #340079.
14258
14259 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14260
14261         * common/Makefile.am:
14262         * docs/Makefile.am:
14263         * docs/faq/Makefile.am:
14264         * docs/gst/Makefile.am:
14265         * docs/libs/Makefile.am:
14266         * docs/manual/Makefile.am:
14267         * docs/plugins/Makefile.am:
14268         * docs/pwg/Makefile.am:
14269         * docs/slides/Makefile.am:
14270         * docs/upload.mak:
14271         * common/upload.mak:
14272           move upload.mak to common
14273
14274 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14275
14276         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14277           add more asserts on refcounts
14278           do more cleanup at end of tests
14279           fix test leaks showing in FC5
14280
14281 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
14282
14283         * plugins/elements/gsttypefindelement.c:
14284         (gst_type_find_element_handle_event):
14285         reverted wrong change and reflowed code to avoid others falling into
14286         this trap
14287
14288 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14289
14290         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
14291           fix changelog entry about last collectpads change,
14292           add notes about proper fix
14293
14294 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14295
14296         * gst/gst.c:
14297         * gst/gstregistry.c: (gst_registry_scan_path_level),
14298         (gst_registry_scan_path):
14299         * gst/gstregistry.h:
14300           only write out registry if it has changed, fixes #338339
14301
14302 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14303
14304         * gst/gstbin.c:
14305         * gst/gstpipeline.c:
14306         * plugins/elements/gstcapsfilter.c:
14307         * plugins/elements/gstfakesink.c:
14308         * plugins/elements/gstfakesrc.c:
14309         * plugins/elements/gstfdsink.c:
14310         * plugins/elements/gstfdsrc.c:
14311         * plugins/elements/gstfilesink.c:
14312         * plugins/elements/gstfilesrc.c:
14313         * plugins/elements/gstidentity.c:
14314         * plugins/elements/gstqueue.c:
14315         * plugins/elements/gsttee.c:
14316         * plugins/elements/gsttypefindelement.c:
14317         (gst_type_find_element_handle_event):
14318           make GstElementDetails const
14319
14320 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14321
14322         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
14323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14324         (gst_collect_pads_is_collected), (gst_collect_pads_event):
14325           more detailed debug and formatting cleanup,
14326           forward newsegments to src-pad (so that e.g. adder not eats them)
14327
14328 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14329
14330         * gst/gstutils.c: (gst_element_link_pads):
14331           cleanup double code
14332
14333 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
14334
14335         * libs/gst/controller/gstcontroller.c:
14336         (gst_controller_sync_values):
14337           some little tuning
14338         * tests/check/libs/controller.c: (GST_START_TEST),
14339         (gst_controller_suite):
14340           a new test for live value handling
14341
14342 2006-04-28  Wim Taymans  <wim@fluendo.com>
14343
14344         * gst/gstutils.c: (push_and_ref):
14345         Added some more docs.
14346         Fix refcount issue whith gst_element_found_tags() helper 
14347         function. Fixes #338335
14348
14349         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14350         Added testsuite for gst_element_found_tags().
14351
14352 2006-04-28  Michael Smith  <msmith@fluendo.com>
14353
14354         * gst/gstvalue.c: (gst_value_serialize_flags):
14355           Avoid NULL dereference when trying to serialize flags containing
14356           invalid values.
14357
14358 2006-04-28  Michael Smith  <msmith@fluendo.com>
14359
14360         * plugins/elements/gsttypefindelement.c:
14361         (gst_type_find_element_handle_event):
14362           If we get EOS before any data is accumulated, don't use
14363           uninitialised local variables.
14364
14365 2006-04-28  Michael Smith  <msmith@fluendo.com>
14366
14367         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14368         (gst_dp_event_from_packet):
14369           Fixes in reading/writing events over GDP (not currently used?) - 
14370           dereferencing NULL events for unknown/invalid event types, memory
14371           leak, and change g_warning to GST_WARNING.
14372
14373 2006-04-28  Wim Taymans  <wim@fluendo.com>
14374
14375         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
14376         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14377         (gst_base_sink_get_position), (gst_base_sink_change_state):
14378         When frame dropping is enabled, we should not ignore frames
14379         without a duration.
14380         Update some documentation.
14381
14382 2006-04-28  Wim Taymans  <wim@fluendo.com>
14383
14384         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14385         (gst_base_src_send_event), (gst_base_src_change_state):
14386         Documentation updates.
14387
14388 2006-04-28  Wim Taymans  <wim@fluendo.com>
14389
14390         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
14391         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
14392         handle EAGAIN, EINTR and short writes correctly. Also clean
14393         up some error cases, avoid a deadlock on bad file descriptors and
14394         use GST_DEBUG_OBJECT.
14395         Fixes #339843
14396
14397 2006-04-28  Wim Taymans  <wim@fluendo.com>
14398
14399         * gst/gstvalue.c: (gst_value_serialize_buffer),
14400         (gst_value_deserialize_buffer):
14401         Don't try to serialize a GValue with a NULL buffer. 
14402         Fixes #339821.
14403
14404         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14405         Added check for serialisation of NULL buffers.
14406
14407 2006-04-28  Wim Taymans  <wim@fluendo.com>
14408
14409         * gst/gstminiobject.c: (gst_value_take_mini_object):
14410         Taking a NULL miniobject is valid, fix the case where
14411         we try to unref the NULL miniobject.
14412
14413 2006-04-28  Wim Taymans  <wim@fluendo.com>
14414
14415         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
14416
14417         * gst/gstbin.c: (gst_bin_handle_message_func):
14418         Update docs.
14419         Don't leak bin refcount when a state recalc is
14420         in progress and we delay another one #339808.
14421
14422 2006-04-28  Wim Taymans  <wim@fluendo.com>
14423
14424         * docs/design/part-TODO.txt:
14425         Mention QoS as an ongoing work item.
14426
14427         * docs/design/part-buffering.txt:
14428         New doc about buffering that needs to be fleshed out
14429         at some point.
14430
14431         * docs/design/part-qos.txt:
14432         More QoS policy for decoders/demuxers/transforms
14433
14434         * docs/design/part-trickmodes.txt:
14435         Small update.
14436
14437 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14438
14439         * configure.ac:
14440           back to HEAD
14441
14442 === release 0.10.5 ===
14443
14444 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
14445
14446         * configure.ac:
14447           releasing 0.10.5, "Fogo"
14448
14449 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14450
14451         patch by: Wim Taymans
14452
14453         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
14454         (gst_pad_configure_src), (gst_pad_push):
14455         * gst/gstpipeline.c: (gst_pipeline_init):
14456           Fix internal data flow errors.  Fixes #338711.
14457
14458 2006-04-12  Wim Taymans  <wim@fluendo.com>
14459
14460         * tests/check/gst/gstelement.c: (GST_START_TEST):
14461         Don't leak the factory.
14462
14463 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14464
14465         * configure.ac:
14466         * win32/common/config.h:
14467           prerelease
14468
14469 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
14470
14471         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14472         (gst_controller_unset_all):
14473           Free allocated GstTimedValues when freeing list nodes.
14474           Should fix leaks 'make check-valgrind' complains about.
14475
14476         * win32/common/libgstcontroller.def:
14477           Add gst_controller_unset_all.
14478
14479 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
14480
14481         * docs/libs/gstreamer-libs-sections.txt:
14482         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
14483         (gst_controller_unset_all):
14484         * libs/gst/controller/gstcontroller.h:
14485         API: Added new method gst_controller_unset_all()
14486         fixed gst_controller_unset()
14487         * tests/check/libs/controller.c: (GST_START_TEST),
14488         (gst_controller_suite):
14489         Added two testcases for new and fixed method
14490
14491 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
14492
14493         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
14494           MSG_DONTWAIT is not defined on Cygwin, so work
14495           around that (fixes #317048).
14496           
14497 2006-04-11  Wim Taymans  <wim@fluendo.com>
14498
14499         * gst/gstelementfactory.c: (gst_element_register),
14500         (gst_element_factory_create), (gst_element_factory_make):
14501         Some cleanups.
14502         Fixed a FIXME.
14503         Updated docs (Fixes #131079)
14504
14505         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14506         Small cleanups.
14507
14508         * tests/check/gst/gstelement.c: (GST_START_TEST),
14509         (gst_element_suite):
14510         Added testcase for elementfactory class field.
14511
14512 2006-04-10  Wim Taymans  <wim@fluendo.com>
14513
14514         * gst/gstsegment.c:
14515         Added some more docs.
14516
14517         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
14518         (gst_base_sink_reset_qos):
14519         Calculate more accurate rate values.
14520
14521 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
14522
14523         * gst/gst_private.h:
14524           add a new #ifdef to use __declspec(dllimport) only for
14525           other modules and not for gstreamer core
14526         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
14527           use gst_guint64_to_gdouble for conversion
14528         * win32/common/libgstreamer.def:
14529           add new exported functions
14530         * win32/vs6/gst_inspect.dsp:
14531         * win32/vs6/gst_launch.dsp:
14532         * win32/vs6/libgstbase.dsp:
14533         * win32/vs6/libgstcontroller.dsp:
14534         * win32/vs6/libgstcoreelements.dsp:
14535         * win32/vs6/libgstdataprotocol.dsp:
14536         * win32/vs6/libgstnet.dsp:
14537           update project files
14538
14539 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14540
14541         * gst/gstbuffer.c: (gst_subbuffer_class_init):
14542         * gst/gstclock.c: (gst_clock_class_init):
14543         * gst/gstelement.c: (gst_element_class_init):
14544         * gst/gstindex.c: (gst_index_class_init):
14545         * gst/gstindexfactory.c: (gst_index_factory_class_init):
14546         * gst/gstobject.c: (gst_object_class_init),
14547         (gst_signal_object_class_init):
14548         * gst/gstpad.c: (gst_pad_class_init):
14549         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
14550         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
14551         * gst/gstregistry.c: (gst_registry_class_init):
14552         * gst/gstsystemclock.c: (gst_system_clock_class_init):
14553         * gst/gsttask.c: (gst_task_class_init):
14554         * gst/gstxml.c: (gst_xml_class_init):
14555         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14556         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14557         (gst_base_src_loop):
14558         * libs/gst/controller/gstcontroller.c:/
14559         (_gst_controller_class_init):
14560         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
14561         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
14562         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
14563         * tests/old/examples/plugins/example.c: (gst_example_class_init):
14564         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
14565         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
14566
14567 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
14568
14569         * gst/gstpad.c: (gst_pad_link):
14570           Must set peer pads before calling the link function, otherwise
14571           a task started from a link function might get a flow-not-linked
14572           result when trying to push because the other thread where the
14573           linking happens hasn't had a chance to set the peers yet. This
14574           might happen for example when a queue gets linked to a downstream
14575           element, as queue starts a streaming task when its source pad
14576           gets linked. Happens in real life when playing back flac/musepack
14577           files in playbin (#332390).
14578           
14579 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
14580
14581         * gst/gstindex.h:
14582         * gst/gstxml.h:
14583         * libs/gst/base/gstadapter.h:
14584         * libs/gst/base/gstbasesink.h:
14585         * libs/gst/base/gstbasesrc.h:
14586         * libs/gst/base/gstbasetransform.h:
14587         * libs/gst/base/gstcollectpads.h:
14588         * libs/gst/base/gstpushsrc.h:
14589         Fix broken GObject macros
14590
14591 2006-04-07  Wim Taymans  <wim@fluendo.com>
14592
14593         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14594         Initialize start and stop times, thanks valgrind.
14595
14596 2006-04-07  Wim Taymans  <wim@fluendo.com>
14597
14598         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14599         Be a bit nicer to badly behaving upstream elements that expect
14600         us to deal with non TIME segments and timestamps (such as fakesrc
14601         in the testsuite).
14602
14603 2006-04-07  Wim Taymans  <wim@fluendo.com>
14604
14605         * gst/gstbus.c:
14606         Small documentation clarification about the signal watch.
14607
14608         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
14609         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14610         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14611         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
14612         (gst_base_sink_get_position_last),
14613         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
14614         Convert and store timestamps in stream time and running time, the
14615         raw timestamps are not useful, also document this better.
14616         Use different window sizes for good and bad QoS observations so
14617         we react to badness a little quicker.
14618         Keep track of the amount of rendered and dropped buffers.
14619         Send QoS timestamps in running time.
14620
14621         * libs/gst/base/gstbasetransform.c:
14622         (gst_base_transform_sink_eventfunc),
14623         (gst_base_transform_handle_buffer):
14624         Compare QoS timestamps against running time.
14625
14626 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14627
14628         * gst/gstpad.c:
14629           Typo fixes in docs.
14630
14631 2006-04-06  Michael Smith  <msmith@fluendo.com>
14632
14633         * gst/gstpad.c: (gst_pad_set_property):
14634           Use g_value_get_object() instead of g_value_dup_gst_object(),
14635           to avoid double-reffing the pad template (which we then sink,
14636           so this worked previously if (and only if) the pad template
14637           was floating.
14638
14639         * gst/gstpadtemplate.c: (gst_pad_template_init),
14640         (gst_pad_template_pad_created):
14641           Never return floating references to pad templates, create
14642           them as initially-sunken.
14643
14644           Document an extra function (and make this stop sinking our
14645           pad template, since that is now guaranteed to do nothing,
14646           since we created it sunken).
14647
14648         * gst/gstghostpad.c:
14649           Fix docs typo.
14650
14651 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
14652
14653         * gst/gstinfo.c: (__gst_in_valgrind):
14654           Add some newlines.
14655
14656         * plugins/elements/gsttypefindelement.c:
14657         (gst_type_find_element_chain):
14658           Don't leak buffer caps.
14659
14660 2006-04-06  Michael Smith  <msmith@fluendo.com>
14661
14662         * gst/parse/grammar.y:
14663           Fix a leak in parse-launch for any source-or-sink named element 
14664           references used.
14665
14666         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
14667           Unref the pipeline if it exists after we've failed parsing.
14668
14669 2006-04-05  Michael Smith  <msmith@fluendo.com>
14670
14671         * gst/gstpipeline.c: (gst_pipeline_init):
14672           When we create a pipeline bus, initially create it in flushing mode.
14673           Fixes leaks in at least one test, and makes a new pipeline work the
14674           same as one that has gone to READY and then back to NULL.
14675
14676         * gst/gstelement.c:
14677           Typo fix in docs.
14678
14679 2006-04-05  Michael Smith  <msmith@fluendo.com>
14680
14681         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14682           Unref a pad we reffed.
14683         * tests/check/gst/gstutils.c: (GST_START_TEST):
14684           Unref bins
14685
14686 2006-04-05  Michael Smith  <msmith@fluendo.com>
14687
14688         * gst/gstquery.c: (gst_query_set_formats),
14689         (gst_query_set_formatsv):
14690           Fix leaking GValues in queries, as shown by valgrind/testsuite.
14691
14692 2006-04-05  Michael Smith  <msmith@fluendo.com>
14693
14694         * tests/check/generic/sinks.c: (GST_START_TEST):
14695           Fix a variety of memleaks in sinks check, which are only sometimes 
14696           shown by running the tests under valgrind (weird?).
14697
14698 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
14699
14700         * docs/version.entities.in:
14701           Fix the substituted entity name after thomas' changes on the
14702           weekend.
14703
14704 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
14705
14706         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
14707         VALGRIND_PRINTF
14708         
14709 2006-04-05  Andy Wingo  <wingo@pobox.com>
14710
14711         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
14712
14713         * libs/gst/base/gstbasetransform.c
14714         (gst_base_transform_sink_eventfunc): When resetting our segment on
14715         FLUSH_STOP, also update the flag saying we haven't seen a
14716         newsegment.
14717
14718 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14719
14720         Patch by: Paolo Borelli  <pborelli at katamail dot com>
14721
14722         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
14723         (gst_plugin_check_license):
14724           minor clean-ups: G_DEFINE_TYPE already takes care of the
14725           parent_class stuff, no need to do it twice. Mark array of
14726           license strings as constant. (#337103)
14727           
14728 2006-04-04  Michael Smith  <msmith@fluendo.com>
14729
14730         * tools/gst-inspect.c: (print_element_list):
14731           Free the right plugin list; fixes a memory leak.
14732
14733 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14734
14735         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
14736
14737         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14738           Don't error out on empty buffers (#336945).
14739           
14740 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
14741
14742         * docs/libs/gstreamer-libs-sections.txt:
14743         * gst/gsttaglist.c:
14744         * libs/gst/base/gstbasesink.c:
14745         * libs/gst/base/gstbasesink.h:
14746         * libs/gst/base/gstbasesrc.c:
14747         * libs/gst/base/gstbasesrc.h:
14748           Documentation updates. Make BaseSink and BaseSrc docs contain the
14749           class structure so that people can actually see the prototypes for
14750           virtual functions they're supposed to be overriding.
14751
14752 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
14753
14754         * plugins/elements/gsttypefindelement.c:
14755         (gst_type_find_element_chain):
14756           More debug info; when skipping typefinding, send cached
14757           events in all cases.
14758
14759 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14760
14761         * configure.ac:
14762           use new AS_VERSION and AS_NANO macros
14763         * gst/gst-i18n-lib.h:
14764         * gst/gst.c:
14765         * gst/gsterror.c:
14766         * gst/gstversion.h.in:
14767         * win32/common/config.h:
14768         * win32/common/config.h.in:
14769           update accordingly
14770
14771 2006-03-31  Michael Smith  <msmith@fluendo.com>
14772
14773         * plugins/elements/gsttypefindelement.c:
14774         (gst_type_find_element_chain):
14775           Do not typefind content if the buffers already have caps.
14776           Neccesary for icydemux (#333657), and the right thing to do anyway.
14777
14778 2006-03-30  Wim Taymans  <wim@fluendo.com>
14779
14780         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14781         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
14782         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
14783         (gst_base_sink_record_qos_observation),
14784         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14785         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14786         (gst_base_sink_change_state):
14787         More QoS measurements as described in the design doc.
14788         Get rid of ringbuffer with observations, running average is
14789         more simple and equally good.
14790         Calculates valid proportion now.
14791         Added beginning of flood measurement.
14792
14793 2006-03-29  Wim Taymans  <wim@fluendo.com>
14794
14795         * docs/design/part-qos.txt:
14796         * gst/gstclock.c:
14797         Small documentation updates and additions.
14798
14799 2006-03-29  Wim Taymans  <wim@fluendo.com>
14800
14801         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14802         (gst_base_src_send_event), (gst_base_src_loop),
14803         (gst_base_src_change_state):
14804         Perform the EOS logic when we reach the segment stop position.
14805         Fix compilation on gcc4.1
14806
14807 2006-03-29  Wim Taymans  <wim@fluendo.com>
14808
14809         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14810
14811         * plugins/elements/gstqueue.c: (gst_queue_init),
14812         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14813         (gst_queue_set_property):
14814         * plugins/elements/gstqueue.h:
14815         In queue, when EOS is received, if minimum threshold > max_size -
14816         current_level, there is chance that queue blocks forever in conditional
14817         item del wait. This is because the queue is not emptied completely due
14818         to minimum threshold.  Here is another approach. Instead of setting
14819         cur_levels to max in EOS, just zero all minimum threshold levels. This
14820         should make sure that queue gives out all data. When going to READY
14821         (stop) state, just reset the original minimum threshold levels.
14822         Fixes #336336.
14823
14824 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
14825
14826         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14827         (gst_type_find_element_handle_event),
14828         (gst_type_find_element_send_cached_events),
14829         (gst_type_find_element_change_state):
14830         * plugins/elements/gsttypefindelement.h:
14831           When typefinding is done in push mode, we should cache
14832           events we receive during typefinding instead of just
14833           dropping them (e.g. newsegment, custom events from
14834           dvdreadsrc etc.) and then send them out once we've
14835           determined the type of the stream (and decodebin
14836           has had a chance to plug in a decoder/demuxer).
14837           
14838 2006-03-27  Wim Taymans  <wim@fluendo.com>
14839
14840         * docs/design/part-qos.txt:
14841         First QoS ideas.
14842
14843 2006-03-27  Wim Taymans  <wim@fluendo.com>
14844
14845         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14846
14847         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14848         (gst_base_src_send_event), (gst_base_src_change_state):
14849         Handle element seek correctly when we are streaming.
14850         Fixes #326998.
14851
14852 2006-03-24  Michael Smith  <msmith@fluendo.com>
14853
14854         * docs/faq/gst-uninstalled:
14855           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14856           allow you to correctly run intalled applications built against old 
14857           core, using plugins that require updated core (e.g. running
14858           installed totem against a full uninstalled gstreamer stack)
14859
14860 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14861
14862         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14863         more debug details
14864
14865 2006-03-24  Wim Taymans  <wim@fluendo.com>
14866
14867         * docs/gst/gstreamer-sections.txt:
14868         Rearrange the order of the methods so that related methods
14869         are grouped together in sections.
14870
14871 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14872
14873         * gst/gstelement.c:
14874           Little clarification in the docs
14875
14876 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
14877
14878         * docs/README:
14879         formatting fix
14880         * plugins/elements/gstidentity.c:
14881         * plugins/elements/gstqueue.c:
14882         * plugins/elements/gsttee.c:
14883         * plugins/elements/gsttypefindelement.c:
14884         GST_ELEMENT_DETAILS formatting
14885
14886 2006-03-24  Wim Taymans  <wim@fluendo.com>
14887
14888         * libs/gst/base/gstbasesink.h:
14889         Only add fields, not insert or we break ABI.
14890
14891 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14892
14893         * win32/common/libgstbase.def:
14894         * win32/common/libgstreamer.def:
14895           Update, add recently added functions.
14896
14897 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14898
14899         * docs/gst/gstreamer-sections.txt:
14900         * gst/gstutils.c: (gst_pad_query_peer_position),
14901         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14902         * gst/gstutils.h:
14903           API: add some new utility functions:
14904            - gst_pad_query_peer_position()
14905            - gst_pad_query_peer_duration()
14906            - gst_pad_query_peer_convert()
14907           
14908 2006-03-23  Wim Taymans  <wim@fluendo.com>
14909
14910         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14911         (gst_base_sink_init), (gst_base_sink_finalize),
14912         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14913         (gst_base_sink_set_property), (gst_base_sink_get_property),
14914         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14915         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14916         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14917         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14918         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14919         (gst_base_sink_preroll_object), (gst_base_sink_event),
14920         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14921         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14922         (gst_base_sink_query), (gst_base_sink_change_state):
14923         Decouple max-lateness and the fact that QoS messages are generated
14924         with a new property (qos).
14925         added API: GstBaseSink::async_play()
14926         Add vmethod so subclasses can be notified of ASYNC playing
14927         state changes.
14928         Collect timestamp start and stop to report better current
14929         position in EOS/PLAYING/PAUSED/READY/NULL.
14930         Refactor QoS/frame dropping and other measurements.
14931         API: GstBaseSrc::qos
14932         Fixes #326311
14933
14934         * libs/gst/base/gstbasesink.h:
14935         Added Private struct.
14936         API: gst_base_sink_set_qos_enabled()
14937         API: gst_base_sink_is_qos_enabled()
14938
14939 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
14940
14941         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14942           If compiling against GLib-2.8 or newer, try to read the
14943           registry file using GMappedFile first before falling back
14944           to fopen() + fread() (#332151).
14945
14946 2006-03-22  Wim Taymans  <wim@fluendo.com>
14947
14948         * gst/gstinfo.c: (gst_debug_set_active),
14949         (gst_debug_category_set_threshold):
14950         Disable debugging unless explicitly activated.
14951         Fixes #335480.
14952
14953 2006-03-22  Wim Taymans  <wim@fluendo.com>
14954
14955         * gst/gstelement.c: (gst_element_set_locked_state),
14956         (gst_element_dispose):
14957         Cleanup the error case.
14958
14959         * gst/gstobject.c: (gst_object_dispose):
14960         print a critical when some object was disposed with
14961         a parent, also revive the object since it might
14962         crash the parent.
14963
14964 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14965
14966         * tools/gst-launch.1.in:
14967           Fix another typo.
14968
14969 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14970
14971         * configure.ac:
14972         * tests/check/Makefile.am:
14973           disable some tests when we don't have a registry
14974         * tests/check/gst/gstutils.c: (gst_utils_suite):
14975           don't build the part that needs parsing
14976
14977 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14978
14979         * gst/Makefile.am
14980         * tests/examples/Makefile.am:
14981           fix --disable-parse build
14982
14983 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14984
14985         * tools/gst-feedback.1.in:
14986           Fix typo: s/feeback/feedback/ (#133494).
14987
14988 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * tools/Makefile.am:
14991         * tools/gst-launch.1.in:
14992           Add FILES section and correct entry about GST_REGISTRY_PATH
14993           environment variable (#133495; #133494).
14994
14995 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14996
14997         * tools/Makefile.am:
14998         * tools/gst-md5sum.1.in:
14999         * tools/gst-md5sum.c:
15000           Remove gst-md5sum and man page (the md5sink element
15001           required was removed ages ago)
15002
15003 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15004
15005         * gst/gststructure.c: (gst_structure_id_set_value):
15006           Make sure that string fields in structures/taglists
15007           contain valid UTF-8 - we don't want to pass rubbish to
15008           applications because of a buggy plugin (cp. #334167).
15009
15010 2006-03-21  Edward Hervey  <edward@fluendo.com>
15011
15012         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15013         (gst_bin_handle_message_func):
15014         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
15015         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
15016         (gst_element_set_bus_func):
15017         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
15018         * gst/gstminiobject.c: (gst_value_set_mini_object),
15019         (gst_value_take_mini_object):
15020         * gst/gstpad.c: (gst_pad_set_pad_template):
15021         * gst/gstpipeline.c: (gst_pipeline_dispose),
15022         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
15023         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
15024         (gst_collect_pads_chain):
15025         * libs/gst/net/gstnettimeprovider.c:
15026         (gst_net_time_provider_set_property):
15027         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
15028         It's in fact all issues with gst_*object_replace().
15029
15030 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
15031
15032         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
15033         
15034         * pkgconfig/gstreamer-check-uninstalled.pc.in:
15035         * pkgconfig/gstreamer-check.pc.in:
15036           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
15037
15038 2006-03-21  Edward Hervey  <edward@fluendo.com>
15039
15040         * gst/gstbuffer.h:
15041         * gst/gstevent.h:
15042         * gst/gstmessage.h:
15043         gst_[buffer|event|message]_ref() macros are replaced by a static
15044         inline functions because gcc-4.1 will about if the return value
15045         isn't used.
15046         * tests/check/gst/gstevent.c: (event_probe):
15047         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
15048
15049 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
15050
15051         * gst/gstutils.h:
15052         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
15053         the type' case. (Closes: #335195 for now). In the future, when we
15054         depend on GLib 2.10, we could also intern the type name using
15055         g_intern_static_string()
15056
15057 2006-03-20  Wim Taymans  <wim@fluendo.com>
15058
15059         * gst/gstbin.c: (gst_bin_handle_message_func),
15060         (bin_query_max_init), (bin_query_position_fold),
15061         (bin_query_position_done), (gst_bin_query):
15062         Position query should also take max of all streams.
15063
15064 2006-03-20  Wim Taymans  <wim@fluendo.com>
15065
15066         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15067         (gst_fake_src_finalize):
15068         Fix leaks in fakesrc.
15069
15070         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
15071         Fix leaks in the testcase.
15072
15073 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
15074
15075         * gst/gst_private.h:
15076           add win32 specific import decoration(__declspec(dllimport)) 
15077           for all extern GstDebugCategory * variables
15078         * win32/common/libgstbase.def:
15079         * win32/common/libgstcontroller.def:
15080         * win32/common/libgstreamer.def:
15081           Add some exports, remove empty lines
15082         * win32/common/libgstdataprotocol.def:
15083         * win32/common/libgstdataprotocol.dsp:
15084         * win32/common/libgstnet.def:
15085         * win32/common/libgstnet.dsp:
15086           new project files and exportation files added
15087         
15088 2006-03-19  Wim Taymans  <wim@fluendo.com>
15089
15090         * tests/check/libs/basesrc.c: (eos_event_counter):
15091         Use proper return value for probe.
15092
15093 2006-03-17  Wim Taymans  <wim@fluendo.com>
15094
15095         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15096         (gst_pad_push):
15097         Don't leak buffers, caps and pads on negotiation errors.
15098
15099 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
15100
15101         * docs/faq/cvs.xml:
15102         * docs/faq/dependencies.xml:
15103         * docs/faq/developing.xml:
15104         * docs/faq/faq.xml:
15105         * docs/faq/general.xml:
15106         * docs/faq/getting.xml:
15107         * docs/faq/legal.xml:
15108         * docs/faq/troubleshooting.xml:
15109         * docs/faq/using.xml:
15110         Faq review and update.
15111
15112 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
15113
15114         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
15115         (gst_pad_push):
15116         Don't pound the cpu to pieces by checking get_caps when accept_caps
15117         is called with the same caps as the pad already has.
15118         Use GST_DEBUG_OBJECT when outputting caps change information.
15119
15120 2006-03-15  Wim Taymans  <wim@fluendo.com>
15121
15122         * gst/gstclock.c: (gst_clock_class_init):
15123         Fix docs.
15124
15125 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
15126
15127         * gst/gstbuffer.h:
15128         Documentation fix.
15129
15130         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
15131         (gst_pad_accept_caps), (gst_pad_configure_sink),
15132         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
15133         Make the default acceptcaps behaviour be to check the requested 
15134         caps against the gst_pad_get_caps output. 
15135
15136         Ensure that gst_pad_accept_caps is used to check caps when a pad
15137         doesn't have a setcaps function, so that pads automatically refuse 
15138         caps that they don't allow in their pad template. (Fixes #332986)
15139
15140         When a buffer with attached caps is pushed, ensure that the source 
15141         pad receives those caps even if the element didn't call
15142         gst_pad_set_caps first.
15143
15144 2006-03-15  Wim Taymans  <wim@fluendo.com>
15145
15146         * libs/gst/base/gstadapter.c:
15147         Add some docs.
15148
15149 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
15150
15151         * win32/common/libgstbase.def:
15152         * win32/common/libgstcontroller.def:
15153         * win32/common/libgstreamer.def:
15154           Add a whole bunch of missing functions (#334434).
15155
15156 2006-03-14  Wim Taymans  <wim@fluendo.com>
15157
15158         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
15159         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15160         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
15161         Better debug info when we receive a segment event.
15162         Reorganize a bit so we can pass the get_times() results around.
15163         Use the segment format when calculating the running time.
15164         Don't do QoS is sync is disabled or we have no clock or the
15165         element does not want us to sync to the clock.
15166         Don't drop buffers if QoS is disabled for now.
15167
15168 2006-03-14  Wim Taymans  <wim@fluendo.com>
15169
15170         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
15171         Marked the stats property as unimplemented so people don't get
15172         wild ideas.
15173         Add debug message when regression goes wrong.
15174         Added some more docs.
15175
15176 2006-03-14  Wim Taymans  <wim@fluendo.com>
15177
15178         * gst/gstsegment.c: (gst_segment_to_stream_time):
15179         Return correct return type in case of errors.
15180
15181 2006-03-14  Wim Taymans  <wim@fluendo.com>
15182
15183         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
15184           Don't segfault on invalid formats.
15185
15186 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15187
15188         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15189           Can't use gst_segment_to_running_time() when the segment
15190           is not in GST_TIME_FORMAT (like with filesink, for example).
15191           Stops flac encoding pipelines from spewing critical warnings
15192           at EOS (#331248).
15193           
15194 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
15195
15196         * gst/gstpipeline.c: (gst_pipeline_class_init):
15197           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
15198
15199         * plugins/elements/gsttypefindelement.c:
15200         (gst_type_find_element_handle_event):
15201           Don't try to typefind empty streams.
15202
15203 2006-03-14  Wim Taymans  <wim@fluendo.com>
15204
15205         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15206         (gst_base_sink_do_qos):
15207         Separate QoS calculation.
15208         Only drop buffers when lateness is bigger than the 
15209         duration of the buffer.
15210
15211 2006-03-13  Wim Taymans  <wim@fluendo.com>
15212
15213         * gst/gstpipeline.c: (gst_pipeline_set_property),
15214         (gst_pipeline_get_property), (do_pipeline_seek),
15215         (gst_pipeline_change_state), (gst_pipeline_set_delay),
15216         (gst_pipeline_get_delay):
15217         Don't deadlock when reading properties.
15218
15219 2006-03-13  Wim Taymans  <wim@fluendo.com>
15220
15221         * libs/gst/base/gstbasetransform.c:
15222         (gst_base_transform_class_init), (gst_base_transform_init),
15223         (gst_base_transform_sink_event),
15224         (gst_base_transform_sink_eventfunc),
15225         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
15226         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
15227         (gst_base_transform_set_property),
15228         (gst_base_transform_get_property),
15229         (gst_base_transform_change_state), (gst_base_transform_update_qos),
15230         (gst_base_transform_set_qos_enabled),
15231         (gst_base_transform_is_qos_enabled):
15232         * libs/gst/base/gstbasetransform.h:
15233         Make basetransform virtual method for src events too.
15234         Handle QOS in basetransform.
15235         API: gst_base_transform_update_qos()
15236         API: gst_base_transform_set_qos_enabled()
15237         API: gst_base_transform_is_qos_enabled()
15238
15239 2006-03-13  Wim Taymans  <wim@fluendo.com>
15240
15241         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15242         (gst_base_sink_do_sync):
15243         Small cleanups.
15244         Use QOS debug category.
15245
15246 2006-03-13  Wim Taymans  <wim@fluendo.com>
15247
15248         * plugins/elements/gstqueue.c:
15249         Very small doc update.
15250
15251 2006-03-13  Wim Taymans  <wim@fluendo.com>
15252
15253         * gst/gst_private.h:
15254         * gst/gstinfo.c: (_gst_debug_init):
15255         Added QOS debug category
15256
15257 2006-03-13  Wim Taymans  <wim@fluendo.com>
15258
15259         * docs/gst/gstreamer-sections.txt:
15260         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
15261         * gst/gstbin.h:
15262         * gst/gstbus.c: (gst_bus_class_init):
15263         * gst/gstbus.h:
15264         * gst/gstclock.c:
15265         * gst/gstelement.c: (gst_element_set_locked_state):
15266         * gst/gstsegment.c:
15267         Documentation updates.
15268
15269         * gst/gstpipeline.c: (gst_pipeline_get_type),
15270         (gst_pipeline_class_init), (gst_pipeline_init),
15271         (gst_pipeline_dispose), (gst_pipeline_set_property),
15272         (gst_pipeline_get_property), (do_pipeline_seek),
15273         (gst_pipeline_send_event), (gst_pipeline_change_state),
15274         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
15275         (gst_pipeline_get_delay):
15276         * gst/gstpipeline.h:
15277         Added methods for setting the delay.
15278         API: gst_pipeline_set_delay()
15279         API: gst_pipeline_get_delay()
15280         Add pipeline debug category
15281         Various cleanups.
15282         Updated docs.
15283         Don't reset stream time when seek failed.
15284
15285 2006-03-13  Wim Taymans  <wim@fluendo.com>
15286
15287         * docs/design/draft-klass.txt:
15288         * docs/design/part-clocks.txt:
15289         * docs/design/part-events.txt:
15290         * docs/design/part-gstbin.txt:
15291         * docs/design/part-gstpipeline.txt:
15292         * docs/design/part-messages.txt:
15293         * docs/design/part-negotiation.txt:
15294         * docs/design/part-overview.txt:
15295         * docs/design/part-preroll.txt:
15296         * docs/design/part-seeking.txt:
15297         * docs/design/part-states.txt:
15298         * docs/design/part-streams.txt:
15299         Documentation updates.
15300
15301 2006-03-12  Julien MOUTTE  <julien@moutte.net>
15302
15303         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
15304         us to leak strings...
15305
15306 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15307
15308         * libs/gst/net/gstnettimeprovider.c:
15309           fix docs
15310         * win32/common/config.h:
15311           update
15312
15313 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
15314
15315         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
15316
15317         * configure.ac:
15318           Don't check for libgnomeui (leftover from old examples
15319           that aren't built or disted any longer) (#334303).
15320           
15321 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
15322
15323         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
15324         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
15325           Emit RESOURCE_NO_SPACE_LEFT error here as well when
15326           there's no space left on the device.
15327
15328 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
15329
15330         * gst/gstclock.h:
15331           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
15332           to cast the input to GstClockTime before comparing with
15333           another GstClockTime value.
15334
15335 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
15336
15337         * configure.ac:
15338           back to trunk
15339
15340 === release 0.10.4 ===
15341
15342 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
15343
15344         * configure.ac:
15345           releasing 0.10.4, "Light"
15346
15347 2006-03-10  Michael Smith  <msmith@fluendo.com>
15348
15349         * libs/gst/dataprotocol/dataprotocol.c:
15350           Fix docs for dataprocotol to not get the return types completely
15351           wrong for a few functions.
15352
15353 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15354
15355         * docs/gst/gstreamer-sections.txt:
15356         * gst/gstpipeline.c: (gst_pipeline_class_init),
15357         (gst_pipeline_init), (gst_pipeline_set_property),
15358         (gst_pipeline_get_property), (gst_pipeline_change_state),
15359         (gst_pipeline_set_auto_flush_bus),
15360         (gst_pipeline_get_auto_flush_bus):
15361         * gst/gstpipeline.h:
15362           Add new API: gst_pipeline_set_auto_flush_bus() and
15363           gst_pipeline_get_auto_flush_bus() to disable automatic
15364           flushing of the pipeline's GstBus when going from READY
15365           to NULL state (#332045).
15366
15367 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15368
15369         * docs/gst/gstreamer-sections.txt:
15370         * gst/gsturi.c: (gst_uri_has_protocol):
15371         * gst/gsturi.h:
15372            Add new API: gst_uri_has_protocol() (#333779).
15373
15374 2006-03-09  Wim Taymans  <wim@fluendo.com>
15375
15376         * gst/gstclock.c: (gst_clock_entry_new),
15377         (gst_clock_id_compare_func), (gst_clock_id_wait),
15378         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
15379         (gst_clock_init), (gst_clock_get_internal_time),
15380         (gst_clock_set_master), (do_linear_regression),
15381         (gst_clock_add_observation), (gst_clock_set_property):
15382         * gst/gstclock.h:
15383         Review docs.
15384         Small cleanups.
15385         Fix a possible segfault when the window-size is made smaller.
15386         Calculate jitter before performing the clock wait. Ideally
15387         the clock implementation should calculate jitter but we need
15388         API breakage for that.
15389
15390         * gst/gstsystemclock.c: (gst_system_clock_init):
15391         Docs review.
15392         
15393         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15394         Remove leftover else
15395
15396         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
15397         (gst_systemclock_suite):
15398         Added check to test GST_CLOCK_DIFF.
15399
15400 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
15401
15402         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
15403         (gst_type_find_helper_get_range):
15404           If we are provided with the size, we should implement
15405           GstTypeFind::get_length, so that typefind functions who
15406           want to can actually peek at the middle of a file.
15407
15408 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
15409
15410         * docs/manual/advanced-dataaccess.xml:
15411           Add some very very basic error checking.
15412
15413         * docs/pwg/appendix-checklist.xml:
15414           Some updates to the list of things to check when writing an element.
15415
15416 2006-03-08  Wim Taymans  <wim@fluendo.com>
15417
15418         * docs/design/part-element-transform.txt:
15419         Added some docs about the design of tranform elements.
15420
15421         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
15422         (gst_base_src_loop), (gst_base_src_change_state):
15423         Mark buffers with the DISCONT flag.
15424
15425 2006-03-08  Michael Smith  <msmith@fluendo.com>
15426
15427         * gst/gstregistry.h:
15428         * gst/gstregistryxml.c: (gst_registry_save),
15429         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
15430         (gst_registry_xml_save_pad_template),
15431         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
15432         (gst_registry_xml_write_cache):
15433           Rewrite registry-saving to avoid race conditions and check for
15434           failed writes.
15435
15436 2006-03-08  Wim Taymans  <wim@fluendo.com>
15437
15438         * libs/gst/base/gstbasetransform.c:
15439         (gst_base_transform_transform_caps),
15440         (gst_base_transform_transform_size),
15441         (gst_base_transform_prepare_output_buffer),
15442         (gst_base_transform_get_unit_size),
15443         (gst_base_transform_buffer_alloc),
15444         (gst_base_transform_handle_buffer),
15445         (gst_base_transform_change_state):
15446         Cleanups, separate normal flow from errors, add sensible
15447         DEBUG lines.
15448         Don't try to renegotiate when allocating an output buffer.
15449         Also copy DISCONT buffer flag when copying a buffer.
15450         Reset the transform after we finish streaming, not during.
15451
15452 2006-03-08  Wim Taymans  <wim@fluendo.com>
15453
15454         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15455         Use last buffer timestamp in qos message.
15456
15457 2006-03-07  Wim Taymans  <wim@fluendo.com>
15458
15459         Patch by: Christophe Fergeau
15460
15461         * docs/pwg/advanced-tagging.xml:
15462         * docs/pwg/building-pads.xml:
15463           fixes #333416
15464
15465 2006-03-07  Wim Taymans  <wim@fluendo.com>
15466
15467         * docs/libs/gstreamer-libs-sections.txt:
15468         Added basesink new methods.
15469
15470         * gst/gstevent.c:
15471         * gst/gstevent.h:
15472         Docs updates. Flesh out the QoS docs.
15473
15474         * libs/gst/base/gstadapter.c:
15475         Small doc clarification about ownership and flushing.
15476
15477         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
15478         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
15479         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
15480         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15481         * libs/gst/base/gstbasesink.h:
15482         API additions: 
15483         Added new methods to allow subclass to control max-lateness 
15484         and sync.
15485         Generate very basic QoS events based on last sync observation.
15486         Updated docs, fix typo, added some QoS blurb.
15487
15488         * libs/gst/base/gstbasesrc.c:
15489         Remove obsolete _get_state() calls from docs.
15490
15491 2006-03-07  Wim Taymans  <wim@fluendo.com>
15492
15493         * docs/libs/gstreamer-libs-sections.txt:
15494         * libs/gst/base/gstbasetransform.h:
15495         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
15496         Fix docs for GstBaseSrc.
15497
15498 2006-03-07  Wim Taymans  <wim@fluendo.com>
15499
15500         * docs/gst/gstreamer-sections.txt:
15501         * gst/gstbuffer.h:
15502         * gst/gstvalue.c:
15503         * libs/gst/base/gstbasetransform.h:
15504         Small documentation fixes.
15505
15506 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15507
15508         * gst/gstvalue.c:
15509           Document thread-unsafety of gst_value_register_foo_func()
15510           when used at the same time as gst_value_foo() (#322628).
15511
15512 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
15513
15514         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
15515         (gst_push_src_check_get_range):
15516           Push sources don't support pull mode by default.
15517
15518 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15519
15520         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15521         (gst_base_src_init), (gst_base_src_pad_check_get_range),
15522         (gst_base_src_default_check_get_range):
15523         * libs/gst/base/gstbasesrc.h:
15524           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
15525           provide default implementation, and rename
15526           gst_base_src_check_get_range() to
15527           gst_base_src_pad_check_get_range() for clarity.
15528
15529 2006-03-06  Wim Taymans  <wim@fluendo.com>
15530
15531         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
15532         Make property overridable.
15533
15534 2006-03-06  Wim Taymans  <wim@fluendo.com>
15535
15536         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15537         (gst_base_sink_init), (gst_base_sink_set_property),
15538         (gst_base_sink_get_property), (gst_base_sink_do_sync):
15539         * libs/gst/base/gstbasesink.h:
15540         API addition: Make max-lateness a property.
15541
15542 2006-03-06  Wim Taymans  <wim@fluendo.com>
15543
15544         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
15545         (gst_base_sink_do_sync), (gst_base_sink_render_object):
15546         Don't ever draw a frame that is >10ms late.
15547
15548 2006-03-06  Michael Smith  <msmith@fluendo.com>
15549
15550         * gst/gstmessage.c: (_gst_message_copy):
15551           When copying a message, set the parent_refcount of the enclosed
15552           structure to point at the copy, not the original message.
15553
15554 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
15555
15556         Patch by: Christophe Fergeau
15557
15558         * gst/gstutils.h:
15559           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
15560           usable in c++ code (#333417)
15561
15562 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15563
15564         * gst/gstclock.h:
15565           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
15566
15567 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
15568
15569         * libs/gst/base/gstbasetransform.c:
15570         (gst_base_transform_transform_caps):
15571           Make sure caps are writable before passing them to
15572           gst_caps_append().
15573
15574 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15575
15576         * gst/gsterror.h:
15577           Fix some minor docs errors.
15578
15579 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
15580
15581           Patch by: Ross Burton <ross at burtonini dot com>
15582
15583         * gst/gsterror.c: (_gst_resource_errors_init):
15584         * gst/gsterror.h:
15585           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
15586
15587 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15588
15589         * gst/gst.c:
15590         Add a check and output a g_warning when GStreamer is built
15591         against GLib 2.6 but running against 2.8 or higher, and vice 
15592         versa. (Closes: #323542)
15593
15594 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
15595
15596         * gst/parse/parse.l:
15597           Commit patch for parse_launch syntax from #331255. Removes 
15598           support for quoted strings and mimetypes when writing filtered 
15599           caps. See the bug report for more details - I'm pretty sure this
15600           obscure feature is not in use by _anyone_ anywhere.
15601
15602           With this simple change, the size of the gstreamer.so here 
15603           drops from 2193KB to 1565KB.
15604
15605 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15606
15607         * plugins/elements/gsttypefindelement.h:
15608         * plugins/elements/gsttypefindelement.c:
15609         (gst_type_find_element_src_event), (start_typefinding),
15610         (stop_typefinding), (gst_type_find_element_handle_event),
15611         (gst_type_find_element_chain),
15612         (gst_type_find_element_chain_do_typefinding):
15613           Use gst_type_find_helper_for_buffer() for chain-based
15614           typefinding.
15615
15616 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15617
15618         * plugins/elements/gsttypefindelement.c:
15619         (gst_type_find_element_class_init),
15620         (gst_type_find_element_set_property),
15621         (gst_type_find_element_get_property):
15622           Deprecate "maximum" property (not only was it only taken into
15623           account for typefinding in push-mode anyway, it also was never
15624           actually possible to set it in the first place because the
15625           property was registered with the numeric property ID for the
15626           "minimum" property). Register "maximum" property correctly,
15627           for the sake of future copy'n'pasters. Remove some cruft
15628           from property get/set functions.
15629
15630 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
15631
15632         * plugins/elements/gsttypefindelement.c:
15633         (gst_type_find_element_activate):
15634           Use gst_type_find_helper_get_range() here, so we
15635           can honour the "minimum" property and also emit
15636           the signal with the correct probability of the found caps.
15637
15638 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
15639
15640         * docs/libs/gstreamer-libs-sections.txt:
15641         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
15642         (helper_find_suggest), (gst_type_find_helper_get_range),
15643         (gst_type_find_helper):
15644         * libs/gst/base/gsttypefindhelper.h:
15645           New API: gst_type_find_helper_get_range() (#333042).
15646
15647 2006-03-02  Michael Smith  <msmith@fluendo.com>
15648
15649         * gst/gstregistryxml.c: (load_feature):
15650           Asserting on a failure to read part of the registry is Not Cool.
15651           Just log a warning and return NULL (which is already handled)
15652
15653 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
15654
15655         * win32/common/libgstbase.def:
15656           added export of gst_type_find_helper_for_buffer
15657         * win32/common/libgstbase.def:
15658           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
15659           gst_ghost_pad_get_target
15660
15661 2006-02-28  Wim Taymans  <wim@fluendo.com>
15662
15663         * docs/design/draft-klass.txt:
15664         We use Filter now.
15665         Added Connector to mark elements that are only used to
15666         allow pipeline connections.
15667         Moved Debug to extra feature since most of them are 
15668         functionally something else.
15669
15670 2006-02-28  Wim Taymans  <wim@fluendo.com>
15671
15672         * docs/design/draft-klass.txt:
15673         Some updates and clarifications.
15674
15675 2006-02-28  Wim Taymans  <wim@fluendo.com>
15676
15677         * docs/design/draft-klass.txt:
15678         Proposal for klass field values.
15679
15680         * docs/design/part-streams.txt:
15681         Start of a doc describing stream anatomy.
15682
15683 2006-02-28  Wim Taymans  <wim@fluendo.com>
15684
15685         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
15686         Help the compiler a bit with type registration.
15687         Use existing forward cod path instead of duplicating it when 
15688         handling a message.
15689         
15690         * gst/gstbus.c: (gst_bus_get_type):
15691         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
15692         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
15693         * gst/gstclock.c: (gst_clock_get_type):
15694         * gst/gstelement.c: (gst_element_get_type),
15695         * gst/gstelementfactory.c: (gst_element_factory_get_type):
15696         * gst/gstindexfactory.c: (gst_index_factory_get_type):
15697         * gst/gstminiobject.c: (gst_mini_object_get_type):
15698         * gst/gstpad.c: (gst_pad_get_type):
15699         * gst/gstsegment.c: (gst_segment_get_type):
15700         * gst/gststructure.c: (gst_structure_get_type):
15701         * gst/gstsystemclock.c: (gst_system_clock_get_type):
15702         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
15703         * gst/gstvalue.c:
15704         Help compiler with type registration.
15705
15706         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
15707         Small doc update.
15708
15709 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15710
15711         * plugins/elements/gsttypefindelement.c:
15712         (gst_type_find_element_handle_event):
15713           When we get an EOS event and have not found a type yet
15714           (most likely because we had not yet accumulated
15715           TYPE_FIND_MIN_SIZE of data yet), try to determine the
15716           type given the data we have so far. Fixes typefinding
15717           for very short streams again, most notably quicktime
15718           redirections as used on Apple's trailer site (#331701).
15719
15720 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15721
15722         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
15723         (gst_type_find_helper):
15724           Try typefinding factories with the highest rank first.
15725
15726 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15727
15728         * docs/libs/gstreamer-libs-docs.sgml:
15729         * docs/libs/gstreamer-libs-sections.txt:
15730         * libs/gst/base/gsttypefindhelper.c:
15731           Add section for typefind helper and add documentation
15732           for the old and the new function.
15733
15734 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15735
15736         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
15737         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
15738         (gst_type_find_helper_for_buffer):
15739         * libs/gst/base/gsttypefindhelper.h:
15740           New API: gst_type_find_helper_for_buffer() (#332723).
15741           
15742 2006-02-27  Michael Smith  <msmith@fluendo.com>
15743
15744         Patch by: Loïc Minier
15745
15746         * configure.ac:
15747         * docs/Makefile.am:
15748         * docs/slides/Makefile.am:
15749           prevent CVS directories getting disted.
15750
15751 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
15752
15753         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
15754           Use the REFCOUNTING category for caps refcounting.
15755           
15756 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15757
15758         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15759           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
15760
15761 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
15762
15763         * plugins/elements/gsttypefindelement.c:
15764         (gst_type_find_element_activate):
15765           Use gst_pad_check_pull_range() before _activate_pull()
15766           to avoid unnecessary open/close (see #331690).
15767
15768 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15769
15770         * gst/gstutils.c:
15771           Docs enhancement: make it crystal clear what the
15772           gst_pad_add_*_probe() callbacks should look like.
15773
15774 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
15775
15776         * libs/gst/base/gstbasesrc.c:
15777           Document how applications can stop recording from
15778           live sources (see #330996).
15779
15780 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15781
15782         * tests/check/Makefile.am:
15783         * tests/check/libs/basesrc.c: (eos_event_counter),
15784         (basesrc_eos_events_pull), (basesrc_eos_events_push),
15785         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
15786         (gst_basesrc_suite), (main):
15787           ... and add some tests for the base source EOS stuff.
15788
15789 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15790
15791         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
15792           Test case originally showed the problem fixed below,
15793           but was then amended. Add checks back at the place
15794           where they used to be.
15795
15796 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15797
15798         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15799         (gst_base_src_init), (gst_base_src_loop),
15800         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15801         (gst_base_src_change_state):
15802         * libs/gst/base/gstbasesrc.h:
15803           Don't unconditionally send EOS when going from PAUSED to
15804           READY state, esp. make sure we don't send two EOS events
15805           in some cases (e.g. one when reaching EOS and one when
15806           going from PAUSED to READY). Also, we don't want to send
15807           EOS events when operating in pull mode. However, we do
15808           want to send an EOS event when shutting down a live
15809           source explicitly, for example (fixes #330996).
15810           
15811 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
15812
15813         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15814           Update src->read_position after a seek when not using mmap.
15815           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15816
15817 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
15818
15819         * gst/Makefile.am:
15820         * gst/gstparse.h:
15821         * gst/gstutils.c:
15822         * gst/gstutils.h:
15823         Make things work with --disable-parse as they do with 
15824         --disable-load-save - the symbols involved disappear, but the
15825         header is still installed and GST_DISABLE_PARSE is included via
15826         gstconfig.h
15827
15828 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15829
15830         * libs/gst/base/gstbasetransform.c:
15831         (gst_base_transform_change_state): Fix a stupid bug. I was 
15832         sure I compiled that.
15833
15834 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15835
15836         * gst/gstpad.c: (gst_pad_set_blocked_async):
15837         * gst/gstutils.c: (gst_pad_add_data_probe),
15838         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15839         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15840         (gst_pad_remove_buffer_probe): Make those function act on the
15841         ghostpad target when it's a ghostpad. (Closes #331727)
15842
15843 2006-02-20  Julien MOUTTE  <julien@moutte.net>
15844
15845         * libs/gst/base/gstbasetransform.c:
15846         (gst_base_transform_change_state): Make basetransform reusable.
15847         (Closes #331898)
15848
15849 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
15850
15851         * docs/random/release:
15852         Move the current documentation of how to do a release to the top
15853         of the file.
15854
15855         * gst/gstbin.c: (gst_bin_class_init),
15856         (gst_bin_handle_message_func):
15857         Allow multiple state-recalculation threads. (Closes #328873)
15858
15859 2006-02-19  Julien MOUTTE  <julien@moutte.net>
15860
15861         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15862         * gst/gstpad.c: (gst_pad_set_event_function),
15863         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15864         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15865         2 strings. You can't use the STR_NULL macro on that.
15866
15867 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
15868
15869         * gst/gstpad.c: (gst_pad_set_event_function),
15870         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15871         (gst_pad_set_getcaps_function)
15872         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15873           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15874           So now, we can use --gst-debug-level=5 on Windows
15875         * win32/common/libgstcontroller.def:
15876           Added export of gst_controller_init
15877         * win32/vs6/libgstcontroller.dsp:
15878           Fixed Release post build configuration
15879
15880 2006-02-17  Wim Taymans  <wim@fluendo.com>
15881
15882         * tests/check/gst/gstquery.c: (GST_START_TEST):
15883         Added another check.
15884
15885 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
15886
15887         * plugins/elements/gsttypefindelement.c: (find_peek):
15888           We can do peeks at non-zero offsets, as long as they
15889           fall within the buffer we have.
15890
15891 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
15892
15893         * tests/check/Makefile.am:
15894         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15895         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15896         (parse_suite), (main):
15897           Add testsuite for parse launch syntax
15898
15899 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
15900
15901         * plugins/elements/gsttypefindelement.c:
15902         (gst_type_find_element_chain):
15903           When typefinding is unsuccessful in the chain function, don't
15904           error out immediately. Only error out with NO_CAPS_FOUND if
15905           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15906           otherwise simply wait for more data so we can try typefinding
15907           again with more data later. Also, don't attempt to typefind
15908           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15909           this should improve typefinding from network sources where the
15910           size of the first buffer can be somewhat random.
15911
15912 2006-02-14  Wim Taymans  <wim@fluendo.com>
15913
15914         * docs/gst/gstreamer-sections.txt:
15915         * gst/gstpadtemplate.c:
15916         * gst/gstpadtemplate.h:
15917         Fix padtemplate docs, fixes #328805.
15918
15919 2006-02-14  Wim Taymans  <wim@fluendo.com>
15920
15921         * tools/gst-launch.c: (main):
15922         NO_PREROLL is not an ERROR so don't send confusing messages
15923         to the user.
15924
15925 2006-02-14  Wim Taymans  <wim@fluendo.com>
15926
15927         Patch by: Torsten Schoenfeld
15928
15929         * gst/gstregistry.c: (gst_registry_get_default),
15930         (_gst_registry_cleanup):
15931         Protect default registry with lock and ref/sink it.
15932         Fixes #324818
15933
15934 2006-02-14  Wim Taymans  <wim@fluendo.com>
15935
15936         * gst/gstbuffer.c:
15937         * gst/gstquery.c: (gst_query_list_add_format),
15938         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15939         (gst_query_parse_formats_nth):
15940         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15941         Docs fixes.
15942
15943 2006-02-14  Wim Taymans  <wim@fluendo.com>
15944
15945         * docs/gst/gstreamer-sections.txt:
15946         Reworked query docs.
15947
15948         * gst/gstquery.c: (gst_query_new_formats),
15949         (gst_query_list_add_format), (gst_query_set_formats),
15950         (gst_query_set_formatsv), (gst_query_parse_formats_length),
15951         (gst_query_parse_formats_nth):
15952         * gst/gstquery.h:
15953         Flesh out formats query, added some new methods.
15954         Fix part of #324398.
15955
15956         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15957         Added query creation tests.
15958
15959 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
15960
15961         * gst/gstpad.c: (fixate_value):
15962         Add a default fixation for fraction lists.
15963
15964 2006-02-13  Wim Taymans  <wim@fluendo.com>
15965
15966         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15967         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15968         (gst_task_join):
15969         * gst/gsttask.h:
15970         Detect and warn for obvious deadlocks. fixes #320340
15971         Fix error case where lock was not released.
15972
15973         * tests/check/Makefile.am:
15974         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15975         (task_func), (gst_element_suite), (main):
15976         Add task check.
15977
15978 2006-02-13  Wim Taymans  <wim@fluendo.com>
15979
15980         * docs/gst/gstreamer-sections.txt:
15981         * gst/gstbus.c:
15982         Add new functions to docs.
15983
15984 2006-02-13  Wim Taymans  <wim@fluendo.com>
15985
15986         * docs/design/part-TODO.txt:
15987         Updated TODO list, basesrc supports seeking to non-bytes
15988         formats.
15989
15990         * docs/design/part-element-sink.txt:
15991         Update docs.
15992
15993         * gst/gstbin.c: (bin_replace_message),
15994         (gst_bin_handle_message_func):
15995         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15996         * gst/gstevent.c: (gst_event_finalize):
15997         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15998         (gst_pad_send_event):
15999         Use shiny new _TYPE_NAME macros.
16000
16001         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16002         Move debug statement up.
16003
16004         * gst/gstelement.c: (gst_element_set_locked_state):
16005         Add some debugging.
16006
16007 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
16008
16009         * docs/gst/gstreamer-sections.txt:
16010         * gst/gstmessage.h:
16011         * gst/gstquery.h:
16012           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
16013           macros (#330906). Also, document the already existing
16014           GST_QUERY_TYPE macro.
16015
16016 2006-02-13  Wim Taymans  <wim@fluendo.com>
16017
16018         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
16019         (event_probe), (GST_START_TEST):
16020         Only events up to the pipeline EOS are counted, there are
16021         some more when going to NULL currently which we don't care
16022         about for now.
16023
16024 2006-02-13  Wim Taymans  <wim@fluendo.com>
16025
16026         * gst/gstpad.c: (gst_pad_send_event):
16027         Correctly check flushing and emit probes. fixes #330125
16028
16029 2006-02-10  Andy Wingo  <wingo@pobox.com>
16030
16031         * gst/gstbus.c (gst_bus_class_init): Declare our private data
16032         structure.
16033         (gst_bus_init): Cache the location of the private data in the
16034         instance structure.
16035         (gst_bus_enable_sync_message_emission) 
16036         (gst_bus_disable_sync_message_emission): Implement new public
16037         functions.
16038         (gst_bus_post): Emit the sync-message signal if the user asked for
16039         it. Fixes #330684.
16040
16041         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
16042         location of the bus-private structure.
16043         (gst_bus_enable_sync_message_emission)
16044         (gst_bus_disable_sync_message_emission): API addition
16045
16046 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
16047
16048         Patch by: Vincent Torri
16049
16050         * docs/pwg/building-boiler.xml:
16051         PWG patch from #326800
16052
16053 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
16054
16055         * configure.ac:
16056         * docs/Makefile.am:
16057         * docs/design/Makefile.am:
16058           Dist design docs.
16059
16060 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
16061
16062         * configure.ac:
16063           back to CVS
16064
16065 === release 0.10.3 ===
16066
16067 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
16068
16069         * configure.ac:
16070           releasing 0.10.3, "Like a virgin"
16071
16072 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
16073
16074         * configure.ac:
16075           2nd prerelease of 0.10.3
16076           Bump libtool versioning.
16077
16078 2006-02-07  Andy Wingo  <wingo@pobox.com>
16079
16080         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
16081         update last_stop if we're in TIME format and the timestamp is
16082         valid.
16083
16084         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
16085         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
16086         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
16087         If we get a new newsegment with a different format, adapt
16088         accordingly.
16089
16090         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
16091         of 0. Not a problem, really.
16092
16093         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
16094         warn if sync=true.
16095
16096 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
16097
16098         * configure.ac:
16099           Prelease of 0.10.3
16100
16101 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
16102
16103         * win32/vs7:
16104           project files updated to the default vs7 configuration
16105         * win32/common/libgstbase.def:
16106         * win32/common/libgstreamer.def:
16107           added new symbols,
16108           removed empty lines,
16109           sorted all exported symbols alphabetically
16110         * win32/common/dirent.c:
16111         * win32/common/dirent.h:
16112         * win32/common/gchar.h:
16113           use windows line end.
16114           
16115 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
16116
16117         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
16118           Send EOS event when stopping.
16119
16120 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
16121
16122         * docs/README:
16123           Tell folks what to do if the plugin-foobar.xml file
16124           hasn't been generated for a newly-added plugin.
16125
16126 2006-02-05  Julien MOUTTE  <julien@moutte.net>
16127
16128         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
16129         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
16130         (gst_collect_pads_start), (gst_collect_pads_stop),
16131         (gst_collect_pads_event): Collectpads now holds a reference
16132         to the GstPad that was added. Indeed we don't want to look
16133         at pads that might just go away with no warning...
16134
16135 2006-02-05  Julien MOUTTE  <julien@moutte.net>
16136
16137         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16138         (gst_collect_pads_start), (gst_collect_pads_stop),
16139         (gst_collect_pads_event), (gst_collect_pads_chain):
16140         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
16141         Mark Nauwelaerts's patch on bug #328491.
16142
16143 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
16144
16145         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
16146         (gst_utils_suite):
16147           Add some simple tests for gst_parse_bin_from_description() and
16148           gst_bin_find_unconnected_pad() (#329069).
16149
16150 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
16151
16152         * tools/gst-launch.c: (event_loop), (main):
16153           Catch errors during preroll (#320084).
16154
16155 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
16156
16157         * plugins/elements/gsttypefindelement.c:
16158         (gst_type_find_element_activate):
16159           Post TYPE_NOT_FOUND error message when typefinding
16160           is unsuccessful in the activate function as well.
16161
16162 2006-02-02  Wim Taymans  <wim@fluendo.com>
16163
16164         * docs/design/part-element-sink.txt:
16165         Updated doc.
16166
16167 2006-02-02  Wim Taymans  <wim@fluendo.com>
16168
16169         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
16170         (gst_base_sink_render_object),
16171         (gst_base_sink_queue_object_unlocked):
16172         Only keep track of prerollable items when we are 
16173         prerolling.
16174         Before rendering after preroll, always check if we
16175         have queued items.
16176         Added some more debugging.
16177
16178 2006-02-02  Wim Taymans  <wim@fluendo.com>
16179
16180         * gst/gstelement.c: (gst_element_continue_state),
16181         (gst_element_set_state_func), (gst_element_change_state):
16182         Fixed #326576, been running this for quite some time with
16183         no regressions at all.
16184
16185 2006-02-02  Wim Taymans  <wim@fluendo.com>
16186
16187         * common/gst.supp:
16188         Added more suppressions
16189
16190 2006-02-02  Wim Taymans  <wim@fluendo.com>
16191
16192         * docs/design/part-element-sink.txt:
16193         Updated document.
16194
16195         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16196         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
16197         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
16198         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
16199         (gst_base_sink_do_sync), (gst_base_sink_render_object),
16200         (gst_base_sink_preroll_object),
16201         (gst_base_sink_queue_object_unlocked),
16202         (gst_base_sink_queue_object), (gst_base_sink_event),
16203         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
16204         (gst_base_sink_loop), (gst_base_sink_activate_pull),
16205         (gst_base_sink_get_position), (gst_base_sink_change_state):
16206         * libs/gst/base/gstbasesink.h:
16207         Totally refactored matching the design doc.
16208         Use two segments, one to clip incomming buffers and another to
16209         perform sync.
16210         Handle queueing correctly, bypass the queue when playing.
16211         Make EOS cancelable.
16212         Handle errors correctly when operating in pull based mode.
16213
16214         * tests/check/elements/fakesink.c: (GST_START_TEST),
16215         (fakesink_suite):
16216         Added new check for sinks.
16217
16218 2006-02-02  Wim Taymans  <wim@fluendo.com>
16219
16220         * gst/gstsegment.c: (gst_segment_clip):
16221         No reason to refuse to clip when start == -1
16222
16223 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
16224
16225         * docs/README:
16226         * docs/manual/intro-basics.xml:
16227         * docs/manual/intro-preface.xml:
16228         * docs/manual/manual.xml:
16229         * docs/pwg/advanced-dparams.xml:
16230         * docs/pwg/intro-basics.xml:
16231         * docs/pwg/intro-preface.xml:
16232         * docs/pwg/pwg.xml:
16233           describe dparams (controller) for plugins
16234           unify docs a little more
16235
16236 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
16237
16238         * docs/gst/gstreamer-sections.txt:
16239         * gst/gstutils.c: (element_find_unconnected_pad),
16240         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
16241         * gst/gstutils.h:
16242           Add new API: gst_parse_bin_from_description() and
16243           gst_bin_find_unconnected_pad() (#329069).
16244
16245 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
16246
16247         * docs/manual/README:
16248           uncover a nasty detail of the docs build
16249
16250 2006-01-31  Wim Taymans  <wim@fluendo.com>
16251
16252         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
16253         Don't cache duration messages if we're not going to use or
16254         free them.
16255
16256 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
16257
16258         * docs/manual/advanced-dparams.xml:
16259         * docs/pwg/advanced-dparams.xml:
16260           more dparam docs
16261         * gst/gstindex.c:
16262           fix docs
16263         * libs/gst/controller/lib.c: (gst_controller_init):
16264           init just once
16265
16266 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
16267
16268         * gst/gstelement.c: (gst_element_message_full):
16269           also show file/line/func if no additional debug was given
16270
16271 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
16272         
16273         * win32/vs7/grammar.vcproj:
16274           activate copy of autogenerated files for Release mode
16275
16276 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16277         
16278         * win32/common/libgstreamer.def:
16279           export gst_value_compare
16280
16281 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
16282
16283         * plugins/elements/Makefile.am:
16284         * plugins/elements/gstelements.c:
16285         * plugins/elements/gstfdsink.c: (_do_init),
16286         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
16287         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
16288         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
16289         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
16290         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
16291         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
16292         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
16293         * plugins/elements/gstfdsink.h:
16294         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
16295
16296 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
16297
16298         * docs/manual/advanced-dparams.xml:
16299           describe controller
16300         * docs/manual/advanced-position.xml:
16301         * docs/manual/basics-init.xml:
16302         * docs/manual/manual.xml:
16303         * docs/manual/titlepage.xml:
16304         * docs/pwg/pwg.xml:
16305         * docs/pwg/titlepage.xml:
16306           cleanup xml (more to come)
16307         * libs/gst/controller/gstcontroller.c:
16308           fix typo
16309
16310 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
16311         
16312         * win32/vs6/grammar.dsp:
16313           add autogen of gstmarshal.c,h for Release mode
16314                 
16315 2006-01-30  Wim Taymans  <wim@fluendo.com>
16316
16317         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
16318         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
16319         (gst_base_sink_handle_object), (gst_base_sink_event),
16320         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
16321         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16322         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
16323         (gst_base_sink_deactivate), (gst_base_sink_activate),
16324         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16325         (gst_base_sink_query), (gst_base_sink_change_state):
16326         Basesink cleanups, remove some old code.
16327         Handle the case where a subclass can preroll in the render
16328         method (mostly audiosinks).
16329         Handle more events.
16330         Remove some locks around variables that are now protected
16331         with the PREROLL_LOCK (clock_id, flushing, ..).
16332         Optimize position query some more, do correct locking.
16333         Remove old code to push queue in state change, this is not
16334         needed anymore since preroll blocks on all prerollable items 
16335         now.
16336         Almost implemented as described in design doc.
16337
16338 2006-01-30  Wim Taymans  <wim@fluendo.com>
16339
16340         * tests/check/gst/gstbin.c: (GST_START_TEST):
16341         Wait for refcount to settle down before checking.
16342
16343 2006-01-30  Wim Taymans  <wim@fluendo.com>
16344
16345         * docs/design/part-element-sink.txt:
16346         Pseudo code overview of desired sink behaviour regarding
16347         preroll.
16348
16349 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16350         * win32/vs6/grammar.dsp:
16351           fix some bugs in Release mode for autogenerated files
16352                 
16353 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16354         * win32/common/libgstbase.def:
16355         * win32/common/libgstreamer.def:
16356           export some new symbols: gst_base_src_set_format,
16357           gst_iterator_next, gst_structure_set_valist
16358
16359 2006-01-29  Julien MOUTTE  <julien@moutte.net>
16360
16361         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
16362         Set pad functions unconditionally. Fixes #329105.
16363
16364 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
16365         * win32/vs8:
16366           add vs8 project files created by Sergey Scobich
16367
16368 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
16369
16370         * gst/gstutils.c: (gst_element_unlink_pads):
16371         Don't leak pad references.
16372
16373         * tests/check/elements/fakesink.c: (GST_START_TEST):
16374         * tests/check/generic/sinks.c: (GST_START_TEST):
16375         * tests/check/generic/states.c: (GST_START_TEST):
16376         * tests/check/gst/gstbin.c: (GST_START_TEST):
16377         * tests/check/gst/gstcaps.c: (GST_START_TEST):
16378         * tests/check/gst/gstelement.c: (GST_START_TEST):
16379         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
16380         * tests/check/gst/gstiterator.c: (GST_START_TEST):
16381         * tests/check/gst/gstvalue.c: (GST_START_TEST):
16382         Fix a bunch of leaks. Make generic/sinks.c
16383         use a bit less cpu by slowing the buffer rate
16384         between fakesrc and fakesink.
16385         
16386 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
16387         * gst/gstcaps.c:
16388         * gst/gstelement.c: (gst_element_send_event):
16389         * gst/gstevent.c:
16390         * gst/gstinfo.c:
16391         * gst/gstiterator.c:
16392         * gst/gstiterator.h:
16393         * gst/gstpad.c: (gst_pad_send_event):
16394         * gst/gststructure.c:
16395         * gst/gsturi.c:
16396         * gst/gstutils.c:
16397         * gst/gstvalue.c:
16398         * libs/gst/base/gstadapter.c:
16399           doc fixes, to link to function, just write gst_cool_function(), don't
16400           prefix with '#'
16401
16402 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16403
16404         * plugins/elements/gsttee.c: (gst_tee_do_push),
16405         (gst_tee_handle_buffer):
16406         Always prefer an actual return value from a src
16407         pad in place of NOT_LINKED. This means we return
16408         WRONG_STATE when all src pads are WRONG_STATE
16409         instead of NOT_LINKED.
16410
16411         Lock when replacing the last message to prevent
16412         racing with the get_property method.
16413
16414         Add debug output
16415
16416 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16417
16418         * tests/check/Makefile.am:
16419         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
16420         (main):
16421         Add a very simple check that should have caught the memleak I fixed
16422         last night (if not for the slice allocator hiding it)
16423
16424 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
16425
16426         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16427         (gst_bin_remove_func), (gst_bin_handle_message_func),
16428         (bin_query_duration_fold), (bin_query_generic_fold):
16429         Clean up references to the clock provider when disposed or when
16430         handling a clock-lost message from it.
16431
16432         Unref sinks when performing a query via gst_iterator_fold, as the
16433         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
16434
16435         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
16436         (gst_clock_set_master):
16437         Drop our reference to the master clock, if any, when we are disposed.
16438
16439         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
16440         Chain up in dispose. 
16441
16442 2006-01-26  Wim Taymans  <wim@fluendo.com>
16443
16444         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
16445         Add some debugging.
16446
16447 2006-01-26  Julien MOUTTE  <julien@moutte.net>
16448
16449         * plugins/elements/gsttee.c: (gst_tee_do_push),
16450         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
16451         handles pad being NOT_LINKED or in WRONG_STATE.
16452
16453 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16454
16455         * win32/MANIFEST:
16456           more updating
16457
16458 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16459
16460         * win32/MANIFEST:
16461           remove obsolete entry
16462
16463 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
16464
16465         * docs/gst/gstreamer-sections.txt:
16466         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
16467         (gst_bin_iterate_sources), (gst_bin_send_event):
16468         * gst/gstbin.h:
16469         * gst/gstelement.c: (gst_element_send_event):
16470         * gst/gstevent.c:
16471         * gst/gstpad.c: (gst_pad_send_event):
16472           added code for downstream events, reviewed docs in gstevent.c
16473
16474 2006-01-25  Julien MOUTTE  <julien@moutte.net>
16475
16476         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16477         We only query position using the clock in the playing state.
16478         Query peer in the other cases.
16479         * win32/common/config.h: Updates.
16480
16481 2006-01-24  Wim Taymans  <wim@fluendo.com>
16482
16483         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16484         A clock entry that is scheduled for the exact time of the
16485         clock is still in time.
16486
16487         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16488         (gst_base_sink_do_sync):
16489         Add some more debug info.
16490
16491 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16492
16493         * win32/vs7:
16494           Add new vs7 project files and solution.
16495
16496 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
16497
16498         * win32/vs7:
16499           all files removed as they were out-dated.
16500
16501 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16502
16503         * docs/random/release:
16504           update notes
16505         * gst/gstbin.c: (gst_bin_init):
16506         * gst/gstbus.c: (gst_bus_new):
16507         * gst/gstbus.h:
16508         * gst/gstpipeline.c: (gst_pipeline_init):
16509           use gst_bus_new(), improve logging, fix docs
16510         * win32/common/config.h:
16511           update for cvs build
16512
16513 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
16514
16515         * autogen.sh:
16516           up required version of automake to 1.7
16517
16518 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
16519
16520         * win32/common/libgstreamer.def:
16521           export gst_buffer_is_metadata_writable
16522
16523 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
16524
16525         * docs/gst/gstreamer-sections.txt:
16526         * gst/gstevent.h:
16527           Add gst_event_replace() (#327001)
16528
16529 2006-01-20  Wim Taymans  <wim@fluendo.com>
16530
16531         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16532         Make it actually compile too..
16533
16534 2006-01-20  Wim Taymans  <wim@fluendo.com>
16535
16536         * gst/gstcaps.c:
16537         Clarify behaviour of _is_equal() when passing NULL parameters.
16538
16539         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16540         (gst_pad_set_caps):
16541         Cleanups. Don't unref NULL caps.
16542         When setting the same caps, protect caps of the pad with
16543         proper lock.
16544         Use full functionality of _is_equal() when comparing caps.
16545
16546 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16547
16548         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
16549         Don't loop infinitely if there are no buffers to present. Partially
16550         fixes #327197, but collectpads is just broken for reusing elements
16551         to do multiple encodes atm.
16552
16553 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
16554
16555         * tools/gst-inspect.c: (print_element_features):
16556         * tools/gst-xmlinspect.c: (main):
16557         URL_HANDLER is not a plugin feature we can search for in
16558         the registry.
16559
16560 2006-01-19  Edward Hervey  <edward@fluendo.com>
16561
16562         * gst/gstelement.c: (gst_element_pads_activate): 
16563         When activating, do src pads first, then sink pads.
16564         When de-activating, do sink pads first, then src pads.
16565
16566 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16567
16568         * docs/gst/gstreamer-sections.txt:
16569         Add gst_index_add_associationv to the docs
16570
16571 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16572
16573         * gst/gstevent.c:
16574           Fix docs typo
16575
16576         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
16577         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
16578           Do some refactoring. Doesn't actually change functionality,
16579           but makes landing the DRAIN event easier later.
16580
16581 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
16582
16583         * docs/pwg/advanced-scheduling.xml:
16584           Update from 0.9.x to 0.10 API and make example a bit
16585           clearer.
16586
16587 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16588
16589         * docs/gst/gstreamer-sections.txt:
16590         Add gst_buffer_(is|make)_metadata_writable methods.
16591
16592 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
16593
16594         * docs/design/part-sparsestreams.txt:
16595         Update sparse streams doc, hopefully for greater clarity
16596
16597 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
16598
16599         * docs/design/part-events.txt:
16600         Remove mention of FILLER events.
16601         Add DRAIN event.
16602
16603         * docs/design/part-sparsestreams.txt:
16604         Write some things about using NEWSEGMENT to keep sparse streams
16605         flowing.
16606
16607 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16608
16609         * gst/gstbin.c: (gst_bin_dispose):
16610           Guard gst_object_unref call against a NULL object (dispose
16611           can theoretically be called multiple times).
16612           
16613 2006-01-18  Wim Taymans  <wim@fluendo.com>
16614
16615         * gst/gstbin.c: (gst_bin_element_set_state):
16616         * gst/gstclock.c: (gst_clock_id_wait):
16617         Added some more debug info.
16618
16619         * libs/gst/base/gstadapter.c:
16620         Added more docs.
16621
16622         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16623         (gst_base_sink_do_sync), (gst_base_sink_chain):
16624         Added some comments.
16625
16626 2006-01-18  Wim Taymans  <wim@fluendo.com>
16627
16628         * tests/check/Makefile.am:
16629         * tests/check/elements/fakesink.c: (chain_async_buffer),
16630         (chain_async), (chain_async_return), (GST_START_TEST),
16631         (fakesink_suite), (main):
16632         Added fakesink test that checks prerolling and clipping
16633         behaviour.
16634
16635         * tests/check/gst/gstutils.c: (GST_START_TEST):
16636         Make check run faster so that buildbots don't timeout.
16637
16638 2006-01-18  Wim Taymans  <wim@fluendo.com>
16639
16640         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16641         (gst_base_sink_do_sync):
16642         Some cleanups.
16643         When the sink finishes blocking on the preroll buffer, it can
16644         immediatly render it instead of rendering when the next buffer
16645         arrives.
16646
16647 2006-01-18  Wim Taymans  <wim@fluendo.com>
16648
16649         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
16650         (gst_base_sink_get_property), (gst_base_sink_do_sync),
16651         (gst_base_sink_chain):
16652         Small cleanups.
16653         GST_ELEMENT_CLOCK and sync are protected with LOCK.
16654         Don't store _last_stop if the buffer is dropped.
16655
16656 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
16657
16658         * plugins/elements/gsttypefindelement.c:
16659         (gst_type_find_element_class_init):
16660           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
16661           object method handler that sets the caps on the pad and we want
16662           that to happen before we emit the signal (fixes e.g. feeding a
16663           plain text file to decodebin).
16664
16665 2006-01-18  Christian Schaller  <Christian@fluendo.com>
16666
16667         * gst/gstplugin.c: Add MPL and Proprietary as license options
16668
16669 2006-01-18  Andy Wingo  <wingo@pobox.com>
16670
16671         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
16672         symbol was exported before, it appears this was just an oversight.
16673         Fixes #168703.
16674         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
16675
16676         * gst/gstindex.c (gst_index_add_associationv): Changed int in
16677         prototype to gint. OK since this prototype was not in the header.
16678
16679 2006-01-17  Andy Wingo  <wingo@pobox.com>
16680
16681         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
16682         registry while we remove plugins.
16683
16684         * tools/gst-inspect.c (print_element_info): Don't unref the
16685         factory arg, that should be the responsibility of whatever code
16686         received the ref. Fixes a double-free when called from
16687         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
16688         (main): Unref the factory if we have one.
16689         (print_element_list): No change -- relies on the
16690         plugin_feature_list_free to free the list of features.
16691
16692 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
16693
16694         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16695         (gst_buffer_make_metadata_writable):
16696         * gst/gstbuffer.h:
16697         * libs/gst/base/gstbasetransform.c:
16698         (gst_base_transform_prepare_output_buf):
16699         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16700         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16701           Replace gst_buffer_(make|is)_metadata_writable patch now
16702           that the release is out.
16703
16704 2006-01-17  Andy Wingo  <wingo@pobox.com>
16705
16706         * gst/gstregistry.c: Reflow design comment. Update so as to speak
16707         in the present tense without reference to versions.
16708
16709         * gst/gstregistry.c (gst_registry_add_plugin)
16710         (gst_registry_remove_plugin, gst_registry_remove_feature)
16711         (gst_registry_find_feature, gst_registry_get_feature_list)
16712         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
16713         (gst_registry_lookup, gst_registry_scan_path)
16714         (_gst_registry_remove_cache_plugins)
16715         (gst_registry_get_feature_list_by_plugin): Add argument
16716         validation.
16717
16718 === release 0.10.2 ===
16719
16720 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
16721
16722         * configure.ac:
16723           releasing 0.10.2, "If man is five"
16724
16725 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16726
16727         * gst/gstbuffer.c:
16728         * gst/gstbuffer.h:
16729         * libs/gst/base/gstbasetransform.c:
16730         (gst_base_transform_prepare_output_buf):
16731         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16732         * tests/check/gst/gstbuffer.c: (gst_test_suite):
16733           Back out patch until after the release.
16734
16735 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16736
16737         * gst/gstminiobject.c:
16738           Spelling fix in docs.
16739         * ChangeLog - remove conflict indicator
16740
16741 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
16742
16743         Reviewed By: Andy Wingo
16744
16745         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
16746         (gst_buffer_make_metadata_writable):
16747         * gst/gstbuffer.h:
16748           Add gst_buffer_(is|make)_metadata_writable as analogues of
16749           gst_buffer_(is|make)_writable.
16750
16751         * libs/gst/base/gstbasetransform.c:
16752         (gst_base_transform_prepare_output_buf):
16753         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16754           Use name gst_buffer_(is|make)_metadata_writable functions.
16755
16756         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16757           Test gst_buffer_(is|make)_metadata_writable
16758         
16759           (Closes: #324162)
16760
16761 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16762
16763         * docs/manual/Makefile.am:
16764           don't do parallel make
16765         * configure.ac:
16766           AC_SUBST HOST_CPU
16767         * win32/common/config.h.in:
16768           add generations for HOST_CPU and GST_MAJORMINOR
16769         * win32/common/config.h:
16770           commit generated result
16771
16772 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
16773
16774         * docs/manual/appendix-integration.xml:
16775           Update GNOME integration section to use gst_init_get_option_group()
16776           instead of the old popt stuff (#322911). Also, GNOME applications
16777           should  now use gconf*sink and gconf*src instead of the old gconf
16778           helper lib we had.
16779
16780 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
16781
16782
16783         * docs/gst/gstreamer-docs.sgml:
16784         * docs/gst/gstreamer-sections.txt:
16785         * docs/libs/gstreamer-libs-sections.txt:
16786           add new API entries to the docs
16787         * libs/gst/controller/Makefile.am:
16788         * libs/gst/controller/gstcontroller.c:
16789         * libs/gst/controller/gstcontroller.h:
16790         * libs/gst/controller/gstcontrollerprivate.h:
16791         * libs/gst/controller/gsthelper.c:
16792         * libs/gst/controller/gstinterpolation.c:
16793           move private structs to private header
16794         * po/README:
16795           gstreamer-0.7 -> gstreamer-0.10
16796         * tests/check/libs/struct_i386.h:
16797           remove private structs
16798
16799 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16800
16801         * plugins/indexers/Makefile.am:
16802           Fixes as part of #317048
16803
16804 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16805
16806         * plugins/indexers/Makefile.am:
16807           fix #316086 - compilation when mmap is missing
16808
16809 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
16810
16811         * libs/gst/base/gstbasesink.c:
16812           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
16813           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16814         * win32/common/config.h:
16815           added some defines GST_MAJORMINOR and HOST_CPU
16816         * win32/common/libgstbase.def:
16817         * win32/common/libgstreamer.def:
16818           added some exported functions.
16819
16820 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16821
16822         * libs/gst/controller/gstcontroller.c:
16823         (gst_controlled_property_set_interpolation_mode),
16824         (gst_controlled_property_new):
16825         * libs/gst/controller/gstcontroller.h:
16826         * libs/gst/controller/gstinterpolation.c:
16827         (interpolate_none_get_string_value_array):
16828           make G_TYPE_STRING controlable
16829
16830 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
16831
16832         * tools/README:
16833         * tools/gst-feedback.1.in:
16834         * tools/gst-inspect.1.in:
16835         * tools/gst-launch.1.in:
16836         * tools/gst-md5sum.1.in:
16837         * tools/gst-typefind.1.in:
16838         * tools/gst-xmlinspect.1.in:
16839         * tools/gst-xmllaunch.1.in:
16840           cleanup man-pages, remove reference to gst-register, document env-vars
16841
16842 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
16843
16844         * gst/gstbuffer.c: (gst_buffer_span):
16845           gst_buffer_span should copy the timestamp of the first buffer
16846           if they were both originally overlapping subbuffers of the 
16847           same parent, using the same logic as the 'slow copy' case.
16848
16849 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
16850
16851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16852           Need to awaken ALL the pads when we pop a buffer, otherwise
16853           collectpads only works when there is 2 input streams.
16854
16855 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
16856
16857         * docs/random/ensonic/media-device-daemon.txt:
16858           more ideas (dbus)
16859         * gst/gstbuffer.c:
16860           fix doc example, add clarification
16861         * tools/gst-launch.1.in:
16862           add initial info about GST_PLUGIN_PATH, needs more work
16863
16864 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
16865
16866         * docs/manual/basics-bins.xml:
16867         * docs/manual/basics-elements.xml:
16868         * docs/manual/intro-basics.xml:
16869           Some more minor docs additions and updates.
16870
16871 2006-01-11  Wim Taymans  <wim@fluendo.com>
16872
16873         * docs/manual/basics-bins.xml:
16874         * docs/manual/basics-elements.xml:
16875         Some small fixes as pointed out by Ser-ver on IRC.
16876
16877 2006-01-10  Edward Hervey  <edward@fluendo.com>
16878
16879         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16880         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16881         the single-segment mode.
16882
16883 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
16884
16885         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16886
16887         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16888         (gst_base_src_perform_seek), (gst_base_src_send_event),
16889         (gst_base_src_set_property), (gst_base_src_get_property),
16890         (gst_base_src_loop), (gst_base_src_start),
16891         (gst_base_src_activate_push):
16892         * libs/gst/base/gstbasesrc.h:
16893           Name (private) union; makes Sun's Forte compiler happy (#324900).
16894
16895 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
16896
16897         * README:
16898           gst-register is gone.
16899
16900 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16901
16902         * gst/gstvalue.c: (_gst_value_initialize):
16903           make the G_TYPE_DATE instantiation work if debug is disabled
16904
16905 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
16906
16907         * gst/gstmessage.c: (gst_message_parse_tag),
16908         (gst_message_parse_error), (gst_message_parse_warning):
16909           Don't crash when return location for error/warning debug
16910           string is NULL; add fact that return locations can be
16911           NULL to docs where appropriate.
16912
16913 2006-01-05  Wim Taymans  <wim@fluendo.com>
16914
16915         * gst/gstplugin.c: (gst_plugin_load_file):
16916         Replace strdup by g_strdup.
16917
16918 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16919
16920         * docs/pwg/advanced-types.xml:
16921           fix doc borkage
16922
16923 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16924
16925         submitted by: Abel Cheung
16926
16927         * po/LINGUAS:
16928         * po/zh_TW.po:
16929           Added Chinese (traditional) translation
16930
16931 2006-01-04  Wim Taymans  <wim@fluendo.com>
16932
16933         * docs/manual/basics-pads.xml:
16934         * docs/plugins/Makefile.am:
16935         * docs/plugins/gstreamer-plugins-docs.sgml:
16936         * docs/plugins/gstreamer-plugins-sections.txt:
16937         * docs/pwg/advanced-clock.xml:
16938         * docs/pwg/advanced-scheduling.xml:
16939         * docs/pwg/advanced-types.xml:
16940         * plugins/elements/gstfdsink.c:
16941         * plugins/elements/gstfdsrc.c:
16942         * plugins/elements/gstfdsrc.h:
16943         * plugins/elements/gstidentity.c: (gst_identity_class_init):
16944         * plugins/elements/gstidentity.h:
16945         * plugins/elements/gstqueue.h:
16946         * plugins/elements/gsttee.c:
16947         * plugins/elements/gsttee.h:
16948         * plugins/elements/gsttypefindelement.c:
16949         (gst_type_find_element_class_init):
16950         * plugins/elements/gsttypefindelement.h:
16951         Small updates to various docs.
16952         Added core plugins to docs.
16953
16954 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16955
16956         * common/gst.supp:
16957           add a suppression for liboil's uninitialized variable
16958
16959 2006-01-02  James Livingston  <jrl at ids dot org dot au>
16960
16961         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16962
16963         * gst/gstutils.h:
16964           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16965           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16966           compiler switch is being used (#325429).
16967
16968 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16969
16970         * gst/gstbin.c: (gst_bin_query):
16971           Disable duration query caching in bins until it gets
16972           fixed (see #324807).
16973
16974 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16975
16976         * tools/gst-inspect.c: (print_element_properties_info):
16977           Handle properties of POINTER and BOXED type.
16978
16979 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16980
16981         * gst/gst.c: (init_post):
16982           Init tags stuff and some other things before loading
16983           any static plugins (there may be other static plugins
16984           than just the GStreamer ones, and they may want to
16985           register their own tags or formats or whatever, and
16986           preferably without segfaulting).
16987
16988         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16989           Print at least a warning in the debug logs if we drop a
16990           query just because we don't know how to adjust the value
16991           in the particular format.
16992
16993 2005-12-24  David Schleef  <ds@schleef.org>
16994
16995         * tools/gstreamer-completion:
16996           Replacement for gst-complete written in sh and sed.  Only
16997           completes names of features, but that's 90% of what I want
16998           it for.  Properties are not available in registry.xml.  (Maybe
16999           they should be...)
17000
17001 === release 0.10.1 ===
17002
17003 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
17004
17005         * configure.ac:
17006           releasing 0.10.1, "Nollaig chridheil"
17007
17008 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
17009
17010         * docs/faq/cvs.xml:
17011           Add missing quote, should be make ERROR_CFLAGS="".
17012
17013 2005-12-20  Wim Taymans  <wim@fluendo.com>
17014
17015         * docs/design/part-trickmodes.txt:
17016         More documentation on trickmodes.
17017
17018 2005-12-20  Edward Hervey  <edward@fluendo.com>
17019
17020         * gst/gstcaps.c: (gst_static_caps_get_type):
17021         * gst/gstcaps.h:
17022           API addition: GST_TYPE_STATIC_CAPS
17023         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17024         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
17025         * gst/gstpadtemplate.h:
17026           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
17027         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
17028         bindings.
17029
17030 2005-12-18  Wim Taymans  <wim@fluendo.com>
17031
17032         * libs/gst/base/gstadapter.c:
17033         * libs/gst/base/gstadapter.h:
17034         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
17035         (gst_base_sink_get_position):
17036         * libs/gst/base/gstbasesink.h:
17037         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17038         (gst_base_src_default_query), (gst_base_src_default_do_seek),
17039         (gst_base_src_do_seek), (gst_base_src_perform_seek),
17040         (gst_base_src_send_event), (gst_base_src_update_length),
17041         (gst_base_src_get_range), (gst_base_src_loop),
17042         (gst_base_src_start):
17043         * libs/gst/base/gstbasesrc.h:
17044         * libs/gst/base/gstbasetransform.h:
17045         * libs/gst/base/gstcollectpads.h:
17046         * libs/gst/base/gstpushsrc.c:
17047         * libs/gst/base/gstpushsrc.h:
17048         * libs/gst/dataprotocol/dataprotocol.c:
17049         * libs/gst/dataprotocol/dataprotocol.h:
17050         * libs/gst/net/gstnetclientclock.h:
17051         * libs/gst/net/gstnettimeprovider.h:
17052         Documentation updates.
17053
17054 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
17055
17056         * docs/manual/basics-helloworld.xml:
17057           Remove superfluous closing bracket in helloworld example.
17058
17059 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
17060
17061         * tools/gst-launch.1.in:
17062           Update gst-launch man page; add a section with useful
17063           environment variables. Fixes #323882.
17064
17065 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
17066
17067         * gst/gst.c:
17068         * gst/gst_private.h:
17069           change some char* into char[]
17070
17071 2005-12-16  Wim Taymans  <wim@fluendo.com>
17072
17073         * gst/gstregistryxml.c: (load_feature):
17074         Cleanups.
17075         Don't use g_object_unref on GstObjects so that we avoid
17076         leaks on unsafe glibs.
17077
17078 2005-12-16  Wim Taymans  <wim@fluendo.com>
17079
17080         * gst/gstbin.c: (gst_bin_recalc_state):
17081         Small doc updates.
17082
17083 2005-12-16  Wim Taymans  <wim@fluendo.com>
17084
17085         * common/check.mak:
17086         Added make forever target for check.
17087
17088 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17089
17090         * gst/gst.c: (init_post):
17091           make the registry cache file HOST_CPU-dependent
17092
17093 2005-12-16  Andy Wingo  <wingo@pobox.com>
17094
17095         * plugins/elements/gstbufferstore.c
17096         (gst_buffer_store_cleared_func): Pay attention to g_list_append
17097         return value.
17098
17099         * tests/check/gst/gstobject.c
17100         (test_fake_object_name_threaded_unique): Pay attention to
17101         g_list_sort return value.
17102
17103 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
17104
17105         * tools/gst-feedback-m.m:
17106           Update for 0.9/0.10 (fixes #323870).
17107
17108 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
17109
17110         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
17111           Fix lcopy for mini objects, the mini object needs to be ref'ed.
17112           
17113         * tests/check/gst/gstminiobject.c: (my_foo_init),
17114         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
17115         (test_value_collection), (gst_mini_object_suite):
17116           Add test to ensure refcounts end up as expected when passing
17117           GstMiniObjects through g_object_get() and g_object_set().
17118
17119 2005-12-14  Julien MOUTTE  <julien@moutte.net>
17120
17121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17122         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
17123         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17124         of collectpads. This version removes a lot of races without
17125         touching API/ABI. Yay !
17126
17127 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
17128
17129         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
17130           Don't allow activation of a srcpad in pull_range if it has no
17131           getrange function.
17132           Change some debug statements to be a little clearer
17133
17134         * plugins/elements/gsttypefindelement.c:
17135         (gst_type_find_handle_src_query):
17136           Check that we have a peer before executing queries thereupon.
17137
17138         * tests/examples/metadata/read-metadata.c: (message_loop):
17139           Use gst_bus_pop instead of gst_bus_poll when we just want it to
17140           immediately return us any available message with 0 timeout.
17141
17142 2005-12-12  Michael Smith  <msmith@fluendo.com>
17143
17144         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
17145           Don't unref factories after calling them.
17146         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
17147         * plugins/elements/gsttypefindelement.c:
17148         (gst_type_find_element_chain):
17149           Free lists of factories after using them. Fixing typefinding memory
17150           leaks.
17151
17152 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17153
17154         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
17155         (gst_plugin_feature_load):
17156           more meaningful debug output
17157         * configure.ac:
17158         * tests/Makefile.am:
17159         * tests/old/examples/Makefile.am:
17160           make make distcheck happy again
17161
17162 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17163
17164         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
17165           Catch the special case where we are operating chain-based,
17166           but the downstream peer pad has no chain function. Emit a
17167           custom error message in this case instead of letting the
17168           core generate one implying that this is some sort of core
17169           bug. It's not, it just means that whatever got plugged
17170           into the pipeline downstream when we announced the type
17171           can only operate pull-based, while our source can only
17172           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
17173           Error string has not been marked for translation yet, as
17174           it probably needs some more work first.
17175
17176         (gst_type_find_element_get_best_possibility):
17177           Add helper function to find the best of all available
17178           found possibilities that qualify given the min. threshold.
17179
17180         (gst_type_find_element_handle_event):
17181           Fix the case where we get an EOS while still in TYPEFIND
17182           mode (we want to chose the best of all possible types,
17183           not just the first type that happens to be in our unsorted
17184           list of possible types).
17185
17186         (gst_type_find_element_chain):
17187           Make sure we return GST_FLOW_ERROR when we errored out
17188           in stop_typefinding(); also, don't just find the best of
17189           all found type entries and then use the last examined
17190           type entry, but actually use the best entry.
17191
17192 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
17193
17194         * tests/examples/typefind/typefind.c: (type_found):
17195         * tests/examples/xml/runxml.c: (xml_loaded):
17196           More gcc4 fixes and a mem leak fix.
17197
17198 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17199
17200         * tests/examples/xml/createxml.c: (object_saved):
17201           gcc 4 fixes
17202
17203 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17204
17205         * tests/Makefile.am:
17206           enable the examples even more
17207
17208 2005-12-12  Andy Wingo  <wingo@pobox.com>
17209
17210         * libs/gst/net/gstnettimeprovider.c
17211         (gst_net_time_provider_class_init, gst_net_time_provider_init)
17212         (gst_net_time_provider_set_property)
17213         (gst_net_time_provider_get_property):
17214         API addition: Export "active" as a GObject property.
17215         (gst_net_time_provider_thread): Only respond to time queries if
17216         the time provider is active.
17217
17218         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
17219         NetTimeProvider, preserving binary compat.
17220
17221 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17222
17223         * tests/examples/controller/audio-example.c: (main):
17224         * tests/examples/launch/Makefile.am:
17225           convert comments again
17226
17227 2005-12-12  Wim Taymans  <wim@fluendo.com>
17228
17229         * libs/gst/base/gstpushsrc.c:
17230         Fix typo.
17231
17232 2005-12-12  Wim Taymans  <wim@fluendo.com>
17233
17234         * docs/libs/gstreamer-libs-sections.txt:
17235         Added new symbol to docs.
17236
17237         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
17238         (gst_base_src_init), (gst_base_src_set_format),
17239         (gst_base_src_default_query), (gst_base_src_query),
17240         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
17241         (gst_base_src_perform_seek), (gst_base_src_send_event),
17242         (gst_base_src_default_event), (gst_base_src_event_handler),
17243         (gst_base_src_set_property), (gst_base_src_get_property),
17244         (gst_base_src_wait), (gst_base_src_do_sync),
17245         (gst_base_src_update_length), (gst_base_src_get_range),
17246         (gst_base_src_check_get_range), (gst_base_src_loop),
17247         (gst_base_src_default_negotiate), (gst_base_src_start),
17248         (gst_base_src_activate_push), (gst_base_src_activate_pull),
17249         (gst_base_src_change_state):
17250         * libs/gst/base/gstbasesrc.h:
17251         Implement seeking to other formats than _BYTES.
17252         Implement more seeking methods correctly.
17253         Doc updates.
17254         Added query vmethod.
17255         Added do_seek vmethod to make life easier for subclasses
17256         when seeking.
17257         API addition: gst_base_src_set_format()
17258
17259 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17260
17261         * tests/examples/Makefile.am:
17262           added that too
17263
17264 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
17265
17266         * configure.ac:
17267         * docs/random/ensonic/media-device-daemon.txt:
17268         * tests/examples/controller/.cvsignore:
17269         * tests/examples/controller/Makefile.am:
17270         * tests/examples/controller/audio-example.c: (main):
17271         * tests/examples/helloworld/.cvsignore:
17272         * tests/examples/helloworld/Makefile.am:
17273         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
17274         * tests/examples/launch/.cvsignore:
17275         * tests/examples/launch/Makefile.am:
17276         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
17277         * tests/examples/metadata/.cvsignore:
17278         * tests/examples/metadata/Makefile.am:
17279         * tests/examples/metadata/read-metadata.c: (message_loop),
17280         (make_pipeline), (print_tag), (main):
17281         * tests/examples/queue/.cvsignore:
17282         * tests/examples/queue/Makefile.am:
17283         * tests/examples/queue/queue.c: (event_loop), (main):
17284         * tests/examples/typefind/.cvsignore:
17285         * tests/examples/typefind/Makefile.am:
17286         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
17287         (main):
17288         * tests/examples/xml/.cvsignore:
17289         * tests/examples/xml/Makefile.am:
17290         * tests/examples/xml/createxml.c: (object_saved), (main):
17291         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
17292         * tests/old/examples/Makefile.am:
17293         * tests/old/examples/TODO:
17294         * tests/old/examples/controller/.cvsignore:
17295         * tests/old/examples/controller/Makefile.am:
17296         * tests/old/examples/controller/audio-example.c:
17297         * tests/old/examples/helloworld/.cvsignore:
17298         * tests/old/examples/helloworld/Makefile.am:
17299         * tests/old/examples/helloworld/helloworld.c:
17300         * tests/old/examples/launch/.cvsignore:
17301         * tests/old/examples/launch/Makefile.am:
17302         * tests/old/examples/launch/mp3parselaunch.c:
17303         * tests/old/examples/launch/mp3play:
17304         * tests/old/examples/manual/Makefile.am:
17305         * tests/old/examples/metadata/Makefile.am:
17306         * tests/old/examples/metadata/read-metadata.c:
17307         * tests/old/examples/queue/.cvsignore:
17308         * tests/old/examples/queue/Makefile.am:
17309         * tests/old/examples/queue/queue.c:
17310         * tests/old/examples/typefind/.cvsignore:
17311         * tests/old/examples/typefind/Makefile.am:
17312         * tests/old/examples/typefind/typefind.c:
17313         * tests/old/examples/xml/.cvsignore:
17314         * tests/old/examples/xml/Makefile.am:
17315         * tests/old/examples/xml/createxml.c:
17316         * tests/old/examples/xml/runxml.c:
17317           applied some simple fixing to some examples
17318           re-enabled the working examples
17319
17320 2005-12-12  Wim Taymans  <wim@fluendo.com>
17321
17322         * gst/gstsegment.c: (gst_segment_init),
17323         (gst_segment_set_last_stop), (gst_segment_set_seek),
17324         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17325         (gst_segment_to_running_time):
17326         Added more documentation.
17327         Make sure the last_pos value is updated properly.
17328         Make sure to_stream_time and to_running_time don't
17329         operate on wrong values.
17330
17331         * tests/check/gst/gstsegment.c: (GST_START_TEST):
17332         Update check.
17333
17334 2005-12-12  Michael Smith  <msmith@fluendo.com>
17335
17336         * plugins/elements/gsttypefindelement.c: (free_entry),
17337         (gst_type_find_element_chain):
17338           Now that we're not leaking factories, make sure we keep references
17339           to them while we need them.
17340
17341 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17342
17343         * tests/check/gst/struct_i386.h:
17344           ifdef out the XML structs
17345
17346 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17347
17348         * gst/gstvalue.c: (gst_value_transform_double_fraction):
17349           floor is not needed, F is always positive; this obviates the
17350           need for adding -lm when building without libxml
17351
17352 2005-12-12  Wim Taymans  <wim@fluendo.com>
17353
17354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17355         Take current playback rate into account when reporting
17356         the position.
17357
17358 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17359
17360         * docs/manual/mime-world.fig:
17361           Let's try this again, this time with a file that is
17362           actually in XFig format.
17363
17364 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17365
17366         * docs/manual/mime-world.fig:
17367           Add audioconvert element to diagram so that it
17368           matches the text and the code (fixes #319526).
17369
17370 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17371
17372         * docs/pwg/building-chainfn.xml:
17373         * docs/pwg/building-pads.xml:
17374         * docs/pwg/building-state.xml:
17375         * docs/pwg/other-source.xml:
17376           Update state change stuff for 0.10 (fixes #322969).
17377
17378 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17379
17380         * docs/manual/advanced-dataaccess.xml:
17381         * docs/manual/appendix-checklist.xml:
17382         * docs/manual/appendix-programs.xml:
17383         * docs/manual/basics-pads.xml:
17384         * docs/manual/highlevel-components.xml:
17385         * docs/manual/manual.xml:
17386           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
17387           add converters in front of pipelines; remove curly
17388           brackets for threads stuff, they no longer exist; use
17389           GST_TYPE_FRACTION for framerates; update some pieces of
17390           code to 0.10, but there's plenty more to do.
17391
17392         * docs/manual/appendix-porting.xml:
17393           Expand on asynchroneous state changes; s/0.9/0.10/;
17394           mention disappearance of gst_init_get_popt_table()
17395           (fixes #322916).
17396
17397 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
17398
17399         * docs/faq/using.xml:
17400           Spider no longer exists, and neither does gst-launch-ext.
17401           Update examples to use decodebin and playbin and put
17402           converters in front of sinks (fixes #323726).
17403
17404 2005-12-09  Michael Smith  <msmith@fluendo.com>
17405
17406         * plugins/elements/gsttypefindelement.c: (find_peek),
17407         (gst_type_find_element_chain):
17408           Fix leaking element factories in typefinding.
17409           Fix problem where we forgot about a probable type on non-seekable
17410           files, and thus later mis-typefound it.
17411
17412 2005-12-09  Michael Smith  <msmith@fluendo.com>
17413
17414         * common/m4/gst-makecontext.m4:
17415         * common/m4/gst-mcsc.m4:
17416         * configure.ac:
17417         * win32/common/config.h:
17418         * win32/common/config.h.in:
17419           Remove makecontext stuff; not used in 0.10 and causes problems on
17420           HPUX according to bug #322441
17421
17422 2005-12-07  Wim Taymans  <wim@fluendo.com>
17423
17424         * tests/check/Makefile.am:
17425         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
17426         (main):
17427         * tests/check/libs/struct_i386.h:
17428         Added ABI check for libs
17429
17430 2005-12-07  Wim Taymans  <wim@fluendo.com>
17431
17432         * tests/check/Makefile.am:
17433         And add the struct_i386.h to dist.
17434
17435 2005-12-07  Wim Taymans  <wim@fluendo.com>
17436
17437         * tests/check/Makefile.am:
17438         * tests/check/gst/.cvsignore:
17439         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
17440         (main):
17441         * tests/check/gst/struct_i386.h:
17442         Added check for ABI compatibility.
17443
17444 2005-12-07  Wim Taymans  <wim@fluendo.com>
17445
17446         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17447         (gst_fake_src_get_times), (gst_fake_src_create):
17448         Fix broken sync option, fixes #323259
17449
17450 2005-12-07  Wim Taymans  <wim@fluendo.com>
17451
17452         * gst/gstbuffer.c:
17453         Small docs update.
17454
17455         * gst/gstcaps.c: (gst_caps_is_equal):
17456         Don't assert on NULL <--> X. Fixes #323260
17457
17458         * gst/gstminiobject.c: (gst_mini_object_replace):
17459         If we're doing atomic operations, we might just as well use
17460         the proper way to get an atomic pointer.
17461
17462         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17463         Clean up debugging.
17464
17465 2005-12-07  Michael Smith  <msmith@fluendo.com>
17466
17467         * gst/parse/grammar.y:
17468           Remove handling of { } for threads.
17469
17470 2005-12-06  David Schleef  <ds@schleef.org>
17471
17472         * libs/gst/base/gstbasetransform.c: speling fix.
17473
17474 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * docs/libs/tmpl/gstdataprotocol.sgml:
17477         * docs/random/omega/testing/gstobject.c:
17478         * gst/gst.c:
17479         * gst/gstclock.c:
17480         * gst/gstelement.c:
17481         * gst/gstelementfactory.c:
17482         * gst/gsterror.c:
17483         * gst/gstevent.c:
17484         * gst/gstghostpad.c:
17485         * gst/gstinfo.c:
17486         * gst/gstpadtemplate.c:
17487         * gst/gstregistryxml.c:
17488         * gst/gsttaglist.c:
17489         * gst/gsttagsetter.c:
17490         * gst/gsttypefind.c:
17491         * gst/gstvalue.c:
17492         * libs/gst/base/gstbasesrc.c:
17493         * libs/gst/net/gstnetclientclock.c:
17494         * libs/gst/net/gstnettimeprovider.c:
17495         * plugins/elements/gstfakesrc.c:
17496         * plugins/elements/gstfdsrc.c:
17497         * plugins/elements/gstfilesrc.c:
17498         * plugins/elements/gstidentity.c:
17499         * plugins/elements/gstqueue.c:
17500         * plugins/elements/gsttypefindelement.c:
17501         * plugins/indexers/gstfileindex.c:
17502         * plugins/indexers/gstmemindex.c:
17503         * tests/check/gst/gsttag.c:
17504         * tests/old/examples/cutter/cutter.c:
17505         * tests/old/examples/mixer/mixer.c:
17506         * tests/old/examples/xml/runxml.c: (main):
17507         * tests/old/testsuite/caps/normalisation.c:
17508         * tests/old/testsuite/debug/global.c:
17509         * tests/old/testsuite/parse/parse1.c:
17510         * tools/gst-xmlinspect.c:
17511         * win32/common/dirent.c:
17512           expand tabs
17513
17514 === release 0.10.0 ===
17515
17516 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17517
17518         * configure.ac:
17519           releasing 0.10.0, "Maroilles"
17520
17521 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17522
17523         submitted by: Funda Wang <fundawang@linux.net.cn>
17524
17525         * po/LINGUAS:
17526         * po/zh_CN.po:
17527           added Chinese (Traditional) translation
17528
17529 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17530
17531         * docs/gst/gstreamer-sections.txt:
17532         * docs/libs/tmpl/gstdataprotocol.sgml:
17533         * docs/random/thomasvs/TODO:
17534         * gst/gstutils.c:
17535         * gst/gstutils.h:
17536           fix docs
17537
17538 2005-12-05  Andy Wingo  <wingo@pobox.com>
17539
17540         patch by: Wim Taymans <wim@fluendo.com>
17541
17542         * libs/gst/base/gstbasetransform.c
17543         (gst_base_transform_prepare_output_buf)
17544         (gst_base_transform_buffer_alloc):
17545         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
17546         alloc_buffer_and_set_caps.
17547
17548         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
17549         set_caps on the source pad.
17550         (gst_pad_alloc_buffer_and_set_caps): New function, does what
17551         alloc_buffer used to do. Fixes #322874.
17552
17553         * docs/gst/gstreamer-sections.txt: 
17554         * docs/design/part-negotiation.txt: 
17555         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
17556         changes.
17557
17558 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
17559
17560         patch by: Sebastien Moutte
17561
17562         * win32/MANIFEST:
17563         * win32/common/config.h.in:
17564         * win32/vs6/libgstcontroller.dsp:
17565           win32 build fixes
17566
17567 2005-12-05  Wim Taymans  <wim@fluendo.com>
17568
17569         * gst/gstcaps.c: (gst_caps_is_equal):
17570         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17571         (gst_fake_src_create):
17572         Back out previous code changes, leave doc updates, file bugs 
17573         instead. 
17574
17575 2005-12-05  Wim Taymans  <wim@fluendo.com>
17576
17577         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
17578         (gst_fake_src_get_times), (gst_fake_src_create):
17579         * plugins/elements/gstfakesrc.h:
17580         Fix broken sync code.
17581
17582 2005-12-05  Wim Taymans  <wim@fluendo.com>
17583
17584         * gst/gstcaps.c: (gst_caps_is_equal):
17585         Comparing NULL against !NULL yields different caps, not a
17586         failure.
17587
17588 2005-12-05  Wim Taymans  <wim@fluendo.com>
17589
17590         * gst/gstpipeline.c:
17591         Fix small typo in docs.
17592
17593 2005-12-05  Andy Wingo  <wingo@pobox.com>
17594
17595         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
17596
17597         * gst/gst.c (init_post): remove hard-coded 0.9 location for
17598         registries/plugins with a MAJORMINOR one.
17599         (plugin_desc): Rename library from gstcoreleements to
17600         staticelements. Fixes #323222.
17601
17602 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
17603
17604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
17605           Change debug category to 'collectpads' from 'collect_pads'
17606           (fixes #323250).
17607
17608 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17609
17610         patch by: Sebastien Moutte
17611
17612         * libs/gst/controller/gstinterpolation.c:
17613           use convert function for uint64/double
17614         * win32/vs6/libgstcontroller.dsp:
17615           link to GLib
17616
17617 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
17618
17619         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
17620         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
17621         * gst/gstutils.h:
17622         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17623           add tests that seem to show that the guint64/gdouble conversions
17624           are correct.
17625
17626 2005-12-02  Wim Taymans  <wim@fluendo.com>
17627
17628         * gst/gstregistry.c: (gst_registry_add_path):
17629         * gst/gstregistry.h:
17630         * gst/gstregistryxml.c:
17631         Fix docs again.
17632
17633 2005-12-02  Wim Taymans  <wim@fluendo.com>
17634
17635         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17636         (gst_util_uint64_scale_int):
17637         Small cleanup.
17638
17639         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17640         Add debug log line.
17641
17642         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
17643         Add FIXME.
17644
17645 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17646
17647         * win32/MANIFEST:
17648         * win32/common/config.h:
17649         * win32/vs6/gstreamer.dsw:
17650         * win32/vs6/libgstcoreelements.dsp:
17651         * win32/vs6/libgstelements.dsp:
17652           renamed core elements plugin
17653
17654 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17655
17656         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
17657         (get_candidates):
17658           do piece-wise major/minor comparison so 0.9 < 0.10
17659           also allow .exe extensions for tools
17660
17661 2005-12-02  Michael Smith  <msmith@fluendo.com>
17662
17663         * gst/gst.c:
17664           Escape a % to make gtkdoc happier; bug 322958.
17665
17666 === release 0.9.7 ===
17667
17668 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17669
17670         * configure.ac:
17671           releasing 0.9.7, "My Dog Has No Nose"
17672
17673 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17674
17675         * common/gst-xmlinspect.py:
17676         * configure.ac:
17677         * docs/libs/tmpl/gstdataprotocol.sgml:
17678         * docs/random/release:
17679         * po/af.po:
17680         * po/az.po:
17681         * po/bg.po:
17682         * po/ca.po:
17683         * po/cs.po:
17684         * po/de.po:
17685         * po/en_GB.po:
17686         * po/fr.po:
17687         * po/it.po:
17688         * po/nb.po:
17689         * po/nl.po:
17690         * po/ru.po:
17691         * po/sq.po:
17692         * po/sr.po:
17693         * po/sv.po:
17694         * po/tr.po:
17695         * po/uk.po:
17696         * po/vi.po:
17697         * win32/common/config.h:
17698         * win32/common/config.h.in:
17699         * win32/vs6/gst_inspect.dsp:
17700         * win32/vs6/gst_launch.dsp:
17701         * win32/vs6/libgstbase.dsp:
17702         * win32/vs6/libgstelements.dsp:
17703         * win32/vs6/libgstreamer.dsp:
17704         * win32/vs7/GStreamer.vcproj:
17705         * win32/vs7/gst-inspect.vcproj:
17706         * win32/vs7/gst-launch.vcproj:
17707         * win32/vs7/libgstbase.vcproj:
17708           bump GST_MAJORMINOR to 0.10
17709           reset libtool version
17710
17711 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17712
17713         * po/LINGUAS:
17714         * po/bg.po:
17715           Added Bulgarian translation by (Alexander Shopov)
17716
17717 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17718
17719         * tests/check/gst/gstplugin.c:
17720           fix test
17721
17722 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17723
17724         * common/gst-xmlinspect.py:
17725         * common/gtk-doc-plugins.mak:
17726         * configure.ac:
17727         * docs/Makefile.am:
17728         * docs/gst/Makefile.am:
17729         * docs/gst/gstreamer-docs.sgml:
17730         * docs/gst/gstreamer-sections.txt:
17731         * docs/gst/gstreamer.types:
17732         * docs/gst/gstreamer.types.in:
17733         * docs/plugins/Makefile.am:
17734         * docs/plugins/gstreamer-plugins-docs.sgml:
17735         * docs/plugins/gstreamer-plugins-sections.txt:
17736         * docs/plugins/gstreamer-plugins.types:
17737         * docs/plugins/inspect.stamp:
17738         * docs/plugins/inspect/plugin-coreelements.xml:
17739         * docs/plugins/inspect/plugin-coreindexers.xml:
17740         * docs/plugins/scanobj-build.stamp:
17741         * gstreamer.spec.in:
17742         * plugins/elements/Makefile.am:
17743         * plugins/elements/gstelements.c:
17744         * plugins/elements/gstfakesink.c:
17745         * plugins/elements/gstfakesrc.c:
17746         * plugins/elements/gstfilesink.c:
17747         * plugins/elements/gstfilesrc.c:
17748         * plugins/elements/gstqueue.c:
17749         * plugins/indexers/Makefile.am:
17750         * plugins/indexers/gstindexers.c:
17751           document core plugins in a separate document just like all the
17752           others
17753           rename these plugins to something starting with core
17754
17755 2005-12-01  Andy Wingo  <wingo@pobox.com>
17756
17757         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
17758         padding here before, but it missed the commit.
17759
17760 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17761
17762         * libs/gst/controller/gstinterpolation.c:
17763           whitespace prices have crashed, we should feel free to use some now
17764           use gst_guint64_to_gdouble
17765
17766 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17767
17768         * libs/gst/controller/gstcontroller.c:
17769         * libs/gst/controller/gsthelper.c:
17770         * libs/gst/controller/gstinterpolation.c:
17771         * libs/gst/controller/lib.c:
17772           wrap config.h include
17773
17774 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17775
17776         * docs/gst/gstreamer-sections.txt:
17777           update docs
17778
17779 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
17780
17781         * plugins/elements/gstelements.c:
17782         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
17783         (gst_fd_sink__class_init), (gst_fd_sink__init),
17784         (gst_fd_sink__chain), (gst_fd_sink__set_property),
17785         (gst_fd_sink__get_property):
17786         * plugins/elements/gstfdsink.h:
17787         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
17788         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
17789         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
17790         (gst_fd_src_unlock), (gst_fd_src_set_property),
17791         (gst_fd_src_get_property), (gst_fd_src_create),
17792         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
17793         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
17794         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
17795         (gst_fd_src_uri_handler_init):
17796         * plugins/elements/gstfdsrc.h:
17797         * plugins/elements/gstqueue.c: (gst_queue_get_type):
17798           more anal cleanup
17799
17800 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17801
17802         * docs/gst/Makefile.am:
17803         * docs/gst/gstreamer.types.in:
17804         * gst/Makefile.am:
17805           fix the docs build
17806
17807 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17808
17809         * configure.ac:
17810         * gst/Makefile.am:
17811         * gst/gst.c:
17812         * gst/gstplugin.h:
17813         * gst/gstregistry.h:
17814         * tests/benchmarks/complexity.c:
17815         * tests/benchmarks/mass-elements.c:
17816         * tests/check/Makefile.am:
17817         * tools/Makefile.am:
17818         * tools/gst-inspect.c:
17819         * tools/gst-xmlinspect.c:
17820           various fixes to make
17821           --disable-nls --disable-registry --disable-loadsave
17822           --disable-parse --disable-gst-debug
17823           work and get the core .so down to 360444 bytes after stripping
17824
17825 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17826
17827         * Makefile.am:
17828         * configure.ac:
17829           descend into tests
17830         * docs/random/thomasvs/TODO:
17831         * tests/Makefile.am:
17832         * tests/README:
17833           add a README
17834
17835 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17836
17837         * win32/GStreamer.vcproj:
17838         * win32/MANIFEST:
17839         * win32/Makefile:
17840         * win32/Makefile.inspect:
17841         * win32/Makefile.launch:
17842         * win32/Makefile.register:
17843         * win32/README.txt:
17844         * win32/gst-inspect.vcproj:
17845         * win32/gst-launch.vcproj:
17846         * win32/gst-register.vcproj:
17847         * win32/gstelements.vcproj:
17848         * win32/gstgetbits.def:
17849         * win32/gstgetbits.vcproj:
17850         * win32/gstreamer-dbg.def:
17851         * win32/gstreamer.def:
17852         * win32/libgstbase.def:
17853         * win32/libgstbase.vcproj:
17854         * win32/link_oldruntime.c:
17855         * win32/mman.c:
17856         * win32/mman.h:
17857         * win32/mman.inl:
17858         * win32/msvc71.sln:
17859           move even more stuff, win32/ is nice and clean now
17860
17861 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17862
17863         * libs/gst/control/.cvsignore:
17864         * win32/MANIFEST:
17865         * win32/config.h:
17866         * win32/dirent.c:
17867         * win32/dirent.h:
17868         * win32/gstbytestream.def:
17869         * win32/gstbytestream.vcproj:
17870         * win32/gstconfig.h:
17871         * win32/gstenumtypes.c:
17872         * win32/gstenumtypes.h:
17873         * win32/gstoptimalscheduler.vcproj:
17874         * win32/gstversion.h:
17875         * win32/gtchar.h:
17876         * win32/testsuite/bins.vcproj:
17877         * win32/testsuite/bytestream.vcproj:
17878         * win32/testsuite/caps.vcproj:
17879         * win32/testsuite/cleanup.vcproj:
17880         * win32/testsuite/clock.vcproj:
17881         * win32/testsuite/debug.vcproj:
17882         * win32/testsuite/dlopen.vcproj:
17883         * win32/testsuite/dynparams.vcproj:
17884         * win32/testsuite/elements.vcproj:
17885         * win32/testsuite/ghostpads.vcproj:
17886         * win32/testsuite/indexers.vcproj:
17887         * win32/testsuite/negotiation.vcproj:
17888         * win32/testsuite/parse.vcproj:
17889         * win32/testsuite/plugin.vcproj:
17890         * win32/testsuite/refcounting.vcproj:
17891         * win32/testsuite/schedulers.vcproj:
17892         * win32/testsuite/states.vcproj:
17893         * win32/testsuite/tags.vcproj:
17894         * win32/testsuite/threads.vcproj:
17895           remove old win32 stuff that isn't maintained and should be
17896           reorganized
17897
17898 2005-11-30  Andy Wingo  <wingo@pobox.com>
17899
17900         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17901         loading the gst.interfaces python module bork.
17902
17903         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17904         available since GLib 2.2. Fixes #318031.
17905
17906 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17907
17908         * Makefile.am:
17909         * check/.cvsignore:
17910         * check/Makefile.am:
17911         * check/elements/.cvsignore:
17912         * check/elements/fakesrc.c:
17913         * check/elements/fdsrc.c:
17914         * check/elements/identity.c:
17915         * check/generic/.cvsignore:
17916         * check/generic/states.c:
17917         * check/gst-libs/.cvsignore:
17918         * check/gst-libs/controller.c:
17919         * check/gst-libs/gdp.c:
17920         * check/gst/.cvsignore:
17921         * check/gst/capslist.h:
17922         * check/gst/gst.c:
17923         * check/gst/gstbin.c:
17924         * check/gst/gstbuffer.c:
17925         * check/gst/gstbus.c:
17926         * check/gst/gstcaps.c:
17927         * check/gst/gstelement.c:
17928         * check/gst/gstevent.c:
17929         * check/gst/gstghostpad.c:
17930         * check/gst/gstiterator.c:
17931         * check/gst/gstmessage.c:
17932         * check/gst/gstminiobject.c:
17933         * check/gst/gstobject.c:
17934         * check/gst/gstpad.c:
17935         * check/gst/gstpipeline.c:
17936         * check/gst/gstplugin.c:
17937         * check/gst/gstsegment.c:
17938         * check/gst/gststructure.c:
17939         * check/gst/gstsystemclock.c:
17940         * check/gst/gsttag.c:
17941         * check/gst/gstutils.c:
17942         * check/gst/gstvalue.c:
17943         * check/net/.cvsignore:
17944         * check/net/gstnetclientclock.c:
17945         * check/net/gstnettimeprovider.c:
17946         * check/pipelines/.cvsignore:
17947         * check/pipelines/cleanup.c:
17948         * check/pipelines/simple_launch_lines.c:
17949         * check/pipelines/stress.c:
17950         * check/states/.cvsignore:
17951         * check/states/sinks.c:
17952         * configure.ac:
17953         * examples/Makefile.am:
17954         * examples/appreader/.cvsignore:
17955         * examples/appreader/Makefile.am:
17956         * examples/appreader/appreader.c:
17957         * examples/controller/.cvsignore:
17958         * examples/controller/Makefile.am:
17959         * examples/controller/audio-example.c:
17960         * examples/cutter/.cvsignore:
17961         * examples/cutter/Makefile.am:
17962         * examples/cutter/cutter.c:
17963         * examples/cutter/cutter.h:
17964         * examples/events/Makefile.am:
17965         * examples/events/seek.c:
17966         * examples/helloworld/.cvsignore:
17967         * examples/helloworld/Makefile.am:
17968         * examples/helloworld/helloworld.c:
17969         * examples/helloworld2/.cvsignore:
17970         * examples/helloworld2/Makefile.am:
17971         * examples/helloworld2/helloworld2.c:
17972         * examples/launch/.cvsignore:
17973         * examples/launch/Makefile.am:
17974         * examples/launch/mp3parselaunch.c:
17975         * examples/launch/mp3play:
17976         * examples/manual/.cvsignore:
17977         * examples/manual/Makefile.am:
17978         * examples/manual/extract.pl:
17979         * examples/metadata/Makefile.am:
17980         * examples/metadata/read-metadata.c:
17981         * examples/mixer/.cvsignore:
17982         * examples/mixer/Makefile.am:
17983         * examples/mixer/mixer.c:
17984         * examples/mixer/mixer.h:
17985         * examples/pingpong/.cvsignore:
17986         * examples/pingpong/Makefile.am:
17987         * examples/pingpong/pingpong.c:
17988         * examples/plugins/.cvsignore:
17989         * examples/plugins/Makefile.am:
17990         * examples/plugins/example.c:
17991         * examples/plugins/example.h:
17992         * examples/pwg/.cvsignore:
17993         * examples/pwg/Makefile.am:
17994         * examples/pwg/extract.pl:
17995         * examples/queue/.cvsignore:
17996         * examples/queue/Makefile.am:
17997         * examples/queue/queue.c:
17998         * examples/queue2/.cvsignore:
17999         * examples/queue2/Makefile.am:
18000         * examples/queue2/queue2.c:
18001         * examples/queue3/.cvsignore:
18002         * examples/queue3/Makefile.am:
18003         * examples/queue3/queue3.c:
18004         * examples/queue4/.cvsignore:
18005         * examples/queue4/Makefile.am:
18006         * examples/queue4/queue4.c:
18007         * examples/retag/.cvsignore:
18008         * examples/retag/Makefile.am:
18009         * examples/retag/retag.c:
18010         * examples/retag/transcode.c:
18011         * examples/thread/.cvsignore:
18012         * examples/thread/Makefile.am:
18013         * examples/thread/thread.c:
18014         * examples/typefind/.cvsignore:
18015         * examples/typefind/Makefile.am:
18016         * examples/typefind/typefind.c:
18017         * examples/xml/.cvsignore:
18018         * examples/xml/Makefile.am:
18019         * examples/xml/createxml.c:
18020         * examples/xml/runxml.c:
18021         * tests/Makefile.am:
18022         * tests/check/Makefile.am:
18023         * testsuite/.cvsignore:
18024         * testsuite/Makefile.am:
18025         * testsuite/Rules:
18026         * testsuite/caps/.cvsignore:
18027         * testsuite/caps/Makefile.am:
18028         * testsuite/caps/app_fixate.c:
18029         * testsuite/caps/audioscale.c:
18030         * testsuite/caps/caps.c:
18031         * testsuite/caps/caps.h:
18032         * testsuite/caps/caps_strings:
18033         * testsuite/caps/compatibility.c:
18034         * testsuite/caps/deserialize.c:
18035         * testsuite/caps/enumcaps.c:
18036         * testsuite/caps/eratosthenes.c:
18037         * testsuite/caps/filtercaps.c:
18038         * testsuite/caps/fixed.c:
18039         * testsuite/caps/fraction-convert.c:
18040         * testsuite/caps/fraction-multiply-and-zero.c:
18041         * testsuite/caps/intersect2.c:
18042         * testsuite/caps/intersection.c:
18043         * testsuite/caps/normalisation.c:
18044         * testsuite/caps/random.c:
18045         * testsuite/caps/renegotiate.c:
18046         * testsuite/caps/sets.c:
18047         * testsuite/caps/simplify.c:
18048         * testsuite/caps/string-conversions.c:
18049         * testsuite/caps/structure.c:
18050         * testsuite/caps/subtract.c:
18051         * testsuite/caps/union.c:
18052         * testsuite/debug/.cvsignore:
18053         * testsuite/debug/Makefile.am:
18054         * testsuite/debug/category.c:
18055         * testsuite/debug/commandline.c:
18056         * testsuite/debug/global.c:
18057         * testsuite/debug/output.c:
18058         * testsuite/debug/printf_extension.c:
18059         * testsuite/dlopen/.cvsignore:
18060         * testsuite/dlopen/Makefile.am:
18061         * testsuite/dlopen/dlopen_gst.c:
18062         * testsuite/dlopen/loadgst.c:
18063         * testsuite/elements/.cvsignore:
18064         * testsuite/elements/Makefile.am:
18065         * testsuite/elements/gst-inspect-check.in:
18066         * testsuite/elements/struct_i386.h:
18067         * testsuite/elements/struct_size.c:
18068         * testsuite/indexers/.cvsignore:
18069         * testsuite/indexers/Makefile.am:
18070         * testsuite/indexers/cache1.c:
18071         * testsuite/indexers/indexdump.c:
18072         * testsuite/parse/.cvsignore:
18073         * testsuite/parse/Makefile.am:
18074         * testsuite/parse/parse1.c:
18075         * testsuite/parse/parse2.c:
18076         * testsuite/plugin/.cvsignore:
18077         * testsuite/plugin/Makefile.am:
18078         * testsuite/plugin/README:
18079         * testsuite/plugin/dynamic.c:
18080         * testsuite/plugin/linked.c:
18081         * testsuite/plugin/loading.c:
18082         * testsuite/plugin/registry.c:
18083         * testsuite/plugin/static.c:
18084         * testsuite/plugin/static2.c:
18085         * testsuite/plugin/testplugin.c:
18086         * testsuite/plugin/testplugin2.c:
18087         * testsuite/plugin/testplugin2_s.c:
18088         * testsuite/plugin/testplugin_s.c:
18089         * testsuite/refcounting/.cvsignore:
18090         * testsuite/refcounting/Makefile.am:
18091         * testsuite/refcounting/bin.c:
18092         * testsuite/refcounting/element.c:
18093         * testsuite/refcounting/element_pad.c:
18094         * testsuite/refcounting/mainloop.c:
18095         * testsuite/refcounting/mem.c:
18096         * testsuite/refcounting/mem.h:
18097         * testsuite/refcounting/object.c:
18098         * testsuite/refcounting/pad.c:
18099         * testsuite/refcounting/sched.c:
18100         * testsuite/refcounting/thread.c:
18101         * testsuite/states/.cvsignore:
18102         * testsuite/states/Makefile.am:
18103         * testsuite/states/bin.c:
18104         * testsuite/states/locked.c:
18105         * testsuite/states/parent.c:
18106         * testsuite/threads/.cvsignore:
18107         * testsuite/threads/159566.c:
18108         * testsuite/threads/159852.c:
18109         * testsuite/threads/Makefile.am:
18110         * testsuite/threads/queue.c:
18111         * testsuite/threads/signals.c:
18112         * testsuite/threads/staticrec.c:
18113         * testsuite/threads/thread.c:
18114         * testsuite/threads/threadb.c:
18115         * testsuite/threads/threadc.c:
18116         * testsuite/threads/threadd.c:
18117         * testsuite/threads/threade.c:
18118         * testsuite/threads/threadf.c:
18119         * testsuite/threads/threadg.c:
18120         * testsuite/threads/threadh.c:
18121         * testsuite/threads/threadi.c:
18122           move all of these under tests
18123
18124 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18125
18126         * configure.ac:
18127         * tests/Makefile.am:
18128           fix distcheck
18129
18130 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18131
18132         * docs/gst/gstreamer-sections.txt:
18133         * tests/sched/.cvsignore:
18134         * tests/sched/Makefile.am:
18135         * tests/sched/cases/(fs-fs).xml:
18136         * tests/sched/cases/(fs-i-fs).xml:
18137         * tests/sched/cases/(fs-i-i-fs).xml:
18138         * tests/sched/cases/(fs-i-q[i-fs]).xml:
18139         * tests/sched/dynamic-pipeline.c:
18140         * tests/sched/interrupt1.c:
18141         * tests/sched/interrupt2.c:
18142         * tests/sched/interrupt3.c:
18143         * tests/sched/runtestcases:
18144         * tests/sched/runxml.c:
18145         * tests/sched/sched-stress.c:
18146         * tests/sched/sort.c:
18147         * tests/sched/testcases:
18148         * tests/sched/testcases1.tc:
18149         * tests/seeking/.cvsignore:
18150         * tests/seeking/Makefile.am:
18151         * tests/seeking/seeking1.c:
18152         * tests/threadstate/.cvsignore:
18153         * tests/threadstate/Makefile.am:
18154         * tests/threadstate/test1.c:
18155         * tests/threadstate/test2.c:
18156         * tests/threadstate/threadstate1.c:
18157         * tests/threadstate/threadstate2.c:
18158         * tests/threadstate/threadstate3.c:
18159         * tests/threadstate/threadstate4.c:
18160         * tests/threadstate/threadstate5.c:
18161           remove obsolete tests
18162         * configure.ac:
18163         * tests/bench-complexity.scm:
18164         * tests/bench-mass_elements.scm:
18165         * tests/complexity.c:
18166         * tests/complexity.gnuplot:
18167         * tests/instantiate/.cvsignore:
18168         * tests/instantiate/Makefile.am:
18169         * tests/instantiate/caps.c:
18170         * tests/mass_elements.c:
18171         * tests/network-clock-utils.scm:
18172         * tests/network-clock.scm:
18173         * tests/plot-data:
18174         First pass at cleaning up tests/ dir before moving the rest
18175         Combined with CVS surgery
18176
18177 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18178
18179         * po/POTFILES.in:
18180           queue has moved, update
18181
18182 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18183
18184         * docs/gst/gstreamer-sections.txt:
18185           remove double entries from the docs
18186         * gst/gst_private.h:
18187         * gst/gstinfo.c: (_gst_debug_init):
18188           remove the THREAD debug category
18189         * gst/Makefile.am:
18190         * gst/gstqueue.c:
18191         * gst/gstqueue.h:
18192         * docs/gst/gstreamer.types:
18193         * plugins/elements/gstqueue.c: (gst_queue_get_type),
18194         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
18195           completely move queue and fix up debugging categories
18196
18197 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18198
18199         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
18200           make initialization portable, using LL is not
18201
18202 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18203
18204         * win32/common/gstconfig.h:
18205           add large padding
18206
18207 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18208
18209         * win32/common/libgstreamer.def:
18210           rename symbols; sort base section
18211
18212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18213
18214         * gst/gstclock.c: (do_linear_regression):
18215           remove crack non-portable handrolled DEBUG macro
18216
18217 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18218
18219         * docs/random/release:
18220           update notes
18221         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18222         (gst_object_flags_get_type), (register_gst_bin_flags),
18223         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18224         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18225         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18226         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
18227         (gst_caps_flags_get_type), (register_gst_clock_return),
18228         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18229         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18230         (gst_clock_flags_get_type), (register_gst_state),
18231         (gst_state_get_type), (register_gst_state_change_return),
18232         (gst_state_change_return_get_type), (register_gst_state_change),
18233         (gst_state_change_get_type), (register_gst_element_flags),
18234         (gst_element_flags_get_type), (register_gst_core_error),
18235         (gst_core_error_get_type), (register_gst_library_error),
18236         (gst_library_error_get_type), (register_gst_resource_error),
18237         (gst_resource_error_get_type), (register_gst_stream_error),
18238         (gst_stream_error_get_type), (register_gst_event_type_flags),
18239         (gst_event_type_flags_get_type), (register_gst_event_type),
18240         (gst_event_type_get_type), (register_gst_seek_type),
18241         (gst_seek_type_get_type), (register_gst_seek_flags),
18242         (gst_seek_flags_get_type), (register_gst_format),
18243         (gst_format_get_type), (register_gst_index_certainty),
18244         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18245         (gst_index_entry_type_get_type),
18246         (register_gst_index_lookup_method),
18247         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18248         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18249         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18250         (gst_index_flags_get_type), (register_gst_debug_level),
18251         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18252         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18253         (gst_iterator_result_get_type), (register_gst_iterator_item),
18254         (gst_iterator_item_get_type), (register_gst_message_type),
18255         (gst_message_type_get_type), (register_gst_mini_object_flags),
18256         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18257         (gst_pad_link_return_get_type), (register_gst_flow_return),
18258         (gst_flow_return_get_type), (register_gst_activate_mode),
18259         (gst_activate_mode_get_type), (register_gst_pad_direction),
18260         (gst_pad_direction_get_type), (register_gst_pad_flags),
18261         (gst_pad_flags_get_type), (register_gst_pad_presence),
18262         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18263         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18264         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18265         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18266         (gst_plugin_flags_get_type), (register_gst_rank),
18267         (gst_rank_get_type), (register_gst_query_type),
18268         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18269         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18270         (gst_tag_flag_get_type), (register_gst_task_state),
18271         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18272         (gst_alloc_trace_flags_get_type),
18273         (register_gst_type_find_probability),
18274         (gst_type_find_probability_get_type), (register_gst_uri_type),
18275         (gst_uri_type_get_type), (register_gst_parse_error),
18276         (gst_parse_error_get_type):
18277         * win32/common/gstenumtypes.h:
18278         * win32/common/gstversion.h:
18279           update visual studio generated files
18280
18281 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18282
18283         * win32/vs6/libgstbase.dsp:
18284         * win32/vs6/libgstelements.dsp:
18285           update project files for new locations
18286
18287 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
18288
18289         * Makefile.am:
18290           remove some files
18291         * README:
18292           reinstate and update
18293         * DEVEL:
18294         * REQUIREMENTS:
18295           removed
18296         * LICENSE:
18297         * docs/random/LICENSE:
18298           moved to random
18299
18300 2005-11-30  Edward Hervey  <edward@fluendo.com>
18301
18302         * gst/gsttypefind.c: (gst_type_find_register):
18303         * gst/gsttypefind.h:
18304         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
18305         (gst_type_find_factory_dispose):
18306         * gst/gsttypefindfactory.h:
18307         Fix memory leak in GstTypeFindFactory.
18308
18309 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18310
18311         * gst/gst.c:
18312         * plugins/elements/Makefile.am:
18313         * plugins/elements/gstelements.c:
18314         * plugins/elements/gstqueue.c:
18315           move queue from core to the elements plugin
18316
18317 2005-11-29  Andy Wingo  <wingo@pobox.com>
18318
18319         * libs/gst/base/gstbasetransform.h: 
18320         * libs/gst/base/gstbasesrc.h: 
18321         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
18322
18323         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
18324         of pointers by which to pad very extensible base classes (like the
18325         ones in libs/gst/base).
18326
18327 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18328
18329         * docs/gst/gstreamer-docs.sgml:
18330         * docs/gst/gstreamer-sections.txt:
18331         * docs/libs/gstreamer-libs-docs.sgml:
18332         * docs/libs/gstreamer-libs-sections.txt:
18333           moving documentation from core to lib
18334
18335 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18336
18337         * check/Makefile.am:
18338         * configure.ac:
18339         * docs/gst/Makefile.am:
18340         * gst/Makefile.am:
18341         * gst/base/.cvsignore:
18342         * gst/base/Makefile.am:
18343         * gst/base/README:
18344         * gst/base/gstadapter.c:
18345         * gst/base/gstadapter.h:
18346         * gst/base/gstbasesink.c:
18347         * gst/base/gstbasesink.h:
18348         * gst/base/gstbasesrc.c:
18349         * gst/base/gstbasesrc.h:
18350         * gst/base/gstbasetransform.c:
18351         * gst/base/gstbasetransform.h:
18352         * gst/base/gstcollectpads.c:
18353         * gst/base/gstcollectpads.h:
18354         * gst/base/gstpushsrc.c:
18355         * gst/base/gstpushsrc.h:
18356         * gst/base/gsttypefindhelper.c:
18357         * gst/base/gsttypefindhelper.h:
18358         * gst/check/Makefile.am:
18359         * gst/check/gstcheck.c:
18360         * gst/check/gstcheck.h:
18361         * gst/net/Makefile.am:
18362         * gst/net/gstnet.h:
18363         * gst/net/gstnetclientclock.c:
18364         * gst/net/gstnetclientclock.h:
18365         * gst/net/gstnettimepacket.c:
18366         * gst/net/gstnettimepacket.h:
18367         * gst/net/gstnettimeprovider.c:
18368         * gst/net/gstnettimeprovider.h:
18369         * libs/gst/Makefile.am:
18370         * libs/gst/base/Makefile.am:
18371         * libs/gst/base/gstbasetransform.c:
18372         * libs/gst/check/Makefile.am:
18373         * plugins/elements/Makefile.am:
18374         * po/POTFILES.in:
18375           CVS surgery + support to move base, check, and net out of gst
18376           and into libs/gst
18377
18378 2005-11-29  Andy Wingo  <wingo@pobox.com>
18379
18380         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
18381
18382         * gst/gststructure.h (struct _GstStructure): Only one pointer of
18383         padding.
18384
18385         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
18386
18387         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
18388
18389         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
18390
18391         * gst/gstobject.h: (struct _GstObject): Only one pointer of
18392         padding; reduces object size by about 30%. We don't expect
18393         anything else to go into gstobject.
18394
18395         * gst/gstminiobject.h (struct _GstMiniObject)
18396         (struct _GstMiniObjectClass): Only one pointer of padding; the
18397         payload is only a pointer and two ints anyway. For the class there
18398         are only two methods as well.
18399         
18400         * gst/gstelement.h (struct _GstElementClass): Removed
18401         the state_changed signal callback, it is not used.
18402
18403 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18404
18405         * docs/gst/gstreamer.types:
18406           fix includes, though they are a little dinky
18407
18408 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18409
18410         * check/Makefile.am:
18411           look in the right place for elements, a lot more chance of
18412           success
18413         * gst/Makefile.am:
18414           remove indexers and elements subdirs
18415         * plugins/Makefile.am:
18416           make indexers conditional
18417
18418 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18419
18420         * Makefile.am:
18421         * configure.ac:
18422         * plugins/elements/Makefile.am:
18423         * plugins/elements/gstcapsfilter.c:
18424         * plugins/elements/gstfilesink.c:
18425         * plugins/elements/gstfilesrc.c:
18426         * plugins/elements/gstidentity.c:
18427         * plugins/indexers/Makefile.am:
18428           do CVS surgery and related build fixery to move elements
18429           and indexers in a new gstreamer/plugins directory, out of the
18430           gst/ directory
18431
18432 2005-11-29  Andy Wingo  <wingo@pobox.com>
18433
18434         * check/Makefile.am:
18435         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18436         * pkgconfig/gstreamer-net.pc.in:
18437         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
18438         #322257.
18439
18440 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18441
18442         * tools/Makefile.am:
18443         * tools/gst-complete.1.in:
18444         * tools/gst-complete.c:
18445         * tools/gst-compprep.1.in:
18446         * tools/gst-compprep.c:
18447           removing -compprep and -complete
18448
18449 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18450
18451         * gst/gstevent.c: (gst_event_new_new_segment),
18452         (gst_event_parse_new_segment):
18453         * gst/gstevent.h:
18454           fix #320529 - clean up new_segment API and structure.
18455           Let's hope everyone was using the methods, and not the structure.
18456
18457 2005-11-29  Edward Hervey  <edward@fluendo.com>
18458
18459         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18460         (gst_base_sink_event), (gst_base_sink_do_sync),
18461         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
18462         Properly handle non GST_FORMAT_TIME segment
18463         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18464         Properly handle non GST_FORMAT_TIME segment
18465         * gst/gstsegment.c:
18466         This function is valid if the accumulator is 0 and the format
18467         is different from the requested format.
18468         
18469 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18470
18471         * docs/gst/gstreamer-sections.txt:
18472         Add gst_query_new_seeking and gst_query_parse_seeking to the
18473         docs.
18474
18475 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
18476
18477         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
18478           Treat a pad alloc with new caps the same as if we were not
18479           negotiated, in order to allow a changing upstream output
18480           to produce a new format of data.
18481
18482 2005-11-29  Edward Hervey  <edward@fluendo.com>
18483
18484         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18485         (gst_base_transform_event), (gst_base_transform_eventfunc):
18486         The event virtual method is now properly implemented, with a default
18487         handler
18488         Sub classes should call the parent_class event method. They should
18489         return FALSE if they had a problem handling the given event, or don't
18490         want GstBaseTransform to send that even downstream
18491         * gst/elements/gstidentity.c: (gst_identity_class_init),
18492         (gst_identity_init), (gst_identity_event),
18493         (gst_identity_transform_ip), (gst_identity_set_property),
18494         (gst_identity_get_property):
18495         * gst/elements/gstidentity.h:
18496         Added the single-segment boolean property.
18497         If set to TRUE, it will output a single segment of data, starting from
18498         0, will eat up all incoming newsegment, and modify the timestamp of the
18499         buffers accordingly
18500
18501 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
18502
18503         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
18504           Don't ref NULL target pad (#322751). Improve docs.
18505
18506 2005-11-29  Michael Smith  <msmith@fluendo.com>
18507
18508         * gst/gstregistryxml.c: (load_plugin):
18509           Don't crash if we failed to load a feature from a plugin. 
18510
18511 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18512
18513         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18514         (GST_START_TEST):
18515           use more check API and less GLib API
18516
18517 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18518
18519         * Makefile.am:
18520           don't run checks if we don't have check
18521         * common/check.mak:
18522           remove the registry when running make torture
18523         * docs/gst/gstreamer-sections.txt:
18524           remove second multiply
18525         * gst/gstqueue.c: (gst_queue_loop):
18526           fix a compile warning when disabling debug
18527
18528 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18529
18530         * gst/gstinfo.h:
18531         Hey! Let's print the pad name if the pointer != NULL instead
18532         of when it == NULL :-)
18533
18534 2005-11-28  Wim Taymans  <wim@fluendo.com>
18535
18536         * check/gst/gstutils.c: (GST_START_TEST):
18537         Updated check, add some scaling accuracy checking code.
18538
18539         * gst/gstutils.c: (gst_util_div128_64),
18540         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
18541         (gst_util_uint64_scale_int):
18542         Fix 6 times faster division code. Optimize for common 
18543         1/1 and less common X/1 cases.
18544
18545 2005-11-28  Wim Taymans  <wim@fluendo.com>
18546
18547         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18548         More checks.
18549
18550         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
18551         (do_linear_regression), (gst_clock_add_observation):
18552         Cleanups.
18553         Release lock when the clock cannot be slaved.
18554         Catch the case where the regression returned an invalid denominator.
18555
18556         * gst/gstutils.c: (gst_util_div128_64_iterate),
18557         (gst_util_div128_64), (gst_util_uint64_scale_int64),
18558         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18559         Add protentially more performant non-iterative 128/64 divide function
18560         that unfortunatly does not work yet.
18561         Shortcut the trivial 0/X = 0 case.
18562         Remove the warnings on overflow.
18563
18564 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18565
18566         * gst/gstplugin.c: (gst_plugin_register_func):
18567           everything causing a plugin not to load should be at least a WARNING
18568
18569 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
18570
18571         * docs/random/ensonic/dparams.txt:
18572           some TODOs for the next dev cycle
18573         * libs/gst/controller/gstcontroller.c:
18574         (gst_controlled_property_set_interpolation_mode),
18575         (gst_controlled_property_new):
18576         * libs/gst/controller/gstcontroller.h:
18577           use base type to assign acccessor functions
18578
18579 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18580
18581         * check/Makefile.am:
18582         Oops, that should have been top_srcdir
18583
18584 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
18585
18586         * check/Makefile.am:
18587         * check/elements/fdsrc.c: (GST_START_TEST):
18588         Use a cmdline define to specify the location of a file to use for
18589         testing, to avoid breaking distcheck.
18590
18591 2005-11-28  Andy Wingo  <wingo@pobox.com>
18592
18593         * gst/gstpad.c (fixate_value): Use array functions for arrays.
18594
18595 2005-11-28  Edward Hervey  <edward@fluendo.com>
18596
18597         * tools/gst-launch.c: (main):
18598         Clarify the output strings, makes it easier to translate.
18599         Fixes #322626
18600
18601 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18602
18603         * gst/Makefile.am:
18604           don't try and build net if we don't even have <sys/socket.h>
18605
18606 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
18607
18608         * check/Makefile.am:
18609         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
18610         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
18611           Add tests for fdsrc seekability
18612
18613         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
18614         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
18615         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
18616         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
18617         * gst/elements/gstfdsrc.h:
18618           fdsrc should not be a 'live' source.
18619           Implement seeking on seekable fd's.
18620
18621         * gst/gstquery.c: (gst_query_new_seeking),
18622         (gst_query_parse_seeking):
18623         * gst/gstquery.h:
18624           Implement SEEKING query functions: 
18625             *_new_seeking and *_parse_seeking
18626
18627 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
18628
18629         * gst/gstelement.c: (gst_element_dispose):
18630           don't loop forever
18631
18632         * gst/gstiterator.c:
18633         * gst/gststructure.c:
18634           doc fixes
18635
18636         * libs/gst/controller/gstcontroller.c:
18637         (gst_controlled_property_set_interpolation_mode):
18638         * libs/gst/controller/gstcontroller.h:
18639         * libs/gst/controller/gstinterpolation.c:
18640         (interpolate_none_get_enum_value_array):
18641           support controlling enums
18642
18643 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18644
18645         * gst/gstvalue.c:
18646           Improve documentation for gst_value_union().
18647
18648         * gst/gstvalue.h:
18649           Change return value for union, intersect and subtract functions
18650           from gint to gboolean.
18651
18652 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
18653
18654         * gst/gstvalue.c: (gst_value_serialize_any_list),
18655         (gst_value_transform_any_list_string),
18656         (gst_value_deserialize_list), (gst_value_deserialize_array),
18657         (gst_value_set_int_range), (gst_value_deserialize_int_range),
18658         (gst_value_set_double_range), (gst_value_deserialize_double_range),
18659         (gst_value_set_fraction_range_full),
18660         (gst_value_deserialize_fraction_range),
18661         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
18662         (gst_value_deserialize_boolean),
18663         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
18664         (gst_value_serialize_float), (gst_value_deserialize_float),
18665         (gst_string_wrap), (gst_value_deserialize_string),
18666         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
18667         (gst_value_union_int_range_int_range),
18668         (gst_value_intersect_int_range_int_range),
18669         (gst_value_intersect_double_range_double_range),
18670         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
18671         (gst_value_subtract_int_range_int_range),
18672         (gst_value_subtract_double_double_range),
18673         (gst_value_subtract_double_range_double_range),
18674         (gst_value_deserialize_fraction):
18675         * gst/gstvalue.h:
18676           Use gint, gdouble and gchar in our API instead of int, double and
18677           char (and make usage in gstvalue.c more consistent).
18678
18679 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18680
18681         * check/Makefile.am:
18682         * libs/gst/controller/Makefile.am:
18683         * libs/gst/dataprotocol/Makefile.am:
18684           fix up Makefile.am and remove GST_ENABLE_NEW
18685
18686 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18687
18688         * configure.ac:
18689         * gst/Makefile.am:
18690         * gst/base/Makefile.am:
18691         * gst/check/Makefile.am:
18692         * gst/elements/Makefile.am:
18693         * gst/net/Makefile.am:
18694           update LDFLAGS use some more
18695
18696 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
18697
18698         * common/m4/gst-doc.m4:
18699           Fixes #312589
18700
18701 2005-11-26  Edward Hervey  <edward@fluendo.com>
18702
18703         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18704         This shouldn't issue a g_warning since it returns NULL if it
18705         couldn't find the plugin, and all functions using this behave
18706         properly on a NULL return. Switching to a GST_WARNING.
18707
18708 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
18709
18710         * gst/gstbin.c: (gst_bin_handle_message_func):
18711         Don't leak clock messages.
18712
18713 2005-11-25  Wim Taymans  <wim@fluendo.com>
18714
18715         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18716         (gst_util_uint64_scale_int):
18717         Optimisations, remove unneeded vars.
18718
18719 2005-11-25  Wim Taymans  <wim@fluendo.com>
18720
18721         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18722         Added more checks for the high precision uint64 cases.
18723
18724         * gst/gstutils.c: (gst_util_uint64_scale_int64),
18725         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
18726         Implement high precision (guint64 * guint64) / guint64.
18727
18728 2005-11-24  Wim Taymans  <wim@fluendo.com>
18729
18730         * gst/base/gstbasesrc.c: (gst_base_src_query):
18731         Fix wrong percentage query.
18732
18733         * gst/gstutils.c: (gst_util_uint64_scale),
18734         (gst_util_uint64_scale_int):
18735         Add some more common cases that can be handled 
18736         efficiently to _scale.
18737
18738 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18739
18740         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
18741         (gst_mini_object_suite):
18742           don't use check calls from threads; check probably isn't
18743           threadsafe and using a lock to make it threadsafe would
18744           defeat the purpose of this check
18745         * gst/check/gstcheck.c:
18746         * gst/check/gstcheck.h:
18747           use GST_DEBUG some more
18748
18749 2005-11-24  Wim Taymans  <wim@fluendo.com>
18750
18751         * gst/gstutils.c: (gst_util_uint64_scale),
18752         (gst_util_uint64_scale_int):
18753         Chain trivial case to _scale_int.
18754
18755 2005-11-24  Wim Taymans  <wim@fluendo.com>
18756
18757         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
18758         Added test for scaling.
18759
18760         * gst/gstclock.h:
18761         Small doc fix.
18762
18763         * gst/gstutils.c: (gst_util_uint64_scale_int):
18764         Implemented high precision scaling code.
18765
18766 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
18767
18768         * gst/gstinfo.h:
18769           do not crash on pad==NULL
18770
18771 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18772
18773         Patch by: Stefan Kost
18774
18775         * common/gtk-doc.mak:
18776         * docs/gst/Makefile.am:
18777         * docs/libs/Makefile.am:
18778           Fix distcheck issues for the libraries docs build
18779           Closes #319599.
18780
18781 2005-11-24  Michael Smith <msmith@fluendo.com>
18782
18783         * docs/manual/basics-helloworld.xml:
18784           Fix bug #315027: memory leak in example code in docs.
18785
18786 2005-11-24  Michael Smith <msmith@fluendo.com>
18787
18788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18789           Unlock the PREROLL_LOCK in a failure case.
18790
18791 2005-11-24  Wim Taymans  <wim@fluendo.com>
18792
18793         * docs/gst/gstreamer-sections.txt:
18794         * gst/base/gstadapter.h:
18795         * gst/base/gstbasesink.h:
18796         * gst/base/gstbasesrc.h:
18797         * gst/base/gstbasetransform.h:
18798         * gst/base/gstpushsrc.h:
18799         * gst/elements/gstfakesink.h:
18800         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18801         * gst/elements/gstfakesrc.h:
18802         * gst/elements/gstfilesink.h:
18803         * gst/elements/gstfilesrc.h:
18804         * gst/gst.c:
18805         * gst/gstbin.c:
18806         * gst/gstbuffer.c: (_gst_buffer_copy):
18807         * gst/gstbus.h:
18808         * gst/gstcaps.c:
18809         * gst/gstchildproxy.c:
18810         * gst/gstclock.c:
18811         * gst/gstelement.c:
18812         * gst/gstelementfactory.c:
18813         * gst/gstelementfactory.h:
18814         * gst/gstevent.c:
18815         * gst/gstghostpad.h:
18816         * gst/gstindex.h:
18817         * gst/gstinterface.h:
18818         * gst/gstminiobject.c:
18819         * gst/gstminiobject.h:
18820         * gst/gstpad.c:
18821         * gst/gstpad.h:
18822         * gst/gstpadtemplate.h:
18823         * gst/gstpipeline.h:
18824         * gst/gstpluginfeature.h:
18825         * gst/gstquery.h:
18826         * gst/gstqueue.h:
18827         * gst/gsttaglist.c:
18828         * gst/gsttaglist.h:
18829         * gst/gsttagsetter.c:
18830         * gst/gsttagsetter.h:
18831         * gst/gsttrace.c:
18832         * gst/gsttrace.h:
18833         * gst/gsttypefind.h:
18834         * gst/gsturi.h:
18835         * gst/gstvalue.c:
18836         * gst/net/gstnetclientclock.c:
18837         * gst/net/gstnetclientclock.h:
18838         * gst/net/gstnettimepacket.c:
18839         * gst/net/gstnettimeprovider.c:
18840         * gst/net/gstnettimeprovider.h:
18841         Doc fixes.
18842
18843 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18844
18845         * configure.ac: back to HEAD
18846
18847 === release 0.9.6 ===
18848
18849 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
18850
18851         * configure.ac:
18852           releasing 0.9.6, "Always On Time"
18853
18854 2005-11-23  Wim Taymans  <wim@fluendo.com>
18855
18856         * docs/gst/gstreamer-sections.txt:
18857         * gst/glib-compat.c:
18858         * gst/gsttagsetter.c:
18859         * gst/gstvalue.c:
18860         * gst/net/gstnetclientclock.c:
18861         * gst/net/gstnettimepacket.h:
18862         Doc updates.
18863
18864 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18865
18866         * docs/faq/using.xml:
18867         * docs/libs/tmpl/gstcontrol.sgml:
18868         * docs/manual/advanced-dparams.xml:
18869         * docs/manual/appendix-checklist.xml:
18870         * docs/manual/basics-elements.xml:
18871         * docs/pwg/other-source.xml:
18872         * docs/random/moving-plugins:
18873         * gst/gstpad.c:
18874         * tools/gst-launch.1.in:
18875           remove mentions of sinesrc
18876
18877 2005-11-23  Michael Smith <msmith@fluendo.com>
18878
18879         * docs/gst/gstreamer-sections.txt:
18880           Update for new API and API changes.
18881         * gst/gstobject.h:
18882           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18883         * gst/gstvalue.c:
18884           Documentation typo fix.
18885         * gst/net/gstnettimepacket.c:
18886           Documentation fixes for arguments.
18887
18888 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
18889
18890         * gst/gststructure.c: (gst_structure_get_fraction),
18891         (gst_structure_parse_value),
18892         (gst_structure_fixate_field_nearest_fraction):
18893         * gst/gststructure.h:
18894         * gst/gstutils.c: (gst_util_uint64_scale_int):
18895         * gst/gstutils.h:
18896         * scripts/update-funcnames:
18897         API Changes. 
18898         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18899         Make gst_structure_fixate_field_nearest_fraction take a numerator
18900         and denominator argument instead of a GValue
18901         add gst_structure_get_fraction helper function.
18902
18903 2005-11-23  Wim Taymans  <wim@fluendo.com>
18904
18905         * docs/design/part-TODO.txt:
18906         Update TODO.
18907
18908         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18909         * gst/net/gstnetclientclock.h:
18910         Use parent fields for timeout and window_size.
18911
18912 2005-11-23  Andy Wingo  <wingo@pobox.com>
18913
18914         * check/net/gstnetclientclock.c (test_functioning): Adjust to
18915         rate_num/rate_denom change.
18916
18917         * gst/net/gstnetclientclock.c
18918         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18919         OBJECT_LOCK. Don't call add_observation with the lock.
18920
18921         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18922         fraction.
18923         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18924         rate fraction.
18925         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18926         deal with rate as a fraction whose numerator and denominator are
18927         GstClockTime values.
18928         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18929         master; the other fields are protected by the SLAVE_LOCK.
18930         (do_linear_regression): Note that this must be called with the
18931         SLAVE_LOCK.
18932         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18933         OBJECT_LOCK. Call set_calibration instead of touching the
18934         variables directly.
18935         (gst_clock_set_property, gst_clock_get_property): Protect
18936         master/slave parameters with the SLAVE_LOCK.
18937
18938         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18939         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18940         note that all of the instance variables that add_observation and
18941         the set_master functions use are protected by that lock and not
18942         the OBJECT_LOCK.
18943         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18944
18945         * gst/gstclock.c (gst_clock_add_observation): No longer requires
18946         the caller to take the object lock.
18947
18948 2005-11-23  Wim Taymans  <wim@fluendo.com>
18949
18950         * gst/gsterror.c: (_gst_core_errors_init):
18951         * gst/gsterror.h:
18952         Add error for clock stuff.
18953
18954         * gst/gstpipeline.c: (gst_pipeline_change_state),
18955         (gst_pipeline_set_clock):
18956         Post clock error when clock cannot be used in a pipeline.
18957
18958 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
18959
18960         * docs/gst/gstreamer-sections.txt:
18961           make two symbols from gstinfo private for the docs
18962         * gst/base/gstcollectpads.h:
18963         * gst/gstutils.c:
18964           fix doc typos, update docs
18965
18966 2005-11-22  Wim Taymans  <wim@fluendo.com>
18967
18968         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18969         (gst_base_sink_wait), (gst_base_sink_do_sync),
18970         (gst_base_sink_handle_event):
18971         * gst/base/gstbasesink.h:
18972         No need to store the clock, the parent element class already
18973         has it.
18974
18975         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18976         Updates for clock_set returning a gboolean
18977
18978         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18979         (gst_clock_id_wait_async), (gst_clock_class_init),
18980         (gst_clock_init), (gst_clock_finalize),
18981         (gst_clock_get_internal_time), (gst_clock_get_time),
18982         (gst_clock_slave_callback), (gst_clock_set_master),
18983         (gst_clock_get_master), (do_linear_regression),
18984         (gst_clock_add_observation), (gst_clock_set_property),
18985         (gst_clock_get_property):
18986         * gst/gstclock.h:
18987         Implement master/slave. When setting a clock as a slave, a
18988         periodic timeout is scheduled to sample master and slave times.
18989         Then the slave clock is recalibrated to match offset and rate
18990         of the master clock.
18991         Update logging a bit.
18992         Add flag so that a clock can state that is cannot be slaved to
18993         another clock.
18994
18995         * gst/gstelement.c: (gst_element_set_clock):
18996         * gst/gstelement.h:
18997         The set clock returns a gboolean for when an element cannot
18998         deal with the selected clock in the pipeline. 
18999
19000         * gst/gstpipeline.c: (gst_pipeline_change_state),
19001         (gst_pipeline_set_clock):
19002         * gst/gstpipeline.h:
19003         Handle the case where the selected clock cannot be set on
19004         the pipeline.
19005
19006         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
19007         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
19008         (gst_net_client_clock_set_property),
19009         (gst_net_client_clock_get_property),
19010         (gst_net_client_clock_observe_times):
19011         * gst/net/gstnetclientclock.h:
19012         Use regression code in GstClock parent, remove duplicated
19013         functionality.
19014
19015 2005-11-22  Michael Smith <msmith@fluendo.com>
19016
19017         * gst/gstutils.c: (gst_util_clock_time_scale):
19018         * gst/gstutils.h:
19019         * docs/gst/gstreamer-sections.txt:
19020           Rename method to have extra underscore.
19021
19022 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19023
19024         * gst/elements/Makefile.am:
19025         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
19026         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
19027         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
19028         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
19029         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
19030         * gst/elements/gstfakesrc.h:
19031         * gst/gstqueue.c: (queue_leaky_get_type):
19032           correctly fix GEnumValues so that nick is the short lowercase
19033           dashed tag
19034         * tools/gst-inspect.c: (print_element_properties_info):
19035           also show the nick, since it's useful to use from parse_launch
19036           syntax
19037           Fixes #322139
19038
19039 2005-11-22  Michael Smith <msmith@fluendo.com>
19040
19041         * gst/gstutils.c: (gst_util_clocktime_scale):
19042         * gst/gstutils.h:
19043         * docs/gst/gstreamer-sections.txt:
19044           Add util method for scaling a clocktime by a fraction. Useful 
19045           implementation is left as an exercise for the reader.
19046
19047 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19048
19049         * gst/gstvalue.c: (gst_value_collect_fraction_range):
19050         If needed, allocate storage in the destination value during
19051         collection.
19052
19053 2005-11-22  Edward Hervey  <edward@fluendo.com>
19054
19055         * docs/gst/gstreamer-sections.txt:
19056         * gst/Makefile.am:
19057         * gst/gst.h:
19058         * gst/gsturitype.c:
19059         * gst/gsturitype.h:
19060         * gst/gstutils.c: (gst_util_set_object_arg):
19061         * tools/gst-compprep.c: (main):
19062         * tools/gst-inspect.c: (print_element_properties_info):
19063         Removed GstURI, closes bug #321061
19064
19065 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19066
19067         * check/gst/gststructure.c: (GST_START_TEST):
19068         * gst/gststructure.c: (gst_structure_parse_value):
19069           Oops, broke automatic string type parsing.
19070           Add a test to catch it in future.
19071
19072 2005-11-22  Andy Wingo  <wingo@pobox.com>
19073
19074         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
19075         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
19076         Actually rename the function implementations. Grr.
19077
19078 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19079
19080         * check/gst/capslist.h:
19081           Comment test cases
19082         * check/gst/gststructure.c: (GST_START_TEST),
19083         (gst_structure_suite):
19084           Test automatic value type detection in gst_structure_from_string.
19085         * gst/gststructure.c: (gst_structure_parse_value):
19086           Add fraction as a type we try and guess automatically in
19087           caps/structure strings.
19088
19089 2005-11-22  Andy Wingo  <wingo@pobox.com>
19090
19091         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
19092
19093         * gst/gsttagsetter.h:
19094         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
19095         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
19096         (gst_tag_setter_add_tag_valist)
19097         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
19098         _add_values, _add_valist, and _add_valist_values. Since this is an
19099         interface the function suffixes should be more explicit so
19100         language binding don't end up with element.add_valist ->
19101         gst_tag_setter_add_valist, for example. Fixes #322069.
19102
19103 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19104
19105         * check/gst/gstcaps.c: (GST_START_TEST):
19106           Extend caps string tests to check that a caps to string
19107           conversion is reversible and produces the same caps.
19108
19109         * gst/gststructure.c: (gst_structure_value_get_generic_type):
19110           Output "fraction" as the generic type fraction range, so caps
19111           serialisation and deserialisation works.
19112         * check/gst/capslist.h:
19113         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19114           Support 'MIN' and 'MAX' for deserialising fractions.
19115
19116 2005-11-22  Andy Wingo  <wingo@pobox.com>
19117
19118         * gst/gstevent.h (gst_event_new_new_segment)
19119         (gst_event_parse_new_segment, gst_event_new_buffer_size)
19120         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
19121         Renamed from *_newsegment, *_buffersize, *_notarget.
19122
19123         * scripts/update-funcnames: New script, performs the changes
19124         listed above.
19125
19126 2005-11-22  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19129         Make sure the GstFlowReturn is returned.
19130
19131         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
19132         (gst_bus_add_signal_watch):
19133         * gst/gstbus.h:
19134         add gst_bus_add_signal_watch_full.
19135
19136         * gst/gstplugin.c: (gst_plugin_load_file):
19137         Small style cleanup.
19138
19139 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19140
19141         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
19142           Block the fakesrc srcpad when we send an event, to avoid
19143           contention on the stream_lock causing random test failures.
19144
19145 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19146
19147         * check/gst/gstvalue.c: (GST_START_TEST):
19148         * gst/gstvalue.c: (gst_value_fraction_subtract):
19149           Fix subtraction.
19150
19151 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
19152
19153         * gst/gst.h:
19154           include "gstchildproxy.h"
19155         * gst/gstchildproxy.h:
19156         * libs/gst/controller/gstcontroller.h:
19157           use G_GNUC_NULL_TERMINATED
19158
19159 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
19160
19161         * check/gst/capslist.h:
19162         * check/gst/gstcaps.c: (GST_START_TEST):
19163         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19164         * gst/gststructure.c: (gst_structure_parse_range),
19165         (gst_structure_fixate_field_nearest_fraction):
19166         * gst/gststructure.h:
19167         * gst/gstvalue.c: (gst_value_init_fraction_range),
19168         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
19169         (gst_value_collect_fraction_range),
19170         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
19171         (gst_value_set_fraction_range_full),
19172         (gst_value_get_fraction_range_min),
19173         (gst_value_get_fraction_range_max),
19174         (gst_value_serialize_fraction_range),
19175         (gst_value_transform_fraction_range_string),
19176         (gst_value_compare_fraction_range),
19177         (gst_value_deserialize_fraction_range),
19178         (gst_value_intersect_fraction_fraction_range),
19179         (gst_value_intersect_fraction_range_fraction_range),
19180         (gst_value_subtract_fraction_fraction_range),
19181         (gst_value_subtract_fraction_range_fraction),
19182         (gst_value_subtract_fraction_range_fraction_range),
19183         (gst_value_collect_fraction), (gst_value_fraction_multiply),
19184         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
19185         (gst_value_transform_string_fraction), (_gst_value_initialize):
19186         * gst/gstvalue.h:
19187           Implement fraction ranges and extend GstFraction to support
19188           arithmetic subtraction, as well as deserialization from integer
19189           strings such as "100"
19190           Add a testsuite as for int and double range set operations
19191
19192 2005-11-21  Andy Wingo  <wingo@pobox.com>
19193
19194         * gst/gsttaglist.h: 
19195         * gst/gstcaps.h: 
19196         * gst/gststructure.h: Add glib-compat.h.
19197
19198 2005-11-21  Wim Taymans  <wim@fluendo.com>
19199
19200         * gst/gstbin.c: (gst_bin_change_state_func):
19201         Fix for #321595
19202
19203 2005-11-21  Wim Taymans  <wim@fluendo.com>
19204
19205         * gst/gstsegment.h:
19206         And add a nice define too.
19207
19208 2005-11-21  Wim Taymans  <wim@fluendo.com>
19209
19210         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
19211         (gst_segment_new), (gst_segment_free), (gst_segment_init),
19212         (gst_segment_set_duration), (gst_segment_set_last_stop),
19213         (gst_segment_set_seek), (gst_segment_set_newsegment),
19214         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19215         (gst_segment_clip):
19216         * gst/gstsegment.h:
19217         Make binding friendly.
19218
19219 2005-11-21  Andy Wingo  <wingo@pobox.com>
19220
19221         * gst/gsttagsetter.h: 
19222         * gst/gsttaglist.h: 
19223         * gst/gststructure.h: 
19224         * gst/gstcaps.h: 
19225         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
19226         #319940.
19227
19228         * gst/gsterror.c (_gst_core_errors_init):
19229         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
19230         category.
19231
19232         * gst/Makefile.am (gst_headers): Add glib-compat.h.
19233         (noinst_HEADERS): noinst the -private.
19234
19235 2005-11-21  Michael Smith <msmith@fluendo.com>
19236
19237         * gst/gstplugin.h:
19238         * gst/gstregistry.h:
19239           Remove unimplemented declarations for which we can see no sensible
19240           use.
19241
19242 2005-11-21  Andy Wingo  <wingo@pobox.com>
19243
19244         * gst/gst.h: Include glib-compat.h.
19245
19246         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
19247
19248         * gst/glib-compat.c: Include the public and the private header.
19249
19250         * gst/glib-compat-private.h: Copied here from glib-compat.h.
19251
19252         * gst/gstvalue.c: 
19253         * gst/gstpad.c: 
19254         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
19255
19256         * check/gst/gstevent.c (create_custom_events): Check that
19257         FLUSH_STOP is serialized.
19258
19259         * check/elements/identity.c (event_func): 
19260         * check/elements/fakesrc.c (event_func): No stream lock, the core
19261         takes it.
19262
19263         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
19264         stream lock taking, yay.
19265
19266         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
19267         ensure that core takes the stream lock.
19268
19269         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
19270         lock name change.
19271
19272         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
19273         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
19274         it already. For the flush start we do take it though so we get the
19275         right preroll state change messages.
19276
19277         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
19278         the stream lock here, the core does it for us.
19279
19280         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
19281         GST_STREAM_GET_LOCK.
19282         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
19283         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
19284         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
19285         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
19286         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
19287         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
19288
19289         * gst/gstpad.c: Update for stream lock name change.
19290
19291         * gst/base/gstbasesink.c: Update for preroll lock name change.
19292
19293 2005-11-21  Wim Taymans  <wim@fluendo.com>
19294
19295         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
19296         (gst_clock_get_master):
19297         * gst/gstclock.h:
19298         * gst/gstsystemclock.c: (gst_system_clock_init):
19299         Convert Clock flags to object flags.
19300         Added methods to manage master/slave clocks.
19301
19302 2005-11-21  Wim Taymans  <wim@fluendo.com>
19303
19304         * check/gst/gstsegment.c: (GST_START_TEST):
19305         * docs/design/part-TODO.txt:
19306         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19307         (gst_base_sink_event), (gst_base_sink_do_sync),
19308         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
19309         (gst_base_sink_query), (gst_base_sink_change_state):
19310         * gst/base/gstbasesink.h:
19311         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19312         (gst_base_src_default_newsegment),
19313         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19314         (gst_base_src_get_range), (gst_base_src_loop),
19315         (gst_base_src_change_state):
19316         * gst/base/gstbasesrc.h:
19317         * gst/base/gstbasetransform.c:
19318         (gst_base_transform_prepare_output_buf),
19319         (gst_base_transform_event), (gst_base_transform_change_state):
19320         * gst/base/gstbasetransform.h:
19321         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
19322         (gst_collect_pads_event):
19323         * gst/base/gstcollectpads.h:
19324         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
19325         (gst_fake_src_create):
19326         * gst/elements/gstfakesrc.h:
19327         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19328         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19329         (gst_segment_set_last_stop), (gst_segment_set_seek),
19330         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
19331         (gst_segment_to_running_time), (gst_segment_clip):
19332         * gst/gstsegment.h:
19333         More segment updates, replace code in plugins with segment
19334         helper functions.
19335
19336 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19337
19338         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
19339         Don't ignore sscanf results
19340
19341 2005-11-21  Andy Wingo  <wingo@pobox.com>
19342
19343         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
19344
19345         * *.h:
19346         * *.c: Ran scripts/update-macros. Oh yes.
19347
19348         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
19349         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
19350         GST_GET_LOCK, etc.
19351
19352         * scripts/update-macros: New script. Run it on your files to
19353         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
19354         well.
19355
19356 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19357
19358         * docs/gst/Makefile.am:
19359         * docs/gst/gstreamer-docs.sgml:
19360         * docs/gst/gstreamer-sections.txt:
19361         * docs/gst/gstreamer.types:
19362         * gst/gstinfo.h:
19363           more docs fixes, add new api to the docs
19364
19365 2005-11-21  Andy Wingo  <wingo@pobox.com>
19366
19367         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
19368         state_broadcast call.
19369
19370         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
19371
19372 2005-11-21  Julien MOUTTE  <julien@moutte.net>
19373
19374         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
19375         function calls for arrays.
19376
19377 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
19378
19379         * docs/random/ensonic/media-device-daemon.txt:
19380           wild idea, can this be done?
19381         * docs/gst/gstreamer-sections.txt:
19382         * gst/gsterror.h:
19383         * gst/gstfilter.c:
19384         * gst/gstfilter.h:
19385         * gst/gstplugin.h:
19386         * gst/gstpluginfeature.c:
19387         * gst/gsttrace.c:
19388         * gst/gstvalue.c:
19389         * gst/gstvalue.h:
19390           doc fixes and additions
19391
19392 2005-11-21  Andy Wingo  <wingo@pobox.com>
19393
19394         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
19395         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
19396         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
19397         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
19398         private to the basesrc implementation.
19399
19400         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
19401         behalf of event function if necessary. It should no longer be
19402         necessary to take the stream lock in pad's event functions. Fixes
19403         #320299.
19404
19405 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19406         * docs/gst/gstreamer-sections.txt:
19407         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
19408         (gst_structure_fixate_field_nearest_double),
19409         (gst_structure_fixate_field_boolean):
19410         * gst/gststructure.h:
19411         * win32/common/libgstreamer.def:
19412         * win32/gstreamer.def:
19413
19414         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
19415         (#322027)
19416
19417 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
19418
19419         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
19420         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
19421         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
19422         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
19423         (gst_fdsrc_uri_handler_init):
19424         * gst/elements/gstfdsrc.h:
19425           Port fd:// URI handler from 0.8 to fdsrc
19426
19427 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19428
19429         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
19430         (gst_value_serialize_fourcc):
19431         * gst/gstvalue.h:
19432           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
19433           consistent with our other format defines (#320324).
19434
19435 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19436
19437         * gst/gstvalue.c: (gst_value_is_fixed):
19438           Revert previous commit. Value lists are by definition
19439           not fixed, as they are a list of possible values.
19440
19441 2005-11-21  Andy Wingo  <wingo@pobox.com>
19442
19443         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
19444         during the stable series if we need it. Fixes #319178.
19445
19446         * gst/gstevent.c (gst_event_new_filler): Removed.
19447
19448         * check/gst/gstevent.c: Update comment about filler events.
19449
19450 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19451
19452         * gst/gstvalue.c: (gst_value_is_fixed):
19453           Should handle both value arrays and value lists.
19454
19455 2005-11-21  Andy Wingo  <wingo@pobox.com>
19456
19457         patch by: Alessandro Dessina <alessandro nnva org>
19458
19459         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
19460         functions to access arrays. Fixes #321962.
19461
19462 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19463
19464         * docs/gst/gstreamer.types:
19465           gst_collectpads_get_type => gst_collect_pads_get_type.
19466           
19467         * gst/base/gstbasetransform.c:
19468           Remove unused SIGNAL_HANDOFF enum.
19469
19470 2005-11-21  Andy Wingo  <wingo@pobox.com>
19471
19472         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
19473         the event type (upstream, downstream, serialized). Renamed
19474         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
19475         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
19476         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
19477
19478         * gst/gstevent.c: Update for new CUSTOM event names.
19479
19480         * check/gst/gstevent.c: Update check for new CUSTOM event names.
19481
19482         * gst/gstevent.h:
19483         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
19484         bug #319392.
19485
19486 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19487
19488         * docs/gst/gstreamer-sections.txt:
19489         * win32/common/libgstbase.def:
19490         * win32/libgstbase.def:
19491         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
19492         (gst_collect_pads_class_init), (gst_collect_pads_init),
19493         (gst_collect_pads_finalize), (gst_collect_pads_new),
19494         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
19495         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
19496         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
19497         (gst_collect_pads_start), (gst_collect_pads_stop),
19498         (gst_collect_pads_peek), (gst_collect_pads_pop),
19499         (gst_collect_pads_available), (gst_collect_pads_read),
19500         (gst_collect_pads_flush), (gst_collect_pads_event),
19501         (gst_collect_pads_chain):
19502         * gst/base/gstcollectpads.h:
19503           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
19504           unimplemented functions as unimplemented. Add padding to
19505           GstCollectData. (#320766, #320423)
19506
19507 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
19508
19509         * gst/gstmessage.c:
19510           Improve docs for DURATION message (usage of duration parameter)
19511           (#320113)
19512
19513 2005-11-20  Wim Taymans  <wim@fluendo.com>
19514
19515         * check/Makefile.am:
19516         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
19517         (main):
19518         * gst/Makefile.am:
19519         * gst/gst.h:
19520         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
19521         (gst_segment_set_seek), (gst_segment_set_newsegment),
19522         (gst_segment_to_stream_time), (gst_segment_to_running_time),
19523         (gst_segment_clip):
19524         * gst/gstsegment.h:
19525         Added segment helper structure and methods. Not fully implemented
19526         yet.
19527         Added segment check.
19528
19529 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
19530
19531         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
19532           Add a deserialisation test for fractions
19533         * examples/metadata/read-metadata.c: (message_loop),
19534         (make_pipeline), (main):
19535           Fix up metadata reading sample.
19536         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19537           Debug format fix
19538         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19539           Don't try and fixate empty caps
19540         * gst/gst_private.h:
19541           Wrap in G_BEGIN_DECLS/G_END_DECLS
19542         * gst/gstvalue.c: (gst_value_collect_fraction),
19543         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
19544         (gst_value_transform_string_fraction),
19545         (gst_value_compare_fraction):
19546           Add some extra guards to ensure that we don't end up 
19547           with an invalid denominator of 0 in a gstfraction and
19548           that fractions always get reduced.
19549
19550 2005-11-20  Wim Taymans  <wim@fluendo.com>
19551
19552         * docs/gst/gstreamer-sections.txt:
19553         * gst/gstbuffer.h:
19554         * gst/gstelement.c:
19555         * gst/gstformat.c:
19556         * gst/gstformat.h:
19557         * gst/gstindex.h:
19558         * gst/gstquery.c:
19559         * gst/gstquery.h:
19560         * gst/gstvalue.c:
19561         Doc fixes.
19562
19563 2005-11-20  Wim Taymans  <wim@fluendo.com>
19564
19565         * docs/design/part-TODO.txt:
19566         * gst/gstcaps.h:
19567         Make a proper enum of the flag.
19568
19569 2005-11-19  Wim Taymans  <wim@fluendo.com>
19570
19571         * docs/design/part-TODO.txt:
19572         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
19573         (gst_format_to_quark), (gst_format_register):
19574         * gst/gstformat.h:
19575         * gst/gstquery.c: (_gst_query_initialize),
19576         (gst_query_type_get_name), (gst_query_type_to_quark),
19577         (gst_query_type_register):
19578         * gst/gstquery.h:
19579         Add type to quark and type to string conversions.
19580
19581 2005-11-19  Andy Wingo  <wingo@pobox.com>
19582
19583         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
19584         #320097.
19585
19586 2005-11-19  Wim Taymans  <wim@fluendo.com>
19587
19588         * docs/design/part-TODO.txt:
19589         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19590         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
19591         (gst_bin_handle_message_func):
19592         * gst/gstbin.h:
19593         Make message handling overridable.
19594
19595 2005-11-19  Andy Wingo  <wingo@pobox.com>
19596
19597         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
19598
19599         * gst/gstclock.h:
19600         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
19601         be a GstClockTime.
19602         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
19603         is a GstClockTime. Fixes #321710.
19604
19605         * gst/gstclock.h (GstClock): Remove offset property. Add
19606         internal_calibration and external_calibration. Fix padding. Pad
19607         also by GstClockTime so we don't run into problems.
19608
19609         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
19610         (gst_clock_get_rate_offset): Remove.
19611         (gst_clock_set_time_adjust): Remove. Fixes #321712.
19612
19613         * gst/gstutils.h:
19614         * gst/gstutils.c (g_static_rec_cond_wait)
19615         (g_static_rec_cond_timed_wait): Removed, no longer needed.
19616
19617         * gst/gstbin.c: Remove terrible continue_state prototype.
19618
19619         * gst/gstelement.h (gst_element_continue_state): Make public.
19620
19621         * gst/gstelement.h:
19622         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
19623         by continue_state. Fixes #319389.
19624
19625         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
19626         Really fixes #168438. However I don't see anywhere where the
19627         filter function is called... stupid GStreamer...
19628         
19629         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
19630         don't have a dispose function, so it won't get called when the
19631         object is unreffed, but oh well!
19632
19633         * gst/gstindex.c (gst_index_set_filter_full): New API function,
19634         allows a destroy function to be set so user_data can be freed.
19635         Fixes #168438.
19636         (gst_index_set_filter): Call gst_index_set_filter_full.
19637
19638         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
19639
19640         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
19641         string should produce an error, given the lack of a way to
19642         represent NULL strings. Fixes #165650.
19643         
19644         * gst/gstvalue.h: 
19645         * gst/gstvalue.c (gst_value_array_append_value) 
19646         (gst_value_array_prepend_value, gst_value_array_get_size) 
19647         (gst_value_array_get_value): New API, copied from
19648         gst_value_list_*, only operates on arrays.
19649         (gst_value_list_append_value, gst_value_list_prepend_value) 
19650         (gst_value_list_concat, gst_value_list_get_size) 
19651         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
19652
19653         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19654         init_list, because it works on both.
19655         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
19656         (gst_value_copy_list_or_array): Renamed from copy_list.
19657         (gst_value_free_list_or_array): Renamed from free_list.
19658         (gst_value_collect_list_or_array): Renamed from collect_list.
19659         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
19660         (gst_value_list_or_array_peek_pointer): Renamed from
19661         list_peek_pointer.
19662         (_gst_value_array_value_table, _gst_value_list_value_table):
19663         Update value table functions.
19664         (gst_value_compare_list_or_array): Renamed from compare_list.
19665
19666         * gsttaglist.h: Whoops, foreach function returns void. Also fix
19667         some constness.
19668
19669         * gst/gsttaglist.c:
19670         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
19671         GstTagList*. Fixes #143472.
19672
19673         * gst/gststructure.h: Clarify what the foreach/map functions can
19674         or can't do to their arguments.
19675
19676 2005-11-18  Wim Taymans  <wim@fluendo.com>
19677
19678         * gst/gstclock.c: (gst_clock_set_calibration),
19679         (gst_clock_get_calibration):
19680         Doc and API fixes.
19681         Calibration can be set with internal time equal to current
19682         internal time too.
19683
19684 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19685
19686         * gst/gsterror.c:
19687         * gst/gsterror.h:
19688           document
19689
19690 2005-11-18  Andy Wingo  <wingo@pobox.com>
19691
19692         * configure.ac: 
19693         * pkgconfig/gstreamer-net.pc.in:
19694         * pkgconfig/gstreamer-net-uninstalled.pc.in:
19695         * pkgconfig/Makefile.am: Add net pkgconfig files.
19696
19697 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
19698
19699         * gst/gstcaps.c:
19700         * gst/gstghostpad.c:
19701         * gst/gsttrace.c:
19702         * gst/gstvalue.c:
19703         * gst/gstvalue.h:
19704           docs fixes
19705
19706 2005-11-18  Andy Wingo  <wingo@pobox.com>
19707
19708         * gst/net/gstnetclientclock.c: Turn off debugging.
19709
19710         * check/net/gstnetclientclock.c (test_functioning): Assert that the
19711         times connverge somewhat. Can't make a real test.
19712
19713         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
19714         integer arithmetic. Return the minimum of the domain, which can be
19715         set as "internal" for gst_clock_set_calibration.
19716         (gst_net_client_clock_observe_times): Call _set_calibration.
19717         (gst_net_client_clock_new): Call _set_calibration instead of
19718         rate_offset.
19719
19720         * check/net/gstnetclientclock.c (test_functioning): Use the right
19721         adjustment api.
19722
19723         * gst/gstclock.h:
19724         * gst/gstclock.c (gst_clock_get_calibration) 
19725         (gst_clock_set_calibration): New functions, obsolete the ones I
19726         added yesterday. Doh. Precision issues mean we have to extrapolate
19727         from a point in the more recent past than 1970.
19728         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
19729         obsolete.
19730         (gst_clock_adjust_unlocked): Use the right calibration data.
19731
19732 2005-11-18  Edward Hervey  <edward@fluendo.com>
19733
19734         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
19735         Also reset the ->current_* values in READY->PAUSED
19736
19737 2005-11-18  Andy Wingo  <wingo@pobox.com>
19738
19739         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
19740         Whoops, check the right fd. Also add some debugging.
19741         (gst_net_client_clock_observe_times): Adjust for int64 offset.
19742         (do_linear_regression): Add a crapload of debugging. Subtract off
19743         the minimum values from the input series to discard unneeded bits.
19744         Use only int arithmetic. There is still double arithmetic when
19745         calculating the intercept that needs fixing. Return boolean to
19746         indicate success; FALSE would mean the domain or range is too
19747         great. Still needs fixes.
19748
19749 2005-11-18  Wim Taymans  <wim@fluendo.com>
19750
19751         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19752         For the current position in stream time, we need to subtract
19753         accumulated time.
19754         
19755         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19756         Release lock before calling the callback function of async
19757         entries.
19758
19759 2005-11-18  Andy Wingo  <wingo@pobox.com>
19760
19761         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
19762         Port goes all the way to MAXUINT16.
19763
19764         * gst/net/gstnettimeprovider.c: Make the port range the same as
19765         for the kernel: 0 assigns, otherwise ports are less than
19766         MAXUINT16.
19767
19768         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
19769         port change.
19770
19771         * check/net/gstnetclientclock.c (test_functioning): Add the start
19772         of another test. 
19773
19774 2005-11-18  Wim Taymans  <wim@fluendo.com>
19775
19776         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19777         (gst_bin_remove_func), (bin_bus_handler):
19778         * gst/gstbin.h:
19779         Removing a clock provider from a bin, triggers a clock lost message
19780         so that a new clock will be selected.
19781         Adding a clock to a bin triggers a clock provider message.
19782         Make sure we reselect a clock when we received a clock lost message.
19783         Keep a reference to the element that provided the clock.
19784
19785 2005-11-18  Andy Wingo  <wingo@pobox.com>
19786
19787         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
19788         the clock initially so it produces values around the base time.
19789         (gst_net_client_clock_class_init): Typo fix.
19790         (gst_net_client_clock_thread): Add note on when the socket gets
19791         closed.
19792
19793 2005-11-17  Wim Taymans  <wim@fluendo.com>
19794
19795         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
19796         Free remote and local time arrays.
19797
19798 2005-11-17  Wim Taymans  <wim@fluendo.com>
19799
19800         * gst/net/gstnetclientclock.c: (do_linear_regression),
19801         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19802         Fix compilation, uninitialized vars and a forgotten continue.
19803
19804 2005-11-17  Andy Wingo  <wingo@pobox.com>
19805
19806         * check/Makefile.am (check_PROGRAMS): 
19807         * check/net/gstnetclientclock.c: Add a most minimal test for the
19808         net client clock. More to come later.
19809
19810         * gst/net/gstnet.h: 
19811         * gst/net/Makefile.am: Add netclientclock.
19812
19813         * gst/net/gstnetclientclock.h:
19814         * gst/net/gstnetclientclock.c: New files, implement an untested
19815         GstClock that takes its time from a network time provider.
19816         Implements the algorithm in network-clock.scm.
19817
19818         * tests/network-clock.scm (*window-size*): Rename from
19819         *queue-length*.
19820         * tests/network-clock.scm (network-time): 
19821         * tests/network-clock-utils.scm (q-push): Update callers.
19822
19823 2005-11-17  Wim Taymans  <wim@fluendo.com>
19824
19825         * gst/gstbin.c: (gst_bin_provide_clock_func),
19826         (gst_bin_sort_iterator_new):
19827         And unref the child too..
19828
19829 2005-11-17  Wim Taymans  <wim@fluendo.com>
19830
19831         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19832         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19833         Refactor the sort iterator so it can be used while holding the
19834         LOCK too.
19835         Make clock selection select a clock closest to the source.
19836
19837 2005-11-17  Michael Smith <msmith@fluendo.com>
19838
19839         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19840         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19841         * gst/gstclock.h:
19842           Anonymous structs are a gcc (and some other compilers) extension, so
19843           don't use them. Since this is only for ABI-compatibility, and our
19844           API/ABI freeze is over in a few days, this whole thing will only
19845           last a few days, so don't bother trying to think up a meaningful
19846           name for the struct.
19847
19848 2005-11-17  Andy Wingo  <wingo@pobox.com>
19849
19850         * gst/gstclock.h (GstClock): Add rate and offset properties,
19851         preserving ABI stability. Add rate/offset accessors. Will file bug
19852         for the freeze break.
19853
19854         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19855         and offset, trying to keep precision and avoiding
19856         underflow/overflow.
19857         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19858         functions. Make gst_clock_set_time_adjust obsolete.
19859         (gst_clock_set_time_adjust): Note that this function is obsolete.
19860         Will file bug soon.
19861
19862         * gst/base/gstbasetransform.h: Make the ABI-stability hack
19863         greppable by using GST_PADDING-1+1.
19864
19865 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
19866
19867         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19868
19869         * gst/gstmessage.c: (gst_message_parse_clock_lost):
19870           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19871
19872         * gst/gstpadtemplate.h:
19873         * gst/gstpluginfeature.h:
19874           Don't use c++ style comments in headers (#321638).
19875
19876 2005-11-16  Andy Wingo  <wingo@pobox.com>
19877
19878         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19879         buffer.
19880
19881         * check/net/gstnettimeprovider.c: Check to see that the time
19882         provider actually provides times. Works, yo!
19883
19884 2005-11-16  Wim Taymans  <wim@fluendo.com>
19885
19886         * check/Makefile.am:
19887         Enable more tests.
19888
19889         * check/elements/fakesrc.c: (GST_START_TEST):
19890         Set element to NULL before disposing it.
19891
19892 2005-11-16  Andy Wingo  <wingo@pobox.com>
19893
19894         * gst/net/Makefile.am:
19895         * gst/net/gstnet.h:
19896         * gst/net/gstnettimeprovider.c: 
19897         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19898         provider, include it from gstnet.h, and add it to the build.
19899
19900         * gst/net/gstnettimepacket.h: 
19901         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19902         sending and receiving.
19903
19904 2005-11-16  Wim Taymans  <wim@fluendo.com>
19905
19906         * check/Makefile.am:
19907         Enable valgrind check.
19908
19909         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19910         (gst_fake_src_alloc_buffer):
19911         Fix memleak.
19912
19913 2005-11-16  Wim Taymans  <wim@fluendo.com>
19914
19915         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19916         Call parent finalize too.
19917
19918 2005-11-16  Wim Taymans  <wim@fluendo.com>
19919
19920         * check/Makefile.am:
19921         Enable valgrind check that should work fine now.
19922
19923         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19924         * gst/gstqueue.c: (gst_queue_init):
19925         Fix memleaks in pad allocation.
19926
19927 2005-11-16  Andy Wingo  <wingo@pobox.com>
19928
19929         * gst/net/Makefile.am:
19930         * gst/net/gstnet.h: New part of core to hold network elements and
19931         objects. Put in core because it exposes API that applications want
19932         to use. The library is named libgstnet-tempname right now because
19933         of the existing libgstnet in gst-plugins-base. Solution is
19934         probably to rename the one in plugins-base; will file a bug for
19935         the freeze break.
19936
19937         * gst/net/gstnettimeprovider.c: 
19938         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19939         get_time call over the network.
19940
19941         * configure.ac: 
19942         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19943
19944         * check/Makefile.am:
19945         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19946         get additions shortly.
19947
19948 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19949
19950         * gst/gstpad.c: (gst_pad_new_from_static_template):
19951         * gst/gstpad.h:
19952           add gst_pad_new_from_static_template functions
19953         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19954         (gst_check_setup_sink_pad):
19955         * gst/elements/gsttee.c: (gst_tee_init):
19956           and use them
19957
19958 2005-11-16  Wim Taymans  <wim@fluendo.com>
19959
19960         * gst/gstpad.c: (gst_pad_pause_task):
19961         Removed warning, it's not really an error either.
19962
19963 2005-11-16  Wim Taymans  <wim@fluendo.com>
19964
19965         * gst/base/gstbasetransform.c:
19966         (gst_base_transform_prepare_output_buf),
19967         (gst_base_transform_event):
19968         Check if the caps are NULL, this can happen if the element
19969         is shutting down and the pad caps are set to NULL.
19970
19971 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19972
19973         * gst/elements/gsttee.c: (gst_tee_init):
19974           fix pad template leak in tee
19975
19976 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19977
19978         * gst/glib-compat.c: (g_value_dup_gst_object):
19979         * gst/glib-compat.h:
19980         * gst/gstpad.c: (gst_pad_set_property):
19981           use gst_object_ref when setting the pad template; this will
19982           trigger the pad template leaks on GLib 2.6 and the slaves
19983
19984 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19985
19986         * gst/glib-compat.c: (gst_flags_get_first_value):
19987         * gst/glib-compat.h:
19988         * gst/gstregistryxml.c:
19989           remove functions copied from GLib 2.6
19990
19991 2005-11-16  Michael Smith <msmith@fluendo.com>
19992
19993         * gst/Makefile.am:
19994           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19995           do, but only breaks with newer valgrind versions. We're not a
19996           valgrind tool, we have no link-time dependencies on libcoregrind.
19997
19998 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19999
20000         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
20001           some debug changes
20002         * gst/gstmessage.h:
20003           typo fixes
20004
20005 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20006
20007         * gst/base/gstbasesrc.c: (gst_base_src_init):
20008         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20009         * gst/gstqueue.c: (gst_queue_init):
20010         * gst/gstregistryxml.c: (load_feature):
20011           Revert all these unrefs, they don't even pass make check !
20012
20013 2005-11-15  Johan Dahlin  <johan@gnome.org>
20014
20015         * gst/base/gstbasesrc.c: (gst_base_src_init):
20016         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20017         * gst/gstqueue.c: (gst_queue_init): 
20018         Free pad templates, fixes a couple of leaks.
20019
20020 2005-11-15  Daniel Fischer  <dan at f3c dot com>
20021
20022         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20023
20024         * gst/gstpad.c: (gst_pad_get_property):
20025           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
20026           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
20027           (#321452)
20028
20029 2005-11-15  Wim Taymans  <wim@fluendo.com>
20030
20031         * gst/gstevent.c:
20032         Small doc update.
20033
20034 2005-11-15  Andy Wingo  <wingo@pobox.com>
20035
20036         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
20037
20038         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
20039         using GST_CLOCK_TIME_NONE to disable base time management.
20040         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
20041         time if it was NONE before.
20042         (gst_pipeline_change_state): Only munge the base time if
20043         stream_time != GST_CLOCK_TIME_NONE.
20044
20045         * check/gst/gstpipeline.c (test_base_time): Punt around the
20046         problem of the probe not being called, because that's not the
20047         issue I'm looking at. Add a check that setting stream_time to NONE
20048         disables base time management.
20049         
20050 2005-11-15  Wim Taymans  <wim@fluendo.com>
20051
20052         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20053         segment_stop == -1 at startup.
20054
20055         * gst/base/gstbasetransform.c: (gst_base_transform_event),
20056         (gst_base_transform_change_state):
20057         Init segment values at start.
20058
20059 2005-11-15  Wim Taymans  <wim@fluendo.com>
20060
20061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20062         0 segment values are 0 in any format.
20063
20064         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20065         * gst/base/gstbasetransform.h:
20066         Parse newsegment correctly in basetransform
20067
20068         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
20069         Sync to clock using updated segment values.
20070
20071 2005-11-15  Andy Wingo  <wingo@pobox.com>
20072
20073         * check/gst/gstpipeline.c (test_base_time): Add check that the
20074         base time and stream time are reset correctly.
20075
20076 2005-11-15  Wim Taymans  <wim@fluendo.com>
20077
20078         * docs/design/part-TODO.txt:
20079         Some more TODO items.
20080
20081 2005-11-15  Andy Wingo  <wingo@pobox.com>
20082
20083         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
20084         error if the user selected "no clock" as the clocking method.
20085
20086         * check/gst/gstpipeline.c (test_base_time): New test for buffer
20087         timestamps with live capture.
20088
20089         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
20090         is 0 but we are a live source, timestamp the buffers using the
20091         element's clock.
20092
20093 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
20094
20095         * docs/gst/gstreamer-sections.txt:
20096         * gst/gsterror.c:
20097         * gst/gstghostpad.c:
20098         * gst/gstobject.h:
20099         * gst/gstxml.c:
20100           more section docs
20101
20102 2005-11-14  Wim Taymans  <wim@fluendo.com>
20103
20104         * common/gst.supp:
20105           add suppressions from Wim's Debian machine
20106
20107 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
20108
20109         * common/gst.supp:
20110           add suppressions from Andy's AMD64 Ubuntu machine
20111
20112 2005-11-14  Andy Wingo  <wingo@pobox.com>
20113
20114         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
20115         STATE_LOCK not necessary. Fixes #311489.
20116
20117         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
20118         #305291.
20119
20120         * gst/gstindex.c (gst_index_add_object): Note in the docs that
20121         this function is not implemented.
20122
20123 2005-11-14  Julien MOUTTE  <julien@moutte.net>
20124
20125         * gst/base/gstbasetransform.c:
20126         (gst_base_transform_prepare_output_buf):
20127         Ref the source pad caps while we need them.
20128         Fixes (#321386)
20129
20130 2005-11-11  Wim Taymans  <wim@fluendo.com>
20131
20132         * docs/gst/gstreamer-sections.txt:
20133         Added some docs for GstCollectData.
20134
20135         * gst/base/gstadapter.c:
20136         Some small code example fix.
20137
20138         * gst/base/gstcollectpads.c:
20139         * gst/base/gstcollectpads.h:
20140         Document some more.
20141
20142 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20143
20144         * configure.ac: back to HEAD
20145
20146 === release 0.9.5 ===
20147
20148 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
20149
20150         * configure.ac:
20151           releasing 0.9.5, "Bike Lunch Day"
20152
20153 2005-11-11  Wim Taymans  <wim@fluendo.com>
20154
20155         * gst/gstbuffer.c: (_gst_buffer_copy):
20156         Copy more flags.
20157
20158         * gst/gstcaps.c: (gst_caps_is_equal):
20159         Fix some docs.
20160         Make _is_equal fast in the trivial cases.
20161
20162         * gst/gstminiobject.c:
20163         * gst/gstminiobject.h:
20164         More docs. Spifify .h file.
20165
20166         * gst/gstutils.c:
20167         Small doc update.
20168
20169 2005-11-11  Wim Taymans  <wim@fluendo.com>
20170
20171         * gst/base/gstbasetransform.c:
20172         (gst_base_transform_prepare_output_buf),
20173         (gst_base_transform_handle_buffer):
20174         Small cleanups.
20175         If we're processing a buffer and need to allocate an output
20176         buffer, we cannot accept a format change. If we did get a 
20177         format change, we have to alloc a buffer ourselves of the 
20178         right size.
20179
20180 2005-11-11  Wim Taymans  <wim@fluendo.com>
20181
20182         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
20183         While checking the flag for reentrancy in the gstcaps function
20184         is nice to detect recursive invocations, it also makes it 
20185         impossible to call getcaps from multiple threads, which must be
20186         possible. So, checking for recursive calls has to go.
20187
20188 2005-11-11  Michael Smith <msmith@fluendo.com>
20189
20190         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20191           Don't sync on buffers that fall partially outside our current
20192           segment. Prevents an assertion failure/abort playing some files.
20193
20194 2005-11-10  Andy Wingo  <wingo@pobox.com>
20195
20196         * check/gst/gstbin.c (test_message_state_changed_children): Style
20197         fix..
20198
20199         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
20200         gst_bus_poll with the signal watch. Ensures that poll and a signal
20201         watch see the same messages.
20202
20203         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
20204         a poll and a watch at the same time get the same messages.
20205
20206 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20207
20208         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
20209         * gst/gstcaps.c: (gst_caps_intersect):
20210           Don't call gst_caps_do_simplify - it doesn't respect order of caps
20211           and it's not needed.
20212
20213 2005-11-10  Wim Taymans  <wim@fluendo.com>
20214
20215         * docs/design/part-TODO.txt:
20216         Updated todo.
20217
20218 2005-11-10  Wim Taymans  <wim@fluendo.com>
20219
20220         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20221         * gst/base/gstbasesrc.c: (gst_base_src_wait),
20222         (gst_base_src_do_sync), (gst_base_src_get_range):
20223         Implement clock sync in base class.
20224
20225 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20226
20227         patch by: Tim-Philipp Müller <tim at centricular dot net>
20228
20229         * gst/gststructure.c: (gst_structure_parse_field),
20230         (gst_structure_from_string):
20231           Forward-port a 0.8 patch to handle escaped spaces in structure string,
20232           so that gst_parse_launch() can deal with spaces in filtered link
20233           caps (fixes #164479)
20234         * check/gst/capslist.h:
20235         * check/gst/gststructure.c: (GST_START_TEST):
20236           add unit tests for this change
20237
20238 2005-11-10  Wim Taymans  <wim@fluendo.com>
20239
20240         * docs/gst/gstreamer-sections.txt:
20241         * gst/gstelement.c:
20242         * gst/gstelement.h:
20243         Fix docs, move some STATE macros to private.
20244
20245 2005-11-10  Wim Taymans  <wim@fluendo.com>
20246
20247         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
20248         Added check for bug #317341
20249
20250         * gst/gstbuffer.c:
20251         * gst/gstbuffer.h:
20252         Some more spiffifying.
20253
20254         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
20255         Call peer linkfunction if we are a source pad. Totally fixes
20256         #317341
20257
20258         * gst/gstpad.c:
20259         Update docs, source pads should call the peer linkfunction
20260         so they can atomically perform the pad link.
20261
20262 2005-11-09  Wim Taymans  <wim@fluendo.com>
20263
20264         * gst/gstbuffer.c:
20265         * gst/gstbuffer.h:
20266         Uber-spiffy-spiffify some more.
20267
20268 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
20269
20270         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
20271         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20272         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
20273         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
20274         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
20275         * gst/gstpad.c: (gst_pad_init):
20276           Use GST_DEBUG_FUNCPTR() more extensively.
20277
20278 2005-11-09  Wim Taymans  <wim@fluendo.com>
20279
20280         * gst/gstobject.c: (gst_object_class_init):
20281         * gst/gstobject.h:
20282         Documentation fixes.
20283
20284 2005-11-09  Edward Hervey  <edward@fluendo.com>
20285
20286         * gst/gsttypefindfactory.c:
20287         Fix docs.
20288         
20289 2005-11-09  Edward Hervey  <edward@fluendo.com>
20290
20291         * gst/base/gsttypefindhelper.c:
20292         * gst/gsttypefind.c:
20293         * gst/gsttypefind.h:
20294         Fix docs.
20295
20296 2005-11-09  Wim Taymans  <wim@fluendo.com>
20297
20298         * gst/gstiterator.c:
20299         Fix revision data.
20300
20301         * gst/gsttask.c:
20302         * gst/gsttask.h:
20303         Fix docs.
20304
20305 2005-11-09  Wim Taymans  <wim@fluendo.com>
20306
20307         * gst/gstevent.h:
20308         * gst/gsturi.h:
20309         Fix docs.
20310
20311 2005-11-09  Wim Taymans  <wim@fluendo.com>
20312
20313         * docs/gst/gstreamer-sections.txt:
20314         Moved the message async delivery private lock and cond
20315         to the private section.
20316
20317         * gst/gstmessage.c:
20318         * gst/gstmessage.h:
20319         Fixed docs.
20320
20321 2005-11-09  Edward Hervey  <edward@fluendo.com>
20322
20323         * docs/gst/gstreamer-sections.txt:
20324         * gst/gsturi.c:
20325         * gst/gsturi.h:
20326         Document GstURIHandler
20327
20328 2005-11-09  Wim Taymans  <wim@fluendo.com>
20329
20330         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
20331         (gst_iterator_find_custom):
20332         * gst/gstiterator.h:
20333         Fix iterator docs.
20334
20335 2005-11-09  Wim Taymans  <wim@fluendo.com>
20336
20337         * gst/gstbin.h:
20338         Document another field.
20339
20340         * gst/gststructure.c:
20341         * gst/gststructure.h:
20342         Document.
20343
20344 2005-11-09  Wim Taymans  <wim@fluendo.com>
20345
20346         * gst/gstbin.h:
20347         Documented structs.
20348
20349 2005-11-09  Wim Taymans  <wim@fluendo.com>
20350
20351         * docs/gst/gstreamer-sections.txt:
20352         Added some new macros.
20353
20354         * gst/gstclock.c:
20355         * gst/gstclock.h:
20356         * gst/gstobject.h:
20357         Docs updates.
20358
20359 2005-11-09  Wim Taymans  <wim@fluendo.com>
20360
20361         * docs/design/part-TODO.txt:
20362         Some more items for the TODO
20363
20364         * gst/gstcaps.c:
20365         * gst/gstcaps.h:
20366         Document GstCaps.
20367
20368 2005-11-09  Andy Wingo  <wingo@pobox.com>
20369
20370         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
20371         to work on something else now tho...
20372
20373         * gst/base/gstadapter.c: More adapter docs.
20374
20375         * gst/elements/gstfilesink.c (gst_file_sink_start) 
20376         (gst_file_sink_stop): New functions, replace the state change
20377         handler.
20378         (gst_file_sink_class_init): Hook up the start and stop functions.
20379         (gst_file_sink_base_init): Don't set the state change handler any
20380         more. It was a bit ugly too, being set from here...
20381         (gst_file_sink_get_property, gst_file_sink_set_property):
20382         Cleanups...
20383         (gst_file_sink_set_location): More robust check that doesn't call
20384         GST_STATE. Ugggggg.
20385
20386 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
20387
20388         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20389           Hold STREAM_LOCK while pushing newsegment or tag events as well.
20390
20391 2005-11-08  Wim Taymans  <wim@fluendo.com>
20392
20393         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
20394         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
20395         (gst_base_sink_chain), (gst_base_sink_change_state):
20396         * gst/base/gstbasesink.h:
20397         * gst/base/gstbasesrc.h:
20398         * gst/gstelement.h:
20399         * gst/gstevent.h:
20400         Avoid excessive typechecking in macros.
20401
20402         * gst/gstminiobject.c: (gst_mini_object_get_type),
20403         (gst_mini_object_init), (gst_mini_object_new),
20404         (gst_mini_object_free):
20405         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20406         (gst_object_finalize):
20407         Remove cruft code, optimize alloc_trace.
20408
20409 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20410
20411         * docs/faq/gst-uninstalled:
20412           fix up PS1 for systems that try to reset it
20413
20414 2005-11-07  Wim Taymans  <wim@fluendo.com>
20415
20416         * gst/base/gstbasesrc.c: (gst_base_src_init),
20417         (gst_base_src_get_range):
20418         Set the segment_end to -1 initially. Fixed typefind.
20419
20420 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
20421
20422         * gst/base/gstadapter.c:
20423           Debug category should be 'adapter', not 'GstAdapter'.
20424           
20425         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
20426         (gst_collectpads_class_init), (gst_collectpads_init),
20427         (gst_collectpads_peek), (gst_collectpads_pop),
20428         (gst_collectpads_event), (gst_collectpads_chain):
20429           Add debug category and some debugging output. Use boilerplate
20430           macros. Remove some extraneous words from docs.
20431
20432 2005-11-05  Andy Wingo  <wingo@pobox.com>
20433
20434         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
20435         macro.
20436
20437 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20438
20439         * docs/gst/gstreamer-sections.txt:
20440         * gst/gstcaps.h:
20441         * gst/gstinfo.c:
20442         * gst/gstminiobject.h:
20443         * gst/gstobject.h:
20444         * gst/gstutils.h:
20445           more docs added
20446
20447 2005-11-04  Wim Taymans  <wim@fluendo.com>
20448
20449         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20450         Small update to stop at the configured segment_end
20451         position.
20452
20453 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
20454
20455         * gst/gstregistry.c:
20456         * gst/gstregistry.h:
20457           added missing docs
20458
20459 2005-11-04  Edward Hervey  <edward@fluendo.com>
20460
20461         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20462         Check if we are doing a segment seek and have arrived at the
20463         end of that segment.
20464
20465 2005-11-04  Wim Taymans  <wim@fluendo.com>
20466
20467         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
20468         Don't leak a mutex unlock in case of an error.
20469
20470         * gst/gstbus.h:
20471         Doc fixes.
20472
20473 2005-11-04  Wim Taymans  <wim@fluendo.com>
20474
20475         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
20476         (gst_bus_post):
20477         Get the context to wake up only once.
20478
20479 2005-11-03  Wim Taymans  <wim@fluendo.com>
20480
20481         * check/states/sinks.c: (GST_START_TEST):
20482         Uncomment fixed check.
20483
20484         * docs/design/part-TODO.txt:
20485         Updated TODO.
20486
20487         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20488         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20489         (gst_base_sink_get_position):
20490         If we are going to PLAYING, post the right pending state
20491         when we post the intermediate paused message.
20492
20493         * gst/gstelement.c: (gst_element_continue_state),
20494         (gst_element_set_state_func), (gst_element_change_state):
20495         Don't post state changes that were between the same state
20496         and were not ASYNC.
20497
20498 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20499
20500         * docs/gst/gstreamer-sections.txt:
20501         * gst/gstcaps.h:
20502         * gst/gstinfo.c:
20503         * gst/gstminiobject.h:
20504         * gst/gstobject.h:
20505         * gst/gstutils.h:
20506           more docs and doc style fixes
20507
20508 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
20509
20510         * docs/gst/gstreamer-sections.txt:
20511         * gst/gstelement.c:
20512         * gst/gstminiobject.c:
20513         doc fixes
20514
20515 2005-11-03  Andy Wingo  <wingo@pobox.com>
20516
20517         * check/states/sinks.c (test_livesrc_sink): Add checks that the
20518         state-changed messages actually have the right order and the right
20519         values.
20520
20521 2005-11-03  Wim Taymans  <wim@fluendo.com>
20522
20523         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20524         Added some more checks. Specifically the case where NO_PREROLL
20525         elements are in the pipeline.
20526
20527         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20528         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
20529         (gst_base_sink_get_position):
20530         Post READY->PAUSED state change messages too.
20531         Fix bug where VOID was posted as pending state...
20532
20533         * gst/gstbin.c: (gst_bin_recalc_state):
20534         use _element_continue_state() to continue the state change.
20535
20536         * gst/gstelement.c: (gst_element_continue_state),
20537         (gst_element_commit_state), (gst_element_set_state_func),
20538         (gst_element_change_state), (gst_element_change_state_func):
20539         Lots of state change cleanups, assign the STATE_RETURN in
20540         a new continue_state() function that also propagates the
20541         last return value from a state change to the app.
20542         Update some debug statements with proper category.
20543
20544 2005-11-03  Wim Taymans  <wim@fluendo.com>
20545
20546         * docs/design/part-events.txt:
20547         * docs/design/part-gstpipeline.txt:
20548         * docs/design/part-messages.txt:
20549         * docs/design/part-overview.txt:
20550         * docs/design/part-seeking.txt:
20551         * docs/design/part-states.txt:
20552         * docs/design/part-trickmodes.txt:
20553         * docs/manual/advanced-position.xml:
20554         Small docs updates.
20555
20556         * gst/gstobject.h:
20557         People think !! is ugly, this looks better.
20558
20559         * gst/gstpad.c: (gst_pad_set_blocked_async):
20560         Remove !! since it's fixed elsewhere now.
20561
20562 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20563
20564         * gst/gstminiobject.h:
20565         * gst/gstobject.h:
20566           Add !! to _FLAG_IS_SET macros to make the result boolean.
20567
20568 2005-11-03  Edward Hervey  <edward@fluendo.com>
20569
20570         * gst/gstpad.c: (gst_pad_set_blocked_async):
20571         comparing a flag and a gboolean rarely returns coherent results...
20572         Added two characters (!!) to make that work correctly.
20573         
20574 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20575
20576         * gst/gstbus.c: (gst_bus_class_init):
20577           Fix some typos.
20578           
20579         * gst/gstqueue.c: (gst_queue_loop):
20580           Don't assume a miniobject that isn't a buffer is an
20581           event (it could be that there is a refcounting
20582           problem somewhere and the pointer is stale and
20583           refers to an already destroyed miniobject).
20584
20585 2005-11-03  Julien MOUTTE  <julien@moutte.net>
20586
20587         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
20588
20589 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
20590
20591         * docs/manual/advanced-position.xml:
20592           Update seek example and explanations to current 0.9 API.
20593
20594         * gst/elements/gsttypefindelement.c:
20595         (gst_type_find_element_activate):
20596           Remove FIXME comment now that the found caps
20597           are unreffed.
20598
20599 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20600
20601         * gst/gstregistryxml.c: (load_feature):
20602           Add another GST_STR_NULL instance
20603
20604 2005-11-02  Edward Hervey  <edward@fluendo.com>
20605
20606         * gst/gstpad.c: (handle_pad_block):
20607         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
20608         
20609 2005-11-02  Wim Taymans  <wim@fluendo.com>
20610
20611         * gst/gstbin.c:
20612         Fix typo in docs.
20613
20614         * gst/gstelement.c: (gst_element_commit_state):
20615         Remove unused value.
20616
20617         * gst/gstiterator.c:
20618         Mention that the returned element is reffed in the docs.
20619
20620 2005-11-02  Wim Taymans  <wim@fluendo.com>
20621
20622         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
20623         (gst_pad_push), (gst_pad_push_event):
20624         Unlock blocked pads when they are flushed.
20625
20626 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20627
20628         * docs/README:
20629         * docs/gst/gstreamer-sections.txt:
20630         * gst/gstbin.c:
20631           doc updates
20632         * gst/gstregistry.c: (gst_registry_scan_path_level):
20633           fix for a nasty little missed situation where an installed plug-in
20634           which was in the cache did not get overridden by an uninstalled one
20635           which was earlier in the plugin path because the newly created plugin
20636           for the uninstalled one (not in the registry) didn't get its
20637           ->registered set to TRUE
20638
20639 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20640
20641         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
20642         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
20643         (gst_collectpads_is_active), (gst_collectpads_collect),
20644         (gst_collectpads_collect_range), (gst_collectpads_start),
20645         (gst_collectpads_stop), (gst_collectpads_peek),
20646         (gst_collectpads_pop), (gst_collectpads_available),
20647         (gst_collectpads_read), (gst_collectpads_flush):
20648           Guard public API with assertions.
20649         
20650         * gst/gstpad.c:
20651           Fix docs for gst_pad_set_link_function().
20652
20653 2005-11-02  Johan Dahlin  <johan@gnome.org>
20654
20655         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
20656         Unref found_caps after we used it.
20657
20658 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
20659
20660         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
20661           Don't try to ref NULL.
20662
20663 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20664
20665         * win32/common/config.h.in:
20666           provide a GST_FUNCTION that just gives a string for now
20667
20668 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20669
20670         * win32/common/gstenumtypes.c: (register_gst_object_flags),
20671         (gst_object_flags_get_type), (register_gst_bin_flags),
20672         (gst_bin_flags_get_type), (register_gst_buffer_flag),
20673         (gst_buffer_flag_get_type), (register_gst_bus_flags),
20674         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
20675         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
20676         (gst_clock_return_get_type), (register_gst_clock_entry_type),
20677         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
20678         (gst_clock_flags_get_type), (register_gst_state),
20679         (gst_state_get_type), (register_gst_state_change_return),
20680         (gst_state_change_return_get_type), (register_gst_state_change),
20681         (gst_state_change_get_type), (register_gst_element_flags),
20682         (gst_element_flags_get_type), (register_gst_core_error),
20683         (gst_core_error_get_type), (register_gst_library_error),
20684         (gst_library_error_get_type), (register_gst_resource_error),
20685         (gst_resource_error_get_type), (register_gst_stream_error),
20686         (gst_stream_error_get_type), (register_gst_event_type),
20687         (gst_event_type_get_type), (register_gst_seek_type),
20688         (gst_seek_type_get_type), (register_gst_seek_flags),
20689         (gst_seek_flags_get_type), (register_gst_format),
20690         (gst_format_get_type), (register_gst_index_certainty),
20691         (gst_index_certainty_get_type), (register_gst_index_entry_type),
20692         (gst_index_entry_type_get_type),
20693         (register_gst_index_lookup_method),
20694         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
20695         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
20696         (gst_index_resolver_method_get_type), (register_gst_index_flags),
20697         (gst_index_flags_get_type), (register_gst_debug_level),
20698         (gst_debug_level_get_type), (register_gst_debug_color_flags),
20699         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
20700         (gst_iterator_result_get_type), (register_gst_iterator_item),
20701         (gst_iterator_item_get_type), (register_gst_message_type),
20702         (gst_message_type_get_type), (register_gst_mini_object_flags),
20703         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
20704         (gst_pad_link_return_get_type), (register_gst_flow_return),
20705         (gst_flow_return_get_type), (register_gst_activate_mode),
20706         (gst_activate_mode_get_type), (register_gst_pad_direction),
20707         (gst_pad_direction_get_type), (register_gst_pad_flags),
20708         (gst_pad_flags_get_type), (register_gst_pad_presence),
20709         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
20710         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
20711         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
20712         (gst_plugin_error_get_type), (register_gst_plugin_flags),
20713         (gst_plugin_flags_get_type), (register_gst_rank),
20714         (gst_rank_get_type), (register_gst_query_type),
20715         (gst_query_type_get_type), (register_gst_tag_merge_mode),
20716         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
20717         (gst_tag_flag_get_type), (register_gst_task_state),
20718         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
20719         (gst_alloc_trace_flags_get_type),
20720         (register_gst_type_find_probability),
20721         (gst_type_find_probability_get_type), (register_gst_uri_type),
20722         (gst_uri_type_get_type), (register_gst_parse_error),
20723         (gst_parse_error_get_type):
20724         * win32/common/gstversion.h:
20725           update win32 copies
20726
20727 2005-11-01  Luca Ognibene  <luogni@tin.it>
20728
20729         * gst/gst.c:
20730           fix docs. popt is dead, long live GOption.
20731
20732 2005-10-31  Wim Taymans  <wim@fluendo.com>
20733
20734         * gst/gstbuffer.h:
20735         Small doc fix.
20736
20737 2005-10-31  Andy Wingo  <wingo@pobox.com>
20738
20739         * Boo!
20740
20741         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
20742
20743         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
20744         need to serialize property notifications on GLib 2.8. GLib 2.6 has
20745         the possibility of deadlocks here if code calling notify() or
20746         set() has a lock that can be taken in another notify handler (ABBA
20747         with class lock and e.g. python GIL state lock).
20748
20749 2005-10-28  Julien MOUTTE  <julien@moutte.net>
20750
20751         * gst/gstbus.c: Doc updates.
20752
20753 2005-10-28  Wim Taymans  <wim@fluendo.com>
20754
20755         * docs/design/part-TODO.txt:
20756         * gst/gstiterator.c:
20757         * gst/gstsystemclock.c:
20758         * gst/gstsystemclock.h:
20759         Doc updates.
20760
20761 2005-10-28  Edward Hervey  <edward@fluendo.com>
20762
20763         * docs/gst/gstreamer-docs.sgml:
20764         * docs/gst/gstreamer-sections.txt:
20765         the GstURIType documentation page is private, it only defines GstURIType
20766         which should be defined in the GstURIHandler page
20767         
20768 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20769
20770         * gst/gstbin.c: (gst_bin_class_init):
20771         * gst/gstbin.h:
20772         * gst/gstutils.c:
20773         Documentation updates.
20774
20775 2005-10-28  Wim Taymans  <wim@fluendo.com>
20776
20777         * docs/gst/gstreamer-sections.txt:
20778         * gst/gstclock.c:
20779         * gst/gstclock.h:
20780         Documented the clocks.
20781
20782 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
20783
20784         * docs/gst/gstreamer-sections.txt:
20785           move some macros to private sections
20786         * gst/gstminiobject.c:
20787         * gst/gstminiobject.h:
20788           add descriptions provided by ds and some more
20789         * gst/gstpad.h:
20790           mark macro as to be removed
20791
20792 2005-10-28  Wim Taymans  <wim@fluendo.com>
20793
20794         * docs/design/part-TODO.txt:
20795         Add an item to TODO.
20796
20797         * gst/gstiterator.c: (gst_iterator_fold),
20798         (gst_iterator_find_custom):
20799         * gst/gstiterator.h:
20800         Add iterator docs.
20801
20802 2005-10-28  Wim Taymans  <wim@fluendo.com>
20803
20804         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20805         (gst_base_transform_init):
20806         Don't leak class.
20807
20808         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20809         An EOS event marks the queue as completely filled.
20810
20811 2005-10-27  Wim Taymans  <wim@fluendo.com>
20812
20813         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20814         (gst_base_sink_do_sync), (gst_base_sink_get_position):
20815         Some more debugging.
20816
20817         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20818         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20819         (gst_base_transform_event), (gst_base_transform_getrange),
20820         (gst_base_transform_chain):
20821         * gst/base/gstbasetransform.h:
20822         Fix debugging,
20823         Protect transform and concurrent buffer alloc with a new lock.
20824         Try not to break ABI/API.
20825
20826 2005-10-27  Wim Taymans  <wim@fluendo.com>
20827
20828         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20829         (gst_base_src_init), (gst_base_src_query),
20830         (gst_base_src_default_newsegment),
20831         (gst_base_src_configure_segment), (gst_base_src_do_seek),
20832         (gst_base_src_send_event), (gst_base_src_event_handler),
20833         (gst_base_src_pad_get_range), (gst_base_src_loop),
20834         (gst_base_src_unlock), (gst_base_src_default_negotiate),
20835         (gst_base_src_start), (gst_base_src_deactivate),
20836         (gst_base_src_activate_push), (gst_base_src_change_state):
20837         Move some stuff around and cleanup things.
20838
20839 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
20840
20841         * gst/base/gstbasesrc.c: (gst_base_src_query):
20842           Add missing break statements.
20843
20844 2005-10-27  Wim Taymans  <wim@fluendo.com>
20845
20846         * check/gst/gstbin.c: (GST_START_TEST):
20847         An extra refcount is taken in basesrc.
20848
20849         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20850         (gst_base_src_get_range), (gst_base_src_pad_get_range),
20851         (gst_base_src_loop):
20852         Small cleanups, check for flushing after being unlocked from the 
20853         LIVE_LOCK. take refcounts correctly (not yet everywhere).
20854         Don't send out EOS when going to READY.
20855
20856 2005-10-27  Wim Taymans  <wim@fluendo.com>
20857
20858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20859         (gst_base_sink_get_position):
20860         Some more debug.
20861
20862         * gst/gstbin.c: (message_check), (bin_replace_message),
20863         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20864         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20865         (bin_query_duration_init), (bin_query_duration_fold),
20866         (bin_query_duration_done), (bin_query_generic_fold),
20867         (gst_bin_query):
20868         * tools/gst-launch.c: (main):
20869         Remove old option.
20870
20871 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
20872
20873         * examples/controller/audio-example.c: (main):
20874         * examples/queue/queue.c: (event_loop):
20875         * gst/base/gstbasetransform.h:
20876         * gst/gstelement.c: (gst_element_send_event):
20877         * gst/gstevent.h:
20878         * gst/gstpad.c: (gst_pad_send_event):
20879           fixing examples
20880           fixing docs typos
20881           changing log priority in error situations
20882
20883 2005-10-25  Wim Taymans  <wim@fluendo.com>
20884
20885         * gst/gstbin.c: (message_check), (bin_replace_message),
20886         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20887         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20888         (bin_query_duration_init), (bin_query_duration_fold),
20889         (bin_query_duration_done), (bin_query_generic_fold),
20890         (gst_bin_query):
20891         Some doc and debug updates.
20892         Cache previously requested query DURATION for speed. invalidate
20893         cached duration if element posts a DURATION message.
20894
20895 2005-10-25  Wim Taymans  <wim@fluendo.com>
20896
20897         * docs/design/part-TODO.txt:
20898         Update TODO.
20899
20900         * gst/gstbin.c: (message_check), (bin_replace_message),
20901         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20902         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20903         (bin_query_duration_init), (bin_query_duration_fold),
20904         (bin_query_duration_done), (bin_query_generic_fold),
20905         (gst_bin_query):
20906         Handle SEGMENT_START/DONE messages correctly.
20907         More evolved query algorithm that handles duration queries
20908         correctly.
20909
20910         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20911         (gst_element_get_state_func), (gst_element_abort_state),
20912         (gst_element_commit_state), (gst_element_lost_state):
20913         Some more debugging.
20914
20915         * gst/gstmessage.h:
20916         Added doc.
20917
20918 2005-10-25  Wim Taymans  <wim@fluendo.com>
20919
20920         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20921         Don't use invalid stream_time.
20922
20923         * gst/gstevent.c: (gst_event_new_newsegment):
20924         stream_time in newsegment cannot be undefined.
20925
20926 2005-10-24  Wim Taymans  <wim@fluendo.com>
20927
20928         * gst/gstbus.c:
20929         Doc fix.
20930
20931         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20932         (gst_queue_loop):
20933         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20934
20935 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
20936
20937         * docs/libs/tmpl/gstdparam.sgml:
20938         * docs/libs/tmpl/gstdplinint.sgml:
20939         * docs/libs/tmpl/gstdpman.sgml:
20940         * docs/libs/tmpl/gstdpsmooth.sgml:
20941         * docs/libs/tmpl/gstunitconvert.sgml:
20942           these are obsolete
20943
20944 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20945
20946         * configure.ac:
20947           back to HEAD
20948
20949 === release 0.9.4 ===
20950
20951 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20952
20953         * configure.ac:
20954           releasing 0.9.4, "Tyrannosaurus Rex"
20955
20956 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
20957
20958         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20959         (gst_file_sink_get_current_offset):
20960           Use fseeko() and ftello() if available. When falling back on
20961           lseek() to get the current offset, fflush() first to make sure
20962           everything is up-to-date and we get the right offset.
20963
20964 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20965
20966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20967         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20968         * gst/gsterror.c: (_gst_stream_errors_init):
20969         * gst/gsterror.h:
20970         * gst/gstqueue.c: (gst_queue_loop):
20971         * po/POTFILES.in:
20972           remove prematurely added error category and clean up the instances
20973
20974 2005-10-21  Wim Taymans  <wim@fluendo.com>
20975
20976         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20977         (gst_base_sink_get_position), (gst_base_sink_query),
20978         (gst_base_sink_change_state):
20979         Simply set the right flag when going to playing, that's all
20980         we need to do instead of calling a function inside the object
20981         lock (that could take the lock as well and deadlock)
20982
20983 2005-10-21  Wim Taymans  <wim@fluendo.com>
20984
20985         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20986         (gst_base_src_loop):
20987         Don't warn, the peer element knows what to do best when
20988         the seek failed, it might try something else.
20989
20990 2005-10-21  Wim Taymans  <wim@fluendo.com>
20991
20992         * gst/base/gstbasesrc.c: (gst_base_src_init),
20993         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20994         Fix seeking.
20995
20996 2005-10-21  Wim Taymans  <wim@fluendo.com>
20997
20998         * docs/design/part-segments.txt:
20999         More docs.
21000
21001         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
21002         Correctly set caps, even on the subbufer.
21003
21004 2005-10-21  Wim Taymans  <wim@fluendo.com>
21005
21006         * docs/gst/gstreamer-docs.sgml:
21007         * docs/gst/gstreamer-sections.txt:
21008         * gst/gstelement.h:
21009         * gst/gstevent.c:
21010         * gst/gstevent.h:
21011         * gst/gstmessage.h:
21012         * gst/gstpad.h:
21013         * gst/gstparse.h:
21014         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
21015         * gst/gsttask.h:
21016         * gst/gstutils.c:
21017         * gst/gstutils.h:
21018         And 2% more doc coverage.
21019
21020 2005-10-21  Andy Wingo  <wingo@pobox.com>
21021
21022         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
21023         position reporting.
21024
21025 2005-10-20  Wim Taymans  <wim@fluendo.com>
21026
21027         * gst/gsterror.c: (gst_error_get_message):
21028         * gst/gstparse.h:
21029         * gst/gstquery.h:
21030         * gst/gststructure.c:
21031         * gst/gsttrace.c:
21032         * gst/gstutils.c:
21033         More docs.
21034
21035 2005-10-20  Wim Taymans  <wim@fluendo.com>
21036
21037         * gst/gstbuffer.h:
21038         * gst/gstpad.c:
21039         * gst/gstparse.c:
21040         Another 1% more coverage.
21041
21042 2005-10-20  Wim Taymans  <wim@fluendo.com>
21043
21044         * docs/gst/gstreamer-sections.txt:
21045         * gst/gstelement.c: (gst_element_get_state_func),
21046         (gst_element_abort_state), (gst_element_commit_state),
21047         (gst_element_lost_state):
21048         * gst/gstevent.h:
21049         * gst/gstquery.c: (gst_query_set_position),
21050         (gst_query_parse_position), (gst_query_set_duration),
21051         (gst_query_parse_duration), (gst_query_new_convert):
21052         * gst/gstutils.c:
21053         Yay! 1% more docs coverage.
21054
21055 2005-10-20  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstpad.h:
21058         * gst/gstquery.c: (gst_query_set_position),
21059         (gst_query_parse_position), (gst_query_set_duration),
21060         (gst_query_parse_duration), (gst_query_new_convert):
21061         * gst/gstquery.h:
21062         * gst/gstutils.c: (gst_element_query_convert):
21063         * gst/gstutils.h:
21064         Docs and consistency fixes.
21065
21066 2005-10-20  Wim Taymans  <wim@fluendo.com>
21067
21068         * gst/gsttask.c:
21069         * gst/gsttask.h:
21070         More docs.
21071
21072 2005-10-20  Wim Taymans  <wim@fluendo.com>
21073
21074         * gst/gstbin.c: (message_check), (bin_replace_message),
21075         (bin_remove_messages), (is_eos), (gst_bin_add_func),
21076         (update_degree), (gst_bin_sort_iterator_next),
21077         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
21078         Reworked the message handling a bit, cache the messages instead of
21079         only the senders. alows us to do more in the future.
21080
21081 2005-10-20  Wim Taymans  <wim@fluendo.com>
21082
21083         * docs/design/part-TODO.txt:
21084         Update TODO
21085
21086         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21087         (gst_base_sink_query):
21088         Don't use clock time to report position when in EOS.
21089
21090 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
21091
21092         * tools/gst-inspect.c: (print_interfaces),
21093         (print_element_properties_info), (print_element_info):
21094           Fix interface output with gst-inspect -a; don't print
21095           newlines after double/float properties.
21096
21097 2005-10-20  Wim Taymans  <wim@fluendo.com>
21098
21099         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
21100         (gst_base_sink_query):
21101         Speed up current position calculation.
21102
21103         * gst/base/gstbasesrc.c: (gst_base_src_query),
21104         (gst_base_src_default_newsegment):
21105         Correctly set stream position in newsegment.
21106
21107         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
21108         (update_degree), (gst_bin_sort_iterator_next),
21109         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
21110         * gst/gstmessage.c: (gst_message_new_custom):
21111         Clean up debugging info
21112
21113         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
21114         (gst_queue_loop), (gst_queue_handle_src_query):
21115         Pause task faster.
21116
21117 2005-10-19  Wim Taymans  <wim@fluendo.com>
21118
21119         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21120         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21121         Fix query handling again.
21122
21123 2005-10-19  Wim Taymans  <wim@fluendo.com>
21124
21125         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21126         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
21127         * gst/base/gstbasesrc.c: (gst_base_src_query):
21128         * gst/elements/gstfilesink.c: (gst_file_sink_query):
21129         * gst/elements/gsttypefindelement.c:
21130         (gst_type_find_handle_src_query), (find_element_get_length),
21131         (gst_type_find_element_activate):
21132         API change fix.
21133
21134         * gst/gstquery.c: (gst_query_new_position),
21135         (gst_query_set_position), (gst_query_parse_position),
21136         (gst_query_new_duration), (gst_query_set_duration),
21137         (gst_query_parse_duration), (gst_query_set_segment),
21138         (gst_query_parse_segment):
21139         * gst/gstquery.h:
21140         Bundling query position/duration is not a good idea since duration
21141         does not change much and we don't want to recalculate it for every
21142         position query, so they are separated again..
21143         Base value in segment query is not needed.
21144
21145         * gst/gstqueue.c: (gst_queue_handle_src_query):
21146         * gst/gstutils.c: (gst_element_query_position),
21147         (gst_element_query_duration), (gst_pad_query_position),
21148         (gst_pad_query_duration):
21149         * gst/gstutils.h:
21150         Updates for query API change.
21151         Added some docs here and there.
21152
21153 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21154
21155         * check/gst/gstbin.c: (GST_START_TEST):
21156         * check/gst/gstghostpad.c: (GST_START_TEST):
21157         * check/pipelines/cleanup.c: (GST_START_TEST):
21158           wait on thread to die so we can check refcount correctly
21159
21160 2005-10-18  Wim Taymans  <wim@fluendo.com>
21161
21162         * check/pipelines/stress.c: (GST_START_TEST):
21163         Make check a little more time consuming.
21164
21165 2005-10-18  Wim Taymans  <wim@fluendo.com>
21166
21167         * check/Makefile.am:
21168         * check/pipelines/stress.c: (GST_START_TEST),
21169         (simple_launch_lines_suite), (main):
21170         Small state change torture test.
21171
21172         * docs/design/part-states.txt:
21173         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
21174         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
21175         (gst_base_sink_change_state):
21176         Never take state lock from streaming thread, clean up ugly
21177         hacks. Unfortunatly core does not yet support nice ways to
21178         async commit state.
21179         
21180         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
21181         (bin_bus_handler):
21182         Start state recalc if a STATE_DIRTY message is posted, but only
21183         on the toplevel bin.
21184
21185         * gst/gstelement.c: (gst_element_sync_state_with_parent),
21186         (gst_element_get_state_func), (gst_element_abort_state),
21187         (gst_element_commit_state), (gst_element_lost_state),
21188         (gst_element_set_state_func), (gst_element_change_state):
21189         * gst/gstelement.h:
21190         State variables are now protected with the LOCK, the state
21191         lock is only used to serialize _set_state().
21192
21193 2005-10-18  Wim Taymans  <wim@fluendo.com>
21194
21195         * check/gst/gstbin.c: (GST_START_TEST):
21196         * check/gst/gstmessage.c: (GST_START_TEST):
21197         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21198         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
21199         (bin_bus_handler):
21200         * gst/gstelement.c: (gst_element_abort_state),
21201         (gst_element_commit_state), (gst_element_lost_state):
21202         * gst/gstmessage.c: (gst_message_new_state_changed),
21203         (gst_message_new_state_dirty), (gst_message_new_segment_start),
21204         (gst_message_new_segment_done), (gst_message_new_duration),
21205         (gst_message_parse_state_changed),
21206         (gst_message_parse_segment_start),
21207         (gst_message_parse_segment_done), (gst_message_parse_duration):
21208         * gst/gstmessage.h:
21209         * tools/gst-launch.c: (event_loop):
21210         Seriously, this is better than a previous commit as we only need
21211         to notify the fact that an element changed state in a streaming
21212         thread, marking the state of the parents dirty, hence the 
21213         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
21214         message.
21215
21216 2005-10-18  Wim Taymans  <wim@fluendo.com>
21217
21218         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
21219         (gst_bin_recalc_func):
21220         * gst/gstelement.c: (gst_element_set_clock),
21221         (gst_element_abort_state), (gst_element_lost_state):
21222         Cleanups, prepare for state change fixes.
21223
21224 2005-10-18  Wim Taymans  <wim@fluendo.com>
21225
21226         * gst/gstbin.h:
21227         * gst/gstelement.c: (gst_element_class_init),
21228         (gst_element_set_state), (gst_element_set_state_func):
21229         * gst/gstelement.h:
21230         Pending ABI changes.
21231         GThreadPool in GstBinClass to monitor async state changes.
21232         state_cookie in GstElement to detect concurrent gst/set state.
21233         set_state is now virtual too in case a very complicated element
21234         has to be constructed.
21235
21236 2005-10-18  Wim Taymans  <wim@fluendo.com>
21237
21238         * check/gst/gstbin.c: (GST_START_TEST):
21239         * check/gst/gstmessage.c: (GST_START_TEST):
21240         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21241         * gst/gstbin.c: (bin_bus_handler):
21242         * gst/gstelement.c: (gst_element_commit_state),
21243         (gst_element_lost_state):
21244         * gst/gstmessage.c: (gst_message_new_state_changed),
21245         (gst_message_new_segment_start), (gst_message_new_segment_done),
21246         (gst_message_new_duration), (gst_message_parse_state_changed),
21247         (gst_message_parse_segment_start),
21248         (gst_message_parse_segment_done), (gst_message_parse_duration):
21249         * gst/gstmessage.h:
21250         * tools/gst-launch.c: (event_loop):
21251         Make messages future proof.
21252         state-change gets a flag if it was a message comming from the
21253         streaming thread.
21254         segment-start/stop can also be specified in other formats.
21255         A message to notify an app that a pipeline changed playback 
21256         duration.
21257         Also fix a GstMessage leak in -launch
21258
21259 2005-10-18  Andy Wingo  <wingo@pobox.com>
21260
21261         * gst/gstelement.c (gst_element_dispose): More helpful message.
21262
21263 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21264
21265         reviewed by: <delete if not using a buddy>
21266
21267         * common/gtk-doc.mak:
21268
21269 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21270
21271         * gst/gstregistry.c: (gst_registry_scan_path_level):
21272           unref a plug-in we get that was already initialized
21273
21274 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
21275
21276         * docs/gst/gstreamer-sections.txt:
21277         * docs/libs/gstreamer-libs-sections.txt:
21278         * gst/gstelement.h:
21279           add new api entries
21280           hide internal macro
21281
21282 2005-10-17  Andy Wingo  <wingo@pobox.com>
21283
21284         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
21285         cleanup.
21286
21287         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
21288
21289         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
21290
21291         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
21292         (gst_element_get_state_func): Better debug message.
21293         (gst_element_commit_state): s/INFO/DEBUG/.
21294         (gst_element_lost_state, gst_element_change_state): 
21295
21296         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
21297         (gst_message_new_custom): s/INFO/LOG/.
21298
21299 2005-10-17  Michael Smith <msmith@fluendo.com>
21300
21301         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
21302           Check if end time is valid using end time, not start time.
21303
21304 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
21305
21306         * check/gst-libs/controller.c: (GST_START_TEST),
21307         (gst_controller_suite):
21308         * libs/gst/controller/gstcontroller.c:
21309         (gst_controlled_property_set_interpolation_mode):
21310         * libs/gst/controller/gstcontroller.h:
21311         * libs/gst/controller/gstinterpolation.c:
21312         * testsuite/controller/.cvsignore:
21313         * testsuite/controller/Makefile.am:
21314         * testsuite/controller/interpolator.c:
21315           merge controller testsuites
21316           fix broken tests
21317           remove mem-chunk from docs
21318
21319 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21320
21321         * gst/gstmemchunk.c:
21322         * gst/gstmemchunk.h:
21323         * gst/gsttrashstack.c:
21324         * gst/gsttrashstack.h:
21325           out.  get out.  you're fired.  to the Attic !
21326
21327 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
21328
21329         * gst/gstcaps.c: (gst_caps_intersect):
21330           fix signedness issues in a (hopefully) correct way
21331         * gst/gstelement.c: (gst_element_pads_activate):
21332           some debugging
21333         * gst/gstobject.c: (gst_object_set_parent):
21334           some debugging
21335
21336 2005-10-17  Julien MOUTTE  <julien@moutte.net>
21337
21338         * gst/gstvalue.h: Fix prototypes.
21339
21340 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21341
21342         * docs/gst/gstreamer-sections.txt:
21343         * gst/gst.c: (gst_version_string):
21344         * gst/gst.h:
21345         * gst/gstversion.h.in:
21346         * win32/common/libgstreamer.def:
21347           add gst_version_string ()
21348
21349 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21350
21351         * configure.ac:
21352           clean up further
21353         * gst/gst.c: (init_post):
21354         * win32/common/config.h.in:
21355           it's PLUGINDIR now
21356         * gst/gstcaps.c: (gst_caps_intersect):
21357           use gint64, the range could be bigger than a guint
21358
21359 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21360
21361         * gst/gstclock.h:
21362           document potential problem in 2038
21363
21364 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21365
21366         * gst/gstcaps.c: (gst_caps_intersect):
21367           Fix guint j diving under 0
21368
21369 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21370
21371         * configure.ac:
21372         * win32/common/config.h:
21373         * win32/common/config.h.in:
21374           check for process.h, declares getpid() on Windows
21375         * gst/gstinfo.c:
21376           include process.h if we have it
21377         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
21378         * gst/gstmemchunk.h:
21379           fix signedness issues
21380         * win32/common/libgstreamer.def:
21381           fix get_type's
21382
21383 2005-10-16  Julien MOUTTE  <julien@moutte.net>
21384
21385         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
21386         fix. Because of unsigned ints, caps intersection was going nuts and
21387         trying to access structures with G_MAXUINT index. That fixes
21388         videotestsrc ! ffmpegcolorspace ! fakesink
21389         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
21390         consistency.
21391
21392 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21393
21394         * configure.ac:
21395           use the gettext macro
21396         * gst/elements/gstelements.c:
21397         * gst/gst.c:
21398         * gst/indexers/gstindexers.c:
21399           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
21400         * win32/common/config.h:
21401           updated config.h
21402         * win32/common/config.h.in:
21403           add the template to generate config.h
21404         * win32/common/gstenumtypes.c:
21405         * win32/common/gstversion.h:
21406           updated copies
21407
21408 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21409
21410         * gst/gst.c: (gst_version):
21411         * gst/gstversion.h.in:
21412           add the nano
21413
21414 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21415
21416         * gst/gstevent.h:
21417           Oops, add missing closing bracket.
21418
21419 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21420
21421         * configure.ac:
21422           use common m4's for argument checking
21423
21424 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
21425
21426         * docs/gst/gstreamer-sections.txt:
21427         * gst/gstevent.h:
21428           Add GST_EVENT_TYPE_NAME() macro.
21429
21430 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21431
21432         * gst/gstinfo.c:
21433         * gst/gstpluginfeature.c:
21434         * gst/gsttask.c:
21435           privatize more symbols
21436
21437 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21438
21439         * configure.ac:
21440           add srcdir, builddir includes to GST_ALL_CFLAGS, since
21441           everything that uses GStreamer API should have the includes
21442
21443 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21444
21445         * docs/gst/gstreamer-sections.txt:
21446         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
21447         * gst/gstvalue.h:
21448           give each value a _get_type, removes the DATA exports
21449
21450 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21451
21452         * gst/gst.c:
21453         * gst/gst.h:
21454           remove _gst_registry_auto_load, not used anymore
21455         * gst/gstbin.c: (gst_bin_get_type):
21456         * gst/gstbin.h:
21457         * gst/gstelement.c: (gst_element_get_type):
21458         * gst/gstelement.h:
21459         * gst/gstobject.c: (gst_object_get_type):
21460         * gst/gstobject.h:
21461         * gst/gstpad.c: (gst_pad_get_type):
21462         * gst/gstpad.h:
21463           make _get_type functions similar, fixes data export from library
21464
21465 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21466
21467         * configure.ac:
21468           correctly make conditionals
21469         * gst/elements/Makefile.am:
21470         * gst/elements/gstelements.c:
21471           fix typo causing fdsrc not to build
21472
21473 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21474
21475         * testsuite/Makefile.am:
21476         * testsuite/bytestream/.cvsignore:
21477         * testsuite/bytestream/Makefile.am:
21478         * testsuite/bytestream/filepadsink.c:
21479         * testsuite/bytestream/gstbstest.c:
21480         * testsuite/bytestream/test1.c:
21481         * testsuite/bytestream/testfile1:
21482         * testsuite/caps/normalisation.c:
21483         * testsuite/caps/random.c: (main):
21484         * testsuite/cleanup/.cvsignore:
21485         * testsuite/cleanup/Makefile.am:
21486         * testsuite/cleanup/cleanup1.c:
21487         * testsuite/cleanup/cleanup2.c:
21488         * testsuite/cleanup/cleanup3.c:
21489         * testsuite/cleanup/cleanup4.c:
21490         * testsuite/cleanup/cleanup5.c:
21491         * testsuite/controller/interpolator.c:
21492         * testsuite/debug/printf_extension.c: (main):
21493         * testsuite/elements/tee.c:
21494         * testsuite/negotiation/.cvsignore:
21495         * testsuite/negotiation/Makefile.am:
21496         * testsuite/negotiation/pad_link.c:
21497         * testsuite/pad/Makefile.am:
21498         * testsuite/pad/chainnopull.c:
21499         * testsuite/pad/getnopush.c:
21500         * testsuite/pad/link.c:
21501         * testsuite/refcounting/sched.c: (create_pipeline):
21502         * testsuite/registry/Makefile.am:
21503         * testsuite/registry/gst-print-formats.c:
21504         * testsuite/schedulers/.cvsignore:
21505         * testsuite/schedulers/142183-2.c:
21506         * testsuite/schedulers/142183.c:
21507         * testsuite/schedulers/143777-2.c:
21508         * testsuite/schedulers/143777.c:
21509         * testsuite/schedulers/147713.c:
21510         * testsuite/schedulers/147819.c:
21511         * testsuite/schedulers/147894-2.c:
21512         * testsuite/schedulers/147894.c:
21513         * testsuite/schedulers/Makefile.am:
21514         * testsuite/schedulers/group_link.c:
21515         * testsuite/schedulers/queue_link.c:
21516         * testsuite/schedulers/relink.c:
21517         * testsuite/schedulers/unlink.c:
21518         * testsuite/schedulers/unref.c:
21519         * testsuite/schedulers/useless_iteration.c:
21520         * testsuite/states/bin.c:
21521           clean out/remove some stuff from the testsuite directories
21522
21523 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21524
21525         * configure.ac:
21526           check for some headers
21527         * gst/elements/Makefile.am:
21528         * gst/elements/gstelements.c:
21529           don't compile fdsrc without sys/socket.h
21530         * gst/indexers/Makefile.am:
21531         * gst/indexers/gstindexers.c: (plugin_init):
21532           don't compile fileindex without mmap
21533
21534 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21535
21536         * configure.ac:
21537           reorganize
21538           clean up
21539           document more
21540           remove cruft
21541         * check/Makefile.am:
21542         * docs/gst/Makefile.am:
21543         * examples/helloworld/Makefile.am:
21544         * gst/Makefile.am:
21545         * gst/base/Makefile.am:
21546         * gst/check/Makefile.am:
21547         * gst/elements/Makefile.am:
21548         * gst/indexers/Makefile.am:
21549         * gst/parse/Makefile.am:
21550         * libs/gst/controller/Makefile.am:
21551         * libs/gst/dataprotocol/Makefile.am:
21552         * examples/helloworld/helloworld.c: (event_loop):
21553           compile fixes, though it's not being compiled currently
21554
21555 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21556
21557         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
21558           Add some simple tests for the new taglist date API.
21559
21560 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21561
21562         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
21563         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
21564           Beautify 'last-message' output: print 'none' for buffer timestamps
21565           and durations if none is set; improve alignment with next messages.
21566
21567 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
21568
21569         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
21570         * gst/gstpluginfeature.h:
21571         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
21572         * gst/gstregistry.h:
21573         * docs/gst/gstreamer-sections.txt:
21574           Add new API to check plugin feature version requirements.
21575
21576         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
21577           Some basic tests for the above.         
21578
21579 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21580
21581         * gst/gststructure.c: (gst_structure_to_string):
21582           guard against NULL printf - happens when for example
21583           a message structure with GstClock gets serialized
21584
21585 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21586
21587         * gst/base/gstcollectpads.c: (gst_collectpads_event):
21588           Fix presumable copy'n'pasto.
21589
21590 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21591
21592         * gst/elements/gstfakesrc.h:
21593         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
21594         * gst/elements/gsttypefindelement.c:
21595           fix some signedness
21596         * gst/elements/gstfilesink.c: (gst_file_sink_render):
21597           I wonder if this could actually write +2GB files before
21598
21599 2005-10-13  Andy Wingo  <wingo@pobox.com>
21600
21601         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
21602         Fix Timmeke Waymans bug.
21603         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
21604         string of the proper length to gst_caps_from_string. There's a
21605         potential for, before this fix, that this could cause someone
21606         connecting over the network to cause a segfault if the payload is
21607         not NUL-terminated.
21608
21609 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21610
21611         * docs/design/draft-push-pull.txt:
21612         * docs/design/part-overview.txt:
21613         * docs/random/TODO-pre-0.9:
21614         * docs/random/old/ChangeLog.gstreamer:
21615         * gst/base/gstpushsrc.c:
21616         * gst/gstclock.c:
21617           fixed typos
21618
21619 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21620
21621         * gst/glib-compat.c: (gst_flags_get_first_value):
21622         * gst/glib-compat.h:
21623         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
21624         (gst_value_compare_double), (gst_value_serialize_flags):
21625           GLib 2.6 g_flags_get_first_value has a bug that triggers an
21626           infinite loop
21627
21628 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21629
21630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21631         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
21632           fix up debugging
21633         * tools/gst-launch.c: (event_loop):
21634           print out clock nicely
21635
21636 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
21637
21638         * docs/gst/gstreamer-sections.txt:
21639         * gst/gsttaglist.h:
21640         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
21641         (gst_tag_list_get_date_index):
21642           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
21643           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
21644
21645 2005-10-13  Julien MOUTTE  <julien@moutte.net>
21646
21647         * gst/base/gstcollectpads.c: (gst_collectpads_event),
21648         (gst_collectpads_chain):
21649         * gst/base/gstcollectpads.h: Handle newsegment and store informations
21650         in CollectData.
21651
21652 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
21653
21654         * docs/gst/gstreamer-sections.txt:
21655         * gst/gst.c:
21656         * gst/gsterror.h:
21657         * tools/gst-inspect.c: (main):
21658         * tools/gst-launch.c: (main):
21659         * tools/gst-run.c: (main):
21660         * tools/gst-xmlinspect.c: (main):
21661           fix GOption context leaks
21662           doc fixes
21663
21664 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
21665
21666         * gst/gstbus.c:
21667           use HAVE_UNISTD_H
21668         * win32/common/config.h:
21669           update config
21670         * win32/vs6/grammar.dsp:
21671         * win32/vs6/libgstelements.dsp:
21672         * win32/vs6/libgstreamer.dsp:
21673           update vs6 files
21674
21675 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21676
21677         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21678         * gst/base/gstbasesrc.c: (gst_base_src_query):
21679           fix more guint64<->gdouble conversions
21680
21681 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21682
21683         * Makefile.am:
21684           add win32-update target
21685         * win32/common/gstconfig.h:
21686         * win32/common/gstenumtypes.c:
21687         * win32/common/gstenumtypes.h:
21688         * win32/common/gstversion.h:
21689           add files that visual studio can't generate
21690
21691 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21692
21693         * Makefile.am:
21694           add a win32-update target
21695         * configure.ac:
21696
21697 2005-10-12  Wim Taymans  <wim@fluendo.com>
21698
21699         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21700         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
21701         * gst/gstelement.c: (gst_element_commit_state),
21702         (gst_element_set_state):
21703         Protect flags with proper lock.
21704         unref provided cached clock in dispose.
21705
21706 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21707
21708         * gst/gst.c:
21709         * gst/gstminiobject.h:
21710         * gst/gstpad.h:
21711         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
21712           removed unused flags from miniobject
21713           doc fixes
21714
21715 2005-10-12  Wim Taymans  <wim@fluendo.com>
21716
21717         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
21718         (gst_file_sink_event), (gst_file_sink_render):
21719         Flush before seeking.
21720
21721 2005-10-12  Andy Wingo  <wingo@pobox.com>
21722
21723         * gst/gst.c (gst_init_check): Ignore unknown options, as has
21724         always been the case.
21725
21726 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
21727
21728         * check/gst/gstbin.c: (GST_START_TEST):
21729         * docs/gst/gstreamer-sections.txt:
21730         * gst/base/gstbasesink.c: (gst_base_sink_init):
21731         * gst/base/gstbasesrc.c: (gst_base_src_init),
21732         (gst_base_src_get_range), (gst_base_src_check_get_range),
21733         (gst_base_src_start), (gst_base_src_stop):
21734         * gst/base/gstbasesrc.h:
21735         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
21736         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
21737         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
21738         (bin_bus_handler):
21739         * gst/gstbin.h:
21740         * gst/gstbuffer.h:
21741         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
21742         * gst/gstbus.h:
21743         * gst/gstelement.c: (gst_element_is_locked_state),
21744         (gst_element_set_locked_state), (gst_element_commit_state),
21745         (gst_element_set_state):
21746         * gst/gstelement.h:
21747         * gst/gstindex.c: (gst_index_init):
21748         * gst/gstindex.h:
21749         * gst/gstminiobject.h:
21750         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
21751         (gst_object_set_parent):
21752         * gst/gstobject.h:
21753         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
21754         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
21755         * gst/gstpad.h:
21756         * gst/gstpadtemplate.h:
21757         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
21758         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
21759         * gst/gstpipeline.h:
21760         * gst/indexers/gstfileindex.c: (gst_file_index_load),
21761         (gst_file_index_commit):
21762         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
21763         * testsuite/pad/link.c: (gst_test_src_init),
21764         (gst_test_filter_init), (gst_test_sink_init):
21765         * testsuite/states/locked.c: (main):
21766           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
21767           moved bitshift from macro to enum definition
21768
21769 2005-10-12  Wim Taymans  <wim@fluendo.com>
21770
21771         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
21772         * gst/elements/gstfilesink.c: (gst_file_sink_event),
21773         (gst_file_sink_render):
21774         Some more debugging info.
21775
21776 2005-10-12  Wim Taymans  <wim@fluendo.com>
21777
21778         * docs/design/part-states.txt:
21779         * tools/gst-launch.c: (main):
21780         Some doc updates.
21781         Revert non-intentional change.
21782
21783 2005-10-12  Wim Taymans  <wim@fluendo.com>
21784
21785         * check/gst/gstbin.c: (GST_START_TEST):
21786         * check/gst/gstelement.c: (GST_START_TEST):
21787         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
21788         * check/gst/gstghostpad.c: (GST_START_TEST):
21789         * check/gst/gstpipeline.c: (GST_START_TEST):
21790         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21791         * check/states/sinks.c: (GST_START_TEST):
21792         * gst/elements/gsttypefindelement.c: (stop_typefinding):
21793         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21794         (gst_bin_remove_func), (gst_bin_get_state_func),
21795         (gst_bin_recalc_state), (gst_bin_change_state_func),
21796         (bin_bus_handler):
21797         * gst/gstelement.c: (gst_element_get_state_func),
21798         (gst_element_get_state), (gst_element_abort_state),
21799         (gst_element_commit_state), (gst_element_set_state),
21800         (gst_element_change_state), (gst_element_change_state_func):
21801         * gst/gstelement.h:
21802         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21803         (gst_pipeline_provide_clock_func):
21804         * gst/gstutils.c: (gst_element_link_pads_filtered):
21805         * tools/gst-launch.c: (main):
21806         * tools/gst-typefind.c: (main):
21807         Use GstClockTime in _get_state() instead of GTimeVal.
21808         Remove old code in gstutils.c
21809
21810 2005-10-12  Andy Wingo  <wingo@pobox.com>
21811
21812         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21813         removed.
21814
21815         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21816         there is no task. Shouldn't affect any code, as nothing in our
21817         plugins checks this return value.
21818         (gst_pad_stop_task): Also take the stream lock if the pad has no
21819         task. Docs updated.
21820
21821 2005-10-12  Wim Taymans  <wim@fluendo.com>
21822
21823         * gst/gstpad.c: (pre_activate), (post_activate),
21824         (gst_pad_activate_pull), (gst_pad_activate_push):
21825         Cleanup activation code. Reset old state if
21826         activation failed.
21827
21828 2005-10-12  Wim Taymans  <wim@fluendo.com>
21829
21830         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21831         (gst_base_sink_change_state):
21832         No need to prerol after receiving EOS.
21833
21834         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21835         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21836         * gst/elements/gstidentity.c: (gst_identity_event):
21837         Print events more verbosely.
21838
21839 2005-10-12  Wim Taymans  <wim@fluendo.com>
21840
21841         * check/Makefile.am:
21842         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21843         * check/states/sinks2.c:
21844         Moved sinks2 testcode in sinks check.
21845
21846         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21847         (gst_bin_remove_func), (gst_bin_recalc_state),
21848         (gst_bin_change_state_func), (bin_bus_handler):
21849         Fix potential race condition when _get_state() iterated over an
21850         ASYNC element right before it posted a state completion.
21851
21852         * gst/gstclock.h:
21853         Do proper cast here.
21854
21855         * gst/gstevent.c: (gst_event_new_newsegment),
21856         (gst_event_parse_newsegment):
21857         A playback rate of 0.0 is not allowed.
21858
21859 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21860
21861         * win32/common/config.h:
21862         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21863         (_trewinddir), (_ttelldir), (_tseekdir):
21864         * win32/common/dirent.h:
21865         * win32/common/gtchar.h:
21866         * win32/common/libgstbase.def:
21867         * win32/common/libgstreamer.def:
21868         * win32/vs6/grammar.dsp:
21869         * win32/vs6/gst_inspect.dsp:
21870         * win32/vs6/gst_launch.dsp:
21871         * win32/vs6/gstreamer.dsw:
21872         * win32/vs6/libgstbase.dsp:
21873         * win32/vs6/libgstelements.dsp:
21874         * win32/vs6/libgstreamer.dsp:
21875           Visual Studio 6 project files, and a new common directory.
21876           Phear.
21877
21878 2005-10-11  Wim Taymans  <wim@fluendo.com>
21879
21880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21881         (gst_base_sink_do_sync), (gst_base_sink_query),
21882         (gst_base_sink_change_state):
21883         * gst/base/gstbasesink.h:
21884         Correctly parse newsegment info.
21885
21886 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21887
21888         * gst/gst.c: (init_post):
21889           split plugin paths correctly
21890
21891 2005-10-11  Wim Taymans  <wim@fluendo.com>
21892
21893         * check/gst/gstevent.c: (GST_START_TEST):
21894         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21895         (gst_base_sink_change_state):
21896         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21897         * gst/base/gstbasetransform.c: (gst_base_transform_event):
21898         * gst/elements/gstfilesink.c: (gst_file_sink_event):
21899         * gst/gstevent.c: (gst_event_new_newsegment),
21900         (gst_event_parse_newsegment):
21901         * gst/gstevent.h:
21902         Added extra flag to newsegment for future API freeze.
21903         Updated check and base elements.
21904
21905 2005-10-11  Julien MOUTTE  <julien@moutte.net>
21906
21907         * gst/base/gstcollectpads.c: (gst_collectpads_init),
21908         (gst_collectpads_add_pad), (gst_collectpads_pop),
21909         (gst_collectpads_event), (gst_collectpads_chain):
21910         * gst/base/gstcollectpads.h: Handle EOS correctly.
21911
21912 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21913
21914         * tools/gst-launch.c: (main):
21915           more null protecting
21916
21917 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21918
21919         * gst/gst-i18n-lib.h:
21920           check for ENABLE_NLS, not GETTEXT_PACKAGE
21921         * gst/gstregistry.c: (gst_registry_add_plugin),
21922         (gst_registry_scan_path_level),
21923         (_gst_registry_remove_cache_plugins):
21924           protect possibly NULL strings
21925         * gst/parse/types.h:
21926           config.h already included before
21927         * tools/gst-inspect.c: (main):
21928           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21929           check for ENABLE_NLS, not GETTEXT_PACKAGE
21930         * tools/gst-launch.c: (main):
21931           check for ENABLE_NLS, not GETTEXT_PACKAGE
21932
21933 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21934
21935         * configure.ac:
21936           if we don't have glib, fail before testing 2.8
21937         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21938           fix a leak, should fix plugins-base testsuite
21939
21940 2005-10-11  Andy Wingo  <wingo@pobox.com>
21941
21942         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21943         take the mode we're going to as an arg. Go head and set the mode
21944         and flushing flags now, so that if the activate function starts a
21945         thread all the flags will be in the right state.
21946         (post_activate): Renamed also. Just handle making sure streaming
21947         finishes for the deactivation case, and setting the deactivated
21948         mode.
21949         (gst_pad_set_active): Complain loudly if deactivation fails.
21950         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21951         (gst_pad_activate_push): Adapt to pre/post_activate changes,
21952         remove the terrible hack.
21953
21954 2005-10-11  Wim Taymans  <wim@fluendo.com>
21955
21956         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21957         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21958         (gst_bin_recalc_state), (gst_bin_change_state_func),
21959         (gst_bin_dispose), (bin_bus_handler):
21960         * gst/gstbin.h:
21961         Prepare to make current EOS message queue more generic.
21962         Fix some typos.
21963
21964         * gst/gstevent.c: (gst_event_new_newsegment),
21965         (gst_event_parse_newsegment):
21966         * gst/gstevent.h:
21967         Rename base to stream_time.
21968
21969         * gst/gstmessage.h:
21970         Fix typo in docs.
21971
21972 2005-10-11  Wim Taymans  <wim@fluendo.com>
21973
21974         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21975         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21976         (gst_bin_change_state_func), (bin_bus_handler):
21977         * gst/gstbin.h:
21978         Work on proper clock selection.
21979
21980 2005-10-11  Edward Hervey  <edward@fluendo.com>
21981
21982         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21983         * libs/gst/controller/gstcontroller.h:
21984         Added GList* version of _remove_properties() in order to be able to wrap
21985         it in bindings.
21986
21987 2005-10-11  Wim Taymans  <wim@fluendo.com>
21988
21989         * docs/design/part-states.txt:
21990         Some more docs.
21991
21992         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21993         (gst_bin_change_state_func), (bin_bus_handler):
21994         Doc updates. Don't distribute the same clock over and over again.
21995
21996         * gst/gstclock.c:
21997         * gst/gstclock.h:
21998         Doc updates.
21999
22000         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
22001         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
22002         (gst_pad_send_event):
22003         * gst/gstpad.h:
22004         Make probe emission threadsafe again.
22005         Register quarks and move _get_name() from utils.
22006         Doc updates.
22007
22008         * gst/gstpipeline.c: (gst_pipeline_class_init),
22009         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22010         Only redistribute the clock of it changed.
22011
22012         * gst/gstsystemclock.h:
22013         Doc updates. 
22014
22015         * gst/gstutils.c:
22016         * gst/gstutils.h:
22017         Moved the _flow_get_name() to GstPad.
22018
22019 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22020
22021         * check/gst-libs/gdp.c: (GST_START_TEST):
22022         * check/gst/gstcaps.c: (GST_START_TEST):
22023         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
22024         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
22025         (gst_dp_packet_from_caps):
22026           fix more valgrind warnings before turning up the heat
22027
22028 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22029
22030         * gst/parse/grammar.y:
22031           some cleanup before the hacking
22032
22033 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22034
22035         * gst/base/gstbasesrc.c: (gst_base_src_query):
22036           use conversions
22037         * gst/gstutils.c: (gst_guint64_to_gdouble),
22038         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
22039         * gst/gstutils.h:
22040           externalize, basesrc uses it
22041           obviously the implementation needs testing
22042
22043 2005-10-10  Wim Taymans  <wim@fluendo.com>
22044
22045         * tests/sched/Makefile.am:
22046         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
22047         (make_pipeline3), (make_pipeline4), (print_elem), (main):
22048
22049 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22050
22051         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
22052           apparently converting from guint64 to double is not implemented
22053           on MSVC
22054
22055 2005-10-10  Wim Taymans  <wim@fluendo.com>
22056
22057         * check/Makefile.am:
22058         * check/generic/states.c: (GST_START_TEST):
22059         * check/gst/gstbin.c: (GST_START_TEST):
22060         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22061         * check/states/sinks.c: (GST_START_TEST):
22062         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
22063         (main):
22064         Check fixes, use API as stated in design docs, remove hacks.
22065
22066         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22067         (gst_base_sink_change_state):
22068         Catch stopping our task while we're shutting down.
22069
22070         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
22071         (gst_bin_remove_func), (gst_bin_get_state_func),
22072         (gst_bin_recalc_state), (gst_bin_change_state_func),
22073         (bin_bus_handler):
22074         * gst/gstbin.h:
22075         * gst/gstelement.c: (gst_element_init),
22076         (gst_element_get_state_func), (gst_element_abort_state),
22077         (gst_element_commit_state), (gst_element_lost_state),
22078         (gst_element_set_state), (gst_element_change_state),
22079         (gst_element_change_state_func):
22080         * gst/gstelement.h:
22081         New state change algorithm (see #318116)
22082
22083         * gst/gstpipeline.c: (gst_pipeline_class_init),
22084         (gst_pipeline_init), (gst_pipeline_set_property),
22085         (gst_pipeline_get_property), (do_pipeline_seek),
22086         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
22087         * gst/gstpipeline.h:
22088         Remove crude state change hacks.
22089
22090         * gst/gstutils.h:
22091         Remove crude hacks.
22092
22093         * tools/gst-launch.c: (main):
22094         Fixes for state change. Needs some more work to fully use the
22095         new stuff.
22096
22097 2005-10-10  Andy Wingo  <wingo@pobox.com>
22098
22099         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
22100
22101         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
22102         this flag, but it's not even in GLib 2.6. Odd. Hack around the
22103         issue.
22104
22105 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22106
22107         * gst/gstiterator.c: (gst_iterator_new):
22108           Fix my previous commit: GTypes passed to gst_iterator_new()
22109           can be fundamental types.
22110
22111 2005-10-10  Wim Taymans  <wim@fluendo.com>
22112
22113         * gst/gstelement.c: (gst_element_iterate_pad_list),
22114         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
22115         (gst_element_iterate_sink_pads):
22116         Use src/sink pads lists for the respective iterators instead
22117         of filtering.
22118
22119 2005-10-10  Andy Wingo  <wingo@pobox.com>
22120
22121         Merged in popt removal + GOption addition patch from Ronald, bug
22122         #169772.
22123
22124         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
22125         GstElement macros around, remove popt-related symbols, add goption
22126         stuff.
22127
22128         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
22129         
22130         * docs/gst/Makefile.am:
22131         * docs/libs/Makefile.am: No POPT_CFLAGS.
22132         
22133         * examples/manual/Makefile.am:
22134         * docs/manual/basics-init.xml: Doc updates with an example.
22135         
22136         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
22137         (gst_init), (parse_one_option), (parse_goption_arg):
22138         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
22139         bit of hand merging and debugging to get the GOption stuff working
22140         tho.
22141         
22142         * tests/Makefile.am:
22143         * tools/Makefile.am:
22144         * tools/gst-inspect.c: (main):
22145         * tools/gst-launch.c: (main):
22146         * tools/gst-run.c: (main):
22147         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
22148
22149 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22150
22151         * gst/gstiterator.c: (gst_iterator_new):
22152           Add assertions to make sure passed GType is likely to really
22153           be a GType (as the compiler won't catch it if the size and
22154           GType arguments get mixed up, see #318447).
22155
22156 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
22157
22158         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22159
22160         * gst/gstbin.c: (gst_bin_iterate_sorted):
22161           Pass GType and size arguments to gst_iterator_new() in the right
22162           order (maybe we should make _new() take the GType as first argument
22163           just like _new_list()?) (#318447).
22164           
22165
22166 2005-10-10  Wim Taymans  <wim@fluendo.com>
22167
22168         * gst/gstelement.c: (gst_element_finalize):
22169         And free the GStaticRecMutex too
22170
22171 2005-10-10  Andy Wingo  <wingo@pobox.com>
22172
22173         * gst/gstelement.c (gst_element_init, gst_element_finalize):
22174         Allocate and free the mutex properly.
22175
22176         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
22177         New macros.
22178         (GstElement): The state_lock is now recursive. Rebuild your
22179         plugins, suckers. Old macros adapted.
22180
22181         * docs/gst/gstreamer-sections.txt: Doc updates.
22182
22183         * gst/gstutils.h:
22184         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
22185         (g_static_rec_cond_wait): Ported from state changes patch, while
22186         we wait on bug #317802 to be solved in a well-distributed GLib.
22187
22188         * gst/gstelement.c (gst_element_change_state_func): Renamed from
22189         gst_element_change_state, variable name changes.
22190         (gst_element_change_state): Split out of gst_element_set_state in
22191         preparation for the state change merge. Doesn't pay attention to
22192         the 'transition' argument.
22193         (gst_element_set_state): Updates, hopefully purely cosmetic.
22194         (gst_element_sync_state_with_parent): MT-safety. Ported from the
22195         state change patch.
22196         (gst_element_get_state_func): Renamed from get_state, cosmetic
22197         changes.
22198
22199 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22200
22201         * gst/elements/gstelements.c:
22202         * win32/GStreamer.vcproj:
22203         * win32/config.h:
22204         * win32/dirent.c: (_tseekdir):
22205         * win32/gst-inspect.vcproj:
22206         * win32/gst-launch.vcproj:
22207         * win32/gstconfig.h:
22208         * win32/gstelements.vcproj:
22209         * win32/gstenumtypes.c: (gst_object_flags_get_type):
22210         * win32/gstreamer.def:
22211         * win32/msvc71.sln:
22212           updates for the win32 build (patch from Sebastien Moutte)
22213
22214 2005-10-10  Andy Wingo  <wingo@pobox.com>
22215
22216         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
22217         gst_bin_get_state, cleaned up (but no logic changes).
22218         (bin_element_is_sink): Comment updates.
22219         (sink_iterator_filter): Remove needless cast.
22220         (gst_bin_iterate_sinks): Doc update.
22221         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
22222         cleaned up (but no logic changes).
22223
22224         * check/states/sinks.c (test_src_sink): Cleanups from the state
22225         change patch.
22226         (test_livesrc_sink): Sync on the state.
22227
22228         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
22229         the state change patch.
22230
22231         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
22232         change patch.
22233
22234         * check/gst/gstbin.c: Merge in some style fixes and additional
22235         checks from Wim's state change patch.
22236
22237 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
22238
22239         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22240         (gst_type_find_helper):
22241           Check whether we have the requested data already in our list of
22242           cached buffers before pulling a new buffer; also make the buffer
22243           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
22244
22245 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
22246
22247         * gst/gstcaps.c:
22248         * gst/gstevent.c:
22249           doc updates
22250         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
22251           don't use long long, it's not portable.  Replacing with
22252           gint64 seems to work; let's hope no skeletons fall out of the closet.
22253
22254 2005-10-10  Andy Wingo  <wingo@pobox.com>
22255
22256         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
22257
22258 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
22259
22260         * docs/gst/gstreamer-sections.txt:
22261         * gst/gstevent.c:
22262         * gst/gstevent.h:
22263         * gst/gstinfo.c:
22264         * gst/gstinfo.h:
22265         * gst/gstmessage.c: (gst_message_parse_state_changed):
22266         * gst/gstpad.c:
22267         * gst/gstpad.h:
22268           more docs, fix compilation
22269
22270 2005-10-09  Philippe Khalaf <burger@speedy.org>
22271         * gst/gstmessage.c:
22272           Fixed a few forgotten variables on previous commit
22273
22274 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
22275
22276         * gst/base/gsttypefindhelper.c: (helper_find_peek):
22277           Fix evil typefind crasher: getrange() might return a short
22278           buffer at the end of a file, but gst_type_find_peek() must
22279           either return the full data as requested or NULL, but
22280           never a short buffer.
22281
22282 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22283
22284         * gst/gstmessage.c: (gst_message_new_state_changed),
22285         (gst_message_parse_state_changed):
22286         * gst/gstmessage.h:
22287           don't use "new", it's a C++ keyword
22288
22289 2005-10-08  Wim Taymans  <wim@fluendo.com>
22290
22291         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
22292         * gst/gstelement.c: (gst_element_post_message):
22293         * gst/gstpipeline.c: (gst_pipeline_change_state):
22294         Small docs and debug updates.
22295
22296 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22297
22298         * docs/gst/gstreamer-sections.txt:
22299         * gst/gstelementfactory.c:
22300         * gst/gstevent.c:
22301         * gst/gsttaglist.c:
22302           more docs
22303
22304 2005-10-08  Wim Taymans  <wim@fluendo.com>
22305
22306         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
22307         (gst_bin_dispose), (bin_bus_handler):
22308         Fix typos, add comments.
22309         Clear EOS list when going to PAUSED from any direction and do it
22310         in a threadsafe way.
22311         Get base time in a threadsafe way too.
22312         Fix confusing debug in the change_state function.
22313         Various other small cleanups.
22314         
22315         * gst/gstelement.c: (gst_element_post_message):
22316         Fix very verbose bus posting code.
22317
22318         * gst/gstpipeline.c: (gst_pipeline_class_init),
22319         (gst_pipeline_set_property), (gst_pipeline_get_property),
22320         (gst_pipeline_change_state):
22321         Small ARG_ -> PROP_ cleanup
22322
22323 2005-10-08  Wim Taymans  <wim@fluendo.com>
22324
22325         * gst/gstbin.c: (is_eos), (bin_bus_handler):
22326         Do a less CPU demanding EOS check because we can.
22327
22328 2005-10-08  Wim Taymans  <wim@fluendo.com>
22329
22330         * libs/gst/dataprotocol/dataprotocol.c:
22331         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
22332         (gst_dp_packet_from_event):
22333         * libs/gst/dataprotocol/dataprotocol.h:
22334         * libs/gst/dataprotocol/dp-private.h:
22335         It's about time we bump the version number.
22336         Since event types don't fit in the guint8 anymore describing
22337         the payload type, make payload type 16 bits wide.
22338
22339 2005-10-08  Wim Taymans  <wim@fluendo.com>
22340
22341         * docs/design/part-TODO.txt:
22342         * docs/design/part-clocks.txt:
22343         * docs/design/part-events.txt:
22344         * docs/design/part-gstbin.txt:
22345         * docs/design/part-gstelement.txt:
22346         * docs/design/part-gstpipeline.txt:
22347         * docs/design/part-live-source.txt:
22348         * docs/design/part-messages.txt:
22349         * docs/design/part-overview.txt:
22350         * docs/design/part-states.txt:
22351         Many doc updates.
22352
22353 2005-10-08  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/gstevent.c:
22356         * gst/gstevent.h:
22357         Fix event quark registration.
22358         Add some space between events so we can insert them in the
22359         right groups.
22360
22361 2005-10-08  Wim Taymans  <wim@fluendo.com>
22362
22363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22364         (gst_base_sink_handle_buffer):
22365         Better log message.
22366
22367         * gst/gstbus.h:
22368         * gst/gstelement.h:
22369         More docs.
22370
22371         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
22372         (gst_queue_set_property), (gst_queue_get_property):
22373         * gst/gstqueue.h:
22374         Remove old unused properties.
22375
22376 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
22377         * docs/gst/gstreamer-sections.txt:
22378         * gst/gstmessage.c:
22379         * gst/gstmessage.h:
22380         * gst/gstminiobject.c:
22381         * gst/gstminiobject.h:
22382         * gst/gstobject.h:
22383         * gst/gstpad.h:
22384         * gst/gstutils.h:
22385           lots of new docs and doc fixes
22386
22387 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22388
22389         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
22390         * gst/gstplugin.h:
22391         * gst/gstregistry.c: (gst_registry_lookup_locked),
22392         (gst_registry_scan_path_level):
22393         * gst/gstregistryxml.c: (load_plugin):
22394           Only ever load one plugin for a given plugin basename.
22395           This ensures correct overriding of GST_PLUGIN_PATH over
22396           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
22397           system installed plugins.
22398
22399 2005-10-08  Wim Taymans  <wim@fluendo.com>
22400
22401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22402         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
22403         Prepare for doing QOS.
22404
22405 2005-10-08  Wim Taymans  <wim@fluendo.com>
22406
22407         * check/gst/gstbin.c: (GST_START_TEST):
22408         * check/pipelines/cleanup.c: (GST_START_TEST):
22409         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22410         Allow new clock message too.
22411
22412 2005-10-08  Wim Taymans  <wim@fluendo.com>
22413
22414         * gst/gstmessage.c: (gst_message_new_error),
22415         (gst_message_new_warning), (gst_message_new_tag),
22416         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22417         (gst_message_new_clock_lost), (gst_message_new_new_clock),
22418         (gst_message_new_segment_start), (gst_message_new_segment_done),
22419         (gst_message_parse_state_changed),
22420         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
22421         (gst_message_parse_new_clock):
22422         * gst/gstmessage.h:
22423         Also carry the clock in question.
22424
22425 2005-10-08  Wim Taymans  <wim@fluendo.com>
22426
22427         * gst/gstmessage.c: (gst_message_new_custom),
22428         (gst_message_new_eos), (gst_message_new_error),
22429         (gst_message_new_warning), (gst_message_new_tag),
22430         (gst_message_new_state_changed), (gst_message_new_clock_provide),
22431         (gst_message_new_new_clock), (gst_message_new_segment_start),
22432         (gst_message_new_segment_done), (gst_message_parse_state_changed),
22433         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
22434         * gst/gstmessage.h:
22435         Clean up.
22436         Added clock related messages.
22437
22438         * gst/gstpipeline.c: (gst_pipeline_change_state):
22439         Post message when the clock changed.
22440
22441         * tools/gst-launch.c: (event_loop):
22442         Print new clock.
22443
22444 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
22445
22446         * tools/gst-inspect.c: (print_element_properties_info):
22447           Can't pass NULL strings to g_print() on windows.
22448
22449 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22450
22451         * docs/Makefile.am:
22452         * docs/gst/Makefile.am:
22453         * docs/gst/gstreamer-docs.sgml:
22454         * docs/gst/running.xml:
22455         * docs/version.entities.in:
22456           add a chapter on running GStreamer.
22457           document GST_DEBUG and GST_PLUGIN* env vars
22458
22459 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22460
22461         * Makefile.am:
22462           remove include dir
22463         * configure.ac:
22464           remove PLUGINS_BUILDDIR stuff
22465         * gst/gst.c: (init_post):
22466           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
22467         * idiottest.mak:
22468           remove, it was condescending and not needed
22469
22470 2005-10-08  Wim Taymans  <wim@fluendo.com>
22471
22472         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
22473         (gst_base_sink_handle_object), (gst_base_sink_event),
22474         (gst_base_sink_wait), (gst_base_sink_handle_event),
22475         (gst_base_sink_change_state):
22476         * gst/base/gstbasesink.h:
22477         Repost EOS message while going to PLAYING if still EOS.
22478         Make sure that when receiving a FLUSH_START we don't attempt
22479         to sync on the clock anymore.
22480
22481 2005-10-08  Wim Taymans  <wim@fluendo.com>
22482
22483         * tools/gst-launch.c: (event_loop):
22484         Better message printout.
22485
22486 2005-10-08  Wim Taymans  <wim@fluendo.com>
22487
22488         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
22489         (gst_bin_child_proxy_get_children_count):
22490         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22491         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
22492         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
22493         (gst_child_proxy_set_valist):
22494         * gst/parse/grammar.y:
22495         Make ChildProxy threadsafe and fix mem leaks.
22496
22497 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22498
22499         * gst/gst.c: (init_post):
22500           debug the GST_PLUGIN_ env vars
22501
22502 2005-10-08  Wim Taymans  <wim@fluendo.com>
22503
22504         * check/gst/gstbin.c: (GST_START_TEST):
22505         * check/gst/gstmessage.c: (GST_START_TEST):
22506         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
22507         * gst/gstelement.c: (gst_element_commit_state),
22508         (gst_element_lost_state):
22509         * gst/gstmessage.c: (gst_message_new_state_changed),
22510         (gst_message_parse_state_changed):
22511         * gst/gstmessage.h:
22512         * tools/gst-launch.c: (event_loop):
22513         Added extra field to STATE_CHANGE message with the pending
22514         state, which will be different from the new state soon.
22515
22516 2005-10-08  Wim Taymans  <wim@fluendo.com>
22517
22518         * gst/gstbus.c: (gst_bus_pop):
22519         * gst/gstclock.c:
22520         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
22521         Small cleanups and doc updates.
22522
22523 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
22524
22525         * gst/gst.c: (init_pre):
22526         * gst/gstbin.c: (gst_bin_add_func):
22527           log distributing clocks and base time
22528         * gst/gstregistry.c: (gst_registry_add_plugin),
22529         (gst_registry_scan_path_level), (gst_registry_scan_path):
22530           clean up the debugging output a little
22531         * gst/gstutils.c: (gst_element_state_get_name):
22532           warn about a memleak (I've actually seen this be used, though
22533           it was probably a bug)
22534
22535 2005-10-07  Wim Taymans  <wim@fluendo.com>
22536
22537         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22538         (gst_base_src_init), (gst_base_src_default_newsegment),
22539         (gst_base_src_newsegment), (gst_base_src_do_seek),
22540         (gst_base_src_loop), (gst_base_src_start):
22541         * gst/base/gstbasesrc.h:
22542         Make the newsegment event customizable by subclasses.
22543
22544 2005-10-07  Wim Taymans  <wim@fluendo.com>
22545
22546         * gst/gstevent.c: (gst_event_new_buffersize),
22547         (gst_event_parse_buffersize):
22548         * gst/gstevent.h:
22549         New event for future idea.
22550
22551 2005-10-07  Andy Wingo  <wingo@pobox.com>
22552
22553         * gst/gstelement.c (gst_element_post_message): Doc update.
22554
22555         * docs/gst/gstreamer-sections.txt: Update.
22556
22557         * gst/gstmessage.c (gst_message_new_application): Made into a
22558         function like honest API calls.
22559         (gst_message_new_element): New message type.
22560
22561         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
22562
22563         * check/elements/fakesrc.c (test_no_preroll): New check, checks
22564         that setting a live fakesrc to PAUSED returns NO_PREROLL both
22565         times.
22566
22567         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
22568         NO_PREROLL from gst_element_change_state to fall through.
22569
22570 2005-10-07  Wim Taymans  <wim@fluendo.com>
22571
22572         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
22573         (gst_ghost_pad_do_activate_push):
22574         Activating a ghostpad with no internal pad in push mode
22575         is ok.
22576
22577 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
22578
22579         * gst/gstobject.h:
22580           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
22581           Fixes compilation on Windows.
22582
22583 2005-10-07  Michael Smith <msmith@fluendo.com>
22584
22585         * tools/gst-inspect.c:
22586           Print out feature and plugin count at the end when printing out
22587           all features.
22588
22589 2005-10-04  Michael Smith <msmith@fluendo.com>
22590
22591         * gst/gsterror.c: (_gst_stream_errors_init):
22592           Add another error string used in a few existing plugins.
22593
22594         * gst/gstplugin.c:
22595         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
22596         * tools/gst-inspect.c: (print_element_info):
22597           When a feature disappears from a plugin (and the feature exists in
22598           the cached registry file), things went horribly wrong. This isn't a
22599           complete fix, we should actually be removing the 'missing' features
22600           from the features list when we load the actual plugin. That's not
22601           yet implemented. 
22602
22603 2005-10-04  Johan Dahlin  <johan@gnome.org>
22604
22605         * check/gst/gstiterator.c: (GST_START_TEST):
22606         * gst/gstbin.c: (gst_bin_iterate_elements),
22607         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
22608         * gst/gstelement.c: (gst_element_iterate_pads):
22609         * gst/gstformat.c: (gst_format_iterate_definitions):
22610         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
22611         (gst_iterator_new_list), (gst_iterator_filter):
22612         * gst/gstiterator.h:
22613         * gst/gstquery.c: (gst_query_type_iterate_definitions):
22614         Add a GType to GstIterator, update callsites and tests.
22615
22616 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22617
22618         * gst/gstpad.c: (gst_pad_event_default_dispatch):
22619           give events a chance to be handled by event probes when the pad
22620           is not linked
22621
22622 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22623
22624         * gst/gstevent.c: (gst_event_type_get_name),
22625         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
22626         * gst/gstevent.h:
22627           add string representations for event types
22628
22629 2005-10-06  Wim Taymans  <wim@fluendo.com>
22630
22631         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
22632         Don't use NULL pointers.
22633
22634 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22635
22636         * gst/gst_private.h:
22637         * gst/gstbus.c:
22638         * gst/gstelement.c:
22639         * gst/gstinfo.c:
22640         * gst/gstpluginfeature.c:
22641           widen the debug category in output to fit the biggest one we have
22642           add a bus category and use it
22643           play with the colors
22644           fix up some categories
22645
22646 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22647
22648         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
22649           add push activation of sink ghost pads.
22650           Andye, please verify
22651
22652 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22653
22654         * gst/gstutils.c: (gst_element_link_pads):
22655           fix a bug in the case where neither element has a pad
22656         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22657           add a test for that case
22658
22659 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22660
22661         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
22662           emit have-data before checking for peers.  This allows
22663           for probe handlers to connect elements.  This helps autopluggers.
22664         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
22665         (gst_pad_suite):
22666           add six checks, linked/unlinked with no/true/false probe
22667
22668 2005-10-04  Wim Taymans  <wim@fluendo.com>
22669
22670         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
22671         (gst_fake_sink_event), (gst_fake_sink_preroll),
22672         (gst_fake_sink_render), (gst_fake_sink_change_state):
22673         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
22674         (gst_fake_src_get_property), (gst_fake_src_create),
22675         (gst_fake_src_stop):
22676         * gst/elements/gstidentity.c: (gst_identity_stop):
22677         Protect last_message with lock.
22678
22679 2005-10-04  Edward Hervey  <edward@fluendo.com>
22680
22681         * gst/gstformat.h: 
22682         Added precision in the comments for GST_FORMAT_DEFAULT
22683
22684 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
22685
22686         * tools/gst-launch.c: (main):
22687           Don't try to run erroneous pipelines.
22688
22689 2005-10-04  Julien MOUTTE  <julien@moutte.net>
22690
22691         * gst/gstbus.c: We don't need this header.
22692
22693 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22694
22695         * configure.ac:
22696           back to development
22697
22698 === release 0.9.3 ===
22699
22700 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22701
22702         * README:
22703         * configure.ac:
22704           Releasing 0.9.3, "Unregistered"
22705
22706 2005-10-03  Andy Wingo  <wingo@pobox.com>
22707
22708         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
22709         whereby calling a pad's activatepush() function can start a thread
22710         that starts to push or pull before the pad gets the FLUSHING flag
22711         unset. Hack around it by holding the stream lock until the flag is
22712         set. Need to replace this with a proper solution. Together with
22713         the ghost pad fixes, this fixes mp3 playing/tagreading.
22714
22715         * docs/design/part-gstghostpad.txt: Add a note about activation of
22716         proxy pads outside of ghost pads.
22717
22718         * gst/gstghostpad.c: Implement the ghost pad activation design.
22719
22720 2005-10-02  Andy Wingo  <wingo@pobox.com>
22721
22722         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
22723         It is volatile, after all.
22724
22725         * docs/design/part-gstghostpad.txt: Flesh out activation with
22726         ghost pads.
22727
22728         * gst/base/gstbasesrc.c (gst_base_src_init): Use
22729         GST_DEBUG_FUNCPTR.
22730
22731 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
22732
22733         * configure.ac:
22734           Fix (unused) AM_CONDITIONAL tests.
22735
22736 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
22737
22738         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22739
22740         * gst/gstutils.c: (gst_pad_query_convert):
22741           Add assertion that makes sure src_val is >=0, just like
22742           gst_query_new_convert() has. (#315895)
22743
22744 2005-09-30  Edward Hervey  <edward@fluendo.com>
22745
22746         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
22747         Let's not iterate pads we're not interested in, it avoids getting 
22748         sky-high refcounts on sinkpad.
22749
22750 2005-09-30  Wim Taymans  <wim@fluendo.com>
22751
22752         * gst/gstelement.c: (gst_element_set_state),
22753         (gst_element_change_state):
22754         Small tweak, element in ASYNC remains ASYNC.
22755
22756 2005-09-30  Wim Taymans  <wim@fluendo.com>
22757
22758         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
22759         Only error is an error.
22760
22761         * gst/gstbin.c: (gst_bin_change_state):
22762         Better debugging.
22763
22764         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
22765         Also call pad_block in pad alloc.
22766
22767         * gst/gstutils.c: (gst_flow_get_name):
22768         Better debugging.
22769
22770 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22771
22772         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22773         (gst_base_src_get_range):
22774           Fix documentation typos. Add some more debug info.
22775
22776 2005-09-29  David Schleef  <ds@schleef.org>
22777
22778         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
22779           more end-user friendly.
22780         * tools/gst-inspect.c: (main): Check if command-line argument is
22781           a file and attempt to load that file as a plugin.
22782
22783 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22784
22785         * check/gst/gstbin.c:
22786         * check/states/sinks.c:
22787           fix tests for the new warning
22788         * check/gst/gstpipeline.c:
22789           add a test for pipeline and bus interaction
22790         * gst/gstelement.c:
22791           elements should be NULL if they get disposed; add a warning if not
22792
22793 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22794
22795         * gst/gstobject.c:
22796           for 2.6 refcounting, make debug log more correct by printing
22797           the actual refcounts at the time of swap (Wim)
22798
22799 2005-09-29  Andy Wingo  <wingo@pobox.com>
22800
22801         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22802         removes signal watches previously added via
22803         gst_bus_add_signal_watch.
22804         (gst_bus_add_signal_watch): Don't return the source id, just store
22805         it on the bus if there wasn't an id already.
22806
22807         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22808         add_signal_watch and remove_signal_watch.
22809
22810 2005-09-29  Edward Hervey  <edward@fluendo.com>
22811
22812         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
22813         Better if we actually iterate the list :)
22814
22815 2005-09-29  Wim Taymans  <wim@fluendo.com>
22816
22817         * check/gst/gstbin.c: (GST_START_TEST):
22818         Change for new bus API.
22819
22820         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22821         (send_messages), (GST_START_TEST), (gstbus_suite):
22822         Change for new bus signal API.
22823
22824         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22825         (gst_bus_source_prepare), (gst_bus_source_check),
22826         (gst_bus_create_watch), (gst_bus_add_watch_full),
22827         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22828         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22829         * gst/gstbus.h:
22830         Remove support for multiple GSources operating on different
22831         message types as it is too complex and unneeded when using
22832         signals.
22833         Added support for receiving signals from the bus.
22834
22835 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
22836
22837         * docs/libs/tmpl/gstdataprotocol.sgml:
22838         * docs/manual/advanced-dataaccess.xml:
22839         * gst/elements/gstcapsfilter.c:
22840         * gst/gstutils.c:
22841           rename filter-caps to caps property
22842
22843 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22844
22845         * gst/gstvalue.c: (gst_value_deserialize_fraction):
22846           More robust fraction string parsing.
22847
22848         * docs/pwg/appendix-porting.xml:
22849           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22850
22851 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
22852
22853         * gst/gstcaps.c: (gst_caps_do_simplify):
22854           Thou shalt not free a structure and then continue using it
22855           in the next loop iteration.
22856
22857         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22858         (gst_caps_suite):
22859           Add test case for caps simplification.
22860
22861 2005-09-29  Wim Taymans  <wim@fluendo.com>
22862
22863         * check/gst/gstbin.c: (GST_START_TEST):
22864         Oops.
22865
22866 2005-09-29  Wim Taymans  <wim@fluendo.com>
22867
22868         * check/gst/gstbin.c: (GST_START_TEST):
22869         Add bus to bin.
22870
22871         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22872         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22873         (find_element), (gst_bin_sort_iterator_next),
22874         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22875         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22876         (gst_bin_change_state), (gst_bin_dispose):
22877         A bin does not have a bus, it gets the bus from the parent.
22878
22879         * gst/gstelement.c: (gst_element_requires_clock),
22880         (gst_element_provides_clock), (gst_element_is_indexable),
22881         (gst_element_is_locked_state), (gst_element_change_state),
22882         (gst_element_set_bus_func):
22883         Small cleanups.
22884
22885         * gst/gstpipeline.c: (gst_pipeline_class_init),
22886         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22887         The pipeline provides a bus.
22888
22889 2005-09-28  Johan Dahlin  <johan@gnome.org>
22890
22891         * gst/gstmessage.c (gst_message_parse_state_changed): Use
22892         gst_structure_get_enum instead of gst_structure_get_int
22893
22894         * gst/gststructure.c (gst_structure_get_enum): Impl.
22895
22896         * gst/gststructure.h (gst_structure_get_enum): Add
22897
22898         * docs/gst/gstreamer-sections.txt: Ditto
22899
22900         * gst/gstmessage.c (gst_message_new_state_changed): Use
22901         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22902         which does introspection.
22903         Reviewed by Christian Schaller
22904
22905 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22906
22907         * gst/gstinfo.c: (gst_debug_log_default):
22908           don't do dummy g_strdup()s
22909         * libs/gst/controller/gstcontroller.c:
22910         (on_object_controlled_property_changed),
22911         (gst_controlled_property_new), (gst_controller_new_valist),
22912         (gst_controller_new_list),
22913         (gst_controller_remove_properties_valist), (gst_controller_set),
22914         (gst_controller_get), (gst_controller_sync_values),
22915         (gst_controller_get_value_array), (_gst_controller_class_init),
22916         (gst_controller_get_type):
22917         * libs/gst/controller/gstcontroller.h:
22918         * libs/gst/controller/gstinterpolation.c:
22919         (gst_controlled_property_find_timed_value_node):
22920           convert // to /**/ comments
22921
22922 2005-09-28  Wim Taymans  <wim@fluendo.com>
22923
22924         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22925         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22926         (gst_bus_sync_signal_handler):
22927         * gst/gstbus.h:
22928         Added async-message and sync-message signals to the bus.
22929         Added helper BusFunc to emit signals for all posted messages.
22930
22931         * gst/gstmessage.c: (gst_message_type_get_name),
22932         (gst_message_type_to_quark), (gst_message_get_type):
22933         * gst/gstmessage.h:
22934         Register quarks for message names.
22935
22936 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
22937
22938         * docs/libs/gstreamer-libs-sections.txt:
22939         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22940         (gst_controller_new_list):
22941         * libs/gst/controller/gstcontroller.h:
22942           added another constructor for language bindings
22943
22944 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
22945
22946         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22947           add another check
22948         * gst/gstbus.c:
22949           add some doc
22950         * gst/gstinfo.c: (_gst_debug_init):
22951           slightly more readable color for refcount debugging
22952
22953 2005-09-28  Wim Taymans  <wim@fluendo.com>
22954
22955         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22956         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22957         (find_element), (gst_bin_sort_iterator_next),
22958         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22959         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22960         (gst_bin_change_state), (gst_bin_dispose):
22961         Small doc fixes. get_clock -> provide_clock.
22962
22963         * gst/gstelement.c: (gst_element_class_init),
22964         (gst_element_provides_clock), (gst_element_provide_clock),
22965         (gst_element_get_clock), (gst_element_commit_state),
22966         (gst_element_lost_state):
22967         * gst/gstelement.h:
22968         Make get/set_clock() symetric. Add provide_clock vmethod since
22969         that is actually what this function does.
22970
22971         * gst/gstpipeline.c: (gst_pipeline_class_init),
22972         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22973         (gst_pipeline_get_clock):
22974         get_clock -> provide_clock.
22975
22976 2005-09-28  Andy Wingo  <wingo@pobox.com>
22977
22978         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22979         lieu of real docs...
22980
22981         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22982
22983 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22984
22985         * gst/elements/gstcapsfilter.c:
22986         * gst/elements/gstfakesink.c:
22987         * gst/elements/gstfakesrc.c:
22988         * gst/elements/gstfdsink.c:
22989         * gst/elements/gstfdsrc.c:
22990         * gst/elements/gstfilesink.c:
22991         * gst/elements/gstfilesrc.c:
22992         * gst/elements/gstidentity.c:
22993         * gst/elements/gsttee.c:
22994         * gst/elements/gsttypefindelement.c:
22995           Make element details static.
22996
22997 2005-09-28  Wim Taymans  <wim@fluendo.com>
22998
22999         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23000         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23001         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23002         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23003         (gst_bin_change_state), (gst_bin_dispose):
23004         Some documentation updates.
23005         Clean up dispose handlers.
23006
23007         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
23008         * gst/gstpad.c: (gst_pad_dispose):
23009         Clean up dispose handler.
23010
23011         * gst/gstpipeline.c: (gst_pipeline_change_state):
23012         Removed spurious UNLOCK.
23013
23014 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
23015
23016         * docs/gst/gstreamer-sections.txt:
23017         * gst/base/gstbasesrc.h:
23018         * gst/gstelement.h:
23019         * gst/gstevent.h:
23020         * gst/gstobject.h:
23021         * gst/gstpad.h:
23022         * gst/gstpipeline.c:
23023         * gst/gstpipeline.h:
23024         * gst/gstutils.h:
23025         * gst/gstxml.h:
23026           added two new functions to the docs
23027                 documents all undocumented GstXXXFlags
23028                 completed some incomplete docs 
23029
23030 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
23031
23032         * gst/gstbin.c: (gst_bin_dispose):
23033         * gst/gstelement.c: (gst_element_dispose):
23034           remove now useless and leaky resurrection code in dispose
23035         * gst/base/gstbasesrc.c: (gst_base_src_init):
23036         * gst/gstelementfactory.c: (gst_element_factory_create):
23037         * gst/gstobject.c: (gst_object_set_parent):
23038           add some debugging
23039
23040 2005-09-27  Wim Taymans  <wim@fluendo.com>
23041
23042         * docs/design/part-TODO.txt:
23043         Update TODO.
23044
23045         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23046         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23047         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23048         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23049         (gst_bin_change_state):
23050         * gst/gstelement.h:
23051         Remove element variable, we keep element info in the iterator now.
23052
23053 2005-09-27  Andy Wingo  <wingo@pobox.com>
23054
23055         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
23056         values.
23057
23058 2005-09-27  Wim Taymans  <wim@fluendo.com>
23059
23060         * check/gst/gstbin.c: (GST_START_TEST):
23061         Enable check that works now.
23062
23063         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
23064         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
23065         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
23066         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
23067         (gst_bin_change_state):
23068         * gst/gstbin.h:
23069         Redid the state change algorithm using a topological sort algo.
23070         Handles all cases correctly.
23071         Exposed iterator for state change order.
23072
23073         * gst/gstelement.h:
23074         Temp storage for state changes. Need to get rid of this soon.
23075
23076 2005-09-27  Wim Taymans  <wim@fluendo.com>
23077
23078         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
23079         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
23080         (link_fold_func), (gst_pad_proxy_setcaps):
23081         Leak fixes, the fold functions need to unref the passed object and
23082         _get_parent_*() returns ref to parent.
23083
23084 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
23085
23086         * check/gst/gstbuffer.c: (test_make_writable):
23087           Plug leak in test case and fix 'make check-valgrind'
23088
23089 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
23090
23091         * gst/gstbuffer.c: (gst_subbuffer_init):
23092           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
23093           works correctly in all circumstances (we could have just copied
23094           the parent buffer's readonly flag, but conceptually it seems
23095           cleaner to mark all subbuffers as read-only). (based on patch
23096           by Alessandro Decina, #314710).
23097         
23098         * check/gst/gstbuffer.c: (create_read_only_buffer),
23099         (test_make_writable), (test_subbuffer_make_writable),
23100         (gst_test_suite):
23101           Add some tests for gst_buffer_make_writable().
23102
23103 2005-09-27  Wim Taymans  <wim@fluendo.com>
23104
23105         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
23106         use gst_object_has_ancestor().
23107
23108         * gst/gstobject.c: (gst_object_has_ancestor):
23109         * gst/gstobject.h:
23110         gst_object_has_ancestor() copied from gstbin.c as it is a
23111         useful function.
23112
23113         * tests/instantiate/create.c: (create_all_elements):
23114         * tests/lat.c: (handoff_src), (handoff_sink):
23115         * tests/sched/runxml.c: (main):
23116         * tests/seeking/seeking1.c: (main):
23117         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23118         (main):
23119         Fix compilation of some tests.
23120
23121 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
23122
23123         * gst/gsterror.h:
23124           Remove comment. GST_TYPE_G_ERROR is here to stay,
23125           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
23126           (#316961, #300610).
23127
23128 2005-09-26  Wim Taymans  <wim@fluendo.com>
23129
23130         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23131         Added check that shows error in state change order.
23132
23133 2005-09-26  Wim Taymans  <wim@fluendo.com>
23134
23135         * gst/gstbin.c: (gst_bin_change_state):
23136         Make state change function use 3 queues again, we were
23137         adding elements in the wrong order.
23138
23139         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
23140         Some debug info,
23141
23142         * gst/gstpad.c: (gst_pad_dispose):
23143         Added some debug info first.
23144
23145 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
23146
23147         * docs/design/draft-push-pull.txt:
23148         * docs/design/part-events.txt:
23149         * docs/design/part-overview.txt:
23150         * docs/design/part-scheduling.txt:
23151           Replace all _pull_region() with _pull_range()
23152           
23153 2005-09-26  Andy Wingo  <wingo@pobox.com>
23154
23155         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
23156
23157         * check/gst-libs/controller.c: Update for controller api change.
23158
23159         * configure.ac: 
23160         * tests/Makefile.am:
23161         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
23162         over by GLib bug 118439.
23163         
23164         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
23165         routines to a function.
23166
23167         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
23168
23169         * libs/gst/controller/gsthelper.c:
23170         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
23171         (gst_object_sync_values): Renamed from sink_values. Ugh.
23172
23173         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
23174
23175         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
23176         Renamed from controller_key, as it is exported.
23177
23178         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
23179
23180 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23181
23182         * gst/Makefile.am:
23183         * gst/gst.h:
23184         * gst/gstpad.h:
23185         * gst/gstpadtemplate.h:
23186         * gst/gstquery.c:
23187         * gst/gstquery.h:
23188         * gst/gstqueryutils.c:
23189         * gst/gstqueryutils.h:
23190           remove queryutils headers after moving the two used functions
23191           to gstquery.  also fixes build problem for gstsiddec
23192
23193 2005-09-26  Michael Smith <msmith@fluendo.com>
23194
23195         * tools/gst-launch.1.in:
23196         Correct documentation in manpage of debug syntax
23197
23198 2005-09-26  Wim Taymans  <wim@fluendo.com>
23199
23200         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23201         (gst_base_src_is_seekable), (gst_base_src_change_state):
23202         Some more debugging info.
23203
23204 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23205
23206         * docs/gst/gstreamer-sections.txt:
23207         * gst/base/gstbasetransform.h:
23208         * gst/gstindex.h:
23209           added more docs
23210
23211 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23212
23213         * docs/gst/.cvsignore:
23214         * docs/gst/tmpl/.cvsignore:
23215         * docs/gst/tmpl/gstpipeline.sgml:
23216         * docs/gst/tmpl/gstplugin.sgml:
23217         * gst/gstpipeline.c:
23218         * gst/gstplugin.c:
23219         * gst/gstplugin.h:
23220           inlined the last two docs files
23221           removed the tmpl directory from cvs (no more conflicts here!)
23222
23223 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
23224
23225         * docs/gst/gstreamer-sections.txt:
23226         * docs/gst/tmpl/.cvsignore:
23227         * docs/gst/tmpl/gstpad.sgml:
23228         * docs/gst/tmpl/gstpadtemplate.sgml:
23229         * gst/Makefile.am:
23230         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
23231         (gst_pad_finalize), (gst_pad_set_pad_template):
23232         * gst/gstpad.h:
23233         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
23234         (gst_pad_template_class_init), (gst_pad_template_init),
23235         (gst_pad_template_dispose), (name_is_valid),
23236         (gst_static_pad_template_get), (gst_pad_template_new),
23237         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
23238         (gst_pad_template_pad_created):
23239         * gst/gstpadtemplate.h:
23240           inlined two more docs
23241           factored gstpadtemplate out of gstpad
23242
23243 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
23244
23245         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23246         (test_children_state_change_order_semi_sink):
23247           Fix test case: we can't rely on a fixed state change order when
23248           going from READY => PAUSED because the sink might commit its 
23249           new state first when the first buffer created by the source 
23250           reaches the sink before the source has finished its change state.
23251           (Test case still fails at times, see #316856, comment 5 onwards)
23252
23253 2005-09-24  Wim Taymans  <wim@fluendo.com>
23254
23255         * docs/design/part-events.txt:
23256         * docs/design/part-gstbus.txt:
23257         * docs/design/part-gstpipeline.txt:
23258         * docs/design/part-messages.txt:
23259         * docs/design/part-overview.txt:
23260         * docs/design/part-segments.txt:
23261         * gst/gstbin.c:
23262         * gst/gstbuffer.c:
23263         * gst/gstclock.c:
23264         * gst/gstelement.c:
23265         * gst/gstevent.c:
23266         * gst/gstfilter.c:
23267         * gst/gstiterator.c:
23268         Various documentation updates.
23269
23270 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23271
23272         * gst/gstclock.h:
23273           Well, that's embarassing.  Luckily we weren't using
23274           GST_CLOCK_DIFF anywhere.
23275
23276 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23277
23278         * common/gtk-doc.mak:
23279           don't fail on building XML, FC4 slave shows a bunch of doc
23280           missing bits that I don't get
23281         * gst/gstpad.c:
23282         * gst/gstpipeline.c:
23283         * gst/gststructure.c:
23284           some doc updates
23285
23286 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23287
23288         * docs/design/part-gstbin.txt:
23289         * docs/design/part-gstbus.txt:
23290         * gst/gstbus.c:
23291           Add blurb about how the bus goes into flushing mode and
23292           drops all messages when its bin goes from READY into NULL 
23293           state.
23294
23295 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23296
23297         * docs/gst/gstreamer-sections.txt:
23298         * gst/gststructure.c: (gst_structure_get_clock_time):
23299         * gst/gststructure.h:
23300           add a method to get a GstClockTime out of a structure
23301
23302 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
23303
23304         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
23305         (test_children_state_change_order_semi_sink), (gst_bin_suite):
23306           Added test to check state change order in bins (can still be made
23307           to fail here under heavy disk load; bails out with 'Push on pad
23308           fakesink:sink0, but it was not activated in push mode').
23309
23310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
23311           Fix state change order when there is only a semi sink (#316856)
23312
23313         * gst/gstbus.c: (gst_bus_class_init):
23314           Use _class_peek_parent(), not _class_ref(); fix docs to say
23315           'default main context' instead of 'mainloop' where that is
23316           what's meant.
23317
23318         * gst/gstelement.c: (gst_element_commit_state),
23319         (gst_element_set_state):
23320           Fix typos in debug messages
23321
23322 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23323
23324         * docs/README:
23325         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
23326         * gst/gstpluginfeature.c:
23327         * gst/gstutils.c:
23328           various doc updates
23329         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23330           change an assert into an error until it gets fixed properly
23331
23332 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
23333
23334         * docs/gst/gstreamer-sections.txt:
23335         * docs/gst/tmpl/.cvsignore:
23336         * docs/gst/tmpl/gstelement.sgml:
23337         * docs/gst/tmpl/gstinfo.sgml:
23338         * docs/gst/tmpl/gstobject.sgml:
23339         * gst/gstelement.c:
23340         * gst/gstelement.h:
23341         * gst/gstinfo.c:
23342         * gst/gstinfo.h:
23343         * gst/gstobject.c: (gst_object_class_init):
23344         * gst/gstobject.h:
23345           inlined 3 more biiiig doc files and added some missing docs on the fly
23346
23347 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23348
23349         * check/gst/.cvsignore:
23350         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
23351         * gst/gstregistryxml.c: (load_plugin),
23352         (gst_registry_xml_save_plugin):
23353           put back source in registry.  add checks for find_plugin.
23354         * testsuite/states/bin.c: (assert_state), (empty_bin),
23355         (test_adding_one_element), (main):
23356         * testsuite/states/locked.c: (main):
23357           some compile/run fixes
23358
23359 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23360
23361         * check/gst/gstvalue.c: (GST_START_TEST):
23362           fix leaks in the test itself
23363
23364 2005-09-22  Wim Taymans  <wim@fluendo.com>
23365
23366         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23367         (gst_base_sink_send_event), (gst_base_sink_peer_query),
23368         (gst_base_sink_query):
23369         Prepare for more accurate position reporting and query
23370         handling.
23371
23372         * gst/gstelement.c: (gst_element_send_event),
23373         (gst_element_set_state):
23374         Add some comment.
23375
23376 2005-09-22  Wim Taymans  <wim@fluendo.com>
23377
23378         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
23379         (gst_query_parse_segment):
23380         * gst/gstquery.h:
23381         More documentation.
23382         Add segment query for future use.
23383
23384 2005-09-22  Wim Taymans  <wim@fluendo.com>
23385
23386         * gst/gstbin.c: (gst_bin_add_func):
23387         Some more debug info.
23388
23389         * gst/gstelement.c: (gst_element_send_event):
23390         Simplify send_event
23391
23392         * gst/gstelement.h:
23393         Don't know how flags got broken.
23394
23395         * gst/gstquery.h:
23396         Added new query.
23397
23398 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23399
23400         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
23401           Add simplistic test suite for GST_TYPE_DATE serialisation and
23402           deserialisation.
23403
23404 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
23405
23406         * docs/gst/gstreamer-sections.txt:
23407         * gst/gststructure.c: (gst_structure_set_valist),
23408         (gst_structure_get_date):
23409         * gst/gststructure.h:
23410         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
23411         (gst_date_copy), (gst_value_compare_date),
23412         (gst_value_serialize_date), (gst_value_deserialize_date),
23413         (gst_value_transform_date_string),
23414         (gst_value_transform_string_date), (_gst_value_initialize):
23415         * gst/gstvalue.h:
23416           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
23417           bunch of utility functions along with a hack that checks that
23418           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
23419           is required. Part of the grand scheme in #170777.
23420
23421 2005-09-22  Andy Wingo  <wingo@pobox.com>
23422
23423         * gst/gstconfig.h.in: Psych out gtk-doc.
23424
23425         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
23426
23427         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
23428
23429         * tools/gst-inspect.c (print_element_list): Plug some
23430         inconsequential leaks.
23431
23432         * gst/gstregistry.c (gst_registry_get_default): Doc.
23433
23434         * check/gst/gstplugin.c: 
23435         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
23436         * gst/gstelementfactory.c (gst_element_factory_create): 
23437         * gst/gstindexfactory.c (gst_index_factory_create): Update for
23438         refcount changes.
23439
23440         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
23441         (gst_plugin_feature_load): Doc, don't eat refs.
23442
23443         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
23444         (gst_plugin_list_free): Doc.
23445         (gst_plugin_load_file): Doc updates.
23446
23447         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
23448         accessors returning refcounted objects, return a ref.
23449
23450         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
23451         accessor for caps. IDEMPOTENCE. Oh yes.
23452
23453 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
23454
23455         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
23456
23457         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23458         (_gst_debug_register_funcptr):
23459           Add mutex to serialise access to the hash table with
23460           the function pointer => function name string mapping;
23461           make that hash table static scope (#316809).
23462
23463         * gst/registries/.cvsignore:
23464           Remove left-over file.
23465
23466 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23467
23468         * docs/pwg/appendix-porting.xml:
23469           And something about newsegment events and caps-on-buffers to
23470           the porting guide (feel free to improve).
23471
23472 2005-09-21  Andy Wingo  <wingo@pobox.com>
23473
23474         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
23475         data and event probes on the same pad.
23476         (test_buffer_probe_once): Test that removing probes from within
23477         the probe functions works.
23478
23479 2005-09-21  Andy Wingo  <wingo@pobox.com>
23480
23481         * check/gst/gstutils.c: New file.
23482         (test_buffer_probe_n_times): A simple buffer probe test. More to
23483         come, foolios.
23484
23485         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
23486         have-data::buffer, not have-data.
23487         (gst_pad_add_event_probe): Likewise for have-data::event.
23488         (gst_pad_add_data_probe): More docs. The part about 'resolving the
23489         peer' isn't quite right yet though.
23490         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
23491         (gst_pad_remove_data_probe): Change to take the guint handler_id
23492         as their arg, not the function+data, which is more glib-like.
23493
23494         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
23495         the signal emission to indicate if the data is a buffer or an
23496         event.
23497         (gst_pad_get_type): Initialize buffer and event quarks.
23498         (gst_pad_class_init): have-data is now a detailed signal, yes it
23499         is.
23500
23501 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
23502
23503         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23504         * gst/gstutils.c: (gst_util_set_value_from_string),
23505         (gst_util_set_object_arg):
23506           Don't put functional code in g_return_if_fail() or
23507           g_return_val_if_fail() statements, otherwise things will 
23508           break when G_DISABLE_CHECKS is defined during compilation.
23509
23510 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23511
23512         * docs/gst/tmpl/.cvsignore:
23513         * docs/gst/tmpl/gstvalue.sgml:
23514         * gst/gstvalue.c:
23515         * gst/gstvalue.h:
23516           inlied another one and added  some obvious docs
23517
23518 2005-09-21  Wim Taymans  <wim@fluendo.com>
23519
23520         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
23521         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
23522         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
23523         (gst_fdsrc_get_property), (gst_fdsrc_create):
23524         * gst/elements/gstfdsrc.h:
23525         Properly implement fdsrc. Removed signal and timeout,
23526         better implemented somewhere else.
23527
23528 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23529
23530         * docs/gst/tmpl/.cvsignore:
23531         * docs/gst/tmpl/gstimplementsinterface.sgml:
23532         * gst/gstinterface.c:
23533           inlined more docs
23534
23535 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23536
23537         * docs/gst/gstreamer-sections.txt:
23538         * docs/gst/tmpl/.cvsignore:
23539         * docs/gst/tmpl/gstenumtypes.sgml:
23540           remove obsolete doc file
23541
23542 2005-09-21  David Schleef  <ds@schleef.org>
23543
23544         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
23545         little beer, fix a little leak.
23546
23547 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
23548
23549         * docs/gst/gstreamer-docs.sgml:
23550         * docs/gst/gstreamer-sections.txt:
23551         * docs/gst/tmpl/.cvsignore:
23552         * gst/Makefile.am:
23553         * gst/gst.h:
23554         * gst/gstbin.c:
23555         * gst/gstelement.h:
23556         * gst/gstindex.c: (gst_index_class_init):
23557         * gst/gstindex.h:
23558         * gst/gstindexfactory.c: (gst_index_factory_get_type),
23559         (gst_index_factory_class_init), (gst_index_factory_init),
23560         (gst_index_factory_finalize), (gst_index_factory_new),
23561         (gst_index_factory_destroy), (gst_index_factory_find),
23562         (gst_index_factory_create), (gst_index_factory_make):
23563         * gst/gstindexfactory.h:
23564         * gst/gstpluginfeature.c:
23565         * gst/gstpluginfeature.h:
23566         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23567           more docs inlined, splitted gstindex.{c,h}
23568
23569 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23570
23571         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23572           fix a leak
23573
23574 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23575
23576         * gst/elements/gstfilesink.c: (gst_file_sink_init):
23577           Set sync to FALSE by default.
23578
23579 2005-09-20  Wim Taymans  <wim@fluendo.com>
23580
23581         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23582         (gst_base_sink_init):
23583         Make sync property settable from subclass.
23584
23585         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23586         (gst_fake_sink_change_state):
23587         Set sync to FALSE by default.
23588
23589 2005-09-20  Wim Taymans  <wim@fluendo.com>
23590
23591         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
23592         * tools/gst-launch.c: (main):
23593         The timeout handler should have lower priority than the source
23594         so we don't timeout before popping a message with 0 timeout.
23595         Dump error messages after failed state change.
23596
23597 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
23598
23599         * tools/gst-inspect.c: (print_element_properties_info):
23600           Fix two typos.
23601
23602 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23603
23604         * check/gst/gstevent.c:
23605         * gst/elements/gstfakesink.c:
23606         * gst/elements/gstfakesink.h:
23607           remove the sync property from fakesink.
23608           has the side effect of setting sync TRUE
23609           for fakesink, which is a change.  Anyone who knows how
23610           to fix this nicely in a GObject-y way, feel free.
23611
23612 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23613
23614         * docs/gst/gstreamer-docs.sgml:
23615           remove probe refsection
23616
23617 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23618
23619         * check/Makefile.am:
23620           disable valgrinding the controller test again
23621         * docs/gst/gstreamer-sections.txt:
23622           update for api-changes
23623
23624 2005-09-20  Wim Taymans  <wim@fluendo.com>
23625
23626         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
23627         (gst_base_sink_set_property), (gst_base_sink_get_property),
23628         (gst_base_sink_do_sync):
23629         * gst/base/gstbasesink.h:
23630         Added sync property to basesink to disable clock sync.
23631
23632 2005-09-20  Andy Wingo  <wingo@pobox.com>
23633
23634         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
23635         eating the caller's refcount.
23636
23637         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
23638         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
23639         refcount.
23640
23641         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
23642         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
23643         of GLib 2.8 public, so we can know which refcount to check in
23644         tests.
23645
23646         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
23647         (gst_object_init): Only set the gst refcount if we're going ahead
23648         with the refcount hack.
23649
23650 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23651
23652         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23653         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
23654           more leaks plumbed, added more debug-logging
23655         * gst/gstmacros.h:
23656           whitespace fix
23657
23658 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23659
23660         * gst/gstmessage.c:
23661           remove include of gstmemchunk.h
23662
23663 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23664
23665         * gst/gstclock.c: (_gst_clock_id_free):
23666           Commit from the Political Party For More Atomic CVS Commits,
23667           so that people don't waste too much of their day fishing
23668           out obvious leaks out of massive commits.
23669           Oh, and fix a pretty damn obvious leak in the memchunk
23670           removal code.
23671
23672 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
23673
23674         * check/Makefile.am:
23675         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
23676           plug mem-leak, re-add to valgrindable tests
23677
23678 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23679
23680         * gst/gstplugin.h:
23681           unbreak the build for those who have chronic arthritis
23682           and typing "make check" is just too taxing on the hands
23683
23684 2005-09-20  Andy Wingo  <wingo@pobox.com>
23685
23686         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
23687         really want it out, you should fix plugins at the same time.
23688
23689 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
23690
23691         * configure.ac:
23692         * docs/gst/gstreamer-sections.txt:
23693         * gst/gstobject.c:
23694           added missing symbols to api docs
23695           disable ref-count hack if we have glib >= 2.8
23696
23697 2005-09-19  David Schleef  <ds@schleef.org>
23698
23699         * docs/gst/Makefile.am: Ignore a few more internal headers
23700         * docs/gst/gstreamer-docs.sgml: Remove old sections
23701         * docs/gst/gstreamer-sections.txt: Remove old sections
23702         * docs/gst/tmpl/gstobject.sgml: update
23703         * docs/gst/tmpl/gstplugin.sgml: update
23704         * docs/gst/tmpl/gstpluginfeature.sgml: update
23705         * docs/random/ds/0.9-suggested-changes: update.
23706         * gst/Makefile.am: remove memchunk and trashstack, since they're
23707           not used.
23708         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
23709         * gst/gst.h: don't include some headers
23710         * gst/gstchildproxy.c: add gstmarshal.h
23711         * gst/gstclock.c: Don't use memchunks
23712         * gst/gstminiobject.c: Add some docs
23713         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
23714         * gst/gstobject.h: same
23715         * gst/gstplugin.c: include gstmacros.h
23716         * gst/gstplugin.h: don't include gstmacros.h, since it's private
23717         * gst/gstquery.c: don't use memchunks
23718         * gst/gstregistry.c: rename gst_registry_deinit()
23719         * gst/gstregistry.h: same
23720
23721 2005-09-19  David Schleef  <ds@schleef.org>
23722
23723         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
23724         * docs/libs/gstreamer-libs-sections.txt:
23725         * docs/libs/tmpl/gstgetbits.sgml:
23726         * docs/libs/tmpl/gstputbits.sgml:
23727
23728 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
23729
23730         * win32/gstenumtypes.c:
23731         * win32/gstenumtypes.h:
23732           Update.
23733
23734 2005-09-19  Wim Taymans  <wim@fluendo.com>
23735
23736         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
23737         Automatically PAUSE and RESUME a pipeline when a flushing seek
23738         is performed.
23739
23740 2005-09-19  Andy Wingo  <wingo@pobox.com>
23741
23742         * gst/gstregistry.h: Spacing fixen.
23743
23744 2005-09-19  Wim Taymans  <wim@fluendo.com>
23745
23746         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
23747         Handle state change failure more correctly.
23748
23749 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23750
23751         * check/Makefile.am:
23752         * check/pipelines/cleanup.c: (run_pipeline):
23753         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23754         (GST_START_TEST):
23755           enable cleanup again after fixing the leak
23756         * docs/README:
23757           some more info on docs
23758
23759 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23760
23761         * check/Makefile.am:
23762           re-enable tests now that leaks are plugged
23763         * check/gst/gst.c:
23764         * check/gst/gstbin.c:
23765         * check/gst/gstpipeline.c:
23766           add some more tests while fixing leaks
23767         * common/check.mak:
23768           make sure binaries are uptodate when valgrinding/gdbing
23769         * gst/gst.c:
23770         * gst/gstelementfactory.c:
23771           remove a ref too many, and add a FIXME for when we get
23772           round to disposing of classes
23773         * gst/gstplugin.c:
23774           fix the refcounting when loading a plugin from a file and
23775           the code pretends that the pointer is the same even though
23776           of course it can change
23777         * gst/gstpluginfeature.c:
23778           unref plugins marked cached (a bit confusing as a name)
23779           as the docs state should be done
23780           various doc additions to explain refcounting
23781         * gst/gstregistry.c:
23782         * gst/gstregistryxml.c:
23783           debugging
23784
23785 2005-09-19  Wim Taymans  <wim@fluendo.com>
23786
23787         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23788         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
23789         (send_messages), (GST_START_TEST), (gstbus_suite):
23790         * check/gst/gstpipeline.c: (GST_START_TEST):
23791         * check/pipelines/cleanup.c: (run_pipeline):
23792         * check/pipelines/simple_launch_lines.c: (run_pipeline),
23793         (GST_START_TEST):
23794         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
23795         (gst_bus_source_check), (gst_bus_source_dispatch),
23796         (gst_bus_create_watch), (gst_bus_add_watch_full),
23797         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
23798         * gst/gstbus.h:
23799         * tools/gst-launch.c: (event_loop):
23800         * tools/gst-md5sum.c: (event_loop):
23801         GstBusHandler -> GstBusFunc, return value has the same meaning as
23802         any other GSource (FALSE == remove source).
23803         _add_watch() and _add_watch_full() now take a MessageType mask to
23804         only handle specific types of messages.
23805         _poll() returns the GstMessage instead of the message type to avoid
23806         race conditions.
23807         _have_pending() takes a MessageType mask now too.
23808         Added testsuite for multiple bus watches.
23809         Fix testsuites and applications for new bus API.
23810
23811 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
23812
23813         * check/Makefile.am:
23814           mark a bunch of the tests as to fix until we fix them
23815
23816 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23817
23818         * common/check.mak:
23819           use GST_PLUGIN settings for valgrind tests as well, so we're
23820           valgrinding the correct thing
23821         * gst/gst.c: (init_post):
23822           plug another leak
23823
23824 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23825
23826         * gst/gst.c: (init_post), (gst_deinit):
23827         * gst/gstelementfactory.c: (gst_element_factory_class_init),
23828         (gst_element_factory_finalize), (gst_element_factory_cleanup):
23829         * gst/gstindex.c: (gst_index_factory_class_init),
23830         (gst_index_factory_finalize):
23831         * gst/gstobject.c: (gst_object_dispose):
23832         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23833         (gst_plugin_load_file), (gst_plugin_desc_free):
23834         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23835         (gst_plugin_feature_finalize):
23836         * gst/gstregistry.c: (gst_registry_class_init),
23837         (gst_registry_init), (gst_registry_finalize),
23838         (gst_registry_get_default), (gst_registry_deinit):
23839         * gst/gstregistry.h:
23840         * gst/gstregistryxml.c: (load_feature), (load_plugin):
23841           various cleanups and memleak plugging.  make valgrind is happy now.
23842
23843 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
23844
23845         * common/check.mak:
23846           add a check-valgrind target
23847
23848 2005-09-18  David Schleef  <ds@schleef.org>
23849
23850         * tools/gst-inspect.c: Revert the GOption code.
23851
23852 2005-09-17  David Schleef  <ds@schleef.org>
23853
23854         * check/Makefile.am: Fix environment variables.
23855         * check/gst/gstplugin.c: Fix for API changes.
23856         * tools/gst-inspect.c: Fix for API changes.
23857         * tools/gst-xmlinspect.c: Fix for API changes.
23858         * gst/gstelementfactory.c:
23859         * gst/gstplugin.c:
23860         * gst/gstplugin.h:
23861         * gst/gstpluginfeature.c:
23862         * gst/gstpluginfeature.h:
23863         * gst/gstregistry.c:
23864         * gst/gstregistry.h:
23865         * gst/gstregistryxml.c:
23866         * gst/gsttypefind.c:
23867         * gst/gsttypefindfactory.c:
23868         * gst/indexers/gstfileindex.c:
23869         * gst/indexers/gstmemindex.c:
23870         * gst/schedulers/Makefile.am:
23871           Change registry to keep track of both plugins and features,
23872           removing the feature tracking from plugins themselves.
23873
23874 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
23875
23876         * check/Makefile.am:
23877         * tools/gst-register.1.in:
23878           remove gst-register
23879
23880 2005-09-15  David Schleef  <ds@schleef.org>
23881
23882         * check/gst/gstplugin.c:
23883         * gst/gstelementfactory.c:
23884         * gst/gstplugin.c:
23885         * gst/gstpluginfeature.c:
23886         * gst/gstregistry.c:
23887           Getting tired of debugging.  Disabled all the unreffing of
23888           plugins and features, which fixes the segfaults, but of
23889           course leaks like crazy.  At least playbin works.
23890
23891 2005-09-15  David Schleef  <ds@schleef.org>
23892
23893         * check/gst/gstplugin.c: (register_check_elements),
23894         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23895         More testing
23896         * gst/elements/gsttypefindelement.c: Fix refcounting.
23897         * gst/gsttypefind.c:
23898         * gst/gsttypefindfactory.c:
23899         * gst/gsttypefindfactory.h:
23900
23901 2005-09-15  David Schleef  <ds@schleef.org>
23902
23903         * gst/gstindex.c: get refcounting correct.
23904         * gst/gstregistry.c: Handle the case where a feature/plugin is
23905           not found.
23906
23907 2005-09-15  David Schleef  <ds@schleef.org>
23908
23909         * check/Makefile.am:
23910         * check/gst/gstplugin.c: Add test
23911         * gst/gstplugin.c: Fix problems noticed by testsuite
23912         * gst/gstplugin.h:
23913         * gst/gstregistry.c: 
23914         * gst/gstregistry.h:
23915
23916 2005-09-15  David Schleef  <ds@schleef.org>
23917
23918         * gst/gstplugin.c: Implement semi-decent recounting and locking
23919           in plugins and plugin features.
23920         * gst/gstplugin.h:
23921         * gst/gstpluginfeature.c:
23922         * gst/gstpluginfeature.h:
23923         * gst/gstregistry.c:
23924
23925 2005-09-15  Michael Smith <msmith@fluendo.com>
23926
23927         * gst/gstregistry.c: (gst_registry_get_feature_list):
23928           Implement this. Makes oggdemux work; decodebin still broken.
23929
23930 2005-09-14  David Schleef  <ds@schleef.org>
23931
23932         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23933           #316076)
23934         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23935         * gst/check/Makefile.am:
23936         * libs/gst/controller/Makefile.am:
23937         * libs/gst/dataprotocol/Makefile.am:
23938
23939 2005-09-14  David Schleef  <ds@schleef.org>
23940
23941         * configure.ac: Remove getbits library.  Nothing uses it, and
23942           it should be in something like liboil if someone did want
23943           to use it.
23944         * libs/gst/Makefile.am:
23945         * libs/gst/getbits/Makefile.am:
23946         * libs/gst/getbits/gbtest.c:
23947         * libs/gst/getbits/getbits.c:
23948         * libs/gst/getbits/getbits.h:
23949         * libs/gst/getbits/gstgetbits_generic.c:
23950         * libs/gst/getbits/gstgetbits_i386.s:
23951         * libs/gst/getbits/gstgetbits_inl.h:
23952
23953 2005-09-14  David Schleef  <ds@schleef.org>
23954
23955         * gst/Makefile.am: Dist glib-compat.h
23956
23957 2005-09-14  David Schleef  <ds@schleef.org>
23958
23959         * configure.ac: Remove gst/registries, since it's no longer used.
23960         * gst/registries/Makefile.am:
23961         * gst/registries/gstlibxmlregistry.c:
23962         * gst/registries/gstlibxmlregistry.h:
23963         * gst/registries/gstxmlregistry.c:
23964         * gst/registries/gstxmlregistry.h:
23965         * gst/registries/registrytest.c:
23966
23967 2005-09-14  David Schleef  <ds@schleef.org>
23968
23969         * gst/glib-compat.h:
23970         * gst/gstregistryxml.c:
23971           Convergence is near.  Seriously.
23972
23973 2005-09-14  David Schleef  <ds@schleef.org>
23974
23975         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23976         * gst/glib-compat.h:
23977           Attempt #4 to appease the buildbots.
23978
23979 2005-09-14  David Schleef  <ds@schleef.org>
23980
23981         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23982           Attempt #3.
23983
23984 2005-09-14  David Schleef  <ds@schleef.org>
23985
23986         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23987         Attempt #2.
23988
23989 2005-09-14  David Schleef  <ds@schleef.org>
23990
23991         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23992           the new functions.
23993
23994 2005-09-14  David Schleef  <ds@schleef.org>
23995
23996         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23997         * gst/glib-compat.h: Add some functions that are in newer versions
23998           of glib than we care to require.
23999         * gst/gstregistryxml.c: Use them.
24000
24001 2005-09-14  David Schleef  <ds@schleef.org>
24002
24003         * po/POTFILES.in: remove gst-register.c
24004
24005 2005-09-14  David Schleef  <ds@schleef.org>
24006
24007         * docs/gst/gstreamer-docs.sgml:
24008         * docs/gst/gstreamer-sections.txt:
24009         * docs/gst/gstreamer.types:
24010         * docs/gst/tmpl/gstelement.sgml:
24011         * docs/gst/tmpl/gstplugin.sgml:
24012         * docs/gst/tmpl/gstpluginfeature.sgml:
24013           Documentation updates for registry changes.
24014
24015 2005-09-14  David Schleef  <ds@schleef.org>
24016
24017         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
24018           because we don't require glib-2.8.
24019
24020 2005-09-14  David Schleef  <ds@schleef.org>
24021
24022         * gst/gstregistryxml.c: Added.  Essentially moved out of the
24023           registries directory.
24024
24025 2005-09-14  David Schleef  <ds@schleef.org>
24026
24027         * check/Makefile.am:
24028         * check/generic/states.c:
24029         * gst/Makefile.am:
24030         * gst/gst.c:
24031         * gst/gst.h:
24032         * gst/gst_private.h:
24033         * gst/gstelementfactory.c:
24034         * gst/gstindex.c:
24035         * gst/gstinfo.c:
24036         * gst/gstplugin.c:
24037         * gst/gstplugin.h:
24038         * gst/gstpluginfeature.c:
24039         * gst/gstpluginfeature.h:
24040         * gst/gstregistry.c:
24041         * gst/gstregistry.h:
24042         * gst/gstregistrypool.c: remove
24043         * gst/gstregistrypool.h: remove
24044         * gst/gsttypefind.c:
24045         * gst/gsttypefindfactory.c:
24046         * gst/gsturi.c:
24047         * tools/Makefile.am:
24048         * tools/gst-compprep.c:
24049         * tools/gst-inspect.c:
24050         * tools/gst-register.c: remove
24051         * tools/gst-xmlinspect.c:
24052           Registry rewrite.  Changes registry from being a file created
24053           by a tool into a simple cache file created automatically by 
24054           libgstreamer.  Removed gst-register (because it's no longer
24055           needed).  Remove registry pools, because we only have one
24056           registry implementation (XML).  Fix up other subsystems as
24057           necessary.
24058
24059 2005-09-13  Michael Smith <msmith@fluendo.com>
24060
24061         * gst/gstconfig.h.in:
24062           Don't Use windows linking attributes for MinGW. Fixes #316157
24063
24064 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24065
24066         * gst/gstutils.c: (set_state_async_thread_func),
24067         (gst_element_set_state_async):
24068           Apparently people think it's better if this function doesn't
24069           try to set the state to whatever state was asked for on the first
24070           call to this function for any object.  Seriously.
24071
24072 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24073
24074         * check/gst/gstpipeline.c: (GST_START_TEST):
24075         * docs/gst/gstreamer-sections.txt:
24076         * gst/gstutils.c: (set_state_async_thread_func),
24077         (gst_element_set_state_async):
24078         * gst/gstutils.h:
24079           add a "gst_element_set_state_async" method that
24080           sets the state and starts a thread to make sure the state
24081           change completes as best as it can
24082
24083 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24084
24085         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
24086           codify design+behaviour in testsuite after discussion
24087
24088 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24089
24090         * docs/gst/tmpl/gstelement.sgml:
24091         * docs/manual/appendix-quotes.xml:
24092           add a quote
24093         * gst/gstelement.c: (gst_element_set_state):
24094           add some debug
24095
24096 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
24097
24098         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24099         (gst_base_transform_prepare_output_buf),
24100         (gst_base_transform_handle_buffer):
24101         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
24102         (gst_capsfilter_prepare_buf):
24103           Remove the requirement for sub-classes to call the parent
24104           implementation of prepare_output_buffer with a wrapper function.
24105           
24106         * gst/gsttaglist.h:
24107         * gst/gsttagsetter.h:
24108           Fix #define wrapper
24109
24110 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
24111
24112         * docs/gst/gstreamer-sections.txt:
24113           more doc cleanups
24114
24115 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24116
24117         * docs/gst/gstreamer-sections.txt:
24118         * docs/gst/tmpl/gstelement.sgml:
24119         * docs/gst/tmpl/gstplugin.sgml:
24120         * gst/gstminiobject.c:
24121         * gst/gstvalue.h:
24122           docs now stop throwing warnings
24123
24124 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24125
24126         * docs/gst/gstreamer-sections.txt:
24127         * docs/gst/gstreamer.types:
24128         * docs/gst/tmpl/gstpad.sgml:
24129         * docs/gst/tmpl/gsttypes.sgml:
24130         * gst/base/gstadapter.h:
24131         * gst/base/gstbasesink.h:
24132         * gst/base/gstbasesrc.h:
24133         * gst/gstbin.h:
24134         * gst/gstbuffer.h:
24135         * gst/gstbus.h:
24136         * gst/gstcaps.h:
24137         * gst/gstclock.h:
24138         * gst/gstelement.h:
24139         * gst/gstevent.h:
24140         * gst/gstmessage.h:
24141         * gst/gstpad.h:
24142         * gst/gststructure.c:
24143         * gst/registries/gstlibxmlregistry.h:
24144           various documentation fixes
24145
24146 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24147
24148         * docs/gst/gstreamer-sections.txt:
24149         * docs/gst/tmpl/gstvalue.sgml:
24150           rearrange gstvalue section
24151         * gst/gstutils.c: (gst_element_state_get_name):
24152           NONE -> VOID
24153         * gst/gstvalue.c: (_gst_value_initialize):
24154         * gst/gstvalue.h:
24155           doc updates
24156
24157 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
24158
24159         * check/gst-libs/controller.c:
24160           Header include fix.
24161         * gst/base/gstbasetransform.c:
24162         (gst_base_transform_default_prepare_buf),
24163         (gst_base_transform_handle_buffer):
24164         * gst/base/gstbasetransform.h:
24165           Some more basetransform changes and fixes to enable sub-classes
24166           that modify buffer metadata only.
24167         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24168         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
24169         (gst_capsfilter_prepare_buf):
24170           If the output pad has fixed allowed caps and input buffers 
24171           don't have any, set the fixed caps on outgoing buffers.
24172
24173 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
24174         * check/elements/identity.c: (GST_START_TEST):
24175           Make the error a little clearer when the test fails because
24176           identity made a copy of the buffer.
24177         * docs/gst/gstreamer-sections.txt:
24178           New symbols in gstbasetransform.h
24179         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
24180         (gst_base_transform_init), (gst_base_transform_transform_size),
24181         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24182         (gst_base_transform_default_prepare_buf),
24183         (gst_base_transform_get_unit_size),
24184         (gst_base_transform_buffer_alloc),
24185         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
24186         (gst_base_transform_change_state),
24187         (gst_base_transform_set_passthrough),
24188         (gst_base_transform_set_in_place),
24189         (gst_base_transform_is_in_place):
24190         * gst/base/gstbasetransform.h:
24191           Change BaseTransform to separate in_place operate from same_caps
24192           output. in_place implies that the element can perform the transform
24193           on incoming buffers in-place, even if the caps on the output are
24194           different.
24195           Sub-class elements can now implement special buffer allocation
24196           methods for outgoing buffers if they wish to.
24197           Big documentation addition.
24198         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
24199         * gst/elements/gstelements.c:
24200           Changes for basetransform modifications.
24201         * gst/elements/Makefile.am:
24202         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
24203           Compile fix. Extra debug output.
24204
24205 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24206
24207         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
24208         (gst_pad_suite):
24209           add tests for valid pad naming
24210         * gst/check/gstcheck.c: (gst_check_log_message_func),
24211         (gst_check_log_critical_func):
24212           add ASSERT_WARNING
24213           remove printing of code, it is fragile when the code contains
24214           % and the line number is enough info
24215         * gst/check/gstcheck.h:
24216         * gst/gstpad.c: (gst_pad_template_new):
24217           fix memleaks
24218
24219 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24220
24221         * configure.ac:
24222           say what CHECK flags we use
24223         * docs/libs/gstreamer-libs.types:
24224         * libs/gst/controller/Makefile.am:
24225         * libs/gst/controller/gst-controller.c:
24226         * libs/gst/controller/gst-controller.h:
24227         * libs/gst/controller/gst-helper.c:
24228         * libs/gst/controller/gst-interpolation.c:
24229         * libs/gst/controller/gstcontroller.c:
24230         * libs/gst/controller/gsthelper.c:
24231         * libs/gst/controller/gstinterpolation.c:
24232         * tools/gst-inspect.c: (print_plugin_info):
24233           we don't use dashes in header names
24234
24235 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24236
24237         * check/Makefile.am:
24238         * check/gst/.cvsignore:
24239         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
24240         (gst_pipeline_suite), (main):
24241           adding a test for pipelines and state changes
24242         * gst/gstutils.c: (get_state_func):
24243           add some debugging
24244         * gstreamer.spec.in:
24245           fix up spec file
24246
24247 2005-09-08  Michael Smith <msmith@fluendo.com>
24248
24249         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
24250         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
24251         (gst_file_src_is_seekable), (gst_file_src_get_size),
24252         (gst_file_src_start):
24253         * gst/elements/gstfilesrc.h:
24254           Various fixes for unseekable, unmmapable, and non-normal files, so
24255           that fallback to read() rather than mmap() works.
24256         * gst/gstevent.c: (gst_event_new_newsegment):
24257           Allow newsegment events with segment_start == segment_end, as will
24258           correctly happen if you use filesrc on a zero-size file, for
24259           example.
24260
24261 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24262
24263         * gst/gstplugin.c: (gst_plugin_load_file):
24264           Call g_module_close when we don't load the module
24265
24266         * gst/registries/gstlibxmlregistry.c:
24267         (gst_xml_registry_get_property):
24268           Port leak fix from 0.8
24269
24270 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24271
24272         * docs/gst/gstreamer-docs.sgml:
24273         * docs/gst/tmpl/.cvsignore:
24274         * docs/gst/tmpl/gsttrace.sgml:
24275         * docs/gst/tmpl/gsttrashstack.sgml:
24276         * gst/Makefile.am:
24277         * gst/gst.h:
24278         * gst/gstelement.h:
24279         * gst/gstevent.h:
24280         * gst/gstmessage.c:
24281         * gst/gstmessage.h:
24282         * gst/gsttag.c:
24283         * gst/gsttag.h:
24284         * gst/gsttaginterface.c:
24285         * gst/gsttaginterface.h:
24286         * gst/gsttaglist.c:
24287         * gst/gsttaglist.h:
24288         * gst/gsttagsetter.c:
24289         * gst/gsttagsetter.h:
24290         * gst/gsttrace.c:
24291         * gst/gsttrace.h:
24292         * gst/gsttrashstack.c:
24293           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
24294           inlined docs for gsttrace, gsttrashstack
24295
24296 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24297
24298         * gst/Makefile.am:
24299         * gst/elements/gstbufferstore.h:
24300         * gst/elements/gsttypefindelement.c:
24301         * gst/elements/gsttypefindelement.h:
24302         * gst/gst.h:
24303         * gst/gsttypefind.c:
24304         * gst/gsttypefind.h:
24305         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
24306         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
24307         (gst_type_find_factory_dispose),
24308         (gst_type_find_factory_unload_thyself),
24309         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
24310         (gst_type_find_factory_get_caps),
24311         (gst_type_find_factory_get_extensions),
24312         (gst_type_find_factory_call_function):
24313         * gst/gsttypefindfactory.h:
24314         * gst/registries/gstlibxmlregistry.c:
24315         * gst/registries/gstxmlregistry.c:
24316           splitted gsttypefind into gsttypefind, gsttypefindfactory
24317
24318 2005-09-07  Andy Wingo  <wingo@pobox.com>
24319
24320         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
24321         condition whereby the pad's task function is entered before the
24322         pad_mode variable was set.
24323
24324 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
24325
24326         * gst/gstpad.c: (gst_pad_alloc_buffer):
24327           Catch misbehaving pad_alloc functions that don't
24328           set up caps and do it for them.
24329
24330 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
24331
24332         * check/pipelines/simple_launch_lines.c: (run_pipeline):
24333           test for pipe!=NULL
24334         * docs/gst/tmpl/.cvsignore:
24335         * docs/gst/tmpl/gstmemchunk.sgml:
24336         * docs/gst/tmpl/gstparse.sgml:
24337         * docs/gst/tmpl/gsttaglist.sgml:
24338         * docs/gst/tmpl/gsttagsetter.sgml:
24339         * docs/gst/tmpl/gsttypefind.sgml:
24340         * docs/gst/tmpl/gsttypefindfactory.sgml:
24341         * gst/gstmemchunk.c:
24342         * gst/gstparse.c:
24343         * gst/gsttag.c:
24344         * gst/gsttaginterface.c:
24345         * gst/gsttypefind.c:
24346         * gst/gsttypefind.h:
24347           inlined more docs
24348
24349 === release 0.9.2 ===
24350
24351 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24352
24353         * NEWS:
24354         * RELEASE:
24355         * configure.ac:
24356           releasing 0.9.2, "South"
24357
24358 2005-09-05  Andy Wingo  <wingo@pobox.com>
24359
24360         * gst/registries/gstxmlregistry.h:
24361         * gst/registries/gstxmlregistry.c: Um... resurrect...
24362         
24363         * gst/registries/gstxmlregistry.h:
24364         * gst/registries/gstxmlregistry.c: and update to newer API.
24365         Incidentally they should be a bit faster now that they don't have
24366         to parse the caps.
24367         
24368 2005-09-05  Andy Wingo  <wingo@pobox.com>
24369
24370         * gst/registries/gstxmlregistry.h:
24371         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
24372         replaced by the libxml registry a while back
24373
24374 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24375
24376         * docs/gst/tmpl/gstplugin.sgml:
24377         * gst/elements/gstelements.c:
24378         * gst/gst.c:
24379         * gst/gstplugin.c: (gst_plugin_register_func),
24380         (gst_plugin_desc_copy), (gst_plugin_desc_free),
24381         (gst_plugin_get_source):
24382         * gst/gstplugin.h:
24383         * gst/registries/gstlibxmlregistry.c: (load_plugin),
24384         (gst_xml_registry_save_plugin):
24385         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
24386         (gst_xml_registry_save_plugin):
24387         * tools/gst-inspect.c: (print_plugin_info):
24388           add a "source" plugin description field, to represent the source
24389           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
24390           will set it to PACKAGE, which is automake's idea of the name of
24391           the source project.
24392
24393 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
24394
24395         * Makefile.am:
24396         * autogen.sh:
24397         * configure.ac:
24398         * docs/Makefile.am:
24399         * docs/faq/Makefile.am:
24400         * docs/gst/tmpl/gstelement.sgml:
24401         * docs/gst/tmpl/gsttypes.sgml:
24402         * docs/htmlinstall.mak:
24403         * docs/manual/Makefile.am:
24404         * docs/pwg/Makefile.am:
24405           reorganize doc build a little
24406           split out docbook and gtk-doc stuff
24407           have two separate --enable's and enable them through autogen
24408           but disable by default in configure (to be similar to other
24409           projects)
24410         * gstreamer.spec.in:
24411           clean up docs install
24412         * po/af.po:
24413         * po/az.po:
24414         * po/ca.po:
24415         * po/cs.po:
24416         * po/de.po:
24417         * po/en_GB.po:
24418         * po/fr.po:
24419         * po/it.po:
24420         * po/nb.po:
24421         * po/nl.po:
24422         * po/ru.po:
24423         * po/sq.po:
24424         * po/sr.po:
24425         * po/sv.po:
24426         * po/tr.po:
24427         * po/uk.po:
24428         * po/vi.po:
24429           translation updates
24430
24431 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
24432
24433         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
24434           Add comment.
24435           
24436         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
24437         (gst_fake_sink_change_state):
24438           Make state change function thread-safe.
24439           
24440         * gst/gstpad.c: (gst_pad_alloc_buffer):
24441           Set offset on generic buffer allocated by fallback.
24442
24443 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
24444
24445         * docs/gst/gstreamer-sections.txt:
24446         * docs/gst/tmpl/gstelement.sgml:
24447         * gst/gstpad.c:
24448         * libs/gst/controller/gst-controller.c:
24449         (gst_controlled_property_set_interpolation_mode),
24450         (gst_controlled_property_new),
24451         (gst_controller_find_controlled_property):
24452          run the wingo-magic script against the docs
24453
24454 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24455
24456         * docs/gst/gstreamer-docs.sgml:
24457         * docs/gst/gstreamer-sections.txt:
24458         * docs/gst/tmpl/.cvsignore:
24459         * docs/gst/tmpl/gstelementdetails.sgml:
24460         * docs/gst/tmpl/gstelementfactory.sgml:
24461         * gst/gst.c:
24462         * gst/gstbus.c:
24463         * gst/gstelementfactory.c:
24464         * gst/gstelementfactory.h:
24465           merged elementdetails docs into elementfactory docs
24466           inlined both
24467
24468 2005-09-02  Andy Wingo  <wingo@pobox.com>
24469
24470         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
24471         consider this enum an enum and not a flags.
24472
24473 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
24474
24475         * docs/gst/gstreamer-docs.sgml:
24476         * docs/gst/tmpl/.cvsignore:
24477         * docs/gst/tmpl/gstghostpad.sgml:
24478         * docs/gst/tmpl/gstiterator.sgml:
24479         * docs/gst/tmpl/gstmacros.sgml:
24480         * docs/gst/tmpl/gstrealpad.sgml:
24481         * docs/gst/tmpl/gstregistry.sgml:
24482         * docs/gst/tmpl/gstregistrypool.sgml:
24483         * docs/gst/tmpl/gststructure.sgml:
24484         * docs/gst/tmpl/gstsystemclock.sgml:
24485         * docs/gst/tmpl/gsttrace.sgml:
24486         * gst/gstghostpad.c:
24487         * gst/gstmacros.h:
24488         * gst/gstmemchunk.c:
24489         * gst/gstmemchunk.h:
24490         * gst/gstqueue.c:
24491         * gst/gstregistry.c:
24492         * gst/gstregistrypool.c:
24493         * gst/gststructure.c:
24494         * gst/gstsystemclock.c:
24495           more docs inlined
24496
24497 2005-09-02  Andy Wingo  <wingo@pobox.com>
24498
24499         * gst/gstelement.h (GstState): Renamed from GstElementState,
24500         changed to be a normal enum instead of flags.
24501         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
24502         munged to be GST_STATE_CHANGE_*.
24503         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
24504         work with the new state representation.
24505         (GstStateChange): New enumeration of possible state transitions.
24506         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
24507         (GstElementClass::change_state): Pass the GstStateChange along as
24508         an argument. Helps language bindings, so they don't have to use
24509         tricky lock-needing macros like GST_STATE_CHANGE ().
24510
24511         * scripts/update-states (file): New script. Run it on a file to
24512         update it for state naming and API changes. Updates files in
24513         place.
24514
24515         * All files updated for the new API.
24516
24517 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
24518
24519         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
24520         * gst/gstutils.c: (gst_util_set_value_from_string),
24521         (gst_util_set_object_arg):
24522           fix a bunch of unchecked return values
24523         * tools/gst-complete.c: (main):
24524         * gstreamer.spec.in:
24525           clean up a little
24526
24527 2005-09-01  Wim Taymans  <wim@fluendo.com>
24528
24529         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24530         (gst_base_sink_event), (gst_base_sink_do_sync),
24531         (gst_base_sink_handle_event):
24532         * gst/base/gstbasesink.h:
24533         Handle newsegments more correctly.
24534
24535         * gst/gstbus.c:
24536         Fix docs.
24537
24538         * gst/gstevent.c: (gst_event_new_newsegment):
24539         A newsegment cannot have a start_time of -1
24540
24541 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
24542
24543         * win32/gstenumtypes.c:
24544         * win32/gstenumtypes.h:
24545           Update
24546
24547 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24548
24549         * libs/gst/controller/gst-controller.c:
24550         (gst_controlled_property_set_interpolation_mode),
24551         (gst_controlled_property_new):
24552          fixed boolean again
24553
24554 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
24555
24556         * docs/faq/gst-uninstalled:
24557           add -good
24558         * gst/gstevent.c:
24559         * gst/gstevent.h:
24560           remove wrong docs
24561         * gst/gstutils.c: (gst_element_link_filtered):
24562         * gst/gstutils.h:
24563           add gst_element_link_filtered
24564
24565 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24566
24567         * docs/gst/gstreamer-docs.sgml:
24568         * docs/gst/gstreamer-sections.txt:
24569         * docs/gst/tmpl/.cvsignore:
24570         * docs/gst/tmpl/gsterror.sgml:
24571         * docs/gst/tmpl/gstfilter.sgml:
24572         * docs/gst/tmpl/gsturihandler.sgml:
24573         * docs/gst/tmpl/gsturitype.sgml:
24574         * docs/gst/tmpl/gstutils.sgml:
24575         * docs/gst/tmpl/gstxml.sgml:
24576         * gst/gsterror.c:
24577         * gst/gsterror.h:
24578         * gst/gstfilter.c:
24579         * gst/gsturi.c:
24580         * gst/gsturitype.c:
24581         * gst/gstutils.c:
24582         * gst/gstxml.c:
24583           inlined more docs, fixed double id-ref
24584
24585 2005-08-31  Wim Taymans  <wim@fluendo.com>
24586
24587         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24588         (gst_base_transform_handle_buffer):
24589         Passthrough elements don't need the caps as they don't care.
24590
24591 2005-08-31  Wim Taymans  <wim@fluendo.com>
24592
24593         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24594         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
24595         Don't leak refcounts on buffers.
24596
24597 2005-08-31  Wim Taymans  <wim@fluendo.com>
24598
24599         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
24600         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
24601         (gst_base_transform_chain), (gst_base_transform_change_state):
24602         * gst/base/gstbasetransform.h:
24603         Handle the case where we are not negotiated more gracefully.
24604
24605 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
24606
24607         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
24608         (gst_file_src_map_region):
24609           Set READONLY flag on mmap'ed buffers, otherwise
24610           gst_buffer_make_writable() won't work properly (#314708).
24611
24612 2005-08-31  Wim Taymans  <wim@fluendo.com>
24613
24614         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
24615         passthrough elements can even do inplace on non writable
24616         buffers (as they don't touch them).
24617
24618 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
24619
24620         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24621         (gst_test_mono_source_set_property),
24622         (gst_test_mono_source_class_init), (GST_START_TEST),
24623         (gst_controller_suite):
24624           more tests (hehe I have the most)
24625         * gst/gstbus.c:
24626           describe popping messages whenusing mulltiple sources
24627         * libs/gst/controller/gst-controller.c:
24628         (gst_controlled_property_set_interpolation_mode),
24629         (gst_controlled_property_new):
24630         * libs/gst/controller/gst-controller.h:
24631         * libs/gst/controller/gst-interpolation.c:
24632           implement boolean properties
24633
24634 2005-08-31  Wim Taymans  <wim@fluendo.com>
24635
24636         * gst/gstminiobject.c: (gst_mini_object_ref):
24637         Cannot assert that the refcount has to be positive
24638         since a disposed object can be resurrected.
24639
24640 2005-08-31  Wim Taymans  <wim@fluendo.com>
24641
24642         * gst/gstpad.c: (gst_pad_init):
24643         Revert change, need to first fix badly behaving 
24644         apps.
24645
24646 2005-08-30  Wim Taymans  <wim@fluendo.com>
24647
24648         * check/elements/fakesrc.c: (setup_fakesrc):
24649         * check/elements/identity.c: (setup_identity):
24650         Activate pads before using them.
24651
24652 2005-08-30  Wim Taymans  <wim@fluendo.com>
24653
24654         * gst/base/gstadapter.c: (gst_adapter_flush):
24655         Flushing out 0 bytes is ok for this function.
24656
24657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24658         no newsegment gives a warning and sets the start/stop to 
24659         invalid.
24660
24661         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
24662         (gst_base_transform_set_passthrough):
24663         Some debug info.
24664
24665         * gst/gstminiobject.c: (gst_mini_object_ref):
24666         Check refcount here too.
24667
24668         * gst/gstpad.c: (gst_pad_init):
24669         Pads are initially flushing and refusing data.
24670
24671         * gst/gstutils.c: (gst_element_link_pads_filtered):
24672         When adding a capsfilter element make sure it has the
24673         same state as the parent bin.
24674
24675 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24676
24677         * docs/gst/tmpl/.cvsignore:
24678         * docs/gst/tmpl/gstformat.sgml:
24679         * docs/gst/tmpl/gstversion.sgml:
24680         * gst/gstbus.h:
24681         * gst/gstformat.c:
24682         * gst/gstformat.h:
24683         * gst/gstversion.h.in:
24684           more docs and two more inlined
24685
24686 2005-08-30  Wim Taymans  <wim@fluendo.com>
24687
24688         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
24689         Don't sync to clock.
24690
24691 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24692
24693         * docs/gst/gstreamer-sections.txt:
24694           ultral33t func10ns deserve to appear in the docs actually
24695         * docs/gst/tmpl/.cvsignore:
24696         * docs/gst/tmpl/gstcompat.sgml:
24697         * docs/gst/tmpl/gstconfig.sgml:
24698         * gst/check/gstcheck.c:
24699         * gst/gstcompat.h:
24700         * gst/gstconfig.h.in:
24701           inlined more docs
24702
24703 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24704
24705         * docs/gst/tmpl/.cvsignore:
24706         * docs/gst/tmpl/gstquery.sgml:
24707         * docs/gst/tmpl/gstutils.sgml:
24708         * gst/gstquery.c:
24709         * gst/gstquery.h:
24710           inlined and extended docs
24711
24712 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
24713
24714         * check/gst-libs/controller.c: (GST_START_TEST),
24715         (gst_controller_suite):
24716           more tests
24717         * docs/gst/tmpl/gstutils.sgml:
24718         * docs/libs/gstreamer-libs-sections.txt:
24719         * docs/libs/tmpl/gstdataprotocol.sgml:
24720           include path fixes
24721         * examples/controller/audio-example.c: (main):
24722           controller example works now
24723         * gst/gstclock.h:
24724           doc fixes
24725         * tools/gst-inspect.c: (print_element_properties_info):
24726           show param spec flags
24727
24728 2005-08-29  Andy Wingo  <wingo@pobox.com>
24729
24730         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
24731
24732 2005-08-28  Andy Wingo  <wingo@pobox.com>
24733
24734         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
24735         as having two arguments instead of just one. Allows superclasses
24736         to access information on subclasses -- see the terrible for() loop
24737         in gtype.c:g_type_create_instance for the reason why. All callers
24738         changed.
24739
24740 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24741
24742         * docs/design/part-messages.txt:
24743           update info
24744         * docs/gst/tmpl/.cvsignore:
24745         * docs/gst/tmpl/gstcaps.sgml:
24746         * docs/gst/tmpl/gstclock.sgml:
24747         * gst/gstbus.c:
24748         * gst/gstcaps.c:
24749         * gst/gstcaps.h:
24750         * gst/gstclock.c:
24751         * gst/gstclock.h:
24752         * gst/gstmessage.c:
24753           added descriptions for bus and message
24754           inline caps and clock docs
24755
24756 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24757
24758         * gst/gstmessage.c:
24759         * gst/gstmessage.h:
24760           doc fixes
24761
24762 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
24763
24764         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
24765           fix div-by-zero
24766
24767 2005-08-26  Andy Wingo  <wingo@pobox.com>
24768
24769         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
24770         element_set_state's return val.
24771         (test_2_elements): Add test that's been disabled for months.
24772
24773         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
24774         can-activate-pull properties.
24775
24776         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
24777         can-activate-pull properties. Implement is_seekable so fakesrc can
24778         operate in pull mode.
24779
24780         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
24781         properties.
24782         (gst_base_sink_activate, gst_base_sink_activate_pull)
24783         (gst_base_sink_activate_push): Make activation mode choosing work.
24784         Cleanups.
24785         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
24786         is right. Make pull mode work. Post an eos before pausing in pull
24787         mode.
24788         (gst_base_sink_change_state): Pay attention to the core's
24789         change_state() return val.
24790         
24791         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
24792         has-getrange properties. Cleanups.
24793         
24794         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
24795         has_getrange and replace with can_activate_pull and
24796         can_activate_push.
24797
24798         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
24799         locking comments. Remove has_loop, has_chain and replace with
24800         can_activate_pull and can_activate_push.
24801
24802 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
24803
24804         * configure.ac:
24805         * examples/Makefile.am:
24806         * examples/metadata/Makefile.am:
24807         * examples/metadata/read-metadata.c: (message_loop),
24808         (have_pad_handler), (make_pipeline), (print_tag), (main):
24809           Add metadata reading example that loops over a list of filenames,
24810           dumping any tags found.
24811
24812         * gst/gstbus.c: (gst_bus_dispose):
24813         * gst/gstelement.c: (gst_element_dispose):
24814           Release a few potentially-held references in dispose.
24815
24816 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24817
24818         * docs/gst/tmpl/gstminiobject.sgml:
24819           do *not* add tmpl/*.sgml files to CVS!
24820
24821 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24822
24823         * libs/gst/bytestream/.cvsignore:
24824         * libs/gst/bytestream/Makefile.am:
24825         * libs/gst/bytestream/adapter.c:
24826         * libs/gst/bytestream/adapter.h:
24827         * libs/gst/bytestream/bytestream.c:
24828         * libs/gst/bytestream/bytestream.h:
24829         * libs/gst/bytestream/filepad.c:
24830         * libs/gst/bytestream/filepad.h:
24831           removing obsolete files
24832
24833 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24834
24835         * docs/gst/gstreamer-docs.sgml:
24836         * docs/libs/gstreamer-libs-docs.sgml:
24837           disabed additional index entries again, as this makes docs-gen just
24838           slow and they aren't useful yet
24839         * docs/libs/gstreamer-libs-sections.txt:
24840           little -section.txt cleanup for libs
24841
24842 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
24843
24844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24845         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24846           fix up some debugging
24847         (gst_base_transform_get_unit_size),
24848         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24849         (gst_base_transform_handle_buffer):
24850         * gst/base/gstbasetransform.h:
24851           handle and store timed NEWSEGMENT events so that subclasses that
24852           calculate time by counting samples have a segment_start time they
24853           need to add to their timestamps - see audioresample
24854
24855 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
24856
24857         * gst/gstbin.h:
24858           removed ';' from the end of macro defs
24859         * docs/gst/gstreamer-docs.sgml:
24860         * docs/gst/gstreamer-sections.txt:
24861         * docs/gst/tmpl/.cvsignore:
24862         * gst/gstbus.h:
24863         * gst/gstelement.c: (gst_element_class_init),
24864         (gst_element_set_state), (activate_pads),
24865         (gst_element_save_thyself):
24866         * gst/gstevent.c: (gst_event_new_newsegment):
24867         * gst/gstevent.h:
24868         * gst/gstiterator.c:
24869         * gst/gstiterator.h:
24870         * gst/gstpad.c:
24871         * gst/gstprobe.h:
24872         * gst/gstutils.c: (gst_pad_query_convert):
24873         * gst/gstutils.h:
24874           fixed parameter name mismatches between source, header and docs
24875           added some more docs, resolved the last batch of unused elements in
24876           docs (now someone needs to doc them)
24877
24878 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24879
24880         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24881         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24882           don't walk through the plugins backwards.  Where is all this
24883           reversed logic coming from ?
24884
24885 2005-08-25  Wim Taymans  <wim@fluendo.com>
24886
24887         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24888         (gst_base_transform_transform_size),
24889         (gst_base_transform_configure_caps),
24890         (gst_base_transform_get_unit_size),
24891         (gst_base_transform_buffer_alloc),
24892         (gst_base_transform_change_state):
24893         * gst/base/gstbasetransform.h:
24894         Cache caps unit_size.
24895         Make sure we cannot negotiate up and downstream at the
24896         same time.
24897
24898 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24899
24900         * gst/gst.c: (init_pre), (init_post):
24901           register the installed plugin path after the env var
24902         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24903         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24904           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24905           directories, so the tests can prefer uninstalled over installed
24906
24907 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
24908
24909         * gst/base/gstbasetransform.h:
24910           comment
24911         * gst/gstpad.c:
24912           add to docs
24913
24914 2005-08-25  Wim Taymans  <wim@fluendo.com>
24915
24916         * gst/gstbin.c: (bin_bus_handler):
24917         Be a bit more conservative about the posted message.
24918         
24919         * gst/gstbus.c: (gst_bus_post):
24920         Some cleanups, warn wrong return values.
24921
24922 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
24923
24924         * check/gst/gstbin.c: (GST_START_TEST):
24925         * gst/gstbin.c: (bin_bus_handler):
24926         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24927         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24928         (gst_message_new_warning), (gst_message_new_tag),
24929         (gst_message_new_state_changed), (gst_message_new_segment_start),
24930         (gst_message_new_segment_done), (gst_message_new_custom):
24931         * gst/gstmessage.h:
24932         * tools/gst-launch.c: (event_loop):
24933         * tools/gst-md5sum.c: (event_loop):
24934           Revert unpopular change for GST_MESSAGE_SRC to GObject.
24935
24936 2005-08-25  Wim Taymans  <wim@fluendo.com>
24937
24938         * check/generic/states.c: (GST_START_TEST):
24939         Cleanup can be done at the end.
24940
24941         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24942         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24943         (gst_task_get_state), (gst_task_start), (gst_task_pause):
24944         Oh boy.. Thanks for finding this, Thomas. 
24945
24946 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24947
24948         * docs/gst/gstreamer.types:
24949           added missing types
24950
24951 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
24952
24953         * docs/gst/gstreamer-docs.sgml:
24954         * docs/gst/gstreamer-sections.txt:
24955         * docs/gst/tmpl/.cvsignore:
24956         * gst/gstbin.c:
24957         * gst/gstiterator.c:
24958         * gst/gstutils.c:
24959         * gst/registries/gstxmlregistry.h:
24960           added missing classes and symbols (123 more to go)
24961           removed removed symbols from section file
24962           fixed many doc-comments
24963
24964 2005-08-24  Wim Taymans  <wim@fluendo.com>
24965
24966         * check/generic/states.c: (GST_START_TEST):
24967         Make sure all tasks are stopped.
24968
24969         * check/gst/gstbin.c: (GST_START_TEST):
24970         Unref after usage for proper valgrinding.
24971
24972         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24973         Really wait for the task to stop before destroying the
24974         mutex.
24975
24976         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24977         (gst_queue_src_activate_push):
24978         Small cleanups. Don't stop the task when we did not start
24979         it.
24980
24981         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24982         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24983         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24984         (gst_task_join):
24985         * gst/gsttask.h:
24986         Protect the stream lock with the object lock.
24987         Disallow setting the stream lock when running.
24988         Add cleanup_all to wait for the threadpool to finish.
24989         Remove code to autoallocate a mutex if none was provided.
24990         Add _join() to wait for a task to stop.
24991         Protect the thread pool with a global lock.
24992
24993 2005-08-24  Wim Taymans  <wim@fluendo.com>
24994
24995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24996         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24997         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24998         * gst/base/gstbasesink.h:
24999         Handle newsegment events correctly.
25000         Drop buffers out of the segment range.
25001
25002 2005-08-22  Andy Wingo  <wingo@pobox.com>
25003
25004         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
25005         macro, implements an interface and gstimplementsinterface for a
25006         new type.
25007
25008 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25009
25010         * check/Makefile.am:
25011         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
25012           add a test that does a bunch of state changes on elements
25013           needs some fixing for valgrind
25014         * check/states/sinks.c: (gst_object_suite):
25015           whitespace
25016         * gst/gstcaps.h:
25017           add prototype for gst_caps_is_equal_fixed
25018         * gst/gstplugin.c:
25019         * gst/gstregistrypool.c:
25020           doc fixes
25021
25022 2005-08-24  Andy Wingo  <wingo@pobox.com>
25023
25024         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
25025         convert a negative value. Doesn't make much sense. Mostly this is
25026         here to force callers to ensure -1 maps to -1.
25027
25028 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
25029
25030         * docs/pwg/advanced-types.xml:
25031           Well done to Michael for catching my deliberate introduction
25032           of this spelling mistake. 
25033         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
25034         * gst/gstelement.h:
25035           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
25036           unlink pads before removing the element from the bin.
25037
25038 2005-08-24  Andy Wingo  <wingo@pobox.com>
25039
25040         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
25041         the same thing as GST_DEBUG=*:4.
25042         (parse_debug_level, parse_debug_category): New helper parsers.
25043
25044 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25045
25046         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25047         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
25048         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
25049         (gst_base_transform_buffer_alloc),
25050         (gst_base_transform_handle_buffer):
25051           use gboolean return values and pointers to size so we can use the
25052           full GST_BUFFER_SIZE range (guint) for buffer sizes
25053           use GstPadDirection for transform_caps
25054         * gst/base/gstbasetransform.h:
25055           rename get_size to get_unit_size since that's what it is
25056         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
25057           use GstPadDirection for transform_caps
25058         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25059         * gst/gstutils.h:
25060           cleanup and debugging
25061
25062 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
25063
25064         * gst/gstelement.c: (gst_element_class_init),
25065         (gst_element_set_state), (activate_pads),
25066         (gst_element_save_thyself):
25067         * tools/gst-compprep.c: (main):
25068         * tools/gst-inspect.c: (print_element_properties_info):
25069         * tools/gst-xmlinspect.c: (print_element_properties):
25070           Fixed long standing mem-leak
25071
25072 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
25073
25074         * check/gst/gstbin.c: (GST_START_TEST):
25075         * gst/gstbin.c: (bin_bus_handler):
25076         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
25077         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
25078         (gst_message_new_warning), (gst_message_new_tag),
25079         (gst_message_new_state_changed), (gst_message_new_segment_start),
25080         (gst_message_new_segment_done), (gst_message_new_custom):
25081         * gst/gstmessage.h:
25082         * tools/gst-launch.c: (event_loop):
25083         * tools/gst-md5sum.c: (event_loop):
25084           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
25085           that applications can sensibly post custom messages with references
25086           to their own objects.
25087
25088 2005-08-24  Andy Wingo  <wingo@pobox.com>
25089
25090         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
25091         already.
25092
25093 2005-08-24  Wim Taymans  <wim@fluendo.com>
25094
25095         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25096         (gst_base_transform_transform_caps),
25097         (gst_base_transform_transform_size),
25098         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25099         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25100         (gst_base_transform_handle_buffer):
25101         * gst/base/gstbasetransform.h:
25102         Many fixes and new features added by Thomas. Can now also do
25103         transforms with variable sizes and a custom fixate_caps function.
25104
25105 2005-08-24  Wim Taymans  <wim@fluendo.com>
25106
25107         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25108         Some debugging.
25109
25110         * gst/gstclock.h:
25111         Cast to ClockTime before formatting to time.
25112
25113         * gst/gstutils.h:
25114         Cleanups.
25115
25116 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
25117
25118         * check/gst-libs/controller.c: (GST_START_TEST),
25119         (gst_controller_suite):
25120         * docs/gst/tmpl/gstcaps.sgml:
25121         * docs/gst/tmpl/gstghostpad.sgml:
25122         * docs/gst/tmpl/gstquery.sgml:
25123         * docs/gst/tmpl/gstutils.sgml:
25124         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
25125         (gst_object_sink_values), (gst_object_get_value_arrays),
25126         (gst_object_get_value_array):
25127           gracefully handle helper method calls to objects that are not beeing
25128           controlled, added test case for that          
25129
25130 2005-08-23  Wim Taymans  <wim@fluendo.com>
25131
25132         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
25133         (gst_event_new_newsegment), (gst_event_parse_newsegment),
25134         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
25135         (gst_event_parse_qos), (gst_event_new_seek),
25136         (gst_event_parse_seek):
25137         * gst/gstevent.h:
25138         Some more debugging output and doc cleanups.
25139
25140         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25141         Fix possible deadlock.
25142
25143 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25144
25145         * docs/gst/gstreamer-docs.sgml:
25146         * docs/gst/gstreamer-sections.txt:
25147         * docs/gst/gstreamer.types:
25148         * docs/gst/tmpl/.cvsignore:
25149         * gst/gstbin.h:
25150         * gst/gstbus.c:
25151         * gst/gstelement.c:
25152         * gst/gstevent.h:
25153           added 100 symbols from gstreamer-unused.txt to the right sections
25154           fixed more broken comments
25155           added GstBus to docs
25156
25157 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25158
25159         * docs/gst/gstreamer-sections.txt:
25160         * docs/gst/tmpl/.cvsignore:
25161         * docs/gst/tmpl/gstbin.sgml:
25162         * docs/gst/tmpl/gstbuffer.sgml:
25163         * gst/base/gstbasesrc.c:
25164         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
25165         * gst/gstbuffer.c:
25166         * gst/gstbuffer.h:
25167         * tools/gst-launch.1.in:
25168           inlined more doc comments, added missing comments and fixed comments
25169           fixed typos
25170
25171 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
25172
25173         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
25174           some debugging
25175         * gst/gstcaps.h:
25176           whitespace fixes
25177         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
25178           more debugging
25179         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
25180         * gst/gststructure.h:
25181           add a fixate function for booleans; add a FIXME that these func
25182           names should probably be gst_structure_fixate_*
25183
25184 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
25185
25186         * docs/gst/gstreamer-docs.sgml:
25187         * docs/gst/gstreamer-sections.txt:
25188         * gst/Makefile.am:
25189         * gst/gstbin.c: (gst_bin_get_type),
25190         (gst_bin_child_proxy_get_child_by_index),
25191         (gst_bin_child_proxy_get_children_count),
25192         (gst_bin_child_proxy_init):
25193         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
25194         (gst_child_proxy_get_child_by_index),
25195         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
25196         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
25197         (gst_child_proxy_get), (gst_child_proxy_set_property),
25198         (gst_child_proxy_set_valist), (gst_child_proxy_set),
25199         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
25200         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
25201         * gst/gstchildproxy.h:
25202         * gst/parse/grammar.y:
25203         * tools/gst-inspect.c: (print_interfaces),
25204         (print_element_properties_info), (print_element_info):
25205           ported gstchildproxy over from 0.8
25206           ported gst-inspect fixes and enhancements over from 0.8
25207
25208 2005-08-22  Wim Taymans  <wim@fluendo.com>
25209
25210         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25211         (gst_base_transform_handle_buffer):
25212         Also call the transform function if we have ANY caps.
25213
25214         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
25215         Fix debug info.
25216
25217 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25218
25219         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
25220           Don't pretend to handle seek events if the source is not seekable
25221
25222 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
25223
25224         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25225           Remove extra parameter to debug output
25226
25227         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25228         (gst_base_src_do_seek), (gst_base_src_activate_push):
25229           Fix seek event handling.
25230
25231         * gst/gstpipeline.c: (gst_pipeline_change_state):
25232         * gst/gstqueue.c: (gst_queue_handle_sink_event),
25233         (gst_queue_src_activate_push):
25234           Don't start the src pad task on FLUSH_STOP if the pad
25235           isn't linked.
25236           Debug changes.
25237
25238 2005-08-22  Wim Taymans  <wim@fluendo.com>
25239
25240         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
25241         Added check for gst_static_caps_get() refcounting.
25242
25243 2005-08-22  Wim Taymans  <wim@fluendo.com>
25244
25245         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
25246         Make _static_caps_get() refcounting sane.
25247         
25248         * gst/gstelement.c: (gst_element_set_state):
25249         Add g_return_val_if_fail() to protect against segfaults.
25250
25251 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
25252
25253         * docs/gst/tmpl/gstevent.sgml:
25254         * gst/gstevent.c:
25255         * gst/gstevent.h:
25256           inlined remaining docs, added missing doc comments
25257
25258 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25259
25260         * check/gst/gstbin.c: (GST_START_TEST):
25261           since we don't know when preroll is done, use refcount range
25262           check for the sink
25263         * gst/check/gstcheck.h:
25264           add macro for checking refcount range
25265
25266 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25267
25268         * check/Makefile.am:
25269           clean up environment for when registry gets built versus
25270           when actual tests are run; valgrind seems to not report
25271           leaks if GST_PLUGIN_PATH is set to some specific values
25272         * check/gst/gstbin.c: (GST_START_TEST):
25273           add more refcounting checks; maybe this exposes a
25274           preroll lock bug ?
25275         * common/check.mak:
25276         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25277         * gst/check/gstcheck.h:
25278         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
25279         (gst_bin_change_state):
25280         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
25281           add/fix debugging/whitespace
25282
25283 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25284
25285         * check/gst/gstevent.c: (event_probe), (test_event),
25286         (GST_START_TEST):
25287          Er, don't call gst_bin_watch_for_state_change you idiot.
25288
25289 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
25290
25291         * check/Makefile.am:
25292           Use CHECK_CFLAGS and CHECK_LIBS
25293         * check/gst/gstevent.c: (event_probe), (test_event),
25294         (GST_START_TEST):
25295           Don't leak events.
25296         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25297         (gst_base_src_start), (gst_base_src_stop),
25298         (gst_base_src_activate_push), (gst_base_src_activate_pull),
25299         (gst_base_src_change_state):
25300           Sprinkle gst_base_src_stop liberally around error paths to fix
25301           problems reusing a source after failed state changes.
25302         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25303         (helper_find_suggest), (gst_type_find_helper):
25304           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
25305         * gst/gstevent.h:
25306         * docs/gst/tmpl/gstevent.sgml:
25307           Migrate part of the docs from the SGML file. Wait for ensonic to
25308           tell me how I did it wrong ;)
25309         * tools/gst-typefind.c: (main):
25310           Extra robustness to state changes between files.
25311
25312 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25313
25314         * check/Makefile.am:
25315           don't valgrind the controller test - it's leaking - Stefan, HELP
25316         * gst/check/gstcheck.c: (gst_check_message_error),
25317         (gst_check_chain_func), (gst_check_setup_element),
25318         (gst_check_teardown_element), (gst_check_setup_src_pad),
25319         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
25320         (gst_check_teardown_sink_pad):
25321         * gst/check/gstcheck.h:
25322           add a bunch of methods to set up elements, and src and sink pads
25323         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
25324         * check/elements/identity.c: (setup_identity), (cleanup_identity),
25325         (GST_START_TEST):
25326           use them
25327         * gst/gstmessage.c:
25328         * gst/gsttag.h:
25329           whitespace/doc fixes
25330
25331 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25332
25333         * gst/gstelement.h:
25334           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
25335           be handled by the application and not always printed as well
25336
25337 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25338
25339         * check/Makefile.am:
25340           set GST_TOOLS_DIR
25341         * gst/check/gstcheck.c: (gst_check_message_error):
25342         * gst/check/gstcheck.h:
25343           add a fail_unless_equals_int
25344           add fail_unless for error messages
25345
25346 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25347
25348         * check/Makefile.am:
25349         * check/gst.supp:
25350         * common/Makefile.am:
25351         * common/check.mak:
25352         * common/gst.supp:
25353           factor out some of the common stuff so we can use it
25354
25355 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25356
25357         * check/Makefile.am:
25358         * check/gst/gstiterator.c: (GST_START_TEST):
25359         * check/gst/gstsystemclock.c: (GST_START_TEST),
25360         (gst_systemclock_suite):
25361         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25362         * gst/gstclock.c:
25363           valgrind more tests
25364
25365 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
25366
25367         * check/elements/.cvsignore:
25368         * check/elements/gstfakesrc.c:
25369           rename to name of element
25370         * check/elements/identity.c: (chain_func), (event_func),
25371         (setup_identity), (cleanup_identity), (GST_START_TEST),
25372         (identity_suite), (main):
25373           add a test for identity
25374         * check/Makefile.am:
25375         * pkgconfig/Makefile.am:
25376         * pkgconfig/gstreamer-check.pc.in:
25377         * pkgconfig/gstreamer-check-uninstalled.pc.in:
25378         * gst/check:
25379         * gst/Makefile.am:
25380         * configure.ac:
25381           move the check stuff to a library that gets installed
25382         * check/gst-libs/controller.c: (GST_START_TEST):
25383         * check/gst-libs/gdp.c:
25384         * check/gst/gst.c: (GST_START_TEST):
25385         * check/gst/gstbin.c:
25386         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25387         * check/gst/gstbus.c:
25388         * check/gst/gstcaps.c: (GST_START_TEST):
25389         * check/gst/gstelement.c:
25390         * check/gst/gstghostpad.c:
25391         * check/gst/gstiterator.c:
25392         * check/gst/gstmessage.c:
25393         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
25394         * check/gst/gstobject.c:
25395         * check/gst/gstpad.c: (GST_START_TEST):
25396         * check/gst/gststructure.c: (GST_START_TEST):
25397         * check/gst/gstsystemclock.c: (GST_START_TEST),
25398         (gst_systemclock_suite):
25399         * check/gst/gsttag.c: (gst_tag_suite):
25400         * check/gst/gstvalue.c:
25401         * check/pipelines/cleanup.c:
25402         * check/pipelines/simple_launch_lines.c:
25403         * check/states/sinks.c:
25404           change include statement
25405
25406         * docs/gst/gstreamer-sections.txt:
25407         * docs/gst/tmpl/gstpad.sgml:
25408           document more pad stuff
25409         * gst/gstminiobject.c: (gst_mini_object_ref),
25410         (gst_mini_object_unref):
25411           debug refcounting
25412
25413 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
25414
25415         * docs/gst/tmpl/gst.sgml:
25416         * gst/gst.c:
25417           eliminate another tmpl file, fix spelling in the long-description
25418
25419 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25420
25421         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25422         (test_event), (timediff), (gstevents_suite):
25423           Should fix build on 64-bit arch's
25424
25425 2005-08-18  Andy Wingo  <wingo@pobox.com>
25426
25427         Make sure that when a pipeline goes to PLAYING, that data has
25428         actually hit the sink.
25429
25430         * check/states/sinks.c (test_sink): A sink that doesn't get any
25431         data shouldn't return SUCCESS for going to either PLAYING or
25432         PAUSED. Test also the return values on the way back down.
25433
25434         * gst/gstelement.c (gst_element_set_state): When changing the
25435         state of an element currently changing state asynchronously, go to
25436         lost-state after commiting the pending state. Makes future calls
25437         to get_state continue to return ASYNC.
25438
25439         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
25440         ASYNC when going to PLAYING if we still don't have preroll, as can
25441         happen with live sources.
25442
25443 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25444
25445         * docs/pwg/advanced-types.xml:
25446           Hack long paragraph into 2 chunks as a workaround for buggy
25447           jadetex version in sid and breezy that loops infinitely and
25448           eats all RAM.
25449
25450 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25451
25452         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25453         (test_event), (timediff), (gstevents_suite):
25454           Provide more error margin in clock measurements to allow for 
25455           g_get_current_time inaccuracies.
25456
25457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25458
25459         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25460         (test_event), (timediff), (gstevents_suite):
25461            Fix error message output so I might be able to tell why the
25462            test works here but fails on the build farm.
25463
25464 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
25465
25466         * check/Makefile.am:
25467         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
25468         (test_event), (timediff), (gstevents_suite), (main):
25469           I wrote a test!
25470
25471         * docs/design/part-seeking.txt:
25472           Spelling correction
25473
25474         * docs/gst/tmpl/gstevent.sgml:
25475         * docs/gst/tmpl/gstfakesrc.sgml:
25476           Docs updates.
25477
25478         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25479           Treat a buffer-without-newsegment the same as a receiving 
25480           a newsegment not in time format, and disable syncing to the clock
25481           with a warning.
25482
25483         * gst/gstbus.c: (gst_bus_set_sync_handler):
25484           Assert if anyone tries to replace the existing sync_handler for bus, 
25485           as only the owner should be setting it.
25486
25487         * gst/gstevent.h:
25488           Have a fixed set of custom event enums with events identified by
25489           their structure name (as in 0.8), rather than a free-for-all
25490           allowing collisions between enum values from different plugins.
25491
25492         * gst/gstpad.c: (gst_pad_class_init):
25493           Docs change.
25494           
25495         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25496           Handle out-of-band downstream events from the sending thread.
25497
25498 2005-08-17  Andy Wingo  <wingo@pobox.com>
25499
25500         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
25501         play-timeout==0 to mean no timeout at all. In that case, don't
25502         bother with a get_state or a warning, just return directly, even
25503         if it's ASYNC.
25504
25505         * gst/base/gstbasetransform.c: Debug changes.
25506
25507         * gst/gstutils.h:
25508         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
25509         ensure bins post state change messages. A bit of a hack but I can't
25510         think of a way to avoid it.
25511
25512         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
25513
25514 2005-08-16  Andy Wingo  <wingo@pobox.com>
25515
25516         * gst/base/gstadapter.h:
25517         * gst/base/gstadapter.c (gst_adapter_take): New function, like
25518         peek() but you own the data. Not terribly efficient atm.
25519
25520 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25521
25522         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
25523         (gst_element_found_tags):
25524         * gst/gstutils.h:
25525           Add two utility functions for tag handling.
25526
25527 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25528
25529         * docs/manual/advanced-dataaccess.xml:
25530         * docs/manual/basics-helloworld.xml:
25531           Fix docs to use _bin_add() before _link(), which fixes the examples
25532           with recent core versions (reported by Madhan Raj M
25533           <raj_madan@rediffmail.com>, #313199).
25534
25535 2005-08-16  Wim Taymans  <wim@fluendo.com>
25536
25537         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25538         Added subtract checks.
25539
25540         * docs/design/part-events.txt:
25541         Some more docs about newsegment
25542
25543         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25544         Fix FIXME
25545
25546         * gst/gstcaps.c: (gst_caps_to_string):
25547         Add comments, cleanups.
25548         
25549         * gst/gstelement.c: (gst_element_save_thyself):
25550         cleanups
25551         
25552         * gst/gstvalue.c: (gst_value_collect_int_range),
25553         (gst_string_unwrap), (gst_value_union_int_int_range),
25554         (gst_value_union_int_range_int_range),
25555         (gst_value_intersect_int_int_range),
25556         (gst_value_intersect_int_range_int_range),
25557         (gst_value_intersect_double_double_range),
25558         (gst_value_intersect_double_range_double_range),
25559         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
25560         (gst_value_subtract_int_range_int),
25561         (gst_value_subtract_double_range_double),
25562         (gst_value_subtract_double_range_double_range),
25563         (gst_value_subtract_from_list), (gst_value_subtract_list),
25564         (gst_value_can_compare), (gst_value_compare_fraction):
25565         Cleanups, add comments, remove unneeded asserts.
25566
25567 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25568
25569         * tools/gst-launch.c: (event_loop):
25570           don't convert NULL structures to strings
25571
25572 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
25573
25574         * docs/gst/gstreamer-sections.txt:
25575           made some defines private
25576         * docs/gst/tmpl/gstconfig.sgml:
25577         * docs/gst/tmpl/gstqueue.sgml:
25578         * docs/gst/tmpl/gsttaglist.sgml:
25579         * docs/gst/tmpl/gsttypes.sgml:
25580         * docs/gst/tmpl/gstutils.sgml:
25581         * docs/pwg/appendix-porting.xml:
25582         * gst/base/gstbasesink.h:
25583         * gst/base/gstbasesrc.c:
25584         * gst/base/gstbasesrc.h:
25585         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
25586         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
25587         * gst/gstelement.c: (gst_element_class_init):
25588         * gst/gstpad.c: (gst_pad_class_init):
25589         * gst/gstqueue.c: (gst_queue_class_init):
25590         * gst/gstxml.c: (gst_xml_class_init):
25591           documented all undocumented signal inline
25592         * libs/gst/controller/gst-controller.h:
25593           added padding
25594
25595 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25596
25597         * docs/pwg/appendix-porting.xml:
25598           Document _set_link_function -> _set_setcaps_function.
25599
25600 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
25601
25602         * check/Makefile.am:
25603           add a .check target for running the check
25604         * check/gst-libs/controller.c: (GST_START_TEST):
25605           cosmetic fixups
25606         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25607           complete checks for gstbuffer; would be nice if I could get the
25608           gcov stuff to work so I can see if I actually completed gstbuffer.c
25609         * check/gstcheck.h:
25610           add ASSERT_BUFFER_REFCOUNT
25611
25612 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
25613
25614         * docs/gst/gstreamer-sections.txt:
25615         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
25616         * gst/gsttag.h:
25617           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
25618           spew out a warning if a tag that is already registered
25619           is re-registered, unless it is re-registered with a 
25620           different type (#308438).
25621
25622 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
25623
25624         * docs/pwg/appendix-porting.xml:
25625         * docs/pwg/building-state.xml:
25626           Add some paragraphs about state changes in 0.9 to the PWG
25627           and the porting guide, in particular about the new meaning
25628           of GST_STATE_PAUSED and how to write state change functions
25629           with concurrent access by multiple threads in mind.
25630
25631 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
25632
25633         * docs/gst/gstreamer-docs.sgml:
25634         * docs/libs/gstreamer-libs-docs.sgml:
25635           added deprecation and since indexes
25636         * libs/gst/controller/gst-controller.c:
25637         * libs/gst/controller/gst-helper.c:
25638           added since tags
25639
25640
25641 2005-08-11  Wim Taymans  <wim@fluendo.com>
25642
25643         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
25644         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
25645         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
25646         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
25647         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
25648         (gst_ghost_pad_set_target):
25649         Actually implement (re)setting the target on a ghostpad
25650         as described in the docs.
25651
25652 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25653
25654         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
25655           Check whether GST_DEBUG_NO_COLOR environment variable is
25656           set and disable coloured debug output if that is the case.
25657
25658 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
25659
25660         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25661         (gst_type_find_helper):
25662           The memory returned by gst_type_find_peek() needs to
25663           stay valid until the end of a typefind function, and
25664           typefind functions may keep results from different 
25665           offsets around, so we can't just unref the buffer from
25666           the previous _peek(), but have to save all buffers 
25667           returned by _peek() until typefinding is done and only
25668           free them then.
25669
25670 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
25671
25672         * docs/gst/gstreamer-sections.txt:
25673         * gst/gstutils.h:
25674           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
25675
25676 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25677
25678         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
25679           Fix a pretty good memleak.
25680
25681 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25682
25683         * gst/gstiterator.h:
25684           Fix wrong include and 'make distcheck'.
25685
25686 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25687
25688         * gst/gstbin.c: (bin_bus_handler):
25689           Use gst_element_post_message() instead.
25690
25691 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
25692
25693         * gst/base/gstadapter.h:
25694         * gst/base/gstbasesink.h:
25695         * gst/base/gstbasesrc.h:
25696         * gst/base/gstbasetransform.h:
25697         * gst/base/gstcollectpads.h:
25698         * gst/base/gstpushsrc.h:
25699         * gst/gstiterator.h:
25700           Add padding to our base elements' class and instance structs and
25701           to GstIterator (you will need to rebuild all plugins and apps!)
25702
25703 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25704
25705         * gst/gstbin.c: (bin_bus_handler):
25706           Make default message forwarding from child->bus to bin->bus
25707           threadsafe and make it not emit warnings if the parent has no bus.
25708
25709 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25710
25711         * gst/gstelement.c: (activate_pads):
25712           On paused->ready, set pad->caps to NULL, as is the documented
25713           behaviour in this state change. Fixes playback of series of
25714           media files when visualization is enabled in Totem.
25715
25716 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25717
25718         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25719           Allow NULL as filter-caps (which means "any").
25720
25721 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25722
25723         * docs/libs/gstreamer-libs-sections.txt:
25724         * libs/gst/controller/gst-controller.c:
25725         * libs/gst/controller/gst-controller.h:
25726         * libs/gst/controller/gst-helper.c:
25727           adding more entries to the docs and fix small doc-bugs
25728
25729 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25730
25731         * docs/gst/gstreamer-docs.sgml:
25732         * docs/gst/gstreamer-sections.txt:
25733         * docs/gst/gstreamer.types:
25734         * docs/gst/tmpl/gstbasesink.sgml:
25735         * docs/gst/tmpl/gstbasesrc.sgml:
25736         * docs/gst/tmpl/gstbasetransform.sgml:
25737         * docs/gst/tmpl/gstfakesrc.sgml:
25738         * gst/base/gstcollectpads.c:
25739         * gst/base/gstcollectpads.h:
25740         * libs/gst/controller/gst-controller.c:
25741         * libs/gst/controller/gst-controller.h:
25742         * libs/gst/controller/gst-helper.c:
25743         * libs/gst/controller/gst-interpolation.c:
25744         * libs/gst/controller/lib.c:
25745           added long/short desc for controller docs
25746           added collectpads base class docs
25747           added correct includes to base-class docs
25748
25749 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
25750
25751         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
25752         (gst_test_mono_source_set_property),
25753         (gst_test_mono_source_class_init), (GST_START_TEST),
25754         (gst_controller_suite):
25755         * docs/gst/gstreamer-docs.sgml:
25756         * docs/gst/gstreamer-sections.txt:
25757         * docs/gst/gstreamer.types:
25758         * docs/libs/gstreamer-libs-docs.sgml:
25759         * docs/libs/gstreamer-libs-sections.txt:
25760         * gst/base/gstadapter.c:
25761         * libs/gst/controller/gst-controller.c:
25762         (gst_controlled_property_new), (gst_controlled_property_free),
25763         (gst_controller_new_valist),
25764         (gst_controller_remove_properties_valist),
25765         (gst_controller_sink_values), (_gst_controller_finalize):
25766         * libs/gst/controller/gst-controller.h:
25767         * libs/gst/controller/gst-helper.c:
25768         (gst_object_control_properties), (gst_object_uncontrol_properties),
25769         (gst_object_get_controller), (gst_object_set_controller),
25770         (gst_object_sink_values), (gst_object_get_value_arrays),
25771         (gst_object_get_value_array):
25772           more tests (and fixes) for the controller
25773           more docs for the controller
25774           integrated companies docs for the adapter 
25775
25776 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
25777
25778         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
25779         (GST_START_TEST), (fakesrc_suite):
25780           add tests for sizetype
25781
25782 2005-08-04  Andy Wingo  <wingo@pobox.com>
25783
25784         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
25785         fixes buffer_alloc proxying among other things.
25786
25787         * gst/base/gstbasetransform.c:
25788         * gst/base/gstbasetransform.h:
25789         Revert patch to gstbasetransform from 7-28 removing
25790         delay_configure.
25791
25792         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
25793         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
25794         Semantics changed, should return not the size of the output buffer
25795         but the byte size of a buffer with a given caps.
25796
25797         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
25798         debug object.
25799         (gst_base_transform_configure_caps): Don't set out_size here: (in,
25800         out) are not the pad caps until setcaps finishes.
25801         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25802         not-in-place case as well. Deal with changing from in-place to
25803         not-in-place within calling pad_alloc_buffer. Still a bit
25804         concerned about the overhead here...
25805
25806 2005-08-03  Andy Wingo  <wingo@pobox.com>
25807
25808         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25809         fixating is an error.
25810
25811 2005-08-04  Edward Hervey  <edward@fluendo.com>
25812
25813         * gst/base/gstadapter.h: 
25814         Added gst_adapter_get_type() to the header
25815
25816 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25817
25818         * check/Makefile.am:
25819         * check/gst-libs/controller.c:
25820         * libs/gst/controller/gst-controller.c:
25821         (gst_controller_new_valist):
25822           added check test suite for the controller
25823         * gst/base/gstpushsrc.c:
25824           fixed a doc typo
25825
25826 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25827
25828         * docs/gst/Makefile.am:
25829         * docs/gst/gstreamer-docs.sgml:
25830         * docs/gst/gstreamer-sections.txt:
25831         * docs/gst/gstreamer.types:
25832         * docs/gst/tmpl/gstfakesrc.sgml:
25833         * gst/base/README:
25834         * gst/base/gstbasesink.c:
25835         * gst/base/gstbasesink.h:
25836         * gst/base/gstbasesrc.c:
25837         * gst/base/gstbasesrc.h:
25838         * gst/base/gstbasetransform.c:
25839         * gst/base/gstpushsrc.c:
25840         * gst/base/gstpushsrc.h:
25841           add short/long description docs to base classes
25842           add pushsrc to the docs
25843           remove consolidated doc fragments
25844
25845 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
25846
25847         * configure.ac:
25848         * docs/libs/Makefile.am:
25849         * docs/libs/gstreamer-libs-docs.sgml:
25850         * docs/libs/gstreamer-libs-sections.txt:
25851         * docs/libs/gstreamer-libs.types:
25852         * examples/Makefile.am:
25853         * examples/controller/.cvsignore:
25854         * examples/controller/Makefile.am:
25855         * examples/controller/audio-example.c: (main):
25856         * libs/gst/Makefile.am:
25857         * libs/gst/controller/.cvsignore:
25858         * libs/gst/controller/Makefile.am:
25859         * libs/gst/controller/gst-controller.c:
25860         (on_object_controlled_property_changed), (gst_timed_value_compare),
25861         (gst_timed_value_find),
25862         (gst_controlled_property_set_interpolation_mode),
25863         (gst_controlled_property_new), (gst_controlled_property_free),
25864         (gst_controller_find_controlled_property),
25865         (gst_controller_new_valist), (gst_controller_new),
25866         (gst_controller_remove_properties_valist),
25867         (gst_controller_remove_properties), (gst_controller_set),
25868         (gst_controller_set_from_list), (gst_controller_unset),
25869         (gst_controller_get), (gst_controller_get_all),
25870         (gst_controller_sink_values), (gst_controller_get_value_arrays),
25871         (gst_controller_get_value_array),
25872         (gst_controller_set_interpolation_mode),
25873         (_gst_controller_finalize), (_gst_controller_init),
25874         (_gst_controller_class_init), (gst_controller_get_type):
25875         * libs/gst/controller/gst-controller.h:
25876         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25877         (g_object_uncontrol_properties), (g_object_get_controller),
25878         (g_object_set_controller), (g_object_sink_values),
25879         (g_object_get_value_arrays), (g_object_get_value_array):
25880         * libs/gst/controller/gst-interpolation.c:
25881         (gst_controlled_property_find_timed_value_node),
25882         (interpolate_none_get), (interpolate_trigger_get),
25883         (interpolate_trigger_get_value_array):
25884         * libs/gst/controller/lib.c: (gst_controller_init):
25885         * pkgconfig/Makefile.am:
25886         * pkgconfig/gstreamer-control-uninstalled.pc.in:
25887         * pkgconfig/gstreamer-control.pc.in:
25888         * testsuite/Makefile.am:
25889         * testsuite/controller/.cvsignore:
25890         * testsuite/controller/Makefile.am:
25891         * testsuite/controller/interpolator.c: (main):
25892           added controller code
25893           removed dparam pc files
25894
25895 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25896         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25897         (gst_collectpads_stop):
25898           Broadcast the condition when shutting down, to make sure we wake all
25899           threads up. Shut down pads on finalize, for safety.
25900
25901 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
25902         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25903         (gst_base_transform_handle_buffer),
25904         (gst_base_transform_change_state):
25905           Handle PAUSED->READY->PAUSED transition after negotiation
25906           occurred already.
25907         * gst/gstmessage.c: (gst_message_init):
25908           Extra piece of debug for new messages.
25909
25910 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
25911
25912         * configure.ac:
25913         * docs/gst/tmpl/gstbasesrc.sgml:
25914         * docs/gst/tmpl/gstelement.sgml:
25915         * docs/gst/tmpl/gstevent.sgml:
25916         * docs/gst/tmpl/gstfakesrc.sgml:
25917         * docs/gst/tmpl/gstformat.sgml:
25918         * docs/gst/tmpl/gstghostpad.sgml:
25919         * docs/gst/tmpl/gstpad.sgml:
25920         * docs/gst/tmpl/gstquery.sgml:
25921         * docs/gst/tmpl/gststructure.sgml:
25922         * docs/gst/tmpl/gsttaglist.sgml:
25923         * docs/gst/tmpl/gstvalue.sgml:
25924         * docs/libs/gstreamer-libs-docs.sgml:
25925         * docs/libs/gstreamer-libs-sections.txt:
25926         * docs/libs/gstreamer-libs.types:
25927         * libs/gst/Makefile.am:
25928         * libs/gst/control/.cvsignore:
25929         * libs/gst/control/Makefile.am:
25930         * libs/gst/control/control.c:
25931         * libs/gst/control/control.h:
25932         * libs/gst/control/dparam.c:
25933         * libs/gst/control/dparam.h:
25934         * libs/gst/control/dparam_smooth.c:
25935         * libs/gst/control/dparam_smooth.h:
25936         * libs/gst/control/dparamcommon.h:
25937         * libs/gst/control/dparammanager.c:
25938         * libs/gst/control/dparammanager.h:
25939         * libs/gst/control/dplinearinterp.c:
25940         * libs/gst/control/dplinearinterp.h:
25941         * libs/gst/control/unitconvert.c:
25942         * libs/gst/control/unitconvert.h:
25943         * testsuite/Makefile.am:
25944         * testsuite/dynparams/.cvsignore:
25945         * testsuite/dynparams/Makefile.am:
25946         * testsuite/dynparams/dparamstest.c:
25947         * tools/Makefile.am:
25948         * tools/gst-inspect.c: (print_element_info), (main):
25949         * tools/gst-xmlinspect.c: (print_element_info), (main):
25950           deactivate and remove dparams (libgstcontrol)
25951
25952 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25953
25954         * gst/elements/gsttypefindelement.c:
25955         (gst_type_find_element_have_type), (gst_type_find_element_init),
25956         (stop_typefinding), (gst_type_find_element_handle_event),
25957         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25958         * gst/elements/gsttypefindelement.h:
25959           Set caps on all outgoing buffers, not just the first one.
25960
25961 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25962
25963         * gst/elements/gsttypefindelement.c:
25964         (gst_type_find_element_have_type),
25965         (gst_type_find_element_check_set_buffer_caps),
25966         (gst_type_find_element_init), (stop_typefinding),
25967         (gst_type_find_element_handle_event),
25968         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25969         * gst/elements/gsttypefindelement.h:
25970           Set caps on first outgoing buffer when we've found the type.
25971
25972 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25973
25974         * docs/gst/gstreamer-docs.sgml:
25975         * docs/gst/gstreamer-sections.txt:
25976         * docs/gst/tmpl/gstscheduler.sgml:
25977         * docs/gst/tmpl/gstschedulerfactory.sgml:
25978           Remove some old cruft from docs.
25979
25980 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25981
25982         * gst/gstpad.h:
25983           Fix inline docs for GstPadLinkReturn.
25984           
25985         * gst/gststructure.c: (gst_structure_has_name):
25986         * gst/gststructure.h:
25987         * docs/gst/gstreamer-sections.txt:
25988           New API: gst_structure_has_name().
25989
25990 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25991
25992         * configure.ac:
25993           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25994           and _LARGEFILE_SOURCE in config.h as required. Do not 
25995           export those flags in our .pc files any longer (#142209).
25996
25997           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25998
25999         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
26000         (gst_file_sink_do_seek), (gst_file_sink_event),
26001         (gst_file_sink_get_current_offset), (gst_file_sink_render):
26002           Redo seek/tell calls with large file support in mind; add some
26003           debugging messages; add log message that tells us when large
26004           file support is unavailable or not enabled for some reason.
26005
26006         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
26007           Add log message that tells us when large file support 
26008           is unavailable or not enabled for some reason.
26009
26010 2005-07-29  Wim Taymans  <wim@fluendo.com>
26011
26012         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26013         Added test for removing an element with ghostpad from a bin.
26014         Fixed test as current implementation does the right thing.
26015
26016         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
26017         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
26018         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
26019         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
26020         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
26021         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
26022         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
26023         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26024         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
26025         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
26026         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
26027         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
26028         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
26029         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
26030         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
26031         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
26032         * gst/gstghostpad.h:
26033         Clean up ghostpads, remove properties for internal stuff.
26034         Make threadsafe.
26035         Fix refcounting.
26036         Prepare for switching targets, not all use cases work yet.
26037
26038 2005-07-29  Wim Taymans  <wim@fluendo.com>
26039
26040         * docs/design/part-gstghostpad.txt:
26041         Small update.
26042
26043         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26044         (gst_bin_remove_func):
26045         Unlinking pads while holding the bin LOCK is not a good
26046         idea.
26047
26048         * gst/gstpad.c: (gst_pad_class_init),
26049         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
26050         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
26051         No prob setting template after creating the pad.
26052
26053 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
26054
26055         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
26056         (gst_bus_peek), (gst_bus_source_dispatch),
26057         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
26058         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
26059           gst_bus_poll may be called from other threads. Handle
26060           this nicely by not making poll_data disappear off the
26061           stack once gst_bus_poll returns.
26062           gst_bus_peek now increments the refcount on the returned
26063           message.
26064
26065 2005-07-29  Wim Taymans  <wim@fluendo.com>
26066
26067         * docs/design/part-gstghostpad.txt:
26068         Overview of current GhostPad datastructures and use
26069         cases for changing the target.
26070
26071 2005-07-28  Wim Taymans  <wim@fluendo.com>
26072
26073         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26074         Added checks for hierarchy consistency whan adding linked
26075         elements to bins.
26076
26077         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26078         Added check to test element scheduling without bin/pipeline.
26079
26080         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26081         First add elements to bin, then link.
26082         
26083         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
26084         (gst_bin_remove_func):
26085         Unlink pads from elements added/removed from bin to maintain
26086         hierarchy consistency.
26087
26088 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26089
26090         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
26091         (gst_base_transform_handle_buffer):
26092         * gst/base/gstbasetransform.h:
26093           Remove broken delay_configure (fixes renegotiation of software
26094           scaling pipelines); remove some leftover printf()s.
26095
26096 2005-07-28  Wim Taymans  <wim@fluendo.com>
26097
26098         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
26099         Added some more tests for wrong hierarchy
26100
26101         * docs/design/part-overview.txt:
26102         Some updates.
26103
26104         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
26105         Cleanups.
26106
26107         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
26108         (gst_element_dispose):
26109         Some more cleanups.
26110
26111         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26112         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
26113         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26114         (gst_pad_set_caps), (gst_pad_send_event):
26115         Check for correct hierarchy when linking pads. Moving to
26116         strict requirement for ghostpads when linking elements in
26117         different bins.
26118
26119         * gst/gstpad.h:
26120         Clean ups. Added WRONG_HIERARCHY return value.
26121
26122 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26123
26124         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26125           Better debug if no transform is possible.
26126
26127 2005-07-27  Wim Taymans  <wim@fluendo.com>
26128
26129         * docs/random/wtay/network-transp:
26130         Some old doc I had.
26131
26132 2005-07-27  Wim Taymans  <wim@fluendo.com>
26133
26134         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26135         (gst_dp_event_from_packet):
26136         Fix serialization of seek events.
26137
26138 2005-07-27  Wim Taymans  <wim@fluendo.com>
26139
26140         * check/gst-libs/gdp.c: (GST_START_TEST):
26141         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26142         Fix compilation and fix event serialization.
26143
26144 2005-07-27  Wim Taymans  <wim@fluendo.com>
26145
26146         * CHANGES-0.9:
26147         * docs/design/part-TODO.txt:
26148         * docs/design/part-events.txt:
26149         Some docs updates
26150
26151         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26152         (gst_base_sink_event), (gst_base_sink_do_sync),
26153         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26154         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26155         (gst_base_src_do_seek), (gst_base_src_event_handler),
26156         (gst_base_src_loop):
26157         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26158         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26159         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26160         (gst_base_transform_event), (gst_base_transform_handle_buffer),
26161         (gst_base_transform_set_passthrough),
26162         (gst_base_transform_is_passthrough):
26163         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
26164         * gst/elements/gstfilesink.c: (gst_file_sink_event):
26165         Event updates.
26166
26167         * gst/gstbuffer.h:
26168         Use faster casts.
26169
26170         * gst/gstelement.c: (gst_element_seek):
26171         * gst/gstelement.h:
26172         Update gst_element_seek.
26173
26174         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
26175         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
26176         (gst_event_new_flush_start), (gst_event_new_flush_stop),
26177         (gst_event_new_eos), (gst_event_new_newsegment),
26178         (gst_event_parse_newsegment), (gst_event_new_tag),
26179         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
26180         (gst_event_parse_qos), (gst_event_new_seek),
26181         (gst_event_parse_seek), (gst_event_new_navigation):
26182         * gst/gstevent.h:
26183         Make GstEvent use GstStructure. Add parsing code, make sure the
26184         API is sufficiently generic.
26185         Mark possible directions of events and serialization.
26186
26187         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
26188         (_gst_message_copy), (gst_message_new_segment_start),
26189         (gst_message_new_segment_done), (gst_message_new_custom),
26190         (gst_message_parse_segment_start),
26191         (gst_message_parse_segment_done):
26192         Small cleanups.
26193
26194         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26195         (gst_pad_set_caps), (gst_pad_send_event):
26196         Update for new events. 
26197         Catch events sent in wrong directions.
26198
26199         * gst/gstqueue.c: (gst_queue_link_src),
26200         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26201         (gst_queue_handle_src_query):
26202         Event updates.
26203
26204         * gst/gsttag.c:
26205         * gst/gsttag.h:
26206         Remove event code from this file.
26207
26208         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26209         (gst_dp_event_from_packet):
26210         Event updates.
26211
26212 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26213
26214         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
26215         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26216         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
26217           Make debugging actually useful.
26218
26219 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26220
26221         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
26222         (gst_pad_fixate_caps):
26223           Implement default fixation once again, so that gst_pad_fixate()
26224           actually does anything at all. This probably needs to be some
26225           sort of a last resort, and use profile-based fixation first, but
26226           since that doesn't exist yet, this is the best we have. Fixes
26227           visualization in Totem.
26228
26229 2005-07-22  Wim Taymans  <wim@fluendo.com>
26230
26231         * docs/design/part-events.txt:
26232         Small update.
26233
26234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26235         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
26236         (gst_base_sink_activate_pull):
26237         Some more comments.
26238
26239         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
26240         (gst_fake_src_create):
26241         Fix handoff marshall.
26242
26243         * gst/elements/gstidentity.c: (gst_identity_class_init),
26244         (gst_identity_transform_ip):
26245         We're a real inplace element.
26246
26247         * gst/gstbus.c: (gst_bus_post):
26248         Added some comments.
26249
26250         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
26251         * tests/muxing/case1.c: (main):
26252         * tests/sched/dynamic-pipeline.c: (main):
26253         * tests/sched/interrupt1.c: (main):
26254         * tests/sched/interrupt2.c: (main):
26255         * tests/sched/interrupt3.c: (main):
26256         * tests/sched/runxml.c: (main):
26257         * tests/sched/sched-stress.c: (main):
26258         * tests/seeking/seeking1.c: (event_received), (main):
26259         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
26260         (main):
26261         * tests/threadstate/threadstate3.c: (main):
26262         * tests/threadstate/threadstate4.c: (main):
26263         * tests/threadstate/threadstate5.c: (main):
26264         Fix the tests.
26265
26266 2005-07-21  Wim Taymans  <wim@fluendo.com>
26267
26268         * docs/design/part-seeking.txt:
26269         Some small additions.
26270
26271         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26272         (gst_base_sink_get_times), (gst_base_sink_do_sync),
26273         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
26274         * gst/base/gstbasesink.h:
26275         discont values are gint64, handle the math correctly.
26276
26277         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26278         Make the basesrc report error if the source pad is not linked.
26279
26280         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
26281         (gst_queue_loop), (gst_queue_handle_src_query),
26282         (gst_queue_src_activate_push):
26283         Make queue collect data even if the srcpad is not linked.
26284         Start pushing out data as soon as it is linked.
26285
26286         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
26287         * gst/gstutils.h:
26288         Added gst_flow_get_name() to ease error reporting.
26289
26290 2005-07-20  Wim Taymans  <wim@fluendo.com>
26291
26292         * gst/gstmessage.c: (gst_message_new_segment_start),
26293         (gst_message_new_segment_done), (gst_message_parse_segment_start),
26294         (gst_message_parse_segment_done):
26295         * gst/gstmessage.h:
26296         Added a bunch of messages for advanced seeking.
26297
26298         * gst/parse/grammar.y:
26299         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
26300         (gst_dpman_state_changed):
26301         Fix some new-pad -> pad-added signals
26302
26303 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26304
26305         * docs/manual/appendix-porting.xml:
26306         * docs/pwg/appendix-porting.xml:
26307           Document new-pad/state-change signal renames and the FixedList
26308           type rename.
26309
26310 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26311
26312         * docs/manual/advanced-autoplugging.xml:
26313         * docs/manual/basics-helloworld.xml:
26314         * docs/manual/basics-pads.xml:
26315         * docs/random/ds/0.9-suggested-changes:
26316         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
26317         * gst/gstelement.h:
26318         * gst/gstevent.h:
26319         * gst/gstformat.h:
26320         * gst/gstquery.h:
26321         * gst/gststructure.c: (gst_structure_value_get_generic_type),
26322         (gst_structure_parse_array), (gst_structure_parse_value):
26323         * gst/gstvalue.c: (gst_type_is_fixed),
26324         (gst_value_list_prepend_value), (gst_value_list_append_value),
26325         (gst_value_list_get_size), (gst_value_list_get_value),
26326         (gst_value_transform_array_string), (gst_value_serialize_array),
26327         (gst_value_deserialize_array), (gst_value_intersect_array),
26328         (gst_value_is_fixed), (_gst_value_initialize):
26329         * gst/gstvalue.h:
26330           GstElement::new-pad -> pad-added, GstElement::state-change ->
26331           state-changed, GstValueFixedList -> GstValueArray, add format and
26332           flags as their own arguments in gst_element_seek() (should improve
26333           "bindeability"), remove function generators since they don't work
26334           under a whole bunch of compilers (they were deprecated already
26335           anyway).
26336
26337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26338
26339         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
26340         (_gst_debug_register_funcptr):
26341         * gst/gstinfo.h:
26342           Fix illegal cast on some platforms (#309253).
26343
26344 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26345
26346         * gst/gstmessage.c: (gst_message_new_custom):
26347         * gst/gstmessage.h:
26348           Add _new_custom, make _new_application a macro to _new_custom.
26349
26350 2005-07-20  Wim Taymans  <wim@fluendo.com>
26351
26352         * gst/base/gstbasesrc.c: (gst_base_src_init),
26353         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
26354         * gst/base/gstbasesrc.h:
26355         Add a gboolean to decide when to push out a discont.
26356
26357         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26358         (gst_queue_loop), (gst_queue_handle_src_query),
26359         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
26360         (gst_queue_set_property), (gst_queue_get_property):
26361         Some cleanups.
26362
26363         * tests/threadstate/threadstate1.c: (main):
26364         Make a thread test compile and run... very silly..
26365
26366
26367 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26368
26369         * docs/manual/appendix-porting.xml:
26370           Mention removal of libgstgconf-0.9.la and existence of gconf
26371           elements.
26372
26373 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26374
26375         * docs/pwg/advanced-clock.xml:
26376         * docs/pwg/appendix-porting.xml:
26377         * docs/pwg/intro-preface.xml:
26378         * docs/pwg/other-base.xml:
26379         * docs/pwg/other-manager.xml:
26380         * docs/pwg/other-nton.xml:
26381         * docs/pwg/other-ntoone.xml:
26382         * docs/pwg/other-oneton.xml:
26383         * docs/pwg/pwg.xml:
26384           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
26385           demuxer), remove n-to-n (was never written), fix some code examples
26386           and links and update the porting section to include all this.
26387
26388 2005-07-19  Wim Taymans  <wim@fluendo.com>
26389
26390         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
26391         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
26392         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
26393         (gst_queue_src_activate_push), (gst_queue_change_state),
26394         (gst_queue_get_property):
26395         * gst/gstqueue.h:
26396         Propagate GstFlowReturn more intelligently upstream and output
26397         an ERROR/EOS when streaming stopped due to fatal error.
26398
26399 2005-07-19  Wim Taymans  <wim@fluendo.com>
26400
26401         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26402         Don't block forever for the state change to complete, the
26403         pipeline already did with a sensible timeout.
26404
26405 2005-07-19  Wim Taymans  <wim@fluendo.com>
26406
26407         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
26408         Make sure we never call the create function is we
26409         got deactivated.
26410
26411 2005-07-19  Andy Wingo  <wingo@pobox.com>
26412
26413         * gst/parse/parse.l: Attempt to solve bug #172815.
26414
26415 2005-07-19  Wim Taymans  <wim@fluendo.com>
26416
26417         * docs/design/part-clocks.txt:
26418         * docs/design/part-events.txt:
26419         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
26420         Small docs updates.
26421         Only update the seeking values when we are not
26422         busy streaming.
26423
26424 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26425
26426         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26427           Oops, ignore the result of gst_pad_push_event here.
26428
26429 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
26430
26431         * gst/base/gstbasesrc.c: (gst_base_src_loop),
26432         (gst_base_src_activate_push):
26433           Send discont event from the loop function, as pads
26434           aren't activated yet in the activate_push handler.
26435
26436         * gst/gstbin.c: (bin_bus_handler):
26437           Don't leak element name.
26438
26439 2005-07-18  Andy Wingo  <wingo@pobox.com>
26440
26441         * configure.ac: Use AS_LIBTOOL_TAGS.
26442
26443 2005-07-18  Wim Taymans  <wim@fluendo.com>
26444
26445         * docs/gst/gstreamer.types:
26446         Remove deleted types.
26447
26448 2005-07-18  Wim Taymans  <wim@fluendo.com>
26449
26450         * check/elements/gstfakesrc.c: (GST_START_TEST):
26451         * configure.ac:
26452         * gst/Makefile.am:
26453         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
26454         (init_popt_callback):
26455         * gst/gst.h:
26456         * gst/gst_private.h:
26457         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
26458         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
26459         * gst/gstbin.h:
26460         * gst/gstbus.h:
26461         * gst/gstconfig.h.in:
26462         * gst/gstelement.c: (gst_element_class_init),
26463         (gst_element_set_base_time), (gst_element_get_base_time),
26464         (iterator_fold_with_resync), (gst_element_change_state),
26465         (gst_element_dispose), (gst_element_get_bus):
26466         * gst/gstelement.h:
26467         * gst/gstelementfactory.h:
26468         * gst/gsterror.c: (_gst_core_errors_init):
26469         * gst/gsterror.h:
26470         * gst/gstevent.h:
26471         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26472         * gst/gstindex.c:
26473         * gst/gstinfo.c: (_gst_debug_init):
26474         * gst/gstmessage.c: (_gst_message_copy):
26475         * gst/gstmessage.h:
26476         * gst/gstminiobject.h:
26477         * gst/gstobject.c:
26478         * gst/gstobject.h:
26479         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26480         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
26481         * gst/gstpad.h:
26482         * gst/gstparse.h:
26483         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26484         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26485         (gst_pipeline_get_last_stream_time):
26486         * gst/gstpipeline.h:
26487         * gst/gstpluginfeature.h:
26488         * gst/gstquery.h:
26489         * gst/gstscheduler.c:
26490         * gst/gstscheduler.h:
26491         * gst/gststructure.h:
26492         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26493         (gst_task_finalize), (gst_task_func), (gst_task_create),
26494         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
26495         (gst_task_stop), (gst_task_pause):
26496         * gst/gsttask.h:
26497         * gst/gsttypefind.h:
26498         * gst/gsttypes.h:
26499         * gst/registries/gstlibxmlregistry.c: (load_feature),
26500         (gst_xml_registry_load), (gst_xml_registry_save_feature):
26501         * gst/registries/gstxmlregistry.c:
26502         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
26503         * gst/schedulers/threadscheduler.c:
26504         * libs/gst/control/dparammanager.h:
26505         * tools/gst-inspect.c: (print_element_list),
26506         (print_plugin_features), (print_element_features):
26507         * tools/gst-xmlinspect.c: (print_element_list),
26508         (print_plugin_info), (main):
26509         Removed plugable schedulers.
26510         Removed Scheduler/Manager from elements.
26511         Removed gsttypes.h, rearranged includes.
26512         Removed dependency pad<->element, element<>pipeline, and
26513         various others,  fix includes.
26514         implement gst_pad_get_parent() with gst_object_get_parent()
26515         Make GstTask sefcontained.
26516         Fix _get_state() on GstBin, it did not return ASYNC with a 0
26517         timeout.
26518         Fix endless loop in iterator_fold_with_resync.
26519
26520
26521 2005-07-18  Wim Taymans  <wim@fluendo.com>
26522
26523         * gst/Makefile.am:
26524         * gst/gstarch.h:
26525         Remove old file.
26526
26527 2005-07-18  Wim Taymans  <wim@fluendo.com>
26528
26529         * gst/Makefile.am:
26530         No more cothreads.h
26531
26532 2005-07-18  Wim Taymans  <wim@fluendo.com>
26533
26534         * gst/cothreads.c:
26535         * gst/cothreads.h:
26536         Let's remove these.
26537
26538 2005-07-18  Wim Taymans  <wim@fluendo.com>
26539
26540         * docs/design/part-dynamic.txt:
26541         * docs/design/part-events.txt:
26542         * docs/design/part-seeking.txt:
26543         Some more docs in the works.
26544
26545         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
26546         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
26547         (gst_base_transform_setcaps), (gst_base_transform_get_size),
26548         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
26549         (gst_base_transform_handle_buffer),
26550         (gst_base_transform_sink_activate_push),
26551         (gst_base_transform_src_activate_pull),
26552         (gst_base_transform_set_passthrough),
26553         (gst_base_transform_is_passthrough):
26554         Refcounting fixes.
26555
26556         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
26557         Cleanups.
26558
26559         * gst/gstevent.c: (gst_event_finalize):
26560         Set SRC to NULL.
26561
26562         * gst/gstutils.c: (gst_element_unlink),
26563         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
26564         (gst_pad_proxy_setcaps):
26565         * gst/gstutils.h:
26566         Add _get_parent_element() to get a pads parent as an element.
26567
26568 2005-07-18  Wim Taymans  <wim@fluendo.com>
26569
26570         * check/gst/gstbin.c: (GST_START_TEST):
26571         Remove bogus test.
26572
26573 2005-07-18  Wim Taymans  <wim@fluendo.com>
26574
26575         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26576         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26577         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26578         (gst_base_sink_event), (gst_base_sink_do_sync),
26579         (gst_base_sink_chain), (gst_base_sink_loop),
26580         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
26581         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
26582         Refcounting fixes.
26583         Fix logic for returning ASYNC when not prerolled.
26584
26585 2005-07-18  Wim Taymans  <wim@fluendo.com>
26586
26587         * gst/gstqueue.c: (gst_queue_handle_sink_event):
26588         Fix nasty refcount bug.
26589
26590 2005-07-16 Philippe Khalaf <burger@speedy.org>
26591
26592         * gst/elements/gstfdsrc.c:
26593         * gst/elements/gstfdsrc.h:
26594         * gst/elements/gstelements.c:
26595         * gst/elements/Makefile.am:
26596         Ported fdsrc to 0.9.
26597
26598 2005-07-16  Wim Taymans  <wim@fluendo.com>
26599
26600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26601         (gst_base_sink_do_sync):
26602         Fix compile error.
26603
26604 2005-07-16  Wim Taymans  <wim@fluendo.com>
26605
26606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26607         (gst_base_sink_event), (gst_base_sink_get_times),
26608         (gst_base_sink_do_sync), (gst_base_sink_change_state):
26609         * gst/base/gstbasesink.h:
26610         Store and use discont values when syncing buffers as described
26611         in design docs.
26612         
26613         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
26614         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
26615         (gst_base_src_activate_push):
26616         Push discont event when starting.
26617
26618         * gst/elements/gstidentity.c: (gst_identity_transform):
26619         Small cleanups.
26620
26621         * gst/gstbin.c: (gst_bin_change_state):
26622         Small cleanups in base_time  distribution.
26623
26624         * gst/gstelement.c: (gst_element_set_base_time),
26625         (gst_element_get_base_time), (gst_element_change_state):
26626         * gst/gstelement.h:
26627         Added methods for the base_time of the element.
26628         Some MT fixes.
26629
26630         * gst/gstpipeline.c: (gst_pipeline_send_event),
26631         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
26632         (gst_pipeline_get_last_stream_time):
26633         * gst/gstpipeline.h:
26634         MT fixes.
26635         Handle seeking as described in design doc, remove stream_time
26636         hack.
26637         Cleanups clock and stream_time selection code. Added accessors
26638         for the stream_time.
26639         
26640
26641 2005-07-16  Andy Wingo  <wingo@pobox.com>
26642
26643         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
26644         (#305291).
26645
26646 2005-07-16  Wim Taymans  <wim@fluendo.com>
26647
26648         * check/gst/gstbin.c: (GST_START_TEST):
26649         Make elements silent as the deep_notify refs the
26650         parent, which might make the test fail.
26651
26652         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
26653         Don't hold the lock for too long.
26654
26655 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
26656
26657         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
26658           Don't unref the caps we passed to gst_caps_make_writable() after
26659           passing them. gst_caps_make_writable() will do that for us.
26660
26661 2005-07-15  Andy Wingo  <wingo@pobox.com>
26662
26663         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
26664         (#157311).
26665
26666         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
26667         own marshalling function for the handoff signal. Properly type the
26668         buffer as a buffer. Fixes some warnings. Should do a more general
26669         solution.
26670         (gst_identity_class_init): Plug into the right marshaller.
26671
26672 2005-07-15  Wim Taymans  <wim@fluendo.com>
26673
26674         * docs/design/part-TODO.txt:
26675         * docs/design/part-clocks.txt:
26676         * docs/design/part-element-sink.txt:
26677         * docs/design/part-events.txt:
26678         * docs/design/part-gstpipeline.txt:
26679         Updated docs, mostly DISCONT related.
26680
26681 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
26682
26683         * docs/pwg/building-pads.xml:
26684           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
26685
26686 2005-07-15  Andy Wingo  <wingo@pobox.com>
26687
26688         * tools/gst-typefind.c: Update, add copyright block.
26689
26690         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
26691         Normalize and truncate caps before fixation.
26692
26693         * gst/gstcaps.h:
26694         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
26695         discards all but the first structure from its argument.
26696
26697 2005-07-15  Wim Taymans  <wim@fluendo.com>
26698
26699         * gst/base/gstbasetransform.c: (gst_base_transform_init),
26700         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
26701         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
26702         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
26703         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
26704         (gst_base_transform_chain), (gst_base_transform_change_state),
26705         (gst_base_transform_set_passthrough),
26706         (gst_base_transform_is_passthrough):
26707         * gst/base/gstbasetransform.h:
26708         Make passthrough work using the bufferpools.
26709         Changed API a bit, subclasses have to write into a buffer
26710         provided by the base class.
26711         More debug info in nego functions.
26712         
26713         * gst/elements/gstidentity.c: (gst_identity_init),
26714         (gst_identity_transform):
26715         Port to new base class.
26716
26717 2005-07-15  Wim Taymans  <wim@fluendo.com>
26718
26719         * gst/gstmessage.c: (gst_message_new_state_changed):
26720         * tools/gst-launch.c: (event_loop), (main):
26721         Totally dump messages in -launch with the -m option.
26722         Fix message name for State messages,
26723
26724 2005-07-14  Wim Taymans  <wim@fluendo.com>
26725
26726         * gst/base/gstbasesrc.c: (gst_base_src_loop):
26727         Post error messages on errors.
26728
26729 2005-07-14  Wim Taymans  <wim@fluendo.com>
26730
26731         * gst/gstcaps.c: (gst_caps_do_simplify):
26732         Remove debug info.
26733
26734         * gst/gsterror.h:
26735         Define error for stream stopped.
26736
26737         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26738         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
26739         Do proper return values.
26740
26741         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
26742         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
26743         (gst_pad_get_range):
26744         Better return values.
26745
26746         * gst/gstpad.h:
26747         Reorganise return values, add macro to check for fatal errors.
26748
26749         * gst/gstqueue.c: (gst_queue_chain):
26750         Return proper GstFlowReturn values,
26751
26752 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
26753
26754         * docs/gst/gstreamer-sections.txt:
26755         * docs/gst/gstreamer.types:
26756         * docs/gst/tmpl/gst.sgml:
26757         * docs/gst/tmpl/gstbasesink.sgml:
26758         * docs/gst/tmpl/gstbasesrc.sgml:
26759         * docs/gst/tmpl/gstbasetransform.sgml:
26760         * docs/gst/tmpl/gstbin.sgml:
26761         * docs/gst/tmpl/gstbuffer.sgml:
26762         * docs/gst/tmpl/gstcaps.sgml:
26763         * docs/gst/tmpl/gstclock.sgml:
26764         * docs/gst/tmpl/gstcompat.sgml:
26765         * docs/gst/tmpl/gstconfig.sgml:
26766         * docs/gst/tmpl/gstelement.sgml:
26767         * docs/gst/tmpl/gstelementdetails.sgml:
26768         * docs/gst/tmpl/gstelementfactory.sgml:
26769         * docs/gst/tmpl/gstenumtypes.sgml:
26770         * docs/gst/tmpl/gsterror.sgml:
26771         * docs/gst/tmpl/gstevent.sgml:
26772         * docs/gst/tmpl/gstfakesink.sgml:
26773         * docs/gst/tmpl/gstfakesrc.sgml:
26774         * docs/gst/tmpl/gstfilesink.sgml:
26775         * docs/gst/tmpl/gstfilesrc.sgml:
26776         * docs/gst/tmpl/gstfilter.sgml:
26777         * docs/gst/tmpl/gstformat.sgml:
26778         * docs/gst/tmpl/gstghostpad.sgml:
26779         * docs/gst/tmpl/gstimplementsinterface.sgml:
26780         * docs/gst/tmpl/gstindex.sgml:
26781         * docs/gst/tmpl/gstindexfactory.sgml:
26782         * docs/gst/tmpl/gstinfo.sgml:
26783         * docs/gst/tmpl/gstiterator.sgml:
26784         * docs/gst/tmpl/gstmacros.sgml:
26785         * docs/gst/tmpl/gstmemchunk.sgml:
26786         * docs/gst/tmpl/gstminiobject.sgml:
26787         * docs/gst/tmpl/gstobject.sgml:
26788         * docs/gst/tmpl/gstpad.sgml:
26789         * docs/gst/tmpl/gstpadtemplate.sgml:
26790         * docs/gst/tmpl/gstparse.sgml:
26791         * docs/gst/tmpl/gstpipeline.sgml:
26792         * docs/gst/tmpl/gstplugin.sgml:
26793         * docs/gst/tmpl/gstpluginfeature.sgml:
26794         * docs/gst/tmpl/gstquery.sgml:
26795         * docs/gst/tmpl/gstqueue.sgml:
26796         * docs/gst/tmpl/gstregistry.sgml:
26797         * docs/gst/tmpl/gstregistrypool.sgml:
26798         * docs/gst/tmpl/gstscheduler.sgml:
26799         * docs/gst/tmpl/gstschedulerfactory.sgml:
26800         * docs/gst/tmpl/gststructure.sgml:
26801         * docs/gst/tmpl/gstsystemclock.sgml:
26802         * docs/gst/tmpl/gsttaglist.sgml:
26803         * docs/gst/tmpl/gsttagsetter.sgml:
26804         * docs/gst/tmpl/gsttrace.sgml:
26805         * docs/gst/tmpl/gsttrashstack.sgml:
26806         * docs/gst/tmpl/gsttypefind.sgml:
26807         * docs/gst/tmpl/gsttypefindfactory.sgml:
26808         * docs/gst/tmpl/gsttypes.sgml:
26809         * docs/gst/tmpl/gsturihandler.sgml:
26810         * docs/gst/tmpl/gsturitype.sgml:
26811         * docs/gst/tmpl/gstutils.sgml:
26812         * docs/gst/tmpl/gstvalue.sgml:
26813         * docs/gst/tmpl/gstversion.sgml:
26814         * docs/gst/tmpl/gstxml.sgml:
26815         * docs/libs/tmpl/gstcontrol.sgml:
26816         * docs/libs/tmpl/gstdataprotocol.sgml:
26817         * docs/libs/tmpl/gstdparam.sgml:
26818         * docs/libs/tmpl/gstdplinint.sgml:
26819         * docs/libs/tmpl/gstdpman.sgml:
26820         * docs/libs/tmpl/gstdpsmooth.sgml:
26821         * docs/libs/tmpl/gstgetbits.sgml:
26822         * docs/libs/tmpl/gstunitconvert.sgml:
26823         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26824         (gst_push_src_base_init), (gst_push_src_class_init),
26825         (gst_push_src_init), (gst_push_src_create):
26826         * gst/base/gstpushsrc.h:
26827         * gst/elements/gstelements.c:
26828         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26829         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26830         (gst_fake_sink_init), (gst_fake_sink_set_property),
26831         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26832         (gst_fake_sink_event), (gst_fake_sink_preroll),
26833         (gst_fake_sink_render), (gst_fake_sink_change_state):
26834         * gst/elements/gstfakesink.h:
26835         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26836         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26837         (gst_fake_src_base_init), (gst_fake_src_class_init),
26838         (gst_fake_src_init), (gst_fake_src_event_handler),
26839         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26840         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26841         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26842         (gst_fake_src_create_buffer), (gst_fake_src_create),
26843         (gst_fake_src_start), (gst_fake_src_stop):
26844         * gst/elements/gstfakesrc.h:
26845         * gst/elements/gstfilesink.c: (_do_init),
26846         (gst_file_sink_base_init), (gst_file_sink_class_init),
26847         (gst_file_sink_init), (gst_file_sink_dispose),
26848         (gst_file_sink_set_location), (gst_file_sink_set_property),
26849         (gst_file_sink_get_property), (gst_file_sink_open_file),
26850         (gst_file_sink_close_file), (gst_file_sink_query),
26851         (gst_file_sink_event), (gst_file_sink_render),
26852         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26853         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26854         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26855         * gst/elements/gstfilesink.h:
26856         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26857         (gst_file_src_class_init), (gst_file_src_init),
26858         (gst_file_src_finalize), (gst_file_src_set_location),
26859         (gst_file_src_set_property), (gst_file_src_get_property),
26860         (gst_file_src_map_region), (gst_file_src_map_small_region),
26861         (gst_file_src_create_mmap), (gst_file_src_create_read),
26862         (gst_file_src_create), (gst_file_src_is_seekable),
26863         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26864         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26865         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26866         (gst_file_src_uri_handler_init):
26867         * gst/elements/gstfilesrc.h:
26868           more autistic cleanliness in functions/names/defines
26869
26870 2005-07-13  Andy Wingo  <wingo@pobox.com>
26871
26872         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26873         source couldn't negotiate.
26874
26875         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26876         connections again.
26877
26878         * gst/gstutils.h:
26879         * gst/gstutils.c (gst_element_link_pads_filtered): New old
26880         function. I am channeling Hades. Put your boots on suckers!!!
26881
26882 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
26883
26884         * testsuite/caps/Makefile.am:
26885         * testsuite/caps/value_compare.c:
26886         * testsuite/caps/value_intersect.c:
26887         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26888           move two testsuite apps over to the check dir
26889
26890 2005-07-12  Wim Taymans  <wim@fluendo.com>
26891
26892         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26893         Added more debug info in the negotiate process.
26894
26895         * gst/gstmessage.h:
26896         Prepare for segment playback.
26897
26898         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26899         Better debugging.
26900
26901         * gst/gstutils.c:
26902         Some more docs.
26903
26904         * tools/gst-launch.c: (main):
26905         NULL pipeline on errors.
26906
26907 2005-07-12  Andy Wingo  <wingo@pobox.com>
26908
26909         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26910         not it comes from a malloc region. Make sure our copy gets freed.
26911
26912 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26913
26914         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26915         * check/gst/gstmessage.c: (GST_START_TEST):
26916         * check/gst/gststructure.c: (GST_START_TEST),
26917         (gst_structure_suite), (main):
26918           more testing
26919         * gst/gstelement.c: (gst_element_message_full):
26920           clean up GError and debug string now that they get copied
26921         * gst/gstmessage.c: (gst_message_new_error),
26922         (gst_message_new_warning), (gst_message_parse_error),
26923         (gst_message_parse_warning):
26924           use GST_TYPE_G_ERROR for structure_new, and take copies of
26925           arguments, so that we don't mess up refcounting
26926
26927 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26928
26929         * check/Makefile.am:
26930           add per-test valgrind targets
26931         * check/gst-libs/gdp.c: (GST_START_TEST),
26932         (gst_data_protocol_suite), (main):
26933           clean up
26934
26935 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
26936
26937         * check/Makefile.am:
26938           instate more valgrindable tests
26939         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26940         (GST_START_TEST), (fakesrc_suite):
26941         * check/gst/gstpad.c: (GST_START_TEST):
26942         * check/gst/gststructure.c: (GST_START_TEST):
26943           fix test leaks
26944         * docs/gst/tmpl/gstminiobject.sgml:
26945         * gst/gstpad.c: (gst_pad_finalize):
26946           fix the static mutex leak
26947
26948 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26949
26950         * check/Makefile.am:
26951           add two more tests for valgrinding
26952         * check/gst/gstvalue.c: (GST_START_TEST):
26953           test refcount of deserialized buffer, found a leak
26954         * docs/gst/gstreamer-docs.sgml:
26955         * docs/gst/gstreamer-sections.txt:
26956         * docs/gst/gstreamer.types:
26957         * docs/gst/tmpl/gstminiobject.sgml:
26958           add miniobject to docs
26959         * gst/gstminiobject.c:
26960           add some docs
26961         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26962         (gst_string_unwrap):
26963           fix a hard-to-find invalid write for one of the tests
26964           fix a leak for deserialized buffers
26965
26966 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26967
26968         * docs/pwg/advanced-events.xml:
26969         * docs/pwg/advanced-request.xml:
26970         * docs/pwg/advanced-scheduling.xml:
26971         * docs/pwg/appendix-porting.xml:
26972         * docs/pwg/building-boiler.xml:
26973         * docs/pwg/intro-preface.xml:
26974         * docs/pwg/other-ntoone.xml:
26975           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26976           of example code and explanation for pad activation, loop() and
26977           getrange() functions and a bit more. Remove old comments pointing
26978           to loop-functions.
26979         * examples/pwg/Makefile.am:
26980           Add loop/getrange examples.
26981
26982 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26983
26984         * configure.ac:
26985           check for valgrind binary + some fixes
26986         * check/gst.supp:
26987           valgrind suppressions for the tests
26988         * check/Makefile.am:
26989           add a valgrind: target that valgrinds the unit tests
26990         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26991         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26992         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26993         * check/gst/gstghostpad.c:
26994           added some cleanup
26995         * check/gst/gstdata.c:
26996           removed
26997         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26998         (thread_unref), (gst_mini_object_suite), (main):
26999           added
27000         * gst/gst.c: (gst_deinit):
27001         * gst/gst.h:
27002           add a method to clean up.
27003         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27004         (gst_system_clock_obtain):
27005           allow for disposing the system clock.
27006         * tools/gst-launch.c: (main):
27007           deinit
27008
27009 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
27010
27011         * docs/gst/tmpl/gstbasesrc.sgml:
27012         * docs/gst/tmpl/gstfakesrc.sgml:
27013         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27014         (gst_base_src_init), (gst_base_src_set_property),
27015         (gst_base_src_get_property), (gst_base_src_get_range),
27016         (gst_base_src_start):
27017         * gst/base/gstbasesrc.h:
27018           add num-buffers property
27019         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27020         (gst_fakesrc_init), (gst_fakesrc_set_property),
27021         (gst_fakesrc_get_property), (gst_fakesrc_create),
27022         (gst_fakesrc_start):
27023           remove num-buffers property
27024
27025 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
27026
27027         * docs/gst/gstreamer-sections.txt:
27028         * docs/gst/tmpl/gstbasesink.sgml:
27029         * docs/gst/tmpl/gstbasesrc.sgml:
27030         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
27031         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
27032         (gst_base_sink_finalize), (gst_base_sink_set_clock),
27033         (gst_base_sink_set_property), (gst_base_sink_get_property),
27034         (gst_base_sink_handle_object), (gst_base_sink_event),
27035         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
27036         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
27037         (gst_base_sink_loop), (gst_base_sink_deactivate),
27038         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
27039         (gst_base_sink_change_state):
27040         * gst/base/gstbasesink.h:
27041         * gst/base/gstbasesrc.h:
27042         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
27043         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27044         (gst_filesink_init):
27045           more macro splitting
27046
27047 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
27048
27049         * gst/gstelement.c: (gst_element_get_bus):
27050           add debug
27051         * tools/gst-launch.c: (check_intr), (event_loop):
27052           fix bus leaks
27053
27054 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
27055
27056         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
27057           fix a caps leak
27058
27059 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
27060
27061         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27062         (gst_base_src_finalize):
27063           add finalize method and clean up properly
27064         * gst/gstpipeline.c: (gst_pipeline_dispose):
27065           add debug
27066
27067 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27068
27069         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
27070         (gst_bin_suite):
27071           add more things to check
27072         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
27073         * gst/gstelement.c:
27074           more debug
27075
27076 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27077
27078         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27079         (GST_START_TEST), (fakesrc_suite):
27080         * check/gst-libs/gdp.c: (GST_START_TEST):
27081         * check/gst/gst.c: (GST_START_TEST):
27082         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
27083         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
27084         * check/gst/gstbus.c: (GST_START_TEST):
27085         * check/gst/gstcaps.c: (GST_START_TEST):
27086         * check/gst/gstdata.c: (GST_START_TEST):
27087         * check/gst/gstelement.c: (GST_START_TEST):
27088         * check/gst/gstghostpad.c: (GST_START_TEST):
27089         * check/gst/gstiterator.c: (GST_START_TEST):
27090         * check/gst/gstmessage.c: (GST_START_TEST):
27091         * check/gst/gstobject.c: (GST_START_TEST):
27092         * check/gst/gstpad.c: (GST_START_TEST):
27093         * check/gst/gststructure.c: (GST_START_TEST):
27094         * check/gst/gstsystemclock.c: (GST_START_TEST),
27095         (gst_systemclock_suite):
27096         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
27097         * check/gst/gstvalue.c: (GST_START_TEST):
27098         * check/pipelines/cleanup.c: (GST_START_TEST):
27099         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
27100         * check/states/sinks.c: (GST_START_TEST):
27101         * check/gstcheck.c: (gst_check_init):
27102         * check/gstcheck.h:
27103           add debugging category
27104           use GST_START_TEST now, so we add a debug line
27105
27106 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27107
27108         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
27109           add test for state change message on a bin
27110         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
27111           add another test
27112         * gst/gstbin.c: (gst_bin_init):
27113         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
27114         * gst/gstelement.c: (gst_element_post_message),
27115         (gst_element_set_state):
27116         * gst/gstelementfactory.c: (gst_element_factory_create):
27117         * gst/gstmessage.c: (gst_message_new):
27118         * gst/gstscheduler.c:
27119           various debugging additions and cleanups
27120
27121 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27122
27123         * check/Makefile.am:
27124         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
27125         (main):
27126           adding tests for elements
27127         * gst/gstelement.c: (gst_element_dispose):
27128
27129 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27130
27131         * gst/registries/gstlibxmlregistry.c: (load_feature):
27132           plug more leaks.  A simple gst_init() now is leakfree, yay.
27133
27134 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27135
27136         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
27137         (gst_xml_registry_load):
27138           plug another memleak
27139
27140 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27141
27142         * configure.ac:
27143           use GST_SET_ERROR_CFLAGS
27144         * docs/faq/cvs.xml:
27145           change to ERROR_CFLAGS
27146
27147 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27148
27149         * configure.ac:
27150           make GST_ERROR_CFLAGS overridable and re-enable Werror
27151         * docs/faq/cvs.xml:
27152           add a note about error CFLAGS
27153         * docs/gst/tmpl/gstfakesrc.sgml:
27154         * gst/elements/gstfakesrc.c:
27155           comment out some unused code
27156         * gst/gst.c: (split_and_iterate):
27157         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
27158         (load_feature):
27159           plug some memleaks
27160
27161 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27162
27163         * common/Makefile.am:
27164         * common/gtk-doc.mak:
27165         * docs/gst/Makefile.am:
27166           factor out gtk-doc.mak
27167
27168 2005-07-07  Wim Taymans  <wim@fluendo.com>
27169
27170         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
27171         (gst_thread_scheduler_dispose):
27172         Unlock the STREAM_LOCK completely.
27173
27174 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
27175
27176         * check/Makefile.am:
27177         * check/elements/.cvsignore:
27178         * check/elements/gstfakesrc.c: (chain_func), (event_func),
27179         (START_TEST), (fakesrc_suite), (main):
27180         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27181         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27182         (gst_fakesrc_create), (gst_fakesrc_start):
27183         * gst/elements/gstfakesrc.h:
27184           adding a first element test
27185
27186 2005-07-07  Andy Wingo  <wingo@pobox.com>
27187
27188         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
27189         debug message.
27190
27191 2005-07-07  Wim Taymans  <wim@fluendo.com>
27192
27193         * gst/gstquery.c:
27194         * gst/gstquery.h:
27195         Remove old types
27196
27197 2005-07-07  Wim Taymans  <wim@fluendo.com>
27198
27199         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
27200         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
27201         Allow subclasses to implement their own negotiation.
27202
27203 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27204
27205         * docs/design/part-gstbin.txt:
27206         * docs/design/part-gstpipeline.txt:
27207           Update design notes to reflect the movement of
27208           responsibility for bus handling from GstPipeline to
27209           GstBin
27210
27211 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27212
27213         * configure.ac:
27214           Remove unnecessary queue2/3/4 examples.
27215
27216 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
27217
27218         * examples/Makefile.am:
27219         * examples/helloworld/helloworld.c: (event_loop), (main):
27220         * examples/queue/queue.c: (event_loop), (main):
27221         * examples/queue2/queue2.c: (main):
27222           Update a couple of the examples to work again.
27223
27224         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27225         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
27226          Spelling corrections and extra debug.
27227         
27228         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
27229         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
27230         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
27231         * gst/gstbin.h:
27232         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
27233         (gst_pipeline_change_state):
27234         * gst/gstpipeline.h:
27235           Move the bus handler for children to the GstBin, and create a
27236           separate bus for receiving messages from children to the one the
27237           bus sends 'upwards' on.
27238
27239 2005-07-06  Wim Taymans  <wim@fluendo.com>
27240
27241         * gst/base/README:
27242         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27243         (gst_base_sink_handle_object), (gst_base_sink_loop),
27244         (gst_base_sink_change_state):
27245         * gst/base/gstbasesink.h:
27246         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
27247         (gst_base_src_init), (gst_base_src_setcaps),
27248         (gst_base_src_getcaps), (gst_base_src_loop),
27249         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
27250         (gst_base_src_start), (gst_base_src_change_state):
27251         * gst/base/gstbasesrc.h:
27252         Make basesrc negotiate.
27253         Handle the case where preroll fails in basesink.
27254         Update README.
27255
27256 2005-07-06  Wim Taymans  <wim@fluendo.com>
27257
27258         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
27259         Implement the fixate function.
27260         Clean up acceptcaps.
27261
27262 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27263
27264         * docs/pwg/building-filterfactory.xml:
27265         * docs/pwg/pwg.xml:
27266           Remove never-written filter-factory chapter; I'll add the various
27267           base classes to part 4 ("other element types") later on.
27268
27269 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27270
27271         * docs/pwg/advanced-negotiation.xml:
27272         * docs/pwg/building-boiler.xml:
27273         * docs/pwg/building-pads.xml:
27274         * docs/pwg/pwg.xml:
27275         * examples/pwg/Makefile.am:
27276           Add a chapter on caps negotiation, simplify the original code
27277           samples a bit w.r.t. caps negotiation, add link to the advanced
27278           section. Add a bunch of examples showing different use cases of
27279           different types of caps negotiation. Upstream renegotiation isn't
27280           fully documented yet since nobody knows how that works.
27281
27282 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
27283
27284         * check/gst/gstpad.c:
27285         * check/gstcheck.c:
27286         * gst/gstpad.c: (gst_pad_get_internal_links_default):
27287           if pad has no parent, return NULL as list of internal links
27288
27289 2005-07-05  Andy Wingo  <wingo@pobox.com>
27290
27291         * gst/elements/gstfilesrc.c:
27292         * gst/elements/gstfakesrc.c: 
27293         * gst/base/gstpushsrc.c:
27294         * gst/base/gstbasesrc.h: 
27295         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
27296         
27297 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
27298
27299         * Makefile.am:
27300           better report generation target (lcov needs a patch)
27301
27302 2005-07-05  Andy Wingo  <wingo@pobox.com>
27303
27304         * gst/elements, testsuite: Null if we got it...
27305
27306 2005-07-05  Wim Taymans  <wim@fluendo.com>
27307
27308         * configure.ac:
27309         * libs/gst/dataprotocol/Makefile.am:
27310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
27311         * libs/gst/dataprotocol/dataprotocol.h:
27312         * pkgconfig/Makefile.am:
27313         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
27314         * pkgconfig/gstreamer-dataprotocol.pc.in:
27315         Ported dataprotol to 0.9. 
27316         Added pkgconfig files.
27317
27318 2005-07-05  Andy Wingo  <wingo@pobox.com>
27319
27320         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
27321         Default to returning TRUE for the case when tranform_caps returns
27322         a fixed caps, like for identity or volume.
27323
27324         * check/gst/gstbus.c (pound_bus_with_messages): 
27325         * check/gst/gstmessage.c (START_TEST): 
27326         * check/pipelines/simple_launch_lines.c (got_handoff): Application
27327         message API change.
27328
27329         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
27330         logic weaks here: always run transform_caps, trying passthrough
27331         operation only if the original caps intersects with the transform.
27332
27333         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
27334         source and sink caps.
27335
27336         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
27337         Intersect the peer caps with the pad template before going into
27338         transform_caps.
27339         (gst_base_transform_transform_caps): More debugging.
27340
27341         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
27342         src argument.
27343
27344 2005-07-04  Edward Hervey  <edward@fluendo.com>
27345
27346         * gst/gstutils.c:
27347         * gst/gstutils.h:
27348         (gst_pad_add_*_probe): now returns the signal id for better wrapping
27349         in bindings.
27350
27351 2005-07-04  Andy Wingo  <wingo@pobox.com>
27352
27353         * check/gst/gstpad.c: Only set explicit caps on pads.
27354
27355 2005-07-01  Andy Wingo  <wingo@pobox.com>
27356
27357         * tests/network-clock.scm: Commentary update.
27358
27359         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
27360         Didn't really make sense, not implementable with basetransform,
27361         etc.
27362         (gst_identity_transform): Unref inbuf via make_writable. Feeble
27363         attempt at implementing the sync property, needs an unlock method.
27364
27365         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
27366         New func, by default returns the same caps (the identity
27367         transformation).
27368         (gst_base_transform_getcaps): Uses transform_caps to return
27369         something sensible.
27370         (gst_base_transform_setcaps): Complicated logic to get caps on
27371         both pads, even if they are different, and to call set_caps once
27372         for every time both pads get their caps set.
27373         (gst_base_transform_handle_buffer): Give the ref to the transform
27374         function. Allows in-place modification of the buffer.
27375
27376         * gst/base/gstbasetransform.h (transform_caps): New class method.
27377         Given caps on one side, what can I do on the other.
27378         (set_caps): Take two caps, one for each side of the element.
27379
27380         * gst/gstpad.h:
27381         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
27382         caps in place. This is safe because we can check the mutability of
27383         the caps, and a good idea because fixate functions are just called
27384         as a matter of last resort. (Not actually implemented.)
27385         (gst_pad_set_caps): If the caps we're setting is actually the same
27386         as the existing pad caps, just update the pointer without calling
27387         setcaps. Assert that caps is either NULL or fixed, as per the
27388         docs.
27389
27390         * gst/gstghostpad.c: Update for fixate changes.
27391
27392 2005-07-02  Andy Wingo  <wingo@pobox.com>
27393
27394         * gst/gstcaps.c:
27395         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
27396         two refcounts makes it immutable, which is enough. Doc more.
27397
27398 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
27399
27400         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
27401           Put the mini_object into GValue as a mini_object,
27402           not a gpointer, since that's how we declared
27403           the signal.
27404
27405 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27406
27407         * examples/pwg/Makefile.am:
27408           Fix buildbot again.
27409
27410 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27411
27412         * docs/pwg/building-testapp.xml:
27413           Add extra check.
27414         * examples/pwg/Makefile.am:
27415           Fix buildbot.
27416
27417 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27418
27419         * configure.ac:
27420         * examples/Makefile.am:
27421         * examples/pwg/Makefile.am:
27422         * examples/pwg/extract.pl:
27423           Enable building the PWG examples.
27424         * docs/pwg/advanced-interfaces.xml:
27425           Add URI interface stub.
27426         * docs/pwg/advanced-types.xml:
27427         * docs/pwg/other-autoplugger.xml:
27428         * docs/pwg/appendix-porting.xml:
27429         * docs/pwg/pwg.xml:
27430           Add porting guide (mostly stubs), remove autoplugging (see ADM).
27431         * docs/pwg/building-boiler.xml:
27432         * docs/pwg/building-chainfn.xml:
27433         * docs/pwg/building-pads.xml:
27434         * docs/pwg/building-props.xml:
27435         * docs/pwg/building-state.xml:
27436         * docs/pwg/building-testapp.xml:
27437           Update the building-*.xml parts for 0.9 changes. All examples
27438           code blocks compile in examples/pwg/*.
27439
27440 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27441
27442         * docs/manual/advanced-autoplugging.xml:
27443         * docs/manual/appendix-checklist.xml:
27444         * docs/manual/appendix-integration.xml:
27445         * docs/manual/highlevel-components.xml:
27446           Fix playbin/decodebin examples, update docs a bit, mention bus
27447           instead of signals in various places, mention kmplayer and
27448           kaffeine since they have a working GStreamer backend in the KDE
27449           section.
27450
27451 2005-06-30  Wim Taymans  <wim@fluendo.com>
27452
27453         * CHANGES-0.9:
27454         * docs/design/draft-ghostpads.txt:
27455         * docs/design/draft-push-pull.txt:
27456         * docs/design/draft-query.txt:
27457         * docs/design/part-TODO.txt:
27458         * docs/design/part-query.txt:
27459         Added CHANGES-0.9 doc, updated status of other docs.
27460         
27461         * gst/gstquery.h:
27462         Remove "hmm" macro
27463
27464 2005-06-30  Wim Taymans  <wim@fluendo.com>
27465
27466         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
27467         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
27468         (gst_base_sink_change_state):
27469         * gst/base/gstbasesink.h:
27470         Some tweaks, only EOS and a buffer complete a preroll.
27471
27472 2005-06-30  Andy Wingo  <wingo@pobox.com>
27473
27474         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
27475         activate_push down to the internal pad as well.
27476
27477 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
27478
27479         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27480
27481         * gst/gsttaginterface.c:
27482           Some documentation fixes (#307394 and #307397).
27483
27484 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
27485
27486         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27487
27488         * gst/gstvalue.c: (gst_value_intersect_list):
27489           Fix memleak (#309125).
27490
27491 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27492
27493         * docs/manual/advanced-dataaccess.xml:
27494           Fix fakesrc example to compile; doesn't work, bug somewhere...?
27495         * docs/manual/basics-pads.xml:
27496           Add reference for filtered caps to above chapter.
27497
27498 2005-06-30  Wim Taymans  <wim@fluendo.com>
27499
27500         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
27501         (gst_bin_change_state):
27502         Probes are gone.
27503         Lame attempt at making the state change function a bit
27504         more readable.
27505
27506 2005-06-30  Wim Taymans  <wim@fluendo.com>
27507
27508         * docs/design/part-clocks.txt:
27509         * docs/design/part-element-sink.txt:
27510         * docs/design/part-events.txt:
27511         * docs/design/part-preroll.txt:
27512         * docs/design/part-states.txt:
27513         Some more tweeks and additions to the docs.
27514
27515 2005-06-30  Wim Taymans  <wim@fluendo.com>
27516
27517         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27518         (default_have_data), (gst_pad_class_init), (gst_pad_init),
27519         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27520         (gst_pad_check_pull_range), (gst_pad_get_range),
27521         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
27522         * gst/gstpad.h:
27523         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
27524         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27525         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27526         (gst_pad_remove_buffer_probe):
27527         Removed atomic operations, use existing LOCK.
27528         Move exception handling out of main code path.
27529
27530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27531
27532         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27533         (silly_return_true_function), (gst_pad_class_init),
27534         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
27535         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
27536         (gst_pad_send_event):
27537           Fix accumulator, add default value by using _emitv() instead
27538           of _emit() for signal emission.
27539
27540 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27541
27542         * docs/manual/advanced-dataaccess.xml:
27543         * examples/manual/Makefile.am:
27544           Add probe example.
27545         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
27546           Make work (??).
27547
27548 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
27549
27550         * gst/elements/gstfilesink.c: (gst_filesink_render):
27551           Simplify code so that we don't have to handle short
27552           writes and return GST_FLOW_ERROR if an error occured.
27553
27554 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27555
27556         * docs/gst/gstreamer-docs.sgml:
27557           Remove probes more.
27558
27559 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27560
27561         * docs/gst/gstreamer-sections.txt:
27562         * docs/gst/tmpl/gstpad.sgml:
27563         * docs/gst/tmpl/gstprobe.sgml:
27564         * gst/Makefile.am:
27565         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
27566         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
27567         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27568         (gst_pad_push_event), (gst_pad_send_event):
27569         * gst/gstpad.h:
27570         * gst/gstutils.c: (gst_pad_add_data_probe),
27571         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
27572         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
27573         (gst_pad_remove_buffer_probe):
27574         * gst/gstutils.h:
27575           Remove old probes, add new g-signal-based probes and some utility
27576           functions.
27577
27578 2005-06-29  Edward Hervey  <edward@fluendo.com>
27579
27580         * gst/gstelementfactory.c:
27581         * gst/gstutils.h:
27582         * gst/gstutils.c:
27583         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
27584         the definition to the header file.
27585
27586 2005-06-29  Andy Wingo  <wingo@pobox.com>
27587
27588         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
27589         plugins from the source directory.
27590
27591 2005-06-29  Wim Taymans  <wim@fluendo.com>
27592
27593         * docs/gst/tmpl/gstbuffer.sgml:
27594         * docs/gst/tmpl/gstclock.sgml:
27595         Some fixings for blantently wrong text.
27596
27597 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27598
27599         * check/Makefile.am:
27600         * gst/gst.c: (add_path_func), (init_pre):
27601         * gst/gstregistry.c: (gst_registry_add_path):
27602           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
27603           only scan the GST_PLUGIN_PATH locations, and not add
27604           system locations
27605
27606 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
27607
27608         * docs/gst/gstreamer-sections.txt:
27609         * docs/gst/tmpl/gstbasesrc.sgml:
27610         * gst/gstelement.c:
27611         * gst/gstelement.h:
27612         * gst/gstevent.c:
27613         * gst/gstutils.c:
27614           doc fixes
27615
27616 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27617
27618         * docs/manual/advanced-autoplugging.xml:
27619           Fix autoplugging example.
27620
27621 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27622
27623         * docs/manual/advanced-autoplugging.xml:
27624         * docs/manual/mime-world.fig:
27625           Try to get autoplugging working, fix type detection. Fix text
27626           in hello-world image.
27627
27628 2005-06-29  Wim Taymans  <wim@fluendo.com>
27629
27630         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
27631         (gst_base_sink_change_state):
27632         Small debug line.
27633
27634         * gst/gstclock.h:
27635         map SIGNAL and BROADCAST to the right function.
27636
27637         * gst/gstobject.h:
27638         Remove redundant braces.
27639
27640         * gst/gstpad.c: (gst_pad_set_caps):
27641         Don't call setcaps function when reseting caps to NULL.
27642
27643         * gst/gstsystemclock.c: (gst_system_clock_dispose),
27644         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
27645         (gst_system_clock_id_unschedule):
27646         Use BROADCAST as this is what we do.
27647
27648 2005-06-29  Wim Taymans  <wim@fluendo.com>
27649
27650         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
27651         We are actually prerolling before commiting the state
27652         change. 
27653
27654 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27655
27656         * docs/manual/advanced-clocks.xml:
27657         * docs/manual/advanced-interfaces.xml:
27658         * docs/manual/advanced-metadata.xml:
27659         * docs/manual/advanced-position.xml:
27660         * docs/manual/advanced-schedulers.xml:
27661         * docs/manual/advanced-threads.xml:
27662         * docs/manual/appendix-porting.xml:
27663         * docs/manual/basics-bins.xml:
27664         * docs/manual/basics-bus.xml:
27665         * docs/manual/basics-elements.xml:
27666         * docs/manual/basics-helloworld.xml:
27667         * docs/manual/basics-pads.xml:
27668         * docs/manual/highlevel-components.xml:
27669         * docs/manual/manual.xml:
27670         * docs/manual/thread.fig:
27671           Update (until threads/scheduling) Application Development Manual;
27672           remove GstThread, add GstBus, add simple porting checklist, add
27673           documentation for tag writing, clocks, make all examples until this
27674           part compile and run.
27675         * examples/manual/Makefile.am:
27676           Update from changes to Application Development Manual; add bus
27677           example, remove thread example.
27678
27679 2005-06-28  Wim Taymans  <wim@fluendo.com>
27680
27681         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
27682         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
27683         (gst_bus_source_dispatch):
27684         Add debugging messages.
27685         Make internal methods static.
27686         Handle the case where the bus is flushed in the handler.
27687         
27688         * gst/gstelement.c: (gst_element_get_bus):
27689         Fix refcount in _get_bus();
27690
27691         * gst/gstpipeline.c: (gst_pipeline_change_state),
27692         (gst_pipeline_get_clock_func):
27693         Clock refcounting fixes.
27694         Handle the case where preroll timed out more gracefully.
27695         
27696         * gst/gstsystemclock.c: (gst_system_clock_dispose):
27697         Clean up the internal thread in dispose. This is needed
27698         for subclasses that actually get disposed.
27699         
27700         * gst/schedulers/threadscheduler.c:
27701         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27702         (gst_thread_scheduler_dispose):
27703         Free thread pool in dispose.
27704
27705 2005-06-28  Andy Wingo  <wingo@pobox.com>
27706
27707         * tests/network-clock-utils.scm (debug, print-event): New utils.
27708
27709         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
27710         (*packet-loss*): Unified loss probability.
27711         (network-time): Report out-of-band events.
27712
27713         * tests/plot-data: Add support for out-of-band events. Hack it
27714         into this script instead of passing it down the pipe; should fix
27715         this later.
27716
27717 2005-06-28  Wim Taymans  <wim@fluendo.com>
27718
27719         * docs/gst/gstreamer.types:
27720         * docs/gst/tmpl/gstbasesrc.sgml:
27721         * docs/gst/tmpl/gstpad.sgml:
27722         Docs fixes.
27723
27724 2005-06-28  Wim Taymans  <wim@fluendo.com>
27725
27726         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27727         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
27728         (gst_proxy_pad_do_fixatecaps):
27729         Correctly proxy the check_pull_range function.
27730
27731 2005-06-28  Andy Wingo  <wingo@pobox.com>
27732
27733         * tests/network-clock.scm: Removed need for slib.
27734         
27735 2005-06-28  Wim Taymans  <wim@fluendo.com>
27736
27737         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
27738         (gst_basesink_preroll_queue_flush):
27739         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
27740         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
27741         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27742         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
27743         (gst_proxy_pad_set_property):
27744         * gst/gstpad.c:
27745         * gst/gstpad.h:
27746         * gst/gstqueue.c: (gst_queue_init):
27747         The deprecated pad loop function is removed now.
27748
27749 2005-06-28  Andy Wingo  <wingo@pobox.com>
27750
27751         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
27752         New parameters, simulate network packet loss.
27753
27754         * tests/network-clock-utils.scm: Initialize the RNG.
27755
27756 2005-06-28  Wim Taymans  <wim@fluendo.com>
27757
27758         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
27759         (gst_basesink_event), (gst_basesink_deactivate):
27760         Flushing the preroll queue always needs to unlock the waiters.
27761
27762 2005-06-28  Edward Hervey  <edward@fluendo.com>
27763
27764         * gst/gstpipeline.c: (gst_pipeline_send_event): 
27765         Wheen a seek was successful on a pipeline, set the stream_time to the
27766         seek offset in order to have a synchronized stream_time.
27767
27768 2005-06-28  Wim Taymans  <wim@fluendo.com>
27769
27770         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
27771         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
27772         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
27773         (gst_proxy_pad_do_fixatecaps):
27774         Call wrapper function instead of just calling the function
27775         pointers. This takes care of any locking and whatmore.
27776
27777 2005-06-28  Wim Taymans  <wim@fluendo.com>
27778
27779         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
27780         (gst_pad_pull_range):
27781         * gst/gstpad.h:
27782         CONNECTED -> LINKED.
27783
27784 2005-06-28  Andy Wingo  <wingo@pobox.com>
27785
27786         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
27787         source-munging commit!!!
27788
27789         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
27790         (gst_object_sink): Take gpointer arguments, not GstObject --
27791         avoids casts. Like GLib.
27792
27793         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
27794         activate.
27795
27796 2005-06-27  Andy Wingo  <wingo@pobox.com>
27797
27798         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27799         remaining buffer.
27800
27801         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27802         returns a sorted copy of the trace list.
27803         (gst_alloc_trace_print_live): New API, only prints traces with
27804         live objects. Sort the list.
27805         (gst_alloc_trace_print_all): Sort the list.
27806         (gst_alloc_trace_print): Align columns.
27807
27808         * gst/elements/gstttypefindelement.c:
27809         * gst/elements/gsttee.c:
27810         * gst/base/gstbasesrc.c:
27811         * gst/base/gstbasesink.c:
27812         * gst/base/gstbasetransform.c:
27813         * gst/gstqueue.c: Adapt for pad activation changes.
27814
27815         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27816         sched.
27817         (gst_pipeline_dispose): Drop ref on sched.
27818
27819         * gst/gstpad.c (gst_pad_init): Set the default activate func.
27820         (gst_pad_activate_default): Push mode by default.
27821         (pre_activate_switch, post_activate_switch): New stubs, things to
27822         do before and after switching activation modes on pads.
27823         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27824         the pad's activate function to choose which mode to activate.
27825         Shortcut on deactivation and call the right function directly.
27826         (gst_pad_activate_pull): New API, (de)activates a pad in pull
27827         mode.
27828         (gst_pad_activate_push): New API, same for push mode.
27829         (gst_pad_set_activate_function) 
27830         (gst_pad_set_activatepull_function) 
27831         (gst_pad_set_activatepush_function): Setters for new API.
27832
27833         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27834         Trace all miniobjects.
27835         (gst_mini_object_make_writable): Unref the arg if we copy, like
27836         gst_caps_make_writable.
27837
27838         * gst/gstmessage.c (_gst_message_initialize): No trace init.
27839
27840         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
27841         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27842         Adapt for new pad API.
27843
27844         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27845
27846         * gst/gstelement.h:
27847         * gst/gstelement.c (gst_element_iterate_src_pads) 
27848         (gst_element_iterate_sink_pads): New API functions.
27849         
27850         * gst/gstelement.c (iterator_fold_with_resync): New utility,
27851         should fold into gstiterator.c in some form.
27852         (gst_element_pads_activate): Simplified via use of fold and
27853         delegation of decisions to gstpad->activate.
27854
27855         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27856         help in debugging.
27857
27858         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27859         class once in init, like gstmessage. Didn't run into this issue
27860         but it seems correct. Don't initialize a trace, gstminiobject does
27861         that.
27862
27863         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27864         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27865         to the bus.
27866         (assert_live_count): New util function, uses alloc traces to check
27867         cleanup.
27868
27869         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27870         To be modified when unlink drops the internal pad.
27871
27872 2005-06-27  Wim Taymans  <wim@fluendo.com>
27873
27874         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27875         (gst_bin_change_state):
27876         Cleanup the get_state() function a little, make sure it
27877         iterates the same set of elements.
27878         Added stub iterate_state_order().
27879
27880 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
27881
27882         * docs/gst/gstreamer-docs.sgml:
27883         * docs/gst/gstreamer-sections.txt:
27884         * docs/gst/gstreamer.types:
27885         * docs/gst/tmpl/gstbasesink.sgml:
27886         * docs/gst/tmpl/gstbasesrc.sgml:
27887         * docs/gst/tmpl/gstbasetransform.sgml:
27888         * docs/gst/tmpl/gstelement.sgml:
27889         * docs/gst/tmpl/gstiterator.sgml:
27890         * gst/base/gstbasesrc.c:
27891         * gst/base/gstbasesrc.h:
27892         * gst/base/gstbasetransform.h:
27893         * gst/gstelement.c:
27894         * gst/gstiterator.h:
27895           adding basetransform and iterator docs
27896
27897 2005-06-27  Andy Wingo  <wingo@pobox.com>
27898
27899         * docs/design/part-activation.txt: Notes on how activation should
27900         work -- not quite implemented yet.
27901
27902 2005-06-25  Wim Taymans  <wim@fluendo.com>
27903
27904         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27905         At least get the chain function correct, needs more
27906         fixing.
27907
27908 2005-06-25  Wim Taymans  <wim@fluendo.com>
27909
27910         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27911         (gst_basesink_handle_object), (gst_basesink_event),
27912         (gst_basesink_do_sync), (gst_basesink_handle_event),
27913         (gst_basesink_change_state):
27914         * gst/gsttask.h:
27915         Right, two problems here: ghostpads don't take locks and
27916         glib _rec_mutex_lock_full() with depth==0 still locks.
27917         Catch illegal locking and g_warn them.
27918
27919 2005-06-25  Wim Taymans  <wim@fluendo.com>
27920
27921         * check/states/sinks.c: (START_TEST), (gst_object_suite):
27922         Have to check for completion now...
27923
27924 2005-06-25  Wim Taymans  <wim@fluendo.com>
27925
27926         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27927         (gst_basesink_handle_object), (gst_basesink_event),
27928         (gst_basesink_do_sync), (gst_basesink_handle_event),
27929         (gst_basesink_change_state):
27930         * gst/gstpad.h:
27931         Unlock STREAM_LOCK whatever the recursion was.
27932
27933 2005-06-25  Wim Taymans  <wim@fluendo.com>
27934
27935         * gst/base/gstbasesink.c: (gst_basesink_set_property),
27936         (gst_basesink_preroll_queue_empty),
27937         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27938         (gst_basesink_event), (gst_basesink_do_sync),
27939         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27940         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27941         (gst_basesink_change_state):
27942         Reworked the base sink, handle event and buffer serialisation
27943         correctly and removed possible deadlock.
27944         Handle EOS correctly.
27945
27946 2005-06-25  Wim Taymans  <wim@fluendo.com>
27947
27948         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27949         (gst_pipeline_change_state):
27950         * tools/gst-launch.c: (check_intr), (event_loop), (main):
27951         Allow elements to post EOS in the state change function.
27952         Fix up -launch, make it exit the poll loop when the
27953         pipeline actually changed state.
27954         Fix up warning parsing in -launch.
27955
27956 2005-06-25  Wim Taymans  <wim@fluendo.com>
27957
27958         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27959         (gst_tee_sink_activate):
27960         Core takes STREAM_LOCK for us now.
27961
27962 2005-06-25  Wim Taymans  <wim@fluendo.com>
27963
27964         * gst/gstelement.c: (gst_element_get_state_func),
27965         (gst_element_set_state):
27966         * gst/gstelement.h:
27967         * gst/gstmessage.c: (gst_message_parse_error),
27968         (gst_message_parse_warning):
27969         Keep track of current target state while performing a state
27970         change so that subclasses can do something interesting.
27971         Fix parsing of warning/error messages when GError is NULL.
27972
27973 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27974
27975         * docs/gst/Makefile.am:
27976         * docs/gst/gstreamer-docs.sgml:
27977         * docs/gst/gstreamer-sections.txt:
27978         * docs/gst/gstreamer.types:
27979         * docs/gst/tmpl/gstbasesink.sgml:
27980         * docs/gst/tmpl/gstbasesrc.sgml:
27981         * docs/gst/tmpl/gstbin.sgml:
27982         * docs/gst/tmpl/gstcompat.sgml:
27983         * docs/gst/tmpl/gstfakesink.sgml:
27984         * docs/gst/tmpl/gstfakesrc.sgml:
27985         * docs/gst/tmpl/gstfilesink.sgml:
27986         * docs/gst/tmpl/gstfilesrc.sgml:
27987         * docs/gst/tmpl/gstindex.sgml:
27988         * docs/manual/appendix-quotes.xml:
27989         * gst/base/gstbasesrc.h:
27990         * gst/elements/gstfakesrc.h:
27991         * gst/gstmessage.h:
27992           start pulling in base classes and elements in our docs
27993
27994 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27995
27996         * docs/gst/Makefile.am:
27997         * docs/libs/Makefile.am:
27998           fixed make distcheck with gtk-doc 1.3
27999
28000 2005-06-23  Wim Taymans  <wim@fluendo.com>
28001
28002         * gst/gstelement.c: (gst_element_get_state_func),
28003         (gst_element_set_state), (gst_element_change_state):
28004         When the state did not change, also report NO_PREROLL
28005         when it matters.
28006
28007 2005-06-23  Wim Taymans  <wim@fluendo.com>
28008
28009         * gst/gstpad.c: (gst_pad_event_default):
28010         * gst/gstqueue.c: (gst_queue_loop):
28011         No unsafe task pausing please.
28012
28013 2005-06-23  Wim Taymans  <wim@fluendo.com>
28014
28015         * gst/schedulers/threadscheduler.c:
28016         (gst_thread_scheduler_task_start),
28017         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
28018         Ref the task before pushing it on the threadpool. This
28019         makes sure that we have a ref when the threadfunction is
28020         actually called.
28021
28022 2005-06-23  Andy Wingo  <wingo@pobox.com>
28023
28024         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
28025         offset is greater than the file's size.
28026
28027         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
28028         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
28029         * gst/gstobject.c (gst_object_class_init): Make the class lock
28030         recursive. Wim won't let me drop deep_notify. Decodebin works
28031         again, whoopdy doo.
28032
28033         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
28034         internal pad, and hacks accordingly. Doesn't do it on the target
28035         pad because we change its caps. Probably catches all cases of
28036         interest tho.
28037         (gst_ghost_pad_set_property): Connect to notify::caps as
28038         appropritate.
28039
28040         * tests/network-clock.scm (plot-simulation): Pipe data to the
28041         elite python skript.
28042
28043         * tests/network-clock-utils.scm (define-parameter): New macro,
28044         defines a parameter that can be set via the command line.
28045         (set-parameter!, parse-parameter-arguments): Command line args
28046         parser.
28047
28048         * tests/plot-data: Simple matplotlib-based plotter, takes input on
28049         stdin.
28050
28051 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
28052
28053         * gst/elements/gsttypefindelement.c:
28054         (gst_type_find_element_handle_event):
28055           Don't restart typefinding on a discont.
28056         * gst/gstelement.c: (gst_element_set_state):
28057           Debug spelling fix.
28058         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
28059           Allow changing mode of an active pad.
28060           Debug output fixes.
28061         * gst/registries/gstlibxmlregistry.c: (load_feature):
28062           Don't cast a static pad template to a normal pad template.
28063
28064 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28065
28066         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28067         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28068           remove gst_strtoll completely, since it didn't actually do
28069           anything more than what g_ascii_strtoull already does.
28070           check for range errors when deserializing
28071           do a cast for the unsigned cases; but further fixing needs
28072           a decision on what the interpretation of "(int)" and
28073           deserialization should be for values that fall outside the
28074           type's boundaries (ie, refuse, or interpret as casting)
28075
28076 2005-06-23  Wim Taymans  <wim@fluendo.com>
28077
28078         * check/Makefile.am:
28079         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
28080         * docs/design/part-live-source.txt:
28081         * docs/design/part-states.txt:
28082         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28083         (gst_basesrc_set_live), (gst_basesrc_is_live),
28084         (gst_basesrc_get_range), (gst_basesrc_activate),
28085         (gst_basesrc_change_state):
28086         * gst/base/gstbasesrc.h:
28087         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28088         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28089         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
28090         * gst/gstelement.c: (gst_element_get_state_func),
28091         (gst_element_set_state):
28092         * gst/gstelement.h:
28093         * gst/gsttypes.h:
28094         * tools/gst-launch.c: (event_loop), (main):
28095         Added support for live sources and other elements that
28096         cannot do preroll.
28097         Updated design docs, added live-source design doc.
28098         Implemented live source functionality in basesrc
28099         Fix error condition in _bin_get_state()
28100         Implement live source handling in -launch.
28101         Added check for live sources.
28102         Fixed case in GstBin where elements were changed state
28103         multiple times.
28104
28105
28106 2005-06-23  Andy Wingo  <wingo@pobox.com>
28107
28108         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
28109         borken refcounting.
28110
28111         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
28112         gst_caps_replace takes care of this for us.
28113
28114         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
28115         gst_pad_set_caps on the target, not just its setcaps() function.
28116
28117         * tests/network-clock.scm: 
28118         * tests/network-clock-utils.scm: A network clock simulator.
28119         Something of an algorithmic testbed before doing something in C.
28120
28121 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28122
28123         * check/Makefile.am:
28124         * check/gst/capslist.h:
28125           copy over from 0.8, and add two with bitmasks specified with
28126           (int) 0xFF...
28127         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28128           add test to parse everything from capslist.h
28129         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
28130         (main):
28131           add test for structure deserialization
28132         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28133           add tests for deserialization of strings to int types
28134         * gst/gststructure.c: (gst_structure_nth_field_name):
28135         * gst/gststructure.h:
28136           add a way to get the name of a field referenced by index
28137         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
28138           instead of checking if the resulting long long lies between
28139           min and max, we check if the long long would fit into
28140           a number of bytes for the final type.
28141           This fixes cases where a string represents 2^32 - 1, which
28142           when cast to int would be the (valid) -1, but is bigger than
28143           G_MAXINT
28144
28145 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28146
28147         * gst/parse/grammar.y:
28148           add a log line for type deserialization
28149
28150 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28151
28152         * check/gst/gstvalue.c: (START_TEST):
28153         * gst/gstvalue.c: (gst_value_deserialize):
28154           return long long, not int, so gint64 deserialization actually
28155           works.  Is there any flag that makes the compiler check this ?
28156           Fixes #308559
28157
28158 2005-06-22  Wim Taymans  <wim@fluendo.com>
28159
28160         * gst/gstbuffer.h:
28161         Added convenience macros for setting buffers in GValue.
28162
28163 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28164
28165         * check/gst/.cvsignore:
28166         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
28167           add a test deserializing int64, and comment part out because
28168           it fails, yay !
28169
28170 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
28171
28172         * check/Makefile.am:
28173         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
28174         * testsuite/Makefile.am:
28175         * testsuite/caps/Makefile.am:
28176         * testsuite/caps/value_serialize.c:
28177         * testsuite/test_gst_init.c:
28178           move a value_serialize test over
28179
28180 2005-06-20  Wim Taymans  <wim@fluendo.com>
28181
28182         * gst/gstpad.c:
28183         Small doc updates.
28184         
28185         * gst/gstvalue.c: (gst_value_compare_buffer),
28186         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
28187         (gst_value_compare_flags), (gst_value_serialize_flags),
28188         (gst_value_deserialize_flags), (_gst_value_initialize):
28189         Fix serialisation of buffers, they are not boxed types anymore
28190
28191 2005-06-20  Wim Taymans  <wim@fluendo.com>
28192
28193         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
28194         Testcase to show error in buffer-on-caps serialisation.
28195
28196 2005-06-20  Andy Wingo  <wingo@pobox.com>
28197
28198         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
28199         will be adding to later.
28200
28201         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
28202         if its socks fill with rocks.
28203         (gst_system_clock_obtain): Set the name on object construction.
28204         Avoid double-checked locking.
28205
28206 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
28207
28208         * gst/gsturi.c: (gst_element_make_from_uri):
28209           Fix potential endless loop.
28210
28211 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28212
28213         * check/Makefile.am:
28214           add gsttag
28215         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
28216         (main):
28217           move over from testsuite dir and clean up
28218         * configure.ac:
28219         * gst/gsttag.c:
28220         * testsuite/Makefile.am:
28221         * testsuite/tags/.cvsignore:
28222         * testsuite/tags/Makefile.am:
28223         * testsuite/tags/merge.c:
28224           remove testsuite/tags
28225
28226 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28227
28228         * docs/gst/gstreamer-sections.txt:
28229         * docs/gst/tmpl/gstenumtypes.sgml:
28230         * win32/gstenumtypes.c:
28231           clean up documentation build a little
28232
28233 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28234
28235         * check/gstcheck.h:
28236           add macros for checking refcounts on objects and caps
28237         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
28238           add some more unit tests
28239         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
28240         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
28241           fix leaked refcounts (I hope :)) so unittest works
28242         * gst/gstpad.h:
28243           whitespace removal
28244
28245 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
28246
28247         * configure.ac: back to HEAD
28248
28249 === release 0.9.1 ===
28250
28251 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28252
28253         * NEWS:
28254         * RELEASE:
28255           updated
28256
28257 2005-06-17  Andy Wingo  <wingo@pobox.com>
28258
28259         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
28260         assert; it's always possible that the pad gets deactivated in
28261         between the checks in gstpad.c and the implementation. Rely on
28262         finish_preroll() to return a FLUSHING or similar instead of on the
28263         assert.
28264         
28265         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
28266         clock and post an EOS message if we come out of finish_preroll in
28267         the playing state.
28268
28269 2005-06-16  David Schleef  <ds@schleef.org>
28270
28271         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
28272         (gst_capsfilter_set_property): Allow NULL as possible value
28273         for filter_caps property, indicating GST_CAPS_ANY.
28274
28275 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28276
28277         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
28278           fix debug output
28279         * gst/schedulers/Makefile.am:
28280           use libgst prefix
28281         * gstreamer.spec.in:
28282           fix spec for it
28283
28284 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
28285
28286         * gstreamer.spec.in:
28287           clean up
28288
28289 2005-06-08  Andy Wingo  <wingo@pobox.com>
28290
28291         * gst/gstutils.c: RPAD fixes all around.
28292         (gst_element_link_pads): Refcounting fixes.
28293
28294         * tools/gst-inspect.c:
28295         * tools/gst-xmlinspect.c:
28296         * parse/grammar.y:
28297         * gst/base/gsttypefindhelper.c:
28298         * gst/base/gstbasesink.c:
28299         * gst/gstqueue.c: RPAD fixes.
28300
28301         * gst/gstghostpad.h:
28302         * gst/gstghostpad.c: New ghost pad implementation as full proxy
28303         pads. The tricky thing is they provide both source and sink
28304         interfaces, since they proxy the internal pad for the external
28305         pad, and vice versa. Implement with lower-level ProxyPad objects,
28306         with the interior proxy pad as a child of the exterior ghost pad.
28307         Should write a doc on this.
28308         
28309         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
28310         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
28311         gst_object API.
28312         
28313         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
28314         pads are real pads. No ghost pads in this file. Not documenting
28315         the myriad s/RPAD/PAD/ and REALIZE fixes.
28316         (gst_pad_class_init): Add properties for "direction" and
28317         "template". Both are construct-only, so they can't change during
28318         the life of the pad. Fixes properly deriving from GstPad.
28319         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
28320         derived objects, just set properties when creating the objects via
28321         g_object_new.
28322         (gst_pad_get_parent): Implement as a function, return NULL if the
28323         parent is not an element.
28324         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
28325         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
28326         
28327         * gst/gstobject.c (gst_object_class_init): Make name a construct
28328         property. Don't set it in the object init.
28329
28330         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
28331         with UNKNOWN direction.
28332         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
28333         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
28334         (gst_element_remove_pad): Remove ghost-pad special cases.
28335         (gst_element_pads_activate): Remove rpad cruft.
28336
28337         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
28338         catch the pad's-parent-not-an-element case.
28339
28340         * gst/gst.h: Include gstghostpad.h.
28341
28342         * gst/gst.c (init_post): No more real, ghost pads.
28343
28344         * gst/Makefile.am: Add gstghostpad.[ch].
28345
28346         * check/Makefile.am:
28347         * check/gst/gstbin.c:
28348         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
28349         into a bin creates ghost pads, and that the refcounts are right.
28350         Partly moved from gstbin.c.
28351
28352 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28353
28354         * check/gst-libs/.cvsignore:
28355         * check/gst/.cvsignore:
28356         * check/pipelines/.cvsignore:
28357           ignore more
28358         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
28359         (START_TEST), (cleanup_suite), (main):
28360           add some tests related to cleanup after running pipelines
28361
28362 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28363
28364         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
28365           add a testsuite for GstBuffer
28366
28367 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
28368
28369         * gst/gstminiobject.h:
28370           add defines for accessing the refcount
28371
28372 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
28373
28374         * Makefile.am: added support for html unit test coverage reports
28375
28376 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
28377
28378         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
28379           Free existing caps if the capsfilter changes. Add a FIXME about
28380           setting those caps on the pads.
28381
28382         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
28383           Before adding a ghost pad to a parent bin, check that there isn't
28384           already one for the element on the bin. Prevents infinite recursion
28385           when using decodebin in parse pipelines. Andy says he'll rewrite the
28386           way this works anyway, so ignore the hack.
28387
28388 2005-06-02  Andy Wingo  <wingo@pobox.com>
28389
28390         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
28391         file size, pass it on to the type find helper.
28392
28393         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
28394         segment_start and segment_end properly according to the seek
28395         method. Segment_end is still a bit flaky because offset can be
28396         negative for CUR and END cases, but it takes -1 as an "unset"
28397         value.
28398
28399 2005-06-02  Wim Taymans  <wim@fluendo.com>
28400
28401         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
28402         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
28403         (gst_basesink_activate):
28404         * gst/base/gstbasesink.h:
28405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28406         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28407         (gst_pad_query), (gst_pad_start_task):
28408         * gst/gstpad.h:
28409         * gst/gstqueue.c: (gst_queue_bufferalloc),
28410         (gst_queue_handle_sink_event), (gst_queue_chain):
28411         Bufferalloc: return GstFlowReturn to more accuratly report
28412         why allocation failed.
28413
28414 2005-06-02  Wim Taymans  <wim@fluendo.com>
28415
28416         * gst/gstpipeline.c: (gst_pipeline_send_event):
28417         Take snapshot of state without blocking.
28418
28419 2005-06-02  Wim Taymans  <wim@fluendo.com>
28420
28421         * docs/design/part-TODO.txt:
28422         * docs/design/part-caps.txt:
28423         * docs/design/part-clocks.txt:
28424         * docs/design/part-negotiation.txt:
28425         * docs/design/part-preroll.txt:
28426         Small doc updates 
28427
28428 2005-05-30  Wim Taymans  <wim@fluendo.com>
28429
28430         * gst/elements/gstidentity.c: (gst_identity_event),
28431         (gst_identity_transform), (gst_identity_get_property):
28432         Protect last_message property as it is accessed from
28433         multiple threads.
28434
28435 2005-05-30  Wim Taymans  <wim@fluendo.com>
28436
28437         * gst/gstelement.c: (gst_element_init),
28438         (gst_element_pads_activate), (gst_element_change_state):
28439         Slicker pad activation code.
28440
28441 2005-05-30  Wim Taymans  <wim@fluendo.com>
28442
28443         * gst/Makefile.am:
28444         * gst/gstelement.h:
28445         * gst/gstelementfactory.h:
28446         * gst/gsttypes.h:
28447         Move elementfactory methods to separate .h file.
28448
28449 2005-05-30  Wim Taymans  <wim@fluendo.com>
28450
28451         * docs/design/part-overview.txt:
28452         * gst/gstsystemclock.h:
28453         Small typo fixes, doc updates.
28454
28455 2005-05-30  Wim Taymans  <wim@fluendo.com>
28456
28457         * gst/gst.c: (gst_init_get_popt_table), (init_post),
28458         (init_popt_callback):
28459         Remove cpu-opt flag.
28460
28461 2005-05-30  Wim Taymans  <wim@fluendo.com>
28462
28463         * gst/gstbuffer.c: (gst_subbuffer_finalize),
28464         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
28465         * gst/gstbuffer.h:
28466         Avoid typechecking in places where not needed.
28467         Added accessor for malloc_data.
28468
28469 2005-05-30  Wim Taymans  <wim@fluendo.com>
28470
28471         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
28472         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
28473         (gst_pad_configure_sink), (gst_pad_configure_src),
28474         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
28475         (gst_pad_start_task):
28476         Propagate errors from _set_caps() in configure_src/sink
28477         functions instead of returning TRUE.
28478         FLUSH events can travel up and downstream
28479
28480
28481 2005-05-30  Wim Taymans  <wim@fluendo.com>
28482
28483         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28484         (gst_basesink_activate):
28485         Handle EOS in preroll.
28486
28487 2005-05-30  Wim Taymans  <wim@fluendo.com>
28488
28489         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28490         (gst_queue_loop), (gst_queue_handle_src_event):
28491         Remove old pieces of code
28492         Flushing the queue in an upstream event is a very bad idea.
28493
28494 2005-05-26  Andy Wingo  <wingo@pobox.com>
28495
28496         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
28497         gst_value_set_mini_object so as to add a ref on the object (which
28498         will be removed when the value is unset).
28499
28500         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
28501         arg type in ::handoff.
28502
28503         * gst/gstelement.c (gst_element_change_state): Also deactivate
28504         pads in READY->NULL, just in case the element didn't make it to
28505         PAUSED. Wingo tested, Wim approved.
28506
28507 2005-05-26  Wim Taymans  <wim@fluendo.com>
28508
28509         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28510         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
28511         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
28512         A flushing pad cannot be used to alloc_buffer from.
28513
28514 2005-05-26  Wim Taymans  <wim@fluendo.com>
28515
28516         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
28517         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
28518         (gst_bus_source_dispatch), (gst_bus_source_finalize),
28519         (gst_bus_create_watch), (gst_bus_add_watch_full):
28520         * gst/gstbus.h:
28521         Implement a real GSource and use g_main_context_wakeup() to
28522         signal new messages instead of the socketpair.
28523
28524 2005-05-25  Wim Taymans  <wim@fluendo.com>
28525
28526         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
28527         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
28528         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28529         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28530         (gst_pad_send_event), (gst_pad_start_task):
28531         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
28532         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
28533         (gst_queue_sink_activate), (gst_queue_src_activate),
28534         (gst_queue_change_state):
28535         * gst/gstqueue.h:
28536         Fix state changes for non sinks. We now change sinks, then elements
28537         with unconnected srcpads, then the rest.
28538         More efficient queue unlocking in flush and state changes.
28539         Set the pad activate mode even if it does not have an activate
28540         function.
28541
28542 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28543
28544         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
28545           Don't go in pull mode for non-seekable sources.
28546         * gst/elements/gsttypefindelement.h:
28547         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28548         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
28549         (free_entry), (stop_typefinding),
28550         (gst_type_find_element_handle_event), (find_peek),
28551         (gst_type_find_element_chain), (do_pull_typefind),
28552         (gst_type_find_element_change_state):
28553           Allow typefinding (w/o seeking) in push-mode, simplified version
28554           of what was in 0.8.
28555         * gst/gstutils.c: (gst_buffer_join):
28556         * gst/gstutils.h:
28557           gst_buffer_join() from 0.8.
28558
28559 2005-05-25  Wim Taymans  <wim@fluendo.com>
28560
28561         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
28562         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
28563         (gst_pad_send_event), (gst_pad_start_task):
28564         Disable attempt at mode switching until it is figured out.
28565
28566 2005-05-25  Wim Taymans  <wim@fluendo.com>
28567
28568         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
28569         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
28570         (gst_basesink_finish_preroll), (gst_basesink_chain),
28571         (gst_basesink_loop), (gst_basesink_activate),
28572         (gst_basesink_change_state):
28573         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
28574         (gst_basesrc_get_range), (gst_basesrc_loop),
28575         (gst_basesrc_activate):
28576         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28577         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28578         (gst_real_pad_init), (gst_real_pad_set_property),
28579         (gst_real_pad_get_property), (gst_pad_set_active),
28580         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
28581         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
28582         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
28583         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
28584         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28585         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
28586         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
28587         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
28588         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
28589         (gst_pad_stop_task):
28590         * gst/gstpad.h:
28591         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
28592         (gst_queue_loop), (gst_queue_src_activate):
28593         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
28594         (gst_task_get_state):
28595         * gst/gsttask.h:
28596         * gst/schedulers/threadscheduler.c:
28597         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
28598         Implement gst_pad_pause/start/stop_task(), take STREAM lock
28599         in task function.
28600         Remove ACTIVE pad flag, use FLUSHING everywhere
28601         Added _pad_chain(), _pad_get_range() to call chain/getrange 
28602         functions.
28603         Add locks around IS_FLUSHING when reading.
28604         Take STREAM lock in chain(), get_range() functions so plugins
28605         don't need to take it anymore.
28606         
28607
28608
28609 2005-05-25  Wim Taymans  <wim@fluendo.com>
28610
28611         * tools/gst-launch.c: (event_loop):
28612         Unref message after using its contents instead of
28613         before.
28614
28615 2005-05-24  Wim Taymans  <wim@fluendo.com>
28616
28617         * docs/design/draft-ghostpads.txt:
28618         * docs/design/draft-push-pull.txt:
28619         * docs/design/draft-query.txt:
28620         * docs/design/part-overview.txt:
28621         Docs updates, added general overview doc.
28622
28623 2005-05-21  David Schleef  <ds@schleef.org>
28624
28625         * docs/gst/tmpl/old/GstBin.sgml:
28626         * docs/gst/tmpl/old/GstBuffer.sgml:
28627         * docs/gst/tmpl/old/GstCaps.sgml:
28628         * docs/gst/tmpl/old/GstClock.sgml:
28629         * docs/gst/tmpl/old/GstCompat.sgml:
28630         * docs/gst/tmpl/old/GstData.sgml:
28631         * docs/gst/tmpl/old/GstElement.sgml:
28632         * docs/gst/tmpl/old/GstEvent.sgml:
28633         * docs/gst/tmpl/old/GstIndex.sgml:
28634         * docs/gst/tmpl/old/GstStructure.sgml:
28635         * docs/gst/tmpl/old/GstTag.sgml:
28636         * docs/gst/tmpl/old/cothreads.sgml:
28637         * docs/gst/tmpl/old/cothreads_compat.sgml:
28638         * docs/gst/tmpl/old/gettext.sgml:
28639         * docs/gst/tmpl/old/gobject2gtk.sgml:
28640         * docs/gst/tmpl/old/grammar.tab.sgml:
28641         * docs/gst/tmpl/old/gst-i18n-app.sgml:
28642         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
28643         * docs/gst/tmpl/old/gst_private.sgml:
28644         * docs/gst/tmpl/old/gstaggregator.sgml:
28645         * docs/gst/tmpl/old/gstarch.sgml:
28646         * docs/gst/tmpl/old/gstatomic_impl.sgml:
28647         * docs/gst/tmpl/old/gstbufferstore.sgml:
28648         * docs/gst/tmpl/old/gstdata_private.sgml:
28649         * docs/gst/tmpl/old/gstdisksink.sgml:
28650         * docs/gst/tmpl/old/gstdisksrc.sgml:
28651         * docs/gst/tmpl/old/gstelementfactory.sgml:
28652         * docs/gst/tmpl/old/gstextratypes.sgml:
28653         * docs/gst/tmpl/old/gstfakesink.sgml:
28654         * docs/gst/tmpl/old/gstfakesrc.sgml:
28655         * docs/gst/tmpl/old/gstfdsink.sgml:
28656         * docs/gst/tmpl/old/gstfdsrc.sgml:
28657         * docs/gst/tmpl/old/gstfilesink.sgml:
28658         * docs/gst/tmpl/old/gstfilesrc.sgml:
28659         * docs/gst/tmpl/old/gsthttpsrc.sgml:
28660         * docs/gst/tmpl/old/gstidentity.sgml:
28661         * docs/gst/tmpl/old/gstindexfactory.sgml:
28662         * docs/gst/tmpl/old/gstmarshal.sgml:
28663         * docs/gst/tmpl/old/gstmd5sink.sgml:
28664         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
28665         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
28666         * docs/gst/tmpl/old/gstpadtemplate.sgml:
28667         * docs/gst/tmpl/old/gstpipefilter.sgml:
28668         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
28669         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
28670         * docs/gst/tmpl/old/gstshaper.sgml:
28671         * docs/gst/tmpl/old/gstspider.sgml:
28672         * docs/gst/tmpl/old/gstspideridentity.sgml:
28673         * docs/gst/tmpl/old/gststatistics.sgml:
28674         * docs/gst/tmpl/old/gsttee.sgml:
28675         * docs/gst/tmpl/old/gsttimecache.sgml:
28676         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
28677         * docs/gst/tmpl/old/gstxmlregistry.sgml:
28678         * docs/gst/tmpl/old/gthread-cothreads.sgml:
28679         * docs/gst/tmpl/old/types.sgml:
28680           I didn't intend to add these or check them in.
28681
28682 2005-05-19  David Schleef  <ds@schleef.org>
28683
28684         * configure.ac: Use -no-common everywhere.  In a sane world, it
28685           would be the default in libtool, because without it, you can't
28686           build DLLs on Windows.
28687         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
28688         * docs/gst/gstreamer-sections.txt:
28689         * docs/gst/tmpl/gstcpu.sgml:
28690         * docs/gst/tmpl/gstdata.sgml:
28691         * docs/gst/tmpl/gstthread.sgml:
28692
28693 2005-05-19  David Schleef  <ds@schleef.org>
28694
28695         * gst/gstminiobject.c: (gst_value_set_mini_object),
28696         (gst_value_take_mini_object), (gst_value_get_mini_object):
28697         * gst/gstminiobject.h: Add GValue set/get functions.
28698
28699 2005-05-19  Wim Taymans  <wim@fluendo.com>
28700
28701         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
28702         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
28703         (gst_subbuffer_init), (gst_buffer_is_span_fast):
28704         * gst/gstbuffer.h:
28705         * gst/gstbus.c: (gst_bus_post):
28706         * gst/gstelement.c: (gst_element_get_random_pad):
28707         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
28708         Make subbufer unref the parent in finalize.
28709         some more debugging info.
28710
28711
28712 2005-05-19  Wim Taymans  <wim@fluendo.com>
28713
28714         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28715         (gst_basesink_init), (gst_basesink_finalize),
28716         (gst_basesink_activate), (gst_basesink_change_state):
28717         Don't free preroll queue too early.
28718
28719 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28720
28721         * gst/Makefile.am:
28722         * gst/ROADMAP:
28723           Hi, I'm outdated. Please shoot me.
28724
28725 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28726
28727         * gst/gstpipeline.c: (gst_pipeline_send_event):
28728           Do not access variables after they have been deleted.
28729
28730 2005-05-19  Wim Taymans  <wim@fluendo.com>
28731
28732         * tools/gst-inspect.c: (print_plugin_features):
28733         A plugin feature does unfortunatly not use the
28734         object name yet...
28735
28736 2005-05-18  Wim Taymans  <wim@fluendo.com>
28737
28738         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
28739         Port _span() functions to new subbuffers.
28740
28741 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28742
28743         * gst/gstbin.c: (gst_bin_add_func):
28744           Fix clock settery in bins when adding kids after the clock has
28745           been selected.
28746
28747 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28748
28749         * gst/elements/gstidentity.c: (gst_identity_class_init):
28750           Workaround until signals support GstMiniObject.
28751
28752 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
28753
28754         * gst/gstbuffer.c:
28755         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
28756
28757 2005-05-18  Wim Taymans  <wim@fluendo.com>
28758
28759         * gst/base/Makefile.am:
28760         * gst/base/gstadapter.c: (gst_adapter_base_init),
28761         (gst_adapter_class_init), (gst_adapter_init),
28762         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
28763         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
28764         (gst_adapter_flush), (gst_adapter_available),
28765         (gst_adapter_available_fast):
28766         * gst/base/gstadapter.h:
28767         Ported and added adapter to the base classes.
28768
28769 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28770
28771         * gst/gst.c:
28772         * gst/gstmessage.c:
28773           Make sure the class is reffed/unreffed once before threads can be
28774           used.  Fixes #304551.
28775
28776 2005-05-17  Wim Taymans  <wim@fluendo.com>
28777
28778         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
28779         (gst_basesink_chain_unlocked), (gst_basesink_activate):
28780         * gst/gstminiobject.c: (gst_mini_object_get_type),
28781         (gst_mini_object_free):
28782         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
28783         (gst_pad_push), (gst_pad_push_event):
28784         * gst/gstqueue.c: (gst_queue_change_state):
28785         Don't queue buffers in basesink when we are flushing.
28786         Unref buffer when flushing in basesink.
28787         Flush queue when going to READY
28788         Unref buffer when _push() returns an error.
28789         Don't free MiniObject instance when refcount is incremented
28790         in _finalize() so that we can recover objects.
28791
28792 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
28793
28794         * docs/manual/advanced-schedulers.xml:
28795         * docs/manual/appendix-checklist.xml:
28796         * docs/pwg/advanced-clock.xml:
28797         * docs/pwg/advanced-interfaces.xml:
28798         * docs/pwg/advanced-request.xml:
28799         * docs/pwg/advanced-types.xml:
28800         * docs/pwg/intro-preface.xml:
28801         * examples/plugins/example.c: (gst_example_get_type),
28802         (gst_example_class_init), (gst_example_chain),
28803         (gst_example_set_property), (gst_example_get_property),
28804         (gst_example_change_state), (plugin_init):
28805         * examples/plugins/example.h:
28806           small doc fixes
28807
28808 2005-05-17  Wim Taymans  <wim@fluendo.com>
28809
28810         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28811         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28812         * gst/gstqueue.c: (gst_queue_change_state):
28813         Clear queue when going to READY.
28814         Remove IN_SETCAPS flag too.
28815
28816 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
28817
28818         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28819           Remove implicit cast from gboolean to GstElementStateReturn;
28820           make sure we still return failure in paused => ready case if
28821           the parent class fails to change state and our own stop 
28822           vfunc succeeds.
28823
28824 2005-05-17  Wim Taymans  <wim@fluendo.com>
28825
28826         * tools/gst-launch.c: (event_loop):
28827         Message was unreffed too soon.
28828
28829 2005-05-16  Andy Wingo  <wingo@pobox.com>
28830
28831         * gst/gstbin.c (sink_iterator_filter): Err... um...
28832
28833         * check/gst/gstbin.c (test_ghost_pads): New test for the
28834         ghosting-if-elements-not-in-same-bin behavior.
28835
28836 2005-05-16  David Schleef  <ds@schleef.org>
28837
28838         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28839         accessing refcount directly.
28840
28841 2005-05-15  David Schleef  <ds@schleef.org>
28842
28843         * check/Makefile.am: remove GstData checks
28844         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28845         * gst/Makefile.am: add miniobject, remove data
28846         * gst/gst.h: add miniobject, remove data
28847         * gst/gstdata.c: remove
28848         * gst/gstdata.h: remove
28849         * gst/gstdata_private.h: remove
28850         * gst/gsttypes.h: remove GstEvent and GstMessage
28851         * gst/gstelement.c: (gst_element_post_message): fix for API changes
28852         * gst/gstmarshal.list: change BOXED -> OBJECT
28853
28854         Implement GstMiniObject.
28855         * gst/gstminiobject.c:
28856         * gst/gstminiobject.h:
28857
28858         Modify to be subclasses of GstMiniObject.
28859         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28860         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28861         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28862         (gst_subbuffer_get_type), (gst_subbuffer_init),
28863         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28864         (gst_buffer_span):
28865         * gst/gstbuffer.h:
28866         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28867         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28868         (_gst_event_copy), (gst_event_new):
28869         * gst/gstevent.h:
28870         * gst/gstmessage.c: (_gst_message_initialize),
28871         (gst_message_get_type), (gst_message_class_init),
28872         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28873         (gst_message_new), (gst_message_new_error),
28874         (gst_message_new_warning), (gst_message_new_tag),
28875         (gst_message_new_state_changed), (gst_message_new_application):
28876         * gst/gstmessage.h:
28877         * gst/gstprobe.c: (gst_probe_perform),
28878         (gst_probe_dispatcher_dispatch):
28879         * gst/gstprobe.h:
28880         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28881         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28882         (_gst_query_copy), (gst_query_new):
28883
28884         Update elements for GstData -> GstMiniObject changes
28885         * gst/gstquery.h:
28886         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28887         (gst_queue_chain), (gst_queue_loop):
28888         * gst/elements/gstbufferstore.c:
28889         (gst_buffer_store_add_buffer_func),
28890         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28891         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28892         (gst_fakesink_render):
28893         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28894         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28895         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28896         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28897         (gst_filesrc_create_read):
28898         * gst/elements/gstidentity.c: (gst_identity_class_init):
28899         * gst/elements/gsttypefindelement.c:
28900         (gst_type_find_element_src_event), (free_entry_buffers),
28901         (gst_type_find_element_handle_event):
28902         * libs/gst/dataprotocol/dataprotocol.c:
28903         (gst_dp_header_from_buffer):
28904         * libs/gst/dataprotocol/dataprotocol.h:
28905         * libs/gst/dataprotocol/dp-private.h:
28906
28907 2005-05-15  David Schleef  <ds@schleef.org>
28908
28909         * gst/elements/gstelements.c: Don't include headers that were
28910         just removed.
28911
28912 2005-05-15  David Schleef  <ds@schleef.org>
28913
28914         * gst/elements/Makefile.am: Remove some elements that don't
28915         need to be in the core (or even exist at all).
28916         * gst/elements/gstaggregator.c:
28917         * gst/elements/gstaggregator.h:
28918         * gst/elements/gstmd5sink.c:
28919         * gst/elements/gstmd5sink.h:
28920         * gst/elements/gstmultifilesrc.c:
28921         * gst/elements/gstmultifilesrc.h:
28922         * gst/elements/gstpipefilter.c:
28923         * gst/elements/gstpipefilter.h:
28924         * gst/elements/gstshaper.c:
28925         * gst/elements/gstshaper.h:
28926         * gst/elements/gststatistics.c:
28927         * gst/elements/gststatistics.h:
28928         * po/POTFILES.in: Remove above files.
28929
28930 2005-05-14  Andy Wingo  <wingo@pobox.com>
28931
28932         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28933         so as to get the refs right.
28934         (sink_iterator_filter): New function, wraps bin_element_is_sink,
28935         unreffing objects that don't pass the filter.
28936
28937         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28938         gst_element_set_bus.
28939         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28940         normal cases, this will destroy the bus.
28941
28942         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28943         object.
28944
28945         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28946         has no sinks.
28947
28948 2005-05-13  Andy Wingo  <wingo@pobox.com>
28949
28950         * gst/gstutils.c (gst_element_link_pads): Instead of calling
28951         gst_pad_link, call pad_link_maybe_ghosting,
28952         (pad_link_maybe_ghosting): Links pads, making sure that the
28953         elements being linked are in the same bin.
28954         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28955         Helpers for pad_link_maybe_ghosting.
28956
28957 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28958
28959         * configure.ac:
28960           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28961
28962 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28963
28964         * docs/design/part-element-source.txt:
28965           Mention GstPushSrc
28966
28967 2005-05-12  Wim Taymans  <wim@fluendo.com>
28968
28969         * gst/base/gstbasesink.c: (gst_basesink_init),
28970         (gst_basesink_activate):
28971         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28972         (gst_basesrc_is_seekable):
28973         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28974         (bin_element_is_sink), (gst_bin_change_state):
28975         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28976         * gst/gstelement.h:
28977         Identify sinks by their flag to avoid overly complicated
28978         checks (fow now).
28979         Do state changes even for elements not reachable from the
28980         sinks.
28981         BaseSink is a sink now :)
28982         Some more debugging info in the basesrc.
28983
28984
28985 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28986
28987         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28988           Implement _query on a bin, similar to _send_event.
28989
28990 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28991
28992         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28993           Discont event offset format should be GST_FORMAT_BYTES,
28994           not GST_FORMAT_TIME.
28995
28996 2005-05-12  Wim Taymans  <wim@fluendo.com>
28997
28998         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28999         Same fix as Ronald's but without the signal. 
29000
29001 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29002
29003         * gst/gstutils.c: (gst_element_query_position):
29004           No, an element is not a pad.
29005
29006 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29007
29008         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
29009         (gst_bin_get_state):
29010           If a child is removed from a bin while we remove the child from
29011           the bin and while we're retrieving its state, signal this to the
29012           get_state function so we abort the wait (instead of waiting for
29013           a timeout) and can immediately re-iterate over all other elements.
29014
29015 2005-05-12  Wim Taymans  <wim@fluendo.com>
29016
29017         * gst/base/Makefile.am:
29018         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
29019         (gst_basesrc_start):
29020         * gst/base/gstbasesrc.h:
29021         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
29022         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
29023         (gst_pushsrc_init), (gst_pushsrc_create):
29024         * gst/base/gstpushsrc.h:
29025         Added is_seekable to BaseSrc
29026         Added simple PushSrc.
29027
29028 2005-05-11  Wim Taymans  <wim@fluendo.com>
29029
29030         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
29031         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29032         (gst_element_link_pads), (gst_element_query_position),
29033         (gst_element_query_convert), (intersect_caps_func),
29034         (gst_pad_query_position), (gst_pad_query_convert):
29035         Fix refcounting in utils function.
29036         No point in trying to activate a pad when it's added, it could
29037         be added from the state change function and then we deadlock, the
29038         element has to decide what to do.
29039
29040 2005-05-10  Andy Wingo  <wingo@pobox.com>
29041
29042         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
29043         *all* the arguments.
29044
29045         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
29046         stream lock if it's a FLUSH_DONE; normal flushes don't get the
29047         lock (according to the docs -- if this is wrong change the docs).
29048
29049         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
29050         flush messages in the NULL state.
29051
29052         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
29053         message immediately and return.
29054         (gst_bus_set_flushing): New function. If a bus is flushing, it
29055         flushes out any queued messages and immediately unrefs new
29056         messages. This is so when an element goes to NULL, all of the
29057         unhandled messages coming from it can be freed, and their
29058         references to the element dropped. In other words: message source
29059         ref considered harmful :P
29060
29061         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
29062         we're finished with it.
29063
29064         * gst/gstmessage.c (gst_message_new_state_changed): 
29065
29066 2005-05-10  Wim Taymans  <wim@fluendo.com>
29067
29068         * gst/gstvalue.c: (gst_value_compare_flags),
29069         (gst_value_serialize_flags), (gst_value_deserialize_flags),
29070         (_gst_value_initialize):
29071         Added flags serialize/deserialize/compare code.
29072
29073 2005-05-09  Andy Wingo  <wingo@pobox.com>
29074
29075         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
29076         Intersect the peer's caps with our caps.
29077
29078 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29079
29080         * gst/base/gsttypefindhelper.c: (helper_find_peek):
29081         * gst/elements/gsttypefindelement.c: (find_peek):
29082           Handle negative offsets better. Fixes decodebin.
29083
29084 2005-05-09  Wim Taymans  <wim@fluendo.com>
29085
29086         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
29087         (gst_base_transform_event):
29088         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
29089         Implement accept_caps.
29090         Fix silly lock/unlock mismatch in base class.
29091
29092 2005-05-09  Wim Taymans  <wim@fluendo.com>
29093
29094         * docs/design/draft-push-pull.txt:
29095         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
29096         * gst/elements/gstfilesink.c: (gst_filesink_init),
29097         (gst_filesink_query):
29098         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
29099         (gst_type_find_handle_src_query), (find_element_get_length):
29100         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
29101         * gst/gstelement.h:
29102         * gst/gstmessage.c:
29103         * gst/gstmessage.h:
29104         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
29105         (gst_real_pad_get_caps_unlocked),
29106         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
29107         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29108         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
29109         (gst_real_pad_dispose), (gst_real_pad_finalize),
29110         (gst_pad_load_and_link), (gst_pad_save_thyself),
29111         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
29112         (gst_pad_check_pull_range), (gst_pad_pull_range),
29113         (gst_pad_template_get_type), (gst_pad_template_class_init),
29114         (gst_pad_template_init), (gst_pad_template_dispose),
29115         (name_is_valid), (gst_static_pad_template_get),
29116         (gst_pad_template_new), (gst_static_pad_template_get_caps),
29117         (gst_pad_template_get_caps), (gst_pad_set_element_private),
29118         (gst_pad_get_element_private), (gst_pad_start_task),
29119         (gst_pad_pause_task), (gst_pad_stop_task),
29120         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
29121         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
29122         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
29123         (gst_ghost_pad_new):
29124         * gst/gstpad.h:
29125         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
29126         (gst_query_new_position), (gst_query_set_position),
29127         (gst_query_parse_position), (gst_query_new_convert),
29128         (gst_query_set_convert), (gst_query_parse_convert):
29129         * gst/gstquery.h:
29130         * gst/gstqueryutils.c:
29131         * gst/gstqueryutils.h:
29132         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29133         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29134         (gst_queue_handle_src_query):
29135         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29136         (gst_element_query_position), (gst_element_query_convert),
29137         (intersect_caps_func), (gst_pad_query_position),
29138         (gst_pad_query_convert):
29139         * gst/gstutils.h:
29140         * tools/gst-inspect.c: (print_pad_info):
29141         * tools/gst-xmlinspect.c: (print_element_info):
29142         Remove old query functions. Ported old code.
29143         Added position/convert helper functions to gstutils.
29144         Reordered gstpad.c code, grouping relevant things.
29145         Remove gst_message_new(), always need to speficy a specific
29146         message.
29147
29148
29149 2005-05-09  Andy Wingo  <wingo@pobox.com>
29150
29151         * gst/gstiterator.h: Add some includes.
29152
29153         * gst/gstqueryutils.h: Include more headers.
29154
29155         * gst/gstpad.h:
29156         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
29157         some uses of gst_pad_query.
29158
29159         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
29160         NULL out parameters.
29161         (gst_query_new_position): New proc, allocates a new position
29162         query.
29163
29164         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
29165         gstqueryutils.c to the build.
29166
29167         * gst/gststructure.c (gst_structure_set_valist): Implement with
29168         the generic G_VALUE_COLLECT.
29169         
29170 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
29171
29172         * gst/Makefile.am: (gst_headers):
29173         Added gstqueryutils.h to the list of headers to install, that was
29174         a 'nachty' move wingo :)
29175
29176 2005-05-06  Andy Wingo  <wingo@pobox.com>
29177
29178         * gst/gstquery.h
29179         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
29180         GstData, init a memchunk.
29181         (standard_definitions): Add a few query types, deprecate a few.
29182         (gst_query_get_type): New proc.
29183         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
29184         implementation.
29185         (gst_query_new_application, gst_query_get_structure): New public
29186         procs.
29187
29188         * docs/design/draft-query.txt: Removed LINKS from the query types,
29189         because all the rest can be dispatched to other pads -- seemed
29190         ugly to have a query that couldn't be dispatched. internal_links
29191         is fine as a pad method.
29192
29193         * gst/gstpad.h: Add query2 as a pad method, add the new functions
29194         in gstpad.c, but maintain binary compatibility for the moment.
29195         Will fix before 0.9 is out.
29196
29197         * gst/gstqueryutils.c: 
29198         * gst/gstqueryutils.h: New files, implement 3 methods for each
29199         query type: parse_query, parse_response, and set. Probably need an
29200         allocator as well.
29201
29202         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
29203
29204         * gst/elements/gstfilesink.c (gst_filesink_query2):
29205         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
29206         query_types, and formats methods.
29207
29208         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
29209         (gst_pad_set_query2_function): New functions.
29210         (gst_real_pad_init): Set query2_default as the default query2
29211         function. Basically just dispatches to internally linked pads.
29212
29213         Needs review!
29214         
29215         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
29216         without using the atomic operations. Only one thread can possibly
29217         be accessing the data at this point. Changed so as to avoid
29218         gst_atomic operations.
29219
29220 2005-05-06  Wim Taymans  <wim@fluendo.com>
29221
29222         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
29223         Also set caps if we use the fallback buffer alloc.
29224
29225 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
29226
29227         * docs/gst/Makefile.am:
29228         * docs/gst/gstreamer-docs.sgml:
29229         * docs/gst/gstreamer-sections.txt:
29230         * docs/gst/tmpl/gstatomic.sgml:
29231         * docs/gst/tmpl/gstmemchunk.sgml:
29232         * testsuite/elements/struct_i386.h:
29233         * win32/GStreamer.vcproj:
29234         * win32/Makefile:
29235           Purge GstAtomic stuff from docs and win32 makefiles as well
29236
29237 2005-05-06  Wim Taymans  <wim@fluendo.com>
29238
29239         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
29240         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
29241         * gst/gstpad.c: (gst_pad_peer_get_caps):
29242         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
29243         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
29244         (gst_queue_src_activate), (gst_queue_change_state):
29245         * gst/gstqueue.h:
29246         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29247         (intersect_caps_func):
29248         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
29249         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
29250         Some fixes for the peer_get_caps() change.
29251
29252 2005-05-06  Wim Taymans  <wim@fluendo.com>
29253
29254         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
29255         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
29256         (gst_basesink_activate):
29257         Actually do something with error codes returned from the push
29258         functions.
29259
29260 2005-05-06  Wim Taymans  <wim@fluendo.com>
29261
29262         * docs/design/part-element-sink.txt:
29263         * docs/design/part-element-source.txt:
29264         * gst/base/gstbasesink.c: (gst_basesink_class_init),
29265         (gst_basesink_event), (gst_basesink_activate):
29266         * gst/base/gstbasesink.h:
29267         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
29268         (gst_basesrc_activate):
29269         * gst/base/gstbasesrc.h:
29270         * gst/gstelement.c: (gst_element_pads_activate):
29271         Some more documentation.
29272         Fixed scheduling decision in _pads_activate().
29273
29274 2005-05-05  Andy Wingo  <wingo@pobox.com>
29275
29276         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
29277         the test suite.
29278
29279 2005-05-05  Wim Taymans  <wim@fluendo.com>
29280
29281         * gst/base/Makefile.am:
29282         * gst/base/gstbasesink.h:
29283         * gst/base/gstbasesrc.c: (gst_basesrc_init),
29284         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
29285         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
29286         (gst_collectpads_class_init), (gst_collectpads_init),
29287         (gst_collectpads_finalize), (gst_collectpads_new),
29288         (gst_collectpads_set_function), (gst_collectpads_add_pad),
29289         (find_pad), (gst_collectpads_remove_pad),
29290         (gst_collectpads_is_active), (gst_collectpads_collect),
29291         (gst_collectpads_collect_range), (gst_collectpads_start),
29292         (gst_collectpads_stop), (gst_collectpads_peek),
29293         (gst_collectpads_pop), (gst_collectpads_available),
29294         (gst_collectpads_read), (gst_collectpads_flush),
29295         (gst_collectpads_chain):
29296         * gst/base/gstcollectpads.h:
29297         * gst/elements/Makefile.am:
29298         * gst/elements/gstelements.c:
29299         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29300         (gst_fakesink_get_times), (gst_fakesink_event),
29301         (gst_fakesink_preroll), (gst_fakesink_render):
29302         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
29303         (gst_filesink_init), (gst_filesink_set_location),
29304         (gst_filesink_open_file), (gst_filesink_close_file),
29305         (gst_filesink_pad_query), (gst_filesink_event),
29306         (gst_filesink_render), (gst_filesink_change_state):
29307         * gst/elements/gstfilesink.h:
29308         Added object to help in making collect pad based elements.
29309         Ported filesink.
29310         Make event function in sink baseclass return gboolean.
29311
29312 2005-05-05  Wim Taymans  <wim@fluendo.com>
29313
29314         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
29315         (gst_bin_get_by_name):
29316         * gst/gstbuffer.h:
29317         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
29318         (gst_clock_finalize):
29319         * gst/gstdata.c: (gst_data_replace):
29320         * gst/gstdata.h:
29321         * gst/gstelement.c: (gst_element_request_pad),
29322         (gst_element_pads_activate):
29323         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
29324         (gst_object_unref):
29325         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29326         (gst_pad_set_checkgetrange_function),
29327         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
29328         (gst_pad_check_pull_range), (gst_pad_pull_range),
29329         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29330         (gst_pad_pause_task), (gst_pad_stop_task):
29331         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29332         (gst_element_request_pad), (gst_pad_proxy_getcaps):
29333         Fix name lookup in GstBin.
29334         Added _data_replace() function and _buffer_replace()
29335         Use finalize method to clean up clock.
29336         Fix refcounting on request pads.
29337         Fix pad schedule mode error.
29338         Some more object refcounting debug info,
29339
29340
29341 2005-05-04  Andy Wingo <wingo@pobox.com>
29342
29343         * check/Makefile.am:
29344         * docs/gst/tmpl/gstatomic.sgml:
29345         * docs/gst/tmpl/gstplugin.sgml:
29346         * gst/base/gstbasesink.c: (gst_basesink_activate):
29347         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
29348         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
29349         (gst_basesrc_query), (gst_basesrc_set_property),
29350         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
29351         (gst_basesrc_activate):
29352         * gst/base/gstbasesrc.h:
29353         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
29354         (gst_base_transform_src_activate):
29355         * gst/elements/gstelements.c:
29356         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29357         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
29358         * gst/elements/gsttee.c: (gst_tee_sink_activate):
29359         * gst/elements/gsttypefindelement.c: (find_element_get_length),
29360         (gst_type_find_element_checkgetrange),
29361         (gst_type_find_element_activate):
29362         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
29363         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
29364         (gst_caps_load_thyself):
29365         * gst/gstelement.c: (gst_element_pads_activate),
29366         (gst_element_save_thyself), (gst_element_restore_thyself):
29367         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
29368         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
29369         * gst/gstpad.h:
29370         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
29371         (gst_xml_parse_file), (gst_xml_parse_memory),
29372         (gst_xml_get_element), (gst_xml_make_element):
29373         * gst/indexers/gstfileindex.c: (gst_file_index_load),
29374         (_file_index_id_save_xml), (gst_file_index_commit):
29375         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
29376         (read_enum), (load_pad_template), (load_feature), (load_plugin),
29377         (load_paths):
29378         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
29379         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
29380         * tools/gst-complete.c: (main):
29381         * tools/gst-compprep.c: (main):
29382         * tools/gst-inspect.c: (print_element_properties_info):
29383         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
29384         * tools/gst-xmlinspect.c: (print_element_properties):
29385         GCC 4 fixen.
29386         
29387 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
29388
29389         * gst/gstplugin.c: (gst_plugin_check_module),
29390         (gst_plugin_check_file), (gst_plugin_load_file):
29391             apply patch from #172526 to make register work on MacOSX
29392
29393 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29394
29395         * docs/gst/tmpl/gstconfig.sgml:
29396         * gst/gstconfig.h.in:
29397           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
29398         * testsuite/debug/printf_extension.c: (main):
29399           Do not use GST_PTR_FORMAT on pointers to types with
29400           sizeof < sizeof(gpointer).  Fixes test on 64-bit
29401         * testsuite/elements/property.h:
29402           use correct printf format
29403
29404 2005-05-02  Wim Taymans  <wim@fluendo.com>
29405
29406         * docs/design/draft-push-pull.txt:
29407         * docs/design/draft-query.txt:
29408         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
29409         (gst_basesrc_start):
29410         Added draft for new query API.
29411         Added draft for better selecting scheduling methods.
29412         Make basesrc ignore length if the subclass does not support
29413         it.
29414
29415 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29416
29417         * gst/Makefile.am:
29418           possible fixes for automake-1.5 - _LIBADD is reserved
29419
29420 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
29421
29422         * docs/faq/Makefile.am:
29423         * docs/manual/Makefile.am:
29424         * docs/manuals.mak:
29425         * docs/pwg/Makefile.am:
29426         * gst/Makefile.am:
29427           possible fixes for automake-1.5
29428
29429 2005-04-28  Wim Taymans  <wim@fluendo.com>
29430
29431         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29432         (gst_basesink_pad_getcaps), (gst_basesink_init),
29433         (gst_basesink_do_sync):
29434         * gst/gstclock.c: (gst_clock_entry_new):
29435         * gst/gstevent.c: (gst_event_discont_get_value):
29436         * gst/gstpipeline.c: (pipeline_bus_handler),
29437         (gst_pipeline_change_state):
29438         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
29439         Better debugging of clocking info.
29440         Allow NULL values when getting discont values.
29441
29442 2005-04-27  Wim Taymans  <wim@fluendo.com>
29443
29444         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29445         * check/gst/gstpad.c: (gst_pad_suite):
29446         Increase timeout for checks.
29447
29448 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
29449
29450         * check/Makefile.am:
29451           fix the broken rule for cleanup.  Apparently this rule is
29452           only needed on FC2, so maybe this warrants further autotool
29453           inspection.
29454
29455 2005-04-26  Wim Taymans  <wim@fluendo.com>
29456
29457         * gst/gsttrashstack.h:
29458         Ooohh. a nasty one! After having a failed pop() from the stack,
29459         it's possible that the stack is empty. In that case, don't
29460         follow the NULL pointer.
29461
29462 2005-04-25  Wim Taymans  <wim@fluendo.com>
29463
29464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29465         (gst_pad_set_checkgetrange_function),
29466         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
29467         (gst_pad_check_pull_range), (gst_pad_pull_range),
29468         (gst_static_pad_template_get_caps), (gst_pad_start_task),
29469         (gst_pad_pause_task), (gst_pad_stop_task):
29470         * gst/gstplugin.c: (gst_plugin_load):
29471         * gst/gstplugin.h:
29472         Remove gst_library_load as it does more harm than good with
29473         the new g_module flags.
29474         Revert bogus caps template check in pad linking, pad caps
29475         are important when linking not the template, which is more
29476         general than the current caps.
29477
29478 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29479
29480         * gst/autoplug/.cvsignore:
29481         * gst/autoplug/Makefile.am:
29482         * gst/autoplug/gstsearchfuncs.c:
29483         * gst/autoplug/gstsearchfuncs.h:
29484         * gst/autoplug/gstspider.c:
29485         * gst/autoplug/gstspider.h:
29486         * gst/autoplug/gstspideridentity.c:
29487         * gst/autoplug/gstspideridentity.h:
29488         * gst/autoplug/spidertest.c:
29489           Die, spider, die.
29490
29491 2005-04-25  Wim Taymans  <wim@fluendo.com>
29492
29493         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29494         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29495         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
29496         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
29497         * gst/gstpad.h:
29498         Added stubs for unimplemented functions. 
29499
29500 2005-04-24  David Schleef  <ds@schleef.org>
29501
29502         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
29503         please fix.
29504
29505 2005-04-24  David Schleef  <ds@schleef.org>
29506
29507         Convert everything from GstAtomicInt to g_atomic_int_*, and
29508         remove gstatomic.
29509         * gst/Makefile.am:
29510         * gst/gstatomic.c:
29511         * gst/gstatomic.h:
29512         * gst/gstatomic_impl.h:
29513         * gst/gstbuffer.c:
29514         * gst/gstcaps.c:
29515         * gst/gstcaps.h:
29516         * gst/gstclock.c:
29517         * gst/gstclock.h:
29518         * gst/gstdata.c:
29519         * gst/gstdata.h:
29520         * gst/gstdata_private.h:
29521         * gst/gstevent.c:
29522         * gst/gstinfo.c:
29523         * gst/gstinfo.h:
29524         * gst/gstmessage.c:
29525         * gst/gstobject.c:
29526         * gst/gstobject.h:
29527         * gst/gststructure.c:
29528         * gst/gststructure.h:
29529         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
29530         * gst/gstutils.h:
29531
29532 2005-04-24  David Schleef  <ds@schleef.org>
29533
29534         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
29535         make the regressions tests work.  Remove some code that is no
29536         longer true.
29537         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
29538         Disable warning for pads without templates.
29539
29540 2005-04-24  David Schleef  <ds@schleef.org>
29541
29542         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
29543         functions that handle filtered links.
29544         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
29545         removed functions.
29546         * gst/gstutils.c: Fix/remove utility functions that handle
29547         filtered caps.
29548         * gst/gstutils.h:
29549         * gst/gstvalue.c: Add serialization/deserialization of caps
29550         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
29551         requires fixing so that the filter caps notation creates
29552         a capsfilter element and sets the filter_caps property.  I
29553         think everyone probably wants to keep the shorthand notation.
29554         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
29555         * docs/gst/tmpl/gstpad.sgml:
29556
29557         * gst/elements/gstelements.c: Register capsfilter element.
29558         * gst/Makefile.am: fix spacing
29559         * docs/random/ds/0.9-suggested-changes: random
29560
29561 2005-04-23  David Schleef  <ds@schleef.org>
29562
29563         * gst/elements/Makefile.am:
29564         * gst/elements/gstcapsfilter.c: New element that acts like an
29565         identity, but filters caps.  Will eventually replace filtered
29566         caps in pad linking.
29567         * gst/gstutils.c: (gst_element_create_all_pads): New function
29568         to create all the ALWAYS pads that are registered with an
29569         element class.  This functionality should eventually be
29570         merged in with GstElement initialization.
29571         * gst/gstutils.h:
29572         * testsuite/trigger/README: part of trigger test code that should
29573         have been checked in a long time ago.
29574
29575 2005-04-23  David Schleef  <ds@schleef.org>
29576
29577         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
29578         needed with new versions of libtool (nobody will confirm this),
29579         and hard to carry around.
29580         * gst/autoplug/Makefile.am:
29581         * gst/base/Makefile.am:
29582         * gst/elements/Makefile.am:
29583         * gst/indexers/Makefile.am:
29584         * gst/schedulers/Makefile.am:
29585         * libs/gst/bytestream/Makefile.am:
29586         * libs/gst/control/Makefile.am:
29587         * libs/gst/dataprotocol/Makefile.am:
29588         * libs/gst/getbits/Makefile.am:
29589
29590 2005-04-21  Wim Taymans  <wim@fluendo.com>
29591
29592         * docs/design/draft-push-pull.txt:
29593         * docs/design/part-MT-refcounting.txt:
29594         * docs/design/part-TODO.txt:
29595         * docs/design/part-caps.txt:
29596         * docs/design/part-events.txt:
29597         * docs/design/part-gstbus.txt:
29598         * docs/design/part-gstpipeline.txt:
29599         * docs/design/part-messages.txt:
29600         * docs/design/part-push-pull.txt:
29601         * docs/design/part-query.txt:
29602         Some more docs.
29603
29604 2005-04-21  Wim Taymans  <wim@fluendo.com>
29605
29606         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
29607         (gst_message_new), (gst_message_new_error),
29608         (gst_message_new_warning), (gst_message_new_tag),
29609         (gst_message_new_state_changed), (gst_message_new_application),
29610         (gst_message_get_structure):
29611         * gst/gstmessage.h:
29612         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29613         (gst_structure_copy_conditional):
29614         Use parent refcount in GstMessage to ensure GstStructure
29615         consistency.
29616         Cleaned up headers a bit.
29617         
29618
29619 2005-04-20  Wim Taymans  <wim@fluendo.com>
29620
29621         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29622         (gst_basesink_pad_getcaps), (gst_basesink_init),
29623         (gst_basesink_chain_unlocked):
29624         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
29625         (gst_type_find_helper):
29626         * gst/elements/gsttypefindelement.c:
29627         (gst_type_find_element_have_type), (gst_type_find_element_init),
29628         (stop_typefinding), (gst_type_find_element_handle_event),
29629         (find_suggest), (gst_type_find_element_chain),
29630         (gst_type_find_element_checkgetrange),
29631         (gst_type_find_element_getrange), (do_typefind),
29632         (gst_type_find_element_activate):
29633         * gst/gstbuffer.c: (_gst_buffer_sub_free),
29634         (gst_buffer_default_free), (gst_buffer_default_copy),
29635         (gst_buffer_set_caps):
29636         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
29637         (gst_caps_replace):
29638         * gst/gstmessage.c: (gst_message_new),
29639         (gst_message_new_state_changed):
29640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29641         (gst_pad_set_checkgetrange_function),
29642         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
29643         (gst_pad_set_caps), (gst_pad_check_pull_range),
29644         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
29645         * gst/gstpad.h:
29646         * gst/gsttypefind.c: (gst_type_find_register):
29647         Make gst_caps_replace() work like other _replace() functions.
29648         Use _caps_replace() where possible.
29649         Make sure _message_new() initialises its field.
29650         Add gst_static_pad_template_get_caps()
29651
29652
29653 2005-04-18  Andy Wingo  <wingo@pobox.com>
29654
29655         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
29656         on the peer, not the pad. I think that was a typo. Pass an extra
29657         arg to see if random access is possible. Activate the pads as
29658         PULL_RANGE if possible.
29659
29660         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
29661
29662         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
29663         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
29664         to PROP_....
29665
29666 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29667
29668         * docs/faq/using.xml:
29669           Add note on gstreamer-properties (#154996).
29670
29671 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29672
29673         * docs/random/bbb/optional-properties:
29674           Some analysis on optional properties.
29675
29676 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29677
29678         * docs/gst/tmpl/gstelementfactory.sgml:
29679         * gst/gstelement.h:
29680         * gst/gstelementfactory.c: (gst_element_factory_init),
29681         (gst_element_factory_cleanup), (gst_element_register),
29682         (__gst_element_factory_add_static_pad_template),
29683         (gst_element_factory_get_static_pad_templates),
29684         (gst_element_factory_can_src_caps),
29685         (gst_element_factory_can_sink_caps):
29686         * gst/registries/Makefile.am:
29687         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
29688         (gst_xml_registry_class_init), (gst_xml_registry_init),
29689         (gst_xml_registry_new), (gst_xml_registry_set_property),
29690         (gst_xml_registry_get_property), (get_time), (make_dir),
29691         (gst_xml_registry_get_perms_func),
29692         (plugin_times_older_than_recurse), (plugin_times_older_than),
29693         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
29694         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
29695         (add_to_char_array), (read_string), (read_uint), (read_enum),
29696         (load_pad_template), (load_feature), (load_plugin), (load_paths),
29697         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
29698         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
29699         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
29700         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
29701         (gst_xml_registry_rebuild):
29702         * gst/registries/gstlibxmlregistry.h:
29703         * tools/gst-compprep.c: (main):
29704         * tools/gst-inspect.c: (print_pad_templates_info):
29705         * tools/gst-xmlinspect.c: (print_element_info):
29706           Use libxml2 for registry parsing, use staticpadtemplates in
29707           elementfactories. Makes gst_init() +/- 10x faster.
29708
29709 2005-04-12  Wim Taymans  <wim@fluendo.com>
29710
29711         * gst/base/Makefile.am:
29712         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29713         (gst_basesink_pad_getcaps), (gst_basesink_init),
29714         (gst_basesink_event), (gst_basesink_change_state):
29715         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29716         (gst_basesrc_init), (gst_basesrc_query),
29717         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29718         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29719         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29720         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29721         (gst_basesrc_stop), (gst_basesrc_activate),
29722         (gst_basesrc_change_state):
29723         * gst/base/gsttypefindhelper.c: (helper_find_peek),
29724         (helper_find_suggest), (gst_type_find_helper):
29725         * gst/base/gsttypefindhelper.h:
29726         * gst/elements/Makefile.am:
29727         * gst/elements/gstelements.c:
29728         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
29729         (gst_fakesink_get_times), (gst_fakesink_event),
29730         (gst_fakesink_preroll), (gst_fakesink_render):
29731         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29732         (gst_fakesrc_init), (gst_fakesrc_event_handler),
29733         (gst_fakesrc_get_property), (gst_fakesrc_create),
29734         (gst_fakesrc_start), (gst_fakesrc_stop):
29735         * gst/elements/gstfakesrc.h:
29736         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
29737         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29738         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29739         (gst_filesrc_create_read), (gst_filesrc_create),
29740         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
29741         (gst_filesrc_start):
29742         * gst/elements/gsttypefindelement.c:
29743         (gst_type_find_element_have_type), (gst_type_find_element_init),
29744         (start_typefinding), (stop_typefinding), (push_buffer_store),
29745         (gst_type_find_element_handle_event),
29746         (gst_type_find_element_chain),
29747         (gst_type_find_element_checkgetrange),
29748         (gst_type_find_element_getrange), (do_typefind),
29749         (gst_type_find_element_activate),
29750         (gst_type_find_element_change_state):
29751         * gst/elements/gsttypefindelement.h:
29752         * gst/gstpipeline.c: (pipeline_bus_handler):
29753         Added typefind helper.
29754         Small preroll fix in the base sink.
29755         Disable typefind code in basesrc.
29756         Crude port of typefindelement.
29757         Fakesrc cleanups.
29758
29759
29760 2005-04-11  Wim Taymans  <wim@fluendo.com>
29761
29762         * check/gst/gstbus.c: (gstbus_suite):
29763         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
29764         * check/gstcheck.h:
29765           Fix up the timeout so that the test does not fail.
29766
29767 2005-04-06  Wim Taymans  <wim@fluendo.com>
29768
29769         * gst/base/README:
29770         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29771         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
29772         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
29773         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
29774         (gst_basesrc_check_get_range), (gst_basesrc_loop),
29775         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
29776         (gst_basesrc_stop), (gst_basesrc_activate),
29777         (gst_basesrc_change_state), (basesrc_find_peek),
29778         (basesrc_find_suggest), (gst_basesrc_type_find):
29779         * gst/base/gstbasesrc.h:
29780         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
29781         (gst_filesrc_class_init), (gst_filesrc_init),
29782         (gst_filesrc_finalize), (gst_filesrc_set_location),
29783         (gst_filesrc_set_property), (gst_filesrc_get_property),
29784         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
29785         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
29786         (gst_filesrc_create_read), (gst_filesrc_create),
29787         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
29788         * gst/elements/gstfilesrc.h:
29789         * gst/gstelement.c: (gst_element_get_state_func),
29790         (gst_element_lost_state), (gst_element_pads_activate):
29791         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29792         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
29793         (gst_pad_pull_range):
29794         * gst/gstpad.h:
29795         More work on the generic source base class, implement seeking,
29796         query.
29797         Make filesrc extend the base source class.
29798         Added gst_pad_set_checkgetrange_function to GstPad.
29799
29800 2005-04-06  Andy Wingo  <wingo@pobox.com>
29801
29802         * pkgconfig/gstreamer-base.pc.in:
29803         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29804
29805         * pkgconfig/Makefile.am:
29806         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29807
29808 2005-04-04  Wim Taymans  <wim@fluendo.com>
29809
29810         * gst/base/Makefile.am:
29811         * gst/base/README:
29812         * gst/base/gstbasesink.c: (gst_basesink_base_init),
29813         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29814         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29815         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29816         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29817         (gst_basesrc_base_init), (gst_basesrc_class_init),
29818         (gst_basesrc_init), (gst_basesrc_get_formats),
29819         (gst_basesrc_get_query_types), (gst_basesrc_query),
29820         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29821         (gst_basesrc_set_property), (gst_basesrc_get_property),
29822         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29823         (gst_basesrc_loop), (gst_basesrc_activate),
29824         (gst_basesrc_change_state):
29825         * gst/base/gstbasesrc.h:
29826         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29827         (gst_fakesrc_class_init), (gst_fakesrc_init),
29828         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29829         (gst_fakesrc_get_property), (gst_fakesrc_create):
29830         * gst/elements/gstfakesrc.h:
29831         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29832         (gst_filesrc_open_file), (gst_filesrc_loop),
29833         (gst_filesrc_activate), (filesrc_find_peek),
29834         (gst_filesrc_type_find):
29835         Made base source class, make fakesrc extend it.
29836         Add comments to basesink class.
29837         Some filesrc cleanup.
29838
29839 2005-03-31  David Schleef  <ds@schleef.org>
29840
29841         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29842         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29843         expected to link against libgstreamer.
29844         * gst/base/Makefile.am: link against libgstreamer
29845         * gst/elements/Makefile.am: same
29846
29847 2005-03-31  Andy Wingo  <wingo@pobox.com>
29848
29849         * tests/instantiate/Makefile.am:
29850         * tests/instantiate/caps.c: Add test to test speed of caps copy
29851         and free.
29852
29853         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29854         GMemChunk to be fair.
29855
29856         * gst/gsttrashstack.h: Remove warning about using the fallback
29857         trash stack implementation, it's still faster than malloc.
29858
29859 2005-03-30  Andy Wingo  <wingo@pobox.com>
29860
29861         * tests/complexity.c: Add a copyright.
29862
29863 2005-03-31  Wim Taymans  <wim@fluendo.com>
29864
29865         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29866         (gst_base_transform_class_init), (gst_base_transform_init),
29867         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29868         (gst_base_transform_get_property),
29869         (gst_base_transform_sink_activate),
29870         (gst_base_transform_src_activate),
29871         (gst_base_transform_change_state):
29872         * gst/base/gstbasetransform.h:
29873         * gst/elements/gstidentity.c: (gst_identity_class_init),
29874         (gst_identity_event), (gst_identity_check_perfect),
29875         (gst_identity_transform), (gst_identity_start),
29876         (gst_identity_stop):
29877         Added start/stop methods to transform base class so subclasses 
29878         don't need to deal with state changes even.
29879
29880 2005-03-31  Wim Taymans  <wim@fluendo.com>
29881
29882         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29883         (gst_event_new_discontinuous), (gst_event_discont_get_value):
29884         * gst/gstevent.h:
29885         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29886         (gst_pad_pull_range):
29887         Added rate to the discont event to prepare for variable speed
29888         and reverse playback.
29889
29890 2005-03-29  David Schleef  <ds@schleef.org>
29891
29892         * configure.ac:
29893         * testsuite/trigger/Makefile.am:
29894         * testsuite/trigger/trigger.c: A little example program to show
29895         how trigger-based elements can work.
29896
29897 2005-03-29  Wim Taymans  <wim@fluendo.com>
29898
29899         * gst/base/Makefile.am:
29900         * gst/base/README:
29901         * gst/base/gstbasesink.c: (gst_basesink_get_type),
29902         (gst_basesink_base_init), (gst_basesink_class_init),
29903         (gst_basesink_pad_getcaps), (gst_basesink_init),
29904         (gst_basesink_activate), (gst_basesink_change_state):
29905         * gst/base/gstbasesink.h:
29906         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29907         (gst_base_transform_base_init), (gst_base_transform_finalize),
29908         (gst_base_transform_class_init), (gst_base_transform_init),
29909         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29910         (gst_base_transform_event), (gst_base_transform_getrange),
29911         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29912         (gst_base_transform_set_property),
29913         (gst_base_transform_get_property),
29914         (gst_base_transform_sink_activate),
29915         (gst_base_transform_src_activate),
29916         (gst_base_transform_change_state):
29917         * gst/base/gstbasetransform.h:
29918         * gst/elements/gstidentity.c: (gst_identity_finalize),
29919         (gst_identity_class_init), (gst_identity_init),
29920         (gst_identity_event), (gst_identity_check_perfect),
29921         (gst_identity_transform), (gst_identity_set_property),
29922         (gst_identity_get_property), (gst_identity_change_state):
29923         * gst/elements/gstidentity.h:
29924         * gst/gstelement.c: (gst_element_get_state_func),
29925         (gst_element_lost_state), (gst_element_pads_activate):
29926         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29927         (gst_pad_check_pull_range), (gst_pad_pull_range):
29928         * gst/gstpad.h:
29929         Simplify pad activation.
29930         Added function to check if pull_range can be performed.
29931         Error out when pulling inactive or flushing pads.
29932         Removed const from refcounted types as it does not make sense.
29933         Simplify pad templates in basesink
29934         Added base class for simple 1-to-1 transforms.
29935         Make identity subclass the base transform.
29936
29937 2005-03-29  Andy Wingo  <wingo@pobox.com>
29938
29939         * docs/libs/gstreamer-libs-overrides.txt: 
29940         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29941         really don't understand what's going on, but like whatever. I want
29942         green buildbot!
29943
29944         * docs/gst/Makefile.am:
29945         * docs/libs/Makefile.am: Dist the overrides files.
29946
29947         * check/Makefile.am (clean-local): Remove .libs directories.
29948
29949         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29950         elements to EXTRA_DIST, so po/ files are happy.
29951
29952         * po/POTFILES.in: Er, remove it here.
29953
29954         * po/POTFILES: Remove gstspider.c.
29955
29956         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29957
29958         * docs/libs/gstreamer-libs-docs.sgml: 
29959         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29960         bytestream.
29961
29962         * tests/complexity.c (main): Set the length of the preroll queue
29963         on the sinks to prevent a lockup.
29964
29965         * libs/gst/dataprotocol/Makefile.am: 
29966         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29967         the same as the one in check/gst-libs/gdp.c.
29968
29969         * po/, docs/gst/: Commit automatic changes to docs and po files.
29970
29971         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29972         the versioned libgstbase.
29973
29974         * check/Makefile.am: Depend on an unversioned gst-register, seems
29975         to make autoconf happier.
29976
29977         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29978
29979 2005-03-28  Wim Taymans  <wim@fluendo.com>
29980
29981         * configure.ac:
29982         * docs/design/part-gstelement.txt:
29983         * docs/design/part-negotiation.txt:
29984         * docs/design/part-preroll.txt:
29985         * docs/design/part-scheduling.txt:
29986         * docs/design/part-states.txt:
29987         * gst/Makefile.am:
29988         * gst/base/Makefile.am:
29989         * gst/base/README:
29990         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29991         (gst_basesink_base_init), (gst_basesink_class_init),
29992         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29993         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29994         (gst_basesink_set_pad_functions),
29995         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29996         (gst_basesink_set_property), (gst_basesink_get_property),
29997         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29998         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29999         (gst_basesink_preroll_queue_push),
30000         (gst_basesink_preroll_queue_empty),
30001         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
30002         (gst_basesink_event), (gst_basesink_get_times),
30003         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
30004         (gst_basesink_chain_unlocked), (gst_basesink_chain),
30005         (gst_basesink_loop), (gst_basesink_activate),
30006         (gst_basesink_change_state):
30007         * gst/base/gstbasesink.h:
30008         * gst/elements/Makefile.am:
30009         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
30010         (gst_fakesink_class_init), (gst_fakesink_init),
30011         (gst_fakesink_set_property), (gst_fakesink_get_property),
30012         (gst_fakesink_get_times), (gst_fakesink_event),
30013         (gst_fakesink_preroll), (gst_fakesink_render),
30014         (gst_fakesink_change_state):
30015         * gst/elements/gstfakesink.h:
30016         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30017         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
30018         * gst/gstelement.c: (gst_element_add_pad),
30019         (gst_element_get_state_func), (gst_element_abort_state),
30020         (gst_element_commit_state), (gst_element_lost_state),
30021         (gst_element_set_state), (gst_element_pads_activate):
30022         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
30023         * gst/gstpipeline.c: (gst_pipeline_send_event),
30024         (gst_pipeline_change_state):
30025         Added state change code.
30026         Added/updated docs.
30027         Added sink base class, make fakesink extend the base class.
30028         Small cleanups in GstPipeline.
30029
30030 2005-03-26  David Schleef  <ds@schleef.org>
30031
30032         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
30033         is broken and should be implemented in a different library.
30034         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
30035         * gst/gst.h: remove gstcpu.h
30036         * gst/gstcpu.c: remove
30037         * gst/gstcpu.h: remove
30038         * gst/Makefile.am.future: Remove this file.  It's ancient.
30039
30040 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30041
30042         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
30043         (gst_bin_send_event):
30044           Add default event/set_manager handlers. The set_manager handler
30045           takes care that the manager is distributed over kids that were
30046           already in the bin before the manager was set. The event handler
30047           is a utility virtual function that sends the event over all sinks,
30048           so that gst_element_send_event (bin, event); has the expected
30049           behaviour.
30050         * gst/gstpad.c: (gst_pad_event_default):
30051           Re-install default event handling for discontinuities, so that
30052           seeking works without requiring hacks in applications or extra
30053           code in sinks.
30054         * gst/gstpipeline.c: (gst_pipeline_class_init),
30055         (gst_pipeline_send_event):
30056           Half hack, half utility: set a pipeline to PAUSED for seek events,
30057           since that is the only way we can guarantee a/v sync. Means that
30058           you can do gst_element_seek (pipeline, method, pos); on a pipeline
30059           and it "just works".
30060
30061 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
30062
30063         * gst/gstpipeline.c: (gst_pipeline_use_clock):
30064           Lock/unlock mismatch.
30065
30066 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
30067
30068         * docs/faq/gst-uninstalled:
30069           add gst-plugins-base
30070         * docs/gst/Makefile.am:
30071           don't error out until docs are fixed
30072         * docs/gst/gstreamer.types:
30073           remove thread
30074
30075 2005-03-22  Wim Taymans  <wim@fluendo.com>
30076
30077         * check/Makefile.am:
30078         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
30079         * gst/gststructure.c: (gst_structure_set_valist),
30080         (gst_structure_copy_conditional):
30081         Activated more tests.
30082         Added message test.
30083         Added G_TYPE_POINTER to GstStructure.
30084         
30085
30086 2005-03-22  Wim Taymans  <wim@fluendo.com>
30087
30088         * docs/design/part-TODO.txt:
30089         * docs/design/part-events.txt:
30090         * docs/design/part-gstbin.txt:
30091         * docs/design/part-gstbus.txt:
30092         * docs/design/part-gstpipeline.txt:
30093         * docs/design/part-messages.txt:
30094         * gst/gstbus.c:
30095         * gst/gstmessage.c:
30096         Docs updates
30097
30098 2005-03-21  Wim Taymans  <wim@fluendo.com>
30099
30100         * gst/gstbus.c: (gst_bus_post):
30101         Fix copy-and-paste error.
30102
30103 2005-03-21  Wim Taymans  <wim@fluendo.com>
30104
30105         * check/Makefile.am:
30106         * gst/Makefile.am:
30107         * gst/elements/Makefile.am:
30108         * gst/elements/gstelements.c:
30109         * gst/elements/gstfakesink.c: (gst_fakesink_init),
30110         (gst_fakesink_event), (gst_fakesink_chain):
30111         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
30112         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
30113         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
30114         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
30115         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
30116         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
30117         (gst_fakesrc_loop), (gst_fakesrc_activate),
30118         (gst_fakesrc_change_state):
30119         * gst/elements/gstfakesrc.h:
30120         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
30121         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
30122         (gst_filesrc_open_file), (gst_filesrc_loop),
30123         (gst_filesrc_activate), (gst_filesrc_change_state),
30124         (filesrc_find_peek), (filesrc_find_suggest),
30125         (gst_filesrc_type_find):
30126         * gst/elements/gstidentity.c: (gst_identity_finalize),
30127         (gst_identity_class_init), (gst_identity_init),
30128         (gst_identity_proxy_getcaps), (identity_queue_push),
30129         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
30130         (gst_identity_getrange), (gst_identity_chain),
30131         (gst_identity_sink_loop), (gst_identity_src_loop),
30132         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
30133         (gst_identity_set_property), (gst_identity_get_property),
30134         (gst_identity_change_state):
30135         * gst/elements/gstidentity.h:
30136         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
30137         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
30138         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
30139         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
30140         (gst_tee_sink_activate):
30141         * gst/elements/gsttee.h:
30142         * gst/gst.c: (gst_register_core_elements), (init_post):
30143         * gst/gst.h:
30144         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
30145         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
30146         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
30147         (gst_bin_change_state):
30148         * gst/gstbin.h:
30149         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
30150         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
30151         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
30152         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
30153         (gst_bus_set_sync_handler), (gst_bus_create_watch),
30154         (bus_watch_callback), (bus_watch_destroy),
30155         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
30156         (poll_timeout), (gst_bus_poll):
30157         * gst/gstbus.h:
30158         * gst/gstcaps.h:
30159         * gst/gstdata.h:
30160         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30161         (gst_element_post_message), (gst_element_message_full),
30162         (gst_element_get_state_func), (gst_element_get_state),
30163         (gst_element_abort_state), (gst_element_commit_state),
30164         (gst_element_lost_state), (gst_element_set_state),
30165         (gst_element_pads_activate), (gst_element_change_state),
30166         (gst_element_dispose), (gst_element_set_manager_func),
30167         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
30168         (gst_element_set_manager), (gst_element_get_manager),
30169         (gst_element_set_bus), (gst_element_get_bus),
30170         (gst_element_set_scheduler), (gst_element_get_scheduler):
30171         * gst/gstelement.h:
30172         * gst/gstevent.c: (gst_event_new_segment_seek),
30173         (gst_event_new_flush):
30174         * gst/gstevent.h:
30175         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
30176         (_gst_message_free), (gst_message_get_type), (gst_message_new),
30177         (gst_message_new_eos), (gst_message_new_error),
30178         (gst_message_new_warning), (gst_message_new_tag),
30179         (gst_message_new_state_changed), (gst_message_new_application),
30180         (gst_message_get_structure), (gst_message_parse_tag),
30181         (gst_message_parse_state_changed), (gst_message_parse_error),
30182         (gst_message_parse_warning):
30183         * gst/gstmessage.h:
30184         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
30185         (gst_real_pad_set_property), (gst_pad_set_active),
30186         (gst_pad_is_active), (gst_pad_set_blocked_async),
30187         (gst_pad_set_blocked), (gst_pad_is_blocked),
30188         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
30189         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
30190         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
30191         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
30192         (gst_pad_link_filtered), (gst_pad_relink_filtered),
30193         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
30194         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
30195         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
30196         (gst_pad_set_caps), (gst_pad_configure_sink),
30197         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
30198         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
30199         (gst_real_pad_dispose), (gst_real_pad_finalize),
30200         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
30201         (gst_pad_event_default_dispatch), (gst_pad_event_default),
30202         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
30203         * gst/gstpad.h:
30204         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
30205         (pipeline_bus_handler), (gst_pipeline_change_state),
30206         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
30207         * gst/gstpipeline.h:
30208         * gst/gstprobe.h:
30209         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
30210         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
30211         (gst_queue_link_src), (gst_queue_bufferalloc),
30212         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
30213         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
30214         (gst_queue_loop), (gst_queue_handle_src_event),
30215         (gst_queue_handle_src_query), (gst_queue_src_activate),
30216         (gst_queue_change_state):
30217         * gst/gstqueue.h:
30218         * gst/gstscheduler.c: (gst_scheduler_init),
30219         (gst_scheduler_dispose), (gst_scheduler_create_task),
30220         (gst_scheduler_factory_create):
30221         * gst/gstscheduler.h:
30222         * gst/gststructure.c: (gst_structure_get_type),
30223         (gst_structure_copy_conditional):
30224         * gst/gststructure.h:
30225         * gst/gsttaginterface.h:
30226         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
30227         (gst_task_init), (gst_task_dispose), (gst_task_create),
30228         (gst_task_get_state), (gst_task_start), (gst_task_stop),
30229         (gst_task_pause):
30230         * gst/gsttask.h:
30231         * gst/gstthread.c:
30232         * gst/gstthread.h:
30233         * gst/gsttypes.h:
30234         * gst/schedulers/Makefile.am:
30235         * gst/schedulers/cothreads_compat.h:
30236         * gst/schedulers/entryscheduler.c:
30237         * gst/schedulers/faircothreads.c:
30238         * gst/schedulers/faircothreads.h:
30239         * gst/schedulers/fairscheduler.c:
30240         * gst/schedulers/gstbasicscheduler.c:
30241         * gst/schedulers/gstoptimalscheduler.c:
30242         * gst/schedulers/gthread-cothreads.h:
30243         * gst/schedulers/threadscheduler.c:
30244         (gst_thread_scheduler_task_get_type),
30245         (gst_thread_scheduler_task_class_init),
30246         (gst_thread_scheduler_task_init),
30247         (gst_thread_scheduler_task_start),
30248         (gst_thread_scheduler_task_stop),
30249         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
30250         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
30251         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
30252         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
30253         (plugin_init):
30254         * libs/gst/Makefile.am:
30255         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
30256         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
30257         (gst_file_pad_parent_set):
30258         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
30259         (gst_dp_event_from_packet):
30260         * tests/complexity.c: (main):
30261         * tests/mass_elements.c: (main):
30262         * testsuite/states/locked.c: (message_received), (main):
30263         * testsuite/states/parent.c: (main):
30264         * tools/gst-inspect.c: (print_element_flag_info),
30265         (print_implementation_info), (print_pad_info):
30266         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
30267         (main):
30268         * tools/gst-md5sum.c: (event_loop), (main):
30269         * tools/gst-typefind.c: (main):
30270         * tools/gst-xmlinspect.c: (print_element_info):
30271         Next big merge.
30272         Added GstBus for mainloop integration.
30273         Added GstMessage for sending notifications on the bus.
30274         Added GstTask as an abstraction for pipeline entry points.
30275         Removed GstThread.
30276         Removed Schedulers.
30277         Simplified GstQueue for multithreaded core.
30278         Made _link threadsafe, removed old capsnego.
30279         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
30280         Added pad blocking functions.
30281         Reworked scheduling functions in GstPad to prepare for
30282         scheduling updates soon.
30283         Moved events out of data stream.
30284         Simplified GstEvent types.
30285         Added return values to push/pull.
30286         Removed clocking from GstElement.
30287         Added prototypes for state change function for next merge.
30288         Removed iterate from bins and state change management.
30289         Fixed some elements, disabled others for now.
30290         Fixed -inspect and -launch.
30291         Added check for GstBus.
30292
30293 2005-03-10  Wim Taymans  <wim@fluendo.com>
30294
30295         * docs/design/part-MT-refcounting.txt:
30296         * docs/design/part-clocks.txt:
30297         * docs/design/part-gstelement.txt:
30298         * docs/design/part-gstobject.txt:
30299         * docs/design/part-standards.txt:
30300         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30301         (gst_bin_remove_func), (gst_bin_remove):
30302         * gst/gstbin.h:
30303         * gst/gstbuffer.c:
30304         * gst/gstcaps.h:
30305         * testsuite/clock/clock1.c: (main):
30306         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
30307         (main):
30308         * testsuite/dlopen/loadgst.c: (do_test):
30309         * testsuite/refcounting/bin.c: (add_remove_test1),
30310         (add_remove_test2), (main):
30311         * testsuite/refcounting/element.c: (main):
30312         * testsuite/refcounting/element_pad.c: (main):
30313         * testsuite/refcounting/pad.c: (main):
30314         * tools/gst-launch.c: (sigint_handler_sighandler):
30315         * tools/gst-typefind.c: (main):
30316         Doc updates.
30317         Added doc about clock.
30318         removed gst_bin_iterate_recurse_up(), marked methods
30319         for removal.
30320         Fix more testsuites.
30321
30322 2005-03-09  Wim Taymans  <wim@fluendo.com>
30323
30324         * gst/gstpad.c: (gst_pad_get_direction),
30325         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
30326         (gst_pad_collect_valist):
30327         * testsuite/bins/interface.c: (main):
30328         * testsuite/caps/audioscale.c: (test_caps):
30329         * testsuite/caps/caps.c: (test1), (test2), (test3):
30330         * testsuite/caps/deserialize.c: (main):
30331         * testsuite/caps/enumcaps.c: (main):
30332         * testsuite/caps/filtercaps.c: (main):
30333         * testsuite/caps/intersect2.c: (main):
30334         * testsuite/caps/random.c: (main):
30335         * testsuite/caps/renegotiate.c: (my_fixate), (main):
30336         * testsuite/caps/sets.c: (check_caps):
30337         * testsuite/caps/simplify.c: (check_caps), (main):
30338         * testsuite/caps/subtract.c: (check_caps):
30339         Fix _pad_get_direction wrt ghostpads.
30340         Fix caps testsuite.
30341
30342 2005-03-09  Wim Taymans  <wim@fluendo.com>
30343
30344         * check/Makefile.am:
30345         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
30346         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
30347         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
30348         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
30349         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
30350         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
30351         (gst_bin_remove), (gst_bin_iterate_recurse_up),
30352         (bin_element_is_sink), (gst_bin_iterate_sinks),
30353         (gst_bin_iterate_all_by_interface):
30354         * gst/gstbin.h:
30355         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
30356         (gst_element_change_state), (gst_element_dispose),
30357         (gst_element_finalize), (gst_element_set_loop_function):
30358         * gst/gstelement.h:
30359         * gst/gstiterator.c: (find_custom_fold_func):
30360         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30361         (gst_pad_collectv), (gst_pad_collect_valist),
30362         (gst_pad_template_new):
30363         * gst/gstpipeline.c: (gst_pipeline_class_init),
30364         (gst_pipeline_dispose), (gst_pipeline_set_property),
30365         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
30366         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
30367         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
30368         * gst/gstutils.h:
30369         * gst/schedulers/entryscheduler.c:
30370         * gst/schedulers/gstbasicscheduler.c:
30371         (gst_basic_scheduler_cothreaded_chain),
30372         (gst_basic_scheduler_chain_add_element):
30373         * testsuite/bins/interface.c: (main):
30374         Added GstBin test.
30375         Added GstSystemClock test.
30376         Implemented clock distribution code in GstBin.
30377         Implemented iterate sinks method for future use.
30378         Rearranged gstelement.h
30379         Fix GstIterator comparison bug.
30380         Moved some code to GstPipeline, mostly clocking related.
30381
30382 2005-03-09  Wim Taymans  <wim@fluendo.com>
30383
30384         * configure.ac:
30385         * gst/gst_private.h:
30386         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30387         (gst_bin_remove_func), (gst_bin_remove),
30388         (gst_bin_get_by_name_recurse_up):
30389         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
30390         (gst_clock_id_compare_func), (gst_clock_id_wait),
30391         (gst_clock_id_wait_async), (gst_clock_init),
30392         (gst_clock_adjust_unlocked), (gst_clock_get_time):
30393         * gst/gstelement.h:
30394         * gst/gstinfo.c: (_gst_debug_init):
30395         * gst/gstobject.h:
30396         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
30397         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
30398         * gst/gstpad.h:
30399         Bump version number, we're now 0.9.0
30400         Add future debugging category.
30401         Fix NULL _unref() in _get_by_name_recurse_up
30402         Rearrange gstpad.h.
30403         Update some docs.
30404
30405 2005-03-08  Wim Taymans  <wim@fluendo.com>
30406
30407         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
30408         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
30409         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
30410         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
30411         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
30412         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
30413         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
30414         * gst/elements/gstidentity.c: (gst_identity_class_init):
30415         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
30416         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
30417         * gst/elements/gstshaper.c: (gst_shaper_class_init):
30418         * gst/elements/gststatistics.c: (gst_statistics_class_init):
30419         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
30420         (gst_tee_link):
30421         * gst/gstelement.c: (gst_element_class_init),
30422         (gst_element_base_class_init), (gst_element_init),
30423         (gst_element_get_random_pad), (gst_element_wait_state_change),
30424         (gst_element_change_state), (gst_element_dispose),
30425         (gst_element_finalize), (gst_element_set_loop_function):
30426         * gst/gstelement.h:
30427         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
30428         * gst/gstthread.c: (gst_thread_class_init),
30429         (gst_thread_release_children_locks), (gst_thread_change_state):
30430         * gst/schedulers/gstbasicscheduler.c:
30431         (gst_basic_scheduler_loopfunc_wrapper),
30432         (gst_basic_scheduler_chain_wrapper),
30433         (gst_basic_scheduler_src_wrapper),
30434         (gst_basic_scheduler_remove_element):
30435         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
30436         Remove threadsafe properties. Fix elements because GObject
30437         complains when installing a property before declaring a
30438         set/get_property handler.
30439         Rearrange gstelement.h file, use STATE macros for state locks.
30440         Free mutexes in the finalize method instead of dispose.
30441
30442 2005-03-08  Wim Taymans  <wim@fluendo.com>
30443
30444         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
30445         * gst/gstthread.c: (gst_thread_release_children_locks):
30446         Added parentage check.
30447         Fix build og GstThread again.
30448
30449 2005-03-08  Wim Taymans  <wim@fluendo.com>
30450
30451         * docs/design/part-MT-refcounting.txt:
30452         * docs/design/part-conventions.txt:
30453         * docs/design/part-gstobject.txt:
30454         * docs/design/part-relations.txt:
30455         * docs/design/part-standards.txt:
30456         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
30457         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
30458         (gst_bin_get_by_name), (gst_bin_get_by_interface),
30459         (gst_bin_iterate_all_by_interface):
30460         * gst/gstbuffer.h:
30461         * gst/gstclock.h:
30462         * gst/gstelement.c: (gst_element_class_init),
30463         (gst_element_change_state), (gst_element_set_loop_function):
30464         * gst/gstelement.h:
30465         * gst/gstiterator.c:
30466         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
30467         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
30468         (gst_object_dispatch_properties_changed), (gst_object_set_name),
30469         (gst_object_set_parent), (gst_object_unparent),
30470         (gst_object_check_uniqueness):
30471         * gst/gstobject.h:
30472         Docs updates, clean up some headers.
30473
30474 2005-03-07  Wim Taymans  <wim@fluendo.com>
30475
30476         * check/.cvsignore:
30477         * check/Makefile.am:
30478         * check/gst-libs/.cvsignore:
30479         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
30480         * check/gst/.cvsignore:
30481         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
30482         (START_TEST), (gstbus_suite), (main):
30483         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
30484         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
30485         (gst_data_suite), (main):
30486         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
30487         (add_fold_func), (gstiterator_suite), (main):
30488         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
30489         (thread_name_object), (thread_name_object_default),
30490         (gst_object_name_compare), (gst_object_suite), (main):
30491         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
30492         (gst_pad_suite), (main):
30493         * check/gstcheck.c: (gst_check_log_message_func),
30494         (gst_check_log_critical_func), (gst_check_init):
30495         * check/gstcheck.h:
30496         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
30497         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
30498         Added checks.
30499
30500 2005-03-07  Wim Taymans  <wim@fluendo.com>
30501
30502         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
30503         (gst_list_iterator_next), (gst_list_iterator_resync),
30504         (gst_list_iterator_free), (gst_iterator_new_list),
30505         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
30506         (gst_iterator_free), (gst_iterator_push), (filter_next),
30507         (filter_resync), (filter_uninit), (filter_free),
30508         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
30509         (gst_iterator_foreach), (find_custom_fold_func),
30510         (gst_iterator_find_custom):
30511         * gst/gstiterator.h:
30512         Added missing files.
30513
30514 2005-03-07  Wim Taymans  <wim@fluendo.com>
30515
30516         * Makefile.am:
30517         * configure.ac:
30518         * docs/design/part-MT-refcounting.txt:
30519         * docs/design/part-conventions.txt:
30520         * docs/design/part-gstobject.txt:
30521         * docs/design/part-relations.txt:
30522         * examples/mixer/mixer.c: (main):
30523         * examples/thread/thread.c: (eos), (main):
30524         * gst/Makefile.am:
30525         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
30526         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
30527         (gst_spider_plug_from_srcpad):
30528         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
30529         (gst_spider_identity_change_state),
30530         (gst_spider_identity_sink_loop_type_finding):
30531         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
30532         * gst/elements/gstidentity.c: (gst_identity_init):
30533         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
30534         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
30535         * gst/elements/gsttypefindelement.c: (free_entry):
30536         * gst/gst.c:
30537         * gst/gst.h:
30538         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
30539         (gst_bin_set_clock_func), (gst_bin_auto_clock),
30540         (gst_bin_set_index), (gst_bin_set_element_sched),
30541         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
30542         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
30543         (gst_bin_iterate_elements), (iterate_child_recurse),
30544         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
30545         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
30546         (compare_interface), (gst_bin_get_by_interface),
30547         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
30548         * gst/gstbin.h:
30549         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
30550         (gst_buffer_default_free), (gst_buffer_default_copy),
30551         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
30552         (gst_buffer_create_sub):
30553         * gst/gstbuffer.h:
30554         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
30555         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
30556         (gst_caps_unref), (gst_static_caps_get),
30557         (gst_caps_remove_and_get_structure), (gst_caps_append),
30558         (gst_caps_append_structure), (gst_caps_remove_structure),
30559         (gst_caps_copy_nth), (gst_caps_set_simple),
30560         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
30561         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
30562         (gst_caps_structure_intersect_field), (gst_caps_intersect),
30563         (gst_caps_structure_subtract_field), (gst_caps_subtract),
30564         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
30565         (gst_caps_structure_figure_out_union),
30566         (gst_caps_switch_structures), (gst_caps_do_simplify),
30567         (gst_caps_replace), (gst_caps_from_string),
30568         (gst_caps_copy_conditional):
30569         * gst/gstcaps.h:
30570         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
30571         (_gst_clock_id_free), (gst_clock_id_unref),
30572         (gst_clock_id_compare_func), (gst_clock_id_wait),
30573         (gst_clock_id_wait_async), (gst_clock_class_init),
30574         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
30575         (gst_clock_get_time), (gst_clock_set_time_adjust),
30576         (gst_clock_set_property), (gst_clock_get_property):
30577         * gst/gstclock.h:
30578         * gst/gstcompat.h:
30579         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
30580         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
30581         * gst/gstdata.h:
30582         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
30583         (gst_element_requires_clock), (gst_element_provides_clock),
30584         (gst_element_set_clock), (gst_element_clock_wait),
30585         (gst_element_wait), (gst_element_set_time_delay),
30586         (gst_element_is_indexable), (gst_element_add_pad),
30587         (gst_element_add_ghost_pad), (gst_element_remove_pad),
30588         (pad_compare_name), (gst_element_get_static_pad),
30589         (gst_element_request_pad), (gst_element_get_request_pad),
30590         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
30591         (gst_element_class_get_pad_template_list),
30592         (gst_element_class_get_pad_template), (gst_element_error_func),
30593         (gst_element_get_random_pad), (gst_element_get_event_masks),
30594         (gst_element_send_event), (gst_element_seek),
30595         (gst_element_get_query_types), (gst_element_query),
30596         (gst_element_get_formats), (gst_element_convert),
30597         (gst_element_is_locked_state), (gst_element_set_locked_state),
30598         (gst_element_sync_state_with_parent), (gst_element_change_state),
30599         (gst_element_finalize), (gst_element_yield),
30600         (gst_element_interrupt), (gst_element_set_scheduler),
30601         (gst_element_get_scheduler), (gst_element_set_loop_function):
30602         * gst/gstelement.h:
30603         * gst/gstevent.h:
30604         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
30605         (gst_format_get_by_nick), (gst_format_get_details),
30606         (gst_format_iterate_definitions):
30607         * gst/gstformat.h:
30608         * gst/gstindex.c: (gst_index_gtype_resolver):
30609         * gst/gstinfo.c:
30610         * gst/gstinfo.h:
30611         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
30612         (gst_mem_chunk_free):
30613         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
30614         (gst_object_ref), (gst_object_unref), (gst_object_sink),
30615         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
30616         (gst_object_dispatch_properties_changed),
30617         (gst_object_set_name_default), (gst_object_set_name),
30618         (gst_object_get_name), (gst_object_set_name_prefix),
30619         (gst_object_get_name_prefix), (gst_object_set_parent),
30620         (gst_object_get_parent), (gst_object_unparent),
30621         (gst_object_check_uniqueness), (gst_object_save_thyself),
30622         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
30623         (gst_object_set_property), (gst_object_get_property),
30624         (gst_object_get_path_string):
30625         * gst/gstobject.h:
30626         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
30627         (gst_real_pad_init), (gst_real_pad_get_property),
30628         (gst_pad_custom_new), (gst_pad_get_direction),
30629         (gst_pad_set_active), (gst_pad_is_active),
30630         (gst_pad_set_event_function), (gst_pad_is_linked),
30631         (gst_pad_link_free), (gst_pad_link_intersect),
30632         (gst_pad_link_fixate), (gst_pad_set_caps),
30633         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
30634         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
30635         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
30636         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
30637         (gst_pad_get_caps), (gst_pad_peer_get_caps),
30638         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
30639         (gst_pad_realize), (gst_pad_get_allowed_caps),
30640         (gst_real_pad_dispose), (gst_real_pad_finalize),
30641         (gst_pad_collectv), (gst_pad_collect_valist),
30642         (gst_pad_template_dispose), (gst_pad_template_new),
30643         (gst_pad_get_internal_links):
30644         * gst/gstpad.h:
30645         * gst/gstpipeline.c: (gst_pipeline_dispose),
30646         (gst_pipeline_change_state):
30647         * gst/gstpipeline.h:
30648         * gst/gstplugin.c:
30649         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
30650         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
30651         * gst/gstpluginfeature.h:
30652         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
30653         * gst/gstquery.c: (_gst_query_type_initialize),
30654         (gst_query_type_register), (gst_query_type_get_by_nick),
30655         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
30656         * gst/gstquery.h:
30657         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
30658         * gst/gstscheduler.c: (gst_scheduler_add_element),
30659         (gst_scheduler_factory_create):
30660         * gst/gststructure.c: (gst_structure_set_parent_refcount),
30661         (gst_structure_free), (gst_structure_set_name),
30662         (gst_structure_id_set_value), (gst_structure_set_value),
30663         (gst_structure_set_valist), (gst_structure_remove_field),
30664         (gst_structure_remove_fields),
30665         (gst_structure_remove_fields_valist),
30666         (gst_structure_remove_all_fields), (gst_structure_foreach),
30667         (gst_structure_map_in_place),
30668         (gst_caps_structure_fixate_field_nearest_int),
30669         (gst_caps_structure_fixate_field_nearest_double):
30670         * gst/gststructure.h:
30671         * gst/gstsystemclock.c: (gst_system_clock_class_init),
30672         (gst_system_clock_init), (gst_system_clock_dispose),
30673         (gst_system_clock_async_thread),
30674         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
30675         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
30676         * gst/gstsystemclock.h:
30677         * gst/gsttag.c: (gst_tag_list_add_value_internal),
30678         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
30679         * gst/gsttaginterface.c:
30680         * gst/gstthread.c: (gst_thread_dispose),
30681         (gst_thread_release_children_locks), (gst_thread_change_state),
30682         (gst_thread_main_loop):
30683         * gst/gsttrashstack.h:
30684         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
30685         * gst/gsttypes.h:
30686         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
30687         (gst_element_request_pad), (gst_element_get_pad_from_template),
30688         (gst_element_request_compatible_pad),
30689         (gst_element_get_compatible_pad_filtered),
30690         (gst_element_get_compatible_pad), (gst_element_state_get_name),
30691         (gst_element_link_pads_filtered), (gst_element_link_filtered),
30692         (gst_element_link_many), (gst_element_link),
30693         (gst_element_link_pads), (gst_element_unlink_pads),
30694         (gst_element_unlink_many), (gst_element_unlink),
30695         (gst_pad_can_link_filtered), (gst_pad_can_link),
30696         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
30697         (gst_object_default_error), (gst_bin_add_many),
30698         (gst_bin_remove_many), (gst_element_populate_std_props),
30699         (gst_element_class_install_std_props), (gst_buffer_merge),
30700         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
30701         (link_fold_func), (gst_pad_proxy_setcaps):
30702         * gst/gstutils.h:
30703         * gst/gstvalue.c: (gst_value_deserialize_string):
30704         * gst/parse/grammar.y:
30705         * gst/schedulers/gstbasicscheduler.c:
30706         (gst_basic_scheduler_cothreaded_chain),
30707         (gst_basic_scheduler_chain_recursive_add),
30708         (gst_basic_scheduler_pad_link):
30709         * gst/schedulers/gstoptimalscheduler.c:
30710         (get_group_schedule_function),
30711         (gst_opt_scheduler_state_transition),
30712         (gst_opt_scheduler_add_element), (element_get_reachables_func):
30713         * libs/gst/bytestream/bytestream.c:
30714         * libs/gst/dataprotocol/dataprotocol.c:
30715         (gst_dp_header_from_buffer):
30716         * po/nb.po:
30717         * po/ru.po:
30718         * tests/threadstate/threadstate2.c: (eos):
30719         * tools/gst-compprep.c: (main):
30720         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
30721         (print_pad_info), (print_children_info):
30722         * tools/gst-launch.c: (idle_func), (main):
30723         * tools/gst-md5sum.c: (idle_func), (main):
30724         * tools/gst-xmlinspect.c: (print_element_info):
30725         First THREADED backport attempt, focusing on adding locks and
30726         making sure the API is threadsafe. Needs more work. More docs
30727         follow this week.
30728
30729 2005-02-24  Andy Wingo  <wingo@pobox.com>
30730
30731         * tests/bench-complexity.scm:
30732         * tests/complexity.gnuplot: New files, good for running complexity
30733         benchmarks.
30734
30735         * tests/Makefile.am:
30736         * tests/complexity.c: New test, sets up N elements, at each level
30737         teeing into M streams per element. Eeeenteresting.
30738
30739         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
30740         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
30741         running bench-mass_elements.scm.
30742
30743         * tests/bench-mass_elements.scm: New script, runs mass_elements
30744         for various numbers of identities, outputting the results to a
30745         file. Requires guile 1.6. Just for testing.
30746
30747 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
30748
30749         * gst/schedulers/fairscheduler.c:
30750           compile with debug disabled
30751
30752 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
30753
30754         * configure.ac:
30755           hunting season on 0.9 is now OPEN