Add INIT macro and _init method for initializing the GstPollFD.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * docs/gst/gstreamer-sections.txt:
4         * gst/gstpoll.c: (gst_poll_fd_init):
5         * gst/gstpoll.h:
6         Add INIT macro and _init method for initializing the GstPollFD.
7
8 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
9
10         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
11         (gst_fd_sink_update_fd):
12         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
13         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
14         (delayed_restart), (delayed_control):
15         Initialize some uninitialized variables as spotted by valgrind.
16
17 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
18
19         * tests/benchmarks/Makefile.am:
20         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
21         (main):
22         Add poll stress test.
23
24 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
25
26         Patch by: Peter Kjellerstedt <pkj at axis dot com>
27
28         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
29         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
30         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
31         * plugins/elements/gstfdsink.h:
32         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
33         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
34         (gst_fd_src_unlock_stop), (gst_fd_src_create),
35         (gst_fd_src_uri_set_uri):
36         * plugins/elements/gstfdsrc.h:
37         Port to GstPoll. See #505417.
38
39 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
40
41         * win32/common/libgstreamer.def:
42         Add new gst_poll_ symbols to win32 defs.
43
44 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
45
46         * docs/libs/gstreamer-libs-sections.txt:
47         * libs/gst/net/gstnetclientclock.c:
48         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
49         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
50         (gst_net_client_clock_thread), (gst_net_client_clock_start),
51         (gst_net_client_clock_stop), (gst_net_client_clock_new):
52         * libs/gst/net/gstnetclientclock.h:
53         * libs/gst/net/gstnettimeprovider.c:
54         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
55         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
56         (gst_net_time_provider_start), (gst_net_time_provider_stop),
57         (gst_net_time_provider_new):
58         * libs/gst/net/gstnettimeprovider.h:
59         Use a private stuct to not break ABI.
60
61 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
62
63         Patch by: Peter Kjellerstedt <pkj at axis dot com>
64
65         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
66         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
67         (gst_net_client_clock_thread), (gst_net_client_clock_start),
68         (gst_net_client_clock_stop), (gst_net_client_clock_new):
69         * libs/gst/net/gstnetclientclock.h:
70         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
71         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
72         (gst_net_time_provider_start), (gst_net_time_provider_stop),
73         (gst_net_time_provider_new):
74         * libs/gst/net/gstnettimeprovider.h:
75         Massive code removal and cleanups because of GstPoll.
76         Fixes #505417.
77
78 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
79
80         * configure.ac:
81         Add checks for poll, ppoll and pselect.
82
83         * docs/gst/gstreamer-docs.sgml:
84         * docs/gst/gstreamer-sections.txt:
85         Add docs for GstPoll.
86
87         * gst/Makefile.am:
88         * gst/gst.h:
89         * gst/gstpoll.c: (find_index), (selectable_fds),
90         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
91         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
92         (gst_poll_set_mode), (gst_poll_get_mode),
93         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
94         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
95         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
96         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
97         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
98         (gst_poll_fd_can_write), (gst_poll_wait),
99         (gst_poll_set_controllable), (gst_poll_restart),
100         (gst_poll_set_flushing):
101         * gst/gstpoll.h:
102         Add generic poll abstraction. We ideally don't want to have this in core
103         here but in glib intead...
104         This code will be used in various network elements and ultimately for
105         the nanosecond precision monotonic clock (that's why it's here in core).
106         It'll allow us to implement cancelable socket operations for windows too.
107
108         * tests/check/Makefile.am:
109         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
110         (delayed_stop), (delayed_restart), (delayed_flush),
111         (delayed_control), (gst_poll_suite):
112         Add GstPoll unit test.
113
114 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
115
116         * gst/gstfilter.c:
117           Improve documentation of gst_filter_run(). Fixes #518627.
118
119 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
120
121         * docs/README:
122           Add a few lines about the new 'check-inspected-versions' target.
123
124 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
125
126         * tests/check/gst/gstevent.c:
127           Add qos to the event test. Rename tcase/tsuite; is not only about
128           custom events.
129
130 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
131
132         * plugins/elements/gstqueue.c:
133           Ensure that buffer metadata is writeable, before modifying. Spotted by
134           Mike.
135
136 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
137
138         * plugins/elements/gstqueue.c:
139         * plugins/elements/gstqueue.h:
140           When dropping buffers in leaky modes, mark next buffers we sent as
141           DISCONT.
142
143 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
144
145         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
146           Also, if mmap() fails that would be a READ error, not OPEN_READ.
147
148 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
149
150         * plugins/elements/Makefile.am:
151         * plugins/elements/gstbufferstore.c:
152         * plugins/elements/gstbufferstore.h:
153         * plugins/elements/gsttypefindelement.h:
154           Remove GstBufferStore, no idea why we were still building it.
155           It's not used anywhere and superseded by GstAdapter.
156
157         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
158           (gst_file_src_create_mmap):
159         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
160           Printf format fixes for 64-bit integers.
161
162 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
163
164         * configure.ac:
165         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
166         We're not in 0.8 times anymore.
167
168 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
169
170         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
171         (gst_check_element_push_buffer_list):
172         * libs/gst/check/gstcheck.h:
173         Make the declaration in the header for
174         gst_check_element_push_buffer_list match the implementation.
175
176         Fix up spelling, grammar and wording of the documentation in a few
177         places, and add the Since keyword to new API functions.
178         Use g_list_delete_link instead of g_list_remove in
179         gst_check_drop_buffers, since it's immeasurably more efficient.
180
181         * tests/check/elements/fakesrc.c: (GST_START_TEST):
182         Use new gst_check_drop_buffers function where appropriate.
183
184         * win32/common/libgstbase.def:
185         * win32/common/libgstreamer.def:
186         Add new symbols gst_collect_pads_take_buffer, 
187         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
188         exports
189
190         Changelog surgery to add API keyword to new gst_check API.
191
192 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
193
194         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
195         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
196         Update pre-generated flex files with flex 2.3.34.
197
198 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
199
200         * gst/gstminiobject.c:
201           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
202           friendly to subclasses and not require them to know all internals
203           of their parent class.
204
205 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
206
207         * docs/libs/gstreamer-libs-sections.txt:
208         * libs/gst/base/gstcollectpads.c:
209         * libs/gst/base/gstcollectpads.h:
210           Add sub-buffer functions to collectpads. Fixes #516187.
211           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
212
213 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
214
215         * gst/gstbuffer.c:
216           Copy selected buffer-flags when creating subbuffers.
217           Fixes #516395.
218
219 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
220
221         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
222         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
223         * gst/gstmessage.c: (gst_message_class_init),
224         (gst_message_finalize):
225         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
226         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
227         (gst_mmap_buffer_finalize):
228         Properly chain up finalize functions to the parent class.
229
230 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
231
232         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
233
234         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
235         (gst_index_set_resolver_full):
236         * gst/gstindex.h:
237         Add new function with option to dispose of user_data in resolver.
238         Actually call the dispose function when finalizing the object and not
239         just when changing the resolver/filter.
240         API: GstIndex::gst_index_set_resolver_full()
241
242         * docs/gst/gstreamer-sections.txt:
243         Add new function to docs. Fixes #515469.
244
245 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
246
247         * gst/gstindex.c: (gst_index_finalize):
248         Chain up finalize to the parent class. Fixes leaking the GstObject
249         name and other things.
250
251 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
252
253         * configure.ac:
254         Make DISABLE_DEPRECATED defined *only* during CVS, not during
255         pre-releases or releases.
256
257         * docs/faq/gst-uninstalled:
258         Add gst-plugins-gl
259
260         * docs/random/release:
261         Change one of the steps - we only upload core & base to Gnome FTP
262
263 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
264
265         * gst/gstconfig.h.in:
266           Add 'id' for example.
267
268         * gst/gstpad.c:
269         * gst/gstutils.c:
270         * plugins/elements/gstfdsink.c:
271           Link to signals. Doc and comment fixes.
272
273 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
274
275         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
276         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
277           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
278           unused and unimplemented; finally, it is plugin features, not
279           plugins, that have ranks.
280           
281 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
282
283         * gst/gstpluginfeature.h:
284           Clarify GstRank range docs.
285
286 2008-02-05  David Schleef  <ds@schleef.org>
287
288         * gst/gst.c: Add a separate gst_deinitialized that prevents
289           gst_init() from being called after gst_deinit().  Fixes #509559
290
291 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
292
293         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
294         (gst_bin_class_init):
295         * gst/gstelement.c: (gst_element_base_class_init),
296         (gst_element_class_add_pad_template):
297         * gst/gstpadtemplate.c: (gst_pad_template_init):
298         * gst/gstpipeline.c: (gst_pipeline_get_type),
299         (gst_pipeline_base_init), (gst_pipeline_class_init):
300         * libs/gst/base/gstbasesink.c:
301         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
302         (gst_base_src_base_init), (gst_base_src_class_init):
303         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
304         (gst_capsfilter_class_init):
305         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
306         (gst_fake_sink_class_init):
307         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
308         (gst_fake_src_class_init):
309         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
310         (gst_fd_sink_class_init):
311         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
312         (gst_fd_src_class_init):
313         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
314         (gst_file_sink_class_init):
315         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
316         (gst_file_src_class_init):
317         * plugins/elements/gstidentity.c: (gst_identity_base_init),
318         (gst_identity_class_init):
319         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
320         (gst_multi_queue_class_init):
321         * plugins/elements/gstqueue.c: (gst_queue_base_init),
322         (gst_queue_class_init):
323         * plugins/elements/gsttee.c: (gst_tee_base_init),
324         (gst_tee_class_init):
325         * plugins/elements/gsttypefindelement.c:
326         (gst_type_find_element_base_init),
327         (gst_type_find_element_class_init):
328         * tests/check/gst/gstelement.c: (gst_element_suite):
329         Revert previous changes to the behaviour of GstPadTemplates, etc
330         and the possiblity to call them in class_init as it breaks too
331         many elements. Reopens bug #491501.
332
333         Should be applied again for 0.11, thus added a few FIXME 0.11 at
334         several places.
335
336 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
337
338         * tools/gst-launch.c:
339         Dump one graph per pipeline state-change and state change name
340         (if GST_DEBUG_DUMP_DOT_DIR is set).
341
342 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
343
344         * gst/gstpad.c:
345         * tests/check/gst/gstpad.c:
346         Be sure that we have a new copy of the caps and not
347         reffed caps from a template
348
349 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
350
351         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
352         * gst/gstpipeline.c: (gst_pipeline_get_type),
353         (gst_pipeline_class_init):
354         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
355         (gst_base_sink_class_init):
356         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
357         (gst_base_src_class_init):
358         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
359         (gst_base_transform_class_init):
360         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
361         (gst_collect_pads_class_init):
362         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
363         * libs/gst/net/gstnettimeprovider.c:
364         (gst_net_time_provider_base_init),
365         (gst_net_time_provider_class_init):
366         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
367         (gst_capsfilter_class_init):
368         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
369         (gst_fake_sink_class_init):
370         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
371         (gst_fake_src_class_init):
372         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
373         (gst_fd_sink_class_init):
374         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
375         (gst_fd_src_class_init):
376         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
377         (gst_file_sink_class_init):
378         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
379         (gst_file_src_class_init):
380         * plugins/elements/gstidentity.c: (gst_identity_base_init),
381         (gst_identity_class_init):
382         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
383         (gst_multi_queue_class_init):
384         * plugins/elements/gstqueue.c: (gst_queue_base_init),
385         (gst_queue_class_init):
386         * plugins/elements/gsttee.c: (gst_tee_base_init),
387         (gst_tee_class_init):
388         * plugins/elements/gsttypefindelement.c:
389         (gst_type_find_element_base_init),
390         (gst_type_find_element_class_init):
391         Don't use base_init where not absolutely necessary. For example it's
392         not necessary anymore for adding pad templates or setting element
393         details.
394
395         Leave empty base_init functions in several places as GST_BOILERPLATE
396         still defines and uses them.
397
398 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
399
400         * gst/gstelement.c: (gst_element_base_class_init),
401         (gst_element_class_add_pad_template):
402         * gst/gstpadtemplate.c:
403         Make it possible (and recommended) to set element details and add
404         pad templates in the class_init functions by copying the details/pad
405         templates in GstElement's base_init.
406
407         Also make it possible to replace existing pad templates by adding
408         a new one with the same name. This was done in a hackish fashion
409         in same elements before already.
410
411         Don't reference pad templates that are added a second time. A
412         new pad template has a refcount of one and is not floating anymore
413         and to be owned by the element's class. Make this more explicit by
414         mentioning it in the docs of gst_element_class_add_pad_template().
415
416         These changes are backwards compatible. Fixes bug #491501.
417
418         * tests/check/gst/gstelement.c:
419         Add unit test for setting element details, adding pad templates and
420         replacing them in a subclass.
421
422 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
423
424         * tools/gst-inspect.c: (print_interfaces),
425         (print_element_properties_info), (print_pad_info),
426         (print_signal_info), (print_element_info):
427         Fix a few memory leaks.
428
429 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
430
431         * docs/libs/gstreamer-libs-sections.txt:
432         * libs/gst/check/gstcheck.c:
433         * libs/gst/check/gstcheck.h:
434         Add more functions for unit testing: gst_check_drop_buffers,
435         gst_check_caps_equal, gst_check_element_push_buffer_list,
436         gst_check_element_push_buffer
437         API: gst_check_drop_buffers
438         API: gst_check_caps_equal
439         API: gst_check_element_push_buffer_list
440         API: gst_check_element_push_buffer
441
442 2008-02-01  Julien Moutte  <julien@fluendo.com>
443
444         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
445         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
446         (gst_index_finalize), (gst_index_entry_free),
447         (gst_index_add_association): Fix memory leaks.
448         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
449         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
450         (gst_mem_index_free_format), (gst_mem_index_free_id),
451         (gst_mem_index_finalize): Fix memory leaks.
452         * win32/common/config.h: Updated to CVS HEAD.
453
454 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
455
456         * docs/README:
457           Some more details about how the plugin docs works.
458
459         * docs/plugins/gstreamer-plugins-sections.txt:
460           Whitespace cleanup.
461
462 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
463
464         * gst/parse/grammar.tab.pre.c:
465         * gst/parse/grammar.tab.pre.h:
466         * gst/parse/grammar.y:
467         * gst/parse/lex._gst_parse_yy.pre.c:
468           Add delayed set-property. This allows to set properties on dynamicaly
469           created objects (pads in videomxer).
470
471 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
472
473         * gst/gstutils.c:
474         Check if caps are not NULL (fix bug #510194)
475
476 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
477
478         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
479         (gst_base_sink_get_position_paused):
480         Add fixme regarding EOS in pull mode.
481         Fix position reporting in PAUSED for negative rates.
482
483 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
484
485         * gst/gstminiobject.c: (gst_mini_object_replace):
486         When replacing a miniobject, do a quick equality check first so that we
487         can avoid a ref/unref pair.
488
489 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
490
491         * docs/design/part-synchronisation.txt:
492         Update some docs.
493
494         * docs/plugins/Makefile.am:
495         * docs/plugins/gstreamer-plugins-docs.sgml:
496         * docs/plugins/gstreamer-plugins-sections.txt:
497         * plugins/elements/gstmultiqueue.c:
498         Add multiqueue to the docs.
499
500 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
501
502         * configure.ac:
503           Back to CVS
504
505 === release 0.10.17 ===
506
507 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
508
509         * configure.ac:
510           releasing 0.10.17, "Due Negligence"
511
512 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
513
514         * gst/gstutils.c:
515         Revert caps != NULL check temporarily for 0.10.17 release.
516
517 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
518
519         * gst/gstutils.c:
520         Check if caps are not NULL (fix bug #510194)
521
522 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
523
524         * gst/gstutils.c:
525         Fix compilation on systems that have posix timers but no
526         monotonic clock.
527         Fixes: #512715
528         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
529         dot net>
530
531 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
532
533         * tools/gst-inspect.c:
534         Revert previous commit in preparation for an impromptu 0.10.17 release
535
536 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
537
538         * tools/gst-inspect.c: (print_interfaces),
539         (print_element_properties_info), (print_pad_info),
540         (print_signal_info), (print_element_info):
541         Fix a few memory leaks.
542
543 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
544
545         * configure.ac:
546         Back to CVS
547
548 === release 0.10.16 ===
549
550 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
551
552         * configure.ac:
553           releasing 0.10.16, "Special Dispensation"
554
555 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
556
557         * configure.ac:
558           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
559           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
560           not fail when trying to crosscompile on OpenEmbedded (#511750).
561
562 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
563
564         * docs/manuals.mak:
565         Use $(MAKE) instead of make to fix the build if GNU make is
566         called different. Fixes bug #510747.
567
568 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
569
570         * gst/gstplugin.c: (_gst_plugin_initialize):
571           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
572           again, which I broke two commits ago when changing the API
573           of gst_plugin_register_static(): the g_list_foreach() in
574           _gst_plugin_register_static still assumed the old function
575           signature and would therefore fail (re-fixes #510187).
576
577         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
578           (_gst_plugin_register_static), (gst_plugin_register_static):
579           Revert the (technically correct) change to call g_thread_init() from
580           the pre-main() constructor. This will break programs which call
581           g_thread_init() without an if (!g_thread_supported()) guard in their
582           main function. We could just blame it on GLib or the application, but
583           it's probably best to just avoid this altogether and simply not use
584           any GLib functions here and use plain old malloc() with a simple
585           array to store the plugins to register later when gst_init() is
586           finally called (re-fixes #510187).
587
588         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
589           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
590           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
591           (GST_START_TEST), (gst_plugin_suite):
592           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
593           works.
594
595 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
596
597         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
598           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
599           This makes gtk-doc complain, but results in slightly better
600           compiler errors. The old _gst_plugin_register_static() is
601           still guarded, so there'll be a compiler warning about that
602           instead. Fixes #510187 too.
603
604 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
605
606         * gst/gst.c: (init_post):
607         * gst/gstplugin.c: (_gst_plugin_register_static),
608           (gst_plugin_register_static), (_gst_plugin_initialize):
609         * gst/gstplugin.h: (GstPluginFilter):
610           Change API of gst_plugin_register_static() to not take
611           a GstPluginDesc, but rather just take all the arguments
612           in a GstPluginDesc directly. This is more intuitive and
613           avoids certain mistakes when porting code from
614           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
615           Fixes #510187.
616
617         * tests/check/gst/gstplugin.c:
618           Fix up for changed API.
619
620 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
621
622         * docs/faq/legal.xml:
623           Update FAQ, Totem actually has an exception these days.
624
625 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
626
627         * win32/common/libgstreamer.def:
628         Add new API declarations
629
630 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
631
632         * gst/gstminiobject.c:
633           Spelling fixes for the API docs.
634
635 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
636
637         * libs/gst/base/gstbasetransform.c:
638           Fix long property description for QoS.
639
640 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
641
642         * gst/gst.c:
643         _gst_trace_on is already provided by gsttrace.h, no need to declare
644         it ourselves.
645
646         * docs/libs/gstreamer-libs-sections.txt:
647         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
648         and remove strange tcase_add_test which is outputting a warning.
649
650         * libs/gst/check/gstcheck.c:
651         * libs/gst/check/gstcheck.h:
652         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
653         and define them in gstcheck.c instead of having every .c file whcih
654         includes gstcheck.h be defining its own copy and relying on symbol
655         interposing to marry them all, which doesn't work on Solaris.
656
657         * tests/check/elements/identity.c: (GST_START_TEST):
658         Don't define 'buffers' locally, it comes from libgstcheck.
659
660         * tests/check/generic/sinks.c: (send_buffer):
661         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
662
663         * tests/check/gst/gststructure.c: (GST_START_TEST):
664         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
665         * tests/check/gst/gstutils.c: (GST_START_TEST):
666         * tests/check/gst/gstvalue.c: (GST_START_TEST):
667         Add a bunch of casts to make various constants fit the types
668         they're being assigned to.
669
670 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
671
672         * gst/gstchildproxy.c:
673           Improve docs and add some ideas for making this more general-purpose.
674
675 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
676
677         * gst/gst_private.h: (GST_CAT_TYPES):
678           Add GST_CAT_TYPES, for consistency, and so that the other
679           debug categories don't make fun of it. Spotted by Saur on IRC.
680
681 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
682
683         * gst/parse/Makefile.am:
684           Move types.h from EXTRA_DIST to noinst_HEADERS.
685
686 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
687
688         * autogen.sh:
689           Add -Wno-portability to the automake parameters to stop warnings
690           about GNU make extensions being used. We require GNU make in almost
691           every Makefile anyway.
692
693         * configure.ac:
694           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
695           at the same time is required for per target flags.
696
697 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
698
699         * gst/gstmacros.h:
700           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
701           __GNUC__ is defined before using it.
702
703 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
704
705         * docs/gst/gstreamer-sections.txt:
706         * gst/gst.c: (init_post):
707         * gst/gstplugin.c: (_gst_plugin_register_static),
708           (gst_plugin_register_static), (_gst_plugin_initialize),
709           (gst_plugin_register_func):
710         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
711           API: add gst_plugin_register_static() and deprecate
712           GST_PLUGIN_DEFINE_STATIC, since it's not portable
713           (#498924).
714           Also, in _gst_plugin_register_static(), make sure to call
715           g_thread_init() before calling GLib functions such as
716           g_list_append() if we're not initialised yet, since that
717           may lead to random crashes with older GSlice/GLib versions.
718
719         * tests/check/gst/gstplugin.c:
720           Adapt unit test to above changes.
721
722 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
723
724         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
725         * gst/gstcaps.c: (gst_caps_to_string):
726         * gst/gststructure.c: (GST_ASCII_IS_STRING),
727           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
728           Yet another gratuitous GString micro-optimisation: add a (private)
729           function that serialises a structure appending to an existing
730           GString, so that when we serialise caps we don't need to alloc+free
731           a throwaway GString for each structure (each of which also entailing
732           multiple reallocs on the way); also use g_string_sized_new() in
733           various places with an approximate string length to avoid reallocs
734           within GString. See #500143.
735
736 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
737
738         * gst/gststructure.c: (gst_structure_id_set_value):
739           Always check UTF-8 conformance of structure strings and not only
740           if the debugging system is enabled; reasoning: the behaviour of
741           the actual code shouldn't really change depending on whether the
742           debugging system is enabled or not (#508291).
743
744 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
745
746         * Makefile.am:
747           Remove old coverage target in favour of "make lcov".
748
749 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
750
751         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
752         (gst_base_src_loop):
753         The start segment for reverse playback goes from start to last_stop.
754
755 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
756
757         Patch by: Peter Kjellerstedt <pkj axis com>
758
759         * gst/gstclock.h:
760         Cast the results from the timeval/spec_to_time macros to what the
761         docs say it casts to, a GstClockTime. fixes #508175.
762
763 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
764
765         * gst/gstbuffer.c:
766         Update some comments.
767
768         * tools/gst-inspect.c: (print_element_properties_info):
769         Improve printing of flags.
770
771 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
772
773         * libs/gst/base/gstbasetransform.c:
774           (gst_base_transform_transform_size):
775           Print element name with g_warning() if there's a problem
776           with the unit size.
777
778 2008-01-07  David Schleef  <ds@schleef.org>
779
780         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
781
782         * libs/gst/controller/gstcontroller.h:
783         * libs/gst/controller/gstcontrolsource.h:
784         * libs/gst/controller/gstinterpolationcontrolsource.h:
785         * libs/gst/controller/gstlfocontrolsource.h:
786         * libs/gst/dataprotocol/dataprotocol.h:
787           Fix empty prototypes.  Fixes bug #507957.
788
789 2008-01-07  David Schleef  <ds@schleef.org>
790
791         * docs/faq/dependencies.xml: Fix typo.
792
793 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
794
795         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
796         (gst_base_src_loop):
797         Don't update the last_stop position in do_seek, that's the position we
798         did a seek to.
799         Read backwards when we have a negative rate.
800
801         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
802         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
803         (filesrc_suite):
804         Add check for reverse reading.
805
806 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
807
808         Patch by: Alexis Ballier <aballier at gentoo org>
809
810         * tests/check/gst/gstabi.c:
811         * tests/check/gst/struct_ppc64.h:
812         * tests/check/libs/libsabi.c:
813         * tests/check/libs/struct_ppc64.h:
814           Decide which header to include based on the userland ABI target
815           and not the kernel/cpu. Fix up structure sizes of ppc64 header
816           for 64-bit userland (#503590).  Might need something similar for
817           x86 too.
818
819 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
820
821         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
822           Log the reason why fopen fails in addition to the fact that it failed.
823           
824 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
825
826         * gst/parse/parse.l:
827         Use "%option never-interactive" to prevent useless calls to isatty()
828         on every input when parsing. Also use "%option noinput" to not define
829         the static input/yyinput functions which we don't use anyway. This
830         removes a compiler warning with gcc 4.3 and saves some bytes in the
831         library.
832         
833         * gst/parse/lex._gst_parse_yy.pre.c:
834         Regenerated for the above change.
835
836 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         * gst/gstpad.c: (fixate_value):
839         Don't crash when trying to fixate and empty list.
840         Fixes #506643.
841
842 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
843
844         * docs/faq/gst-uninstalled:
845         Clarify the comments to make the usage of this script and what it
846         does easier to understand.
847
848 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
849
850         * tools/gst-plot-timeline.py:
851         Add more options to gst-plot-timeline
852
853 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
854
855         * docs/design/part-synchronisation.txt:
856         Some more info on how the stream_time in GstBaseSink is done.
857
858 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
859
860         * tests/check/generic/sinks.c: (gst_sinks_suite):
861           Put back the tcase_set_timeout(), apparently it's needed after
862           all; fix it up in a way that makes things work with valgrind too.
863
864 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
865
866         * gst/gstdebugutils.c:
867           Add warning when failed to open file for writing.
868
869 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
870
871         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
872
873         * gst/gstvalue.c: (gst_value_is_fixed):
874           Optimisation: bail out of the loop as early as possible (#500143).
875
876 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
877
878         * gst/gstcaps.c: (gst_caps_to_string):
879         * gst/gstinfo.c: (gst_debug_construct_term_color):
880         * gst/gstparse.c: (gst_parse_launchv):
881         * gst/gstutils.c: (gst_util_dump_mem):
882         * gst/gstvalue.c: (gst_value_serialize_any_list),
883           (gst_value_transform_any_list_string):
884           Bunch of gratuitous nano-optimisations.
885
886 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
887
888         * tests/check/generic/sinks.c: (async_done_func),
889           (async_done_eos_func):
890           Fix leak in unit test (bus sync handler must unref the message
891           if it returns GST_BUS_DROP). Don't fiddle with the default test
892           timeout, this is smaller than the current preconfigured value
893           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
894           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
895
896 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
897
898         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
899
900         * configure.ac:
901         Check for stdio_ext.h for the filesink changes.
902
903         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
904         (gst_file_sink_class_init), (gst_file_sink_init),
905         (gst_file_sink_dispose), (gst_file_sink_set_property),
906         (gst_file_sink_get_property), (gst_file_sink_open_file),
907         (gst_file_sink_close_file):
908         * plugins/elements/gstfilesink.h:
909         Add two properties to control the buffering mode and size.
910         API: GstFileSink::buffer-mode
911         API: GstFileSink::buffer-size
912         Fixes #500150.
913
914 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
915
916         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
917         Add some more docs to explain why a FIXME was wrongly added. 
918
919 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
920
921         * gst/gstobject.c:
922           Fix typo in the gst_object_{ref,unref} documentation.
923
924 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
925
926         * tests/check/libs/controller.c:
927         * tests/check/libs/typefindhelper.c:
928         * tests/check/pipelines/parse-launch.c:
929           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
930           going to be deprecated (see #498924).
931
932 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
933
934         * gst/gsttypefind.c: (gst_type_find_register):
935           Make gst_type_find_register work for static typefind functions,
936           ie. allow passing plugin == NULL (prerequisite for #498924).
937
938         * gst/gstelementfactory.c: (gst_element_register):
939           Small docs addition.
940
941 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
942
943         * gst/gstpad.c: (gst_pad_dispose):
944         Really unlink the peer pad instead of setting the peer pointer to NULL
945         when we dispose the pad.
946         This correctly calls the unlink functions and makes sure that the peer
947         does not have a handle to invalid memory. See #504671.
948
949         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
950         Add testsuite for above case.
951
952 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
953
954         Patch by: Peter Kjellerstedt <pkj axis com>
955
956         * libs/gst/check/gstcheck.h:
957           Fix detection of the check version we're compiling against (would
958           otherwise break if check goes v0.10.0); correctly report the
959           name of the failed test again in case of failure, instead of
960           just 'tf' (fixes #504499).
961
962 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
963
964         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
965         (gst_base_src_get_range), (gst_base_src_pad_get_range),
966         (gst_base_src_loop), (gst_base_src_set_flushing),
967         (gst_base_src_change_state):
968         Allow sending EOS to the source to make it send out an EOS event from
969         the streaming thread.
970         Update docs and deprecate the old NULL/READY shutdown method.
971
972         * tests/check/libs/basesrc.c: (GST_START_TEST),
973         (gst_basesrc_suite):
974         Add unit test for controlled shutdown.
975
976 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
977
978         * docs/design/part-synchronisation.txt:
979         Small updates.
980
981         * gst/gstsegment.c: (gst_segment_set_seek),
982         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
983         (gst_segment_to_running_time):
984         The seek format can be different from the segment format when the start
985         and stop values are not to be updated, when we only do a rate change for
986         example.
987
988         * tests/check/gst/gstsegment.c: (GST_START_TEST),
989         (gst_segment_suite):
990         Add a testcase for the rate-only seeks, checking that the format is
991         correctly ignored when start and stop are not updated.
992
993 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
994
995         Patch by: Matthias Bolte <photon at mail dot upb dot de>
996
997         * win32/vs8/grammar.vcproj:
998         * win32/vs8/libgstcontroller.vcproj:
999         * win32/vs8/libgstreamer.vcproj:
1000         Fix compilation with VS8 and include some missing files.
1001
1002 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
1003
1004         * gst/gsttaglist.c:
1005           Small docs addition: mention that the strings returned by
1006           gst_tag_list_get_string*() are in UTF-8 encoding.
1007
1008 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
1009
1010         * Makefile.am:
1011           The check-exports stuff moved to common/win32.mak, so include that.
1012
1013 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1014
1015         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1016         (gst_base_src_perform_seek), (gst_base_src_get_range),
1017         (gst_base_src_set_playing), (gst_base_src_change_state):
1018         Make _wait_playing() not check any variables so that we can call this
1019         function from subclasses. Move the checks elsewhere similar to
1020         _wait_preroll() in basesink.
1021         Add some debugging.
1022         Only signal the LIVE cond when we are going back to PLAYING.
1023
1024 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
1025
1026         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
1027           Use g_remove() and g_rename(). Check result of g_rename(), and
1028           don't leak the open file descriptor if we error out when writing.
1029
1030         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
1031           Must check the return value of close() after writing out the new
1032           registry file.  Sometimes write problems such as out-of-diskspace
1033           are only reported when the file is closed and not already during
1034           the write.  This may have caused partial/broken registry files in
1035           some rare circumstances. Should fix #503675.
1036
1037 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
1038
1039         * docs/gst/.cvsignore:
1040         * docs/libs/.cvsignore:
1041         * docs/plugins/.cvsignore:
1042         Ignore files generated by new common/* modifications
1043
1044 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1045
1046         * win32/common/libgstbase.def:
1047           Yes, you can also have a <TAB> if you want.
1048
1049 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1050
1051         * win32/common/libgstbase.def:
1052           Add new basetransform API to win export file.
1053
1054 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
1055
1056         * tests/check/gst/gstbin.c:
1057           Adjust the test to the refcount change two days ago.
1058
1059 2007-12-14  David Schleef  <ds@schleef.org>
1060
1061         * docs/faq/getting.xml: Fix typo.
1062
1063 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
1064
1065         * docs/libs/gstreamer-libs-sections.txt:
1066         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
1067           (gst_base_transform_prepare_output_buffer),
1068           (gst_base_transform_set_gap_aware):
1069         * libs/gst/base/gstbasetransform.h:
1070           API: Add gst_base_transform_set_gap_aware() to control whether
1071           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
1072           get buffers with this flag at all. Fixes #503231.
1073
1074 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
1075
1076         * libs/gst/base/gstbasesink.c:
1077         * libs/gst/base/gstbasesrc.c:
1078         * libs/gst/base/gstbasetransform.c:
1079           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
1080           thread. Correct log message in gstbasesrc.c.
1081
1082 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1083
1084         * gst/gstutils.c: (element_find_unconnected_pad):
1085           Fix possible compiler warning (#503417).
1086
1087 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
1088
1089         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
1090           Don't use GST_CAT_EVENT here for logging, it makes no sense.
1091
1092 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
1093
1094         * tools/gst-inspect.c: (print_element_properties_info):
1095           Add support for GstFraction properties.
1096
1097 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
1098
1099         * Makefile.am:
1100           Add check-exports target and run it as part of 'make check'
1101           (see #499140 and #493983).
1102
1103         * gst/gst_private.h:
1104         * gst/gstelementfactory.h:
1105         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
1106         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
1107           (_priv_gst_in_valgrind):
1108         * gst/gstinfo.h: (GstLogFunction):
1109         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
1110           (gst_type_find_register):
1111         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
1112           (gst_type_find_factory_get_type):
1113         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
1114           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
1115           (gst_controller_new_valist), (gst_controller_new_list),
1116           (_gst_controller_dispose), (_gst_controller_class_init):
1117         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
1118         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
1119           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
1120           (gst_object_get_controller), (gst_object_set_controller),
1121           (gst_object_suggest_next_sync), (gst_object_sync_values),
1122           (gst_object_set_control_source), (gst_object_get_control_source),
1123           (gst_object_get_value_arrays), (gst_object_get_value_array),
1124           (gst_object_get_control_rate), (gst_object_set_control_rate):
1125         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
1126         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
1127           Make some functions that should be static static; rename some
1128           private symbols so that they don't get exported; add some FIXME
1129           comments so we can move accidentally exported functions into
1130           our private section in 0.11.
1131
1132         * win32/common/libgstreamer.def:
1133           Add gst_utils_get_timestamp().
1134
1135 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1136
1137         * gst/gstvalue.c:
1138         * gst/gstvalue.h:
1139           Add more missing "Since:" tags to docs.
1140
1141 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * gst/gstutils.c:
1144           Add mising "Since:" to docs.
1145
1146 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1147
1148         * gst/gstplugin.c:
1149           Include "glib-compat-private.h" to fix the build on system with
1150           glib < 2.10. Fixes #503131.
1151
1152 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1153
1154         * gst/gstutils.c:
1155         * gst/gstutils.h:
1156           Actually its not PURE as it gets the time from elsewhere.
1157
1158 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1159
1160         * docs/gst/gstreamer-sections.txt:
1161         * gst/gstclock.h:
1162         * gst/gstdebugutils.c:
1163         * gst/gstinfo.c:
1164         * gst/gstutils.c:
1165         * gst/gstutils.h:
1166         * libs/gst/base/gstbasesink.c:
1167         * tools/gst-launch.c:
1168           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
1169           uses as we don't have HAVE_POSIX_TIMERS in public headers.
1170           Thanks Tim for spotting.
1171           API: gst_util_get_timestamp
1172
1173 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
1174
1175         * configure.ac:
1176           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
1177
1178 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
1179
1180         * gst/gststructure.c: (gst_structure_validate_name),
1181           (gst_structure_new_valist), (gst_structure_parse_value),
1182           (gst_structure_from_string):
1183           Don't crash in _from_string() if the structure name is not valid
1184           (fixes #501560).  Allow structure names to start with a number
1185           again (this apparently broke the ubuntu codec installer).
1186
1187         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
1188           (GST_START_TEST):
1189           Add unit test for the crash; update unit tests for new behaviour.
1190
1191 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
1192
1193         * gst/gstutils.c:
1194         Clarify gst_element_get_compatible_pad() documentation.
1195         Fixes #500919.
1196
1197 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
1198
1199         * tests/check/Makefile.am:
1200           Don't forget to dist {gst,libs}/struct_hppa.h.
1201
1202 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1203
1204         * libs/gst/base/gstbasesink.c:
1205           Use new API to get elapsed time.
1206
1207 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1208
1209         * gst/gstdebugutils.c:
1210         * gst/gstinfo.c:
1211           Fix wrong order of args in GST_CLOCK_DIFF() usage.
1212
1213         * tools/gst-launch.c:
1214           Use new API to get elapsed time.
1215
1216 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1217
1218         * docs/gst/gstreamer-sections.txt:
1219         * gst/gstclock.h:
1220         * gst/gstdebugutils.c:
1221         * gst/gstinfo.c:
1222           Rename new API + ChangeLog surgery to remove old name from last entry..
1223
1224 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1225
1226         * docs/gst/gstreamer-sections.txt:
1227         * gst/gstclock.h:
1228         * gst/gstdebugutils.c:
1229         * gst/gstinfo.c:
1230           Now hide the different clock stuff behind a macro.
1231
1232 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
1233
1234         * configure.ac:
1235         * gst/gstdebugutils.c:
1236         * gst/gstinfo.c:
1237           Apply the posix-timer check from #361155. Conditionally use the posix
1238           timer for logging. This gives better timestamp precission, less
1239           overhead and no ntp jitter.
1240
1241 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
1242
1243         * gst/gstminiobject.c: (gst_mini_object_get_type),
1244         (gst_mini_object_class_init), (gst_mini_object_copy_default),
1245         (gst_mini_object_finalize), (gst_mini_object_copy),
1246         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
1247         (gst_mini_object_replace), (param_mini_object_validate),
1248         (gst_param_spec_mini_object_get_type):
1249         Some cleanup and checking against invalid function parameters.
1250
1251 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
1252
1253         * docs/gst/gstreamer-sections.txt:
1254         * gst/gstclock.h:
1255         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
1256         (gst_systemclock_suite):
1257         Start merging in the easy bits of #361155, the monotonic clock patch.
1258         This one adds a few handy macros with docs and a testsuite.
1259
1260 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
1261
1262         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
1263         Be a bit smarter when seeking, like, don't try to do a seek when it's
1264         not needed. This avoids errors when the file is not seekable.
1265         Fixes #499771.
1266
1267 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
1268
1269         * docs/gst/gstreamer-docs.sgml:
1270         * docs/gst/gstreamer-sections.txt:
1271         * docs/gst/gstreamer.types.in:
1272         * gst/Makefile.am:
1273         * gst/gst.h:
1274         * gst/gstpreset.c:
1275         * gst/gstpreset.h:
1276         * plugins/elements/gstqueue.c:
1277           Due to popular request remove preset interface again. :-(.
1278
1279 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * tools/gst-inspect.c:
1282           Print 'default value' for enums and flags too.
1283
1284 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1285
1286         * docs/random/ensonic/profiling.txt:
1287           More ideas.
1288
1289         * gst/gstbin.c:
1290           Fix typo and give better log output.
1291
1292         * gst/gstdebugutils.c:
1293         * gst/gstdebugutils.h:
1294           More ideas, make graphs a bit smaller and fix param name in macro.
1295
1296 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
1297
1298         * gst/gstpreset.c:
1299           Try harder to use the return value from fgets().
1300
1301 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
1302
1303         * gst/gstpreset.c:
1304           For theses two fgets we handle the error below.
1305
1306 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1307
1308         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
1309         Only send upstream events upstream. Fixes #498746.
1310
1311 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
1312
1313         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1314
1315         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1316         (gst_identity_init), (gst_identity_transform_ip),
1317         (gst_identity_set_property), (gst_identity_get_property):
1318         * plugins/elements/gstidentity.h:
1319         Add property to disable handoff signal emission. Fixes #498694.
1320         API: GstIdentity::signal-handoffs
1321
1322 2007-11-21  Julien Moutte  <julien@fluendo.com>
1323
1324         * docs/faq/gst-uninstalled: Yet another missing library for the
1325         uninstalled script (fft)
1326
1327 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
1328
1329         * docs/faq/developing.xml:
1330         Add a question about how to submit new translations.
1331
1332         * docs/random/release:
1333         Update the contact email address for the Translation Project
1334
1335         * plugins/elements/gstfdsrc.c:
1336         The parent_class for fdsrc is pushsrc, not GstElement.
1337
1338 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1339
1340         * gst/gstpreset.c:
1341           Plug a leak and fix saving.
1342
1343 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
1344
1345         * docs/gst/gstreamer-sections.txt:
1346         Add new gst_preset__get_property_names() function to the docs
1347         to fix the build.
1348
1349 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
1350
1351         * gst/gstpreset.c:
1352         * gst/gstpreset.h:
1353           Change _get_preset_names API to return a strv with copies. Add
1354           _get_property_names to allow implementations to filter and provide
1355           good default implementation.
1356
1357 2007-11-20  Julien MOUTTE  <julien@moutte.net>
1358
1359         * docs/faq/gst-uninstalled: Add another library to the uninstalled
1360         script (sdp).
1361
1362 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1363
1364         * gst/gstpreset.c:
1365           More cleanups, docs, and TODOs from comments that now slowly come in.
1366
1367 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1368
1369         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
1370         search path.
1371
1372 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
1373
1374         * gst/gstpreset.c:
1375           Fix bogus warning and make the property type specific code more
1376           similar.
1377
1378 2007-11-19  Julien MOUTTE  <julien@moutte.net>
1379
1380         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
1381         it build on OS X.
1382
1383 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
1384
1385         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1386         (gst_bin_add_func), (gst_bin_remove_func),
1387         (gst_bin_change_state_func), (gst_bin_continue_func):
1388         Change email, cleanups add some more debug and comments.
1389         Also set bus and clock on new elements when the pipeline was in error.
1390
1391 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
1392
1393         * gst/gstbin.c:
1394         * gst/gstdebugutils.c:
1395           Fix build with --disable-gst-debug. Fixes #497859.
1396           Spotted by Sameer Naik.
1397
1398 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1399
1400         * gst/gstevent.c:
1401           Little documentation improvment.
1402
1403         * gst/gstpreset.c:
1404           More TODO cleanups. Remove c++ comments.
1405
1406         * libs/gst/controller/gstcontroller.c:
1407           Add TODO and use quark from static string.
1408
1409         * tests/check/gst/gstmessage.c:
1410         * tests/check/gst/gststructure.c:
1411           Use quark from static string.
1412
1413 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * gst/gstpreset.c:
1416           Add some comments and TODOs.
1417
1418         * gst/gstpreset.h:
1419           Add padding for future changes.
1420
1421         * plugins/elements/gstqueue.c:
1422           Implement the iface.    
1423
1424 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
1425
1426         * docs/gst/gstreamer-docs.sgml:
1427         * docs/gst/gstreamer-sections.txt:
1428         * docs/gst/gstreamer.types.in:
1429         * gst/Makefile.am:
1430         * gst/gst.h:
1431         * gst/gstpreset.c:
1432         * gst/gstpreset.h:
1433           Add the preset interface (Fixes #396779). Do some doc cleanups along.
1434
1435 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
1436
1437         * configure.ac:
1438
1439         Back to CVS
1440
1441 === release 0.10.15 ===
1442
1443 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
1444
1445         * configure.ac:
1446           releasing 0.10.15, "October"
1447
1448 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
1449
1450         * win32/vs6/libgstreamer.dsp:
1451         Convert line endings back to DOS.
1452
1453 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
1454
1455         * docs/design/draft-tagreading.txt:
1456         * docs/random/ensonic/profiling.txt:
1457         Update fast tagreading draft and performance profiling ideas.
1458
1459 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1460
1461         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
1462         Don't hold the object lock when unreffing a buffer because it could
1463         cause a deadlock when the finalize function wants to grab the object
1464         lock too. Fixes #495133.
1465
1466 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
1467
1468         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
1469         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1470         Also accumulate time correctly when doing reverse playback. Fixes
1471         #488201,
1472         When converting to running and stream time, use default values for
1473         start/stop/time/accum when comparing different formats. Fixes #494245.
1474
1475         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1476         Do running/stream time in TIME format.
1477
1478         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1479         (gst_segment_suite):
1480         2 new unit tests for segment accumulation.
1481
1482 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
1483
1484         * gst/gst.c: (init_pre):
1485         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
1486           (_gst_debug_bin_to_dot_file):
1487           Move getenv() back into gst_init, so everyone can live happily
1488           ever after. Make sure the symbol isn't exported though.
1489
1490 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1491
1492         Patch by: Sebastien Moutte  <sebastien moutte net>
1493
1494         * win32/common/gstenumtypes.c:
1495         * win32/common/gstenumtypes.h:
1496           Update enum types.
1497
1498         * win32/vs6/libgstreamer.dsp:
1499           Update vs6 project files (#494343).
1500
1501 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1502
1503         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
1504         (gst_base_src_perform_seek), (gst_base_src_default_event),
1505         (gst_base_src_set_flushing), (gst_base_src_activate_push),
1506         (gst_base_src_activate_pull):
1507         Unify flushing code, remove some old unlock code that is no longer used.
1508         Take the streaming lock when seeking to avoid races. Fixes #492729.
1509         Added some more comments.
1510
1511 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1512
1513         * gst/gst.c: (_gst_disable_segtrap):
1514           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
1515           we can use gst_segtrap_is_enabled() there now that we have that API.
1516           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
1517           to do the getenv here (and export the variable).
1518
1519         * gst/gstdebugutils.c: (debug_dump_element),
1520           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
1521           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
1522
1523         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
1524           (gst_debug_log_default):
1525           Rename _gst_info_start_time to priv_gst_info_start_time so it
1526           doesn't get exported (was never in any header).
1527
1528         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
1529           (gst_plugin_loading_mutex):
1530           Make static mutex gst_plugin_loading_mutex really static (was never
1531           in any header), and use gst_segtrap_is_enabled() instead of
1532           _gst_disable_segtrap.
1533
1534         * gst/gsttrace.c: (_gst_trace_default):
1535           Make local _gst_trace_default static (was never in any header).
1536
1537 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1538
1539         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1540
1541         * win32/common/libgstbase.def:
1542         * win32/common/libgstcontroller.def:
1543         * win32/common/libgstdataprotocol.def:
1544         * win32/common/libgstnet.def:
1545         * win32/common/libgstreamer.def:
1546           Add more missing symbols, remove some duplicates, and sort
1547           as the 'sort' command sorts it (partially fixes #493983).
1548
1549 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1550
1551         * gst/gstelement.c: (gst_element_set_state_func):
1552         Only change the state cookie if a different state was set on the
1553         element. See #492729.
1554
1555 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
1556
1557         * gst/gstvalue.c:
1558           Remove unused and uninitialised type variables that were still
1559           exported for some reason (they were never in any header files
1560           though).
1561
1562 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1563
1564         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1565         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
1566         (gst_base_sink_event), (gst_base_sink_get_position_last),
1567         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
1568         (gst_base_sink_change_state):
1569         Don't try to report a 0 position when we don't know, return -1 and FALSE
1570         instead. This mostly happens when we are prerolling.
1571         Make sure we can report the right position before we post the ASYNC_DONE
1572         message so that a message handler can query position without races.
1573
1574         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1575         (async_done_handoff), (async_done_func), (send_buffer),
1576         (async_done_eos_func), (gst_sinks_suite):
1577         Add two tests for the above.
1578
1579 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
1580
1581         * MAINTAINERS:
1582         Update with new email address.
1583
1584         * docs/design/part-TODO.txt:
1585         Add some more info about future pad-block and negotiation changes.
1586
1587         * docs/design/part-buffering.txt:
1588         Add some ideas about buffering reporting.
1589
1590 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
1591
1592         * tests/check/gst/gstobject.c:
1593         Disable silly racy test that always fails on this combination of CPU
1594         and kernel.
1595
1596 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
1597
1598         Patch by: Murray Cumming  <murrayc@murrayc.com>
1599
1600         * gst/gstobject.c:
1601           Corrected the registration of the parent-set and parent-unset
1602           signals: The parameter is a GstObject, not a GObject (#493134).
1603
1604 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1605
1606         * gst/gst_private.h:
1607         * gst/gstbuffer.h:
1608         * gst/gstevent.h:
1609         * gst/gstformat.h:
1610         * gst/gstmessage.h:
1611         * gst/gstplugin.h:
1612         * gst/gstquery.h:
1613         * gst/gsttaglist.h:
1614         * gst/gstvalue.h:
1615           Move declaration of private _gst_foo_initialize() functions into
1616           our private header file where they should have been all along.
1617
1618 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1619
1620         * docs/plugins/gstreamer-plugins-sections.txt:
1621         * gst/gstdebugutils.h:
1622         * gst/gstxml.h:
1623         * plugins/elements/gstqueue.c:
1624           gtk-doc fixes; trailing-comma-in-enum fix.
1625
1626 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
1627
1628         * gst/gst.c: (gst_deinit):
1629           Clean up on deinit (not the external ones though, doesn't seem to be
1630           needed for some reason).
1631
1632 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1633
1634         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
1635           Remove __declspec(dllimport) for MSVC that was copied over into core
1636           from a plugin, obviously without ever having been tested (note the
1637           single underscore in _declspec in the initial commit), and that doesn't
1638           really make sense.  See #492077.
1639
1640 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1641
1642         * gst/gst.c: (init_post):
1643         * gst/gstevent.c: (_gst_event_initialize):
1644         * gst/gstquery.c: (_gst_query_initialize):
1645         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
1646           g_type_class_ref() other types as well, see #349410 and #64764.
1647
1648         * gst/gstbuffer.c: (_gst_buffer_initialize):
1649         * gst/gstmessage.c: (_gst_message_initialize):
1650           Simplify existing g_type_class_ref().
1651
1652 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1653
1654         * gst/gstformat.c: (_gst_format_initialize):
1655           g_type_class_ref() our GstFormat type to make sure we avoid the
1656           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
1657           bug #64764. Should fix intermittent tee unit test failures (#474823).
1658
1659 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
1660
1661         * tests/check/elements/tee.c: (test_num_buffers):
1662           Simplify, simplify, simplify - or not.  Rewrite unit test
1663           not to use gst_parse_launch(); allow N sub-streams. Increasing
1664           the number of sub-streams seems to reproduce #474823 more easily.
1665
1666 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1667
1668         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
1669
1670         * gst/gsttrace.c:
1671         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1672         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1673         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
1674           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
1675           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
1676           so use _pipe() directly (#492077).
1677
1678         * win32/common/dirent.c: (_treaddir):
1679           Add a couple of casts to make it build without warnings with MSVC.
1680
1681         * win32/common/libgstreamer.def:
1682           Add some more symbols that need to be exported.
1683
1684 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
1685
1686         * tests/examples/metadata/read-metadata.c: (message_loop):
1687           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
1688           arriving in a second or third tag message are added to
1689           the tag list as well.
1690
1691 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
1692
1693         * libs/gst/base/gstbasesrc.c:
1694           Its "Since:" and not "@Since:". And remove an superflous cast.
1695
1696 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
1697
1698         * docs/libs/gstreamer-libs-sections.txt:
1699         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1700         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
1701         (gst_base_sink_get_property), (gst_base_sink_render_object),
1702         (gst_base_sink_preroll_object),
1703         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
1704         (gst_base_sink_change_state):
1705         * libs/gst/base/gstbasesink.h:
1706         Add a new last-buffer property that contains the last buffer used in
1707         basesink for preroll or rendering. useful for making snapshots.
1708         API: gst_base_sink_get_last_buffer()
1709         API: GstBaseSink::last-buffer
1710
1711 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1712
1713         * docs/gst/running.xml:
1714         * gst/gst.c:
1715         * gst/gstdebugutils.c:
1716         * gst/gstdebugutils.h:
1717         * tools/gst-launch.c:
1718           Improve bin graph dumping, by using the envvar to specify a path.
1719           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
1720
1721 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
1722
1723         * plugins/elements/gsttypefindelement.c:
1724           (gst_type_find_element_handle_event),
1725           (gst_type_find_element_activate):
1726           Post special error message if we can't determine the type of a stream
1727           because it's empty.
1728
1729 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
1730
1731         * docs/gst/running.xml:
1732         * gst/gstdebugutils.c:
1733           Document new env-var. Add one log-line after dumpng a graph.
1734
1735 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
1736
1737         * configure.ac:
1738           Ugly hack to put the (recently removed and non-portable, apparently)
1739           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
1740           GNU ld, because without that 'make check' fails miserably on my debian
1741           stable box.  Someone with more knowledge of linker intricacies and
1742           portability issues than me fix this properly please.
1743
1744 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
1745
1746         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1747         Reset last seen position after flushing so that we don't report the old
1748         position anymore.
1749
1750 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1751
1752         * gst/gstelementfactory.c: (gst_element_register):
1753         * gst/gsturi.h:
1754         Patch from Alessandro Decina adding get_type_full and
1755         get_protocols_full private vfuncs to the URIHandler interface
1756         to allow bindings to support creating URI handlers. 
1757         Partially fixes: #339279
1758         API: GstURIHandlerInterface::get_type_full
1759         API: GstURIHandlerInterface::get_protocols_full
1760
1761 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1762
1763         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
1764         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
1765         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
1766         Make it so that pads are considered linked until a buffer is pushed
1767         and discovered otherwise. This avoids problems with decodebin2 hanging
1768         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
1769         case.
1770
1771         Make sure we lock the multiqueue when updating the max-size properties.
1772         
1773         Fix a crash on Solaris in a debug statement in get_request_pad that
1774         passes a NULL string to GST_DEBUG. 
1775
1776         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
1777         (run_output_order_test):
1778         Fix the test to allow the first buffer on not-linked pads to come out
1779         of sequence while multiqueue discovers that they are not-linked.
1780
1781 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
1782
1783         * configure.ac:
1784         * libs/gst/check/Makefile.am:
1785         Use a custom export symbol regex for libgstcheck, as it needs
1786         to export symbols that don't match the standard GStreamer gst_*
1787         pattern, and  --export-dynamic is not portable (only works on 
1788         GNU ld)
1789
1790         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
1791         (gst_check_setup_sink_pad):
1792         Make sure to pass a message parameter to the fail_* macros.
1793
1794         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1795         Fix some compiler warnings.
1796
1797 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1798
1799         * tests/check/gst/gststructure.c: (test_to_string):
1800           Disable test that checks that white spaces are not allowed
1801           in structure names or field names, since we need to
1802           support that for now for backwards compatibility reasons.
1803
1804 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1805
1806         * docs/gst/gstreamer-sections.txt:
1807         * gst/gsttaglist.c:
1808         * gst/gsttaglist.h:
1809           API: add GST_TAG_ARTIST_SORTNAME
1810           API: add GST_TAG_ALBUM_SORTNAME
1811           API: add GST_TAG_TITLE_SORTNAME
1812           Add tag variants for sorting (#414539).
1813
1814 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1815
1816         * gst/gststructure.c:
1817           Also allow white space for names so we don't break
1818           backwards compatibility.
1819
1820 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
1821
1822         * docs/design/part-TODO.txt:
1823         * docs/design/part-segments.txt:
1824         * docs/design/part-streams.txt:
1825         Small updates.
1826
1827 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1828
1829         * docs/gst/gstreamer-sections.txt:
1830          Fixed documentation from my previous commit (added new API add
1831          gst_value_set_structure(), add gst_value_get_structure() and
1832          GST_VALUE_HOLDS_STRUCTURE).
1833
1834 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
1835
1836         * gst/gstdebugutils.c:
1837           Reflow code to fix uninitialized variable warning.
1838
1839 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1840
1841         * gst/gstcaps.c: (gst_caps_to_string),
1842         (gst_caps_from_string_inplace):
1843         * gst/gststructure.c: (gst_structure_get_abbrs),
1844         (gst_structure_to_string), (gst_structure_from_string):
1845         * gst/gstvalue.c: (gst_value_set_structure),
1846         (gst_value_get_structure), (gst_value_serialize_structure),
1847         (gst_value_deserialize_structure), (_gst_value_initialize):
1848         * gst/gstvalue.h:
1849         * tests/check/gst/gststructure.c: (GST_START_TEST),
1850         (gst_structure_suite):
1851         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1852          Added GstStructure to gst_value_table and its related functions.
1853          Changed gst_structure_to_string to print ';' in the end.
1854          Changed gst_caps_to_string to not print ';' beteween its
1855          fields (structures) anymore and remove the lastes ';' from latest
1856          structure. Now it is possible to have nested structures.
1857          In addition, backward compatibilty is assured by accepting '\0' as
1858          end delimiter. Fixes: #487969.
1859          API: add gst_value_set_structure()
1860          API: add gst_value_get_structure()
1861          API: add GST_VALUE_HOLDS_STRUCTURE
1862
1863 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1864
1865         * gst/gstbus.c:
1866           When no GSource callback has been set up, tell developer
1867           to use a function that actually exists.
1868
1869 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1870
1871         * docs/gst/gstreamer-sections.txt:
1872         * gst/Makefile.am:
1873         * gst/gst.c:
1874         * gst/gst.h:
1875         * gst/gstdebugutils.c:
1876         * gst/gstdebugutils.h:
1877         * gst/gstinfo.c:
1878         * gst/gstinfo.h:
1879         * tools/gst-launch.c:
1880           Allow dumping pipelines as dot graphs. Fixes #456573.
1881
1882 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1883
1884         * gst/gststructure.c:
1885           Allow '+' as well, it can be part of media or mime types
1886           such as image/svg+xml.
1887
1888 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * docs/gst/gstreamer-sections.txt:
1891         * gst/gstbus.c:
1892         * gst/gstbus.h:
1893           API: add gst_bus_pop_filtered
1894           API: add gst_bus_timed_pop_filtered
1895           Two new functions for waiting for specific message types on the
1896           bus for a specified amount of time without iterating any main
1897           loops or main contexts.
1898
1899         * tests/check/gst/gstbus.c:
1900           Some tests for the new functions.
1901
1902 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1903
1904         * docs/libs/gstreamer-libs-sections.txt:
1905           Make gtk-doc ignore stuff it should ignore.
1906
1907 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1908
1909         * libs/gst/check/gstcheck.c:
1910         * libs/gst/check/gstcheck.h:
1911           Allow runtime selection of unit tests to run via the GST_CHECKS
1912           environment variable (test case function names, comma-separated).
1913
1914 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1915
1916         * gst/gststructure.c:
1917         * tests/check/gst/gststructure.c:
1918           Revert serialisation change and constrain structure-names after
1919           consensus on irc. Update api documentation to reflect the change.
1920
1921 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1922
1923         * gst/gststructure.c:
1924           Improve serialization and fix tests.
1925
1926         * tests/check/gst/gststructure.c:
1927           Add another test that covers why I actually did the previous structure
1928           change.
1929
1930 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1931
1932         * tools/gst-inspect.c: (print_element_info):
1933         Don't crash when inspecting an element.
1934
1935 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1936
1937         * tests/check/gst/gststructure.c:
1938           Add unit test for escaping of structure name when serialising
1939           and deserialising to/from strings.
1940
1941 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1942
1943         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1944         (gst_single_queue_new):
1945         * plugins/elements/gstqueue.c: (gst_queue_init),
1946         (gst_queue_push_one):
1947         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1948         upstream is tricked into thinking it can suggest a format downstream
1949         while downstream does not support that format. The real problem is that
1950         core calls acceptcaps when pushing a buffer with new caps, for which we
1951         do a little workaround by setting the caps on the srcpad ourselves
1952         before pushing the buffer (until this is figured out). Fixes #486758.
1953
1954 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1955
1956         * gst/gststructure.c:
1957         * gst/gstvalue.c:
1958           Add some more comments and debug output. Quote structure name to fix
1959           deserialisation of some strings.
1960
1961 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1962
1963         * gst/gstbuffer.h:
1964           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1965           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1966
1967 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1968
1969         * tools/gst-inspect.c:
1970           Save approx. 400 1 byte allocs when printing. Use API to acces element
1971           details.
1972
1973         * tools/gst-run.c:
1974           Avoid a strdup.
1975
1976         * tools/gst-xmlinspect.c:
1977           Use API to acces element details.
1978
1979 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1980
1981         * gst/gstinfo.c:
1982           Fix some spelling errors.
1983
1984 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1985
1986         * gst/gstbin.c: (bin_handle_async_done):
1987         Correctly set the next state if all of our async children commited their
1988         state. This makes sure we can actually cancel the state change in
1989         progress. Fixes a regression in Rhythmbox when seeking.
1990
1991 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1992
1993         * gst/gstbin.c:
1994           Don't shadow local variable.
1995
1996         * gst/gstinfo.c:
1997           Don't shadow global function name.
1998
1999 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
2000
2001         * gst/gstelementfactory.c:
2002         * gst/gstpluginfeature.c:
2003         * gst/gstpluginfeature.h:
2004         * gst/gstregistrybinary.c:
2005         * gst/gstregistryxml.c:
2006         * gst/gsttypefind.c:
2007           Use already-interned string for the private GstPluginFeature
2008           plugin_name field.
2009
2010 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2011
2012         * docs/libs/gstreamer-libs-sections.txt:
2013           Add new API to docs; fixes the build.
2014
2015 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
2016         
2017         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
2018
2019         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
2020         (gst_base_sink_event):
2021         * libs/gst/base/gstbasesink.h:
2022         Add function to wait for EOS, subclasses can use this to correctly wait
2023         for devices to drain before performing the EOS logic. Fixes #485343.
2024         API: gst_base_sink_wait_eos()
2025
2026 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
2027
2028         * gst/gstplugin.h:
2029           Cast description string constants in GST_PLUGIN_DEFINE macros
2030           to a (gchar*) to make C++ code using these macros compile
2031           without warning with g++-4.2 (see #462737).  Even if slightly
2032           ugly, this seems preferable to putting the description strings
2033           into the GLib quark table or making the structure member a
2034           const gchar * and doing casts in core code that allocs and
2035           frees these strings, or requiring a cast in the C++ code.
2036
2037 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2038
2039         * gst/gstinfo.h:
2040           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
2041           to print the entire class/function signature into the log
2042           file for C++ code.  This only affects C++ code, for C code
2043           everything remains the same.
2044
2045 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
2046
2047         * gst/gstbin.c: (remove_from_queue):
2048         Work around a problem with pipelines containing (semi)loops until a
2049         proper, more complicated solution is ready. See #475455.
2050
2051 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2052
2053         * gst/gstplugin.c:
2054         * gst/gstplugin.h:
2055         * gst/gstregistrybinary.c:
2056         * gst/gstregistryxml.c:
2057           Put more strings into the GLib quark table. No need to keep
2058           a hundred-something copies of identical version strings,
2059           license strings, package name strings and package origin
2060           strings around. 
2061
2062 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
2063
2064         * docs/manual/advanced-dataaccess.xml:
2065           Don't imply that it's okay to unconditionally change
2066           buffer data or buffer metadata in a pad probe callback,
2067           and a bunch of other comments. Fixes #430031.
2068
2069 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         * win32/common/gstenumtypes.c:
2072         * win32/common/gstenumtypes.h:
2073         * win32/common/gstversion.h:
2074           Update generated files.
2075
2076 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2077
2078         * docs/manual/advanced-autoplugging.xml:
2079           Prefix section with broken code with a warning (see #342432).
2080
2081 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
2082
2083         * docs/manual/appendix-integration.xml:
2084         * docs/manual/basics-init.xml:
2085           Call g_thread_init() before g_option_context_new() to
2086           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
2087
2088 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2089
2090         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2091         (gst_base_sink_queue_object_unlocked),
2092         (gst_base_sink_queue_object), (gst_base_sink_event),
2093         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
2094         When we received EOS and are waiting for when to post the EOS message,
2095         our state is prerolled and we should not return ASYNC.
2096         Reorganize some code paths to implement this behavior.
2097
2098         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2099         (gst_sinks_suite):
2100         Add unit test to verify above EOS fix.
2101
2102 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2103
2104         * plugins/elements/gsttypefindelement.c:
2105         (gst_type_find_element_have_type), (gst_type_find_element_init),
2106         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
2107         Move detecting the input caps of the sinkpad to the setcaps function.
2108         This allows us to update the output caps when we receive new input caps
2109         instead of always using the first detected caps.
2110
2111 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
2112
2113         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
2114         (gst_base_sink_get_position):
2115         Don't try to preroll non-async elements after a flush.
2116         Subtract latency form clock times when reporting position.
2117
2118 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2119
2120         * gst/gstpad.c: (gst_pad_pause_task):
2121         * gst/gstutils.c:
2122         Small comment and documentation update.
2123
2124 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2125
2126         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2127         (gst_base_src_set_live), (gst_base_src_is_live),
2128         (gst_base_src_query_latency), (gst_base_src_perform_seek),
2129         (gst_base_src_default_event), (gst_base_src_wait),
2130         (gst_base_src_do_sync), (gst_base_src_get_range),
2131         (gst_base_src_pad_get_range), (gst_base_src_loop),
2132         (gst_base_src_unlock), (gst_base_src_unlock_stop),
2133         (gst_base_src_set_flushing), (gst_base_src_set_playing),
2134         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2135         (gst_base_src_change_state):
2136         Rework the locking of basesrc in a similar fashion to basesink. We
2137         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
2138         us to handle live sources and semi live ones much better.
2139         Simplify flushing.
2140         Fix unlocking when seeking, shutting down and pausing in live sources.
2141
2142 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
2143
2144         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
2145         Fix compilation again.
2146
2147 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2148
2149         * gst/gstelement.c:
2150           Use meaningful categories for the logs to clean the default one.
2151
2152 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2153
2154         * tests/check/pipelines/cleanup.c:
2155           Print message name and not just number.
2156
2157 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2158
2159         * docs/design/draft-tagreading.txt:
2160           Add some more thoughts.
2161
2162 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2163
2164         * tests/check/pipelines/simple-launch-lines.c:
2165           Print message name and not just number.
2166
2167 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2168
2169         * libs/gst/base/gsttypefindhelper.c:
2170           Speedup typefinding. This is work in progress (see #459862).
2171
2172 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
2173
2174         * gst/gstplugin.c:
2175           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
2176           Spotted by Josep Torra Valles <josep@fluendo.com>.
2177
2178 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
2179
2180         * gst/gstclock.h:
2181           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
2182           field has moved to GstObject.
2183
2184 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
2185
2186         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
2187         (gst_base_src_get_range), (gst_base_src_change_state):
2188         Call unlock for live sources so that they can't get stuck in _create and
2189         produce a buffer before they are set back to PLAYING.
2190
2191 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
2192
2193         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2194         (gst_queue_locked_dequeue):
2195         Comment the segment-related code... in the PROPER function.
2196         See #482147 and my commit from yesterday.
2197
2198 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
2199
2200         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
2201         Also initialize the counter that calculates the first timestamp on a
2202         buffer correctly for non-live sources.
2203
2204 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
2205
2206         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
2207         Disable code that's breaking the current-time-level reporting.
2208         See #482147
2209
2210 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
2211
2212         * docs/gst/gstreamer-sections.txt:
2213         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
2214         as they shouldn't show up. Fixes the docs build.
2215
2216 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
2217         
2218         * gst/gstinfo.h:
2219         Add an explicit variable importation needed on VS6 (only for MSC_VER)
2220         Define M_PI which is used in files which are including gstinfo.h. 
2221         VS6 includes doesn't define it.
2222         * win32/common/libgstbase.def:
2223         * win32/common/libgstcontroller.def:
2224         * win32/common/libgstreamer.def:
2225         Add new exported functions and variables.
2226         * win32/vs6/libgstcontroller.dsp:
2227         * win32/vs6/libgstreamer.dsp:
2228         Update the list of files to build.
2229         
2230 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2231
2232         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2233
2234         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
2235         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
2236         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
2237         Improve debugging. Fixes #480858.
2238
2239 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
2240
2241         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
2242
2243         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2244         First patch of code cleanups, use the macros and right arguments in the
2245         macros to signal and lock the queue. See #480858.
2246
2247 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
2248
2249         * gst/gstbus.c: (poll_func):
2250         Improve debugging when dealing with _poll().
2251
2252 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
2253
2254         * gst/gstregistryxml.c:
2255           Fix memory leak I introduced a few days ago.
2256
2257 2007-09-26  Michael Smith <msmith@fluendo.com>
2258
2259         * gst/gstbuffer.c: (gst_buffer_finalize):
2260           Make it once again possible to free GstBuffers in the default
2261           build.
2262           The poisoning scribbles on parts of the miniobject we need in
2263           order to free it.
2264           Fixes #480341
2265
2266 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * docs/gst/gstreamer-sections.txt:
2269         * gst/gsttaglist.c:
2270         * gst/gsttaglist.h:
2271         API: add GST_TAG_COMPOSER, fixes #459809.
2272
2273 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
2274
2275         * gst/gstplugin.c:
2276         * gst/gstplugin.h:
2277         Add the 3-clause BSD license and the MIT/X11 license to the license
2278         list. Fixes #479784.
2279
2280 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
2281
2282         * docs/faq/getting.xml:
2283           Add Q+A about different GStreamer versions (#364056).
2284
2285 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2286
2287         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2288         (gst_base_sink_event), (gst_base_sink_change_state):
2289         Return correct gboolean from query function.
2290
2291 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2292
2293         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
2294         (gst_base_sink_event), (gst_base_sink_query),
2295         (gst_base_sink_change_state):
2296         Simplify latency query.
2297         When not synchronizing, we can report latency without querying the peer
2298         element.
2299
2300 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2301
2302         * gst/gstobject.h:
2303         * gst/gstvalue.c:
2304         Fix small typos in the docs.
2305
2306 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
2307
2308         * docs/design/draft-latency.txt:
2309         * docs/design/draft-push-pull.txt:
2310         * docs/design/draft-tagreading.txt:
2311         * docs/design/part-MT-refcounting.txt:
2312         * docs/design/part-activation.txt:
2313         * docs/design/part-block.txt:
2314         * docs/design/part-element-source.txt:
2315         * docs/design/part-events.txt:
2316         * docs/design/part-gstbin.txt:
2317         * docs/design/part-gstelement.txt:
2318         * docs/design/part-gstobject.txt:
2319         * docs/design/part-gstpipeline.txt:
2320         * docs/design/part-messages.txt:
2321         * docs/design/part-preroll.txt:
2322         * docs/design/part-push-pull.txt:
2323         * docs/design/part-qos.txt:
2324         * docs/design/part-query.txt:
2325         * docs/design/part-scheduling.txt:
2326         * docs/design/part-seeking.txt:
2327         * docs/design/part-segments.txt:
2328         * docs/design/part-states.txt:
2329         Documentation updates and typo fixes.
2330
2331 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
2332
2333         * plugins/elements/gstfakesink.c:
2334           Add some debug text to error message to indicate that
2335           we errored out on request.
2336
2337         * tools/gst-launch.c:
2338           When the state change to PLAYING fails, check for an
2339           error message on the bus and print it.
2340
2341 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2342
2343         translated by: Jorge González González <aloriel@gmail.com>
2344
2345         * po/LINGUAS:
2346         * po/es.po:
2347           Added Spanish translation.
2348
2349 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
2350
2351         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2352         Fix printf arguments.
2353
2354 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2355
2356         * tests/check/generic/states.c:
2357           Improved state change unit test.
2358
2359 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
2360
2361         * gst/gstbin.h:
2362           Move priv to the right place.
2363
2364         * gst/gstsystemclock.c:
2365           Add FIXME: and improve log.
2366
2367         * tests/check/Makefile.am:
2368         * tests/examples/manual/Makefile.am:
2369           Work with all types of registries.
2370
2371 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
2372
2373         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2374         Don't unref the event after pushing it. Fixes #478401.
2375
2376 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2377
2378         * .cvsignore:
2379         * tests/examples/manual/.cvsignore:
2380           Ignore registries in any format.
2381
2382 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
2383
2384         * gst/glib-compat-private.h:
2385           Add compatibility macro for g_intern_string() for
2386           GLib-2.8 (any reason we can't just bump the
2387           requirement to at least 2.10?)
2388
2389         * gst/gstpadtemplate.h:
2390         * gst/gstelementfactory.c:
2391         * gst/gstregistryxml.c:
2392         * gst/gstregistrybinary.c:
2393           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
2394           up the internal code accordingly.  This shouldn't be a problem, since
2395           there is no reason external code could ever assume the string in such
2396           a structure is dynamically allocated unless it did that itself;  the
2397           use of g_strdup() is private to element factories.  The new code also
2398           saves some memory by putting pad template name strings into the GLib
2399           quark table instead of allocating them dynamically.
2400           Declaring this field constant fixes warnings with g++-4.2 when using
2401           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
2402
2403 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
2404
2405         * gst/gstelementfactory.c:
2406           Release static caps. Fixes #475723.
2407
2408 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
2409
2410         * gst/gstinfo.c:
2411         * gst/gstinfo.h:
2412           Make some internal API take const gchar * instead of just
2413           gchar * to avoid compiler warnings with g++-4.2.2 when
2414           passing string constants (partially fixes #478092).
2415
2416 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2417
2418         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
2419         A latency query fails when one of the sinks fail.
2420
2421         * gst/gstelement.c: (gst_element_set_base_time):
2422         Improve debugging.
2423
2424 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
2425
2426         * gst/gstbin.c: (gst_bin_continue_func):
2427         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2428         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
2429         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
2430
2431         Fix minor compilation warnings shown with Forte.
2432
2433 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
2434
2435         * plugins/elements/gstqueue.c: (apply_buffer),
2436         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
2437         Measure queue level based on the diff between head and tail timestamps
2438         even when pushing the first buffer.
2439
2440 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2441
2442         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2443         (gst_base_sink_event), (gst_base_sink_change_state):
2444         Sinks that don't preroll can always be queried for the latency.
2445         Don't post ASYNC start when we are not async.
2446
2447 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2448
2449         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
2450         (gst_queue_handle_sink_event), (gst_queue_chain),
2451         (gst_queue_push_one), (gst_queue_handle_src_query),
2452         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
2453         * plugins/elements/gstqueue.h:
2454         When downstream returns UNEXPECTED from pushing a buffer, don't try to
2455         push more buffers but allow pushing of EOS and NEWSEGMENT.
2456         Add some more debug info here and there. Fixes #476514.
2457
2458 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
2459
2460         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2461         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
2462         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2463         (gst_base_sink_set_flushing), (gst_base_sink_query),
2464         (gst_base_sink_change_state):
2465         Latency query is allowed after we are prerolled. Introduce a new flag
2466         for this and stop abusing other variables.
2467
2468 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2469
2470         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
2471         Push OOB events downstream when we get them in send_event. This allows
2472         the application to insert events in the pipeline.
2473         Add some more comments.
2474
2475 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2476
2477         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
2478         (do_bin_latency), (gst_bin_change_state_func):
2479         * gst/gstpipeline.c: (gst_pipeline_change_state):
2480         Move latency query from GstPipeline to GstBin so that we can also
2481         use it when async-handling is enabled on bins.
2482
2483 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2484
2485         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2486         (gst_base_src_do_sync), (gst_base_src_change_state):
2487         Update docs.
2488         Clean up the timestamping and syncing code for pseudo live sources.
2489
2490 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
2491
2492         Patch by: Steve Fink  <sphink gmail com>
2493
2494         * docs/manual/appendix-checklist.xml:
2495           Mention less -R switch in the section about debug output (#474055).
2496
2497 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
2498
2499         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
2500         Queue can latency to the pipeline up to the configured max size in time.
2501         Report this fact in the latency query.
2502
2503 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2504
2505         Patch by: Sebastien Moutte <sebastien at moutte dot net>
2506
2507         * libs/gst/controller/gstinterpolation.c:
2508         * libs/gst/controller/gstlfocontrolsource.c:
2509         Use gst_guint64_to_gdouble() when converting from a uint64 or
2510         GstClockTime to double to fix the build on win32. Fixes #474371.
2511
2512 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2513
2514         * gst/gstbuffer.c: (gst_buffer_finalize):
2515         Implement poisoning for GstBuffer if --enable-poisoning is specified.
2516         When finalizing a buffer the complete struct is filled with 0xff,
2517         thus making a use of the buffer after the final unref impossible.
2518
2519 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
2520
2521         * tests/check/libs/controller.c: (GST_START_TEST):
2522         Use fail_unless_equals_int(a, b) instead of
2523         fail_unless_equals (a == b) to get better output on failures.
2524
2525 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2526
2527         * tests/check/gst/gsturi.c:
2528           Also check for the other file URI variant on win32.
2529
2530 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
2531
2532         * gst/gsturi.c: (gst_uri_get_location):
2533           If there's no hostname, we want to return 'c:/foo/bar.txt'
2534           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
2535
2536         * tests/check/gst/gsturi.c:
2537           Unit test for the above and a few more things.
2538
2539 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2540
2541         * docs/design/part-live-source.txt:
2542         Add docs on how live sources should timestamp.
2543
2544         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
2545         Add some more debug info.
2546         For subclasses that are live and like to sync, add aditional startup
2547         latency to sync time and timestamps so that we timstamp according to the
2548         design doc.
2549
2550 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2551
2552         * gst/gstbuffer.c:
2553           Also do a g_type_class_ref() for the subbuffer type in
2554           the init function.
2555
2556 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
2557
2558         * docs/gst/gstreamer-sections.txt:
2559         * gst/gstpad.c: (gst_pad_peer_query):
2560         * gst/gstpad.h:
2561         Add function to perform a query on the peer of a pad.
2562         API: gst_pad_peer_query()
2563
2564 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
2565
2566         * tests/check/gst/gstsystemclock.c:
2567           Cleanup the test a little (use gst-logging and not g_message). Improve
2568           test to check if a wait reached the target.
2569
2570 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
2571
2572         * docs/libs/gstreamer-libs-sections.txt:
2573           Add new API to docs and fix the build.
2574
2575 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
2576
2577         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2578         (gst_base_src_init), (gst_base_src_set_do_timestamp),
2579         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
2580         (gst_base_src_get_property), (gst_base_src_do_sync):
2581         * libs/gst/base/gstbasesrc.h:
2582         Add property to make the basesrc timestamp buffers based on the current
2583         running time.
2584         API: GstBaseSrc::do-timestamp
2585         API: gst_base_src_set_do_timestamp()
2586         API: gst_base_src_get_do_timestamp()
2587
2588 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
2589
2590         * docs/random/release:
2591           Really make sure translations are up-to-date before
2592           a release (#465010).
2593
2594 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
2595
2596         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2597         Always destroy the timer, also in error cases.
2598
2599 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2600
2601         * docs/manual/highlevel-xml.xml:
2602         Fix XML example code. Fixes #472714.
2603
2604 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
2605
2606         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2607         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
2608         (gst_base_sink_query):
2609         Protect eos and have_preroll with the OBJECT lock so we don't need to
2610         take the PREROLL lock when querying the latency. Fixes #473846.
2611
2612 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
2613
2614         * gst/gstelement.c:
2615           Give some log-messages a category.
2616
2617 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
2618
2619         * gst/gststructure.c:
2620         (gst_structure_fixate_field_nearest_fraction):
2621         Fix fraction list fixation code. Take the fraction with the smallest
2622         difference with the target instead of the first one in the list.
2623
2624         * tests/check/gst/gststructure.c: (GST_START_TEST),
2625         (gst_structure_suite):
2626         Added test to verify correct fraction list fixation behaviour.
2627
2628 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
2629
2630         * win32/common/libgstreamer.def:
2631           Export gst_bus_add_signal_watch too.
2632
2633 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
2634
2635         * docs/libs/gstreamer-libs-sections.txt:
2636         Add new methods to docs.
2637
2638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2639         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
2640         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
2641         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
2642         * libs/gst/base/gstbasesink.h:
2643         Add ts-offset property to fine-tune the synchronisation.
2644         API: GstBaseSink::ts-offset property
2645         API: gst_base_sink_set_ts_offset()
2646         API: gst_base_sink_get_ts_offset()
2647
2648 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
2649
2650         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2651         (gst_base_sink_init), (gst_base_sink_set_sync),
2652         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2653         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
2654         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
2655         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
2656         (gst_base_sink_get_property), (gst_base_sink_change_state):
2657         * libs/gst/base/gstbasesink.h:
2658         Add async property to instruct the sink never to inform the parent about
2659         ASYNC state changes, update docs.
2660         Check argument with g_return_* for the public functions.
2661         API: GstBaseSink::async property
2662         API: gst_base_sink_set_async_enabled()
2663         API: gst_base_sink_is_async_enabled()
2664
2665 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
2666
2667         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
2668         Improve debugging.
2669
2670         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2671         (gst_base_src_default_query), (gst_base_src_wait),
2672         (gst_base_src_do_sync), (gst_base_src_change_state):
2673         Rearrange some code so that we can add support for measuring the 
2674         startup latency.
2675
2676 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
2677
2678         * docs/random/ensonic/dynlink.txt:
2679           More thoughs on this.
2680
2681         * plugins/elements/gstcapsfilter.c:
2682           Add bugzilla ticket number to FIXME comment.
2683
2684 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
2685
2686         * docs/design/part-TODO.txt:
2687         * docs/design/part-block.txt:
2688         Update some docs.
2689
2690 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2691
2692         * gst/Makefile.am:
2693           Revert patch which uses $(gst_headers) instead of $^ because it
2694           breaks make dist.
2695
2696 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
2697
2698         * tests/check/gst/gstbin.c: (GST_START_TEST):
2699           Fix leaks in the new unit test.
2700
2701 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
2702
2703         * gst/gst.c:
2704           Don't use GST_INFO before the debug system is actually initialised
2705           (shouldn't do any harm, but won't print anything either, so we can
2706           just as well remove it).
2707
2708         * gst/gstinfo.h:
2709           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
2710           compilers that don't support variadic macros (such as MSVC), should
2711           check for debug_level <= __gst_debug_min as well, since that's the
2712           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
2713           inline helper functions. Should improve performance a bit, but also
2714           makes sure uses of GST_INFO et.al are ignored if the debugging
2715           system isn't initialised yet (instead of printing an assertion
2716           failure).
2717
2718 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
2719
2720         patch by: David Nečas <yeti@physics.muni.cz>
2721
2722         * gst/Makefile.am:
2723           Replace some non portable makefile constructs.
2724
2725 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
2726
2727         * common/gtk-doc-plugins.mak:
2728           Grrrrr. Don't remove the types file on make clean.
2729
2730 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
2731
2732         * tools/gst-launch.1.in:
2733         Add colorspace to example pipeline. Fixes #458274.
2734
2735 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
2736
2737         * docs/random/release:
2738           The release manager should run 'make download-po' before making a
2739           release to make sure translations are up-to-date.
2740
2741         * po/LINGUAS:
2742         * po/be.po:
2743         * po/pl.po:
2744         * po/rw.po:
2745           Add some new translations.
2746
2747 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
2748
2749         * tools/gst-launch.c: (event_loop), (main):
2750         Don´t try to do any state management when a live pipeline posts
2751         buffering messages.
2752         Also make the buffering string translatable.
2753
2754 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2755
2756         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
2757         (bin_handle_async_start), (gst_bin_handle_message_func):
2758         Improve debugging.
2759         When adding elements, insert messages into the bus of the newly added
2760         element and make sure the element is the source of the message. This
2761         allows the parent bin to intercept the message and do the
2762         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
2763         messages to the app (which is not allowed).
2764         Update some docs.
2765
2766         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2767         Fix testsuite so that is does not work around messages that should not
2768         have been posted in the first place.
2769
2770 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2771
2772         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
2773         (update_degree), (gst_bin_sort_iterator_next):
2774         Fix annoying bug in the sorted iterator where a sink that is not really
2775         a sink (when it has downstream links) screwed up the iterator.
2776
2777         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2778         Unit test to verify the fix.
2779
2780 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
2781
2782         * gst/gstmessage.h:
2783         Add some more docs for the messages.
2784
2785         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
2786         (gst_base_sink_query):
2787         Add some more debugging.
2788
2789         * tools/gst-launch.c: (event_loop):
2790         When interrupting, don't try to set pipeline to PAUSED twice.
2791
2792 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2793
2794         
2795         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2796         (bin_handle_async_start), (gst_bin_handle_message_func):
2797         Move ASYNC_START message posting to where it belongs, similar to
2798         async_done. 
2799         Don't post ASYNC_START when we are in error. 
2800         Post ASYNC_START when we added an async element to a bin.
2801
2802 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2803
2804         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2805         generation from vargs. Fixes #466595.
2806
2807 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2808
2809         * gst/gstbin.c: (gst_bin_element_set_state):
2810         Always change the state of a NO_PREROLL element even if it has ASYNC
2811         elements inside (in case of a bin).
2812
2813         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2814         Unit test for this case.
2815
2816 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2817
2818         * libs/gst/check/gstbufferstraw.c:
2819         * libs/gst/check/gstcheck.h:
2820         * libs/gst/controller/gstcontroller.c:
2821         * libs/gst/controller/gstcontrolsource.h:
2822         * libs/gst/controller/gstlfocontrolsource.h:
2823         * plugins/elements/gstcapsfilter.h:
2824         * plugins/elements/gstfdsink.h:
2825         * plugins/elements/gstfdsrc.h:
2826           Add more missing docs.
2827
2828 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2829
2830         * gst/gststructure.c:
2831         Add Since tag to docs.
2832
2833 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2834
2835         * docs/gst/gstreamer-sections.txt:
2836         * gst/gststructure.c: (gst_structure_get_uint):
2837         * gst/gststructure.h:
2838         Add function to get uint from a structure.
2839         API: gst_structure_get_uint()
2840
2841 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2842
2843         * gst/gstcaps.c: (gst_caps_set_simple_valist),
2844         (gst_caps_intersect):
2845         Fix proper check for simple caps.
2846
2847 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
2848
2849         * docs/gst/Makefile.am:
2850         * docs/libs/Makefile.am:
2851           Remove cruft and do some cleanups.
2852
2853         * docs/gst/gstreamer-docs.sgml:
2854         * docs/libs/gstreamer-libs-docs.sgml:
2855           Prepare for comming gtkdoc features (rebase against online docs).
2856
2857 2007-08-10  Michael Smith <msmith@fluendo.com>
2858
2859         * docs/gst/gstreamer-sections.txt:
2860           Add gst_registry_add_path to docs.
2861
2862 2007-08-10  Michael Smith <msmith@fluendo.com>
2863
2864         * gst/gstregistry.h:
2865           Add gst_registry_add_path, which was missing from this header.
2866
2867 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2868
2869         * libs/gst/controller/gstlfocontrolsource.c:
2870           Printf format fix.
2871
2872 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2873
2874         * libs/gst/base/gstbasesink.c:
2875           Don't send an async_start message during downwards state change if 
2876           target state is less than READY
2877
2878 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2879
2880         translated by: Gabor Kelemen <kelemeng@gnome.hu>
2881
2882         * po/LINGUAS:
2883         * po/hu.po:
2884           Added Hungarian translation.
2885
2886 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2887
2888         * po/fi.po:
2889         * po/it.po:
2890         * po/nl.po:
2891         * po/sv.po:
2892         * po/uk.po:
2893           Updated translations.
2894
2895 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2896
2897         * libs/gst/controller/Makefile.am:
2898         Dist gstlfocontrolsourceprivate.h
2899
2900 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2901
2902         * docs/libs/gstreamer-libs.types:
2903         Don't register the enum type gst_lfo_waveform_get_type() in the
2904         .types file - only GObject derived types belong.
2905
2906 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2907
2908         Patch by: <arenevier at fdn dot fr>
2909
2910         * gst/gstbuffer.h:
2911         Remove comma from last element in enum to avoid compile errors when
2912         using -pendantic. Fixes #464366.
2913
2914 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2915
2916         * docs/design/part-TODO.txt:
2917         Add some more TODO items
2918
2919         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2920         Improve debugging.
2921
2922         * gst/gstcaps.c: (gst_caps_intersect):
2923         Optimize trivial intersection case between identical caps pointers.
2924
2925         * gst/gstelement.c: (gst_element_continue_state),
2926         (gst_element_set_state_func):
2927         * gst/gstpad.c:
2928         Fix spelling and grammar mistakes.
2929
2930 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2931
2932         * po/POTFILES.in:
2933         * po/POTFILES.skip:
2934           Update POTFILES. Fixes #461599.
2935
2936 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2937
2938         * gst/gst.c:
2939         Fix confusing typo in debug output.
2940
2941 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2942
2943         reviewed by: Stefan Kost <ensonic@users.sf.net>
2944
2945         * libs/gst/controller/Makefile.am:
2946         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2947         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2948         (gst_lfo_control_source_new),
2949         (gst_lfo_control_source_set_waveform),
2950         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2951         (gst_lfo_control_source_finalize),
2952         (gst_lfo_control_source_dispose),
2953         (gst_lfo_control_source_set_property),
2954         (gst_lfo_control_source_get_property),
2955         (gst_lfo_control_source_class_init):
2956         * libs/gst/controller/gstlfocontrolsource.h:
2957         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2958         API: Add GstLFOControlSource, a control source that gives values
2959         for specific timestamps based on several periodic waveforms.
2960         Fixes #459717.
2961
2962         * tests/check/libs/controller.c: (GST_START_TEST),
2963         (gst_controller_suite):
2964         * docs/libs/gstreamer-libs-docs.sgml:
2965         * docs/libs/gstreamer-libs-sections.txt:
2966         * docs/libs/gstreamer-libs.types:
2967         Add documentation and unit tests for GstLFOControlSource.
2968
2969 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2970
2971         * configure.ac:
2972         Back to CVS
2973
2974 === release 0.10.14 ===
2975
2976 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2977
2978         * configure.ac:
2979           releasing 0.10.14, "Breathing Vacuum"
2980
2981 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2982
2983         * gst/gstelement.c: (gst_element_class_set_details_simple):
2984         * gst/gstelement.h:
2985           Make strings passed to gst_element_class_set_details_simple()
2986           constant, as they should be (#462752).
2987
2988 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2989
2990         * gst/gstbin.c: (gst_bin_change_state_func),
2991         (bin_handle_async_done), (gst_bin_handle_message_func):
2992         Don't forget about the fact that some element went ASYNC even after a
2993         resync. This makes us post the ASYNC_DONE message correctly.
2994         Fixes #462558.
2995
2996 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2997
2998         * gst/gstregistry.c: (gst_registry_add_feature):
2999         When replacing an existing feature in the registry, make sure to
3000         continue holding a reference until we've replaced the name string
3001         within our feature hash table. Make sure to use g_hash_table_replace
3002         instead of g_hash_table_insert to ensure the new name string is used
3003         as a key instead of the old one that we're about to free.
3004         Fixes: #462085
3005
3006 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
3007
3008         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3009         (gst_plugin_feature_set_name):
3010         Revert patch from #459466 until after the release and we can work
3011         out exactly what the problem is (if any).
3012
3013 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3014
3015         * docs/gst/gstreamer-sections.txt:
3016         * gst/gsttaglist.c:
3017         * gst/gsttaglist.h:
3018           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
3019
3020 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
3021
3022         * docs/libs/Makefile.am:
3023         Include our build-prefix libs and includes before the generic ones to
3024         avoid linking against the installed libs when we want the build-tree
3025         ones.
3026
3027 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
3028
3029         Patch by: Steve Fink  <sphink gmail com>
3030
3031         * docs/pwg/building-testapp.xml:
3032           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
3033           if people try to build or install the example from the plugin
3034           template against a GStreamer from package using the configure
3035           defaults.
3036
3037 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         Patch by: Steve Fink  <sphink gmail com>
3040
3041         * tools/gst-inspect.1.in:
3042           Document --print-all and --print-plugin-auto-install-info command
3043           line options in man page.
3044
3045 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3046
3047         * docs/gst/gstreamer-sections.txt:
3048         Add docs for new api function.
3049
3050 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
3051
3052         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
3053         * gst/gstelementfactory.h:
3054         API: gst_element_factory_has_interface()
3055         Added method to check if an element factory implements a named
3056         interface.
3057
3058 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
3059
3060         * configure.ac:
3061         * docs/gst/gstreamer.types.in:
3062           Another conditional doc check.
3063
3064         * gst/gstmessage.c:
3065         * gst/gstparamspecs.h:
3066         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3067         * gst/gstvalue.c:
3068         * gst/gstxml.h:
3069           API-doc fixes.
3070
3071 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3072
3073         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
3074         (gst_registry_binary_load_feature),
3075         (gst_registry_binary_load_plugin),
3076         (gst_registry_binary_read_cache):
3077           Print error just once and with additional info.
3078
3079 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3080
3081         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3082         (helper_find_suggest), (helper_find_get_length),
3083         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
3084         (gst_type_find_helper_for_buffer):
3085           Cleanup the typefindhelper code and add private doc comments.
3086
3087 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
3088
3089         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3090         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
3091         Fix capsfilter for cases where the caps set on capsfilter will provide
3092         additional information.
3093         Fixes #449197
3094
3095 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
3096
3097         * gst/gsttypefindfactory.c:
3098           Fix docs that recommened wrong function to use.
3099
3100 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3101
3102         * tools/gst-inspect.c: (print_plugin_features):
3103           Also give media-type for typefinders in element output.
3104
3105 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3106
3107         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
3108         (gst_registry_remove_features_for_plugin_unlocked),
3109         (gst_registry_add_feature), (gst_registry_remove_feature),
3110         (gst_registry_lookup_feature_locked):
3111         * gst/gstregistry.h:
3112           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
3113           Fixes #459501.
3114
3115 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
3116
3117         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
3118         (gst_plugin_feature_set_name):
3119           Avoid double memory usage for pluginfeature names. Fixes #459466.
3120
3121 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3122
3123         * gst/gstpad.h:
3124           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
3125           driving the pipeline may need to explicitly check for NOT_LINKED as
3126           well, since IS_FATAL doesn't cover that.
3127
3128 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * docs/pwg/advanced-types.xml:
3131           Fix typo and duplicate entry in video formats list.
3132
3133 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
3134
3135         * libs/gst/controller/gstinterpolation.c:
3136         Also round to the nearest int when using cubic interpolation.
3137
3138 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
3139
3140         * libs/gst/controller/gstinterpolation.c:
3141         When linearly interpolating integer types, round to the nearest int
3142         by adding 0.5. Don't do it for float/double types.
3143         Fixes the failing controller test on my machine, which is somehow
3144         rounding differently than on the buildbots.
3145
3146 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3147
3148         * tools/gst-plot-timeline.py:
3149           Better log parsing (categories can have -). Adjust text vs. lines, so
3150           that they span the same y-range.        
3151
3152 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3153
3154         * docs/random/ensonic/audiobaseclasses.txt:
3155         * docs/random/ensonic/dynlink.txt:
3156         * docs/random/ensonic/profiling.txt:
3157           Save my thoughts.
3158
3159         * docs/random/moving-plugins:
3160           Add note to use g_assert type macros.
3161
3162 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * configure.ac:
3165         * libs/gst/check/Makefile.am:
3166           Add libm check as we use in for plugins.
3167
3168 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
3169
3170         * gst/gstbin.c: (gst_bin_continue_func):
3171         Check that the state_cookie hasn't changed since the continue_func
3172         was scheduled. Avoids problems where the state changes back to
3173         something it shouldn't be because it was changed in the meantime.
3174
3175 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
3176
3177         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
3178         (gst_registry_binary_save_string),
3179         (gst_registry_binary_save_pad_template),
3180         (gst_registry_binary_save_feature),
3181         (gst_registry_binary_save_plugin),
3182         (gst_registry_binary_load_feature),
3183         (gst_registry_binary_load_plugin),
3184         (gst_registry_binary_read_cache):
3185           Fix memory leak. Be less verbose in the log.
3186
3187 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3188
3189         * tests/check/elements/.cvsignore:
3190         Add file to cvsignore as commanded.
3191
3192 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3193
3194         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3195         (mq_dummypad_event), (run_output_order_test):
3196         Use a GStaticMutex to protect all cases where libcheck
3197         fail_if/fail_unless macros might be called from multiple threads
3198         simultaneously to avoid errors like:
3199           "check_pack.c:107: :-1081725400:Bad message type arg"
3200
3201 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3202
3203         * tests/check/pipelines/stress.c: (GST_START_TEST):
3204         Make sure we set the pipeline back to the NULL state before
3205         dropping our final reference.
3206
3207 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
3208
3209         * tests/check/elements/tee.c: (GST_START_TEST):
3210         Make the tee stress-test a little less stressful so it doesn't just
3211         time out on slow-machines, and remove a small race when it's starting 
3212         up by adding a get_state() call.
3213
3214 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
3215
3216         * gst/gst.c:
3217           Avoid reading registry twice on startup. Fixes #457322.
3218
3219 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3220
3221         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3222         * pkgconfig/gstreamer-check.pc.in:
3223         Substitute the CFLAGS for libcheck into our .pc file too so that
3224         dependent modules will pick it up properly if libcheck is installed
3225         into some other prefix.
3226
3227 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
3228
3229         * configure.ac:
3230         Revert the pkg-config check for libcheck, since it pulls in the
3231         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
3232         a proper solution, either from the check project, or something else.
3233
3234 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * configure.ac:
3237           Use pkg-config to locate check.
3238
3239 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
3240
3241         * gst/gsttaglist.c:
3242           Fix doc syntax.
3243
3244         * gst/gstutils.c:
3245         * gst/gstutils.h:
3246           Add deprecation guards.
3247
3248         * libs/gst/base/gstcollectpads.h:
3249           Don't document object (this is implicitly private).
3250
3251 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
3252
3253         * gst/gststructure.c: (gst_structure_parse_value):
3254           When deserialising foo=bar without a type cast, check if it's a
3255           boolean before falling back to a string type, otherwise things like
3256           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
3257           because the filtercaps end up having a signed=(string)true field,
3258           which causes problems later when intersection caps.
3259
3260         * tests/check/gst/gststructure.c: (GST_START_TEST):
3261           Add a unit test for this.
3262
3263 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
3264
3265         Reviewed by: Stefan Kost <ensonic@users.sf.net>
3266
3267         * libs/gst/controller/Makefile.am:
3268         * libs/gst/controller/gstcontroller.c:
3269         (gst_controlled_property_add_interpolation_control_source),
3270         (gst_controlled_property_new), (gst_controlled_property_free),
3271         (gst_controller_find_controlled_property),
3272         (gst_controller_new_valist), (gst_controller_new_list),
3273         (gst_controller_new), (gst_controller_remove_properties_valist),
3274         (gst_controller_remove_properties_list),
3275         (gst_controller_remove_properties),
3276         (gst_controller_set_property_disabled),
3277         (gst_controller_set_disabled), (gst_controller_set_control_source),
3278         (gst_controller_get_control_source), (gst_controller_get),
3279         (gst_controller_sync_values), (gst_controller_get_value_array),
3280         (_gst_controller_dispose), (gst_controller_get_type),
3281         (gst_controlled_property_set_interpolation_mode),
3282         (gst_controller_set), (gst_controller_set_from_list),
3283         (gst_controller_unset), (gst_controller_unset_all),
3284         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
3285         * libs/gst/controller/gstcontroller.h:
3286         * libs/gst/controller/gstcontrollerprivate.h:
3287         * libs/gst/controller/gstcontrolsource.c:
3288         (gst_control_source_class_init), (gst_control_source_init),
3289         (gst_control_source_get_value),
3290         (gst_control_source_get_value_array), (gst_control_source_bind):
3291         * libs/gst/controller/gstcontrolsource.h:
3292         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
3293         (gst_object_get_control_source):
3294         * libs/gst/controller/gstinterpolation.c:
3295         (gst_interpolation_control_source_find_control_point_node),
3296         (gst_interpolation_control_source_get_first_value),
3297         (_interpolate_none_get), (interpolate_none_get),
3298         (interpolate_none_get_boolean_value_array),
3299         (interpolate_none_get_enum_value_array),
3300         (interpolate_none_get_string_value_array),
3301         (_interpolate_trigger_get), (interpolate_trigger_get),
3302         (interpolate_trigger_get_boolean_value_array),
3303         (interpolate_trigger_get_enum_value_array),
3304         (interpolate_trigger_get_string_value_array):
3305         * libs/gst/controller/gstinterpolationcontrolsource.c:
3306         (gst_control_point_free), (gst_interpolation_control_source_reset),
3307         (gst_interpolation_control_source_new),
3308         (gst_interpolation_control_source_set_interpolation_mode),
3309         (gst_interpolation_control_source_bind),
3310         (gst_control_point_compare), (gst_control_point_find),
3311         (gst_interpolation_control_source_set_internal),
3312         (gst_interpolation_control_source_set),
3313         (gst_interpolation_control_source_set_from_list),
3314         (gst_interpolation_control_source_unset),
3315         (gst_interpolation_control_source_unset_all),
3316         (gst_interpolation_control_source_get_all),
3317         (gst_interpolation_control_source_get_count),
3318         (gst_interpolation_control_source_init),
3319         (gst_interpolation_control_source_finalize),
3320         (gst_interpolation_control_source_dispose),
3321         (gst_interpolation_control_source_class_init):
3322         * libs/gst/controller/gstinterpolationcontrolsource.h:
3323         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
3324         API: Refactor GstController into the core controller which can take
3325         a GstControlSource for providing actual values for timestamps.
3326         Implement a interpolation control source and use this for backward
3327         compatibility, deprecate a bunch of functions that are now handled
3328         by GstControlSource or GstInterpolationControlSource.
3329         Make it possible to disable the controller completely or only for
3330         specific properties. Fixes #450711.
3331         * docs/libs/gstreamer-libs-docs.sgml:
3332         * docs/libs/gstreamer-libs-sections.txt:
3333         * docs/libs/gstreamer-libs.types:
3334         Add new functions and classes to the docs.
3335         * tests/check/libs/controller.c: (GST_START_TEST),
3336         (gst_controller_suite):
3337         * tests/examples/controller/audio-example.c: (main):
3338         Port unit test and example to the new API and add some new
3339         unit tests.
3340
3341 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
3342
3343         Patch by: Mark Nauwelaerts <manauw at skynet be>
3344
3345         * plugins/elements/gstmultiqueue.c:
3346         (gst_multi_queue_get_internal_links), (apply_buffer),
3347         (single_queue_overrun_cb), (gst_single_queue_new):
3348         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
3349         the pipeline layout can be tracked correctly. Fixes #453732.
3350
3351 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
3352
3353         * docs/gst/Makefile.am:
3354         * docs/libs/Makefile.am:
3355         * docs/plugins/Makefile.am:
3356           Simplify --extra-dir as gtkdoc scans recursively.
3357
3358 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3359
3360         * tools/gst-launch.c: (main):
3361         When we got an error, there is no point in waiting for preroll when
3362         shutting down.
3363
3364 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
3365
3366         * plugins/elements/gsttee.c: (gst_tee_base_init),
3367         (gst_tee_request_new_pad), (gst_tee_release_pad),
3368         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
3369         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
3370         (gst_tee_chain):
3371         Be a lot smarter when deciding what srcpad to use for proxying
3372         the buffer_alloc. Also handle pad added/removed when doing so.
3373         Fixes #357959.
3374         Keep track of what pads we already pushed on in case we have pads
3375         added/removed while pushing. Fixes #374639 
3376
3377         * tests/check/Makefile.am:
3378         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
3379         (tee_suite):
3380         Added unit test for pad resync.
3381
3382 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3383
3384         * po/nl.po:
3385         * po/sv.po:
3386           Updated translations.
3387
3388 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3389
3390         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
3391
3392         * po/LINGUAS:
3393         * po/fi.po:
3394           Added new Finnish translation.
3395
3396 2007-06-28  Wim Taymans  <wim@fluendo.com>
3397
3398         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3399         (single_queue_overrun_cb):
3400         When figuring out when a queue is filled, use our internal time estimate
3401         based on segments, just like check_full does.
3402
3403 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3404
3405         * gst/gstminiobject.c: (gst_mini_object_get_type):
3406           Remove 3 do-nothing methods.
3407
3408 2007-06-27  Wim Taymans  <wim@fluendo.com>
3409
3410         Patch by: Tim Angus <tim at ngus dot net>
3411
3412         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3413         (gst_capsfilter_set_property):
3414         Take a reference instead of a copy when setting "caps".
3415         Fix documentation to clarify this behaviour. Fixes #449414.
3416
3417 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
3418
3419         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3420         * gst/gstplugin.c: (gst_plugin_init):
3421         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
3422         * gst/gstquery.c: (gst_query_get_type):
3423         * gst/gstregistry.c: (gst_registry_init):
3424         * gst/gsturi.c: (gst_uri_handler_base_init):
3425           Remove empty instance_init() functions to save relocs and lessen the
3426           noise. Remove some of the function prototypes that are doubled by
3427           G_DEFINE_TYPE.
3428           
3429 2007-06-27  Wim Taymans  <wim@fluendo.com>
3430
3431         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
3432
3433         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
3434         Add peer and direction in the XML serialisation of ghostpads.
3435         Fixes #449226.
3436
3437 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * configure.ac:
3440           Preserve useful information, thanks Tim.
3441
3442 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
3443
3444         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3445         (gst_single_queue_flush), (apply_segment), (apply_buffer),
3446         (gst_single_queue_push_one), (gst_multi_queue_loop),
3447         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3448         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
3449         (compute_high_id), (gst_single_queue_new):
3450         * plugins/elements/gstmultiqueue.h:
3451         Take the multiqueue lock when updating the fill level so we don't get
3452         confused. 
3453
3454         After applying a buffer or event on the src pad segment, make sure to
3455         call gst_data_queue_limits_changed() to get the data queue to unblock
3456         and check the filled state again.
3457         
3458         Rework the not-linked pad handling so the logic is that not-linked 
3459         pads can push as fast as they like, but only so they never get 
3460         ahead of any linked pads.
3461
3462         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
3463         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
3464         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
3465
3466         Add a test to check that not-linked pads always stay behind
3467         linked pads.
3468
3469         Fixes: #430682
3470
3471 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
3472
3473         * docs/random/release:
3474           Some updates to the release procedure.
3475
3476 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
3477
3478         * gst/gstelementfactory.c: (__gst_element_details_clear):
3479           Microoptimization that saves stunning 80 bytes.
3480
3481 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
3482
3483         * docs/plugins/gstreamer-plugins.args:
3484         * docs/plugins/inspect/plugin-coreelements.xml:
3485         * docs/plugins/inspect/plugin-coreindexers.xml:
3486           Update docs with caps info.
3487
3488 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3489
3490         * po/it.po:
3491           Updated Italian translation.
3492
3493 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
3494
3495         * ChangeLog:
3496         * po/vi.po:
3497           Update Vietnamese translations.
3498
3499 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3500
3501         * libs/gst/base/gstbasesink.c:
3502           Remove unused signal enum.
3503
3504 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3505
3506         * docs/gst/gstreamer-sections.txt:
3507         * gst/gstelement.c:
3508         * gst/gstutils.c: (gst_type_register_static_full):
3509         Beef up and include the docs for gst_type_register_static_full and
3510         gst_element_class_set_details_simple and add the API keyword
3511         in the ChangeLog.
3512
3513 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
3514
3515         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3516         (update_time_level), (gst_single_queue_push_one),
3517         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
3518         (single_queue_overrun_cb), (single_queue_underrun_cb),
3519         (single_queue_check_full):
3520         Fix setting max-* properties after adding queues.
3521         Use IS_FILLED for checking visible items.
3522         Signal overrun if multiple queues overrun.
3523         Add extra debug output.
3524         Patch by: Wim Taymans <wim@fluendo.com>
3525
3526 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
3527
3528         * gst/gstelement.c: (gst_element_class_set_details_simple):
3529         * gst/gstelement.h:
3530         * gst/gstutils.c: (gst_type_register_static_full):
3531         * gst/gstutils.h:
3532         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
3533         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
3534         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
3535         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
3536         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
3537         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
3538         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
3539         * plugins/elements/gstidentity.c: (gst_identity_base_init):
3540         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
3541         * plugins/elements/gstqueue.c: (gst_queue_base_init),
3542         (apply_buffer), (gst_queue_chain):
3543         * plugins/elements/gsttee.c: (gst_tee_base_init):
3544         * plugins/elements/gsttypefindelement.c:
3545         (gst_type_find_element_base_init),
3546         (gst_type_find_element_class_init):
3547           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
3548           API: add gst_type_register_static_full
3549           API: add gst_element_class_set_details_simple
3550
3551 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
3552
3553         * docs/pwg/advanced-types.xml:
3554           Fix typo in iana.org URI.
3555
3556 2007-06-19  Andy Wingo  <wingo@pobox.com>
3557
3558         * tests/check/pipelines/simple-launch-lines.c
3559         (test_state_change_returns): Enable pull-mode tests now that
3560         basesink has been fixed.
3561
3562         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
3563         Changed from gst_base_sink_is_prerolled, reversing the sense of
3564         the return value. Returns FALSE also if the sink is in pull mode,
3565         in which case it needs no preroll.
3566         (gst_base_sink_query, gst_base_sink_change_state): Update for
3567         needs_preroll change.
3568         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
3569         chaining up, in which we return SUCCESS directly if we activated
3570         in pull mode instead of ASYNC. Involves countering an async_start
3571         message sent before chaining up; not sure if this is correct, in
3572         an ideal world we only send async-start when activating in push
3573         mode.
3574
3575         * tests/check/pipelines/simple-launch-lines.c
3576         (test_state_change_returns): New test, partially disabled until
3577         basesink is fixed.
3578
3579 2007-06-19  Wim Taymans  <wim@fluendo.com>
3580
3581         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3582         (gst_multi_queue_sink_event):
3583         Fix event leak.
3584
3585 2007-06-19  Wim Taymans  <wim@fluendo.com>
3586
3587         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3588         (gst_bin_change_state_func), (bin_push_state_continue),
3589         (bin_handle_async_start), (bin_handle_async_done),
3590         (gst_bin_handle_message_func):
3591         Move the common code for posting state-change messages into
3592         one function.
3593         Broadcast the state signal after we posted the messages.
3594         Mark the bin as busy when it's doing a state-change.
3595         Make sure async-start/done messages don't interfere with the bin's
3596         state when it's busy.
3597         After the state change, let the bin check which elements completed the
3598         state change while it was busy so that it can update its state.
3599
3600 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
3601
3602         * docs/random/release:
3603         Add a note about updating the doap file to the release checklist
3604
3605 2007-06-18  Wim Taymans  <wim@fluendo.com>
3606
3607         * plugins/elements/gstmultiqueue.c: (apply_buffer),
3608         (gst_single_queue_push_one), (gst_multi_queue_chain),
3609         (gst_multi_queue_sink_event):
3610         Make sure we don't reference the buffer/event after we have given away
3611         ownership in the queue.
3612
3613 2007-06-18  Wim Taymans  <wim@fluendo.com>
3614
3615         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3616         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
3617         Update queue state _after_ adding the item in the queue because else we
3618         could end up being full without the element added yet.
3619
3620 2007-06-18  Wim Taymans  <wim@fluendo.com>
3621
3622         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
3623         (gst_bin_remove_func), (gst_bin_get_state_func),
3624         (gst_bin_element_set_state), (gst_bin_continue_func),
3625         (bin_push_state_continue), (bin_handle_async_start),
3626         (bin_handle_async_done), (gst_bin_handle_message_func):
3627         * gst/gstbin.h:
3628         Immediatly commit the toplevel bin state when receiving an async-done
3629         message. This enables us to avoid spawning a thread to commit the state
3630         in some common cases and it also avoids some races.
3631         Avoid spawning a state thread when adding/removing async elements to a
3632         toplevel bin. Instead we immediatly update the bin state.
3633         Get rid of iterating all the children when getting the state in the bin
3634         because it is now always up-to-date.
3635         Fix bug where locked elements would always return _SUCCESS even it they
3636         returned NO_PREROLL before being locked.
3637         Fix the order of the state_change, async-start/done messages that was
3638         sometimes incorrect.
3639         Mark the state_dirty field as deprecated, we don't need it anymore as we
3640         are always up-to-date.
3641
3642         * gst/gstelement.c: (gst_element_get_state_func),
3643         (gst_element_continue_state):
3644         Small debug inprovements.
3645         Return the previous element state return when nothing is pending instead
3646         of blindly returning SUCCESS.
3647
3648         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
3649         (gst_sinks_suite):
3650         Add a whole bunch of new testcases.
3651
3652 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
3653
3654         * po/uk.po:
3655         * po/vi.po:
3656           Update translations.
3657
3658 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
3659
3660         * gst/gstpad.c:
3661         Fix typo in the docs.
3662
3663 2007-06-15  Wim Taymans  <wim@fluendo.com>
3664
3665         * docs/libs/gstreamer-libs-sections.txt:
3666         Add docs for new methods.
3667
3668 2007-06-15  Wim Taymans  <wim@fluendo.com>
3669
3670         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
3671         (gst_multi_queue_item_new):
3672         Don't use GSlice because we don't depend on >= 2.10 yet.
3673
3674 2007-06-15  Wim Taymans  <wim@fluendo.com>
3675
3676         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
3677         (update_time_level), (apply_segment), (apply_buffer),
3678         (gst_single_queue_push_one), (gst_multi_queue_item_new),
3679         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
3680         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
3681         (single_queue_underrun_cb), (single_queue_check_full):
3682         Remove debug printf.
3683
3684 2007-06-15  Wim Taymans  <wim@fluendo.com>
3685
3686         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
3687         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
3688         (gst_data_queue_set_flushing), (gst_data_queue_push),
3689         (gst_data_queue_pop), (gst_data_queue_drop_head),
3690         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
3691         * libs/gst/base/gstdataqueue.h:
3692         Various cleanups.
3693         Added methods to get the current levels and to inform the queue that the
3694         'full' limits changed.
3695
3696         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
3697         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
3698         (gst_single_queue_flush), (update_time_level), (apply_segment),
3699         (apply_buffer), (gst_single_queue_push_one),
3700         (gst_multi_queue_item_steal_object),
3701         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
3702         (gst_multi_queue_loop), (gst_multi_queue_chain),
3703         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
3704         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
3705         (gst_multi_queue_src_query), (single_queue_overrun_cb),
3706         (single_queue_underrun_cb), (single_queue_check_full),
3707         (gst_single_queue_new):
3708         Keep track of time in the queue by measuring the difference between
3709         running_time on input and output. This gives more accurate results and
3710         can compensate for segments correctly.
3711         Make a queue by default only 5 buffers deep. We will now increase the
3712         buffer size depending on the filledness of the other queues.
3713         Factor out commong flush code.
3714         Make sure we don't add additional refcounts to buffers when we can avoid
3715         it.
3716         Propagate GstFlowReturn differently.
3717         Use GSlice for intermediate GstMultiQueueItems.
3718         Keep track of EOS.
3719         Resize queues on over and underruns based on filled level of other
3720         queues.
3721         When checking if the queue is filled, prefer to measure in time if we
3722         can and fall back to bytes when no time is known.
3723
3724         * plugins/elements/gstqueue.c:
3725         Fix return value.
3726
3727 2007-06-15  Wim Taymans  <wim@fluendo.com>
3728
3729         * libs/gst/base/gstbasetransform.c:
3730         (gst_base_transform_sink_event):
3731         Work around the brokenness of the event vmethod in basetransform. Prefer
3732         to return TRUE when the subclass returned FALSE (meaning don't forward
3733         the event). 
3734
3735         * libs/gst/base/gstbasetransform.h:
3736         Clarify the docs.
3737
3738 2007-06-15  Wim Taymans  <wim@fluendo.com>
3739
3740         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
3741         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3742         (gst_base_src_default_query), (gst_base_src_get_range),
3743         (gst_base_src_start):
3744         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
3745         Improve debugging.
3746
3747 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * docs/pwg/advanced-types.xml:
3750           Added more formats to caps table.
3751
3752 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
3753
3754         * tools/gst-launch.c: (main):
3755           Remove crufy code. GOption does not need this workaround.
3756
3757 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3758
3759         * libs/gst/controller/gstcontroller.c:
3760         (gst_controlled_property_set_interpolation_mode):
3761           Fix wrong getter for enums in controller.
3762
3763 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3764
3765         * libs/gst/check/gstcheck.c: (gst_check_init):
3766           Intercept criticals and warnings in the Gst-Phonon log domain, so
3767           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
3768           well.
3769         
3770 2007-06-14  Edward Hervey  <edward@fluendo.com>
3771
3772         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
3773         Since this file doesn't include "gst.h" it will not go through the
3774         macros that disable GST_LOG if debugging was disabled.
3775
3776 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3777
3778         * libs/gst/check/Makefile.am:
3779         * libs/gst/check/gstcheck.h:
3780         * pkgconfig/gstreamer-check-uninstalled.pc.in:
3781         * pkgconfig/gstreamer-check.pc.in:
3782           Ugly 'fix' for the controller unit test on the p5 bot: in
3783           fail_unless_equals_float() check whether the values are 'almost
3784           equal' by allowing a small absolute error, which should be good
3785           enough for our use cases (normal numbers and values close to 0).
3786           Proper fixage left to floating point arithmetic aficionados.
3787
3788 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3789
3790         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
3791         (gst_base_sink_render_object), (gst_base_sink_get_position):
3792           Add two breaks thats where missing.
3793
3794 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3795
3796         * docs/libs/gstreamer-libs-sections.txt:
3797         * libs/gst/check/gstcheck.h:
3798           API: add fail_unless_equals_float() and assert_equals_float().
3799           Add documentation for some of the macros.
3800
3801         * tests/check/libs/controller.c: (GST_START_TEST):
3802           Use newly-added asserts.
3803
3804 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3805
3806         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3807           Show the caps change in the log to help spotting the case of not
3808           exactly matching caps.
3809
3810 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3811
3812         * docs/pwg/building-boiler.xml:
3813           Fix typos, spotted by Thijs Vermeir (#447190).
3814
3815 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3816
3817         * docs/plugins/tmpl/.cvsignore:
3818         Ignore file to keep the buildbots happy
3819
3820 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3821
3822         * docs/plugins/Makefile.am:
3823         * docs/plugins/gstreamer-plugins-docs.sgml:
3824         * docs/plugins/gstreamer-plugins-sections.txt:
3825         Pull fdsink into the docs too.
3826
3827 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
3828
3829         * libs/gst/controller/gstinterpolation.c:
3830         Actually use the new functions with min/max checks for the trigger and
3831         none interpolation modes for get() and get_value_array() instead of
3832         just the latter.
3833
3834 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
3835
3836         * libs/gst/controller/gstcontroller.c:
3837         (gst_controlled_property_free):
3838         Unset the minimum and maximum GValues when freeing the corresponding
3839         GstControllerProperty struct.
3840
3841 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
3842
3843         * libs/gst/controller/gstcontroller.c:
3844         (gst_controlled_property_new):
3845         * libs/gst/controller/gstcontrollerprivate.h:
3846         * libs/gst/controller/gstinterpolation.c:
3847         (gst_controlled_property_find_control_point_node),
3848         (interpolate_none_get), (interpolate_none_get_enum_value_array),
3849         (interpolate_none_get_string_value_array),
3850         (interpolate_trigger_get),
3851         (interpolate_trigger_get_enum_value_array),
3852         (interpolate_trigger_get_string_value_array):
3853         Protect against values larger or smaller than the minimum or maximum
3854         allowed value for the property when using values that can be compared.
3855
3856         Optimize trigger interpolator a bit by taking the last requested value
3857         into account instead of always looping through the complete list.
3858
3859         Fix coding style a bit, everywhere else we use "return foo" instead
3860         of "return (foo)".
3861         
3862         * tests/check/libs/controller.c: (GST_START_TEST),
3863         (gst_controller_suite):
3864         Add unit test for the protection against too large or too small
3865         values.
3866
3867 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3868
3869         * docs/random/slomo/controller.txt:
3870         Add some thoughts about the future of the controller.
3871
3872 2007-06-08  Wim Taymans  <wim@fluendo.com>
3873
3874         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3875         Don't overflow in retimestamping code.
3876
3877 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
3878
3879         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3880         Use gst_util_guint64_to_gdouble for conversions.
3881         * win32/common/libgstreamer.def:
3882         Add new exported functions.
3883
3884 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
3885
3886         * gst/gstutils.c:
3887           Small docs addition.
3888
3889 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3890
3891         * README:
3892           Remove that test line again.
3893
3894 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3895
3896         * README:
3897           Test commit mail sending.
3898
3899 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3900
3901         * configure.ac:
3902           Fix typo and test commit mail sending.
3903
3904 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3905
3906         * tests/examples/controller/audio-example.c:
3907           Improve comment and test commit mail sending.
3908
3909 2007-06-07  Wim Taymans  <wim@fluendo.com>
3910
3911         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3912         (gst_bin_remove_func), (gst_bin_element_set_state),
3913         (bin_handle_async_start), (bin_handle_async_done),
3914         (gst_bin_handle_message_func):
3915         Add helper function to find messages.
3916         Generate the async-done messages together with the state change
3917         messages.
3918         Small cleanups in handling toplevel bins.
3919
3920 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3921
3922         * libs/gst/base/gstdataqueue.c:
3923         * libs/gst/base/gstdataqueue.h:
3924         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3925         (gst_multi_queue_item_new), (gst_multi_queue_chain),
3926         (gst_multi_queue_sink_event):
3927         * tests/check/elements/multiqueue.c: (multiqueue_suite):
3928           Fix multiqueue leaking buffers and events when downstream or the
3929           queue are flushing. Make refcounting assumptions explicit and
3930           document them (shouldn't break existing code that uses it other than
3931           maybe leak miniobjects, but that already happens anyway). Add unit
3932           test for the most common flushing case. Fixes #423700.
3933           
3934 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3935
3936         * libs/gst/controller/gstcontroller.c:
3937         Clarify docs: The get_all, get_value_array(s) functions
3938         don't modify the GObject properties.
3939
3940 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3941
3942         * libs/gst/controller/gstcontroller.c:
3943         (gst_controlled_property_set_interpolation_mode),
3944         (gst_controlled_property_prepend_default),
3945         (gst_controlled_property_new), (gst_controller_set_unlocked),
3946         (gst_controller_set), (gst_controller_set_from_list),
3947         (gst_controller_unset), (gst_controller_unset_all):
3948         * libs/gst/controller/gstcontrollerprivate.h:
3949         * libs/gst/controller/gstinterpolation.c:
3950         Factor out the 'set' logic into gst_controller_set_unlocked for the
3951         gst_controller_set and gst_controller_set_from_list functions.
3952
3953         To make life of the interpolators easier always add a control point
3954         at timestamp zero with the default value.
3955
3956         In the linear interpolator make things more obvious by better variable
3957         naming (slope).
3958
3959         Implement cubic interpolation mode (by using a natural cubic spline)
3960         and map the quadratic interpolation mode to this too (as quadratic
3961         doesn't make much sense, see discussion on the list).
3962
3963         * tests/check/libs/controller.c: (GST_START_TEST),
3964         (gst_controller_suite):
3965         Add unit test for the cubic interpolation mode and check everywhere
3966         if the interpolation mode could be set as expected.
3967
3968 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3971           Don't use GLib-2.10 functions, we still depend on
3972           GLib-how-old-is-it-again-2.8.
3973
3974 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3975
3976         * docs/gst/gstreamer-sections.txt:
3977         * gst/Makefile.am:
3978         * gst/gst.c:
3979         * gst/gst.h:
3980         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3981         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3982         (_gst_param_fraction_values_cmp),
3983         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3984         * gst/gstparamspecs.h:
3985         * gst/gstvalue.c:
3986         * tests/check/Makefile.am:
3987         * tests/check/gst/.cvsignore:
3988         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3989         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3990         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3991         (GST_START_TEST), (gst_param_spec_suite):
3992           API: add GstParamSpecFraction, so elements can have fraction
3993           properties without lots of painful string parsing (#444648).
3994
3995 2007-06-05  Wim Taymans  <wim@fluendo.com>
3996
3997         * gst/gstobject.c: (gst_object_class_init):
3998         Fix signal signature.
3999
4000         * gst/gstsegment.c:
4001         Add small clarification in the api docs.
4002
4003         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
4004         States are protected with object lock.
4005
4006 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4007
4008         * AUTHORS:
4009         I should probably be listed as an author by now.
4010
4011         * docs/random/release:
4012         Update the release doc
4013
4014 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
4015
4016         * gst/gstvalue.c:
4017           Make docs for gst_value_compare() mention return enums that
4018           actually exist.
4019
4020 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
4021
4022         * configure.ac:
4023           Back to CVS
4024
4025 === release 0.10.13 ===
4026
4027 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
4028
4029         * configure.ac:
4030           releasing 0.10.13, "With or without you"
4031
4032 2007-05-25  Wim Taymans  <wim@fluendo.com>
4033
4034         * gst/gstbin.c: (bin_handle_async_done):
4035         Make sure that the child bin stops after completing the async state
4036         change so that the parent can continue the state change to PLAYING.
4037         Fixes #441159.
4038
4039 2007-05-25  Wim Taymans  <wim@fluendo.com>
4040
4041         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4042         (unref_data), (gst_collect_pads_remove_pad),
4043         (gst_collect_pads_check_pads):
4044         Use additional refcounting to avoid crashes when dynamically adding and
4045         removing pads. Fixes #420206.
4046
4047 2007-05-24  Wim Taymans  <wim@fluendo.com>
4048
4049         * tools/gst-launch.c: (event_loop):
4050         When buffering goes from a two digit to a single digit number, make sure
4051         to remove the old second digit by writing a blank over it.
4052
4053 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4054
4055         * libs/gst/base/gstdataqueue.c:
4056           Eliminate tabs and trailing comma in enum list; fix some typos.
4057
4058 2007-05-24  Wim Taymans  <wim@fluendo.com>
4059
4060         * tests/check/gst/gstbin.c: (GST_START_TEST):
4061         Allow refcount of 3 and 4 because some state thread might still be busy
4062         with it.
4063
4064 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * plugins/elements/Makefile.am:
4067         * plugins/elements/gstmultiqueue.h:
4068         * plugins/elements/gstqueue.h:
4069           These are not installed headers, no need for padding.
4070
4071 2007-05-24  Wim Taymans  <wim@fluendo.com>
4072
4073         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4074         (gst_bin_continue_func):
4075         Enable latency for next release.
4076         Restore STATE_LOCK around recalc_state that was left out during the
4077         rewrite and could result in racy behaviour when _get_state and
4078         recalc_state are run concurrently. See #440463.
4079
4080 2007-05-23  Wim Taymans  <wim@fluendo.com>
4081
4082         * tests/check/gst/gstsystemclock.c: (store_callback),
4083         (GST_START_TEST):
4084         Improve test_async_order to also work when both timers are already
4085         expired when we get scheduled to check it.
4086
4087 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4088
4089         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
4090         (gst_bin_set_property), (gst_bin_get_property),
4091         (gst_bin_remove_func), (gst_bin_handle_message_func):
4092         * gst/gstbin.h:
4093           'private' is a c++ keyword, let's not use that in header files,
4094           otherwise c++ compilers will throw a tantrum.
4095
4096 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4097
4098         * plugins/elements/gstelements.c:
4099         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
4100         (gst_file_sink_get_current_offset):
4101         * plugins/indexers/gstindexers.c: (plugin_init):
4102           Use #ifdef for HAVE_XYZ for consistency.
4103
4104         * tests/check/Makefile.am:
4105         * tests/check/elements/.cvsignore:
4106         * tests/check/elements/filesink.c: (setup_filesink),
4107         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
4108           Add some unit tests for filesink.
4109
4110 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
4111
4112         Patch by: Mark Nauwelaerts <manauw at skynet be>
4113
4114         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4115         (gst_file_sink_query), (gst_file_sink_do_seek),
4116         (gst_file_sink_get_current_offset), (gst_file_sink_render):
4117         * plugins/elements/gstfilesink.h:
4118           Fix position reporting; rename data_written member to current_pos to
4119           reflect its real meaning (fixes #412648).
4120
4121 2007-05-22  Edward Hervey  <edward@fluendo.com>
4122
4123         * docs/gst/gstreamer-sections.txt:
4124         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4125         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
4126         (gst_bin_remove_func), (gst_bin_handle_message_func):
4127         * gst/gstbin.h:
4128         Add a property for bins that handle the state change of their childs.
4129         Fixes #435880
4130
4131 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
4132
4133         * libs/gst/controller/gstinterpolation.c:
4134         Use an array of the correct type when using _get_value_array with
4135         linear interpolation.
4136
4137 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
4138
4139         * gst/gstelement.c (gst_element_requires_clock,
4140           gst_element_provides_clock, gst_element_request_pad,
4141           gst_element_class_set_details, gst_element_class_set_details_simple,
4142           gst_element_default_send_event, gst_element_abort_state,
4143           gst_element_continue_state, gst_element_set_state,
4144           gst_element_set_state_func, iterator_activate_fold_with_resync):
4145         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
4146           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
4147           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
4148           gst_pad_get_range, gst_pad_pull_range):
4149         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
4150           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
4151           GstPadActivateModeFunction, GstPadChainFunction,
4152           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
4153           GstPadFixateCapsFunction, GstPadTemplate):
4154         * gst/gstpipeline.c (gst_pipeline_change_state,
4155           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
4156           gst_pipeline_set_clock, gst_pipeline_auto_clock,
4157           gst_pipeline_get_delay):
4158           Whitespace and docs fixes.
4159
4160 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4161
4162         * libs/gst/controller/gstinterpolation.c:
4163         (interpolate_trigger_get_enum_value_array),
4164         (interpolate_trigger_get_string_value_array):
4165         Add support for retrieving value arrays when using the trigger
4166         interpolation mode. 
4167
4168 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4169
4170         * libs/gst/controller/gstcontroller.c:
4171         (gst_controller_get_value_array):
4172         * libs/gst/controller/gstcontroller.h:
4173         Clarify the docs of gst_controller_get_value_array(): The array where
4174         the values should be written to must be allocated as there seems to be
4175         no way to get the size of a random GType. This doesn't change any
4176         behaviour. Also fix some typos all over the place and remove an unused,
4177         commented function that is not necessary as g_object_set() could be
4178         used instead.
4179         * tests/check/libs/controller.c: (GST_START_TEST),
4180         (gst_controller_suite):
4181         Add unit test for gst_controller_get_value_array().
4182
4183 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
4184
4185         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
4186
4187         Disable part of the gst_buffer_try_new_and_alloc test, because
4188         it can happily succeed on 64-bit systems where there's more address
4189         space available.
4190
4191 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
4192
4193         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
4194         Add unit test for the improved caps checking from bug #421543.
4195
4196 2007-05-21  Wim Taymans  <wim@fluendo.com>
4197
4198         * docs/design/part-synchronisation.txt:
4199         Small addition.
4200
4201         * gst/gstbin.c: (gst_bin_query):
4202         * plugins/elements/gstqueue.c: (apply_segment):
4203         Improve debugging.
4204
4205         * gst/gstmessage.h:
4206         Improve docs.
4207
4208 2007-05-21  Wim Taymans  <wim@fluendo.com>
4209
4210         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
4211         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
4212         (gst_pad_configure_src):
4213         Added simple version of improved caps checking. It was previously
4214         assumed that a setcaps function would check the validity of the caps but
4215         people prefer us to check caps against the template automatically. 
4216         Fixes #421543.
4217
4218 2007-05-21  Wim Taymans  <wim@fluendo.com>
4219
4220         * libs/gst/base/gstbasetransform.h:
4221         Fix macro for locking/unlocking the transform lock.
4222
4223 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
4224
4225         * docs/plugins/tmpl/.cvsignore:
4226           Ignore more.
4227
4228 2007-05-18  Edward Hervey  <edward@fluendo.com>
4229
4230         * plugins/elements/gstqueue.c: (gst_queue_loop):
4231         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
4232         for the subtle art of warning a potentially blocking thread that it
4233         should check the source pad return value, and relay the information
4234         upstream.
4235
4236 2007-05-18  Edward Hervey  <edward@fluendo.com>
4237
4238         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4239         Release the queue lock !
4240
4241 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4242
4243         * docs/libs/gstreamer-libs-sections.txt:
4244         Add the two new controller functions to the appropiate places.
4245
4246 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4247
4248         reviewed by: Stefan Kost <ensonic@users.sf.net>
4249
4250         * libs/gst/controller/gstcontroller.c:
4251         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
4252         (_gst_controller_get_property), (_gst_controller_set_property),
4253         (_gst_controller_init), (_gst_controller_class_init):
4254         * libs/gst/controller/gstcontroller.h:
4255         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
4256         (gst_object_get_control_rate), (gst_object_set_control_rate):
4257         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
4258         Add API that provides sync suggestion timestamps for elements that
4259         call gst_object_sync_values() from which those elements can subdivide
4260         their processing loop to get the best results for the controlled
4261         properties. For now it just suggests last_sync + control_rate as
4262         new timestamp but this will be improved in the future.
4263
4264         While doing that change the control-rate property to a GstClockTime
4265         from guint and change it's meaning from samples to nanoseconds as
4266         the GstController doesn't know anything about sampling rate. Strictly
4267         speaking this breaks ABI but as the control-rate property didn't do
4268         anything in the past and as such couldn't be used this should be no
4269         problem.        
4270
4271 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4272
4273         reviewed by: Stefan Kost <ensonic@users.sf.net>
4274
4275         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4276         (gst_controller_unset_all):
4277         * libs/gst/controller/gstcontrollerprivate.h:
4278         * libs/gst/controller/gstinterpolation.c:
4279         (gst_controlled_property_find_control_point_node):
4280         Save last synced value from the list to continue searching from there
4281         in future syncs. This speeds everything up a bit.
4282         
4283 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
4284
4285         reviewed by: Stefan Kost <ensonic@users.sf.net>
4286
4287         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
4288         (gst_control_point_find), (gst_controlled_property_new),
4289         (gst_control_point_free), (gst_controlled_property_free),
4290         (gst_controller_set), (gst_controller_set_from_list),
4291         (gst_controller_unset), (gst_controller_unset_all),
4292         (gst_controller_sync_values):
4293         * libs/gst/controller/gstcontroller.h:
4294         * libs/gst/controller/gstcontrollerprivate.h:
4295         * libs/gst/controller/gstinterpolation.c:
4296         (gst_controlled_property_find_control_point_node),
4297         (interpolate_none_get), (interpolate_trigger_get):
4298         Add a new private GstControlPoint struct which "inherits" from
4299         GstTimedValue to allow different interpolators to store internal
4300         values next to each control point. From the outside everything is
4301         still a GstControlPoint so we don't loose binary compatibility.
4302         Also fixup all the GValue handling to not leak GValues or list nodes.
4303         * tests/check/libs/controller.c: (GST_START_TEST):
4304         Free the list nodes and GValues in the controller_misc test.
4305
4306 2007-05-17  Edward Hervey  <edward@fluendo.com>
4307
4308         * gst/gstsegment.c:
4309         Small doc fix.
4310
4311 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
4312
4313         * gst/gstplugin.c: (gst_plugin_load_file):
4314           If we fail to load a plugin because of unresolved symbols or missing
4315           libraries and spew a warning to stderr, we may just as well mention
4316           which plugin it was that failed to load.
4317
4318 2007-05-13  David Schleef  <ds@schleef.org>
4319
4320         * docs/Makefile.am: the gtk-doc makefile snippet correctly
4321           handles the case when ENABLE_GTK_DOC is false, and installs
4322           the prebuilt documentation.  So gtk-doc subdirs are 
4323           unconditionally enabled.  Fixes: #349099.
4324
4325 2007-05-13  David Schleef  <ds@schleef.org>
4326
4327         * gst/gstutils.h: Reword some documentation.
4328
4329 2007-05-12  David Schleef  <ds@schleef.org>
4330
4331         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
4332           do anything with the passed "module" parameter, so remove it.
4333           Allows removal of additional vestigal code.
4334
4335 2007-05-12  David Schleef  <ds@schleef.org>
4336
4337         * gst/gstplugin.c:
4338           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
4339           Switch to using g_stat() because it's more portable.
4340
4341 2007-05-12  David Schleef  <ds@schleef.org>
4342
4343         * gst/gst.c:
4344           Add GST_DISABLE_OPTION_PARSING, in order to disable option
4345           parsing for embedded systems.
4346         * gst/gstelementfactory.c:
4347           Allow gst_element_register() to be called with plugin==NULL.
4348           Did nobody notice that static elements were broken?
4349
4350 2007-05-12  Wim Taymans  <wim@fluendo.com>
4351
4352         * tools/gst-launch.c: (event_loop):
4353         Give more interesting info when buffering starts and stops.
4354         Fix case where buffering starts but we fail to update the buffering flag
4355         because the target state is not PLAYING.
4356
4357 2007-05-12  Wim Taymans  <wim@fluendo.com>
4358
4359         * plugins/elements/gstqueue.c: (gst_queue_init),
4360         (gst_queue_finalize), (update_time_level), (apply_segment),
4361         (apply_buffer), (gst_queue_locked_flush),
4362         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
4363         (gst_queue_handle_sink_event), (gst_queue_chain),
4364         (gst_queue_push_one), (gst_queue_loop):
4365         * plugins/elements/gstqueue.h:
4366         Refactor an cleanup queue a bit.
4367         Do better time level calculations that also work when the srcpad is not
4368         yet running.
4369         Remove some unneeded debug lines.
4370
4371         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
4372         Added testcase for time level measurement.
4373         Try to make some stuff more racefree.
4374
4375 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4376
4377         * gst/gsturi.c: (gst_element_make_from_uri):
4378           Don't leak plugin feature.
4379
4380         * tests/check/Makefile.am:
4381         * tests/check/gst/.cvsignore:
4382         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
4383           Add brain-dead unit test.
4384
4385 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
4386
4387         Patch by: Jeroen Wouters <woutersj at gmail com>
4388
4389         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
4390           Treat protocol strings in a case-insensitive way (#437563).
4391
4392 2007-05-11  Michael Smith <msmith@fluendo.com>
4393
4394         * gst/gstplugin.c: (gst_plugin_load_file):
4395         * gst/gstregistry.c: (gst_registry_scan_path_level):
4396           Don't print a g_warning for any failure to load a shared object.
4397           Instead, push this down into gstplugin.c, and warn _only_ if we
4398           failed to open the module (i.e. failure to link).
4399           Avoids warnings on normal, working, non-plugin .so files.
4400
4401 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
4402
4403         * gst/gstplugin.c (gst_plugin_load_file):
4404         * gst/gstregistry.c (GST_CAT_DEFAULT,
4405           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
4406           Print a g_warning if there was an error when loading a plugins during
4407           registry scan. The shuld help beginners starting with gst-plugin
4408           template.
4409
4410 2007-05-10  Wim Taymans  <wim@fluendo.com>
4411
4412         * plugins/elements/gstqueue.c: (gst_queue_class_init),
4413         (update_time_level), (gst_queue_locked_flush),
4414         (gst_queue_handle_sink_event), (gst_queue_chain),
4415         (gst_queue_push_one), (gst_queue_loop):
4416         * plugins/elements/gstqueue.h:
4417         Be smarter when calculating the current amount of data in the queue by
4418         measuring the difference between start and end timestamps (in running
4419         time) inside the queue. Fixes #432876.
4420         API: GstQueue::pushing to notify elements that we are pushing data again
4421         since the running signal is rather broken for this purpose.
4422
4423 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
4424
4425         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
4426           gst_queue_base_init, gst_queue_init):
4427           use GST_BOILERPLATE
4428
4429 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
4430
4431         * win32/common/libgstreamer.def:
4432         Add new exported functions.
4433         * win32/vs6/grammar.dsp:
4434         Use grammar pre-generated files.
4435
4436 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
4439
4440         * gst/Makefile.am:
4441         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
4442         * gst/gstparse.h:
4443         * gst/gstutils.c: (gst_parse_bin_from_description):
4444         * gst/gstutils.h:
4445           Maintain API and ABI when --disable-parse is used. Now that
4446           we have an appropriate error code, we can just return NULL and the
4447           appropriate error when gst_parse_launch() is used despite it having
4448           been disabled (#342564).
4449
4450         * tests/check/Makefile.am:
4451         * tests/check/pipelines/.cvsignore:
4452         * tests/check/pipelines/parse-disabled.c:
4453           Make sure these functions exist and return NULL plus a GError when
4454           --disable-parse is used.
4455
4456 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
4457
4458         * tests/benchmarks/complexity.c: (main):
4459         * tests/benchmarks/mass-elements.c: (main):
4460           Set a good example and don't leak messages.
4461
4462 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
4463
4464         * docs/gst/Makefile.am:
4465         * docs/libs/Makefile.am:
4466           Correct fixxrefs options.
4467
4468         * docs/plugins/Makefile.am:
4469         * docs/plugins/gstreamer-plugins-docs.sgml:
4470         * docs/plugins/gstreamer-plugins-sections.txt:
4471         * plugins/elements/Makefile.am:
4472         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
4473         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
4474           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
4475           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
4476           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
4477           _GstCapsFilterClass, trans_class):
4478         * plugins/elements/gstelements.c (name, rank, type, _elements):
4479         * plugins/elements/gstidentity.c
4480           (gst_identity_check_imperfect_timestamp,
4481           gst_identity_check_imperfect_offset):
4482           Document capsfilter and add doc-blurb to identity.
4483
4484 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
4485
4486         * libs/gst/controller/gstcontroller.c:
4487         (gst_controlled_property_set_interpolation_mode):
4488         * libs/gst/controller/gstinterpolation.c:
4489           Don't crash if someone tries to set an interpolation mode that
4490           is invalid or that isn't supported yet. Fixes #422295.
4491
4492         * tests/check/libs/controller.c: (GST_START_TEST),
4493         (gst_controller_suite):
4494           Add a test case for the above.
4495
4496 2007-05-03  Edward Hervey  <edward@fluendo.com>
4497
4498         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
4499         Properly set the last_stop position on GstSegment. This will only happen
4500         if there is a buffer to push out.
4501
4502 2007-05-03  Wim Taymans  <wim@fluendo.com>
4503
4504         * libs/gst/base/gstbasetransform.c:
4505         (gst_base_transform_buffer_alloc):
4506         always_in_place does not mean that the sink and source caps are the
4507         same! Make sure we don't blindly proxy the buffer_alloc in this case.
4508
4509 2007-05-03  Wim Taymans  <wim@fluendo.com>
4510
4511         * docs/libs/gstreamer-libs-sections.txt:
4512         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4513         (gst_base_src_default_query), (gst_base_src_get_range):
4514         * libs/gst/base/gstbasesrc.h:
4515         API: gst_base_src_query_latency(). Added method so that subclasses can
4516         easily get the latency values of the base source class.
4517
4518 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
4519
4520         * tools/gst-inspect.c (print_implementation_info):
4521         Remove 0.8 cruft.
4522
4523 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
4524
4525         * tools/Makefile.am:
4526         * tools/gst-launch.1.in:
4527           Don't create a customised man page based on the host architecture,
4528           describe the default registry path generically. That way the man
4529           page is the same for all architectures and packagers have one
4530           multilib issue less to deal with. Fixes #434926.
4531
4532 2007-05-02  Wim Taymans  <wim@fluendo.com>
4533
4534         * gst/gstpad.c:
4535         Fix documentation as spotted by rg on IRC. 
4536
4537 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
4538
4539         * gst/gstutils.c:
4540           Improve docs for gst_element_{link,unlink}.
4541
4542 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
4543
4544         * docs/design/part-events.txt:
4545         * docs/design/part-overview.txt:
4546         * gst/gstevent.c:
4547         * gst/gsturi.c:
4548         * gst/gsturi.h:
4549         * libs/gst/base/gstbasesink.c:
4550           Typo fixes; minor docs addition.
4551
4552 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4553
4554         * docs/gst/gstreamer-sections.txt:
4555         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
4556         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
4557         * gst/gsturi.h:
4558         API: Add gst_uri_protocol_is_supported(), which checks if a sink
4559         or src that supports a given URI protocol exists.
4560
4561 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4562
4563         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4564         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4565         Set the location to NULL if "file://" is set as URI. Otherwise
4566         some random previous URI would still be set if "file://" is
4567         set on an already used filesink/filesrc.
4568
4569 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
4570
4571         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4572         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4573         Special case the "file://" URI as as this is used by some
4574         applications to test with gst_element_make_from_uri if there's
4575         an element that supports the URI protocol.
4576         Also move the g_path_is_absolute() check for the location part
4577         of the URI to also check this for "file://localhost/bla" URIs.
4578
4579 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
4580
4581         * docs/gst/gstreamer-sections.txt:
4582         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
4583         * gst/gstbuffer.h:
4584         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
4585         (gst_buffer_suite):
4586           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
4587
4588 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
4589
4590         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4591         (gst_registry_binary_load_pad_template),
4592         (gst_registry_binary_load_plugin),
4593         (gst_registry_binary_read_cache):
4594         * gst/gstregistrybinary.h:
4595           Implement no-mmap alternative for registry reading. Do code cleanups.
4596           Add more comments about avoiding strdups for all text data. Comments
4597           welcome.
4598
4599 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4600
4601         * gst/gstregistrybinary.h (GstBinaryPluginElement,
4602           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
4603           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
4604           Comment structs and reformat to fix the build (that stuff should go
4605           into a priv. header).
4606
4607 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
4608
4609         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
4610         (gst_registry_binary_load_feature):
4611         * gst/gstregistrybinary.h:
4612           Refactor so that we can implement multiple features. Add support for
4613           TypeFindFactory features.
4614
4615 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
4616
4617         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
4618
4619         * configure.ac:
4620           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
4621
4622 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
4623
4624         * gst/gstbin.c: (gst_bin_element_set_state),
4625         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
4626         (bin_handle_async_done), (gst_bin_handle_message_func):
4627           Fix build with --gst-disable-gst-debug
4628
4629 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
4630
4631         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
4632           Make sure streaming has finished before calling the ::stop() vfunc,
4633           since that vfunc might clear state which is being used in the
4634           streaming thread. This fixes a race that caused crashes in
4635           audioresample when shutting down a pipeline (#420106).
4636
4637 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4638
4639         * docs/gst/gstreamer-sections.txt:
4640           That was one byte missing.
4641
4642 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4643
4644         * configure.ac:
4645         * docs/gst/gstreamer-sections.txt:
4646         * gst/Makefile.am:
4647         * gst/gstconfig.h.in:
4648         * gst/gstobject.c: (gst_object_class_init),
4649         (gst_signal_object_class_init):
4650         * gst/gstobject.h:
4651           2nd attempt to have a xml-less build as a joined effort of #413123
4652           and #421480.
4653
4654 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
4655
4656         * docs/design/draft-tagreading.txt:
4657           Added open issues/thoughts to draft.
4658
4659 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4660
4661         * gst/parse/grammar.tab.pre.c:
4662         * gst/parse/grammar.tab.pre.h:
4663         * gst/parse/lex._gst_parse_yy.pre.c:
4664         Update the prebuild parser sources.
4665
4666 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4667
4668         * gst/parse/Makefile.am:
4669         And now fix the building of the flex sources. Now everything should
4670         work as expected.
4671
4672 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4673
4674         * gst/parse/Makefile.am:
4675         Now hopefully fix the build failures by setting proper rule
4676         dependencies and moving instead of copying.
4677
4678 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4679
4680         * tests/benchmarks/complexity.gnuplot:
4681         * tests/benchmarks/complexity.scm:
4682         * tests/benchmarks/mass-elements.gnuplot:
4683         * tests/benchmarks/mass-elements.scm:
4684           Total licensification.
4685
4686 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4687
4688         * gst/parse/Makefile.am:
4689           Fix the build by correcting the rule that gave wrong files to flex.
4690
4691 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
4692
4693         * tests/benchmarks/complexity.c:
4694         * tests/benchmarks/mass-elements.c:
4695           Change licence to LGPL as granted by Benjamin and Andy.
4696
4697 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
4698
4699         * gst/parse/Makefile.am:
4700         Add correct grammar.tab.h dependency if compiling without new enough
4701         flex. Fixes #431150.
4702
4703 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4704
4705         * gst/parse/Makefile.am:
4706         Fix typo and use outdated sources if the flex/bison sources are newer
4707         than the pregenerated ones but flex is too old. Print a warning in
4708         that case. This should fix the build on the build bot.
4709
4710 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
4711
4712         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
4713         * gst/parse/Makefile.am:
4714         * gst/parse/grammar.y:
4715         * gst/parse/parse.l:
4716         Make the parser reentrant and recursively callable. This requires flex
4717         >= 2.5.31, for older versions pregenerated sources are used as we
4718         can't bump the build dependency. Finally fixes #349180.
4719
4720         * gst/gstparse.c: (gst_parse_launch):
4721         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
4722         now anyway.
4723
4724         * docs/gst/Makefile.am:
4725         * docs/gst/Makefile.am:
4726         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
4727         (__gst_parse_strfree), (__gst_parse_link_new),
4728         (__gst_parse_link_free), (__gst_parse_chain_new),
4729         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
4730         (gst_parse_element_set), (gst_parse_free_link),
4731         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
4732         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
4733         (_gst_parse_launch):
4734         * gst/parse/grammar.tab.pre.h:
4735         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
4736         (yy_get_previous_state), (yy_try_NUL_trans), (input),
4737         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
4738         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
4739         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
4740         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
4741         (_gst_parse_yypop_buffer_state),
4742         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
4743         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
4744         (yy_fatal_error), (_gst_parse_yyget_extra),
4745         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
4746         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
4747         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
4748         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
4749         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
4750         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
4751         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
4752         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
4753         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
4754         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
4755         (_gst_parse_yyfree):
4756         If the installed flex version is too old use pre-generated parser
4757         sources. These pre-generated parser sources are always updated when
4758         the actual flex/bison sources change but require everybody who wants
4759         to change something in the parser to have flex >= 2.5.31 installed.
4760
4761 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
4762
4763         * common/m4/gst-gettext.m4:
4764         * gst/gst-i18n-lib.h:
4765           Make --disable-nls to work
4766
4767 2007-04-17  Wim Taymans  <wim@fluendo.com>
4768
4769         * gst/gstconfig.h.in:
4770         Revert previous change that broke the build.
4771
4772 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
4773
4774         * configure.ac:
4775         * gst/Makefile.am:
4776         * gst/gstconfig.h.in:
4777           Drop libxml2 dependency when building with 
4778           --enable-binary-registry --disable-loadsave
4779
4780 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
4781
4782         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
4783         (gst_registry_binary_read_cache):
4784         * gst/gstregistrybinary.h:
4785           Remove unnecessary <sys/mman.h> include which broke the win32 build
4786           with MingW; move includes from header file to .c file, even if the
4787           header file isn't installed; use g_strerror() where UTF-8 strings
4788           are expected, such as in GST_DEBUG messages.
4789
4790 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4791
4792         * docs/libs/gstreamer-libs-sections.txt:
4793         Remove bogus addition for API I didn't end up keeping.
4794
4795         * libs/gst/base/gstbasesrc.h:
4796         Mention Since: 0.10.13 in the documentation.
4797
4798         Add the API keyword to the previous ChangeLog entry.
4799
4800 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4801
4802         * docs/libs/gstreamer-libs-sections.txt:
4803         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4804         (gst_base_src_default_prepare_seek_segment),
4805         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4806         * libs/gst/base/gstbasesrc.h:
4807         Allow basesrc derived classes to execute seeks in other formats
4808         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4809         to prepare the GstSegment in any format that their perform_seek method
4810         will be able to understand. The default implementation provides the
4811         old behaviour of attempting to convert the seek offsets to the 
4812         configured native format.
4813
4814         API: basesrc::prepare_seek_segment vmethod.
4815
4816 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4817
4818         * gst/gstelement.c: (gst_element_get_state_func):
4819         Don't output the same debug statement twice.
4820
4821         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4822         (gst_adapter_peek), (gst_adapter_take_buffer):
4823         Optimise the case where we have buffers at the head of the queue that
4824         can be joined quickly (because they're contiguous sub-buffers) by
4825         merging them together rather than copying data out into new memory.
4826
4827         * gst/parse/grammar.y:
4828         * tests/check/pipelines/parse-launch.c:
4829         Fix a leak in an error path for parse_launch, and add a check 
4830         for it to the testsuite.
4831
4832 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4833
4834         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4835           Don't deadlock when releasing a pad - gst_pad_set_active may try
4836           and take the multiqueue lock too.
4837
4838 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840         * gst/gsterror.c: (_gst_core_errors_init):
4841         * gst/gsterror.h:
4842           API: add GST_CORE_ERROR_DISABLED (#392804).
4843
4844 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4845
4846         * docs/faq/gst-uninstalled:
4847           don't get empty paths on the PATH variables
4848         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4849           Don't format for the uncommon terminal width of 84 characters.
4850
4851 2007-04-06  Wim Taymans  <wim@fluendo.com>
4852
4853         * gst/gstpipeline.c: (reset_stream_time),
4854         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4855         Only try to select a different pipeline clock when we went back to
4856         PAUSED and not when we merely got flushed.
4857
4858 2007-04-05  Michael Smith  <msmith@fluendo.com>
4859
4860         * tools/gst-launch.1.in:
4861           fractions are better supported in gstreamer than ractions, so
4862           suggest using those.
4863
4864 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4867
4868         * po/LINGUAS:
4869         * po/da.po:
4870           Added Danish translation.
4871
4872 2007-04-05  Wim Taymans  <wim@fluendo.com>
4873
4874         * libs/gst/base/gstbasesink.c:
4875         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4876         Fix leak caused when refusing newsegment after EOS.
4877
4878         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4879         (gst_fake_sink_init), (gst_fake_sink_set_property),
4880         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4881         (gst_fake_sink_render), (gst_fake_sink_change_state):
4882         * plugins/elements/gstfakesink.h:
4883         Add num-buffers property to make the element generate EOS after a
4884         configurable amount of buffers.
4885         API: fakesink::num-buffers property.
4886
4887         * tests/check/elements/fakesink.c: (GST_START_TEST),
4888         (fakesink_suite):
4889         Fix GstBus leak in test.
4890         Test for fakesink num-buffers.
4891
4892 2007-04-05  Wim Taymans  <wim@fluendo.com>
4893
4894         * libs/gst/base/gstbasesink.c:
4895         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4896         (gst_base_sink_change_state):
4897         Don't accept anything after an EOS, return UNEXPECTED instead.
4898
4899         * tests/check/elements/fakesink.c: (GST_START_TEST),
4900         (fakesink_suite):
4901         Unit test for new EOS behaviour.
4902
4903 2007-04-05  Wim Taymans  <wim@fluendo.com>
4904
4905         * gst/gstelement.c: (gst_element_get_request_pad):
4906         Make padtemplates also work when they don't contain %s or %d.
4907
4908 2007-04-05  Wim Taymans  <wim@fluendo.com>
4909
4910         * docs/gst/gstreamer-sections.txt:
4911         * gst/gstclock.c: (gst_clock_adjust_unlocked),
4912         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4913         * gst/gstclock.h:
4914         Improve _adjust_unlocked() so that it overflows less.
4915         Add gst_clock_unadjust_unlocked to convert from external time to
4916         internal time based on calibration.
4917         Add some more debug.
4918         API: GstClock::gst_clock_unadjust_unlocked()
4919
4920 2007-04-03  Wim Taymans  <wim@fluendo.com>
4921
4922         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4923
4924         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4925         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4926         when releasing sink pad. Fixes #425400.
4927
4928 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * docs/random/ensonic/dynlink.txt:
4931           More work on proposal for new core api.
4932
4933         * docs/libs/gstreamer-libs-sections.txt:
4934         * libs/gst/base/gstbasetransform.h:
4935           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4936           
4937         * libs/gst/controller/gstcontroller.c:
4938         (on_object_controlled_property_changed),
4939         (gst_controller_sync_values),
4940         (gst_controller_set_interpolation_mode):
4941         * libs/gst/controller/gstcontroller.h:
4942           Less verbose logging add docs for unimplemented parts and correctly
4943           return when using unavailable parts.
4944
4945 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4946
4947         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4948         Move all the debug to the CLOCK category, and associate it with
4949         the clock object.
4950
4951 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4952
4953         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4954         Make take_buffer a bit quicker by removing redundant checks
4955         caused by calling gst_adapter_take.
4956
4957 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4958
4959         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4960           Don't leak GCond.
4961
4962         * tests/check/Makefile.am:
4963         * tests/check/elements/.cvsignore:
4964         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4965         (GST_START_TEST), (multiqueue_suite):
4966           Add some dead simple unit tests for the 'multiqueue' element
4967           (some bits don't work yet and are disabled for now).
4968
4969 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4970
4971         * gst/gstelement.c: (gst_element_get_request_pad),
4972         (gst_element_class_get_request_pad_template):
4973           Make gst_element_get_request_pad() create request pads only for
4974           request pad templates and not for, say, sometimes pad templates.
4975
4976 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4977
4978         * docs/design/draft-klass.txt:
4979           Add example that needs more thinking.
4980         
4981         * docs/design/draft-missing-plugins.txt:
4982           More thoughts about wrapper plugins.
4983         
4984         * docs/random/ensonic/embedded.txt:
4985         * docs/random/ensonic/profiling.txt:
4986           More design work.
4987
4988 2007-03-25  Wim Taymans  <wim@fluendo.com>
4989
4990         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4991         (gst_base_src_loop):
4992         Only push the segment events in the PLAYING state for live sources.
4993
4994 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
4995
4996         * gst/gstpipeline.c: (gst_pipeline_change_state):
4997         Modify the clock distribution path in PAUSED->PLAYING so that we 
4998         never attempt to choose a new clock unless we're actually leaving
4999         the PAUSED state for the first time. This prevents choosing a
5000         different clock when the state_change gets called for a 2nd time due
5001         to some element doing an async state change.
5002
5003 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5004
5005         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
5006         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
5007         (gst_pad_chain_unchecked), (gst_pad_push):
5008         Revert last commit. This needs some more thoughts.
5009
5010 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
5011
5012         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
5013         (gst_pad_chain_unchecked), (gst_pad_push):
5014         Check in set_caps if the caps are compatible with the pad and remove
5015         two functions that are redundant now. Fixes #421543.
5016
5017 2007-03-22  Wim Taymans  <wim@fluendo.com>
5018
5019         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5020         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
5021         Unref some more to make valgrind happy.
5022
5023 2007-03-22  Wim Taymans  <wim@fluendo.com>
5024
5025         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
5026         (gst_system_clock_id_wait_jitter),
5027         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5028         Fix anoying regression that survived a few releases. When adding an
5029         async entry while blocking on a sync entry, the sync entry will unblock
5030         but still be busy, so it should continue to wait instead of returning
5031         _BUSY to the app.
5032         Add some comments here and there.
5033
5034         * tests/check/gst/gstsystemclock.c: (mixed_thread),
5035         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
5036         Add testcase for this.
5037
5038 2007-03-22  Wim Taymans  <wim@fluendo.com>
5039
5040         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5041         Handle errors from the clock sync better, only UNSCHEDULED indicates a
5042         WRONG_STATE and can silently pause the task. All other cases should
5043         error out.
5044
5045 2007-03-22  Wim Taymans  <wim@fluendo.com>
5046
5047         Patch by: Ville Syrjala <syrjala at sci dot fi>
5048
5049         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
5050         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
5051         Improve debugging.
5052
5053 2007-03-21  Michael Smith  <msmith@fluendo.com>
5054
5055         * docs/pwg/advanced-types.xml:
5056           Fix some errors in the typefinding docs pointed out on irc.
5057
5058 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
5059
5060         * libs/gst/base/gstbasesrc.c:
5061         Clarify FIXME comment in the face of having added unlock_stop()
5062
5063 2007-03-21  Wim Taymans  <wim@fluendo.com>
5064
5065         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
5066         Prepare for release where we warn against possible app breakage in the
5067         case of live pipelines along with an env var to enable/disable live
5068         preroll mode (GST_COMPAT=[no-]live-preroll).
5069
5070 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5071
5072         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
5073         So we should use correct constants for checking for None offset.
5074
5075 2007-03-20  Wim Taymans  <wim@fluendo.com>
5076
5077         * docs/design/part-block.txt:
5078         Mention the fact that the newly switched element should be set to at
5079         least PAUSED.
5080
5081 2007-03-20  Wim Taymans  <wim@fluendo.com>
5082
5083         * gst/gst.c:
5084         Fix compilation with registry disabled as spotted by Saur.
5085
5086 2007-03-20  Wim Taymans  <wim@fluendo.com>
5087
5088         Patch by: Olivier Crete <tester at tester dot ca>
5089
5090         * gst/gstelement.c: (gst_element_sync_state_with_parent):
5091         Look at the pending state too when syncing the element state to the
5092         parent. Fixes #420133.
5093
5094 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
5095
5096         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
5097         (gst_base_sink_change_state):
5098         * libs/gst/base/gstbasesink.h:
5099         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5100         (gst_base_src_default_event), (gst_base_src_unlock_stop),
5101         (gst_base_src_deactivate):
5102         * libs/gst/base/gstbasesrc.h:
5103         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
5104         for sub-classes to correctly clear any state they set trying to
5105         unlock, such as clearing out unlock commands from a command fd.
5106         API: basesrc::unlock_stop
5107         API: basesink::unlock_stop
5108
5109         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
5110         (gst_fd_sink_render), (gst_fd_sink_unlock),
5111         (gst_fd_sink_unlock_stop):
5112         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
5113         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
5114         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
5115
5116         Implement unlock_stop in fdsrc and fdsink.
5117         Implement seeking in fdsrc when a seekable fd is passed, as in
5118         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
5119
5120 2007-03-19  Wim Taymans  <wim@fluendo.com>
5121
5122         Patch by: Evan Nemerson <evan at coeus dash group dot com>
5123
5124         * gst/gstelement.c: (gst_element_class_init):
5125         Fix pad-added and pad-removed signal signatures so that the pad type is
5126         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
5127
5128 2007-03-19  Wim Taymans  <wim@fluendo.com>
5129
5130         * docs/gst/gstreamer-sections.txt:
5131         Add new element field and method.
5132
5133         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5134         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
5135         (gst_bin_recalc_state), (gst_bin_get_state_func),
5136         (gst_bin_element_set_state), (gst_bin_change_state_func),
5137         (gst_bin_continue_func), (bin_bus_handler),
5138         (bin_push_state_continue), (bin_handle_async_start),
5139         (bin_handle_async_done), (gst_bin_handle_message_func):
5140         Make async state changes a bit smarter by using new ASYNC_START and
5141         ASYNC_DONE messages. This reduces the number of times we run the state
5142         recalculation thread.
5143         Don't change state of element with a pending ASYNC_START message.
5144         Deprecate STATE_DIRTY messages.
5145         
5146         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
5147         (gst_element_get_state_func), (gst_element_continue_state),
5148         (gst_element_lost_state), (gst_element_set_state_func),
5149         (gst_element_change_state):
5150         * gst/gstelement.h:
5151         Keep the state that was last set by the app in a new element field.
5152         Don't allow state changes when handling an element event.
5153         Post ASYNC_START and ASYNC_DONE messages.
5154         Change lost_state so that we go to PAUSED and wait for the parent to set
5155         us to PLAYING again (so latency calculation can be performed)
5156         Export gst_element_change_state() method so that subclasses can use it.
5157         API: gst_element_change_state()
5158         API: GST_STATE_TARGET
5159
5160         * gst/gstpipeline.c: (gst_pipeline_class_init),
5161         (reset_stream_time), (gst_pipeline_change_state),
5162         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
5163         Using the new ASYNC_START message we can reset the base_time when
5164         needed. This can then be used to implement base_time redistribution in
5165         flushing seeks so that we can remove the explicit seek handling.
5166         Perform latency query and configuration when going to PLAYING.
5167
5168         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5169         (gst_base_sink_query), (gst_base_sink_change_state):
5170         Post new ASYNC_START/ASYNC_DONE messages.
5171
5172         * tests/check/generic/sinks.c: (GST_START_TEST):
5173         Fix test because the bin will not set the async element to PLAYING right
5174         away.
5175
5176         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
5177         Make the message check a little stronger.
5178         Handle ASYNC messages.
5179
5180         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
5181         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
5182         Expect ASYNC_DONE messages.
5183
5184 2007-03-19  Wim Taymans  <wim@fluendo.com>
5185
5186         * docs/gst/gstreamer-sections.txt:
5187         * gst/gstmessage.c: (gst_message_new_async_start),
5188         (gst_message_new_async_done), (gst_message_parse_info),
5189         (gst_message_parse_async_start):
5190         * gst/gstmessage.h:
5191         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
5192         support.
5193
5194 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * tools/gst-inspect.c:
5197         (print_plugin_automatic_install_info_codecs):
5198           Now that we don't check for the 'Codec' keyword any longer in the
5199           klass, we shouldn't spew a warning if the klass isn't a decoder or
5200           encoder (since it might be a Source/Network, for example).
5201
5202 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
5203
5204         * tools/gst-inspect.c:
5205         (print_plugin_automatic_install_info_codecs):
5206           Don't require decoder/demuxer/depayloader elements or
5207           encoder/muxer/paylader elements to have 'Codec' as part of their
5208           factory class string when introspecting a plugin's capabilities.
5209           draft-klass.txt mentions that it might be removed in future, and
5210           flump3dec doesn't have it as part of its class string, so chances
5211           are others might also not have it.
5212
5213 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5214
5215         * po/af.po:
5216         * po/az.po:
5217         * po/bg.po:
5218         * po/ca.po:
5219         * po/cs.po:
5220         * po/de.po:
5221         * po/en_GB.po:
5222         * po/fr.po:
5223         * po/it.po:
5224         * po/nb.po:
5225         * po/nl.po:
5226         * po/ru.po:
5227         * po/sq.po:
5228         * po/sr.po:
5229         * po/sv.po:
5230         * po/tr.po:
5231         * po/uk.po:
5232         * po/vi.po:
5233         * po/zh_CN.po:
5234         * po/zh_TW.po:
5235           Update translations from translation project
5236
5237 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
5238
5239         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
5240         (gst_child_proxy_set_property):
5241           Invert precondition check to be alike the ones in the mimiced gobject
5242           api.
5243
5244 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
5245
5246         * docs/design/draft-tagreading.txt:
5247         * docs/random/ensonic/audiobaseclasses.txt:
5248           Do some Architect work.
5249
5250         * gst/gstobject.c: (gst_object_set_name):
5251           Add a WARNING.
5252
5253         * gst/gstpad.c:
5254           Add docs that point from gst_pad_get_range to gst_pad_pull_range
5255
5256 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
5257
5258         * gst/gstsystemclock.c: (gst_system_clock_init),
5259         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
5260         Defer starting the async system clock thread until the first async
5261         wait is scheduled. Fixes #414986.
5262
5263 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
5264
5265         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
5266         (gst_single_queue_free):
5267           Fix small leak (free GstSingleQueue structure too, not only contents).
5268
5269 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
5270
5271         * gst/gstbin.c:(gst_bin_add):
5272         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
5273         * win32/common/libgstbase.def:
5274         * win32/common/libgstreamer.def:
5275         Add new exported functions.
5276
5277 2007-03-09  Wim Taymans  <wim@fluendo.com>
5278
5279         * docs/plugins/gstreamer-plugins-sections.txt:
5280         Fix GstTee docs.
5281
5282 2007-03-09  Wim Taymans  <wim@fluendo.com>
5283
5284         * docs/gst/gstreamer-sections.txt:
5285         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
5286         * gst/gstbuffer.h:
5287         Add metadata copy functions. Fixes #393099.
5288         API: gst_buffer_copy_metadata()
5289
5290         * gst/gstutils.c: (gst_buffer_stamp):
5291         * libs/gst/base/gstbasetransform.c:
5292         (gst_base_transform_prepare_output_buffer):
5293         Use new metadata copy functions.
5294
5295 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
5296
5297         * plugins/elements/gstidentity.c: (gst_identity_class_init),
5298         (gst_identity_init), (gst_identity_check_perfect),
5299         (gst_identity_check_imperfect_timestamp),
5300         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
5301         (gst_identity_set_property), (gst_identity_get_property):
5302         * plugins/elements/gstidentity.h:
5303         Separate out check-imperfect-timestamp and check-imperfect-offset.
5304         Put back check-perfect as it was to keep compatibility.
5305
5306 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
5307
5308         * gst/gstelement.c: (gst_element_dispose):
5309         There's no need to warn if VOID_PENDING is not NONE here, as
5310         long as the state is NULL it's ok, and that's checked immediately
5311         above.
5312
5313 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5314
5315         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5316         Fix check for perfect stream to ignore buffers with -1 
5317         offsets/offset ends when checking data contiguity.
5318
5319 2007-03-08  Wim Taymans  <wim@fluendo.com>
5320
5321         * tools/gst-launch.c: (event_loop):
5322         Print INFO messages.
5323
5324 2007-03-08  Wim Taymans  <wim@fluendo.com>
5325
5326         * libs/gst/base/gstbasetransform.c:
5327         (gst_base_transform_sink_eventfunc),
5328         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
5329         (gst_base_transform_activate):
5330         * libs/gst/base/gstbasetransform.h:
5331         Add support for dropping buffers with custom GstFlowReturn.
5332         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
5333         buffers or dropped buffers.
5334
5335         * docs/libs/gstreamer-libs-sections.txt:
5336         docs for new custom return code.
5337
5338         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5339         Use drop support in base class to implement drop-probability.
5340
5341 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * gst/gst.c: (load_plugin_func):
5344         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
5345         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5346         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
5347           Remove newlines at end of debug log strings.
5348
5349 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5350
5351         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5352         Only post bus message at max, once per buffer received.
5353
5354 2007-03-07  Wim Taymans  <wim@fluendo.com>
5355
5356         * docs/design/Makefile.am:
5357         * docs/design/part-synchronisation.txt:
5358         Add doc about synchronisation
5359
5360         * docs/design/draft-latency.txt:
5361         * docs/design/part-TODO.txt:
5362         * docs/design/part-clocks.txt:
5363         * docs/design/part-events.txt:
5364         * docs/design/part-gstbus.txt:
5365         * docs/design/part-gstpipeline.txt:
5366         * docs/design/part-live-source.txt:
5367         * docs/design/part-messages.txt:
5368         * docs/design/part-overview.txt:
5369         * docs/design/part-streams.txt:
5370         * docs/design/part-trickmodes.txt:
5371         Documentation updates.
5372
5373 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5374
5375         * gstreamer.doap:
5376         Update the doap file.
5377
5378 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5379
5380         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5381         Rename non-perfect to imperfect for Mike and for the sanctity of the
5382         language.
5383         Also make sure bus message gets emitted for data-incontiguities.
5384
5385 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
5386
5387         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
5388         (gst_identity_start):
5389         * plugins/elements/gstidentity.h:
5390         Emit bus message if check-perfect is true and we encounter a
5391         non-perfect stream between 2 consecutive buffers.
5392         Fixes #415394.
5393
5394 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
5395
5396         * configure.ac:
5397         Back to CVS
5398
5399 === release 0.10.12 ===
5400
5401 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
5402
5403         * configure.ac:
5404           releasing 0.10.12, "Inevitable Demise"
5405
5406 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
5407
5408         * configure.ac:
5409          Version 0.10.11.2 (0.10.12 pre-release)
5410          Bump libtool versioning.
5411
5412 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
5413
5414         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
5415           Log flow-names and not numbers.
5416
5417 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5418
5419         * configure.ac:
5420           Convert to new AG_GST style.
5421
5422 2007-02-28  Wim Taymans  <wim@fluendo.com>
5423
5424         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
5425         Don't unref query twice.
5426
5427 2007-02-28  Wim Taymans  <wim@fluendo.com>
5428
5429         * gst/gstvalue.c: (gst_value_transform_object_string),
5430         (_gst_value_initialize):
5431         Implement GstObject -> string transform so we print object names
5432         when serializing GValues containing GstObjects.
5433
5434 2007-02-28  Wim Taymans  <wim@fluendo.com>
5435
5436         * docs/gst/gstreamer-sections.txt:
5437         Add new stuff to docs.
5438
5439 2007-02-28  Wim Taymans  <wim@fluendo.com>
5440
5441         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
5442         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
5443         (gst_base_sink_change_state):
5444         Improve latency query code.
5445         Don't leak latency events.
5446
5447         * tests/check/gst/gstbin.c: (GST_START_TEST):
5448         Improve debugging.
5449
5450 2007-02-28  Wim Taymans  <wim@fluendo.com>
5451
5452         * gst/gstelement.c: (gst_element_message_full),
5453         (gst_element_get_state_func):
5454         * gst/gstelement.h:
5455         Improve docs a little. Added Since: for new macro.
5456
5457         * gst/gstobject.c: (gst_object_sink):
5458         * gst/gstpipeline.c: (gst_pipeline_change_state),
5459         (gst_pipeline_set_new_stream_time):
5460         * gst/gstpipeline.h:
5461         Improve debugging and docs.
5462
5463         * gst/gstutils.c: (gst_element_state_change_return_get_name):
5464         Improve debugging.
5465
5466 2007-02-28  Wim Taymans  <wim@fluendo.com>
5467
5468         * gst/gstelement.c: (gst_element_message_full),
5469         (gst_element_set_locked_state), (gst_element_get_state_func),
5470         (gst_element_change_state):
5471         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
5472         Documentation updates.
5473         Small code cleanups.
5474
5475         * gst/gstmessage.c: (gst_message_new_info),
5476         (gst_message_parse_info):
5477         * gst/gstmessage.h:
5478         API: gst_message_new_info()
5479         API: gst_message_parse_info()
5480         Add INFO message create and parse code.
5481
5482 2007-02-28  Wim Taymans  <wim@fluendo.com>
5483
5484         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
5485         (bin_query_latency_done):
5486         Also report the live parameter of a latency query.
5487
5488 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5489
5490         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
5491           Copy the current generic/states example from -base and adapt so
5492           we can use the exact same code everywhere.
5493           Check a STATES_IGNORE_ELEMENTS env var which can be used
5494           to ignore certain element factories for this test, which is
5495           what is being done in -base
5496         * tests/check/Makefile.am:
5497           Mention this environment variable.
5498
5499 2007-02-27  Wim Taymans  <wim@fluendo.com>
5500
5501         * docs/gst/gstreamer-sections.txt:
5502         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5503         (gst_bus_timed_pop), (gst_bus_pop):
5504         * gst/gstbus.h:
5505         API: gst_bus_timed_pop()
5506         Implement gst_bus_timed_pop() to do a blocking timed wait for a
5507         message to arrive on the bus.
5508
5509         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
5510         (gst_bus_suite):
5511         Two unit tests for new _timed_pop() function.
5512
5513 2007-02-23  Wim Taymans  <wim@fluendo.com>
5514
5515         * gst/gstpipeline.c: (gst_pipeline_change_state),
5516         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
5517         Don't ref a NULL clock in _provide_clock_func().
5518         Don't allow an INVALID delay.
5519         Don't try to calculate base_time with an invalid start_time.
5520         Also distribute and notify a NULL clock when it was selected.
5521
5522         * tools/gst-launch.c: (event_loop):
5523         Don't crash when a NULL clock was selected in the pipeline.
5524
5525 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5526
5527         * docs/design/Makefile.am:
5528         * docs/design/draft-missing-plugins.txt:
5529         * docs/random/draft-missing-plugins.txt:
5530           Some small updates: update plugin system identifier prefix
5531           ('gstreamer.net' to 'gstreamer'), mention our new install
5532           API in libgstbaseutils rather than libgimme-codec, add
5533           reference to the online docs.
5534
5535 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5536
5537         * win32/common/config.h:
5538           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
5539           use moap cl ci to only check in what is mentioned in the ChangeLog.
5540
5541 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5542
5543         * docs/gst/gstreamer-sections.txt:
5544         * gst/gstelement.h:
5545           Fix up documentation to link to the correct GstGError section.
5546           Add GST_ELEMENT_INFO macro since someone else added a Info message.
5547
5548 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
5549
5550         * tools/gst-launch.c: (event_loop):
5551           Make sure that we actually show the important message part of a
5552           warning message.
5553           No need to check if the gerror is not NULL to free; first of all
5554           g_free accepts NULL; and second the default error handler would
5555           segfault if gerror was NULL.
5556
5557 2007-02-21  Wim Taymans  <wim@fluendo.com>
5558
5559         * docs/gst/gstreamer-sections.txt:
5560         Removed docs as well.
5561
5562 2007-02-21  Wim Taymans  <wim@fluendo.com>
5563
5564         * gst/gstmessage.c: (gst_message_parse_duration):
5565         * gst/gstmessage.h:
5566         Remove new messages for release.
5567
5568 2007-02-20  Wim Taymans  <wim@fluendo.com>
5569
5570         * docs/design/part-gstghostpad.txt:
5571         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
5572         (gst_ghost_pad_new_full):
5573         Make the ghostpad a parent of the internal pad again for better backward
5574         compatibility. Don't write code that relies on this however.
5575
5576         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
5577         (gst_pad_link_check_hierarchy):
5578         Require that parents should be GstElements in the hierarchy check.
5579
5580 2007-02-20  Wim Taymans  <wim@fluendo.com>
5581
5582         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
5583         (gst_bin_change_state_func), (bin_query_min_max_init),
5584         (bin_query_latency_fold), (bin_query_latency_done),
5585         (gst_bin_query):
5586         Improve debug info.
5587         Implement latency query.
5588
5589 2007-02-20  Wim Taymans  <wim@fluendo.com>
5590
5591         * docs/design/part-gstghostpad.txt:
5592         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
5593         (gst_ghost_pad_internal_do_activate_push),
5594         (gst_ghost_pad_internal_do_activate_pull),
5595         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
5596         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
5597         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
5598         Do not set the internal pad as a parent anymore so we can avoid
5599         hierarchy linking errors when the ghostpad has no parent yet. This also
5600         fixes failed activation because of unlinked internal pads, which in
5601         turn fixes the impossible case where you have to activate a pad before
5602         you can add it to a running element.
5603         Also fix the docs.
5604
5605         * gst/gstpad.c: (pre_activate), (post_activate),
5606         (gst_pad_set_active), (gst_pad_activate_pull),
5607         (gst_pad_activate_push), (gst_pad_check_pull_range):
5608         Add some more debug info.
5609         Mark activation mode in pre_activate so that we don't try to activate in
5610         endless loops. Fixes #385084.
5611
5612 2007-02-19  Wim Taymans  <wim@fluendo.com>
5613
5614         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5615         (gst_base_transform_check_get_range):
5616         Implement a checkgetrange function instead of relying on the default
5617         core behaviour that assumes we can operate in pull mode if we have a
5618         getrange function. First step at fixing #385084.
5619
5620 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
5621
5622         * gst/gstchildproxy.h:
5623         * libs/gst/base/gstbasesink.h:
5624         * libs/gst/base/gstbasesrc.h:
5625         * libs/gst/base/gstbasetransform.h:
5626         More docs coverage and some ChangeLog surgery (add missing names)
5627
5628 2007-02-15  Wim Taymans  <wim@fluendo.com>
5629
5630         * docs/design/part-TODO.txt:
5631         * docs/design/part-activation.txt:
5632         * docs/design/part-block.txt:
5633         * docs/design/part-buffering.txt:
5634         * docs/design/part-clocks.txt:
5635         * docs/design/part-element-source.txt:
5636         * docs/design/part-events.txt:
5637         * docs/design/part-gstbin.txt:
5638         * docs/design/part-gstbus.txt:
5639         * docs/design/part-gstpipeline.txt:
5640         * docs/design/part-live-source.txt:
5641         * docs/design/part-messages.txt:
5642         * docs/design/part-overview.txt:
5643         * docs/design/part-qos.txt:
5644         * docs/design/part-query.txt:
5645         * docs/design/part-states.txt:
5646         * docs/design/part-trickmodes.txt:
5647         Some doc updates. Start renaming from stream_time to running_time where
5648         it was used wrongly.
5649
5650 2007-02-15  Wim Taymans  <wim@fluendo.com>
5651
5652         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
5653         Answer LATENCY query.
5654
5655 2007-02-15  Wim Taymans  <wim@fluendo.com>
5656
5657         * tests/check/gst/gstevent.c: (event_probe), (test_event),
5658         (GST_START_TEST):
5659         Improve debugging.
5660
5661 2007-02-15  Wim Taymans  <wim@fluendo.com>
5662
5663         * gst/gstpad.c: (gst_pad_get_internal_links_default),
5664         (gst_pad_dispatcher):
5665         Improve debugging of default pad dispatcher and query functions.
5666
5667 2007-02-15  Wim Taymans  <wim@fluendo.com>
5668
5669         * docs/gst/gstreamer-sections.txt:
5670         Remove old unused method.
5671
5672 2007-02-13  Wim Taymans  <wim@fluendo.com>
5673
5674         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5675         Fix check
5676
5677 2007-02-13  Wim Taymans  <wim@fluendo.com>
5678
5679         * docs/design/part-seeking.txt:
5680         Some small update.
5681
5682         * gst/gstsegment.c: (gst_segment_set_seek):
5683         Revert old bogus change that should make seeking work again.
5684
5685 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5686
5687         * docs/random/ensonic/dynlink.txt:
5688         * docs/random/ensonic/interfaces.txt:
5689         * docs/random/ensonic/receipies.txt:
5690           Possible dynamic reconnection api, plus some type fixes the other two
5691           docs.
5692
5693 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
5694
5695         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5696         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5697         Also check for an absolute path following file:// in the filesrc
5698         element. Remove redundant check and call g_path_is_absolute() on the
5699         unescaped location.
5700
5701 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
5702
5703         * docs/design/draft-klass.txt:
5704           Add existing category analysis.
5705           
5706         * gst/gstcaps.c:
5707           Fix doc example, framerate is a fraction.
5708
5709 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5710
5711         * configure.ac:
5712         * docs/gst/Makefile.am:
5713         * docs/gst/gstreamer-sections.txt:
5714         * docs/libs/Makefile.am:
5715           Erm, forgot a bunch of --extra-dir.
5716
5717 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * configure.ac:
5720         * docs/gst/Makefile.am:
5721         * docs/libs/Makefile.am:
5722         * docs/plugins/Makefile.am:
5723           Add crossreferences to glib/gobject docs.
5724
5725 2007-02-12  Wim Taymans  <wim@fluendo.com>
5726
5727         * docs/design/draft-latency.txt:
5728         Small update.
5729
5730         * docs/libs/gstreamer-libs-sections.txt:
5731         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5732         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
5733         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
5734         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
5735         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
5736         (gst_base_sink_get_position), (gst_base_sink_query),
5737         (gst_base_sink_change_state):
5738         * libs/gst/base/gstbasesink.h:
5739         API: gst_base_sink_query_latency() to let subclasses query the upstream
5740         latency.
5741         API: gst_base_sink_get_latency() to let subclasses query the configured
5742         latency in the sink.
5743         Implement query and set latency.
5744         Update some docs.
5745         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
5746         don't continue preroll when we are flushing. Fixes #405284.
5747
5748         * tests/check/pipelines/stress.c: (change_state_timeout),
5749         (quit_timeout), (GST_START_TEST), (stress_suite):
5750         Test for #405284.
5751
5752 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5753
5754         Patch by: René Stadler <mail at renestadler de>
5755
5756         * docs/gst/gstreamer-sections.txt:
5757         * gst/gsttaglist.c: (_gst_tag_initialize):
5758         * gst/gsttaglist.h:
5759           API: add GST_TAG_REFERENCE_LEVEL (#403597).
5760
5761 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
5762
5763         * docs/libs/Makefile.am:
5764           Fix path to core docs.
5765
5766         * gst/gstbin.c: (gst_bin_get_by_interface),
5767         (gst_bin_iterate_all_by_interface):
5768           Refix docs by also renaming 'interface' to 'iface' in implementation.
5769
5770         * docs/gst/gstreamer-sections.txt:
5771         * gst/gstcaps.c:
5772         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
5773         * gst/gstchildproxy.h:
5774         * gst/gstelementfactory.c:
5775         * gst/gstpadtemplate.h:
5776         * libs/gst/controller/gstcontroller.c:
5777         (gst_controlled_property_new):
5778           Document more.
5779
5780 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
5781
5782         * gst/gstbin.h:(gst_bin_get_by_interface),
5783         (gst_bin_iterate_all_by_interface):
5784         Replace interface parameter name by iface as interface is 
5785         a reserved keyword in Visual Studio for C++ projects so it removes
5786         a build error for application developpers using VS.
5787         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
5788         Fix a bug on Windows in uri format check. Now the prefix checked
5789         is file:// and next we check if the path after file:// is absolute.
5790         * win32/common/libgstbase.def:
5791         * win32/common/libgstdataprotocol.def:
5792         * win32/common/libgstgstreamer.def:
5793         Add new exported functions.
5794
5795 2007-02-09  Andy Wingo  <wingo@pobox.com>
5796
5797         * tests/check/pipelines/simple-launch-lines.c
5798         (simple_launch_lines_suite, test_tee): Disable tee test until I
5799         have time to fix it :-(
5800
5801         * tests/check/Makefile.am (noinst_HEADERS): 
5802         * tests/check/libs/libsabi.c: 
5803         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5804         * tests/check/gst/gstabi.c: 
5805         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5806
5807         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5808         tests for push and pull tee behavior.
5809
5810         * plugins/elements/gsttee.h: 
5811         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5812         mark as deprecated as well as unimplemented. It was a crack idea.
5813         Add support for tee operating in pull mode, off by default.
5814
5815         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5816         normal-case logs down to LOG, raise errors to WARNING.
5817         (gst_registry_xml_read_cache): Don't log before calling a function
5818         that logs.
5819
5820         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5821         exit (registry finalize).
5822         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5823         DEBUG log when we emit signals that people don't even have the
5824         chance to connect to.
5825         (gst_registry_scan_path_level): Less logging in the normal case.
5826
5827 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5828
5829         Patch by: Michal Benes <michal dot benes at itonis dot tv>
5830
5831         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5832         Correctly generate EOS for non-seekable files. We don't have a total
5833         length for them and would get an unexpected end of file if we only
5834         special-cased for regular files. (Fixes: #404569)
5835
5836 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5837
5838         * tests/check/elements/filesrc.c: (GST_START_TEST),
5839         (filesrc_suite):
5840         Add unit test for the GstURIHandler interface in filesrc. This also
5841         tests the newly added file://localhost/foo/bar support.
5842
5843 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5844
5845         * gst/gstelementfactory.h:
5846           The klass string is not a hierarchy. Add reference to the design doc
5847           for more information and common types.
5848
5849 2007-02-02  Wim Taymans  <wim@fluendo.com>
5850
5851         * gst/gstquery.c: (gst_query_new_latency):
5852         Remove old structure field.
5853
5854 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * tools/gst-launch.1.in:
5857           Give example for network streaming (#351998)
5858
5859 2007-02-02  Wim Taymans  <wim@fluendo.com>
5860
5861         * docs/gst/gstreamer-sections.txt:
5862         Add docs for new methods.
5863
5864         * gst/gstevent.c: (gst_event_new_latency),
5865         (gst_event_parse_latency):
5866         * gst/gstevent.h:
5867         Add new LATENCY event to configure latency in a pipeline.
5868         API: gst_event_new_latency
5869         API: gst_event_parse_latency
5870
5871         * gst/gstmessage.c: (gst_message_new_buffering),
5872         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5873         (gst_message_new_latency), (gst_message_parse_buffering),
5874         (gst_message_parse_lost_preroll):
5875         * gst/gstmessage.h:
5876         Added messages used in draft-latency.
5877         API: gst_message_new_lost_preroll
5878         API: gst_message_parse_lost_preroll
5879         API: gst_message_new_prerolled
5880         API: gst_message_new_latency
5881
5882         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5883         (gst_query_parse_latency):
5884         * gst/gstquery.h:
5885         Implemented new latency query as in design doc.
5886         API: gst_query_new_latency
5887         API: gst_query_set_latency
5888         API: gst_query_parse_latency
5889
5890 2007-02-02  Wim Taymans  <wim@fluendo.com>
5891
5892         * docs/design/draft-latency.txt:
5893         Slight redesign to allow for dynamic latency adjustments.
5894
5895         * docs/design/part-negotiation.txt:
5896         Fix some typos.
5897
5898 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5899
5900         reviewed by: Wim Taymans <wim@fluendo.com>
5901
5902         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5903         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5904         Allow file://localhost/foo/bar URLs and correctly fail for every other
5905         hostname that one sets. This was gnomevfssrc is linked for those if
5906         installed as it can handle it (#403172)
5907
5908 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5909
5910         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5911
5912         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5913         (unref_data), (gst_collect_pads_add_pad_full):
5914         * libs/gst/base/gstcollectpads.h:
5915         Don't put the previously added destroy notify in the GstCollectData
5916         struct as all it's padding is already used and we don't want to break
5917         ABI. Instead put in the pad's GObject data for now. This should be
5918         cleaned up for 0.11 (#402393).
5919
5920 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5921
5922         reviewed by: Wim Taymans <wim@fluendo.com>
5923
5924         * docs/libs/gstreamer-libs-sections.txt:
5925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5926         (unref_data), (gst_collect_pads_add_pad),
5927         (gst_collect_pads_add_pad_full):
5928         * libs/gst/base/gstcollectpads.h:
5929         API: Add function to specify a destroy notification for custom
5930         GstCollectData when adding new pads in GstCollectPads (#402393).
5931
5932 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
5933
5934         * po/sv.po:
5935           Update Swedish translation (#378255).
5936
5937 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5938
5939         * docs/design/draft-klass.txt:
5940           Fix the previous change, this is a list of categories and not a hierarchy.
5941
5942 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5943
5944         * docs/design/draft-klass.txt:
5945           Add info about how to get a list of used classes.
5946
5947 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5948
5949         * plugins/elements/gsttypefindelement.c:
5950         (gst_type_find_element_chain_do_typefinding),
5951         (gst_type_find_element_change_state):
5952           Don't leak found caps in chain function (no idea why that never
5953           showed up as a leak anywhere).
5954
5955 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * gst/gstplugin.h:
5958           Fix and expand GstPluginDesc API docs.
5959
5960 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * gst/gstcaps.c:
5963         * gst/gstelementfactory.c:
5964         * gst/gstpadtemplate.h:
5965           api doc fixes
5966
5967         * libs/gst/controller/gstcontroller.c:
5968         (gst_controlled_property_new):
5969         * tests/examples/controller/audio-example.c:
5970           comment fixes
5971
5972 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5973
5974         * configure.ac:
5975           comment about refining the xml deps
5976
5977         * docs/manuals.mak:
5978           comments about moving away from jade for docs
5979         
5980         * gst/gst.c:
5981           recommit the ifdefs to use the binary registry
5982         
5983         * gst/gstbin.c: (gst_bin_change_state_func):
5984           this break is obsolete
5985
5986         * gst/gstelementfactory.h:
5987           better GST_ELEMENT_DETAILS docs, add comment about translation
5988
5989         * gst/gstinfo.h:
5990           remove eol slash
5991
5992         * gst/gstobject.c: (gst_signal_object_get_type):
5993           add G_UNLIKELY as usual
5994
5995         * gst/gstpad.c: (gst_pad_event_default):
5996           add fall trhu comment
5997
5998         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5999         (gst_registry_binary_initialize_magic),
6000         (gst_registry_binary_save_string),
6001         (gst_registry_binary_save_pad_template),
6002         (gst_registry_binary_save_feature),
6003         (gst_registry_binary_save_plugin),
6004         (gst_registry_binary_write_cache),
6005         (gst_registry_binary_check_magic),
6006         (gst_registry_binary_load_pad_template),
6007         (gst_registry_binary_load_feature),
6008         (gst_registry_binary_load_plugin),
6009         (gst_registry_binary_read_cache):
6010           comment typo and formatting
6011
6012         * gst/gstutils.c: (gst_element_state_get_name),
6013         (gst_element_state_change_return_get_name):
6014           remove obsolete breaks
6015
6016         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
6017           add FIXME 0.11 and remove cpp comment
6018
6019 2007-01-29  Edward Hervey  <edward@fluendo.com>
6020
6021         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6022         Fix print statement in an even more portable way.
6023
6024 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
6025
6026         * docs/gst/gstreamer-sections.txt:
6027         * gst/gstutils.h:
6028           API: add GST_ROUND_DOWN_* macros (#401781).
6029
6030 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         * docs/gst/gstreamer.types.in:
6033         * gst/gstregistry.c: (gst_registry_class_init):
6034           Document registry signals and make gtk-doc pick them up (#401381).
6035
6036 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6037
6038         * docs/pwg/building-testapp.xml:
6039           Add some audioconverts and audioresample to the pipeline, and some
6040           more comments and error handling.
6041
6042 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
6043
6044         * docs/manual/manual.xml:
6045         * docs/pwg/pwg.xml:
6046           Fix typo (#400987).
6047
6048 2007-01-26  Wim Taymans  <wim@fluendo.com>
6049
6050         * gst/gstcaps.c: (gst_static_caps_get):
6051         Init caps flags too.
6052
6053 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
6054
6055         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
6056
6057         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6058         If not using mmap'ed files try to seek to the end instead of the
6059         start to determine whether we can seek at all. This fixes the case
6060         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
6061         seeks for everything afterwards fail. Fixes #400656
6062
6063 2007-01-25  Wim Taymans  <wim@fluendo.com>
6064
6065         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
6066         Add some refcount debugging.
6067         Make gst_static_caps_get threadsafe, which is needed when autoplugging
6068         in multiple streaming threads.
6069
6070 2007-01-25  Wim Taymans  <wim@fluendo.com>
6071
6072         Patch by: David Schleef <ds at schleef dot org>
6073
6074         * docs/libs/gstreamer-libs-sections.txt:
6075         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
6076         * libs/gst/base/gstadapter.h:
6077         API: gst_adapter_copy() that can reduce the amount of memcpy when
6078         getting data from the adapter. Fixes #388201.
6079
6080 2007-01-25  Edward Hervey  <edward@fluendo.com>
6081
6082         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6083         In print statements, "%x" is for guint. Fixes build on macosx.
6084
6085 2007-01-24  Edward Hervey  <edward@fluendo.com>
6086
6087         * plugins/elements/gstmultiqueue.c:
6088         (gst_multi_queue_loop):
6089         Small fix.
6090         (single_queue_overrun_cb), (single_queue_underrun_cb),
6091         (single_queue_check_full), (gst_single_queue_new):
6092         Implement single queue growth system.
6093         This uses the extra-size properties, and will grow single queues by
6094         that much if one goes full whereas there are others empty. This is
6095         called extra-mode in the code.
6096         When a single queue's levels go back below the initial max-size
6097         limits, it is no longer in extra-mode. This is to ensure we don't
6098         consume too much memory.
6099         Fixes #399875
6100
6101 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
6102
6103         * gst/gst.c: (gst_init_get_option_group):
6104           Make warning about late g_thread_init() calls a bit more explicit,
6105           so that it's more obvious to application developers what they need
6106           to do if a user files a bug against their application.
6107
6108 2007-01-22  Edward Hervey  <edward@fluendo.com>
6109
6110         * plugins/elements/gstmultiqueue.c:
6111         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
6112         Remove previous hack of unsetting the flushing flag for the source pad
6113         instead of activating it. Instead, fix the source pad activate function
6114         so that it no longer depends on having a parent set or not.
6115
6116 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
6117
6118         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
6119
6120         * docs/manual/basics-bus.xml:
6121           Fix example code, gst_element_unref() doesn't exist any longer.
6122
6123 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
6124
6125         Patch by: Mark Nauwelaerts <manauw at skynet be>
6126
6127         * gst/gstpad.c:
6128           Fix two docs typoes (#399094).
6129
6130 2007-01-19  Edward Hervey  <edward@fluendo.com>
6131
6132         * docs/faq/gst-uninstalled:
6133         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
6134         depending on libgstbaseutils can work in uninstalled environment.
6135
6136 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
6137
6138         * gst/gsttaglist.h:
6139         * gst/gsttagsetter.c:
6140         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
6141         statement for new tag.
6142
6143 2007-01-17  Edward Hervey  <edward@fluendo.com>
6144
6145         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
6146         When dynamically creating single queues, activate sinkpad before adding
6147         it.
6148         We should be doing the same thing for the source pad, but we can't
6149         since it would call a method which needs the parent to be set in order
6150         to work propertly. Instead of activating the source pad, we just unset
6151         the flushing flag, which is the minimal requirement for adding a pad
6152         to an element in a state greater than READY.
6153
6154 2007-01-17  Edward Hervey  <edward@fluendo.com>
6155
6156         * docs/faq/gst-uninstalled:
6157         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
6158         Mac OS X.
6159
6160 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
6161
6162         * tests/check/gst/gstabi.c:
6163         * tests/check/gst/struct_hppa.h:
6164         * tests/check/libs/libsabi.c:
6165         * tests/check/libs/struct_hppa.h:
6166           Add ABI structs for HPPA (see #393796).
6167
6168 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
6169
6170         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
6171           Actually write ABI structs to the file specified in the GST_ABI
6172           environment variable, as the message we print claims we would.
6173
6174 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6175
6176         * tests/check/gst/gsttask.c:
6177           Fix header comment.
6178
6179 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6180
6181         * gst/gsttaglist.c: (_gst_tag_initialize):
6182           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
6183           previous two entries.
6184
6185 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6186
6187         * docs/gst/gstreamer-sections.txt:
6188         * gst/gsttaglist.c: (_gst_tag_initialize):
6189         * gst/gsttaglist.h:
6190           Add tag support for beat-per-minute.
6191
6192 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
6193
6194         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6195         (gst_registry_binary_initialize_magic),
6196         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
6197         (gst_registry_binary_save_pad_template),
6198         (gst_registry_binary_save_feature),
6199         (gst_registry_binary_save_plugin),
6200         (gst_registry_binary_write_cache),
6201         (gst_registry_binary_check_magic),
6202         (gst_registry_binary_load_pad_template),
6203         (gst_registry_binary_load_feature),
6204         (gst_registry_binary_load_plugin),
6205         (gst_registry_binary_read_cache):
6206         * gst/gstregistrybinary.h:
6207           Use glib types, cleanup comments, impement interfaces and uri-types.
6208
6209 2007-01-13  Andy Wingo  <wingo@pobox.com>
6210
6211         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
6212         getrange() to return buffers with other caps, while we fix
6213         demuxers and typefind, or otherwise change part-negotiation.txt.
6214
6215 2007-01-12  Andy Wingo  <wingo@pobox.com>
6216
6217         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
6218         Factor start/stop into this private function instead of partially
6219         in activate functions and partially in the change_state function.
6220         Fixes setup before the element has changed from READY->PAUSED, as
6221         is the case in pull-mode pipelines.
6222         (gst_base_transform_sink_activate_push)
6223         (gst_base_transform_src_activate_pull): Refactor to use
6224         gst_base_transform_activate().
6225         (gst_base_transform_change_state): Removed, not needed any more.
6226
6227         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6228         Truncate before fixating.
6229         
6230         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
6231         Don't set_caps() if the result of fixating is ANY, as it's not
6232         supported, and not necessary in the case of a link with no
6233         template caps on either side. Fixes tests/check/libs/basesrc in
6234         some pull-mode tests.
6235
6236         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
6237         (gst_base_transform_init, gst_base_transform_sink_activate_push)
6238         (gst_base_transform_src_activate_pull): 
6239         Track the activation mode.
6240         (gst_base_transform_setcaps): In pull mode, when activating the
6241         src pad, after activating the sink pad, activate the sink pad's
6242         peer, as discussed in part-negotiation.txt.
6243
6244         * libs/gst/base/gstbasesrc.h: 
6245         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
6246         vmethod, as in basesink.
6247
6248         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
6249
6250         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
6251         mode, first proxy the setcaps to the peer pad.
6252         (gst_base_sink_pad_fixate): Add a fixate function that calls the
6253         new fixate vmethod.
6254         (gst_base_sink_default_activate_pull): Rename from
6255         gst_base_sink_activate_pull.
6256         (gst_base_sink_negotiate_pull): New function, performs negotiation
6257         in pull mode before calling ::activate_pull().
6258         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
6259         vmethod instead of the default implementation. I have no idea how
6260         this worked before. Negotiate before calling activate_pull.
6261
6262         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
6263         sink pads in pull mode. In addition to being correct, fixes
6264         filesrc ! decodebin ! identity ! fakesink.
6265         (gst_pad_get_range, gst_pad_pull_range): Don't call
6266         gst_pad_set_caps() if the caps changes; instead error out with
6267         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
6268
6269 2007-01-12  Andy Wingo  <wingo@pobox.com>
6270
6271         * docs/design/part-negotiation.txt: Update with more policy.
6272
6273 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6274
6275         * libs/gst/check/gstbufferstraw.h:
6276         * libs/gst/check/gstcheck.h:
6277           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
6278           belongs.
6279
6280 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6281
6282         * tests/check/Makefile.am:
6283         * tests/check/gst/.cvsignore:
6284         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
6285         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
6286         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
6287         (GST_START_TEST), (gst_tag_setter_suite):
6288           Add minimal unit test for beforementioned GstTagSetter bug.
6289
6290 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
6291
6292         Patch by: René Stadler <mail at renestadler dot de>
6293
6294         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
6295           gst_tag_list_merge() returns a new list, so it's not the best idea
6296           to ingore its return value. Effectively meant that tags could only
6297           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
6298           Also add function guard to require a non-NULL taglist as input (has
6299           always been so due to gst_tag_list_copy(), just making it explicit).
6300
6301 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6302
6303         * docs/random/draft-missing-plugins.txt:
6304           Some additions: mention new API that is supposed to be used at the
6305           various stages; short blob about new gst-inspect introspection
6306           option; mention potential future problem with plugins that have
6307           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
6308
6309 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6310
6311         * tools/gst-inspect.c:
6312         (print_plugin_automatic_install_info_codecs),
6313         (print_plugin_automatic_install_info_protocols),
6314         (print_plugin_automatic_install_info), (main):
6315         Add --print-plugin-auto-install-info option to gst-inspect, so we can
6316         introspect plugin files and get machine-parsable output that corresponds
6317         to the last bit of the missing-plugin installer string (small gotcha:
6318         doesn't take into account ranks).
6319
6320 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
6321
6322         * configure.ac:
6323         * docs/gst/gstreamer-sections.txt:
6324         * gst/Makefile.am:
6325         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
6326         (gst_registry_lookup_locked):
6327         * gst/gstregistry.h:
6328         * gst/gstregistrybinary.c: (gst_registry_binary_write),
6329         (gst_registry_binary_initialize_magic),
6330         (gst_registry_binary_save_string),
6331         (gst_registry_binary_save_pad_template),
6332         (gst_registry_binary_save_feature),
6333         (gst_registry_binary_save_plugin),
6334         (gst_registry_binary_write_cache),
6335         (gst_registry_binary_check_magic),
6336         (gst_registry_binary_load_pad_template),
6337         (gst_registry_binary_load_feature),
6338         (gst_registry_binary_load_plugin),
6339         (gst_registry_binary_read_cache):
6340         * gst/gstregistrybinary.h:
6341         * gst/gstregistryxml.c: (load_feature),
6342         (gst_registry_xml_read_cache):
6343           commit binary registry (disabled by default, see #359653)
6344
6345 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
6348           Fix 'make check' too.
6349
6350 2007-01-10  Andy Wingo  <wingo@pobox.com>
6351
6352         * docs/design/part-negotiation.txt: Fix a typo, add a couple
6353         notes.
6354         
6355         * docs/design/part-negotiation.txt: Update with, um, one way that
6356         pull-mode negotiation might work?
6357
6358         * gst/gstpad.h: 
6359         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
6360         that the pad must be a src pad; makes sense to call it the other
6361         way in pull mode, and the logic is symmetric anyway.
6362
6363 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
6364
6365         * plugins/elements/gstfilesink.c:
6366           Include <stdio.h> for fseeko().
6367
6368 2007-01-10  Wim Taymans  <wim@fluendo.com>
6369
6370         * gst/gstevent.c:
6371         * gst/gstevent.h:
6372         Reserve LATENCY event.
6373
6374 2007-01-09  Wim Taymans  <wim@fluendo.com>
6375
6376         * docs/design/draft-latency.txt:
6377         Updates.
6378
6379 2007-01-09  Wim Taymans  <wim@fluendo.com>
6380
6381         * docs/design/draft-latency.txt:
6382         Updates.
6383
6384         * gst/gstelement.h:
6385         * gst/gststructure.c:
6386         * gst/gsttrace.c:
6387         Small typo fixes.
6388
6389 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6390
6391         * tests/check/.cvsignore:
6392           Ignore test-registry.xml as well.
6393
6394 2007-01-09  Wim Taymans  <wim@fluendo.com>
6395
6396         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
6397         unref data at the end when we are done with the pad.
6398
6399 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * docs/gst/gstreamer-sections.txt:
6402         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
6403         (init_post), (gst_deinit), (gst_update_registry):
6404         * gst/gst.h:
6405           API: add gst_update_registry() (#391296).
6406
6407         * tests/check/Makefile.am:
6408         * tests/check/gst/gstregistry.c:
6409         * tests/check/gst/.cvsignore:
6410           Simple unit test for the above.
6411
6412 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
6413
6414         * gst/gstregistry.c: (gst_registry_scan_path_level):
6415           Plugin extension on HP-UX is .sl, add that to the list of approved
6416           plugin extensions (see #393796).
6417
6418         * tests/check/gst/gstpad.c: (GST_START_TEST):
6419           ulong => gulong. Fixes compilation with HP-UX compiler.
6420
6421         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
6422           Fix compilation if valgrind headers are not available.
6423
6424 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
6425
6426         * win32/common/libgstreamer.def: 
6427           Add new exported function.
6428         * win32/vs6/libgstbase.dsp: 
6429           Add gstdataqueue.c to the build.
6430         * win32/vs6/libgstcoreelements.dsp:
6431           Add gstmultiqueue.c to the build.
6432         
6433 2007-01-06  Andy Wingo  <wingo@pobox.com>
6434
6435         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
6436         activate_pull(), providing for a way to specialize the process of
6437         spawning a thread to pull on the sink pad. There is a default
6438         implementation.
6439
6440         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
6441         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
6442         (gst_base_sink_init): Renamed pad activation functions (inserting
6443         "_pad" in their names). Refactor to use the new activate_pull
6444         vmethod, as appropriate.
6445         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
6446         default activate_pull function to start a task pulling from the
6447         sink pad, as before.
6448
6449         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
6450         on the pads if necessary, as in push()/chain(). Update docs.
6451         Shouldn't affect existing pull() usage as it is currently only
6452         being used on buffers without caps.
6453
6454 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
6457         (init_pre):
6458           Call g_thread_init() first thing in gst_init() / gst_check_init().
6459           When initialisation is done via gst_init_get_option_group() and
6460           GOption parsing, issue a warning if the GLib thread system has not
6461           been initialised yet by the time gst_init_get_option_group() is
6462           called, as it's quite likely other GLib functions such as
6463           g_option_context_new() have been called already then, and
6464           g_thread_init() must be called before any other GLib function. The
6465           application in question must be fixed in that case, since memory
6466           corruption might happen otherwise.
6467           We issue the warning because even if the GLib folks decide to work
6468           around the problem on their end in future, this is still an issue
6469           with all GLib versions >= 2.10.0, so we should warn until we depend
6470           on a GLib version we know to be safe.
6471           Update documentation as well.
6472           Closes bug #391278.
6473
6474 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6475
6476         * tools/gst-inspect.c: (main):
6477         * tools/gst-launch.c: (main):
6478         * tools/gst-typefind.c: (main):
6479         * tools/gst-xmlinspect.c: (main):
6480           Call g_thread_init() really really early, before any other GLib
6481           function (see #342564 and recent discussion on gtk-devel-list).
6482
6483 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6484
6485         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
6486
6487         * gst/gst_private.h:
6488         * gst/gstconfig.h.in:
6489         * gst/gstinfo.h:
6490           On win32, all the __declspec stuff for symbol exporting is
6491           apparently only needed with MSVC, but doesn't work with MingW.
6492           Fixes compilation with MingW and #391909.
6493
6494 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
6497           Change some GST_ERROR_OBJECT that aren't really errors to
6498           GST_WARNING_OBJECT in order to reduce terminal spam.
6499
6500 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6501
6502         * tests/check/Makefile.am:
6503           disable test again, as there seem to be still race problems
6504
6505 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
6506
6507         * tests/check/Makefile.am:
6508         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6509         (GST_START_TEST), (queue_suite):
6510           enable queue test again, add tests for the leaky behaviour
6511
6512 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * configure.ac:
6515         * tests/examples/Makefile.am:
6516           Compile adapter test/example only if the required headers are
6517           available (fixes #391915).
6518
6519 2007-01-01  David Schleef  <ds@schleef.org>
6520
6521         * gst/gstplugin.c:
6522           Restore the previous signal handler for SIGSEGV instead of
6523           setting to default, since we may have stolen it away from
6524           someone.  (i.e., Mono)
6525
6526 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * docs/random/draft-missing-plugins.txt:
6529           Some small additions and clarifications.
6530
6531 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
6532
6533         * gst/gstregistryxml.c: (gst_registry_save_escaped):
6534           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
6535           since that can lead to random memory corruptions and crashes
6536           (may or may not be related to #383244, #386711, and #386711).
6537
6538 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6539
6540         * tests/check/.cvsignore:
6541         * tests/check/Makefile.am:
6542           sync .cvsignome and CLEANFILES
6543
6544 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6545
6546         * tests/check/Makefile.am:
6547           fix distcheck
6548
6549 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6550
6551         * docs/design/part-states.txt:
6552           two tiny additional comments
6553         
6554         * gst/gststructure.c:
6555           doc fixing
6556
6557         * tests/check/Makefile.am:
6558         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6559         (GST_START_TEST):
6560           disable test for now, unless it gets fixed
6561
6562 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6563
6564         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6565         (GST_START_TEST):
6566           fix race in underrun test
6567
6568 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6569
6570         * tests/check/elements/.cvsignore:
6571           ignore more
6572
6573         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6574         (GST_START_TEST):
6575           try to narrow test failure
6576
6577 2006-12-21  David Schleef  <ds@schleef.org>
6578
6579         * plugins/elements/gstfakesrc.c:
6580           Use g_random_int_range(), since it produces better random
6581           numbers in a range than almost-correct floating point code.
6582
6583 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
6584
6585         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6586         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6587         (gst_check_teardown_sink_pad):
6588           do not automatically (de)activate pads
6589
6590         * tests/check/Makefile.am:
6591         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
6592         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
6593           add new, yet simple tests for queue
6594
6595         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
6596         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
6597         * tests/check/elements/filesrc.c: (cleanup_filesrc),
6598         (GST_START_TEST):
6599         * tests/check/elements/identity.c: (cleanup_identity):
6600           consistent pad (de)activation
6601
6602 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
6603
6604         Patch by: Sebastian Dröge  <slomo ubuntu com>
6605
6606         * libs/gst/base/gstcollectpads.c:
6607           Fix two doc typos (#387866).
6608
6609 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6610
6611         * docs/manual/advanced-dparams.xml:
6612           Fix typo (g_object_control_properties() doesn't exist).
6613
6614 2006-12-19  Edward Hervey  <edward@fluendo.com>
6615
6616         * gst/gstsegment.c: (gst_segment_set_seek):
6617         Fine tune the cases where the segment start/stop values are really
6618         updated.
6619         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6620         Add tests for the return values of gst_segment_set_seek().
6621
6622 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
6623
6624         * gst/gst.c:
6625           Docs typo fix.
6626
6627         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6628         (gst_queue_init):
6629           Fix incorrect documentation and flesh it out a bit more.
6630           Set default values for the max properties on the GParamSpec as well,
6631           so it shows up correctly in gst-inspect.
6632
6633 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
6634
6635         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
6636           Correct docs of queue, add more detail and crosslink it more.
6637
6638 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6639
6640         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6641           Print additional debug info when the stream isn't perfectly
6642           timestamped; don't try to use invalid durations.
6643
6644 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * docs/design/Makefile.am:
6647           Dist new design docs.
6648
6649 2006-12-16  Wim Taymans  <wim@fluendo.com>
6650
6651         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6652
6653         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
6654         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
6655         (gst_collect_pads_stop), (gst_collect_pads_event),
6656         (gst_collect_pads_chain):
6657         * libs/gst/base/gstcollectpads.h:
6658         Add refcounting to the collectpads data so we can track when it's safe
6659         to free the data. Fixes #383382.
6660
6661 2006-12-15  Wim Taymans  <wim@fluendo.com>
6662
6663         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6664         (gst_collect_pads_remove_pad):
6665         Automatically activate/deactivate pads when they are added to a
6666         started/stoped collectpads.
6667
6668 2006-12-15  Wim Taymans  <wim@fluendo.com>
6669
6670         * gst/gstelement.c: (gst_element_add_pad):
6671         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6672         * gst/gstpad.c: (gst_pad_init):
6673         Set pads to FLUSHING when they are created. Check, warn and fix when a
6674         demuxer adds an inactive pad to itself when running. Fixes #339326.
6675
6676 2006-12-15  Wim Taymans  <wim@fluendo.com>
6677
6678         * gst/gstelement.c: (gst_element_class_init),
6679         (gst_element_default_send_event), (gst_element_send_event),
6680         (gst_element_default_query), (gst_element_query):
6681         Expose default element send_event and query handling as vmethods that
6682         subclasses can chain up to.
6683
6684 2006-12-15  Wim Taymans  <wim@fluendo.com>
6685
6686         * gst/gstelement.c: (gst_element_set_state_func):
6687         Small documentation fixes.
6688
6689 2006-12-15  Wim Taymans  <wim@fluendo.com>
6690
6691         * docs/design/draft-latency.txt:
6692         Checked in draft for handling latency in pipelines.
6693
6694 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
6695
6696         * Makefile.am:
6697         * gstreamer.doap:
6698         * gstreamer.spec.in:
6699           adding .doap file
6700
6701 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
6702
6703         * gst/gst.c: (init_pre), (init_post):
6704           init_pre() and init_post() might be called via our GOptionGroup or
6705           from gst_init(), and we should skip both of them if we've already
6706           been initialised, otherwise we will init some things twice or add
6707           two default log functions.
6708
6709 2006-12-13  Edward Hervey  <edward@fluendo.com>
6710
6711         * docs/manual/basics-bus.xml:
6712         No, gst_main_loop does not exist. Its g_main_loop.
6713         Discovered by somebody who abused the copy-paste technique of coding :)
6714
6715 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * gst/gstghostpad.c:
6718           Log ghostpad debug stuff to the GST_PADS category as well rather
6719           than just to the default category.
6720
6721 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6722
6723         * configure.ac:
6724         * gst/gst.c: (init_pre):
6725           Add some basic system details such as OS and architecture
6726           to the debug output if possible, courtesy of uname().
6727
6728 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6729
6730         * docs/gst/running.xml:
6731           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
6732           environment variables.
6733
6734 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6735
6736         * tests/check/gst/gstbin.c: (GST_START_TEST):
6737         It is acceptable to have a refcount of 2 or 3 at this point in the
6738         test, because the pipeline might be just posting its state_change
6739         message. The next line then waits for that message to appear using
6740         bus_poll, so that should be fine too.
6741
6742 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
6743
6744         * gst/gst.c: (ensure_current_registry_forking):
6745         Ignore EINTR when reading from the child registry pipe.
6746         Explicitly ignore the return value from close, since it makes no
6747         difference.
6748
6749         * gst/gstminiobject.c: (gst_mini_object_ref),
6750         (gst_mini_object_unref):
6751         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
6752
6753         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
6754         When removing cached plugins, remove their features too, so they're
6755         not visible after they've disappeared.
6756
6757         * gst/gstutils.c: (prepare_link_maybe_ghosting):
6758         In the unlikely case that we are linking pads with no parents, don't
6759         crash trying to get the non-existent parent bin.
6760
6761         * gst/parse/grammar.y:
6762         Output debug in the PIPELINE category
6763
6764 2005-03-08  Wim Taymans  <wim@fluendo.com>
6765
6766         Patch by: René Stadler <mail at renestadler dot de>
6767
6768         * gst/gstclock.c: (gst_clock_new_periodic_id):
6769         Reject invalid clock times for interval of periodic ids.
6770         Fixes ##383506.
6771
6772 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6773
6774         * gst/gstelementfactory.c: (gst_element_factory_create):
6775         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6776         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6777         * tools/gst-inspect.c: (print_element_info):
6778         Fix refcounting of gst_plugin_feature_load to match the docs. 
6779         Fixes: #380129
6780
6781 2006-12-07  Wim Taymans  <wim@fluendo.com>
6782
6783         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
6784         (gst_base_sink_get_position):
6785         Improve debugging of events.
6786
6787 2006-12-07  Wim Taymans  <wim@fluendo.com>
6788
6789         Patch by: René Stadler <mail at renestadler dot de>
6790
6791         * gst/gstclock.c: (gst_clock_id_wait):
6792         Make period ids add the interval to the origial requested time instead
6793         of the possibly updated time which can be wrong when there are multiple
6794         waiters for the same id. Fixes #382592.
6795
6796         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6797         (gst_system_clock_id_wait_jitter_unlocked),
6798         (gst_system_clock_id_wait_jitter):
6799         Fix restart in the async notify thread when an async entry is added to
6800         the front of the list. Fixes #381492. 
6801
6802         * tests/check/gst/gstsystemclock.c: (store_callback),
6803         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6804         Added test for multiple async waits.
6805         Added test for async wait order.
6806
6807 2006-12-07  Wim Taymans  <wim@fluendo.com>
6808
6809         * gst/gstbin.c: (gst_bin_query):
6810         Add some more docs about the POSITION query.
6811
6812 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6813
6814         * configure.ac:
6815         Bump version nano - back to CVS.
6816
6817 === release 0.10.11 ===
6818
6819 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
6820
6821         * configure.ac:
6822           releasing 0.10.11, "Love never runs on time"
6823
6824 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
6825
6826         * win32/common/libgstbase.def:
6827         * win32/common/libgstreamer.def:
6828         * win32/vs8/libgstbase.vcproj:
6829         * win32/vs8/libgstcoreelements.vcproj:
6830         * win32/vs8/libgstreamer.vcproj:
6831         Fix compilation on win32 under VS8
6832         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6833         Partially fixes #381175
6834
6835 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6836
6837         * gst/gstvalue.c: (gst_value_compare_fraction):
6838         If someone is foolish enough to compare 2 fractions with denominator =
6839         0, return UNORDERED rather than aborting.
6840
6841 2006-11-28  Edward Hervey  <edward@fluendo.com>
6842
6843         * libs/gst/base/Makefile.am:
6844         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6845         (gst_data_queue_base_init), (gst_data_queue_class_init),
6846         (gst_data_queue_init), (gst_data_queue_new),
6847         (gst_data_queue_cleanup), (gst_data_queue_finalize),
6848         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6849         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6850         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6851         (gst_data_queue_set_flushing), (gst_data_queue_push),
6852         (gst_data_queue_pop), (gst_data_queue_drop_head),
6853         (gst_data_queue_set_property), (gst_data_queue_get_property):
6854         * libs/gst/base/gstdataqueue.h:
6855         New GstDataQueue object for threadsafe queueing. Most useful for
6856         elements that need some queueing functionnality.
6857         * docs/libs/gstreamer-libs-docs.sgml:
6858         * docs/libs/gstreamer-libs-sections.txt:
6859         Insert documentation for GstDataQueue
6860         * plugins/elements/Makefile.am:
6861         * plugins/elements/gstelements.c:
6862         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6863         (gst_multi_queue_class_init), (gst_multi_queue_init),
6864         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6865         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6866         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6867         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6868         (gst_multi_queue_loop), (gst_multi_queue_chain),
6869         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6870         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6871         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6872         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6873         (wake_up_next_non_linked), (compute_next_non_linked),
6874         (single_queue_overrun_cb), (single_queue_underrun_cb),
6875         (single_queue_check_full), (gst_single_queue_new):
6876         * plugins/elements/gstmultiqueue.h:
6877         New multiqueue element, using GstDataQueue. Used for queuing multiple
6878         streams.
6879         Closes #344639 and #347785
6880
6881 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
6882
6883         * docs/pwg/advanced-types.xml:
6884           add more missing type details
6885
6886         * tools/gst-run.c: (main):
6887           remove unused variable
6888
6889 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
6890
6891         * docs/libs/Makefile.am:
6892         * docs/libs/gstreamer-libs.types:
6893           add types of base classes to enable gobject specific stuff in the docs
6894
6895         * docs/random/ensonic/embedded.txt:
6896           more ideas about isolating platform specific things
6897
6898 2006-11-20  Wim Taymans  <wim@fluendo.com>
6899
6900         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6901
6902         * libs/gst/check/gstcheck.h:
6903         Fix compilation and running against 0.9.4. Fixes #377332.
6904
6905 2006-11-20  Wim Taymans  <wim@fluendo.com>
6906
6907         * gst/gstsegment.c: (gst_segment_set_seek),
6908         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6909         (gst_segment_to_running_time):
6910         Fix boundary checking in to_running_time() and to_stream_time().
6911         Fixes #377183.
6912
6913         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6914         stream and running time can now be calculated for the complete
6915         clipped segment.
6916
6917 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
6918
6919         * gst/gstpad.c: (gst_pad_push_event):
6920           Can't access event structure after giving away ownership of
6921           the event.
6922
6923 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
6924
6925         * docs/random/ensonic/embedded.txt:
6926         * docs/random/ensonic/profiling.txt:
6927         * docs/random/ensonic/receipies.txt:
6928           more thinking
6929
6930 2006-11-13  Wim Taymans  <wim@fluendo.com>
6931
6932         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6933
6934         * gst/gstpad.c:
6935         Fix documentation for gst_pad_dispatcher. Fixes #374475.
6936
6937 2006-11-13  Wim Taymans  <wim@fluendo.com>
6938
6939         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6940
6941         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6942         Store new length in segment duration so we don't keep on calling the
6943         potentially expensize get_size() call. Fixes #370865.
6944
6945 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6946
6947         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6948
6949         * win32/common/libgstreamer.def:
6950           Add two missing symbols (#366492).
6951
6952 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6953
6954         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6955         (gst_adapter_take_buffer):
6956         Fix format string to use all its arguments.
6957         Remove useless >= check on a guint
6958
6959 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6960
6961         * tests/examples/adapter/.cvsignore:
6962         Ignore build file as commanded by the build-bot
6963
6964 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6965
6966         * tests/examples/adapter/Makefile.am:
6967         * tests/examples/adapter/adapter_test.c: (run_test_take),
6968         (run_test_take_buffer), (run_tests), (main):
6969
6970         Add new files from the previous commit
6971
6972 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6973
6974         * Makefile.am:
6975         * configure.ac:
6976         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6977         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6978         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6979         * libs/gst/base/gstadapter.h:
6980         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6981         (GST_START_TEST), (gst_adapter_suite):
6982         * tests/examples/Makefile.am:
6983         Do some optimisation work in GstAdapter to avoid copies in more cases.
6984         It could still do slightly better by merging buffers when
6985         gst_buffer_is_span_fast is true, but is already faster. 
6986
6987         Also, avoid traversing a single-linked list to append each incoming 
6988         buffer inside the adapter.
6989
6990         Add simple test app that times the adapter behaviour in different
6991         situations, and extend the unit test to check that bytes enter and
6992         exit the adapter in their original order.
6993
6994 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
6995
6996         * docs/random/draft-missing-plugins.txt:
6997           Update: use element message instead of adding a new message
6998           type to the core; don't provide GStreamer API to initiate the
6999           plugin download, just provide API to compose the strings needed
7000           and let an external libgimmestuff handle the rest.
7001
7002 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
7003
7004         * tools/gst-inspect.c: (print_element_properties_info):
7005         Print a string instead of 'unknown type' for GValueArray properties
7006
7007 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
7008
7009         * docs/random/draft-missing-plugins.txt:
7010         More small fixes.
7011
7012 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7013
7014         * tests/examples/typefind/typefind.c: (type_found), (main):
7015           Make typefind element example work again (#371894); add a
7016           license header.
7017
7018 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7019
7020         * docs/random/draft-missing-plugins.txt:
7021           Commit initial draft about how to deal with missing plugins,
7022           needs work (API too).
7023
7024 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
7025
7026         * docs/pwg/advanced-types.xml:
7027           documents the new caps elements (see #363118)
7028
7029 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7030
7031         * gst/gstplugin.c: (gst_plugin_load_file):
7032         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
7033         (gst_file_src_map_region), (gst_file_src_start):
7034         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
7035         (gst_file_index_commit):
7036           Use g_strerror() instead of strerror() - we want UTF-8.
7037
7038 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
7039
7040         Patch by: Peter Kjellerstedt <pkj at axis com>
7041
7042         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7043           Another printf fix (#371493).
7044
7045 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7046
7047         * tests/check/gst/gsttag.c:
7048           relicence (okay with author=company)
7049
7050 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7051
7052         * gst/gstpad.c: (gst_pad_event_default_dispatch),
7053         (gst_pad_push_event):
7054           Enhance debug and improve docs
7055         
7056         * gst/gsturi.c:
7057           Fix docs
7058
7059 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7060
7061         * docs/random/ensonic/distributed.txt:
7062         * docs/random/ensonic/profiling.txt:
7063           more ideas
7064
7065 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
7066
7067         * docs/gst/gstreamer-sections.txt:
7068           add new API and fix the build
7069           
7070         * gst/gstbin.c: (gst_bin_recalc_state):
7071         * gst/gstelement.c: (gst_element_message_full),
7072         (gst_element_get_state_func), (gst_element_set_state_func):
7073           use new API and improve logging
7074         
7075         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7076         * gst/gstutils.h:
7077           API: add function to get StateChangereturn names to improve logs 
7078
7079 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7080
7081         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7082           I'm considering shooting the next person to put strerror stuff
7083           in the translateable part of the message.
7084
7085 2006-11-03  Wim Taymans  <wim@fluendo.com>
7086
7087         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7088         Get the type and printf conversion specifiers right.
7089
7090 2006-11-03  Wim Taymans  <wim@fluendo.com>
7091
7092         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7093
7094         * gst/gstpad.c: (gst_pad_init), (pre_activate),
7095         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
7096         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
7097         Some small cleanups. Improve debugging.
7098         * gst/gstpad.h:
7099         Signal all waiting threads with a broadcast instead of just one.
7100         Fixes #369942.
7101
7102 2006-11-03  Wim Taymans  <wim@fluendo.com>
7103
7104         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
7105         (gst_fd_src_create):
7106         Add some debugging. 
7107         Only update fd when it's different from the old.
7108
7109 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7110
7111         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
7112           Printf fixes for PPC/OSX, take two (#369366).
7113
7114 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7115
7116         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
7117
7118         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
7119         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
7120         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
7121           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
7122           don't cast to long long for portability reasons, but use
7123           GLib's types instead.
7124
7125 2006-10-30  Michael Smith  <msmith@fluendo.com>
7126
7127         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7128           Get the arguments to lseek() the right way around.
7129           Fixes 367677.
7130
7131 2006-10-30  Wim Taymans  <wim@fluendo.com>
7132
7133         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
7134
7135         * gst/gstinfo.h:
7136         _declspec should be __declspec (two underscores, not one). Fixes 366572.
7137
7138 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7139
7140         Patch by: Kjartan Maraas  <kmaraas at gnome org>
7141
7142         * docs/design/part-MT-refcounting.txt:
7143         * docs/random/wtay/capsnego2-docs:
7144         * gst/gstclock.c:
7145         * gst/gstxml.c:
7146           Typo fixes (#366212).
7147
7148 2006-10-28  Wim Taymans  <wim@fluendo.com>
7149
7150         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7151
7152         * gst/gst.c:
7153         * win32/common/libgstbase.def:
7154         * win32/common/libgstreamer.def:
7155         * win32/vs8/libgstbase.vcproj:
7156         * win32/vs8/libgstcontroller.vcproj:
7157         Add needed entries in .def files.
7158         Use HAVE_UNISTD_H.
7159         Rearrange def files in vs8 solutions. Fixes #366286.
7160
7161 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
7162
7163         * win32/common/gstconfig.h:
7164           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
7165           hand-made win32 gstconfig.h. Fixes #366321.
7166
7167 2006-10-27  Wim Taymans  <wim@fluendo.com>
7168
7169         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
7170         (gst_ghost_pad_new_full):
7171         Make acceptcaps return TRUE when we don't have a target, just like
7172         setcaps does.
7173
7174 2006-10-27  Wim Taymans  <wim@fluendo.com>
7175
7176         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7177         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
7178
7179 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
7180
7181         * gst/gststructure.c: (gst_structure_id_set_value):
7182           If someone tries to set a non-UTF8 string field on a structure,
7183           don't just print a warning, but also ignore the request and do
7184           not change/add that field to the structure.
7185
7186         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7187           Test for the above.
7188
7189 2006-10-25  David Schleef  <ds@schleef.org>
7190
7191         * gst/gstinfo.c:
7192           g_hash_table_insert() needs a cast to a non-const pointer duh.
7193
7194 2006-10-25  David Schleef  <ds@schleef.org>
7195
7196         * gst/gstinfo.c:
7197         * gst/gstinfo.h:
7198           Change name parameter of _gst_debug_register_funcptr to const
7199           to reflect the constness of its use in the function as well
7200           as to quiet a gcc warning.
7201
7202 2006-10-25  Edward Hervey  <edward@fluendo.com>
7203
7204         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
7205         Don't push the buffer if it's empty.
7206         Closes #363095
7207
7208 2006-10-24  Wim Taymans  <wim@fluendo.com>
7209
7210         * gst/gstevent.h:
7211         Add small comment.
7212
7213         * libs/gst/base/gstbasetransform.c:
7214         (gst_base_transform_sink_eventfunc):
7215         Debug segment values *after* updating them as this is more
7216         interesting.
7217
7218 2006-10-23  Wim Taymans  <wim@fluendo.com>
7219
7220         * docs/design/part-events.txt:
7221         Update some docs.
7222
7223         * docs/design/part-block.txt:
7224         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7225         (gst_pad_push_event):
7226         Revert BLOCKING patch, it tries to be smart without really having a
7227         clear idea what or how. So, now we discard all FLUSHING events again on
7228         a blocking pad. Should fix gnonlin again.
7229
7230 2006-10-23  Wim Taymans  <wim@fluendo.com>
7231
7232         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7233
7234         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7235         (gst_base_src_start), (gst_base_src_activate_push):
7236         Make sure size is always initialized. Fixes #364388.
7237
7238 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
7239
7240         * docs/random/ensonic/distributed.txt:
7241           add some ideas about doing distributed processing
7242
7243         * docs/random/ensonic/profiling.txt:
7244           get_rusage look promising
7245
7246 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7247
7248         * docs/manual/basics-helloworld.xml:
7249           Add a cast in example to fix compile warning
7250
7251 2006-10-18  Wim Taymans  <wim@fluendo.com>
7252
7253         * gst/gstsegment.c: (gst_segment_set_last_stop),
7254         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7255         Relax arg checking again, -1 is allowed.
7256
7257 2006-10-18  Wim Taymans  <wim@fluendo.com>
7258
7259         * gst/gstsegment.c: (gst_segment_set_last_stop),
7260         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
7261         _set_last_stop() must be with a value != -1
7262         A _TYPE_SET to -1 means seek to 0.
7263         Calc last_stop correctly for negative rates.
7264         Make sure we work with positive durations when updating a segment.
7265
7266 2006-10-18  Wim Taymans  <wim@fluendo.com>
7267
7268         * docs/design/part-live-source.txt:
7269         * gst/gstclock.h:
7270         Small docs fixes.
7271
7272 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
7273
7274         * gst/gstbuffer.h:
7275           Add an explicit cast to GstBuffer** to keep old code that added an
7276           explicit cast to GstMiniObject** for gst_mini_object_replace()
7277           compiling without warning.
7278
7279 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
7280
7281         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
7282           check for validity of dates
7283
7284 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7285
7286         * docs/gst/gstreamer-sections.txt:
7287           Forgot this one, makes gtk-doc shut up.
7288
7289 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7290
7291         Patch by: Peter Kjellerstedt <pkj at axis com>
7292
7293         * gst/gstobject.h:
7294           Don't define xmlNodePtr to gpointer if the core was built with
7295           --disable-loadsave and --disable-registry, this will break
7296           applications that want to use libxml2 but are buildling against a
7297           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
7298           instead so we don't have to mess with the libxml2 namespace
7299           (#361675).
7300
7301 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
7302
7303         * gst/gstbuffer.h:
7304           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
7305           type-punned pointer warnings.
7306
7307 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * gst/gstelement.h:
7310           Add casts to the correct return type to state <=> state transition
7311           macros.
7312
7313 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
7314
7315         * docs/design/part-live-source.txt:
7316           describe howto handle latency
7317         
7318         * docs/random/ensonic/profiling.txt:
7319           more ideas
7320
7321         * tools/gst-plot-timeline.py:
7322           fix log parsing for solaris, remove unused function
7323
7324 2006-10-16  Wim Taymans  <wim@fluendo.com>
7325
7326         * docs/design/part-trickmodes.txt:
7327         * gst/gstevent.c:
7328         Update some docs regarding reverse playback.
7329
7330 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         Patch by: Marcus Granado  <mrc dot gran at gmail com>
7333
7334         * win32/vs8/grammar.vcproj:
7335           Error out with a warning if glib-genmarshal.exe is not in path,
7336           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
7337
7338 2006-10-13  Wim Taymans  <wim@fluendo.com>
7339
7340         * gst/gstsegment.c: (gst_segment_set_seek):
7341         When seeking to stop -1, set last_stop (current position) to the
7342         duration of the segment.
7343
7344 2006-10-13  Wim Taymans  <wim@fluendo.com>
7345
7346         * gst/gstelement.h:
7347         Clarify _NO_PREROLL a bit more.
7348
7349         * gst/gstevent.c:
7350         Fix docs.
7351
7352         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
7353         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
7354         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
7355         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
7356         due to wrong locking order. Fixes #361769.
7357         Remove some redundant/misplaced checks in pad_block.
7358
7359         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7360         For negative rates, count backwards from the duration.
7361
7362 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
7363
7364         * gst/gsterror.c: (_gst_library_errors_init):
7365           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
7366           up with something better).
7367
7368 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7369
7370         * win32/vs6/libgstreamer.dsp:
7371         * win32/vs7/libgstreamer.vcproj:
7372         * win32/vs8/libgstreamer.vcproj:
7373           Don't reference glib-compat.c which is currently not used and not
7374           disted; add gstquark.c which was recently added. Fixes #361730.
7375
7376 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
7377
7378         * win32/common/libgstbase.def:
7379         * win32/common/libgstcontroller.def:
7380         * win32/common/libgstreamer.def:
7381           Add gst_caps_merge() and a bunch of other recently-added functions.
7382           Fixes #361732.
7383
7384 2006-10-11  Wim Taymans  <wim@fluendo.com>
7385
7386         * docs/plugins/gstreamer-plugins.args:
7387         * docs/plugins/inspect/plugin-coreelements.xml:
7388         * docs/plugins/inspect/plugin-coreindexers.xml:
7389         Update element args.
7390
7391         * gst/gstsystemclock.c:
7392         Small comment update.
7393
7394         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7395         (gst_tee_request_new_pad), (gst_tee_release_pad),
7396         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
7397         (gst_tee_sink_activate_pull):
7398         * plugins/elements/gsttee.h:
7399         Some tee loving:
7400         Add default property defines.
7401         Implement release pad function.
7402         Give properties better blubs etc.
7403         Activate pads before adding them to a running tee.
7404         Do simple buffer_alloc on the first requested pad.
7405         Post error when activation fails.
7406
7407 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7408
7409         * gst/gst.c: (ensure_current_registry_forking):
7410           Check return value of write() to make compiler happy.
7411
7412 2006-10-11  Wim Taymans  <wim@fluendo.com>
7413
7414         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7415
7416         * plugins/elements/gstqueue.c: (gst_queue_chain):
7417         Recheck queue filledness after signalling the overrun when we're about
7418         to leak downstream because we released the lock when emitting the signal
7419         and the queue could be empty again. Fixes #352345.
7420
7421 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
7422
7423         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
7424           Fix refcounting here too, just like we did for _new_valist() a few
7425           days ago (#357180) (thanks to René Stadler). Also remove all those
7426           'Since: 0.9' from the gtk-doc blobs.
7427
7428         * tests/check/libs/controller.c: (controller_refcount_new_list),
7429         (gst_controller_suite):
7430           Unit test for the above.
7431
7432 2006-10-10  Wim Taymans  <wim@fluendo.com>
7433
7434         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
7435
7436         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
7437         (gst_pad_save_thyself):
7438         Update some docs.
7439         Write pad direction in XML output. Fixes #345496.
7440
7441 2006-10-10  Wim Taymans  <wim@fluendo.com>
7442
7443         Patch by: René Stadler <mail at renestadler dot de>
7444
7445         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7446         (gst_controller_new_list), (_gst_controller_dispose),
7447         (_gst_controller_finalize), (_gst_controller_class_init):
7448         Take ref to controlled object so that it cannot disappear. 
7449         Fixes #357432.
7450
7451 2006-10-10  Wim Taymans  <wim@fluendo.com>
7452
7453         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7454         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7455         (gst_check_teardown_sink_pad):
7456         Activate/deactivate pads in setup/teardown respectively.
7457
7458 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7459
7460         Patch by: Josep Torra Valles <josep@fluendo.com>
7461
7462         * gst/Makefile.am:
7463         Cast values when making gstenumtypes.h.  This pacifies Forte
7464         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
7465         in the enumeration.
7466
7467 2006-10-09  Wim Taymans  <wim@fluendo.com>
7468
7469         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
7470         Rename some more @cur to @start to fix docs. 
7471
7472         * gst/gstsegment.c: (gst_segment_set_seek):
7473         Fix typo.
7474         time and start must always stay in sync as defined in design doc.
7475
7476         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7477         Rename param to fix docs.
7478
7479         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7480         Check that start and time are in sync.
7481
7482         * tests/check/pipelines/parse-launch.c:
7483         (gst_parse_test_element_change_state):
7484         Activate pad before adding to the element.
7485
7486 2006-10-09  Wim Taymans  <wim@fluendo.com>
7487
7488         * docs/design/part-qos.txt:
7489         Fix typo.
7490
7491         * gst/gstevent.c:
7492         * gst/gstevent.h:
7493         Update seek event docs regarding negative rates.
7494         Rename @cur to @start. 
7495
7496         * gst/gstsegment.c: (gst_segment_set_seek):
7497         * gst/gstsegment.h:
7498         Update set_seek docs regarding negative rates.
7499         Correctly update last_stop to @stop when dealing with negative
7500         rates.
7501         Rename @cur to @start. 
7502
7503         * tests/check/gst/gstpad.c: (GST_START_TEST):
7504         Activate pads before trying to use them.
7505
7506         * tests/check/gst/gstsegment.c: (GST_START_TEST),
7507         (gst_segment_suite):
7508         Add simple check for segments and negative rates.
7509
7510 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
7511
7512         * gst/gsttaglist.c: (gst_tag_list_is_empty):
7513         * gst/gsttaglist.h:
7514         * docs/gst/gstreamer-sections.txt:
7515           API: add gst_tag_list_is_empty() (#360467).
7516
7517         * tests/check/gst/gsttag.c: (GST_START_TEST):
7518           And a test case.
7519
7520 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7521
7522         * gst/gstmessage.h:
7523         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
7524         a value that doesn't fit on enumeration.
7525
7526 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7527
7528         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7529         Remove local debugging system and use Gstreamer's instead.
7530
7531 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7532
7533         Patch by: Josep Torra Valles <josep@fluendo.com>
7534
7535         * common/m4/gst-error.m4:
7536         Disable warning of statement not reached on Forte.
7537         * gst/gstmessage.h:
7538         Fix warning on Forte (value doesn't fit on enumeration).
7539         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
7540         Fix warning on Forte (value doesn't fit on enumeration).
7541         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7542         DEBUG macro says it takes minimum of 2 args and so Forte
7543         complains about the use with just 1 arg.
7544         * plugins/elements/gstfdsink.c:
7545         * plugins/elements/gstfdsrc.c:
7546         * plugins/elements/gstfilesink.c:
7547         * plugins/elements/gstfilesrc.c:
7548         Use correct return type for the uri handler implementations.
7549
7550         All these fix warnings in Forte.  Fixes bug #360860.
7551
7552 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
7553
7554         * gst/gstelement.h:
7555           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
7556           format string, so don't use G_GNUC_PRINTF for those versions.
7557
7558 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7559
7560         * gst/gsttaglist.c: (gst_is_tag_list):
7561         * gst/gsttaglist.h:
7562           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
7563
7564         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7565           Small test for the above.
7566
7567 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
7568
7569         * gst/gsttaglist.h:
7570           Less tabs, more spaces.
7571
7572 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
7573
7574         * gst/gstinfo.h:
7575           Those two function declarations do actually belong there, revert
7576           commit from yesterday that turned them intro macros.
7577
7578 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7579
7580         Patch by: Josep Torra Valles <josep@fluendo.com>
7581
7582         * gst/gst.c: (gst_init_get_option_group):
7583         Fix empty declaration and type mismatch.
7584         * gst/gstbin.c: (gst_bin_change_state_func):
7585         Fix type mismatch.
7586         * gst/gstelement.c: (gst_element_continue_state),
7587         (gst_element_set_state_func), (gst_element_change_state),
7588         (gst_element_change_state_func):
7589         Fix type mismatches.
7590         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
7591         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
7592         Cast as appropriate.
7593         * gst/gstobject.c: (gst_class_signal_connect):
7594         Cast as appropriate.  The function pointer parameter really
7595         has the wrong type but would break API if we change it.
7596         * gst/gstquery.c:
7597         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
7598         order of including string.h.
7599         * gst/gstutils.c: (gst_element_state_get_name):
7600         Remove unreachable line.
7601         * gst/gstxml.c: (gst_xml_parse_doc):
7602         Fix type mismatch.
7603         All these caught by Forte.
7604
7605 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7606
7607         Patch by: Josep Torra Valles <josep@fluendo.com>
7608
7609         * common/m4/gst-error.m4:
7610         Fixed bug #360151.
7611         We need to disable warnings on Forte for empty declarations
7612         due to gst-indent adding ;s to lines that just use macros
7613         where the macro actually doesn't need a ; at end to end
7614         statement.
7615
7616 2006-10-06  Wim Taymans  <wim@fluendo.com>
7617
7618         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
7619         (gst_file_sink_close_file), (gst_file_sink_event),
7620         (gst_file_sink_render):
7621         Add some FIXME for the NEWSEGMENT handling.
7622
7623 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7624
7625         * gst/parse/grammar.y:
7626         Remove static function gst_parse_element_lock as all it does
7627         is return.  Looks like cruft from 0.8.
7628
7629 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7630
7631         Patch by: Josep Torra Valles <josep@fluendo.com>
7632
7633         * common/m4/gst-error.m4:
7634         * configure.ac:
7635         * libs/gst/net/Makefile.am:
7636         Fix a compilation issue with Forte on Solaris.  inet_aton is in
7637         libresolv.
7638
7639 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7640
7641         * gst/gstpad.c: (pre_activate):
7642         * gst/gstregistry.c: (gst_registry_scan_path_level):
7643         * gst/gstregistryxml.c: (load_plugin):
7644         * libs/gst/controller/gstcontroller.c:
7645         (gst_controlled_property_set_interpolation_mode):
7646         * libs/gst/dataprotocol/dataprotocol.c:
7647         (gst_dp_packet_from_event_1_0):
7648         * libs/gst/net/gstnetclientclock.c:
7649         (gst_net_client_clock_observe_times):
7650         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
7651           Printf fixes.
7652
7653 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
7654
7655         * configure.ac:
7656         * docs/gst/gstreamer-sections.txt:
7657         * gst/gstconfig.h.in:
7658         * gst/gstelement.h:
7659         * gst/gstinfo.h:
7660           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
7661           whether we can use G_GNUC_PRINTF in other header files and at
7662           least check the printf format/arguments of debug messages and
7663           GST_ELEMENT_ERROR messages when the printf extension is not
7664           being used.
7665           Replace more tabs with spaces in gstinfo.h and remove two spurious
7666           function declarations in GST_DISABLE_DEBUG part with macros.
7667
7668 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
7669
7670         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
7671           More docs for the sync-message signal (mention that it is not
7672           emitted by default); log message structures of messages posted on
7673           the bus as well.
7674
7675 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
7676
7677         * gst/gst.c: (ensure_current_registry_forking):
7678         Use a pipe pair to receive status results from the forked child, and
7679         ignore the result from waitpid. Fixes #355499
7680
7681 2006-10-02  Wim Taymans  <wim@fluendo.com>
7682
7683         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7684         (gst_ghost_pad_suite):
7685         Fix leak in check.
7686
7687 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7688
7689         * gst/gstpad.c:
7690           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
7691
7692 2006-10-02  Edward Hervey  <edward@fluendo.com>
7693
7694         * docs/design/part-block.txt:
7695         Further explain the use of flushing on blocked pads.
7696         * docs/gst/gstreamer-sections.txt:
7697         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
7698         (gst_pad_push_event):
7699         * gst/gstpad.h:
7700         Added new GstPadFlag : GST_PAD_BLOCKING.
7701         Adds the notion of pads really blocking, which enables to properly
7702         handle FLUSH_START/FLUSH_STOP events on blocked pads.
7703         Fixes #358999
7704         API: gst_pad_is_blocking()
7705         API: GST_PAD_IS_BLOCKING() macro
7706         API: GST_PAD_BLOCKING GstPadFlag
7707         
7708 2006-10-02  Wim Taymans  <wim@fluendo.com>
7709
7710         Patch by: mrcgran <mrc.gran at gmail dot com>
7711
7712         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
7713         Filter the proxied caps against the padtemplate if we have one.
7714
7715         * gst/gstquery.c: (gst_query_new_segment):
7716         Add include for gstinfo.h so that compilation with
7717         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
7718
7719 2006-10-02  Wim Taymans  <wim@fluendo.com>
7720
7721         Patch by: Alessandro Decina  <alessandro at nnva org>
7722
7723         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
7724         (gst_file_sink_set_location), (gst_file_sink_open_file),
7725         (gst_file_sink_close_file), (gst_file_sink_event),
7726         (gst_file_sink_render):
7727         Set file to NULL when closing filesink so that we can set a new filename
7728         in READY. Fixes #358613.
7729
7730 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
7731
7732         Patch by: Alessandro Decina  <alessandro at nnva org>
7733
7734         * gst/gstevent.c: (_gst_event_copy):
7735           Fix gst_mini_object_make_writable() and gst_event_copy() for events
7736           with event structures by setting the parent refcount address of the
7737           copied structure to the address of the refcount member of the newly
7738           copied event rather than the address of the refcount member of the
7739           original event. Fixes #358737.
7740
7741         * tests/check/gst/gstevent.c: (GST_START_TEST):
7742           Unit test for the above.
7743
7744 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
7745
7746         * docs/design/Makefile.am:
7747           Dist some more files.
7748
7749 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7750
7751         * tests/check/libs/controller.c: (GST_START_TEST),
7752         (gst_controller_suite):
7753           Add test for the previous fix; add some more tests
7754           for correct refcounting behaviour; fix a few leaks
7755           in test cases; call gst_controller_init() at start
7756           of all tests.
7757
7758 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
7759
7760         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7761         (gst_controller_set_from_list):
7762           Don't g_return_val_if_fail() on timed values with invalid timestamps
7763           inside a critical section without unlocking the mutex. Spotted by
7764           René Stadler. (#357617)
7765           Also, fix up refcounting properly: when returning an existing
7766           controller, we should increase the reference only once and not
7767           once per property and when trying to control a property again
7768           we should also increase the refcount.
7769
7770 2006-09-29  Wim Taymans  <wim@fluendo.com>
7771
7772         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7773         * libs/gst/net/gstnettimeprovider.c:
7774         (gst_net_time_provider_thread):
7775         Stop reading commands when EOF as well.
7776
7777         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
7778         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
7779         * plugins/elements/gstidentity.c: (gst_identity_class_init):
7780         Unify description of the dump property.
7781
7782 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7783
7784         * tests/examples/manual/.cvsignore:
7785         OK, so it's actually cvsignore that needs changing. Stop laughing.
7786
7787 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7788
7789         * tests/examples/manual/Makefile.am:
7790         Gah, declare vars *before* using them
7791
7792 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7793
7794         * gst/gst.c: (init_pre), (scan_and_update_registry),
7795         (ensure_current_registry_nonforking),
7796         (ensure_current_registry_forking), (ensure_current_registry),
7797         (init_post), (gst_debug_help), (gst_deinit):
7798         * gst/gst_private.h:
7799         * gst/gstregistry.c: (gst_registry_finalize),
7800         (gst_registry_remove_features_for_plugin_unlocked),
7801         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7802         (gst_registry_scan_path),
7803         (_priv_gst_registry_remove_cache_plugins),
7804         (_priv_gst_registry_cleanup):
7805         * gst/gstregistry.h:
7806         Re-commit the registry changes, along with an extra fix:
7807           When a cached plugin is encountered at a different file path,
7808           update the stored path in the registry cache so that the parent
7809           process knows where it actually is now when it re-reads the registry
7810           cache. Fixes the thing that broke distcheck with the previous commit.
7811
7812         * tests/check/Makefile.am:
7813         Clean up files named 'core' too when running make clean.
7814
7815         * tests/examples/manual/Makefile.am:
7816         Set up a registry path for running these tests, and clean it properly
7817         for distcheck.
7818
7819 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7820
7821         * configure.ac:
7822         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7823         want gmodule-no-export-2.0.pc instead so that we don't drag in
7824         --export-dynamic on every project that links to GStreamer.
7825
7826         Also, make our export regex only match the start of symbols, rather 
7827         than any symbol that contains '_gst' somewhere.
7828
7829         * libs/gst/check/Makefile.am:
7830         The libgstcheck we build does however need export-dynamic, as it
7831         produces some symbols that don't match our _gst... style regex.
7832         Fixes: #318031
7833
7834 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7835
7836         * gst/gst.c: (init_pre), (scan_and_update_registry),
7837         (ensure_current_registry_nonforking),
7838         (ensure_current_registry_forking), (ensure_current_registry),
7839         (init_post), (gst_debug_help), (gst_deinit):
7840         * gst/gst_private.h:
7841         * gst/gstregistry.c: (gst_registry_finalize),
7842         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7843         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7844         (_gst_registry_cleanup):
7845         * gst/gstregistry.h:
7846           Revert previous change until I figure out why it breaks distcheck.
7847
7848 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7849
7850         * gst/gst.c: (init_pre), (scan_and_update_registry),
7851         (ensure_current_registry_nonforking),
7852         (ensure_current_registry_forking), (ensure_current_registry),
7853         (init_post), (gst_debug_help), (gst_deinit):
7854
7855           Make init_pre and init_post take the full complement of GOptionFunc
7856           args so they can return useful GErrors. Make the registry updating
7857           functions do so.
7858
7859           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7860           ensure that the registry we're about to write out doesn't contain
7861           stale information about old-deleted plugin files.
7862
7863           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7864           that deletion of plugin files is considered a registry change.
7865
7866         * gst/gst_private.h:
7867         * gst/gstregistry.c: (gst_registry_finalize),
7868         (gst_registry_remove_features_for_plugin_unlocked),
7869         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7870         (gst_registry_scan_path),
7871         (_priv_gst_registry_remove_cache_plugins),
7872         (_priv_gst_registry_cleanup):
7873         * gst/gstregistry.h:
7874         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7875         by adding _priv prefix, so that they won't appear in the global
7876         symbol table. They still do atm though because of #318031. Move the
7877         prototypes to gst_private.h
7878
7879         When removing a plugin, remove all features for that plugin too. 
7880         Fixes #340878.
7881
7882 2006-09-27  Wim Taymans  <wim@fluendo.com>
7883
7884         * docs/random/moving-plugins:
7885         Make it clear that the "compiled-in descriptions" really mean
7886         the element details.
7887
7888         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7889         (gst_base_sink_wait_preroll):
7890         Update docs.
7891
7892         * docs/libs/gstreamer-libs-sections.txt:
7893         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7894         (gst_base_src_get_range), (gst_base_src_activate_push):
7895         * libs/gst/base/gstbasesrc.h:
7896         Added function to block while waiting for PLAYING, this function
7897         is used by live sources that block on the clock.
7898         API: gst_base_src_wait_playing()
7899
7900 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7901
7902         Patch by: Peter Kjellerstedt <pkj at axis com>
7903
7904         * Makefile.am:
7905           gst-element-check.m4 is generated and should therefore be
7906           copied from the build dir rather than the source dir (#357593).
7907           'make distcheck' hasn't noticed this because we were disting
7908           the file as well, so stop doing that.
7909
7910 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7911
7912         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7913           Add some tests for gst_caps_intersect().
7914
7915         * tools/gst-launch.c: (event_loop):
7916           Print all buffering percentages we get, even the 100% one.
7917
7918 2006-09-26  Wim Taymans  <wim@fluendo.com>
7919
7920         * tools/gst-inspect.c: (print_element_properties_info),
7921         (print_signal_info):
7922         Fix printing of flags to match the look of enums.
7923
7924 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7925
7926         * gst/gstelementfactory.c:
7927           Fix typo in docs blurb.
7928
7929 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7930
7931         * gst/gsturi.c: (search_by_entry):
7932           Don't assert/crash here if a uri handler doesn't return any
7933           supported protocols. The list of protocols could be generated
7934           dynamically at runtime or at plugin registration, and an error
7935           in the underlying library shouldn't be fatal (#353301).
7936
7937 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7938
7939         * gst/gstinfo.c:
7940           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7941           (spotted by Peter Kjellerstedt).
7942
7943 2006-09-23  Wim Taymans  <wim@fluendo.com>
7944
7945         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7946
7947         * libs/gst/base/gstbasesrc.c:
7948         (gst_base_src_default_check_get_range), (gst_base_src_start),
7949         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7950         (gst_base_src_change_state):
7951         Match _start/_stop calls in the activate functions. Remove redundant
7952         _stop call from the state change function. Fixes #356910.
7953         Turn failure DEBUG into ERROR. 
7954
7955 2006-09-22  Wim Taymans  <wim@fluendo.com>
7956
7957         * docs/design/part-buffering.txt:
7958         * gst/gstmessage.c: (gst_message_new_buffering),
7959         (gst_message_parse_buffering):
7960         Update docs about buffering.
7961
7962         * docs/design/part-trickmodes.txt:
7963         Fix typo.
7964
7965 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7966
7967         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7968         (gst_controller_new_list):
7969           Ref instances when returning them again (fixes #357180)
7970
7971 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7974           Don't forget to release proxy lock when there's an error.
7975
7976 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7977
7978         * gst/gstcaps.h:
7979           Add extra initialisers for Caps things, to fix some plugin warnings
7980           when using -Wextra
7981
7982 2006-09-18  Wim Taymans  <wim@fluendo.com>
7983
7984         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7985           Also set template on the internal pad so that a getcaps from the 
7986           target pad returns the template caps.
7987
7988 2006-09-18  Wim Taymans  <wim@fluendo.com>
7989
7990         * gst/gstelement.c: (gst_element_post_message),
7991         (gst_element_dispose):
7992         Use _DEBUG_OBJECT some more.
7993
7994         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7995         Avoid typechecks.
7996
7997         * tools/gst-launch.c: (main):
7998         If the toplevel element is not a GstPipeline, it must be put in a
7999         pipeline so that a bus and clock is selected.
8000
8001 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8002
8003         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
8004           JITTER, RATE, and LATENCY query should be handled by the
8005           default case and not by the CONVERT query code.
8006
8007 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
8008
8009         * gst/gstformat.c: (gst_format_register):
8010           Fix locking order (must take lock before using n_values).
8011
8012         * gst/gstvalue.c: (gst_value_serialize_enum),
8013         (gst_value_deserialize_enum_iter_cmp),
8014         (gst_value_deserialize_enum):
8015           Fix serialisation/deserialisation of custom registered GstFormats.
8016
8017         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8018           Unit test for custom format serialisation/deserialisation.
8019
8020 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
8021
8022         * docs/pwg/building-boiler.xml:
8023         * plugins/elements/gstcapsfilter.c:
8024         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
8025         section.
8026
8027 2006-09-16  Edward Hervey  <edward@fluendo.com>
8028
8029         * libs/gst/base/gstbasetransform.c:
8030         (gst_base_transform_buffer_alloc):
8031         Check if requested caps are the same as the sinks caps IF
8032         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
8033         is FALSE.
8034         This fixes the renegotiation issues stated in #352827.
8035
8036 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8037
8038         * configure.ac:
8039         * docs/manual/advanced-autoplugging.xml:
8040         * tests/examples/Makefile.am:
8041         * tests/examples/manual/.cvsignore:
8042         * tests/examples/manual/Makefile.am:
8043         * tests/examples/manual/extract.pl:
8044           Extract the manual examples again like we used to do.
8045           Fix one of them.
8046
8047 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8048
8049         * win32/common/config.h:
8050           update for version
8051
8052 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
8053
8054         * gst/gsterror.c:
8055           Documents how to receive errors.
8056
8057 2006-09-15  Wim Taymans  <wim@fluendo.com>
8058
8059         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
8060         (event_loop), (main):
8061         Added some comments here and there.
8062         Post an application message when an interrupt is caught instead of doing
8063         an uncontrolled state change.
8064         Clean up the event loop.
8065         Handle buffering messages, pause/resume the pipeline.
8066         Make shutdown because of an interrupt more reliable.
8067
8068 2006-09-15  Wim Taymans  <wim@fluendo.com>
8069
8070         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8071         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
8072         (gst_base_sink_preroll_object):
8073         Make sure that our internal state is correct when we commit our state
8074         asynchronously. This solves a race where a state change to PLAYING
8075         could cause the sink to remain blocked in preroll in some situations.
8076
8077 2006-09-15  Wim Taymans  <wim@fluendo.com>
8078
8079         * tools/gst-inspect.c: (print_element_properties_info),
8080         (print_signal_info):
8081         List flags as hex so it's easier to deal with.
8082
8083 2006-09-15  Wim Taymans  <wim@fluendo.com>
8084
8085         * docs/libs/gstreamer-libs-sections.txt:
8086         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
8087         (gst_base_sink_do_sync):
8088         * libs/gst/base/gstbasesink.h:
8089         Expose logic to wait for preroll so that subclasses such as audiosink
8090         can also use this method.
8091         API: gst_base_sink_wait_preroll()
8092
8093 2006-09-15  Wim Taymans  <wim@fluendo.com>
8094
8095         * gst/gstobject.c: (gst_object_set_parent):
8096         * gst/gstpipeline.c: (do_pipeline_seek):
8097         Small cleanups in docs and code.
8098
8099         * gst/gstsegment.c: (gst_segment_clip):
8100         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8101         if stop == start and start is in the segment, no clipping should be
8102         done. Also add a test for this.
8103
8104 2006-09-15  Wim Taymans  <wim@fluendo.com>
8105
8106         * docs/design/part-buffering.txt:
8107         * docs/gst/gstreamer-sections.txt:
8108         * gst/gstmessage.c: (gst_message_new_buffering),
8109         (gst_message_parse_buffering):
8110         * gst/gstmessage.h:
8111         Added methods to create and parse BUFFERING messages.
8112         Added preliminary docs about buffering.
8113         API: gst_message_new_buffering
8114         API: gst_message_parse_buffering
8115
8116 2006-09-06  Wim Taymans  <wim@fluendo.com>
8117
8118         * gst/gstbin.c:
8119         Update documentation.
8120
8121         * gst/gstelement.c: (gst_element_class_init),
8122         (gst_element_release_request_pad), (gst_element_set_clock),
8123         (gst_element_get_index), (gst_element_add_pad),
8124         (gst_element_remove_pad), (gst_element_get_random_pad),
8125         (gst_element_send_event), (gst_element_get_query_types),
8126         (gst_element_query), (gst_element_post_message),
8127         (gst_element_message_full), (gst_element_continue_state),
8128         (gst_element_lost_state), (gst_element_save_thyself),
8129         (gst_element_restore_thyself):
8130         Documentation updates.
8131         Rename last bit of the new-pad -> pad-added signal rename.
8132         Fix the case where an element query would only work if the source
8133         pad was linked.
8134         Avoid some useless type checking in message handling.
8135
8136         * gst/gstevent.c:
8137         * gst/gstevent.h:
8138         * gst/gstutils.c:
8139         Documentation updates.
8140
8141 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8142
8143         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8144           add an INFO line for when we actually update the fd
8145
8146 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8147
8148         * configure.ac:
8149           back to TRUNK
8150
8151 === release 0.10.10 ===
8152
8153 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
8154
8155         * configure.ac:
8156           releasing 0.10.10, "Pais"
8157
8158 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
8159
8160         * docs/manual/advanced-position.xml:
8161           Fix typo in sample code.
8162
8163 2006-09-05  Wim Taymans  <wim@fluendo.com>
8164
8165         * libs/gst/net/gstnetclientclock.c: (inet_aton),
8166         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8167         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
8168         * libs/gst/net/gstnetclientclock.h:
8169         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
8170         * libs/gst/net/gstnettimepacket.h:
8171         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
8172         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
8173         (gst_net_time_provider_thread), (gst_net_time_provider_new):
8174         * libs/gst/net/gstnettimeprovider.h:
8175         Make stuff compile on windows. Fixes #345295.
8176
8177 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8178
8179         * gst/gst.c: (ensure_current_registry_forking):
8180           Print better details when child was terminated by signal.
8181
8182 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
8183
8184         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
8185           Print a warning rather than g_assert() if a plugin feature
8186           is a URI handler but returns no protocols (#353976).
8187
8188 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
8189
8190         * docs/random/moving-plugins:
8191         Fix two typos.         
8192
8193 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
8194
8195         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
8196           Fix locking order, handle NULL function values properly.
8197
8198         * gst/gstinfo.h:
8199           Fix docs.
8200
8201         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
8202           Initialise variable before using it and fix debug statement to
8203           print the address of the function rather than the address of the
8204           variable on the stack holding the address of the function.
8205
8206 2006-09-01  Wim Taymans  <wim@fluendo.com>
8207
8208         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
8209         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
8210         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8211         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
8212         (gst_ghost_pad_parent_unset),
8213         (gst_ghost_pad_internal_do_activate_push),
8214         (gst_ghost_pad_internal_do_activate_pull),
8215         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8216         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8217         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8218         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
8219         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
8220         (gst_ghost_pad_new_no_target_from_template),
8221         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8222         More cleanups.
8223         Avoid needless typechecking in macros.
8224         Since the internal pad is always present and never changes, there is
8225         no need to locking or ref when retrieving it.
8226         Improve debugging a bit.
8227         Handle link errors when setting the target. Fixes #341029.
8228
8229 2006-09-01  Wim Taymans  <wim@fluendo.com>
8230
8231         * docs/libs/gstreamer-libs-sections.txt:
8232         * docs/plugins/gstreamer-plugins-sections.txt:
8233         Fix docs some more.
8234
8235         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
8236         (gst_collect_pads_event):
8237         * libs/gst/base/gstcollectpads.h:
8238         Documentation updates.
8239         Free queued buffer when removing a pad.
8240
8241 2006-08-31  Michael Smith  <msmith@fluendo.com>
8242
8243         * gst/gstutils.c: (gst_element_link_pads),
8244         (gst_element_link_pads_filtered):
8245           Ensure that we set a capsfilter to NULL if we failed to link it
8246           when doing filtered linking, to avoid criticals.
8247
8248           No need to check for unreffing srcpad, which is explicly NULLed
8249           above (a trivial code cleanup).
8250
8251 2006-08-31  Wim Taymans  <wim@fluendo.com>
8252
8253         * docs/design/part-gstghostpad.txt:
8254         Update ascii art in documentation.
8255
8256         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
8257         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
8258         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8259         (gst_ghost_pad_internal_do_activate_push),
8260         (gst_ghost_pad_internal_do_activate_pull),
8261         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8262         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8263         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
8264         (gst_ghost_pad_set_target):
8265         Small cleanups and leak fixes.
8266         Remove some checks now that the internal pad is never NULL.
8267         Fix the case where linking pads without a target would create nasty
8268         criticals. Fixes #341029.
8269         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
8270         value of _set_target().
8271
8272         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8273         (gst_ghost_pad_suite):
8274         Some more tests for creating and linking untargeted ghostpads.
8275
8276 2006-08-31  Edward Hervey  <edward@fluendo.com>
8277
8278         * docs/gst/gstreamer-sections.txt:
8279         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
8280         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8281         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
8282         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
8283         (gst_ghost_pad_new_from_template),
8284         (gst_ghost_pad_new_no_target_from_template):
8285         * gst/gstghostpad.h:
8286         Refactored *_new() functions.
8287         Templates are now used as a g_object_new() parameter.
8288         Use template in _do_getcaps() if we don't have a target.
8289         Small documentation cleanups.
8290         Added two new constructors:
8291         gst_ghost_pad_new_from_template()
8292         gst_ghost_pad_new_no_target_from_template()
8293         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8294         (gst_ghost_pad_suite):
8295         Added tests for new ghostpad instanciation functions.
8296
8297         API additions: gst_ghost_pad_new_from_template,
8298         gst_ghost_pad_new_no_target_from_template
8299
8300 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
8301
8302         * docs/random/ensonic/profiling.txt:
8303           Ideas about qos profiling.
8304
8305 2006-08-29  Wim Taymans  <wim@fluendo.com>
8306
8307         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
8308         Code cleanups.
8309         Fix memleak.
8310
8311 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * gst/gstxml.c:
8314           Improve and detypofy docs.
8315
8316         * tests/check/Makefile.am:
8317         * tests/check/gst/.cvsignore:
8318         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
8319           Add a basic test suite for GstXML.
8320
8321 2006-08-29  Wim Taymans  <wim@fluendo.com>
8322
8323         * gst/gstelement.c: (activate_pads), (clear_caps),
8324         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8325         Clear the pad caps when the element shut down all of the pads and
8326         is not streaming data that could modify the caps. 
8327         Fixes #352958.
8328
8329 2006-08-28  Michael Smith  <msmith@fluendo.com>
8330
8331         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8332           Revert previous change; I misunderstood single-segment mode.
8333
8334 2006-08-28  Michael Smith  <msmith@fluendo.com>
8335
8336         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
8337           Unset DISCONT on buffers when using single-segment mode.
8338
8339 2006-08-28  Wim Taymans  <wim@fluendo.com>
8340
8341         * gst/gstcaps.c: (gst_caps_merge_structure):
8342         * gst/gstcaps.h:
8343         Fix docs and indentation again.
8344
8345         * tests/check/gst/gstquery.c: (GST_START_TEST):
8346         Fix leak in tests and add some more tests.
8347
8348 2006-08-28  Edward Hervey  <edward@fluendo.com>
8349
8350         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
8351         Inform GstSegment of the last stop position in order for the current
8352         segment to have a proper duration if it doesn't have a specific stop
8353         position from which a duration could be calculated.
8354         This bug was noticeable when a non-flushing, non-update new segment was
8355         followed by another segment (all buffers from the new segment were being
8356         dropped).
8357
8358 2006-08-28  Wim Taymans  <wim@fluendo.com>
8359
8360         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
8361         Small comment update.
8362
8363         * plugins/elements/gstidentity.c: (gst_identity_class_init),
8364         (gst_identity_transform_ip):
8365         Drop-probability is broken, mention this in the code with a 
8366         FIXME and also in the property description.
8367         Make silent also be silent about the drop messages.
8368
8369 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
8370
8371         * docs/manual/appendix-win32.xml:
8372           Remove mention of popt, we don't depend on that any
8373           longer (#353136). Add some comments pointing out that
8374           this section is slightly outdated.
8375
8376 2006-08-28  Wim Taymans  <wim@fluendo.com>
8377
8378         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8379
8380         * gst/gstquery.c: (gst_query_new_segment):
8381         * tests/check/gst/gstquery.c: (GST_START_TEST):
8382         Initialize variables when creating a new segment query.
8383         Fixes #353121.
8384
8385 2006-08-28  Wim Taymans  <wim@fluendo.com>
8386
8387         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
8388
8389         * gst/gstelement.c: (gst_element_get_bus):
8390         * tests/check/gst/gstelement.c: (GST_START_TEST):
8391         Check for NULL before _reffing the bus. Fixes #353122.
8392
8393 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
8394
8395         * docs/manual/basics-bus.xml:
8396           Docs update: fix wrong callback return value explanation; add
8397           some lines about the implicit relationship between main loop
8398           and main context; remove duplicate main loop variable declaration.
8399
8400 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
8401
8402         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8403           Don't leak caps in unit test; add a few more simple
8404           checks. 
8405
8406 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
8407
8408         * docs/gst/gstreamer-sections.txt:
8409         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
8410         (gst_caps_structure_is_subset), (gst_caps_merge),
8411         (gst_caps_merge_structure):
8412         * gst/gstcaps.h:
8413         * libs/gst/base/gstbasetransform.c:
8414         (gst_base_transform_transform_caps):
8415         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8416           implement caps merging (fixes #352580)
8417
8418 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
8419
8420         * tools/Makefile.am:
8421         * tools/gst-plot-timeline.py:
8422           add debug-log plotting developer tool (#340674)
8423
8424 2006-08-23  Wim Taymans  <wim@fluendo.com>
8425
8426         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
8427         (gst_pad_stop_task):
8428         Improve debugging for task functions.
8429
8430         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
8431         (gst_task_start), (gst_task_pause), (gst_task_join):
8432         Make sure that the task function started and finished after a 
8433         join(). 
8434         Don't try to push the task function on the threadpool multiple
8435         times.
8436         Improve the g_warning message with some useful suggestions
8437         about how to fix the problem. 
8438
8439 2006-08-23  Wim Taymans  <wim@fluendo.com>
8440
8441         * gst/gstutils.c: (gst_pad_proxy_getcaps):
8442         Handle RESYNC correctly in _proxy_getcaps.
8443
8444 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
8445
8446         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
8447         (gst_xml_parse_memory), (gst_xml_get_element):
8448           Chain up to parent class in dispose function and also
8449           unref the elements in the toplevel_elements GList.
8450           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
8451           Always return a reference in gst_xml_get_element() rather
8452           than only sometimes.
8453
8454         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8455           Don't leak GstXml object.
8456
8457 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
8458
8459         * docs/gst/gstreamer-sections.txt:
8460         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
8461         (gst_caps_merge):
8462         * gst/gstcaps.h:
8463         * libs/gst/base/gstbasetransform.c:
8464         (gst_base_transform_transform_caps):
8465           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
8466           in a better way
8467
8468 2006-08-21  Edward Hervey  <edward@fluendo.com>
8469
8470         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
8471         Implement GObject::dispose virtual method in GstXML so we can free the
8472         top_elements GList.
8473
8474 2006-08-21  Wim Taymans  <wim@fluendo.com>
8475
8476         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
8477         (gst_buffer_create_sub):
8478         Copy duration/offset_end/caps when creating a subbuffer of the
8479         complete parent.
8480         Make the subbuffer read-only when we make the metadata writable for
8481         now. Fixes #351768.
8482
8483         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8484         Added check for metadata copy when creating subbuffers.
8485
8486 2006-08-21  Edward Hervey  <edward@fluendo.com>
8487
8488         * libs/gst/base/gstbasetransform.c:
8489         (gst_base_transform_buffer_alloc):
8490         Only call downstream buffer_alloc if transform element is passthrough
8491         or always_in_place. Closes #350449.
8492
8493 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8494
8495         * ChangeLog:
8496           ChangeLog surgery to add comments to previous changes
8497
8498 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8499
8500         * gst/gst.c:
8501           Add comments
8502
8503         * gst/gstpad.c: (gst_pad_set_active):
8504           Be more verbose in the log
8505
8506         * libs/gst/base/gstbasetransform.c:
8507         (gst_base_transform_transform_caps):
8508           Simplify caps to get rid of duplicates, fixes #345444
8509
8510 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8511
8512         * gst/gstvalue.c:
8513         * gst/gstvalue.h:
8514           Use these optimizations only internally.
8515
8516 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
8517
8518         * gst/gstvalue.c: (gst_value_compare_list),
8519         (gst_value_compare_fraction_range),
8520         (gst_value_intersect_fraction_fraction_range),
8521         (gst_value_intersect_fraction_range_fraction_range),
8522         (gst_value_subtract_fraction_fraction_range),
8523         (gst_value_subtract_fraction_range_fraction_range),
8524         (gst_value_get_compare_func), (gst_value_compare),
8525         (gst_value_compare_with_func):
8526         * gst/gstvalue.h:
8527           Saves the expensive lookup of the compare function in many cases
8528          (#345444)
8529
8530 2006-08-18  Edward Hervey  <edward@fluendo.com>
8531
8532         * tests/check/gst/gstinfo.c: (gst_info_suite):
8533         Disable test that require gstdebug if it wasn't built in core.
8534
8535 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8536
8537         * docs/random/ensonic/logging.txt:
8538           update ideas
8539           
8540         * gst/gstinfo.c: (gst_debug_log_default):
8541           reorder fields, save some columns, add optional color codes for log
8542           levels
8543
8544 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
8545
8546         * docs/random/ensonic/logging.txt:
8547           add ideas about making the logs a bit more useful
8548
8549 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8550
8551         * docs/pwg/advanced-events.xml:
8552         * docs/pwg/titlepage.xml:
8553           Update for 0.10 API (#340627). Add myself
8554           to authors list.
8555
8556 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
8557
8558         * docs/libs/gstreamer-libs-docs.sgml:
8559         * docs/libs/gstreamer-libs-sections.txt:
8560         * libs/gst/check/gstbufferstraw.c:
8561           Make gstcheck stuff show up in docs (still needs to
8562           be documented properly though).
8563
8564 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
8565
8566         * docs/gst/gstreamer-sections.txt:
8567         * gst/Makefile.am:
8568         * gst/gst.c: (init_post):
8569         * gst/gst_private.h:
8570         * gst/gstquark.c: (_priv_gst_quarks_initialize):
8571         * gst/gstquark.h:
8572         * gst/gstquery.c: (gst_query_new_position),
8573         (gst_query_set_position), (gst_query_parse_position),
8574         (gst_query_new_duration), (gst_query_set_duration),
8575         (gst_query_parse_duration), (gst_query_new_convert),
8576         (gst_query_set_convert), (gst_query_parse_convert),
8577         (gst_query_new_segment), (gst_query_set_segment),
8578         (gst_query_parse_segment), (gst_query_new_seeking),
8579         (gst_query_set_seeking), (gst_query_parse_seeking):
8580         Add internal helpers for pre-registering quarks from static strings
8581         and using the quark values directly instead of looking them up when
8582         creating and parsing queries. Can be used for event construction too.
8583         Closes #350432.
8584
8585 2006-08-16  Wim Taymans  <wim@fluendo.com>
8586
8587         * gst/gstbin.c:
8588         Fix bogus docs.
8589
8590 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8591
8592         * gst/gstutils.c: (gst_util_set_value_from_string):
8593           Fix memleak (#351502).
8594
8595         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8596           Add unit test for most of gst_util_set_value_from_string()
8597           (not that one would want to encourage use of this function).
8598
8599 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8600
8601         * libs/gst/check/gstcheck.h:
8602           Use const gchar * variables in fail_unless_equals_string
8603           macro to avoid compiler warnings (and don't use tabs for
8604           indenting).
8605
8606 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8607
8608         * tools/gst-launch.c: (print_tag):
8609           More space on the left for the tag names, to cater
8610           for the 'extended comment' tag (not touching the
8611           string for the first line since it's translated).
8612
8613 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
8614
8615         * libs/gst/check/gstcheck.h:
8616           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
8617           print something when they fail.
8618
8619 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * docs/gst/gstreamer-sections.txt:
8622         * gst/gsttaglist.c: (_gst_tag_initialize):
8623         * gst/gsttaglist.h:
8624           API: add GST_TAG_EXTENDED_COMMENT (#350935).
8625           Also change merge function for GST_TAG_COMMENT to
8626           use_first.
8627
8628 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8629
8630         * gst/gstinfo.c: (gst_debug_print_object):
8631           Make GST_PTR_FORMAT print messages as well.
8632
8633         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
8634         (GST_START_TEST), (gst_info_suite):
8635           More tests.
8636
8637 2006-08-14  Edward Hervey  <edward@fluendo.com>
8638
8639         * gst/gstelementfactory.c: (gst_element_register):
8640         If the GstElementClass doesn't have a GstElementDetails with all fields
8641         filled up correctly (longname, description AND author), then error out
8642         nicely instead of crashing.
8643
8644 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
8645
8646         * gst/gststructure.c:
8647           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
8648
8649         * gst/gstvalue.h:
8650           Expand on the difference between arrays and lists as we use them.
8651           
8652 2006-08-14  Wim Taymans  <wim@fluendo.com>
8653
8654         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
8655         If the parent state change function failed, don't assume we can safely
8656         stop the source, this will be done when the pads are deactivated.
8657
8658 2006-08-14  Wim Taymans  <wim@fluendo.com>
8659
8660         * gst/gstbuffer.c:
8661         * gst/gsttask.c: (gst_task_join):
8662         Small doc updates.
8663
8664         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
8665         (gst_pad_stop_task):
8666         When pad (de)activation failed for some reason, restore the old
8667         activation mode and set the pad to flushing instead of assuming the
8668         pad is deactivated.
8669         If the _task_join() failed, reinstall the task on the pad so that it can
8670         be stopped later and return an error.
8671
8672 2006-08-11  Andy Wingo  <wingo@pobox.com>
8673
8674         * configure.ac:
8675         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8676         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
8677         is only for users of API that don't want to see deprecated
8678         functions in the headers; people that want to compile out
8679         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
8680         CFLAGS. Fixes the build of multifdsink, or will soon..
8681
8682 2006-08-11  Wim Taymans  <wim@fluendo.com>
8683
8684         * docs/gst/gstreamer-sections.txt:
8685         Add GstClockClass vmethod docs.
8686
8687         * gst/gstcaps.h:
8688         Mark #endif with comment for associated #if
8689
8690         * gst/gstclock.c: (gst_clock_id_wait):
8691         * gst/gstclock.h:
8692         Add vmethod wait_jitter to avoid an unneeded _get_time() for
8693         most clock implementations.
8694         Document vmethods.
8695         Flesh out docs about resolution methods.
8696         API: GstClockClass::wait_jitter
8697
8698         * gst/gstsystemclock.c: (gst_system_clock_class_init),
8699         (gst_system_clock_async_thread),
8700         (gst_system_clock_id_wait_jitter_unlocked),
8701         (gst_system_clock_id_wait_jitter):
8702         Use base class wait_jitter variant for improved performance
8703         due to less clock polling.
8704
8705 2006-08-11  Edward Hervey  <edward@fluendo.com>
8706
8707         * gst/gst.c: (gst_init_check), (init_post):
8708         Set gst as being initialized before scanning/updating the registry,
8709         since there might be my python plugin loader that calls gst_init() and
8710         we don't want to loop back in.
8711         Closes #350879
8712
8713 2006-08-11  Wim Taymans  <wim@fluendo.com>
8714
8715         * docs/design/part-qos.txt:
8716         Bring docs in line with the code. Mostly the sign of the jitter was
8717         wrong in the docs. Fixes #349943.
8718
8719         * gst/gstclock.c:
8720         Fix the docs for the jitter.
8721
8722         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
8723         (gst_event_parse_tag), (gst_event_new_buffer_size),
8724         (gst_event_parse_buffer_size), (gst_event_parse_qos),
8725         (gst_event_new_seek), (gst_event_parse_seek),
8726         (gst_event_new_navigation):
8727         Make sure the GstStructure has no parent when creating custom
8728         events.
8729         Add some more argument checking so that we avoid 0.0 rates.
8730         Flesh out the docs for the QoS event some more.
8731
8732 2006-08-11  Wim Taymans  <wim@fluendo.com>
8733
8734         * docs/gst/gstreamer-sections.txt:
8735         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8736         (ensure_current_registry_forking), (ensure_current_registry),
8737         (parse_one_option), (parse_goption_arg), (gst_deinit),
8738         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
8739         * gst/gst.h:
8740         Doc updates.
8741         Added API and command line option to disable registry forking in
8742         addition to the environment variable.
8743         Constify some static arrays.
8744         Added some more debug.
8745         Don't deinit twice.
8746         API: gst_registry_fork_is_enabled()
8747         API: gst_registry_fork_set_enabled()
8748         API: --gst-disable-registry-fork command line option
8749         Fixes #348918.
8750
8751 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
8752
8753         * gst/gst.c: (gst_init):
8754           Fix typo in error message.
8755
8756 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8757
8758         * libs/gst/controller/gstcontroller.h:
8759           fix ABI size-correction
8760
8761         * tests/check/libs/gdp.c: (gst_dp_suite):
8762           make tests that use deprecated API conditional
8763
8764 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
8765
8766         * docs/libs/gstreamer-libs-sections.txt:
8767         * libs/gst/controller/gstcontroller.c:
8768         (_gst_controller_get_property), (_gst_controller_set_property),
8769         (_gst_controller_init), (_gst_controller_class_init):
8770         * libs/gst/controller/gstcontroller.h:
8771         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
8772         (gst_object_set_control_rate):
8773           API: add gst_object_{s,g}et_control_rate(), add private data section,
8774           fix docs
8775
8776         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
8777         * libs/gst/dataprotocol/dataprotocol.h:
8778           add deprecation guards to make gtk-doc happy and allow disabling cruft
8779
8780 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
8781
8782         * tests/check/Makefile.am:
8783         * tests/check/gst/.cvsignore:
8784           Let's enable the new unit test as well.
8785
8786 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
8787
8788         * configure.ac:
8789         * docs/gst/gstreamer-sections.txt:
8790         * gst/gstconfig.h.in:
8791         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8792         (_gst_info_printf_extension_ptr),
8793         (_gst_info_printf_extension_segment):
8794           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8795           register that lets us easily dump GstSegments into debug
8796           logs (#350419).
8797
8798         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8799         (info_segment_format_printf_extension), (gst_info_suite):
8800           Add simple unit test that logs a bunch of different segments (not
8801           valgrinded at the moment because of leaks in
8802           gst_debug_add_log_function).
8803
8804 2006-08-09  Edward Hervey  <edward@fluendo.com>
8805
8806         * libs/gst/base/gstbasetransform.c:
8807         (gst_base_transform_buffer_alloc):
8808         Even if we can't figure out the proper format to request downstream,
8809         call buffer_alloc() downstream with the input parameters without setting
8810         the caps on the srcpad. This will force negotiation in the chain
8811         function.
8812         Closes #350449
8813
8814 2006-08-08  Edward Hervey  <edward@fluendo.com>
8815
8816         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8817         Unlinking from a pad without a target is now a perfectly valid case
8818         which should NOT raise an assertion.
8819         This case would happen if a linked ghostpad its target set to NULL after
8820         it was previously linked.
8821
8822 2006-08-08  Edward Hervey  <edward@fluendo.com>
8823
8824         * tests/check/libs/gdp.c:
8825         Also comment out the test (see below).
8826
8827 2006-08-08  Edward Hervey  <edward@fluendo.com>
8828
8829         * tests/check/libs/gdp.c: (gst_dp_suite):
8830         Use the architecture information from config.h and not gcc macros
8831         in order to properly disable a test that fails on PPC64.
8832
8833 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
8834
8835         * gst/gstelement.c: (gst_element_remove_pad):
8836           Don't crash printing the warning if the pad has no parent.
8837
8838 2006-08-02  Wim Taymans  <wim@fluendo.com>
8839
8840         * libs/gst/dataprotocol/dataprotocol.c:
8841         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8842         (gst_dp_crc), (gst_dp_header_payload_length),
8843         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8844         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8845         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8846         (gst_dp_event_from_packet), (gst_dp_validate_header),
8847         (gst_dp_validate_payload):
8848         Make debug category static
8849         Constify the crc table.
8850         Do some more arg checking in public functions.
8851         Fix some docs and do some small cleanups.
8852
8853         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8854         Add some more checks to see if GDP deals with bogus input.
8855
8856 2006-07-31  Wim Taymans  <wim@fluendo.com>
8857
8858         * gst/gstvalue.c: (gst_value_compare_list):
8859         Fix GstValueList comparison code. Fixes #347293.
8860
8861         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8862         Check to test GstValueList comparison.
8863
8864 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8865
8866         * gst/gstelementfactory.c: (gst_element_factory_create):
8867         Remove unnecessary ref/unref pair
8868
8869         * gst/parse/grammar.y:
8870         Make sure to free the parse buffer on all code paths.
8871         Move a g_free up to the error handler where it's easier to see.
8872
8873         * tests/check/gst/gstevent.c: (test_event):
8874         Extending timeout for downstream travelling events to 10 seconds to
8875         hopefully avoid intermittent failure on the buildbots.
8876
8877         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8878         Don't manually set the state of the src element - it will happen as a
8879         natural consequence of the pipeline changing state, and that way it
8880         will do it in the right order too.
8881
8882 2006-07-31  Wim Taymans  <wim@fluendo.com>
8883
8884         * libs/gst/base/gstbasetransform.c:
8885         (gst_base_transform_buffer_alloc):
8886         Use OBJECT_LOCK and refcounting to get the pad caps in the
8887         buffer_alloc function because the caps could change while we are
8888         busy with them. Fixes #349105
8889
8890 2006-07-31  Wim Taymans  <wim@fluendo.com>
8891
8892         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8893         Protect _PAD_CAPS with OBJECT_LOCK.
8894
8895 2006-07-31  Wim Taymans  <wim@fluendo.com>
8896
8897         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8898         (gst_pad_get_property), (gst_pad_activate_pull),
8899         (gst_pad_activate_push), (gst_pad_set_blocked_async),
8900         (gst_pad_set_activate_function),
8901         (gst_pad_set_activatepull_function),
8902         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8903         (gst_pad_set_getrange_function),
8904         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8905         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8906         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8907         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8908         (gst_pad_set_acceptcaps_function),
8909         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8910         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8911         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8912         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8913         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8914         (gst_pad_configure_sink), (gst_pad_configure_src),
8915         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8916         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8917         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8918         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8919         (gst_pad_send_event):
8920         Use _DEBUG_OBJECT when it makes sense.
8921         Protect GST_PAD_CAPS with the OBJECT_LOCK.
8922         Small cleanups and code reflows.
8923         Avoid caps refcounting in _accept_caps.
8924         Refactor alloc_buffer so that the code performed on the peer is in a
8925         separate function. Also if the pad does not implement a buffer alloc
8926         function, we should still check if the pad is flushing before falling
8927         back to the default allocator.
8928
8929 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8930
8931         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8932         Make all uses of identity and fakesink have silent=true to avoid
8933         serialising every passing data structure, which is breaking tests
8934         on FC4 for some unknown reason.
8935
8936 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8937
8938         * gst/parse/Makefile.am:
8939         * gst/parse/grammar.y:
8940         * gst/parse/parse.l:
8941           Reverted previous patch as it required to bump the flex dependency to
8942           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8943
8944 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8945
8946         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8947
8948         * gst/parse/Makefile.am:
8949         * gst/parse/grammar.y:
8950         * gst/parse/parse.l:
8951           push & pop the state of the lexer for reentrant use case
8952           Fixes #349180
8953
8954 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8955
8956         * libs/gst/base/gstbasesrc.h:
8957           Note in the docs that the ::newsegment vfunc is not actually used by
8958           GstBaseSrc.
8959
8960 2006-07-28  Wim Taymans  <wim@fluendo.com>
8961
8962         * libs/gst/base/gstcollectpads.c:
8963         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8964         (gst_collect_pads_clear), (gst_collect_pads_flush),
8965         (gst_collect_pads_event), (gst_collect_pads_chain):
8966         When flushing a pad, also clear the queued buffer so that we don't
8967         accidentally use it when we shouldn't.
8968         Fix leaks by inreffing incomming buffer.
8969         Flush out queued buffers in case of errors.
8970         Fixes #347452.
8971
8972 2006-07-28  Wim Taymans  <wim@fluendo.com>
8973
8974         * docs/random/phonon-gst:
8975         Random notes about a Phonon backend.
8976
8977 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8978
8979         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8980         Extra debug output
8981         * tests/check/libs/gdp.c: (gst_dp_suite):
8982         Take a whack at fixing the ppc compile using a different define to
8983         disable the broken test.
8984
8985         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8986         Remove excess g_print()
8987
8988 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8989
8990         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8991         Oops, meant to uncomment this line too to dampen the noise a bit.
8992
8993 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8994
8995         * gst/parse/grammar.y:
8996         * gst/parse/parse.l:
8997         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8998         (GST_START_TEST), (parse_suite):
8999         Fix some of the leaks exposed by extending the parse-launch testsuite,
9000         and move the 3 I can't figure out into a separate test that won't run
9001         the pipelines unless the appropriate line is uncommented.
9002
9003 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9004
9005         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9006           Requesting 0 bytes before the end of the file should result in
9007           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
9008           unit test.
9009
9010 2006-07-27  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
9013         Fix useless assert, a uint is always positive.
9014
9015         * gst/gststructure.c: (gst_structure_nth_field_name),
9016         (gst_structure_foreach), (gst_structure_map_in_place):
9017         Check input arguments for public functions to avoid obvious crashes.
9018
9019         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
9020         * plugins/elements/gstfakesink.h:
9021         Do less useless typechecking.
9022
9023 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
9024
9025         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9026           Do not use mmap() by default since there are a number of error
9027           conditions that we would like to handle in a non-fatal way that
9028           will result in a SIGBUS if we use mmap(). Examples: external
9029           devices (USB harddrive, portable music player) being unplugged
9030           while in use; file on mounted CD/DVD that can't be read because
9031           the medium is partly damaged. Fixes #348455 and #348475.
9032
9033 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
9034
9035         * gst/gstquery.h:
9036         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
9037         rates are a gdouble
9038
9039 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
9040
9041         * gst/gstregistry.c:
9042           Move big documentation comment into class section header, so that it
9043           appears in the API docs.
9044
9045 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9046
9047         * docs/gst/gstreamer-sections.txt:
9048         Oops. Commit the docs additions too for new API.
9049         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
9050
9051 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9052
9053         * gst/gststructure.c: (gst_structure_id_set),
9054         (gst_structure_id_set_valist):
9055         * gst/gststructure.h:
9056         Add API for setting values into structures without performing
9057         a quark lookup, if the appropriate quark is already known.
9058
9059         API: gst_structure_id_set
9060         API: gst_structure_id_set_valist
9061
9062         * gst/parse/grammar.y:
9063         * gst/parse/parse.l:
9064         Remove some dead code shown by the coverage information.
9065         Don't throw a critical g_warning when encountering a syntax error,
9066         just warn and let the normal error path handle it.
9067
9068         * plugins/elements/gstelements.c:
9069         Bump the rank of filesink up to PRIMARY so that it is preferred over
9070         gnomevfssink for file:// sink uri's
9071
9072         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
9073         (GST_START_TEST), (run_delayed_test),
9074         (gst_parse_test_element_base_init),
9075         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
9076         (gst_parse_test_element_change_state),
9077         (gst_register_parse_element), (parse_suite):
9078         Beef up the tests for parse syntax to check that more error cases
9079         fail as they are supposed to. Increases the test coverage a bit.
9080
9081 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
9082
9083         * docs/manual/basics-elements.xml:
9084           Fix gst_element_link() example.
9085
9086         * gst/gstutils.c:
9087           Mention in API docs that one should usually gst_bin_add()
9088           elements to a bin or pipeline before doing the linking.
9089           
9090 2006-07-26  Wim Taymans  <wim@fluendo.com>
9091
9092         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
9093         (gst_subbuffer_get_type), (gst_buffer_create_sub):
9094         Avoid function call for known types by keeping the buffer and
9095         subbuffer GType global.
9096
9097         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9098         Random silly optimisations in read() path.
9099
9100 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
9101
9102         * tools/gst-launch.c: (main):
9103           If the top-level of the parse is a normal bin, it doesn't do the
9104           right logic to run as a top-level element, so place it inside a
9105           pipeline.
9106
9107 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
9108
9109         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
9110           Remove superfluous g_object_notify() calls, GObject does
9111           that for us automatically.
9112
9113 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
9114
9115         * gst/gstinfo.h:
9116           on Win32, use dllspec to export the debug category symbols
9117
9118 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
9119
9120         * gst/gsttaglist.c: (_gst_tag_initialize):
9121           Allow more than one GST_TAG_IMAGE per taglist.
9122
9123 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9124
9125         * gst/gstminiobject.c:
9126           update docs
9127         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
9128         (gst_fd_src_create):
9129           log recurring events at LOG level
9130           add more debug for when the fd gets set
9131
9132 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9133
9134         * gst/gstparse.c: (gst_parse_launch):
9135           Also remove reentrance checks if flex is MT safe (#348179)
9136          Fix my empty ChangeLog entry below
9137
9138 2006-07-21  Andy Wingo  <wingo@pobox.com>
9139
9140         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
9141
9142         * libs/gst/check/Makefile.am
9143         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
9144         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
9145         * libs/gst/check/gstbufferstraw.h:
9146         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
9147         functions, thus proving I am still a GStreamer haxor. OK I wrote
9148         them a long time ago, but anyways.
9149
9150 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
9151
9152         * configure.ac:
9153         * gst/gstparse.c: (gst_parse_launch):
9154           Check for flex version and omit mutex if we have a MT save flex
9155           (fixes #348179)
9156
9157 2006-07-21  Wim Taymans  <wim@fluendo.com>
9158
9159         * gst/gstparse.c: (gst_parse_launch):
9160         Protect recursive calls to _parse with a recursive mutex
9161         and busy flag.
9162
9163 2006-07-21  Wim Taymans  <wim@fluendo.com>
9164
9165         * tests/check/gst/gstpad.c: (GST_START_TEST):
9166         Fix leak in test.
9167
9168 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
9169
9170         * gst/gstparse.c: (gst_parse_launch):
9171           Do not hang on recursive usage of gst_parse_launch()
9172
9173 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9174
9175         * gst/gsttaglist.c:
9176           Add some more docs, comments and FIXME 0.11s here and there
9177           and also fix some typos.
9178
9179 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
9180
9181         * gst/gstsegment.h:
9182           Convert tabs to spaces for better readability. 
9183
9184 2006-07-20  Edward Hervey  <edward@fluendo.com>
9185
9186         * tests/check/libs/gdp.c: (gst_dp_suite):
9187         the test_buffer test fails at line 140 on ppc64 at the following
9188         check:
9189         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
9190                 GST_BUFFER_FLAG_IN_CAPS),
9191                 "GST_BUFFER_IN_CAPS flag should have been copied !");
9192         See bug #348114 for more details.
9193
9194 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
9195
9196         * docs/pwg/advanced-scheduling.xml:
9197         * gst/gstpad.c:
9198           Fix typos (#348000).
9199
9200 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
9201
9202         * docs/pwg/intro-basics.xml:
9203           Fix wrong links (#347927).
9204
9205 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
9206
9207         * gst/gstregistry.h:
9208         * gst/gstregistryxml.c: (load_feature),
9209         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
9210         * win32/common/config.h:
9211           make --disable-index work (#342564)
9212
9213 2006-07-18  Wim Taymans  <wim@fluendo.com>
9214
9215         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9216
9217         * gst/Makefile.am:
9218         * gst/gsttrace.h:
9219         The attached patch adds two missing defines to gsttrace.h when tracing
9220         is disabled.  It also corrects one existing define.
9221         Fixes #347756.
9222
9223 2006-07-17  Wim Taymans  <wim@fluendo.com>
9224
9225         * docs/gst/gstreamer-sections.txt:
9226         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
9227         * gst/gst.h:
9228         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
9229         Add two functions to check and change the SIGSEGV behaviour
9230         when loading plugins.
9231         Don't mess with the SIGSEGV handler when we were told not to.
9232         Fixes #347794.
9233         API: gst_segtrap_is_enabled
9234         API: gst_segtrap_set_enabled
9235
9236 2006-07-14  Wim Taymans  <wim@fluendo.com>
9237
9238         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9239         * tests/check/elements/filesrc.c: (GST_START_TEST):
9240         Revert fix for regression in #347408 after release.
9241
9242 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
9243
9244         Patch by: Antoine Tremblay <hexa00 at gmail com>
9245
9246         * gst/gstutils.c: (gst_element_unlink):
9247           Free iterator when done (#347311).
9248
9249         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9250           And add a test case for this.
9251
9252 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
9253
9254         * configure.ac:
9255         Bump nano back to CVS
9256
9257 === release 0.10.9 ===
9258
9259 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
9260
9261         * configure.ac:
9262           releasing 0.10.9, "On the road again"
9263
9264 2006-07-13  Wim Taymans  <wim@fluendo.com>
9265
9266         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9267         * tests/check/elements/filesrc.c: (GST_START_TEST):
9268         Revert pull-0 fix for release. Disable check. Fixes #347408.
9269
9270 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9271
9272         * libs/gst/dataprotocol/dataprotocol.c:
9273         (gst_dp_event_from_packet_1_0):
9274           Fixes #347337: failure to deserialize event packets with
9275           empty payload (only event type)
9276
9277 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9278
9279         * gst/Makefile.am:
9280           do not install a .c file in the header directory
9281
9282 2006-07-13  Edward Hervey  <edward@fluendo.com>
9283
9284         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
9285         GhostPad no longer implicitely use the padtemplates of the targets.
9286         Fixes #347384
9287
9288 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
9289
9290         * gst/gstvalue.c: (gst_value_compare_list),
9291         (gst_value_compare_array), (_gst_value_initialize):
9292         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9293         Make GstValueArray comparison be order dependent as designed.
9294         Add checks for value lists and value array comparisons.
9295         Fixes #347221
9296
9297 2006-07-11  Edward Hervey  <edward@fluendo.com>
9298
9299         * gst/gstbin.c: (activate_pads),
9300         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
9301         (gst_bin_change_state_func):
9302         (de)activate src pads before calling state_change on the childs.
9303         This is to avoid the case where a src ghostpad is blocked (holding the
9304         stream lock), which would block the deactivation of the ghostpad's
9305         target pad.
9306         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
9307         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
9308         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
9309         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9310         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9311         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9312         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9313         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
9314         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
9315         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9316         (gst_ghost_pad_class_init),
9317         (gst_ghost_pad_internal_do_activate_push),
9318         (gst_ghost_pad_internal_do_activate_pull),
9319         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9320         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9321         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
9322         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
9323         GhostPads now create their internal GstProxyPad at creation (and not
9324         when they're linked, as it was being done previously).
9325         The internal and target pads are linked straight away.
9326         The data will also travel through the other pad in order to make
9327         pad blocking and probes non-hackish (the probe/block now really happens
9328         on the GhostPad and not on the target).
9329         * gst/gstpad.c: (gst_pad_set_blocked_async),
9330         (gst_pad_link_prepare), (gst_pad_push_event):
9331         Remove previous ghostpad cruft.
9332         * gst/gstutils.c: (gst_pad_add_data_probe),
9333         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
9334         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
9335         (gst_pad_remove_buffer_probe):
9336         Remove previous ghost pad cruft.
9337         Added more detailed debug statements.
9338         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
9339         Fix the testsuite for refcounting changes.
9340         The comments about who has references were correct, but the refcount
9341         being checked wasn't the same (!?!).
9342
9343         Fixes #341029
9344
9345 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9346
9347         * docs/gst/gstreamer-sections.txt:
9348         * gst/gstconfig.h.in:
9349         More docs for configuration options, add docs to gtk-doc.
9350
9351 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * gst/Makefile.am:
9354         * gst/gstconfig.h.in:
9355         * win32/common/config.h:
9356         Fix build when disabling tracing (fixes #344016). Also start to document
9357         the defines that disable the sub-systems.
9358
9359 2006-07-10  Edward Hervey  <edward@fluendo.com>
9360
9361         * gst/gst.c: (ensure_current_registry_forking):
9362         let's make valgrind happy...
9363
9364 2006-07-09  Wim Taymans  <wim@fluendo.com>
9365
9366         * gst/gstelement.c: (activate_pads),
9367         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9368         Better pad activation code: Reset the collect value too on resync.
9369         Add some comments.
9370
9371 2006-07-09  Wim Taymans  <wim@fluendo.com>
9372
9373         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
9374         (gst_pad_activate_push):
9375         Use some more macros where it makes sense.
9376         Allow pad mode switching instead of asserting. When a pad
9377         is activated in one mode and we activate it in another, 
9378         deactivate it first before activating it in a different mode.
9379         Fixes #329198.
9380
9381 2006-07-08  Andy Wingo  <wingo@pobox.com>
9382
9383         * tools/gst-launch.c (main): Handle err == NULL.
9384
9385         * gst/gst.c (init_post, ensure_current_registry)
9386         (ensure_current_registry_forking)
9387         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
9388         factoring out the registry scanning into separate functions. Don't
9389         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
9390         Better environment var name/interface suggestions accepted.
9391
9392 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9393
9394         * gst/gstobject.c: (gst_object_set_name_default),
9395         (gst_object_set_name):
9396           Random micro-optimisation: don't use a hash table
9397           with strings as keys and the usual strdup/strcmp
9398           involved, but rather just use the GQuark of the
9399           type name as key, since it needs to be looked up
9400           anyway to get the type name string.
9401
9402         * tests/check/gst/gstobject.c: (GST_START_TEST):
9403           Fix various leaks.
9404
9405 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9406
9407         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
9408         (gst_bin_iterate_all_by_interface):
9409           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
9410           GTypes are gulongs and thus the top 4 bytes might be cut
9411           off on some platforms when doing GPOINTER_TO_INT, leading
9412           to invalid GTypes and bad things happening (see RH bug #179654).
9413           Also add a check to make sure the type passed in is really
9414           an interface type.
9415
9416 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9417
9418         * .cvsignore:
9419           Ignore more.
9420
9421 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
9422
9423         * Makefile.am:
9424         * configure.ac:
9425         * gst-element-check.m4:
9426         * gst-element-check.m4.in:
9427           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
9428           instead of the unversioned gst-inspect (#324176, #168659).
9429
9430 2006-07-06  Wim Taymans  <wim@fluendo.com>
9431
9432         * gst/gstmessage.h:
9433         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
9434         warnings.
9435
9436 2006-07-06  Wim Taymans  <wim@fluendo.com>
9437
9438         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9439         (gst_base_src_wait), (gst_base_src_update_length),
9440         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
9441         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
9442         (gst_base_src_loop), (gst_base_src_start),
9443         (gst_base_src_activate_pull):
9444         Update docs.
9445         blocksize == 0 now means the default blocksize when working in push
9446         based mode.
9447         Remove some pointless asserts in _wait function.
9448         Fix offset/length calculations and EOS handling. We can now pull 0
9449         bytes as well, which is allowed.
9450         use _check_get_range() to decide if we can operate in _pull based
9451         mode.
9452         Fix refcounting leak when check_get_range function was not 
9453         implemented.
9454         API GstBaseSrc::blocksize range can be 0 too now (default)
9455
9456         * tests/check/elements/filesrc.c: (GST_START_TEST),
9457         (filesrc_suite):
9458         Added check to test _get_range() behaviour.
9459
9460 2006-07-06  Wim Taymans  <wim@fluendo.com>
9461
9462         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9463         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
9464         (gst_pad_pull_range):
9465         * gst/gstpad.h:
9466         Lots of comments and docs added to the pad functions.
9467         Flesh out the expected behaviour of the get_range() functions.
9468
9469 2006-07-06  Wim Taymans  <wim@fluendo.com>
9470
9471         * gst/gstbus.h:
9472         * gst/gstclock.h:
9473         * gst/gstevent.h:
9474         * gst/gstiterator.h:
9475         * gst/gstpad.h:
9476         * gst/gstplugin.h:
9477         * gst/gsttask.h:
9478         Remove comma at end of enumerator list. 
9479
9480 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
9481
9482         * win32/common/libgstbase.def:
9483         * win32/common/libgstdataprotocol.def:
9484         * win32/common/libsgtreamer.def:
9485         Add new exported functions.
9486
9487 2006-07-05  Wim Taymans  <wim@fluendo.com>
9488
9489         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
9490         Add some more docs here and there.
9491
9492 2006-07-05  Wim Taymans  <wim@fluendo.com>
9493
9494         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
9495         (gst_base_sink_loop), (gst_base_sink_get_position):
9496         When operating in pull mode update the offset so that we
9497         read sequentially.
9498
9499 2006-07-05  Wim Taymans  <wim@fluendo.com>
9500
9501         * gst/gstregistryxml.c: (read_string):
9502         Avoid strdup. (will happen in libxml, but hey!)
9503
9504         * gst/gsturi.c:
9505         Add some more docs.
9506
9507 2006-07-05  Wim Taymans  <wim@fluendo.com>
9508
9509         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
9510         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
9511         (gst_buffer_suite):
9512         No point in checking if the size of the subbuffer > 0, the
9513         code handles it correclty as demonstrated by unit test.
9514         Also add a unit test for the zero sized _new_and_alloc and
9515         _copy. Fixes #346663.
9516
9517 2006-07-05  Wim Taymans  <wim@fluendo.com>
9518
9519         * libs/gst/base/gstbasetransform.c:
9520         (gst_base_transform_prepare_output_buffer),
9521         (gst_base_transform_buffer_alloc),
9522         (gst_base_transform_handle_buffer):
9523         Make sure the buffer we pass to transform_ip has a refcount of
9524         1 and thus is writable. Fixes #343196
9525
9526 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
9527
9528         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9529         (gst_file_src_init), (gst_file_src_set_property),
9530         (gst_file_src_get_property), (gst_file_src_map_region):
9531         * plugins/elements/gstfilesrc.h:
9532         Add "sequential" property, off by default, to use madvise and hint
9533         to the kernel that sequential access is desired.
9534         Touch all retrieved pages by default to ensure they are pulled
9535         into memory. (Closes #345720)
9536
9537 2006-07-03  Wim Taymans  <wim@fluendo.com>
9538
9539         * docs/design/part-block.txt:
9540         * docs/design/part-dynamic.txt:
9541         Small docs updates.
9542
9543 2006-07-03  Wim Taymans  <wim@fluendo.com>
9544
9545         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
9546         (gst_caps_unref), (gst_static_caps_get),
9547         (gst_caps_append_structure):
9548         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
9549         Use GSlice when the glib we build against is >= 2.10
9550
9551 2006-07-03  Wim Taymans  <wim@fluendo.com>
9552
9553         * gst/gstelement.c: (gst_element_pads_activate):
9554         Small cleanup in pad activation code.
9555
9556 2006-07-03  Wim Taymans  <wim@fluendo.com>
9557
9558         Patch by: Peter Kjellerstedt <pkj at axis dot com>
9559
9560         * gst/gst-i18n-app.h:
9561         * gst/gst-i18n-lib.h:
9562         * tools/gst-inspect.c: (print_signal_info):
9563         The attached patch will make the inclusion of gettext.h unconditional in
9564         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
9565         libintl.h in tools/gst-inspect.c.
9566         This allows use of --disable-nls again and fixes #344642.
9567
9568 2006-07-03  Edward Hervey  <edward@fluendo.com>
9569
9570         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
9571         Implement pad blocking on events according to part-block.txt.
9572         More comments on behaviour.
9573         * tests/check/gst/gstevent.c: (test_event):
9574         Send event to peer pad of blocked pad (else it will block).
9575
9576 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9577
9578         * libs/gst/check/gstcheck.c: (gst_check_message_error),
9579         (gst_check_run_suite):
9580           if we get the wrong message, give us the types as string
9581         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9582           Fix a translatable
9583         * tests/check/elements/filesrc.c: (GST_START_TEST):
9584           add a test for trying to open a non-existing file
9585
9586 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9587
9588         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9589           add a test for adding self
9590
9591 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9592
9593         * libs/gst/check/gstcheck.h:
9594           add some assert_ as alias for fail_unless_*
9595         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
9596           increase test coverage
9597
9598 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * Makefile.am:
9601           include lcov.mak for lcov coverage generation
9602         * tools/Makefile.am:
9603           add to CLEANFILES
9604
9605 2006-07-02  Edward Hervey  <edward@fluendo.com>
9606
9607         * tests/check/elements/.cvsignore:
9608         moaping
9609
9610 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9611
9612         * configure.ac:
9613           don't set CFLAGS and friends for gcov, done from GST_GCOV now
9614         * tests/check/Makefile.am:
9615           clean up gcov files
9616
9617 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9618
9619         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
9620           remove gst_caps_simplify; it was not declared and not used
9621           and deprecated in 0.8
9622
9623 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9624
9625         * docs/faq/gst-uninstalled:
9626           don't put empty paths on PYTHONPATH
9627         * docs/gst/gstreamer-sections.txt:
9628           remove some symbols that are not there
9629
9630 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9631
9632         * gst/gstcaps.c: (gst_caps_compare_structures):
9633           whitespace fixes
9634         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9635         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9636           add more tests
9637
9638 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9639
9640         * libs/gst/dataprotocol/Makefile.am:
9641           build dataprotocol test by linking to the lib, instead of
9642           compiling the source, so we get coverage
9643         * tests/check/Makefile.am:
9644         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
9645         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
9646           add a test for filesrc
9647
9648 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9649
9650         * tests/check/gst/gststructure.c: (GST_START_TEST),
9651         (gst_structure_suite):
9652           Push coverage from 59.04% to 70.00%
9653
9654 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9655
9656         * tests/check/Makefile.am:
9657           gst-inspect every element; this makes sure that we also get
9658           coverage on element's get/set functions
9659
9660 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9661
9662         * configure.ac:
9663           set CFLAGS and friends to -O0 if gcov is being used
9664           add GCOV LIBS
9665         * gst/Makefile.am:
9666         * libs/gst/base/Makefile.am:
9667         * libs/gst/check/Makefile.am:
9668         * libs/gst/controller/Makefile.am:
9669         * libs/gst/dataprotocol/Makefile.am:
9670         * libs/gst/net/Makefile.am:
9671         * plugins/elements/Makefile.am:
9672         * plugins/indexers/Makefile.am:
9673           add makefile rules to generate gcov data and clean up
9674         * tests/check/Makefile.am:
9675           add a coverage target that generates an html overview
9676           of coverage data
9677
9678 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9679
9680         * tests/check/elements/fakesink.c:
9681         * tests/check/elements/fakesrc.c:
9682         * tests/check/elements/fdsrc.c:
9683         * tests/check/elements/identity.c:
9684         * tests/check/generic/sinks.c: (gst_sinks_suite):
9685         * tests/check/generic/states.c:
9686         * tests/check/gst/gst.c:
9687         * tests/check/gst/gstabi.c:
9688         * tests/check/gst/gstbin.c:
9689         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
9690         * tests/check/gst/gstbus.c: (gst_bus_suite):
9691         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9692         * tests/check/gst/gstelement.c:
9693         * tests/check/gst/gstevent.c: (gst_event_suite):
9694         * tests/check/gst/gstghostpad.c:
9695         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
9696         * tests/check/gst/gstmessage.c: (gst_message_suite):
9697         * tests/check/gst/gstminiobject.c:
9698         * tests/check/gst/gstobject.c:
9699         * tests/check/gst/gstpad.c:
9700         * tests/check/gst/gstpipeline.c:
9701         * tests/check/gst/gstplugin.c:
9702         * tests/check/gst/gstquery.c: (gst_query_suite):
9703         * tests/check/gst/gstsegment.c: (gst_segment_suite):
9704         * tests/check/gst/gststructure.c:
9705         * tests/check/gst/gstsystemclock.c:
9706         * tests/check/gst/gsttag.c:
9707         * tests/check/gst/gsttask.c: (gst_task_suite):
9708         * tests/check/gst/gstutils.c:
9709         * tests/check/gst/gstvalue.c:
9710         * tests/check/libs/adapter.c:
9711         * tests/check/libs/basesrc.c:
9712         * tests/check/libs/collectpads.c:
9713         * tests/check/libs/controller.c:
9714         * tests/check/libs/gdp.c: (gst_dp_suite):
9715         * tests/check/libs/gstnetclientclock.c:
9716         * tests/check/libs/gstnettimeprovider.c:
9717         * tests/check/libs/libsabi.c: (libsabi_suite):
9718         * tests/check/libs/typefindhelper.c:
9719         * tests/check/pipelines/cleanup.c:
9720         * tests/check/pipelines/parse-launch.c:
9721         * tests/check/pipelines/simple-launch-lines.c:
9722         * tests/check/pipelines/stress.c: (stress_suite):
9723           use the new macro
9724
9725 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9726
9727         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
9728         * libs/gst/check/gstcheck.h:
9729           create a macro and function so that the simple unit test
9730           case can be just one macro to create main()
9731
9732 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
9733
9734         * gst/gstbin.c: (gst_bin_restore_thyself):
9735         * gst/gstxml.c: (gst_xml_make_element):
9736           Fix deserialisation from XML. Set parent manually
9737           instead of using gst_bin_add(), since gst_bin_add()
9738           will unlink all pads of the element being added.
9739           Fixes #341667.
9740
9741 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
9742
9743         Patch by: Peter Kjellerstedt <pkj at axis com>
9744
9745         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
9746           Fix missing g_strdup() and double free when using the
9747           --gst-plugin-load command line option (#346097).
9748
9749 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9750
9751         * gst/gstinfo.c:
9752           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
9753
9754         * libs/gst/net/gstnetclientclock.c:
9755         * libs/gst/net/gstnettimeprovider.c:
9756           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
9757
9758 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
9759
9760         * docs/manual/advanced-dataaccess.xml:
9761           Fix buffer probe example compilation in
9762           ADM (#345708).
9763         
9764 2006-06-22  Edward Hervey  <edward@fluendo.com>
9765
9766         * gst/gstelement.c: (gst_element_pads_activate):
9767         We need to deactivate src pads first and then sink pads.
9768         The reason is the src pads might be blocking while holding the streaming
9769         lock, so we need to deactivate them first so that deactivating the sink
9770         pads doesn't block (since it will require the streaming lock).
9771
9772 2006-06-22  Wim Taymans  <wim@fluendo.com>
9773
9774         * libs/gst/base/gstbasetransform.c:
9775         (gst_base_transform_buffer_alloc):
9776         Forgot to remove two unneeded unrefs.
9777         Simplify a check _is_equal allready checks the obvious case.
9778
9779 2006-06-22  Wim Taymans  <wim@fluendo.com>
9780
9781         * docs/design/part-block.txt:
9782         Some docs about what pad_block should do.
9783
9784 2006-06-22  Wim Taymans  <wim@fluendo.com>
9785
9786         * gst/gstcaps.c: (gst_caps_replace):
9787         Fix crasher when passed NULL. Doc clarification.
9788         Optimize for the trivial case.
9789
9790         * gst/gstpipeline.c: (gst_pipeline_change_state):
9791         Small cleanups.
9792
9793         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9794         Small documentation cleanup.
9795
9796         * libs/gst/base/gstbasetransform.c:
9797         (gst_base_transform_buffer_alloc):
9798         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9799         is what we need and it avoids a whole lot of redundant 
9800         refcount operations.
9801
9802 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9803
9804         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9805
9806         * docs/manual/advanced-dataaccess.xml:
9807           Fix 'Embedding static elements' section to use
9808           GST_PLUGIN_DEFINE_STATIC (#345607).
9809
9810 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9811
9812         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9813           Attempt to 'fix' spuriously failing test case: it seems like the
9814           timeout of half a second is simply too small when the system is under
9815           load otherwise, and the timeout doesn't really seem to serve any
9816           particular purpose here. Give the pipeline a few seconds to preroll
9817           first, and then give it another half a second to go from PAUSED to
9818           PLAYING and marshal the message into the main thread.
9819
9820 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9821
9822         * tools/gst-feedback-m.m:
9823           Don't only use unversioned tools, try versioned tools as well
9824           (#345086).
9825
9826 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         * gst/gstbus.c: (gst_bus_class_init):
9829           Fix some typos, make docs more explicit.
9830
9831 2006-06-20  Wim Taymans  <wim@fluendo.com>
9832
9833         * tests/check/gst/gstghostpad.c: (block_callback),
9834         (GST_START_TEST), (gst_ghost_pad_suite):
9835         Added some more ghostpad tests, mainly blocking
9836         and probes.
9837
9838 2006-06-16  Wim Taymans  <wim@fluendo.com>
9839
9840         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9841         (gst_file_sink_close_file), (gst_file_sink_do_seek),
9842         (gst_file_sink_event), (gst_file_sink_render):
9843         * plugins/elements/gstfilesink.h:
9844         Check if we can seek in the file instead of assuming
9845         we always can. Post an error when we are asked to seek in a
9846         non-seekable file (like a fifo). Fixes #343312.
9847         Some cleanups.
9848
9849 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9850
9851         * tools/gst-launch.1.in:
9852           Un-garble (fourcc) bit in filtered caps section.
9853
9854 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9855
9856         * docs/manual/advanced-autoplugging.xml:
9857         * docs/manual/basics-helloworld.xml:
9858         * docs/manual/highlevel-components.xml:
9859           Don't leak bus reference in sample code.
9860
9861 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9862
9863         * autogen.sh:
9864           Add default for new --enable-plugin-docs switch.
9865
9866         * configure.ac:
9867           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9868           Fixes #344039.
9869
9870         * docs/Makefile.am:
9871           Use new ENABLE_PLUGIN_DOCS conditional.
9872
9873 2006-06-14  Wim Taymans  <wim@fluendo.com>
9874
9875         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9876         Make it clear with a FIXME and a real define what the #if 0
9877         previously disabled.
9878
9879 2006-06-14  Wim Taymans  <wim@fluendo.com>
9880
9881         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9882         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9883         * libs/gst/base/gstbasetransform.c:
9884         (gst_base_transform_sink_eventfunc):
9885         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9886         Don't randomly and silently reset a segment when the format 
9887         changes as this is a bug somewhere upstream. Fixes #330379.
9888
9889 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
9890
9891         Patch by: Wouter Paesen  <wouter at kangaroot net>
9892
9893         * libs/gst/controller/gstcontroller.c:
9894         (gst_controlled_property_new):
9895           Fix controlling of float properties (#344849).
9896
9897         * tests/check/libs/controller.c:
9898         (gst_test_mono_source_get_property),
9899         (gst_test_mono_source_set_property),
9900         (gst_test_mono_source_class_init), (GST_START_TEST):
9901           While we're at it, add some float stuff to unit test.
9902
9903 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9904
9905         * docs/README:
9906         * docs/images/gdp-header.svg:
9907           add a gdp image
9908         * docs/libs/Makefile.am:
9909         * docs/libs/gdp-header.png:
9910         * libs/gst/dataprotocol/dataprotocol.c:
9911           add it to the API docs
9912         * docs/manual/intro-motivation.xml:
9913           fix typo
9914
9915 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9916
9917         * gst/gst.c: (scan_and_update_registry), (init_post):
9918           If the fork()'ed child process can't write the updated registry cache
9919           file to disk for some reason, make it exit with a failure exit code,
9920           so that the parent can then re-scan the plugins itself and update the
9921           registry structures in memory and work with that (rather than failing
9922           when creating elements because seemingly no plugins are available).
9923           Refactor registry scanning code into separate function for this and
9924           also separate fork() and non-fork() code paths. Fixes #344748.
9925
9926 2006-06-13  Wim Taymans  <wim@fluendo.com>
9927
9928         * docs/manual/advanced-dataaccess.xml:
9929         Fix wrong PluginDesc. Fixes #344755.
9930
9931 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9934           Fix silly bug that prevented us from creating
9935           ~/.gstreamer-0.10 and writing the registry in one
9936           go (the first call to g_mkstemp() would overwrite the
9937           placeholder in the template string, so the second call
9938           to g_mkstemp() after creating the missing directory
9939           would then error out with 'invalid argument').
9940
9941 2006-06-13  Edward Hervey  <edward@fluendo.com>
9942
9943         * gst/gst.c: (init_post):
9944         Free string.
9945
9946 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9947
9948         * gst/glib-compat-private.h:
9949         * gst/glib-compat.c:
9950         * gst/glib-compat.h:
9951         * gst/gstvalue.c: (gst_value_serialize_flags):
9952           remove GLib 2.6 compatibility code
9953
9954 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9955
9956         * gst/parse/Makefile.am:
9957           Fix build with 'make -j N' even more (#340016).
9958
9959 2006-06-12  Wim Taymans  <wim@fluendo.com>
9960
9961         * docs/gst/gstreamer-sections.txt:
9962         Fix docs.
9963
9964 2006-06-12  Wim Taymans  <wim@fluendo.com>
9965
9966         * gst/gstsegment.c: (gst_segment_set_duration),
9967         (gst_segment_set_last_stop), (gst_segment_set_seek),
9968         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9969         (gst_segment_to_running_time), (gst_segment_clip):
9970         Use G_UNLIKELY to help the compiler a bit.
9971
9972 2006-06-12  Wim Taymans  <wim@fluendo.com>
9973
9974         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9975
9976         * gst/gstevent.c: (gst_event_get_type):
9977         * gst/gstmessage.c:
9978         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9979         (gst_pad_push):
9980         constify quark registration strings. Fixes #344115
9981         Avoid unneeded type checking is _pad_push() by internally
9982         calling gst_pad_chain_unchecked().
9983
9984 2006-06-12  Wim Taymans  <wim@fluendo.com>
9985
9986         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9987         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9988         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9989         (gst_buffer_is_span_fast), (gst_buffer_span):
9990         Init _type for consistency.
9991         Use _FLAGS macro to avoid type check.
9992         Avoid unneeded type checks in subbufer code.
9993
9994 2006-06-12  Wim Taymans  <wim@fluendo.com>
9995
9996         * gst/gst.c: (gst_debug_help):
9997         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9998         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9999         (gst_plugin_feature_list_free):
10000         * gst/gstregistry.c: (gst_registry_add_plugin),
10001         (gst_registry_add_feature), (gst_registry_plugin_filter),
10002         (gst_registry_feature_filter), (gst_registry_find_plugin),
10003         (gst_registry_find_feature), (gst_registry_get_plugin_list),
10004         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
10005         * gst/gstregistryxml.c: (load_feature),
10006         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
10007         * gst/gstminiobject.c: (gst_mini_object_unref),
10008         (gst_mini_object_replace), (gst_value_mini_object_free),
10009         (gst_value_mini_object_copy):
10010         Use _CAST macros to avoid unneeded type checking.
10011         Added some more G_UNLIKELY.
10012
10013 2006-06-12  Wim Taymans  <wim@fluendo.com>
10014
10015         * gst/gstbuffer.h:
10016         Avoid unneeded type checking.
10017         API: GST_BUFFER_IS_DISCONT
10018
10019         * gst/gstminiobject.h:
10020         Avoid type check in flag accessor.
10021
10022         * gst/gstelementfactory.h:
10023         * gst/gstplugin.h:
10024         * gst/gstpluginfeature.h:
10025         Add _CAST macros.
10026         API: GST_ELEMENT_FACTORY_CAST
10027         API: GST_PLUGIN_CAST
10028         API: GST_PLUGIN_FEATURE_CAST
10029
10030 2006-06-12  Wim Taymans  <wim@fluendo.com>
10031
10032         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
10033         (gst_object_unref):
10034         Add G_UNLIKELY in type registration.
10035         Avoid type check in _ref/_unref since that is also
10036         done in glib.
10037
10038 2006-06-12  Wim Taymans  <wim@fluendo.com>
10039
10040         * gst/gsterror.c: (gst_g_error_get_type):
10041         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10042         (gst_static_pad_template_get_type):
10043         * gst/gsttaglist.c: (gst_tag_list_get_type):
10044         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
10045         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
10046         * gst/gsturi.c: (gst_uri_handler_get_type):
10047         * gst/gstvalue.c: (gst_date_get_type):
10048         * gst/gstxml.c: (gst_xml_get_type):
10049         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
10050         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10051         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
10052         Add G_UNLIKELY in type registration.
10053
10054 2006-06-12  Wim Taymans  <wim@fluendo.com>
10055
10056         * tools/gst-inspect.c: (print_signal_info):
10057         Properly print enum values.
10058
10059 2006-06-12  Wim Taymans  <wim@fluendo.com>
10060
10061         * gst/gstinfo.c: (gst_debug_set_active),
10062         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
10063         * gst/gstinfo.h:
10064         Add some G_[UN]LIKELY.
10065         Maintain __gst_debug_min to avoid formatting the arguments of
10066         debug messages that will be dropped anyway to avoid a lot of 
10067         overhead from the debugging system.
10068
10069 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10070
10071         * po/POTFILES.in:
10072         * po/POTFILES.skip:
10073           add missing files containing translatable strings, tell intltool about
10074           one exception
10075
10076 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10077
10078         * tests/check/libs/.cvsignore:
10079         add test-binary to ignore list
10080
10081 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
10082
10083         * docs/libs/gstreamer-libs-docs.sgml:
10084         reorder (put dp into a chapter) and indent
10085
10086 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10087
10088         * configure.ac:
10089           back to HEAD
10090
10091 === release 0.10.8 ===
10092
10093 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
10094
10095         * configure.ac:
10096           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
10097
10098 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10099
10100         * gst/gst.c: (init_post):
10101           move pid declaration to declaration block
10102
10103 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10104
10105         * gst/gst.c: (init_post):
10106           use _exit() instead of exit() in our forked child; this ensures
10107           that none of the registered exit handlers from whatever is using
10108           GStreamer get executed.  This fixes gnome-mixer-applet failing
10109           to load, because ORBit would shut down.
10110           Spotted by: Edward Hervey  <edward@fluendo.com>
10111           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
10112           Fixes #344474
10113
10114 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10115
10116         * configure.ac:
10117           back to TRUNK
10118
10119 === release 0.10.7 ===
10120
10121 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
10122
10123         * configure.ac:
10124           releasing 0.10.7, "Soepeke, ik zie ou"
10125
10126 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10127
10128         * configure.ac:
10129         * po/af.po:
10130         * po/az.po:
10131         * po/bg.po:
10132         * po/ca.po:
10133         * po/cs.po:
10134         * po/de.po:
10135         * po/en_GB.po:
10136         * po/fr.po:
10137         * po/it.po:
10138         * po/nb.po:
10139         * po/nl.po:
10140         * po/ru.po:
10141         * po/sq.po:
10142         * po/sr.po:
10143         * po/sv.po:
10144         * po/tr.po:
10145         * po/uk.po:
10146         * po/vi.po:
10147         * po/zh_CN.po:
10148         * po/zh_TW.po:
10149         * win32/common/config.h:
10150           0.10.6.2 prerelease
10151
10152 2006-06-07  Wim Taymans  <wim@fluendo.com>
10153
10154         * gst/gstindex.c: (gst_index_gtype_resolver):
10155         * tools/gst-xmlinspect.c: (print_plugin_info):
10156         Fix leak spotted by coverity checker. Fixes #343827
10157         Fix another other leak found by paolo borelli.
10158
10159 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10160
10161         * libs/gst/dataprotocol/dataprotocol.c:
10162         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10163         (gst_dp_version_get_type), (gst_dp_init),
10164         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
10165         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
10166         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
10167         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
10168         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
10169         (gst_dp_packetizer_free):
10170         * libs/gst/dataprotocol/dataprotocol.h:
10171           API: add a GstDPPacketizer object, and create/free functions
10172           API: add GstDPVersion enum
10173           Add 1.0 event function that uses the string serialization
10174           Serialize more useful buffer flags
10175           Fixes #343988
10176
10177 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10178
10179         * tests/check/Makefile.am:
10180         * tests/check/gst/gstabi.c:
10181         * tests/check/gst/struct_ppc64.h:
10182         * tests/check/libs/libsabi.c:
10183         * tests/check/libs/struct_ppc64.h:
10184           add ppc64 structure sizes
10185
10186 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10187
10188         * tests/check/Makefile.am:
10189         * tests/check/gst/gstabi.c:
10190         * tests/check/gst/struct_x86_64.h:
10191         * tests/check/libs/libsabi.c:
10192         * tests/check/libs/struct_x86_64.h:
10193           generate and add structure size lists for x86_64
10194
10195 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10196
10197         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
10198         * libs/gst/check/gstcheck.h:
10199           factor out the method from tests that checks size of structures,
10200           and add code to generate the header containing these sizes
10201         * tests/check/gst/gstabi.c: (GST_START_TEST):
10202         * tests/check/gst/struct_i386.h:
10203         * tests/check/libs/libsabi.c: (GST_START_TEST):
10204         * tests/check/libs/struct_i386.h:
10205           use it
10206
10207 2006-06-06  Michael Smith  <msmith@fluendo.com>
10208
10209         * gst/gstsegment.h:
10210           Don't use c++-style comments, fixes #343929
10211
10212 2006-06-05  Edward Hervey  <edward@fluendo.com>
10213
10214         * gst/gst.c:
10215         plugin_paths is not used if we build without registry support.
10216
10217         * gst/gstsegment.c: (gst_segment_copy): 
10218         _copy() was always returning NULL...
10219
10220 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10221
10222         * libs/gst/dataprotocol/dataprotocol.c:
10223         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10224         (gst_dp_packet_from_event):
10225           factor out CRC code
10226
10227 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10228
10229         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
10230           make sure we unset caps
10231
10232 2006-06-02  Michael Smith  <msmith@fluendo.com>
10233
10234         * libs/gst/check/gstcheck.c: (gst_check_init),
10235         (gst_check_chain_func):
10236         * libs/gst/check/gstcheck.h:
10237           Add a cond/mutex to the check support lib, signal this whenever we
10238           add to the buffers list. This will allow tests to not busy-wait on
10239           the buffer-list.
10240
10241 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10242
10243         * libs/gst/dataprotocol/dataprotocol.c:
10244         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10245         (gst_dp_packet_from_event):
10246           factor out some common header init code
10247
10248 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10249
10250         * docs/libs/gstreamer-libs-sections.txt:
10251         * docs/libs/tmpl/gstdataprotocol.sgml:
10252         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
10253         * libs/gst/dataprotocol/dataprotocol.h:
10254           API: make gst_dp_crc() public
10255
10256 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10257
10258         * plugins/indexers/gstindexers.c: (plugin_init):
10259         conditionally register fileindexer (fixes #343598)
10260
10261 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
10262
10263         * gst/gsttagsetter.h:
10264         Can't cast ifaces to a class
10265
10266         * libs/gst/net/gstnetclientclock.h:
10267         * libs/gst/net/gstnettimeprovider.h:
10268         * plugins/elements/gstfakesink.h:
10269         * plugins/elements/gstfakesrc.h:
10270         * plugins/elements/gstfdsink.h:
10271         * plugins/elements/gstfdsrc.h:
10272         * plugins/elements/gstfilesink.h:
10273         * plugins/elements/gstfilesrc.h:
10274         * plugins/elements/gstidentity.h:
10275         * plugins/elements/gstqueue.h:
10276         * plugins/elements/gsttee.h:
10277         * plugins/indexers/gstfileindex.c:
10278         * plugins/indexers/gstmemindex.c:
10279         * tests/old/examples/plugins/example.h:
10280         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
10281
10282 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10283
10284         * libs/gst/dataprotocol/dataprotocol.c:
10285         (gst_dp_header_from_buffer):
10286           make sure we zero the whole ABI-compatible area
10287
10288 2006-06-01  Wim Taymans  <wim@fluendo.com>
10289
10290         Patch by: Alessandro Decina <alessandro at nnva dot org>
10291
10292         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
10293         Make sure the EOS flag is cleared from pads after a flush
10294         or stop. Fixes #343538.
10295
10296         * tests/check/libs/collectpads.c: (GST_START_TEST),
10297         (gst_collect_pads_suite):
10298         Added test for collectpads reusage after EOS.
10299
10300 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
10301
10302         * gst/gst.c:
10303          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
10304         * win32/common/libgstbase.def:
10305          export gst_collect_pads_set_flushing
10306         * win32/common/libgstreamer.def:
10307          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
10308          gst_value_fraction_multiply
10309         * win32/vs6/gst_inspect.dsp:
10310          add a link to intl.lib
10311
10312 2006-05-30  Wim Taymans  <wim@fluendo.com>
10313
10314         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10315         (gst_collect_pads_chain):
10316         Handle the case where a pad is removed from the collection
10317         that could cause the other pads to become collectable.
10318
10319 2006-05-30  Wim Taymans  <wim@fluendo.com>
10320
10321         * gst/gstelement.c:
10322         Clarify the use of _release_request_pad() and
10323         _get_request_pad() a bit better.
10324
10325         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
10326         (gst_adapter_take_buffer):
10327         Fix some doc and comment typos.
10328
10329 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
10330
10331         * docs/gst/gstreamer-sections.txt:
10332         * docs/libs/gstreamer-libs-sections.txt:
10333           add declared symbols
10334
10335 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
10336
10337         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
10338         Add debug that can be enabled using a #define at the top of the file,
10339         for dumping stats about how late/early we were when waking up from
10340         waiting on the clock.
10341
10342 2006-05-30  Wim Taymans  <wim@fluendo.com>
10343
10344         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
10345         When rebuilding the pad list, don't leak the previous list.
10346
10347 2006-05-30  Wim Taymans  <wim@fluendo.com>
10348
10349         Patch by: Lutz Mueller <lutz at topfrose dot de>
10350
10351         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10352         (gst_base_src_get_query_types), (gst_base_src_update_length):
10353         Publish supported query types.
10354         Update last_stop field in get_range mode so the position
10355         query works. Fixes #342321.
10356
10357 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
10358
10359         * docs/gst/gstreamer-sections.txt:
10360         * gst/gsttaglist.c: (_gst_tag_initialize):
10361         * gst/gsttaglist.h:
10362           API: add GST_TAG_PREVIEW_IMAGE (#343341).
10363
10364 2006-05-30  Wim Taymans  <wim@fluendo.com>
10365
10366         Patch by: Alessandro Decina <alessandro at nnva dot org>
10367
10368         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
10369         Unlock mutex when removing an unknown pad.
10370         Fixes #343334.
10371
10372         * tests/check/Makefile.am:
10373         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
10374         (push_event), (setup), (teardown), (GST_START_TEST),
10375         (gst_collect_pads_suite), (main):
10376         Added collecpads check, disabled for now as check crashes for
10377         some reason.
10378
10379 2006-05-29  Wim Taymans  <wim@fluendo.com>
10380
10381         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
10382         Don't leak pads lists.
10383
10384 2006-05-29  Wim Taymans  <wim@fluendo.com>
10385
10386         * docs/libs/gstreamer-libs-sections.txt:
10387         * libs/gst/base/gstcollectpads.c:
10388         (gst_collect_pads_set_flushing_unlocked),
10389         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10390         (gst_collect_pads_stop):
10391         * libs/gst/base/gstcollectpads.h:
10392         API: gst_collect_pads_set_flushing()
10393         Added api to set the pads to flushing, useful for seeking
10394         code in elements using collectpads.
10395         Clear segment when receiving a flush.
10396
10397 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
10398
10399         * gst/gst.c: (add_path_func), (init_post):
10400           Don't scan registry paths passed via --gst-plugin-path immediately
10401           (will crash, because absolutely nothing is set up and no types are
10402           registered etc.); do this later in init_post(). Fixes #343057.
10403
10404 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10405
10406         * gst/gst.c: (init_post):
10407           if we have fork, fork while reading/rebuilding the registry
10408           so the parent doesn't take the hit of having all plugins loaded
10409           in memory.  Fixes #342777.
10410         * configure.ac:
10411           Check if we have fork()
10412         * win32/common/config.h.in:
10413           no fork() on win32
10414
10415 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10416
10417         * plugins/elements/gstelements.c:
10418         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10419         (gst_file_src_init), (gst_file_src_set_property),
10420         (gst_file_src_get_property), (gst_file_src_start):
10421         * plugins/elements/gstfilesrc.h:
10422           API: GstFileSrc::use-mmap
10423
10424         Add a use-mmap property to enable easier testing of all code paths.
10425         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
10426         in the absence of gnomevfssrc. (Closes #340501)
10427
10428 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10429
10430         * tools/gst-inspect.c:
10431         Add missing include, removes warning of ngettext not being defined on
10432         some arches.
10433
10434 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
10435
10436         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10437         Handle NULL input and output pointers silently as a failed conversion,
10438         rather than g_warnings.
10439
10440 2006-05-25  Wim Taymans  <wim@fluendo.com>
10441
10442         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
10443         Initialize variable before using. Fixes #342820.
10444
10445 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
10446
10447         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
10448           Fix off-by-one bug that would only allow peeks of N-1 bytes
10449           from the start even if the buffer to typefind on contains
10450           in fact N bytes of data (makes vorbis typefinding from a
10451           vorbis identification header buffer work).
10452
10453         * tests/check/Makefile.am:
10454         * tests/check/libs/.cvsignore:
10455         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
10456         (gst_typefindhelper_suite), (main), (foobar_typefind),
10457         (plugin_init):
10458           Add very basic unit test for gst_type_find_helper_for_buffer()
10459           that checks for the problem fixed above.
10460
10461 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10462
10463         * tools/gst-inspect.c: (print_interfaces),
10464         (print_element_properties_info), (print_element_list), (main):
10465           add more translatable strings
10466
10467 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
10468
10469         Patch by: Julien Moutte  <julien at moutte net>
10470
10471         * docs/gst/gstreamer-sections.txt:
10472           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
10473           
10474         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
10475         (gst_fake_sink_preroll):
10476         * plugins/elements/gstfakesink.h:
10477           API: Add new GstFakeSink::preroll-handoff signal (#337100).
10478
10479 2006-05-23  Wim Taymans  <wim@fluendo.com>
10480
10481         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
10482         * gst/gstpad.h:
10483         Added _CUSTOM error and success GstFlowReturn that can be
10484         used be elements internally. 
10485         Added macro to check for SUCCESS flowreturns.
10486         API: GST_FLOW_CUSTOM_SUCCESS
10487         API: GST_FLOW_CUSTOM_ERROR
10488         API: GST_FLOW_IS_SUCCESS
10489
10490         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
10491         Added check for GstFlowReturn sanity.
10492
10493 2006-05-23  Wim Taymans  <wim@fluendo.com>
10494
10495         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10496
10497         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10498         (gst_collect_pads_event):
10499         clear/reset segment info in FLUSH_STOP.
10500         Fixes #336929.
10501
10502 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
10503
10504         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
10505         (gst_collect_pads_check_collected):
10506         Flush queued buffer on _stop(), fixes playing again (#342454)
10507
10508 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10509
10510         * tests/check/gst/gststructure.c: (GST_START_TEST),
10511         (gst_structure_suite):
10512           add a test for a complete structure
10513
10514 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * docs/faq/developing.xml:
10517         * docs/faq/faq.xml:
10518         * docs/faq/troubleshooting.xml:
10519         * docs/faq/using.xml:
10520           Some minor FAQ updates that won't change the fact that
10521           our FAQ is badly structured, full of information hardly
10522           anyone new to GStreamer needs to know and lacking lots
10523           of information people constantly ask for.
10524           
10525 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
10526
10527         * gst/gstpad.c: (gst_pad_set_caps):
10528           Short-circuit gst_pad_set_caps if setting the existing
10529           caps pointer again, and avoid printing debug and 
10530           reffing/unreffing the caps.
10531
10532         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10533           There's actually no need to set the caps before pushing -
10534           the acceptcaps method will handle it anyway.
10535
10536 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
10537
10538         * docs/gst/gstreamer-sections.txt:
10539         * win32/common/libgstreamer.def:
10540         * gst/gstutils.c: (gst_element_seek_simple):
10541         * gst/gstutils.h:
10542           API: add gst_element_seek_simple() (#342238).
10543
10544 2006-05-18  Edward Hervey  <edward@fluendo.com>
10545
10546         * gst/gsttypefind.c: (gst_type_find_get_type):
10547         * gst/gsttypefind.h:
10548         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
10549         registered for GstTypeFind pointers. This allows wrapping the structure
10550         in bindings (i.e. gst-python).
10551
10552 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10553
10554         * gst/gsttagsetter.c:
10555           Docs additions and fixes (see #339918).
10556
10557 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
10558
10559         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10560         The caps intersection algorithm can produce multiple copies of the
10561         caps. Until that is fixed, we need to simplify the result to be
10562         sure whether the allowed caps are fixed or not.
10563
10564         * plugins/elements/gstqueue.c: (gst_queue_init),
10565         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
10566         (gst_queue_push_one):
10567         Proxied buffer alloc should not set the caps on the source pad.
10568         When pushing buffers, we always accept the caps change that triggers.
10569         This prevents negotiation errors caused by caps changing mid-stream 
10570         and then being refused on our source pad (because upstream is now
10571         refusing those caps).
10572
10573 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * tests/examples/helloworld/helloworld.c: (main):
10576           Must plug audioconvert and audioresample between decoder
10577           and audio sink.
10578
10579 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
10580
10581         * gst/gstregistryxml.c: (read_string), (load_pad_template),
10582         (load_feature), (load_plugin):
10583         Allow empty strings for some of the plugin fields so we don't 
10584         drop valid plugin entries that were written out correctly
10585         (Fixes #341479)
10586
10587 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
10588         
10589         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10590           Use g_remove and g_rename instead of remove and rename that don't 
10591           handle utf8 characters. rename was failing for users who had specific
10592           characters in their name then the registry was built at each 
10593           gstreamer init.
10594         * win32/vs6/gst_inspect.dsp:
10595         * win32/vs6/gst_launch.dsp:
10596         * win32/vs6/libgstbase.dsp:
10597         * win32/vs6/libgstcoreelements.dsp:
10598         * win32/vs6/libgstreamer.dsp:
10599           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
10600           build of libgstreamer and clean unused libraries in projects link 
10601           settings.
10602
10603 2006-05-17  Edward Hervey  <edward@fluendo.com>
10604
10605         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10606         The queue is not responsible for pushing an EOS when receiving a fatal
10607         flow error. It's up to the real element driving the pipeline to do that.
10608
10609 2006-05-16  Edward Hervey  <edward@fluendo.com>
10610
10611         * plugins/elements/gstqueue.c: (gst_queue_push_one):
10612         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
10613         buffer returned a fatal error. It should just send an EOS and stop
10614         its task.
10615         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
10616         when pushing buffers on the queue and will be able to handle the event.
10617
10618 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
10619
10620         * docs/manual/basics-bins.xml:
10621         * docs/manual/basics-init.xml:
10622           Fix typos and minor errors in sample code (#341856).
10623
10624 2006-05-16  Wim Taymans  <wim@fluendo.com>
10625
10626         * docs/design/part-qos.txt:
10627         Fix indexes in formulas to make more sense.
10628
10629 2006-05-15  Wim Taymans  <wim@fluendo.com>
10630
10631         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
10632         Don't report POSITION based on clock time if sync is
10633         disabled in a sink.
10634
10635 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
10636
10637         * gst/gstobject.h:
10638           Add cast to make compiler happy - refcount variable was a gint
10639           in GstObject but is a guint in GObject and g_atomic_int_get()
10640           wants a gint *.
10641
10642 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10643
10644         * gst/parse/Makefile.am:
10645           chain commands using &&, which also makes parallel make work
10646
10647 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
10648
10649         * docs/gst/gstreamer-sections.txt:
10650         * gst/gstevent.c:
10651         * gst/gstevent.h:
10652         * gst/gstmessage.h:
10653           Minor docs fixes.
10654
10655 === release 0.10.6 ===
10656
10657 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
10658
10659         * configure.ac:
10660           releasing 0.10.6, "Take the cannoli"
10661
10662 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * tools/gst-launch.c: (print_tag):
10665           Fix use of uninitialized variable in the hypothetical
10666           case that some broken plugin creates a GST_TAG_IMAGE
10667           tag containing a NULL buffer (#341667).
10668
10669 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
10670
10671         * tools/gst-launch.c: (print_tag):
10672           Print something more intelligible for image tags when
10673           using the -t switch (#341556).
10674
10675 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10676
10677         * Makefile.am:
10678           updates for win32
10679         * configure.ac:
10680           define GST_MAJORMINOR so we have it available in win32/common/config.h
10681           Possibly remove it from our Makefile.am files later
10682         * win32/common/config.h:
10683         * win32/common/config.h.in:
10684           added GST_MAJORMINOR
10685         * win32/common/gstenumtypes.c: (register_gst_resource_error):
10686         * win32/common/gstversion.h:
10687           updated
10688
10689 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
10690
10691         * win32/MANIFEST:
10692           Update win32 files listing.
10693         * win32/common/gstversion.h:
10694           Add GST_MAJORMINOR definition.
10695         * win32/common/libgstreamer.def:
10696           Add new exported functions.
10697           
10698 2006-05-12  Michael Smith  <msmith@fluendo.com>
10699
10700         * gst/gstplugin.c: (gst_plugin_load_file):
10701           If an so file has no plugin entry point, unload the module.
10702
10703 2006-05-11  Wim Taymans  <wim@fluendo.com>
10704
10705         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
10706         (gst_queue_set_property):
10707         Don't forget to signal the _chain or _loop function 
10708         when the queue size or thresholds change since that might
10709         cause them to make progres again.
10710
10711 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
10712
10713         * gst/gstclock.c: (gst_clock_class_init):
10714         * gst/gstindex.c: (gst_index_class_init):
10715         * gst/gstobject.c: (gst_object_class_init):
10716         * gst/gstpad.c: (gst_pad_class_init):
10717         * gst/gstpipeline.c: (gst_pipeline_class_init):
10718         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10719         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
10720         * libs/gst/base/gstbasetransform.c:
10721         (gst_base_transform_class_init):
10722         * libs/gst/net/gstnetclientclock.c:
10723         (gst_net_client_clock_class_init):
10724         * libs/gst/net/gstnettimeprovider.c:
10725         (gst_net_time_provider_class_init):
10726         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
10727         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10728         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10729         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
10730         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10731         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
10732         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10733         * plugins/elements/gstidentity.c: (gst_identity_class_init):
10734         * plugins/elements/gsttee.c: (gst_tee_class_init):
10735         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10736         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10737           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
10738
10739 2006-05-11  Wim Taymans  <wim@fluendo.com>
10740
10741         * gst/gstbuffer.c: (_gst_buffer_initialize):
10742         Register subbufer along with the buffer type so that
10743         it does not accidentally gets registered from N
10744         different streaming threads in a non threadsafe way.
10745
10746 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10747
10748         * gst/gstbuffer.h:
10749         * gst/gstevent.h:
10750         * gst/gstmessage.h:
10751           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
10752           gst_event_ref() and gst_message_ref() functions again
10753           (ugly hack, please do fix if there's a better way besides
10754           overrides.txt, which doesn't seem to work).
10755
10756 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10757
10758         * libs/gst/check/gstcheck.h:
10759           add an assert for setting state to avoid lots of repetitive code
10760           in the future
10761
10762 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10763
10764         * gst/gstvalue.c: (gst_value_serialize_flags):
10765           fix a leak if no flags are set
10766         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10767           fix leak in tests
10768
10769 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
10770
10771         * docs/manual/basics-pads.xml:
10772           Expand a bit on caps and filtered links and update
10773           examples that were still using the no longer existing
10774           gst_pad_link_filtered() (#338206).
10775
10776 2006-05-10  Wim Taymans  <wim@fluendo.com>
10777
10778         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
10779         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
10780         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
10781         (gst_collect_pads_stop):
10782         * libs/gst/base/gstcollectpads.h:
10783         No need to call _stop in _finalize.
10784         Iterate the main pad list in _finalize.
10785         Added some more debug.
10786         Free lists and data in the right order.
10787         Also free data whem doing _remove_pad when stopped for
10788         backward compatibility protect ::started with PAD_LOCK as
10789         well.
10790
10791 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10792
10793         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10794         (gst_structure_parse_value):
10795           add some comments
10796           rename a method so that it actually says what it does better
10797
10798 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10799
10800         * gst/gstevent.c: (_gst_event_initialize):
10801         * gst/gstformat.c: (_gst_format_initialize):
10802           make sure some essential types used by events are registered
10803           as part of gst_init()
10804         * gst/gstvalue.c: (gst_value_serialize_flags):
10805           if no flags are set, serialize them to a value that represents NONE
10806           so that deserializing them works
10807         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10808           add tests for serialization and deserialization of flags
10809
10810 2006-05-10  Wim Taymans  <wim@fluendo.com>
10811
10812         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10813         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10814         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10815         (gst_collect_pads_event), (gst_collect_pads_chain):
10816         Update docs.
10817         Better debug info.
10818         Catch and return errors from the collect function
10819         Refuse data on eos pads.
10820
10821 2006-05-10  Edward Hervey  <edward@fluendo.com>
10822
10823         * gst/gstinterface.h:
10824         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10825         GInterface type checking.
10826         They were previously using non-defined macros.
10827
10828 2006-05-09  Wim Taymans  <wim@fluendo.com>
10829
10830         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10831         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10832         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10833         (gst_collect_pads_start), (gst_collect_pads_stop),
10834         (gst_collect_pads_peek), (gst_collect_pads_pop),
10835         (gst_collect_pads_available), (gst_collect_pads_read),
10836         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10837         (gst_collect_pads_is_collected), (gst_collect_pads_event),
10838         (gst_collect_pads_chain):
10839         * libs/gst/base/gstcollectpads.h:
10840         Clean up the mess that is collectpads, add comments and
10841         FIXMEs where needed.
10842         Maintain a separate pad list so we can add pads while
10843         collecting the other ones. For this we need a new separate 
10844         lock (see comics).
10845         Fix memory leak in finalize.
10846         Refactor some weird code to set/unset pad flushing flags, mark
10847         with comments.
10848         Don't crash in _available, _read, _flush when we're EOS.
10849
10850         * tests/check/libs/.cvsignore:
10851         Ignore adapter check binary.
10852
10853 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10854
10855         * gst/gstindex.c: (gst_index_resolver_get_type):
10856         * plugins/elements/gstfakesink.c:
10857         (gst_fake_sink_state_error_get_type):
10858         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10859         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10860         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10861           Const-ify GEnumValue arrays.
10862
10863 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10864
10865         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10866           Add test case for flags + gst_buffer_make_metadata_writable().
10867
10868 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10869
10870         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10871           gst_buffer_make_metadata_writable() should maintain the
10872           buffer flags (those that make sense at least) (see #340859).
10873
10874 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * tools/gst-inspect.c:
10877         * tools/gst-launch.c:
10878         * tools/gst-typefind.c:
10879         * tools/gst-xmlinspect.c:
10880         * tools/tools.h:
10881           Fix up includes: need to include stdlib.h in tools.h for exit().
10882
10883 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10884
10885         * gst/gsttaglist.c: (_gst_tag_initialize):
10886         * gst/gsttaglist.h:
10887           API: add GST_TAG_IMAGE tag (#340721).
10888
10889 2006-05-08  Wim Taymans  <wim@fluendo.com>
10890
10891         * gst/gstquery.c:
10892         Added some docs for the segment query.
10893
10894 2006-05-08  Wim Taymans  <wim@fluendo.com>
10895
10896         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10897         (gst_base_src_loop), (gst_base_src_change_state):
10898         Always push non-flushing serialized events in the streaming 
10899         thread.
10900
10901 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10902
10903         * gst/gsterror.c: (_gst_stream_errors_init):
10904           Add a missing error string.
10905
10906 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
10907
10908         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10909         Add applied_rate to the debug
10910
10911         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10912         Copy applied_rate into the outgoing NEWSEGMENT event
10913
10914 2006-05-08  Wim Taymans  <wim@fluendo.com>
10915
10916         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10917
10918         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10919         (gst_base_sink_change_state):
10920         call ::unlock before taking the PREROLL_LOCK so we can safely
10921         handle elements that lock in ::render.
10922         Fixes #340174.
10923
10924 2006-05-08  Edward Hervey  <edward@fluendo.com>
10925
10926         * autogen.sh: (CONFIGURE_DEF_OPT): 
10927         Darwin's libtoolize is in fact called glibtoolize.
10928         Adding glibtoolize to the list of accepted names for libtoolize.
10929
10930 2006-05-08  Wim Taymans  <wim@fluendo.com>
10931
10932         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10933         Unify error handling, don't post an error message
10934         when a push() returns EOS but perform our normal EOS
10935         handling code. Fixes #340772.
10936
10937 2006-05-08  Wim Taymans  <wim@fluendo.com>
10938
10939         * docs/design/part-overview.txt:
10940         Make upsteam/downstream concepts more clear.
10941         Give an example of serialized/non-serialized events.
10942
10943         * docs/design/part-events.txt:
10944         * docs/design/part-streams.txt:
10945         Mention applied_rate.
10946
10947         * docs/design/part-trickmodes.txt:
10948         Mention applied rate, flesh out some more use cases.
10949
10950         * gst/gstevent.c: (gst_event_new_new_segment),
10951         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10952         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10953         (gst_event_parse_tag), (gst_event_new_buffer_size),
10954         (gst_event_parse_buffer_size), (gst_event_new_qos),
10955         (gst_event_parse_qos), (gst_event_parse_seek),
10956         (gst_event_new_navigation):
10957         * gst/gstevent.h:
10958         Add applied_rate field to NEWSEGMENT event.
10959         API: gst_event_new_new_segment_full()
10960         API: gst_event_parse_new_segment_full()
10961
10962         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10963         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10964         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10965         * gst/gstsegment.h:
10966         Add applied_rate to GstSegment structure.
10967         Make calculation of stream_time and running_time more correct
10968         wrt rate/applied_rate.
10969         Add some more docs.
10970         API: GstSegment::applied_rate field
10971         API: gst_segment_set_newsegment_full();
10972
10973         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10974         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10975         * libs/gst/base/gstbasetransform.c:
10976         (gst_base_transform_sink_eventfunc),
10977         (gst_base_transform_handle_buffer):
10978         Parse and use applied_rate in the GstSegment field.
10979
10980         * tests/check/gst/gstevent.c: (GST_START_TEST):
10981         Add check for applied_rate field.
10982
10983         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10984         (gstsegments_suite):
10985         Add more checks for various GstSegment operations.
10986
10987 2006-05-08  Wim Taymans  <wim@fluendo.com>
10988
10989         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10990         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10991         (gst_base_sink_get_position), (gst_base_sink_change_state):
10992         Store the sync time of the buffer end position separatly in a
10993         new variable eos_rtime so we can properly sync the EOS event.
10994         Fixes #340697.
10995         Fix the docs for gst_base_sink_set_qos_enabled().
10996         Don't set segment start to invalid value when we receive a 
10997         non TIME newsegment.
10998         get closer to handling position reporting for negative rates 
10999         correctly.
11000
11001 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11002
11003         * gst/gstcaps.c:
11004         Docs about how to print caps for debug purposes.
11005
11006         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
11007         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
11008
11009 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
11010
11011         * gst/gstelement.c:
11012           use full enum names and preprend a '%' in docs strings to make recent 
11013           gtk-doc turn that into a link
11014
11015 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11016
11017         * docs/manual/basics-bins.xml:
11018         * docs/manual/basics-bus.xml:
11019         * docs/manual/basics-pads.xml:
11020           Some typo fixes, some additions, some clarifications. 
11021
11022 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11023
11024         * tools/gst-inspect.c: (main):
11025         * tools/gst-launch.c: (main):
11026         * tools/gst-run.c: (main):
11027         * tools/gst-typefind.c: (main):
11028         * tools/gst-xmlinspect.c: (main):
11029           Use the string passed to g_option_context_new() for
11030           what it's intended for - the program name is already
11031           printed elsewhere.
11032
11033 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11034
11035         * tools/Makefile.am:
11036         * tools/gst-inspect.c: (main):
11037         * tools/gst-launch.c: (main):
11038         * tools/gst-xmlinspect.c: (main):
11039         * tools/tools.h:
11040           Add back --version command line option (#340460).
11041
11042         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
11043           Add --version option and use GOption for argument parsing; refactor a
11044           bit; accept directories as arguments and recurse into them; lastly,
11045           print a decent error message when things go wrong.
11046
11047 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11048
11049         * docs/manual/basics-bins.xml:
11050         Don't mention GstThread (#340611)
11051         * docs/manual/basics-elements.xml:
11052         Update link to GObject tutorial (#340607)
11053         
11054 2006-05-05  Wim Taymans  <wim@fluendo.com>
11055
11056         * gst/gstbuffer.h:
11057         * gst/gstminiobject.c:
11058         Add note about refcounting and miniobject/buffer writeability
11059         to docs. Fixes #340604
11060
11061         * gst/gstelementfactory.h:
11062         Added some explanation about @klass.
11063
11064 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11065
11066         * docs/manual/intro-motivation.xml:
11067         * docs/manual/manual.xml:
11068         Avoid CORBA & Bonobo references (#340598)
11069
11070 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11071
11072         * docs/manual/basics-bus.xml:
11073         * docs/manual/basics-pads.xml:
11074         Fix up some inaccuracies and omissions (#340609)
11075         
11076 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
11077
11078         * gst/gstghostpad.c:
11079           Small typo in docs (#340625)
11080
11081 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11082
11083         * gst/parse/Makefile.am:
11084           Make 'make -j' proof (see #340698).
11085
11086 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
11087
11088         * configure.ac:
11089           Require GLib-2.8 here as well.
11090
11091 2006-05-05  Wim Taymans  <wim@fluendo.com>
11092
11093         * gst/glib-compat.c:
11094         * gst/gst.c: (init_pre):
11095         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
11096         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
11097         (gst_object_dispatch_properties_changed):
11098         * gst/gstobject.h:
11099         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11100         * gst/gststructure.c: (gst_structure_set_valist):
11101         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11102         Remove pre glib2.8 compatibility, fixes #340508
11103
11104 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11105
11106         * gst/gsttaglist.h:
11107           Mention type of tags in doc blurbs.
11108
11109 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
11110
11111         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11112         (gst_pad_configure_src), (gst_pad_push):
11113         Restore acceptcaps checking behaviour now that good plugins have
11114         been released.
11115
11116 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
11117
11118         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
11119
11120         * gst/gst.c:
11121         * gst/gstbus.c:
11122         * gst/gstclock.c:
11123         * gst/gstevent.c:
11124         * gst/gstformat.c:
11125         * gst/gstmessage.c:
11126         * gst/gstparse.c:
11127         * gst/gstquery.c:
11128         * gst/gstutils.c:
11129         * gst/parse/Makefile.am:
11130         * libs/gst/base/gstadapter.c:
11131         * libs/gst/base/gstbasesrc.c:
11132         * libs/gst/base/gstpushsrc.c:
11133         * libs/gst/base/gsttypefindhelper.c:
11134         * plugins/elements/gstfakesrc.c:
11135         * plugins/elements/gstidentity.c:
11136           Make sure gstprivate.h and/or config.h are
11137           always included first, otherwise some of our
11138           defines (like _FILE_OFFSET_BITS) might be
11139           redefined in the system headers. Fixes build
11140           on opensolaris (#340016).
11141
11142 2006-05-04  Wim Taymans  <wim@fluendo.com>
11143
11144         * docs/libs/gstreamer-libs-sections.txt:
11145         API: addition: gst_adapter_take_buffer()
11146         
11147         * libs/gst/base/gstadapter.c: (gst_adapter_push),
11148         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
11149         (gst_adapter_available_fast):
11150         * libs/gst/base/gstadapter.h:
11151         Prepare for optimizing the hell out of this hugely inefficient
11152         piece of code. 
11153         Added gst_adapter_take_buffer() so we can at least start thinking
11154         about subbuffering and merging.
11155         Added some comments.
11156
11157         * tests/check/Makefile.am:
11158         * tests/check/libs/adapter.c: (GST_START_TEST),
11159         (gst_adapter_suite), (main):
11160         Added GstAdapter check.
11161
11162 2006-05-04  Wim Taymans  <wim@fluendo.com>
11163
11164         * docs/design/part-overview.txt:
11165         Fix some typos, add blurb about buffer flags.
11166
11167 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11168
11169         * docs/libs/gstreamer-libs-sections.txt:
11170           make sure GstBaseTransformClass shows up in the docs
11171         * libs/gst/base/gstbasetransform.c:
11172         * libs/gst/base/gstbasetransform.h:
11173           move docs so gtk-doc picks it up now
11174
11175 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11176
11177         * docs/libs/gstreamer-libs-sections.txt:
11178           add missing symbols to docs
11179
11180 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
11181
11182         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11183           back out the newsegment handling change, see #340060 for ongoing
11184           discussion
11185
11186 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
11187
11188         * tools/gst-run.c: (get_candidates), (main):
11189           Fix wrong g_file_test() usage (see glib docs for why it doesn't
11190           work); fix typo in error message. Fixes #340079.
11191
11192 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11193
11194         * common/Makefile.am:
11195         * docs/Makefile.am:
11196         * docs/faq/Makefile.am:
11197         * docs/gst/Makefile.am:
11198         * docs/libs/Makefile.am:
11199         * docs/manual/Makefile.am:
11200         * docs/plugins/Makefile.am:
11201         * docs/pwg/Makefile.am:
11202         * docs/slides/Makefile.am:
11203         * docs/upload.mak:
11204         * common/upload.mak:
11205           move upload.mak to common
11206
11207 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11208
11209         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11210           add more asserts on refcounts
11211           do more cleanup at end of tests
11212           fix test leaks showing in FC5
11213
11214 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
11215
11216         * plugins/elements/gsttypefindelement.c:
11217         (gst_type_find_element_handle_event):
11218         reverted wrong change and reflowed code to avoid others falling into
11219         this trap
11220
11221 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11222
11223         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11224           fix changelog entry about last collectpads change,
11225           add notes about proper fix
11226
11227 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11228
11229         * gst/gst.c:
11230         * gst/gstregistry.c: (gst_registry_scan_path_level),
11231         (gst_registry_scan_path):
11232         * gst/gstregistry.h:
11233           only write out registry if it has changed, fixes #338339
11234
11235 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11236
11237         * gst/gstbin.c:
11238         * gst/gstpipeline.c:
11239         * plugins/elements/gstcapsfilter.c:
11240         * plugins/elements/gstfakesink.c:
11241         * plugins/elements/gstfakesrc.c:
11242         * plugins/elements/gstfdsink.c:
11243         * plugins/elements/gstfdsrc.c:
11244         * plugins/elements/gstfilesink.c:
11245         * plugins/elements/gstfilesrc.c:
11246         * plugins/elements/gstidentity.c:
11247         * plugins/elements/gstqueue.c:
11248         * plugins/elements/gsttee.c:
11249         * plugins/elements/gsttypefindelement.c:
11250         (gst_type_find_element_handle_event):
11251           make GstElementDetails const
11252
11253 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11254
11255         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
11256         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
11257         (gst_collect_pads_is_collected), (gst_collect_pads_event):
11258           more detailed debug and formatting cleanup,
11259           forward newsegments to src-pad (so that e.g. adder not eats them)
11260
11261 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11262
11263         * gst/gstutils.c: (gst_element_link_pads):
11264           cleanup double code
11265
11266 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
11267
11268         * libs/gst/controller/gstcontroller.c:
11269         (gst_controller_sync_values):
11270           some little tuning
11271         * tests/check/libs/controller.c: (GST_START_TEST),
11272         (gst_controller_suite):
11273           a new test for live value handling
11274
11275 2006-04-28  Wim Taymans  <wim@fluendo.com>
11276
11277         * gst/gstutils.c: (push_and_ref):
11278         Added some more docs.
11279         Fix refcount issue whith gst_element_found_tags() helper 
11280         function. Fixes #338335
11281
11282         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11283         Added testsuite for gst_element_found_tags().
11284
11285 2006-04-28  Michael Smith  <msmith@fluendo.com>
11286
11287         * gst/gstvalue.c: (gst_value_serialize_flags):
11288           Avoid NULL dereference when trying to serialize flags containing
11289           invalid values.
11290
11291 2006-04-28  Michael Smith  <msmith@fluendo.com>
11292
11293         * plugins/elements/gsttypefindelement.c:
11294         (gst_type_find_element_handle_event):
11295           If we get EOS before any data is accumulated, don't use
11296           uninitialised local variables.
11297
11298 2006-04-28  Michael Smith  <msmith@fluendo.com>
11299
11300         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
11301         (gst_dp_event_from_packet):
11302           Fixes in reading/writing events over GDP (not currently used?) - 
11303           dereferencing NULL events for unknown/invalid event types, memory
11304           leak, and change g_warning to GST_WARNING.
11305
11306 2006-04-28  Wim Taymans  <wim@fluendo.com>
11307
11308         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
11309         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11310         (gst_base_sink_get_position), (gst_base_sink_change_state):
11311         When frame dropping is enabled, we should not ignore frames
11312         without a duration.
11313         Update some documentation.
11314
11315 2006-04-28  Wim Taymans  <wim@fluendo.com>
11316
11317         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11318         (gst_base_src_send_event), (gst_base_src_change_state):
11319         Documentation updates.
11320
11321 2006-04-28  Wim Taymans  <wim@fluendo.com>
11322
11323         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
11324         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
11325         handle EAGAIN, EINTR and short writes correctly. Also clean
11326         up some error cases, avoid a deadlock on bad file descriptors and
11327         use GST_DEBUG_OBJECT.
11328         Fixes #339843
11329
11330 2006-04-28  Wim Taymans  <wim@fluendo.com>
11331
11332         * gst/gstvalue.c: (gst_value_serialize_buffer),
11333         (gst_value_deserialize_buffer):
11334         Don't try to serialize a GValue with a NULL buffer. 
11335         Fixes #339821.
11336
11337         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11338         Added check for serialisation of NULL buffers.
11339
11340 2006-04-28  Wim Taymans  <wim@fluendo.com>
11341
11342         * gst/gstminiobject.c: (gst_value_take_mini_object):
11343         Taking a NULL miniobject is valid, fix the case where
11344         we try to unref the NULL miniobject.
11345
11346 2006-04-28  Wim Taymans  <wim@fluendo.com>
11347
11348         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11349
11350         * gst/gstbin.c: (gst_bin_handle_message_func):
11351         Update docs.
11352         Don't leak bin refcount when a state recalc is
11353         in progress and we delay another one #339808.
11354
11355 2006-04-28  Wim Taymans  <wim@fluendo.com>
11356
11357         * docs/design/part-TODO.txt:
11358         Mention QoS as an ongoing work item.
11359
11360         * docs/design/part-buffering.txt:
11361         New doc about buffering that needs to be fleshed out
11362         at some point.
11363
11364         * docs/design/part-qos.txt:
11365         More QoS policy for decoders/demuxers/transforms
11366
11367         * docs/design/part-trickmodes.txt:
11368         Small update.
11369
11370 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11371
11372         * configure.ac:
11373           back to HEAD
11374
11375 === release 0.10.5 ===
11376
11377 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
11378
11379         * configure.ac:
11380           releasing 0.10.5, "Fogo"
11381
11382 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11383
11384         patch by: Wim Taymans
11385
11386         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
11387         (gst_pad_configure_src), (gst_pad_push):
11388         * gst/gstpipeline.c: (gst_pipeline_init):
11389           Fix internal data flow errors.  Fixes #338711.
11390
11391 2006-04-12  Wim Taymans  <wim@fluendo.com>
11392
11393         * tests/check/gst/gstelement.c: (GST_START_TEST):
11394         Don't leak the factory.
11395
11396 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11397
11398         * configure.ac:
11399         * win32/common/config.h:
11400           prerelease
11401
11402 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
11403
11404         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11405         (gst_controller_unset_all):
11406           Free allocated GstTimedValues when freeing list nodes.
11407           Should fix leaks 'make check-valgrind' complains about.
11408
11409         * win32/common/libgstcontroller.def:
11410           Add gst_controller_unset_all.
11411
11412 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
11413
11414         * docs/libs/gstreamer-libs-sections.txt:
11415         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
11416         (gst_controller_unset_all):
11417         * libs/gst/controller/gstcontroller.h:
11418         API: Added new method gst_controller_unset_all()
11419         fixed gst_controller_unset()
11420         * tests/check/libs/controller.c: (GST_START_TEST),
11421         (gst_controller_suite):
11422         Added two testcases for new and fixed method
11423
11424 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
11425
11426         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
11427           MSG_DONTWAIT is not defined on Cygwin, so work
11428           around that (fixes #317048).
11429           
11430 2006-04-11  Wim Taymans  <wim@fluendo.com>
11431
11432         * gst/gstelementfactory.c: (gst_element_register),
11433         (gst_element_factory_create), (gst_element_factory_make):
11434         Some cleanups.
11435         Fixed a FIXME.
11436         Updated docs (Fixes #131079)
11437
11438         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11439         Small cleanups.
11440
11441         * tests/check/gst/gstelement.c: (GST_START_TEST),
11442         (gst_element_suite):
11443         Added testcase for elementfactory class field.
11444
11445 2006-04-10  Wim Taymans  <wim@fluendo.com>
11446
11447         * gst/gstsegment.c:
11448         Added some more docs.
11449
11450         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
11451         (gst_base_sink_reset_qos):
11452         Calculate more accurate rate values.
11453
11454 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
11455
11456         * gst/gst_private.h:
11457           add a new #ifdef to use __declspec(dllimport) only for
11458           other modules and not for gstreamer core
11459         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
11460           use gst_guint64_to_gdouble for conversion
11461         * win32/common/libgstreamer.def:
11462           add new exported functions
11463         * win32/vs6/gst_inspect.dsp:
11464         * win32/vs6/gst_launch.dsp:
11465         * win32/vs6/libgstbase.dsp:
11466         * win32/vs6/libgstcontroller.dsp:
11467         * win32/vs6/libgstcoreelements.dsp:
11468         * win32/vs6/libgstdataprotocol.dsp:
11469         * win32/vs6/libgstnet.dsp:
11470           update project files
11471
11472 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11473
11474         * gst/gstbuffer.c: (gst_subbuffer_class_init):
11475         * gst/gstclock.c: (gst_clock_class_init):
11476         * gst/gstelement.c: (gst_element_class_init):
11477         * gst/gstindex.c: (gst_index_class_init):
11478         * gst/gstindexfactory.c: (gst_index_factory_class_init):
11479         * gst/gstobject.c: (gst_object_class_init),
11480         (gst_signal_object_class_init):
11481         * gst/gstpad.c: (gst_pad_class_init):
11482         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
11483         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
11484         * gst/gstregistry.c: (gst_registry_class_init):
11485         * gst/gstsystemclock.c: (gst_system_clock_class_init):
11486         * gst/gsttask.c: (gst_task_class_init):
11487         * gst/gstxml.c: (gst_xml_class_init):
11488         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11489         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11490         (gst_base_src_loop):
11491         * libs/gst/controller/gstcontroller.c:/
11492         (_gst_controller_class_init):
11493         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11494         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
11495         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
11496         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11497         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11498         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
11499
11500 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
11501
11502         * gst/gstpad.c: (gst_pad_link):
11503           Must set peer pads before calling the link function, otherwise
11504           a task started from a link function might get a flow-not-linked
11505           result when trying to push because the other thread where the
11506           linking happens hasn't had a chance to set the peers yet. This
11507           might happen for example when a queue gets linked to a downstream
11508           element, as queue starts a streaming task when its source pad
11509           gets linked. Happens in real life when playing back flac/musepack
11510           files in playbin (#332390).
11511           
11512 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
11513
11514         * gst/gstindex.h:
11515         * gst/gstxml.h:
11516         * libs/gst/base/gstadapter.h:
11517         * libs/gst/base/gstbasesink.h:
11518         * libs/gst/base/gstbasesrc.h:
11519         * libs/gst/base/gstbasetransform.h:
11520         * libs/gst/base/gstcollectpads.h:
11521         * libs/gst/base/gstpushsrc.h:
11522         Fix broken GObject macros
11523
11524 2006-04-07  Wim Taymans  <wim@fluendo.com>
11525
11526         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11527         Initialize start and stop times, thanks valgrind.
11528
11529 2006-04-07  Wim Taymans  <wim@fluendo.com>
11530
11531         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11532         Be a bit nicer to badly behaving upstream elements that expect
11533         us to deal with non TIME segments and timestamps (such as fakesrc
11534         in the testsuite).
11535
11536 2006-04-07  Wim Taymans  <wim@fluendo.com>
11537
11538         * gst/gstbus.c:
11539         Small documentation clarification about the signal watch.
11540
11541         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11542         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11543         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11544         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
11545         (gst_base_sink_get_position_last),
11546         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
11547         Convert and store timestamps in stream time and running time, the
11548         raw timestamps are not useful, also document this better.
11549         Use different window sizes for good and bad QoS observations so
11550         we react to badness a little quicker.
11551         Keep track of the amount of rendered and dropped buffers.
11552         Send QoS timestamps in running time.
11553
11554         * libs/gst/base/gstbasetransform.c:
11555         (gst_base_transform_sink_eventfunc),
11556         (gst_base_transform_handle_buffer):
11557         Compare QoS timestamps against running time.
11558
11559 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11560
11561         * gst/gstpad.c:
11562           Typo fixes in docs.
11563
11564 2006-04-06  Michael Smith  <msmith@fluendo.com>
11565
11566         * gst/gstpad.c: (gst_pad_set_property):
11567           Use g_value_get_object() instead of g_value_dup_gst_object(),
11568           to avoid double-reffing the pad template (which we then sink,
11569           so this worked previously if (and only if) the pad template
11570           was floating.
11571
11572         * gst/gstpadtemplate.c: (gst_pad_template_init),
11573         (gst_pad_template_pad_created):
11574           Never return floating references to pad templates, create
11575           them as initially-sunken.
11576
11577           Document an extra function (and make this stop sinking our
11578           pad template, since that is now guaranteed to do nothing,
11579           since we created it sunken).
11580
11581         * gst/gstghostpad.c:
11582           Fix docs typo.
11583
11584 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
11585
11586         * gst/gstinfo.c: (__gst_in_valgrind):
11587           Add some newlines.
11588
11589         * plugins/elements/gsttypefindelement.c:
11590         (gst_type_find_element_chain):
11591           Don't leak buffer caps.
11592
11593 2006-04-06  Michael Smith  <msmith@fluendo.com>
11594
11595         * gst/parse/grammar.y:
11596           Fix a leak in parse-launch for any source-or-sink named element 
11597           references used.
11598
11599         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11600           Unref the pipeline if it exists after we've failed parsing.
11601
11602 2006-04-05  Michael Smith  <msmith@fluendo.com>
11603
11604         * gst/gstpipeline.c: (gst_pipeline_init):
11605           When we create a pipeline bus, initially create it in flushing mode.
11606           Fixes leaks in at least one test, and makes a new pipeline work the
11607           same as one that has gone to READY and then back to NULL.
11608
11609         * gst/gstelement.c:
11610           Typo fix in docs.
11611
11612 2006-04-05  Michael Smith  <msmith@fluendo.com>
11613
11614         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11615           Unref a pad we reffed.
11616         * tests/check/gst/gstutils.c: (GST_START_TEST):
11617           Unref bins
11618
11619 2006-04-05  Michael Smith  <msmith@fluendo.com>
11620
11621         * gst/gstquery.c: (gst_query_set_formats),
11622         (gst_query_set_formatsv):
11623           Fix leaking GValues in queries, as shown by valgrind/testsuite.
11624
11625 2006-04-05  Michael Smith  <msmith@fluendo.com>
11626
11627         * tests/check/generic/sinks.c: (GST_START_TEST):
11628           Fix a variety of memleaks in sinks check, which are only sometimes 
11629           shown by running the tests under valgrind (weird?).
11630
11631 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
11632
11633         * docs/version.entities.in:
11634           Fix the substituted entity name after thomas' changes on the
11635           weekend.
11636
11637 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11638
11639         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
11640         VALGRIND_PRINTF
11641         
11642 2006-04-05  Andy Wingo  <wingo@pobox.com>
11643
11644         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
11645
11646         * libs/gst/base/gstbasetransform.c
11647         (gst_base_transform_sink_eventfunc): When resetting our segment on
11648         FLUSH_STOP, also update the flag saying we haven't seen a
11649         newsegment.
11650
11651 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11652
11653         Patch by: Paolo Borelli  <pborelli at katamail dot com>
11654
11655         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11656         (gst_plugin_check_license):
11657           minor clean-ups: G_DEFINE_TYPE already takes care of the
11658           parent_class stuff, no need to do it twice. Mark array of
11659           license strings as constant. (#337103)
11660           
11661 2006-04-04  Michael Smith  <msmith@fluendo.com>
11662
11663         * tools/gst-inspect.c: (print_element_list):
11664           Free the right plugin list; fixes a memory leak.
11665
11666 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11667
11668         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
11669
11670         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11671           Don't error out on empty buffers (#336945).
11672           
11673 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
11674
11675         * docs/libs/gstreamer-libs-sections.txt:
11676         * gst/gsttaglist.c:
11677         * libs/gst/base/gstbasesink.c:
11678         * libs/gst/base/gstbasesink.h:
11679         * libs/gst/base/gstbasesrc.c:
11680         * libs/gst/base/gstbasesrc.h:
11681           Documentation updates. Make BaseSink and BaseSrc docs contain the
11682           class structure so that people can actually see the prototypes for
11683           virtual functions they're supposed to be overriding.
11684
11685 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
11686
11687         * plugins/elements/gsttypefindelement.c:
11688         (gst_type_find_element_chain):
11689           More debug info; when skipping typefinding, send cached
11690           events in all cases.
11691
11692 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11693
11694         * configure.ac:
11695           use new AS_VERSION and AS_NANO macros
11696         * gst/gst-i18n-lib.h:
11697         * gst/gst.c:
11698         * gst/gsterror.c:
11699         * gst/gstversion.h.in:
11700         * win32/common/config.h:
11701         * win32/common/config.h.in:
11702           update accordingly
11703
11704 2006-03-31  Michael Smith  <msmith@fluendo.com>
11705
11706         * plugins/elements/gsttypefindelement.c:
11707         (gst_type_find_element_chain):
11708           Do not typefind content if the buffers already have caps.
11709           Neccesary for icydemux (#333657), and the right thing to do anyway.
11710
11711 2006-03-30  Wim Taymans  <wim@fluendo.com>
11712
11713         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11714         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
11715         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
11716         (gst_base_sink_record_qos_observation),
11717         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11718         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11719         (gst_base_sink_change_state):
11720         More QoS measurements as described in the design doc.
11721         Get rid of ringbuffer with observations, running average is
11722         more simple and equally good.
11723         Calculates valid proportion now.
11724         Added beginning of flood measurement.
11725
11726 2006-03-29  Wim Taymans  <wim@fluendo.com>
11727
11728         * docs/design/part-qos.txt:
11729         * gst/gstclock.c:
11730         Small documentation updates and additions.
11731
11732 2006-03-29  Wim Taymans  <wim@fluendo.com>
11733
11734         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11735         (gst_base_src_send_event), (gst_base_src_loop),
11736         (gst_base_src_change_state):
11737         Perform the EOS logic when we reach the segment stop position.
11738         Fix compilation on gcc4.1
11739
11740 2006-03-29  Wim Taymans  <wim@fluendo.com>
11741
11742         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
11743
11744         * plugins/elements/gstqueue.c: (gst_queue_init),
11745         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
11746         (gst_queue_set_property):
11747         * plugins/elements/gstqueue.h:
11748         In queue, when EOS is received, if minimum threshold > max_size -
11749         current_level, there is chance that queue blocks forever in conditional
11750         item del wait. This is because the queue is not emptied completely due
11751         to minimum threshold.  Here is another approach. Instead of setting
11752         cur_levels to max in EOS, just zero all minimum threshold levels. This
11753         should make sure that queue gives out all data. When going to READY
11754         (stop) state, just reset the original minimum threshold levels.
11755         Fixes #336336.
11756
11757 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
11758
11759         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
11760         (gst_type_find_element_handle_event),
11761         (gst_type_find_element_send_cached_events),
11762         (gst_type_find_element_change_state):
11763         * plugins/elements/gsttypefindelement.h:
11764           When typefinding is done in push mode, we should cache
11765           events we receive during typefinding instead of just
11766           dropping them (e.g. newsegment, custom events from
11767           dvdreadsrc etc.) and then send them out once we've
11768           determined the type of the stream (and decodebin
11769           has had a chance to plug in a decoder/demuxer).
11770           
11771 2006-03-27  Wim Taymans  <wim@fluendo.com>
11772
11773         * docs/design/part-qos.txt:
11774         First QoS ideas.
11775
11776 2006-03-27  Wim Taymans  <wim@fluendo.com>
11777
11778         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
11779
11780         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
11781         (gst_base_src_send_event), (gst_base_src_change_state):
11782         Handle element seek correctly when we are streaming.
11783         Fixes #326998.
11784
11785 2006-03-24  Michael Smith  <msmith@fluendo.com>
11786
11787         * docs/faq/gst-uninstalled:
11788           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
11789           allow you to correctly run intalled applications built against old 
11790           core, using plugins that require updated core (e.g. running
11791           installed totem against a full uninstalled gstreamer stack)
11792
11793 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11794
11795         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11796         more debug details
11797
11798 2006-03-24  Wim Taymans  <wim@fluendo.com>
11799
11800         * docs/gst/gstreamer-sections.txt:
11801         Rearrange the order of the methods so that related methods
11802         are grouped together in sections.
11803
11804 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11805
11806         * gst/gstelement.c:
11807           Little clarification in the docs
11808
11809 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11810
11811         * docs/README:
11812         formatting fix
11813         * plugins/elements/gstidentity.c:
11814         * plugins/elements/gstqueue.c:
11815         * plugins/elements/gsttee.c:
11816         * plugins/elements/gsttypefindelement.c:
11817         GST_ELEMENT_DETAILS formatting
11818
11819 2006-03-24  Wim Taymans  <wim@fluendo.com>
11820
11821         * libs/gst/base/gstbasesink.h:
11822         Only add fields, not insert or we break ABI.
11823
11824 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11825
11826         * win32/common/libgstbase.def:
11827         * win32/common/libgstreamer.def:
11828           Update, add recently added functions.
11829
11830 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11831
11832         * docs/gst/gstreamer-sections.txt:
11833         * gst/gstutils.c: (gst_pad_query_peer_position),
11834         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11835         * gst/gstutils.h:
11836           API: add some new utility functions:
11837            - gst_pad_query_peer_position()
11838            - gst_pad_query_peer_duration()
11839            - gst_pad_query_peer_convert()
11840           
11841 2006-03-23  Wim Taymans  <wim@fluendo.com>
11842
11843         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11844         (gst_base_sink_init), (gst_base_sink_finalize),
11845         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11846         (gst_base_sink_set_property), (gst_base_sink_get_property),
11847         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11848         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11849         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11850         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11851         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11852         (gst_base_sink_preroll_object), (gst_base_sink_event),
11853         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11854         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11855         (gst_base_sink_query), (gst_base_sink_change_state):
11856         Decouple max-lateness and the fact that QoS messages are generated
11857         with a new property (qos).
11858         added API: GstBaseSink::async_play()
11859         Add vmethod so subclasses can be notified of ASYNC playing
11860         state changes.
11861         Collect timestamp start and stop to report better current
11862         position in EOS/PLAYING/PAUSED/READY/NULL.
11863         Refactor QoS/frame dropping and other measurements.
11864         API: GstBaseSrc::qos
11865         Fixes #326311
11866
11867         * libs/gst/base/gstbasesink.h:
11868         Added Private struct.
11869         API: gst_base_sink_set_qos_enabled()
11870         API: gst_base_sink_is_qos_enabled()
11871
11872 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11873
11874         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11875           If compiling against GLib-2.8 or newer, try to read the
11876           registry file using GMappedFile first before falling back
11877           to fopen() + fread() (#332151).
11878
11879 2006-03-22  Wim Taymans  <wim@fluendo.com>
11880
11881         * gst/gstinfo.c: (gst_debug_set_active),
11882         (gst_debug_category_set_threshold):
11883         Disable debugging unless explicitly activated.
11884         Fixes #335480.
11885
11886 2006-03-22  Wim Taymans  <wim@fluendo.com>
11887
11888         * gst/gstelement.c: (gst_element_set_locked_state),
11889         (gst_element_dispose):
11890         Cleanup the error case.
11891
11892         * gst/gstobject.c: (gst_object_dispose):
11893         print a critical when some object was disposed with
11894         a parent, also revive the object since it might
11895         crash the parent.
11896
11897 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * tools/gst-launch.1.in:
11900           Fix another typo.
11901
11902 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11903
11904         * configure.ac:
11905         * tests/check/Makefile.am:
11906           disable some tests when we don't have a registry
11907         * tests/check/gst/gstutils.c: (gst_utils_suite):
11908           don't build the part that needs parsing
11909
11910 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11911
11912         * gst/Makefile.am
11913         * tests/examples/Makefile.am:
11914           fix --disable-parse build
11915
11916 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11917
11918         * tools/gst-feedback.1.in:
11919           Fix typo: s/feeback/feedback/ (#133494).
11920
11921 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11922
11923         * tools/Makefile.am:
11924         * tools/gst-launch.1.in:
11925           Add FILES section and correct entry about GST_REGISTRY_PATH
11926           environment variable (#133495; #133494).
11927
11928 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11929
11930         * tools/Makefile.am:
11931         * tools/gst-md5sum.1.in:
11932         * tools/gst-md5sum.c:
11933           Remove gst-md5sum and man page (the md5sink element
11934           required was removed ages ago)
11935
11936 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11937
11938         * gst/gststructure.c: (gst_structure_id_set_value):
11939           Make sure that string fields in structures/taglists
11940           contain valid UTF-8 - we don't want to pass rubbish to
11941           applications because of a buggy plugin (cp. #334167).
11942
11943 2006-03-21  Edward Hervey  <edward@fluendo.com>
11944
11945         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11946         (gst_bin_handle_message_func):
11947         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11948         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11949         (gst_element_set_bus_func):
11950         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11951         * gst/gstminiobject.c: (gst_value_set_mini_object),
11952         (gst_value_take_mini_object):
11953         * gst/gstpad.c: (gst_pad_set_pad_template):
11954         * gst/gstpipeline.c: (gst_pipeline_dispose),
11955         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11957         (gst_collect_pads_chain):
11958         * libs/gst/net/gstnettimeprovider.c:
11959         (gst_net_time_provider_set_property):
11960         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11961         It's in fact all issues with gst_*object_replace().
11962
11963 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11964
11965         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11966         
11967         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11968         * pkgconfig/gstreamer-check.pc.in:
11969           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11970
11971 2006-03-21  Edward Hervey  <edward@fluendo.com>
11972
11973         * gst/gstbuffer.h:
11974         * gst/gstevent.h:
11975         * gst/gstmessage.h:
11976         gst_[buffer|event|message]_ref() macros are replaced by a static
11977         inline functions because gcc-4.1 will about if the return value
11978         isn't used.
11979         * tests/check/gst/gstevent.c: (event_probe):
11980         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11981
11982 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11983
11984         * gst/gstutils.h:
11985         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11986         the type' case. (Closes: #335195 for now). In the future, when we
11987         depend on GLib 2.10, we could also intern the type name using
11988         g_intern_static_string()
11989
11990 2006-03-20  Wim Taymans  <wim@fluendo.com>
11991
11992         * gst/gstbin.c: (gst_bin_handle_message_func),
11993         (bin_query_max_init), (bin_query_position_fold),
11994         (bin_query_position_done), (gst_bin_query):
11995         Position query should also take max of all streams.
11996
11997 2006-03-20  Wim Taymans  <wim@fluendo.com>
11998
11999         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
12000         (gst_fake_src_finalize):
12001         Fix leaks in fakesrc.
12002
12003         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
12004         Fix leaks in the testcase.
12005
12006 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
12007
12008         * gst/gst_private.h:
12009           add win32 specific import decoration(__declspec(dllimport)) 
12010           for all extern GstDebugCategory * variables
12011         * win32/common/libgstbase.def:
12012         * win32/common/libgstcontroller.def:
12013         * win32/common/libgstreamer.def:
12014           Add some exports, remove empty lines
12015         * win32/common/libgstdataprotocol.def:
12016         * win32/common/libgstdataprotocol.dsp:
12017         * win32/common/libgstnet.def:
12018         * win32/common/libgstnet.dsp:
12019           new project files and exportation files added
12020         
12021 2006-03-19  Wim Taymans  <wim@fluendo.com>
12022
12023         * tests/check/libs/basesrc.c: (eos_event_counter):
12024         Use proper return value for probe.
12025
12026 2006-03-17  Wim Taymans  <wim@fluendo.com>
12027
12028         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12029         (gst_pad_push):
12030         Don't leak buffers, caps and pads on negotiation errors.
12031
12032 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
12033
12034         * docs/faq/cvs.xml:
12035         * docs/faq/dependencies.xml:
12036         * docs/faq/developing.xml:
12037         * docs/faq/faq.xml:
12038         * docs/faq/general.xml:
12039         * docs/faq/getting.xml:
12040         * docs/faq/legal.xml:
12041         * docs/faq/troubleshooting.xml:
12042         * docs/faq/using.xml:
12043         Faq review and update.
12044
12045 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
12046
12047         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
12048         (gst_pad_push):
12049         Don't pound the cpu to pieces by checking get_caps when accept_caps
12050         is called with the same caps as the pad already has.
12051         Use GST_DEBUG_OBJECT when outputting caps change information.
12052
12053 2006-03-15  Wim Taymans  <wim@fluendo.com>
12054
12055         * gst/gstclock.c: (gst_clock_class_init):
12056         Fix docs.
12057
12058 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
12059
12060         * gst/gstbuffer.h:
12061         Documentation fix.
12062
12063         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
12064         (gst_pad_accept_caps), (gst_pad_configure_sink),
12065         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
12066         Make the default acceptcaps behaviour be to check the requested 
12067         caps against the gst_pad_get_caps output. 
12068
12069         Ensure that gst_pad_accept_caps is used to check caps when a pad
12070         doesn't have a setcaps function, so that pads automatically refuse 
12071         caps that they don't allow in their pad template. (Fixes #332986)
12072
12073         When a buffer with attached caps is pushed, ensure that the source 
12074         pad receives those caps even if the element didn't call
12075         gst_pad_set_caps first.
12076
12077 2006-03-15  Wim Taymans  <wim@fluendo.com>
12078
12079         * libs/gst/base/gstadapter.c:
12080         Add some docs.
12081
12082 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
12083
12084         * win32/common/libgstbase.def:
12085         * win32/common/libgstcontroller.def:
12086         * win32/common/libgstreamer.def:
12087           Add a whole bunch of missing functions (#334434).
12088
12089 2006-03-14  Wim Taymans  <wim@fluendo.com>
12090
12091         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12092         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12093         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
12094         Better debug info when we receive a segment event.
12095         Reorganize a bit so we can pass the get_times() results around.
12096         Use the segment format when calculating the running time.
12097         Don't do QoS is sync is disabled or we have no clock or the
12098         element does not want us to sync to the clock.
12099         Don't drop buffers if QoS is disabled for now.
12100
12101 2006-03-14  Wim Taymans  <wim@fluendo.com>
12102
12103         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
12104         Marked the stats property as unimplemented so people don't get
12105         wild ideas.
12106         Add debug message when regression goes wrong.
12107         Added some more docs.
12108
12109 2006-03-14  Wim Taymans  <wim@fluendo.com>
12110
12111         * gst/gstsegment.c: (gst_segment_to_stream_time):
12112         Return correct return type in case of errors.
12113
12114 2006-03-14  Wim Taymans  <wim@fluendo.com>
12115
12116         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
12117           Don't segfault on invalid formats.
12118
12119 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12120
12121         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12122           Can't use gst_segment_to_running_time() when the segment
12123           is not in GST_TIME_FORMAT (like with filesink, for example).
12124           Stops flac encoding pipelines from spewing critical warnings
12125           at EOS (#331248).
12126           
12127 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
12128
12129         * gst/gstpipeline.c: (gst_pipeline_class_init):
12130           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
12131
12132         * plugins/elements/gsttypefindelement.c:
12133         (gst_type_find_element_handle_event):
12134           Don't try to typefind empty streams.
12135
12136 2006-03-14  Wim Taymans  <wim@fluendo.com>
12137
12138         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12139         (gst_base_sink_do_qos):
12140         Separate QoS calculation.
12141         Only drop buffers when lateness is bigger than the 
12142         duration of the buffer.
12143
12144 2006-03-13  Wim Taymans  <wim@fluendo.com>
12145
12146         * gst/gstpipeline.c: (gst_pipeline_set_property),
12147         (gst_pipeline_get_property), (do_pipeline_seek),
12148         (gst_pipeline_change_state), (gst_pipeline_set_delay),
12149         (gst_pipeline_get_delay):
12150         Don't deadlock when reading properties.
12151
12152 2006-03-13  Wim Taymans  <wim@fluendo.com>
12153
12154         * libs/gst/base/gstbasetransform.c:
12155         (gst_base_transform_class_init), (gst_base_transform_init),
12156         (gst_base_transform_sink_event),
12157         (gst_base_transform_sink_eventfunc),
12158         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
12159         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12160         (gst_base_transform_set_property),
12161         (gst_base_transform_get_property),
12162         (gst_base_transform_change_state), (gst_base_transform_update_qos),
12163         (gst_base_transform_set_qos_enabled),
12164         (gst_base_transform_is_qos_enabled):
12165         * libs/gst/base/gstbasetransform.h:
12166         Make basetransform virtual method for src events too.
12167         Handle QOS in basetransform.
12168         API: gst_base_transform_update_qos()
12169         API: gst_base_transform_set_qos_enabled()
12170         API: gst_base_transform_is_qos_enabled()
12171
12172 2006-03-13  Wim Taymans  <wim@fluendo.com>
12173
12174         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12175         (gst_base_sink_do_sync):
12176         Small cleanups.
12177         Use QOS debug category.
12178
12179 2006-03-13  Wim Taymans  <wim@fluendo.com>
12180
12181         * plugins/elements/gstqueue.c:
12182         Very small doc update.
12183
12184 2006-03-13  Wim Taymans  <wim@fluendo.com>
12185
12186         * gst/gst_private.h:
12187         * gst/gstinfo.c: (_gst_debug_init):
12188         Added QOS debug category
12189
12190 2006-03-13  Wim Taymans  <wim@fluendo.com>
12191
12192         * docs/gst/gstreamer-sections.txt:
12193         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
12194         * gst/gstbin.h:
12195         * gst/gstbus.c: (gst_bus_class_init):
12196         * gst/gstbus.h:
12197         * gst/gstclock.c:
12198         * gst/gstelement.c: (gst_element_set_locked_state):
12199         * gst/gstsegment.c:
12200         Documentation updates.
12201
12202         * gst/gstpipeline.c: (gst_pipeline_get_type),
12203         (gst_pipeline_class_init), (gst_pipeline_init),
12204         (gst_pipeline_dispose), (gst_pipeline_set_property),
12205         (gst_pipeline_get_property), (do_pipeline_seek),
12206         (gst_pipeline_send_event), (gst_pipeline_change_state),
12207         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
12208         (gst_pipeline_get_delay):
12209         * gst/gstpipeline.h:
12210         Added methods for setting the delay.
12211         API: gst_pipeline_set_delay()
12212         API: gst_pipeline_get_delay()
12213         Add pipeline debug category
12214         Various cleanups.
12215         Updated docs.
12216         Don't reset stream time when seek failed.
12217
12218 2006-03-13  Wim Taymans  <wim@fluendo.com>
12219
12220         * docs/design/draft-klass.txt:
12221         * docs/design/part-clocks.txt:
12222         * docs/design/part-events.txt:
12223         * docs/design/part-gstbin.txt:
12224         * docs/design/part-gstpipeline.txt:
12225         * docs/design/part-messages.txt:
12226         * docs/design/part-negotiation.txt:
12227         * docs/design/part-overview.txt:
12228         * docs/design/part-preroll.txt:
12229         * docs/design/part-seeking.txt:
12230         * docs/design/part-states.txt:
12231         * docs/design/part-streams.txt:
12232         Documentation updates.
12233
12234 2006-03-12  Julien MOUTTE  <julien@moutte.net>
12235
12236         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
12237         us to leak strings...
12238
12239 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12240
12241         * libs/gst/net/gstnettimeprovider.c:
12242           fix docs
12243         * win32/common/config.h:
12244           update
12245
12246 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
12247
12248         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
12249
12250         * configure.ac:
12251           Don't check for libgnomeui (leftover from old examples
12252           that aren't built or disted any longer) (#334303).
12253           
12254 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
12255
12256         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
12257         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12258           Emit RESOURCE_NO_SPACE_LEFT error here as well when
12259           there's no space left on the device.
12260
12261 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
12262
12263         * gst/gstclock.h:
12264           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
12265           to cast the input to GstClockTime before comparing with
12266           another GstClockTime value.
12267
12268 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12269
12270         * configure.ac:
12271           back to trunk
12272
12273 === release 0.10.4 ===
12274
12275 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
12276
12277         * configure.ac:
12278           releasing 0.10.4, "Light"
12279
12280 2006-03-10  Michael Smith  <msmith@fluendo.com>
12281
12282         * libs/gst/dataprotocol/dataprotocol.c:
12283           Fix docs for dataprocotol to not get the return types completely
12284           wrong for a few functions.
12285
12286 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12287
12288         * docs/gst/gstreamer-sections.txt:
12289         * gst/gstpipeline.c: (gst_pipeline_class_init),
12290         (gst_pipeline_init), (gst_pipeline_set_property),
12291         (gst_pipeline_get_property), (gst_pipeline_change_state),
12292         (gst_pipeline_set_auto_flush_bus),
12293         (gst_pipeline_get_auto_flush_bus):
12294         * gst/gstpipeline.h:
12295           Add new API: gst_pipeline_set_auto_flush_bus() and
12296           gst_pipeline_get_auto_flush_bus() to disable automatic
12297           flushing of the pipeline's GstBus when going from READY
12298           to NULL state (#332045).
12299
12300 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12301
12302         * docs/gst/gstreamer-sections.txt:
12303         * gst/gsturi.c: (gst_uri_has_protocol):
12304         * gst/gsturi.h:
12305            Add new API: gst_uri_has_protocol() (#333779).
12306
12307 2006-03-09  Wim Taymans  <wim@fluendo.com>
12308
12309         * gst/gstclock.c: (gst_clock_entry_new),
12310         (gst_clock_id_compare_func), (gst_clock_id_wait),
12311         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
12312         (gst_clock_init), (gst_clock_get_internal_time),
12313         (gst_clock_set_master), (do_linear_regression),
12314         (gst_clock_add_observation), (gst_clock_set_property):
12315         * gst/gstclock.h:
12316         Review docs.
12317         Small cleanups.
12318         Fix a possible segfault when the window-size is made smaller.
12319         Calculate jitter before performing the clock wait. Ideally
12320         the clock implementation should calculate jitter but we need
12321         API breakage for that.
12322
12323         * gst/gstsystemclock.c: (gst_system_clock_init):
12324         Docs review.
12325         
12326         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12327         Remove leftover else
12328
12329         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
12330         (gst_systemclock_suite):
12331         Added check to test GST_CLOCK_DIFF.
12332
12333 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
12334
12335         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
12336         (gst_type_find_helper_get_range):
12337           If we are provided with the size, we should implement
12338           GstTypeFind::get_length, so that typefind functions who
12339           want to can actually peek at the middle of a file.
12340
12341 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
12342
12343         * docs/manual/advanced-dataaccess.xml:
12344           Add some very very basic error checking.
12345
12346         * docs/pwg/appendix-checklist.xml:
12347           Some updates to the list of things to check when writing an element.
12348
12349 2006-03-08  Wim Taymans  <wim@fluendo.com>
12350
12351         * docs/design/part-element-transform.txt:
12352         Added some docs about the design of tranform elements.
12353
12354         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12355         (gst_base_src_loop), (gst_base_src_change_state):
12356         Mark buffers with the DISCONT flag.
12357
12358 2006-03-08  Michael Smith  <msmith@fluendo.com>
12359
12360         * gst/gstregistry.h:
12361         * gst/gstregistryxml.c: (gst_registry_save),
12362         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
12363         (gst_registry_xml_save_pad_template),
12364         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
12365         (gst_registry_xml_write_cache):
12366           Rewrite registry-saving to avoid race conditions and check for
12367           failed writes.
12368
12369 2006-03-08  Wim Taymans  <wim@fluendo.com>
12370
12371         * libs/gst/base/gstbasetransform.c:
12372         (gst_base_transform_transform_caps),
12373         (gst_base_transform_transform_size),
12374         (gst_base_transform_prepare_output_buffer),
12375         (gst_base_transform_get_unit_size),
12376         (gst_base_transform_buffer_alloc),
12377         (gst_base_transform_handle_buffer),
12378         (gst_base_transform_change_state):
12379         Cleanups, separate normal flow from errors, add sensible
12380         DEBUG lines.
12381         Don't try to renegotiate when allocating an output buffer.
12382         Also copy DISCONT buffer flag when copying a buffer.
12383         Reset the transform after we finish streaming, not during.
12384
12385 2006-03-08  Wim Taymans  <wim@fluendo.com>
12386
12387         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
12388         Use last buffer timestamp in qos message.
12389
12390 2006-03-07  Wim Taymans  <wim@fluendo.com>
12391
12392         Patch by: Christophe Fergeau
12393
12394         * docs/pwg/advanced-tagging.xml:
12395         * docs/pwg/building-pads.xml:
12396           fixes #333416
12397
12398 2006-03-07  Wim Taymans  <wim@fluendo.com>
12399
12400         * docs/libs/gstreamer-libs-sections.txt:
12401         Added basesink new methods.
12402
12403         * gst/gstevent.c:
12404         * gst/gstevent.h:
12405         Docs updates. Flesh out the QoS docs.
12406
12407         * libs/gst/base/gstadapter.c:
12408         Small doc clarification about ownership and flushing.
12409
12410         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
12411         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
12412         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
12413         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12414         * libs/gst/base/gstbasesink.h:
12415         API additions: 
12416         Added new methods to allow subclass to control max-lateness 
12417         and sync.
12418         Generate very basic QoS events based on last sync observation.
12419         Updated docs, fix typo, added some QoS blurb.
12420
12421         * libs/gst/base/gstbasesrc.c:
12422         Remove obsolete _get_state() calls from docs.
12423
12424 2006-03-07  Wim Taymans  <wim@fluendo.com>
12425
12426         * docs/libs/gstreamer-libs-sections.txt:
12427         * libs/gst/base/gstbasetransform.h:
12428         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
12429         Fix docs for GstBaseSrc.
12430
12431 2006-03-07  Wim Taymans  <wim@fluendo.com>
12432
12433         * docs/gst/gstreamer-sections.txt:
12434         * gst/gstbuffer.h:
12435         * gst/gstvalue.c:
12436         * libs/gst/base/gstbasetransform.h:
12437         Small documentation fixes.
12438
12439 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12440
12441         * gst/gstvalue.c:
12442           Document thread-unsafety of gst_value_register_foo_func()
12443           when used at the same time as gst_value_foo() (#322628).
12444
12445 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
12448         (gst_push_src_check_get_range):
12449           Push sources don't support pull mode by default.
12450
12451 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12452
12453         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12454         (gst_base_src_init), (gst_base_src_pad_check_get_range),
12455         (gst_base_src_default_check_get_range):
12456         * libs/gst/base/gstbasesrc.h:
12457           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
12458           provide default implementation, and rename
12459           gst_base_src_check_get_range() to
12460           gst_base_src_pad_check_get_range() for clarity.
12461
12462 2006-03-06  Wim Taymans  <wim@fluendo.com>
12463
12464         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12465         Make property overridable.
12466
12467 2006-03-06  Wim Taymans  <wim@fluendo.com>
12468
12469         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12470         (gst_base_sink_init), (gst_base_sink_set_property),
12471         (gst_base_sink_get_property), (gst_base_sink_do_sync):
12472         * libs/gst/base/gstbasesink.h:
12473         API addition: Make max-lateness a property.
12474
12475 2006-03-06  Wim Taymans  <wim@fluendo.com>
12476
12477         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
12478         (gst_base_sink_do_sync), (gst_base_sink_render_object):
12479         Don't ever draw a frame that is >10ms late.
12480
12481 2006-03-06  Michael Smith  <msmith@fluendo.com>
12482
12483         * gst/gstmessage.c: (_gst_message_copy):
12484           When copying a message, set the parent_refcount of the enclosed
12485           structure to point at the copy, not the original message.
12486
12487 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
12488
12489         Patch by: Christophe Fergeau
12490
12491         * gst/gstutils.h:
12492           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
12493           usable in c++ code (#333417)
12494
12495 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12496
12497         * gst/gstclock.h:
12498           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
12499
12500 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
12501
12502         * libs/gst/base/gstbasetransform.c:
12503         (gst_base_transform_transform_caps):
12504           Make sure caps are writable before passing them to
12505           gst_caps_append().
12506
12507 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12508
12509         * gst/gsterror.h:
12510           Fix some minor docs errors.
12511
12512 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
12513
12514           Patch by: Ross Burton <ross at burtonini dot com>
12515
12516         * gst/gsterror.c: (_gst_resource_errors_init):
12517         * gst/gsterror.h:
12518           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
12519
12520 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12521
12522         * gst/gst.c:
12523         Add a check and output a g_warning when GStreamer is built
12524         against GLib 2.6 but running against 2.8 or higher, and vice 
12525         versa. (Closes: #323542)
12526
12527 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
12528
12529         * gst/parse/parse.l:
12530           Commit patch for parse_launch syntax from #331255. Removes 
12531           support for quoted strings and mimetypes when writing filtered 
12532           caps. See the bug report for more details - I'm pretty sure this
12533           obscure feature is not in use by _anyone_ anywhere.
12534
12535           With this simple change, the size of the gstreamer.so here 
12536           drops from 2193KB to 1565KB.
12537
12538 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12539
12540         * plugins/elements/gsttypefindelement.h:
12541         * plugins/elements/gsttypefindelement.c:
12542         (gst_type_find_element_src_event), (start_typefinding),
12543         (stop_typefinding), (gst_type_find_element_handle_event),
12544         (gst_type_find_element_chain),
12545         (gst_type_find_element_chain_do_typefinding):
12546           Use gst_type_find_helper_for_buffer() for chain-based
12547           typefinding.
12548
12549 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12550
12551         * plugins/elements/gsttypefindelement.c:
12552         (gst_type_find_element_class_init),
12553         (gst_type_find_element_set_property),
12554         (gst_type_find_element_get_property):
12555           Deprecate "maximum" property (not only was it only taken into
12556           account for typefinding in push-mode anyway, it also was never
12557           actually possible to set it in the first place because the
12558           property was registered with the numeric property ID for the
12559           "minimum" property). Register "maximum" property correctly,
12560           for the sake of future copy'n'pasters. Remove some cruft
12561           from property get/set functions.
12562
12563 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
12564
12565         * plugins/elements/gsttypefindelement.c:
12566         (gst_type_find_element_activate):
12567           Use gst_type_find_helper_get_range() here, so we
12568           can honour the "minimum" property and also emit
12569           the signal with the correct probability of the found caps.
12570
12571 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
12572
12573         * docs/libs/gstreamer-libs-sections.txt:
12574         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
12575         (helper_find_suggest), (gst_type_find_helper_get_range),
12576         (gst_type_find_helper):
12577         * libs/gst/base/gsttypefindhelper.h:
12578           New API: gst_type_find_helper_get_range() (#333042).
12579
12580 2006-03-02  Michael Smith  <msmith@fluendo.com>
12581
12582         * gst/gstregistryxml.c: (load_feature):
12583           Asserting on a failure to read part of the registry is Not Cool.
12584           Just log a warning and return NULL (which is already handled)
12585
12586 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
12587
12588         * win32/common/libgstbase.def:
12589           added export of gst_type_find_helper_for_buffer
12590         * win32/common/libgstbase.def:
12591           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
12592           gst_ghost_pad_get_target
12593
12594 2006-02-28  Wim Taymans  <wim@fluendo.com>
12595
12596         * docs/design/draft-klass.txt:
12597         We use Filter now.
12598         Added Connector to mark elements that are only used to
12599         allow pipeline connections.
12600         Moved Debug to extra feature since most of them are 
12601         functionally something else.
12602
12603 2006-02-28  Wim Taymans  <wim@fluendo.com>
12604
12605         * docs/design/draft-klass.txt:
12606         Some updates and clarifications.
12607
12608 2006-02-28  Wim Taymans  <wim@fluendo.com>
12609
12610         * docs/design/draft-klass.txt:
12611         Proposal for klass field values.
12612
12613         * docs/design/part-streams.txt:
12614         Start of a doc describing stream anatomy.
12615
12616 2006-02-28  Wim Taymans  <wim@fluendo.com>
12617
12618         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
12619         Help the compiler a bit with type registration.
12620         Use existing forward cod path instead of duplicating it when 
12621         handling a message.
12622         
12623         * gst/gstbus.c: (gst_bus_get_type):
12624         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
12625         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
12626         * gst/gstclock.c: (gst_clock_get_type):
12627         * gst/gstelement.c: (gst_element_get_type),
12628         * gst/gstelementfactory.c: (gst_element_factory_get_type):
12629         * gst/gstindexfactory.c: (gst_index_factory_get_type):
12630         * gst/gstminiobject.c: (gst_mini_object_get_type):
12631         * gst/gstpad.c: (gst_pad_get_type):
12632         * gst/gstsegment.c: (gst_segment_get_type):
12633         * gst/gststructure.c: (gst_structure_get_type):
12634         * gst/gstsystemclock.c: (gst_system_clock_get_type):
12635         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
12636         * gst/gstvalue.c:
12637         Help compiler with type registration.
12638
12639         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
12640         Small doc update.
12641
12642 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * plugins/elements/gsttypefindelement.c:
12645         (gst_type_find_element_handle_event):
12646           When we get an EOS event and have not found a type yet
12647           (most likely because we had not yet accumulated
12648           TYPE_FIND_MIN_SIZE of data yet), try to determine the
12649           type given the data we have so far. Fixes typefinding
12650           for very short streams again, most notably quicktime
12651           redirections as used on Apple's trailer site (#331701).
12652
12653 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12654
12655         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
12656         (gst_type_find_helper):
12657           Try typefinding factories with the highest rank first.
12658
12659 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * docs/libs/gstreamer-libs-docs.sgml:
12662         * docs/libs/gstreamer-libs-sections.txt:
12663         * libs/gst/base/gsttypefindhelper.c:
12664           Add section for typefind helper and add documentation
12665           for the old and the new function.
12666
12667 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12668
12669         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
12670         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
12671         (gst_type_find_helper_for_buffer):
12672         * libs/gst/base/gsttypefindhelper.h:
12673           New API: gst_type_find_helper_for_buffer() (#332723).
12674           
12675 2006-02-27  Michael Smith  <msmith@fluendo.com>
12676
12677         Patch by: Loïc Minier
12678
12679         * configure.ac:
12680         * docs/Makefile.am:
12681         * docs/slides/Makefile.am:
12682           prevent CVS directories getting disted.
12683
12684 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
12685
12686         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
12687           Use the REFCOUNTING category for caps refcounting.
12688           
12689 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12690
12691         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
12692           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
12693
12694 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
12695
12696         * plugins/elements/gsttypefindelement.c:
12697         (gst_type_find_element_activate):
12698           Use gst_pad_check_pull_range() before _activate_pull()
12699           to avoid unnecessary open/close (see #331690).
12700
12701 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12702
12703         * gst/gstutils.c:
12704           Docs enhancement: make it crystal clear what the
12705           gst_pad_add_*_probe() callbacks should look like.
12706
12707 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
12708
12709         * libs/gst/base/gstbasesrc.c:
12710           Document how applications can stop recording from
12711           live sources (see #330996).
12712
12713 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12714
12715         * tests/check/Makefile.am:
12716         * tests/check/libs/basesrc.c: (eos_event_counter),
12717         (basesrc_eos_events_pull), (basesrc_eos_events_push),
12718         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
12719         (gst_basesrc_suite), (main):
12720           ... and add some tests for the base source EOS stuff.
12721
12722 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12723
12724         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
12725           Test case originally showed the problem fixed below,
12726           but was then amended. Add checks back at the place
12727           where they used to be.
12728
12729 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12730
12731         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12732         (gst_base_src_init), (gst_base_src_loop),
12733         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12734         (gst_base_src_change_state):
12735         * libs/gst/base/gstbasesrc.h:
12736           Don't unconditionally send EOS when going from PAUSED to
12737           READY state, esp. make sure we don't send two EOS events
12738           in some cases (e.g. one when reaching EOS and one when
12739           going from PAUSED to READY). Also, we don't want to send
12740           EOS events when operating in pull mode. However, we do
12741           want to send an EOS event when shutting down a live
12742           source explicitly, for example (fixes #330996).
12743           
12744 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
12745
12746         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
12747           Update src->read_position after a seek when not using mmap.
12748           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
12749
12750 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
12751
12752         * gst/Makefile.am:
12753         * gst/gstparse.h:
12754         * gst/gstutils.c:
12755         * gst/gstutils.h:
12756         Make things work with --disable-parse as they do with 
12757         --disable-load-save - the symbols involved disappear, but the
12758         header is still installed and GST_DISABLE_PARSE is included via
12759         gstconfig.h
12760
12761 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12762
12763         * libs/gst/base/gstbasetransform.c:
12764         (gst_base_transform_change_state): Fix a stupid bug. I was 
12765         sure I compiled that.
12766
12767 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12768
12769         * gst/gstpad.c: (gst_pad_set_blocked_async):
12770         * gst/gstutils.c: (gst_pad_add_data_probe),
12771         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
12772         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
12773         (gst_pad_remove_buffer_probe): Make those function act on the
12774         ghostpad target when it's a ghostpad. (Closes #331727)
12775
12776 2006-02-20  Julien MOUTTE  <julien@moutte.net>
12777
12778         * libs/gst/base/gstbasetransform.c:
12779         (gst_base_transform_change_state): Make basetransform reusable.
12780         (Closes #331898)
12781
12782 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
12783
12784         * docs/random/release:
12785         Move the current documentation of how to do a release to the top
12786         of the file.
12787
12788         * gst/gstbin.c: (gst_bin_class_init),
12789         (gst_bin_handle_message_func):
12790         Allow multiple state-recalculation threads. (Closes #328873)
12791
12792 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12793
12794         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12795         * gst/gstpad.c: (gst_pad_set_event_function),
12796         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12797         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12798         2 strings. You can't use the STR_NULL macro on that.
12799
12800 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12801
12802         * gst/gstpad.c: (gst_pad_set_event_function),
12803         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12804         (gst_pad_set_getcaps_function)
12805         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12806           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12807           So now, we can use --gst-debug-level=5 on Windows
12808         * win32/common/libgstcontroller.def:
12809           Added export of gst_controller_init
12810         * win32/vs6/libgstcontroller.dsp:
12811           Fixed Release post build configuration
12812
12813 2006-02-17  Wim Taymans  <wim@fluendo.com>
12814
12815         * tests/check/gst/gstquery.c: (GST_START_TEST):
12816         Added another check.
12817
12818 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
12819
12820         * plugins/elements/gsttypefindelement.c: (find_peek):
12821           We can do peeks at non-zero offsets, as long as they
12822           fall within the buffer we have.
12823
12824 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
12825
12826         * tests/check/Makefile.am:
12827         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12828         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12829         (parse_suite), (main):
12830           Add testsuite for parse launch syntax
12831
12832 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
12833
12834         * plugins/elements/gsttypefindelement.c:
12835         (gst_type_find_element_chain):
12836           When typefinding is unsuccessful in the chain function, don't
12837           error out immediately. Only error out with NO_CAPS_FOUND if
12838           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12839           otherwise simply wait for more data so we can try typefinding
12840           again with more data later. Also, don't attempt to typefind
12841           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12842           this should improve typefinding from network sources where the
12843           size of the first buffer can be somewhat random.
12844
12845 2006-02-14  Wim Taymans  <wim@fluendo.com>
12846
12847         * docs/gst/gstreamer-sections.txt:
12848         * gst/gstpadtemplate.c:
12849         * gst/gstpadtemplate.h:
12850         Fix padtemplate docs, fixes #328805.
12851
12852 2006-02-14  Wim Taymans  <wim@fluendo.com>
12853
12854         * tools/gst-launch.c: (main):
12855         NO_PREROLL is not an ERROR so don't send confusing messages
12856         to the user.
12857
12858 2006-02-14  Wim Taymans  <wim@fluendo.com>
12859
12860         Patch by: Torsten Schoenfeld
12861
12862         * gst/gstregistry.c: (gst_registry_get_default),
12863         (_gst_registry_cleanup):
12864         Protect default registry with lock and ref/sink it.
12865         Fixes #324818
12866
12867 2006-02-14  Wim Taymans  <wim@fluendo.com>
12868
12869         * gst/gstbuffer.c:
12870         * gst/gstquery.c: (gst_query_list_add_format),
12871         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12872         (gst_query_parse_formats_nth):
12873         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12874         Docs fixes.
12875
12876 2006-02-14  Wim Taymans  <wim@fluendo.com>
12877
12878         * docs/gst/gstreamer-sections.txt:
12879         Reworked query docs.
12880
12881         * gst/gstquery.c: (gst_query_new_formats),
12882         (gst_query_list_add_format), (gst_query_set_formats),
12883         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12884         (gst_query_parse_formats_nth):
12885         * gst/gstquery.h:
12886         Flesh out formats query, added some new methods.
12887         Fix part of #324398.
12888
12889         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12890         Added query creation tests.
12891
12892 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
12893
12894         * gst/gstpad.c: (fixate_value):
12895         Add a default fixation for fraction lists.
12896
12897 2006-02-13  Wim Taymans  <wim@fluendo.com>
12898
12899         * gst/gsttask.c: (gst_task_init), (gst_task_func),
12900         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12901         (gst_task_join):
12902         * gst/gsttask.h:
12903         Detect and warn for obvious deadlocks. fixes #320340
12904         Fix error case where lock was not released.
12905
12906         * tests/check/Makefile.am:
12907         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12908         (task_func), (gst_element_suite), (main):
12909         Add task check.
12910
12911 2006-02-13  Wim Taymans  <wim@fluendo.com>
12912
12913         * docs/gst/gstreamer-sections.txt:
12914         * gst/gstbus.c:
12915         Add new functions to docs.
12916
12917 2006-02-13  Wim Taymans  <wim@fluendo.com>
12918
12919         * docs/design/part-TODO.txt:
12920         Updated TODO list, basesrc supports seeking to non-bytes
12921         formats.
12922
12923         * docs/design/part-element-sink.txt:
12924         Update docs.
12925
12926         * gst/gstbin.c: (bin_replace_message),
12927         (gst_bin_handle_message_func):
12928         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12929         * gst/gstevent.c: (gst_event_finalize):
12930         * gst/gstpad.c: (gst_pad_event_default_dispatch),
12931         (gst_pad_send_event):
12932         Use shiny new _TYPE_NAME macros.
12933
12934         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12935         Move debug statement up.
12936
12937         * gst/gstelement.c: (gst_element_set_locked_state):
12938         Add some debugging.
12939
12940 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12941
12942         * docs/gst/gstreamer-sections.txt:
12943         * gst/gstmessage.h:
12944         * gst/gstquery.h:
12945           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12946           macros (#330906). Also, document the already existing
12947           GST_QUERY_TYPE macro.
12948
12949 2006-02-13  Wim Taymans  <wim@fluendo.com>
12950
12951         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12952         (event_probe), (GST_START_TEST):
12953         Only events up to the pipeline EOS are counted, there are
12954         some more when going to NULL currently which we don't care
12955         about for now.
12956
12957 2006-02-13  Wim Taymans  <wim@fluendo.com>
12958
12959         * gst/gstpad.c: (gst_pad_send_event):
12960         Correctly check flushing and emit probes. fixes #330125
12961
12962 2006-02-10  Andy Wingo  <wingo@pobox.com>
12963
12964         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12965         structure.
12966         (gst_bus_init): Cache the location of the private data in the
12967         instance structure.
12968         (gst_bus_enable_sync_message_emission) 
12969         (gst_bus_disable_sync_message_emission): Implement new public
12970         functions.
12971         (gst_bus_post): Emit the sync-message signal if the user asked for
12972         it. Fixes #330684.
12973
12974         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12975         location of the bus-private structure.
12976         (gst_bus_enable_sync_message_emission)
12977         (gst_bus_disable_sync_message_emission): API addition
12978
12979 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12980
12981         Patch by: Vincent Torri
12982
12983         * docs/pwg/building-boiler.xml:
12984         PWG patch from #326800
12985
12986 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12987
12988         * configure.ac:
12989         * docs/Makefile.am:
12990         * docs/design/Makefile.am:
12991           Dist design docs.
12992
12993 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12994
12995         * configure.ac:
12996           back to CVS
12997
12998 === release 0.10.3 ===
12999
13000 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
13001
13002         * configure.ac:
13003           releasing 0.10.3, "Like a virgin"
13004
13005 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
13006
13007         * configure.ac:
13008           2nd prerelease of 0.10.3
13009           Bump libtool versioning.
13010
13011 2006-02-07  Andy Wingo  <wingo@pobox.com>
13012
13013         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
13014         update last_stop if we're in TIME format and the timestamp is
13015         valid.
13016
13017         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
13018         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
13019         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
13020         If we get a new newsegment with a different format, adapt
13021         accordingly.
13022
13023         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
13024         of 0. Not a problem, really.
13025
13026         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
13027         warn if sync=true.
13028
13029 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
13030
13031         * configure.ac:
13032           Prelease of 0.10.3
13033
13034 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
13035
13036         * win32/vs7:
13037           project files updated to the default vs7 configuration
13038         * win32/common/libgstbase.def:
13039         * win32/common/libgstreamer.def:
13040           added new symbols,
13041           removed empty lines,
13042           sorted all exported symbols alphabetically
13043         * win32/common/dirent.c:
13044         * win32/common/dirent.h:
13045         * win32/common/gchar.h:
13046           use windows line end.
13047           
13048 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13049
13050         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
13051           Send EOS event when stopping.
13052
13053 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
13054
13055         * docs/README:
13056           Tell folks what to do if the plugin-foobar.xml file
13057           hasn't been generated for a newly-added plugin.
13058
13059 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13060
13061         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13062         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13063         (gst_collect_pads_start), (gst_collect_pads_stop),
13064         (gst_collect_pads_event): Collectpads now holds a reference
13065         to the GstPad that was added. Indeed we don't want to look
13066         at pads that might just go away with no warning...
13067
13068 2006-02-05  Julien MOUTTE  <julien@moutte.net>
13069
13070         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
13071         (gst_collect_pads_start), (gst_collect_pads_stop),
13072         (gst_collect_pads_event), (gst_collect_pads_chain):
13073         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
13074         Mark Nauwelaerts's patch on bug #328491.
13075
13076 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13077
13078         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
13079         (gst_utils_suite):
13080           Add some simple tests for gst_parse_bin_from_description() and
13081           gst_bin_find_unconnected_pad() (#329069).
13082
13083 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
13084
13085         * tools/gst-launch.c: (event_loop), (main):
13086           Catch errors during preroll (#320084).
13087
13088 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
13089
13090         * plugins/elements/gsttypefindelement.c:
13091         (gst_type_find_element_activate):
13092           Post TYPE_NOT_FOUND error message when typefinding
13093           is unsuccessful in the activate function as well.
13094
13095 2006-02-02  Wim Taymans  <wim@fluendo.com>
13096
13097         * docs/design/part-element-sink.txt:
13098         Updated doc.
13099
13100 2006-02-02  Wim Taymans  <wim@fluendo.com>
13101
13102         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13103         (gst_base_sink_render_object),
13104         (gst_base_sink_queue_object_unlocked):
13105         Only keep track of prerollable items when we are 
13106         prerolling.
13107         Before rendering after preroll, always check if we
13108         have queued items.
13109         Added some more debugging.
13110
13111 2006-02-02  Wim Taymans  <wim@fluendo.com>
13112
13113         * gst/gstelement.c: (gst_element_continue_state),
13114         (gst_element_set_state_func), (gst_element_change_state):
13115         Fixed #326576, been running this for quite some time with
13116         no regressions at all.
13117
13118 2006-02-02  Wim Taymans  <wim@fluendo.com>
13119
13120         * common/gst.supp:
13121         Added more suppressions
13122
13123 2006-02-02  Wim Taymans  <wim@fluendo.com>
13124
13125         * docs/design/part-element-sink.txt:
13126         Updated document.
13127
13128         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13129         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
13130         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
13131         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13132         (gst_base_sink_do_sync), (gst_base_sink_render_object),
13133         (gst_base_sink_preroll_object),
13134         (gst_base_sink_queue_object_unlocked),
13135         (gst_base_sink_queue_object), (gst_base_sink_event),
13136         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
13137         (gst_base_sink_loop), (gst_base_sink_activate_pull),
13138         (gst_base_sink_get_position), (gst_base_sink_change_state):
13139         * libs/gst/base/gstbasesink.h:
13140         Totally refactored matching the design doc.
13141         Use two segments, one to clip incomming buffers and another to
13142         perform sync.
13143         Handle queueing correctly, bypass the queue when playing.
13144         Make EOS cancelable.
13145         Handle errors correctly when operating in pull based mode.
13146
13147         * tests/check/elements/fakesink.c: (GST_START_TEST),
13148         (fakesink_suite):
13149         Added new check for sinks.
13150
13151 2006-02-02  Wim Taymans  <wim@fluendo.com>
13152
13153         * gst/gstsegment.c: (gst_segment_clip):
13154         No reason to refuse to clip when start == -1
13155
13156 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
13157
13158         * docs/README:
13159         * docs/manual/intro-basics.xml:
13160         * docs/manual/intro-preface.xml:
13161         * docs/manual/manual.xml:
13162         * docs/pwg/advanced-dparams.xml:
13163         * docs/pwg/intro-basics.xml:
13164         * docs/pwg/intro-preface.xml:
13165         * docs/pwg/pwg.xml:
13166           describe dparams (controller) for plugins
13167           unify docs a little more
13168
13169 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
13170
13171         * docs/gst/gstreamer-sections.txt:
13172         * gst/gstutils.c: (element_find_unconnected_pad),
13173         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
13174         * gst/gstutils.h:
13175           Add new API: gst_parse_bin_from_description() and
13176           gst_bin_find_unconnected_pad() (#329069).
13177
13178 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
13179
13180         * docs/manual/README:
13181           uncover a nasty detail of the docs build
13182
13183 2006-01-31  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
13186         Don't cache duration messages if we're not going to use or
13187         free them.
13188
13189 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
13190
13191         * docs/manual/advanced-dparams.xml:
13192         * docs/pwg/advanced-dparams.xml:
13193           more dparam docs
13194         * gst/gstindex.c:
13195           fix docs
13196         * libs/gst/controller/lib.c: (gst_controller_init):
13197           init just once
13198
13199 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13200
13201         * gst/gstelement.c: (gst_element_message_full):
13202           also show file/line/func if no additional debug was given
13203
13204 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
13205         
13206         * win32/vs7/grammar.vcproj:
13207           activate copy of autogenerated files for Release mode
13208
13209 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13210         
13211         * win32/common/libgstreamer.def:
13212           export gst_value_compare
13213
13214 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
13215
13216         * plugins/elements/Makefile.am:
13217         * plugins/elements/gstelements.c:
13218         * plugins/elements/gstfdsink.c: (_do_init),
13219         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
13220         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
13221         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
13222         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
13223         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
13224         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
13225         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
13226         * plugins/elements/gstfdsink.h:
13227         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
13228
13229 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
13230
13231         * docs/manual/advanced-dparams.xml:
13232           describe controller
13233         * docs/manual/advanced-position.xml:
13234         * docs/manual/basics-init.xml:
13235         * docs/manual/manual.xml:
13236         * docs/manual/titlepage.xml:
13237         * docs/pwg/pwg.xml:
13238         * docs/pwg/titlepage.xml:
13239           cleanup xml (more to come)
13240         * libs/gst/controller/gstcontroller.c:
13241           fix typo
13242
13243 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
13244         
13245         * win32/vs6/grammar.dsp:
13246           add autogen of gstmarshal.c,h for Release mode
13247                 
13248 2006-01-30  Wim Taymans  <wim@fluendo.com>
13249
13250         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13251         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
13252         (gst_base_sink_handle_object), (gst_base_sink_event),
13253         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
13254         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
13255         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
13256         (gst_base_sink_deactivate), (gst_base_sink_activate),
13257         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
13258         (gst_base_sink_query), (gst_base_sink_change_state):
13259         Basesink cleanups, remove some old code.
13260         Handle the case where a subclass can preroll in the render
13261         method (mostly audiosinks).
13262         Handle more events.
13263         Remove some locks around variables that are now protected
13264         with the PREROLL_LOCK (clock_id, flushing, ..).
13265         Optimize position query some more, do correct locking.
13266         Remove old code to push queue in state change, this is not
13267         needed anymore since preroll blocks on all prerollable items 
13268         now.
13269         Almost implemented as described in design doc.
13270
13271 2006-01-30  Wim Taymans  <wim@fluendo.com>
13272
13273         * tests/check/gst/gstbin.c: (GST_START_TEST):
13274         Wait for refcount to settle down before checking.
13275
13276 2006-01-30  Wim Taymans  <wim@fluendo.com>
13277
13278         * docs/design/part-element-sink.txt:
13279         Pseudo code overview of desired sink behaviour regarding
13280         preroll.
13281
13282 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13283         * win32/vs6/grammar.dsp:
13284           fix some bugs in Release mode for autogenerated files
13285                 
13286 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13287         * win32/common/libgstbase.def:
13288         * win32/common/libgstreamer.def:
13289           export some new symbols: gst_base_src_set_format,
13290           gst_iterator_next, gst_structure_set_valist
13291
13292 2006-01-29  Julien MOUTTE  <julien@moutte.net>
13293
13294         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
13295         Set pad functions unconditionally. Fixes #329105.
13296
13297 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
13298         * win32/vs8:
13299           add vs8 project files created by Sergey Scobich
13300
13301 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
13302
13303         * gst/gstutils.c: (gst_element_unlink_pads):
13304         Don't leak pad references.
13305
13306         * tests/check/elements/fakesink.c: (GST_START_TEST):
13307         * tests/check/generic/sinks.c: (GST_START_TEST):
13308         * tests/check/generic/states.c: (GST_START_TEST):
13309         * tests/check/gst/gstbin.c: (GST_START_TEST):
13310         * tests/check/gst/gstcaps.c: (GST_START_TEST):
13311         * tests/check/gst/gstelement.c: (GST_START_TEST):
13312         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13313         * tests/check/gst/gstiterator.c: (GST_START_TEST):
13314         * tests/check/gst/gstvalue.c: (GST_START_TEST):
13315         Fix a bunch of leaks. Make generic/sinks.c
13316         use a bit less cpu by slowing the buffer rate
13317         between fakesrc and fakesink.
13318         
13319 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
13320         * gst/gstcaps.c:
13321         * gst/gstelement.c: (gst_element_send_event):
13322         * gst/gstevent.c:
13323         * gst/gstinfo.c:
13324         * gst/gstiterator.c:
13325         * gst/gstiterator.h:
13326         * gst/gstpad.c: (gst_pad_send_event):
13327         * gst/gststructure.c:
13328         * gst/gsturi.c:
13329         * gst/gstutils.c:
13330         * gst/gstvalue.c:
13331         * libs/gst/base/gstadapter.c:
13332           doc fixes, to link to function, just write gst_cool_function(), don't
13333           prefix with '#'
13334
13335 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13336
13337         * plugins/elements/gsttee.c: (gst_tee_do_push),
13338         (gst_tee_handle_buffer):
13339         Always prefer an actual return value from a src
13340         pad in place of NOT_LINKED. This means we return
13341         WRONG_STATE when all src pads are WRONG_STATE
13342         instead of NOT_LINKED.
13343
13344         Lock when replacing the last message to prevent
13345         racing with the get_property method.
13346
13347         Add debug output
13348
13349 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13350
13351         * tests/check/Makefile.am:
13352         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
13353         (main):
13354         Add a very simple check that should have caught the memleak I fixed
13355         last night (if not for the slice allocator hiding it)
13356
13357 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
13358
13359         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13360         (gst_bin_remove_func), (gst_bin_handle_message_func),
13361         (bin_query_duration_fold), (bin_query_generic_fold):
13362         Clean up references to the clock provider when disposed or when
13363         handling a clock-lost message from it.
13364
13365         Unref sinks when performing a query via gst_iterator_fold, as the
13366         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
13367
13368         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
13369         (gst_clock_set_master):
13370         Drop our reference to the master clock, if any, when we are disposed.
13371
13372         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
13373         Chain up in dispose. 
13374
13375 2006-01-26  Wim Taymans  <wim@fluendo.com>
13376
13377         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13378         Add some debugging.
13379
13380 2006-01-26  Julien MOUTTE  <julien@moutte.net>
13381
13382         * plugins/elements/gsttee.c: (gst_tee_do_push),
13383         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
13384         handles pad being NOT_LINKED or in WRONG_STATE.
13385
13386 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13387
13388         * win32/MANIFEST:
13389           more updating
13390
13391 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13392
13393         * win32/MANIFEST:
13394           remove obsolete entry
13395
13396 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
13397
13398         * docs/gst/gstreamer-sections.txt:
13399         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
13400         (gst_bin_iterate_sources), (gst_bin_send_event):
13401         * gst/gstbin.h:
13402         * gst/gstelement.c: (gst_element_send_event):
13403         * gst/gstevent.c:
13404         * gst/gstpad.c: (gst_pad_send_event):
13405           added code for downstream events, reviewed docs in gstevent.c
13406
13407 2006-01-25  Julien MOUTTE  <julien@moutte.net>
13408
13409         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13410         We only query position using the clock in the playing state.
13411         Query peer in the other cases.
13412         * win32/common/config.h: Updates.
13413
13414 2006-01-24  Wim Taymans  <wim@fluendo.com>
13415
13416         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
13417         A clock entry that is scheduled for the exact time of the
13418         clock is still in time.
13419
13420         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13421         (gst_base_sink_do_sync):
13422         Add some more debug info.
13423
13424 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13425
13426         * win32/vs7:
13427           Add new vs7 project files and solution.
13428
13429 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
13430
13431         * win32/vs7:
13432           all files removed as they were out-dated.
13433
13434 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * docs/random/release:
13437           update notes
13438         * gst/gstbin.c: (gst_bin_init):
13439         * gst/gstbus.c: (gst_bus_new):
13440         * gst/gstbus.h:
13441         * gst/gstpipeline.c: (gst_pipeline_init):
13442           use gst_bus_new(), improve logging, fix docs
13443         * win32/common/config.h:
13444           update for cvs build
13445
13446 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13447
13448         * autogen.sh:
13449           up required version of automake to 1.7
13450
13451 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
13452
13453         * win32/common/libgstreamer.def:
13454           export gst_buffer_is_metadata_writable
13455
13456 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         * docs/gst/gstreamer-sections.txt:
13459         * gst/gstevent.h:
13460           Add gst_event_replace() (#327001)
13461
13462 2006-01-20  Wim Taymans  <wim@fluendo.com>
13463
13464         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
13465         Make it actually compile too..
13466
13467 2006-01-20  Wim Taymans  <wim@fluendo.com>
13468
13469         * gst/gstcaps.c:
13470         Clarify behaviour of _is_equal() when passing NULL parameters.
13471
13472         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13473         (gst_pad_set_caps):
13474         Cleanups. Don't unref NULL caps.
13475         When setting the same caps, protect caps of the pad with
13476         proper lock.
13477         Use full functionality of _is_equal() when comparing caps.
13478
13479 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13480
13481         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13482         Don't loop infinitely if there are no buffers to present. Partially
13483         fixes #327197, but collectpads is just broken for reusing elements
13484         to do multiple encodes atm.
13485
13486 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
13487
13488         * tools/gst-inspect.c: (print_element_features):
13489         * tools/gst-xmlinspect.c: (main):
13490         URL_HANDLER is not a plugin feature we can search for in
13491         the registry.
13492
13493 2006-01-19  Edward Hervey  <edward@fluendo.com>
13494
13495         * gst/gstelement.c: (gst_element_pads_activate): 
13496         When activating, do src pads first, then sink pads.
13497         When de-activating, do sink pads first, then src pads.
13498
13499 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13500
13501         * docs/gst/gstreamer-sections.txt:
13502         Add gst_index_add_associationv to the docs
13503
13504 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13505
13506         * gst/gstevent.c:
13507           Fix docs typo
13508
13509         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
13510         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
13511           Do some refactoring. Doesn't actually change functionality,
13512           but makes landing the DRAIN event easier later.
13513
13514 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
13515
13516         * docs/pwg/advanced-scheduling.xml:
13517           Update from 0.9.x to 0.10 API and make example a bit
13518           clearer.
13519
13520 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13521
13522         * docs/gst/gstreamer-sections.txt:
13523         Add gst_buffer_(is|make)_metadata_writable methods.
13524
13525 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
13526
13527         * docs/design/part-sparsestreams.txt:
13528         Update sparse streams doc, hopefully for greater clarity
13529
13530 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
13531
13532         * docs/design/part-events.txt:
13533         Remove mention of FILLER events.
13534         Add DRAIN event.
13535
13536         * docs/design/part-sparsestreams.txt:
13537         Write some things about using NEWSEGMENT to keep sparse streams
13538         flowing.
13539
13540 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13541
13542         * gst/gstbin.c: (gst_bin_dispose):
13543           Guard gst_object_unref call against a NULL object (dispose
13544           can theoretically be called multiple times).
13545           
13546 2006-01-18  Wim Taymans  <wim@fluendo.com>
13547
13548         * gst/gstbin.c: (gst_bin_element_set_state):
13549         * gst/gstclock.c: (gst_clock_id_wait):
13550         Added some more debug info.
13551
13552         * libs/gst/base/gstadapter.c:
13553         Added more docs.
13554
13555         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13556         (gst_base_sink_do_sync), (gst_base_sink_chain):
13557         Added some comments.
13558
13559 2006-01-18  Wim Taymans  <wim@fluendo.com>
13560
13561         * tests/check/Makefile.am:
13562         * tests/check/elements/fakesink.c: (chain_async_buffer),
13563         (chain_async), (chain_async_return), (GST_START_TEST),
13564         (fakesink_suite), (main):
13565         Added fakesink test that checks prerolling and clipping
13566         behaviour.
13567
13568         * tests/check/gst/gstutils.c: (GST_START_TEST):
13569         Make check run faster so that buildbots don't timeout.
13570
13571 2006-01-18  Wim Taymans  <wim@fluendo.com>
13572
13573         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13574         (gst_base_sink_do_sync):
13575         Some cleanups.
13576         When the sink finishes blocking on the preroll buffer, it can
13577         immediatly render it instead of rendering when the next buffer
13578         arrives.
13579
13580 2006-01-18  Wim Taymans  <wim@fluendo.com>
13581
13582         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
13583         (gst_base_sink_get_property), (gst_base_sink_do_sync),
13584         (gst_base_sink_chain):
13585         Small cleanups.
13586         GST_ELEMENT_CLOCK and sync are protected with LOCK.
13587         Don't store _last_stop if the buffer is dropped.
13588
13589 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
13590
13591         * plugins/elements/gsttypefindelement.c:
13592         (gst_type_find_element_class_init):
13593           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
13594           object method handler that sets the caps on the pad and we want
13595           that to happen before we emit the signal (fixes e.g. feeding a
13596           plain text file to decodebin).
13597
13598 2006-01-18  Christian Schaller  <Christian@fluendo.com>
13599
13600         * gst/gstplugin.c: Add MPL and Proprietary as license options
13601
13602 2006-01-18  Andy Wingo  <wingo@pobox.com>
13603
13604         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
13605         symbol was exported before, it appears this was just an oversight.
13606         Fixes #168703.
13607         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
13608
13609         * gst/gstindex.c (gst_index_add_associationv): Changed int in
13610         prototype to gint. OK since this prototype was not in the header.
13611
13612 2006-01-17  Andy Wingo  <wingo@pobox.com>
13613
13614         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
13615         registry while we remove plugins.
13616
13617         * tools/gst-inspect.c (print_element_info): Don't unref the
13618         factory arg, that should be the responsibility of whatever code
13619         received the ref. Fixes a double-free when called from
13620         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
13621         (main): Unref the factory if we have one.
13622         (print_element_list): No change -- relies on the
13623         plugin_feature_list_free to free the list of features.
13624
13625 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
13626
13627         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13628         (gst_buffer_make_metadata_writable):
13629         * gst/gstbuffer.h:
13630         * libs/gst/base/gstbasetransform.c:
13631         (gst_base_transform_prepare_output_buf):
13632         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13633         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13634           Replace gst_buffer_(make|is)_metadata_writable patch now
13635           that the release is out.
13636
13637 2006-01-17  Andy Wingo  <wingo@pobox.com>
13638
13639         * gst/gstregistry.c: Reflow design comment. Update so as to speak
13640         in the present tense without reference to versions.
13641
13642         * gst/gstregistry.c (gst_registry_add_plugin)
13643         (gst_registry_remove_plugin, gst_registry_remove_feature)
13644         (gst_registry_find_feature, gst_registry_get_feature_list)
13645         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
13646         (gst_registry_lookup, gst_registry_scan_path)
13647         (_gst_registry_remove_cache_plugins)
13648         (gst_registry_get_feature_list_by_plugin): Add argument
13649         validation.
13650
13651 === release 0.10.2 ===
13652
13653 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
13654
13655         * configure.ac:
13656           releasing 0.10.2, "If man is five"
13657
13658 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13659
13660         * gst/gstbuffer.c:
13661         * gst/gstbuffer.h:
13662         * libs/gst/base/gstbasetransform.c:
13663         (gst_base_transform_prepare_output_buf):
13664         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13665         * tests/check/gst/gstbuffer.c: (gst_test_suite):
13666           Back out patch until after the release.
13667
13668 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13669
13670         * gst/gstminiobject.c:
13671           Spelling fix in docs.
13672         * ChangeLog - remove conflict indicator
13673
13674 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
13675
13676         Reviewed By: Andy Wingo
13677
13678         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
13679         (gst_buffer_make_metadata_writable):
13680         * gst/gstbuffer.h:
13681           Add gst_buffer_(is|make)_metadata_writable as analogues of
13682           gst_buffer_(is|make)_writable.
13683
13684         * libs/gst/base/gstbasetransform.c:
13685         (gst_base_transform_prepare_output_buf):
13686         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
13687           Use name gst_buffer_(is|make)_metadata_writable functions.
13688
13689         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13690           Test gst_buffer_(is|make)_metadata_writable
13691         
13692           (Closes: #324162)
13693
13694 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13695
13696         * docs/manual/Makefile.am:
13697           don't do parallel make
13698         * configure.ac:
13699           AC_SUBST HOST_CPU
13700         * win32/common/config.h.in:
13701           add generations for HOST_CPU and GST_MAJORMINOR
13702         * win32/common/config.h:
13703           commit generated result
13704
13705 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
13706
13707         * docs/manual/appendix-integration.xml:
13708           Update GNOME integration section to use gst_init_get_option_group()
13709           instead of the old popt stuff (#322911). Also, GNOME applications
13710           should  now use gconf*sink and gconf*src instead of the old gconf
13711           helper lib we had.
13712
13713 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
13714
13715
13716         * docs/gst/gstreamer-docs.sgml:
13717         * docs/gst/gstreamer-sections.txt:
13718         * docs/libs/gstreamer-libs-sections.txt:
13719           add new API entries to the docs
13720         * libs/gst/controller/Makefile.am:
13721         * libs/gst/controller/gstcontroller.c:
13722         * libs/gst/controller/gstcontroller.h:
13723         * libs/gst/controller/gstcontrollerprivate.h:
13724         * libs/gst/controller/gsthelper.c:
13725         * libs/gst/controller/gstinterpolation.c:
13726           move private structs to private header
13727         * po/README:
13728           gstreamer-0.7 -> gstreamer-0.10
13729         * tests/check/libs/struct_i386.h:
13730           remove private structs
13731
13732 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13733
13734         * plugins/indexers/Makefile.am:
13735           Fixes as part of #317048
13736
13737 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13738
13739         * plugins/indexers/Makefile.am:
13740           fix #316086 - compilation when mmap is missing
13741
13742 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
13743
13744         * libs/gst/base/gstbasesink.c:
13745           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
13746           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
13747         * win32/common/config.h:
13748           added some defines GST_MAJORMINOR and HOST_CPU
13749         * win32/common/libgstbase.def:
13750         * win32/common/libgstreamer.def:
13751           added some exported functions.
13752
13753 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13754
13755         * libs/gst/controller/gstcontroller.c:
13756         (gst_controlled_property_set_interpolation_mode),
13757         (gst_controlled_property_new):
13758         * libs/gst/controller/gstcontroller.h:
13759         * libs/gst/controller/gstinterpolation.c:
13760         (interpolate_none_get_string_value_array):
13761           make G_TYPE_STRING controlable
13762
13763 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
13764
13765         * tools/README:
13766         * tools/gst-feedback.1.in:
13767         * tools/gst-inspect.1.in:
13768         * tools/gst-launch.1.in:
13769         * tools/gst-md5sum.1.in:
13770         * tools/gst-typefind.1.in:
13771         * tools/gst-xmlinspect.1.in:
13772         * tools/gst-xmllaunch.1.in:
13773           cleanup man-pages, remove reference to gst-register, document env-vars
13774
13775 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
13776
13777         * gst/gstbuffer.c: (gst_buffer_span):
13778           gst_buffer_span should copy the timestamp of the first buffer
13779           if they were both originally overlapping subbuffers of the 
13780           same parent, using the same logic as the 'slow copy' case.
13781
13782 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
13783
13784         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
13785           Need to awaken ALL the pads when we pop a buffer, otherwise
13786           collectpads only works when there is 2 input streams.
13787
13788 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
13789
13790         * docs/random/ensonic/media-device-daemon.txt:
13791           more ideas (dbus)
13792         * gst/gstbuffer.c:
13793           fix doc example, add clarification
13794         * tools/gst-launch.1.in:
13795           add initial info about GST_PLUGIN_PATH, needs more work
13796
13797 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13798
13799         * docs/manual/basics-bins.xml:
13800         * docs/manual/basics-elements.xml:
13801         * docs/manual/intro-basics.xml:
13802           Some more minor docs additions and updates.
13803
13804 2006-01-11  Wim Taymans  <wim@fluendo.com>
13805
13806         * docs/manual/basics-bins.xml:
13807         * docs/manual/basics-elements.xml:
13808         Some small fixes as pointed out by Ser-ver on IRC.
13809
13810 2006-01-10  Edward Hervey  <edward@fluendo.com>
13811
13812         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13813         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13814         the single-segment mode.
13815
13816 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13817
13818         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13819
13820         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13821         (gst_base_src_perform_seek), (gst_base_src_send_event),
13822         (gst_base_src_set_property), (gst_base_src_get_property),
13823         (gst_base_src_loop), (gst_base_src_start),
13824         (gst_base_src_activate_push):
13825         * libs/gst/base/gstbasesrc.h:
13826           Name (private) union; makes Sun's Forte compiler happy (#324900).
13827
13828 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
13829
13830         * README:
13831           gst-register is gone.
13832
13833 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13834
13835         * gst/gstvalue.c: (_gst_value_initialize):
13836           make the G_TYPE_DATE instantiation work if debug is disabled
13837
13838 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
13839
13840         * gst/gstmessage.c: (gst_message_parse_tag),
13841         (gst_message_parse_error), (gst_message_parse_warning):
13842           Don't crash when return location for error/warning debug
13843           string is NULL; add fact that return locations can be
13844           NULL to docs where appropriate.
13845
13846 2006-01-05  Wim Taymans  <wim@fluendo.com>
13847
13848         * gst/gstplugin.c: (gst_plugin_load_file):
13849         Replace strdup by g_strdup.
13850
13851 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13852
13853         * docs/pwg/advanced-types.xml:
13854           fix doc borkage
13855
13856 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13857
13858         submitted by: Abel Cheung
13859
13860         * po/LINGUAS:
13861         * po/zh_TW.po:
13862           Added Chinese (traditional) translation
13863
13864 2006-01-04  Wim Taymans  <wim@fluendo.com>
13865
13866         * docs/manual/basics-pads.xml:
13867         * docs/plugins/Makefile.am:
13868         * docs/plugins/gstreamer-plugins-docs.sgml:
13869         * docs/plugins/gstreamer-plugins-sections.txt:
13870         * docs/pwg/advanced-clock.xml:
13871         * docs/pwg/advanced-scheduling.xml:
13872         * docs/pwg/advanced-types.xml:
13873         * plugins/elements/gstfdsink.c:
13874         * plugins/elements/gstfdsrc.c:
13875         * plugins/elements/gstfdsrc.h:
13876         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13877         * plugins/elements/gstidentity.h:
13878         * plugins/elements/gstqueue.h:
13879         * plugins/elements/gsttee.c:
13880         * plugins/elements/gsttee.h:
13881         * plugins/elements/gsttypefindelement.c:
13882         (gst_type_find_element_class_init):
13883         * plugins/elements/gsttypefindelement.h:
13884         Small updates to various docs.
13885         Added core plugins to docs.
13886
13887 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13888
13889         * common/gst.supp:
13890           add a suppression for liboil's uninitialized variable
13891
13892 2006-01-02  James Livingston  <jrl at ids dot org dot au>
13893
13894         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13895
13896         * gst/gstutils.h:
13897           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13898           macro, so that gcc doesn't complain if the -Wmissing-prototypes
13899           compiler switch is being used (#325429).
13900
13901 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
13902
13903         * gst/gstbin.c: (gst_bin_query):
13904           Disable duration query caching in bins until it gets
13905           fixed (see #324807).
13906
13907 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13908
13909         * tools/gst-inspect.c: (print_element_properties_info):
13910           Handle properties of POINTER and BOXED type.
13911
13912 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13913
13914         * gst/gst.c: (init_post):
13915           Init tags stuff and some other things before loading
13916           any static plugins (there may be other static plugins
13917           than just the GStreamer ones, and they may want to
13918           register their own tags or formats or whatever, and
13919           preferably without segfaulting).
13920
13921         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13922           Print at least a warning in the debug logs if we drop a
13923           query just because we don't know how to adjust the value
13924           in the particular format.
13925
13926 2005-12-24  David Schleef  <ds@schleef.org>
13927
13928         * tools/gstreamer-completion:
13929           Replacement for gst-complete written in sh and sed.  Only
13930           completes names of features, but that's 90% of what I want
13931           it for.  Properties are not available in registry.xml.  (Maybe
13932           they should be...)
13933
13934 === release 0.10.1 ===
13935
13936 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
13937
13938         * configure.ac:
13939           releasing 0.10.1, "Nollaig chridheil"
13940
13941 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13942
13943         * docs/faq/cvs.xml:
13944           Add missing quote, should be make ERROR_CFLAGS="".
13945
13946 2005-12-20  Wim Taymans  <wim@fluendo.com>
13947
13948         * docs/design/part-trickmodes.txt:
13949         More documentation on trickmodes.
13950
13951 2005-12-20  Edward Hervey  <edward@fluendo.com>
13952
13953         * gst/gstcaps.c: (gst_static_caps_get_type):
13954         * gst/gstcaps.h:
13955           API addition: GST_TYPE_STATIC_CAPS
13956         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13957         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13958         * gst/gstpadtemplate.h:
13959           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13960         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13961         bindings.
13962
13963 2005-12-18  Wim Taymans  <wim@fluendo.com>
13964
13965         * libs/gst/base/gstadapter.c:
13966         * libs/gst/base/gstadapter.h:
13967         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13968         (gst_base_sink_get_position):
13969         * libs/gst/base/gstbasesink.h:
13970         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13971         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13972         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13973         (gst_base_src_send_event), (gst_base_src_update_length),
13974         (gst_base_src_get_range), (gst_base_src_loop),
13975         (gst_base_src_start):
13976         * libs/gst/base/gstbasesrc.h:
13977         * libs/gst/base/gstbasetransform.h:
13978         * libs/gst/base/gstcollectpads.h:
13979         * libs/gst/base/gstpushsrc.c:
13980         * libs/gst/base/gstpushsrc.h:
13981         * libs/gst/dataprotocol/dataprotocol.c:
13982         * libs/gst/dataprotocol/dataprotocol.h:
13983         * libs/gst/net/gstnetclientclock.h:
13984         * libs/gst/net/gstnettimeprovider.h:
13985         Documentation updates.
13986
13987 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13988
13989         * docs/manual/basics-helloworld.xml:
13990           Remove superfluous closing bracket in helloworld example.
13991
13992 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13993
13994         * tools/gst-launch.1.in:
13995           Update gst-launch man page; add a section with useful
13996           environment variables. Fixes #323882.
13997
13998 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
13999
14000         * gst/gst.c:
14001         * gst/gst_private.h:
14002           change some char* into char[]
14003
14004 2005-12-16  Wim Taymans  <wim@fluendo.com>
14005
14006         * gst/gstregistryxml.c: (load_feature):
14007         Cleanups.
14008         Don't use g_object_unref on GstObjects so that we avoid
14009         leaks on unsafe glibs.
14010
14011 2005-12-16  Wim Taymans  <wim@fluendo.com>
14012
14013         * gst/gstbin.c: (gst_bin_recalc_state):
14014         Small doc updates.
14015
14016 2005-12-16  Wim Taymans  <wim@fluendo.com>
14017
14018         * common/check.mak:
14019         Added make forever target for check.
14020
14021 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
14022
14023         * gst/gst.c: (init_post):
14024           make the registry cache file HOST_CPU-dependent
14025
14026 2005-12-16  Andy Wingo  <wingo@pobox.com>
14027
14028         * plugins/elements/gstbufferstore.c
14029         (gst_buffer_store_cleared_func): Pay attention to g_list_append
14030         return value.
14031
14032         * tests/check/gst/gstobject.c
14033         (test_fake_object_name_threaded_unique): Pay attention to
14034         g_list_sort return value.
14035
14036 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
14037
14038         * tools/gst-feedback-m.m:
14039           Update for 0.9/0.10 (fixes #323870).
14040
14041 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
14042
14043         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
14044           Fix lcopy for mini objects, the mini object needs to be ref'ed.
14045           
14046         * tests/check/gst/gstminiobject.c: (my_foo_init),
14047         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
14048         (test_value_collection), (gst_mini_object_suite):
14049           Add test to ensure refcounts end up as expected when passing
14050           GstMiniObjects through g_object_get() and g_object_set().
14051
14052 2005-12-14  Julien MOUTTE  <julien@moutte.net>
14053
14054         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
14055         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
14056         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
14057         of collectpads. This version removes a lot of races without
14058         touching API/ABI. Yay !
14059
14060 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
14061
14062         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
14063           Don't allow activation of a srcpad in pull_range if it has no
14064           getrange function.
14065           Change some debug statements to be a little clearer
14066
14067         * plugins/elements/gsttypefindelement.c:
14068         (gst_type_find_handle_src_query):
14069           Check that we have a peer before executing queries thereupon.
14070
14071         * tests/examples/metadata/read-metadata.c: (message_loop):
14072           Use gst_bus_pop instead of gst_bus_poll when we just want it to
14073           immediately return us any available message with 0 timeout.
14074
14075 2005-12-12  Michael Smith  <msmith@fluendo.com>
14076
14077         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
14078           Don't unref factories after calling them.
14079         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
14080         * plugins/elements/gsttypefindelement.c:
14081         (gst_type_find_element_chain):
14082           Free lists of factories after using them. Fixing typefinding memory
14083           leaks.
14084
14085 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14086
14087         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
14088         (gst_plugin_feature_load):
14089           more meaningful debug output
14090         * configure.ac:
14091         * tests/Makefile.am:
14092         * tests/old/examples/Makefile.am:
14093           make make distcheck happy again
14094
14095 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14096
14097         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14098           Catch the special case where we are operating chain-based,
14099           but the downstream peer pad has no chain function. Emit a
14100           custom error message in this case instead of letting the
14101           core generate one implying that this is some sort of core
14102           bug. It's not, it just means that whatever got plugged
14103           into the pipeline downstream when we announced the type
14104           can only operate pull-based, while our source can only
14105           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
14106           Error string has not been marked for translation yet, as
14107           it probably needs some more work first.
14108
14109         (gst_type_find_element_get_best_possibility):
14110           Add helper function to find the best of all available
14111           found possibilities that qualify given the min. threshold.
14112
14113         (gst_type_find_element_handle_event):
14114           Fix the case where we get an EOS while still in TYPEFIND
14115           mode (we want to chose the best of all possible types,
14116           not just the first type that happens to be in our unsorted
14117           list of possible types).
14118
14119         (gst_type_find_element_chain):
14120           Make sure we return GST_FLOW_ERROR when we errored out
14121           in stop_typefinding(); also, don't just find the best of
14122           all found type entries and then use the last examined
14123           type entry, but actually use the best entry.
14124
14125 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
14126
14127         * tests/examples/typefind/typefind.c: (type_found):
14128         * tests/examples/xml/runxml.c: (xml_loaded):
14129           More gcc4 fixes and a mem leak fix.
14130
14131 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14132
14133         * tests/examples/xml/createxml.c: (object_saved):
14134           gcc 4 fixes
14135
14136 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14137
14138         * tests/Makefile.am:
14139           enable the examples even more
14140
14141 2005-12-12  Andy Wingo  <wingo@pobox.com>
14142
14143         * libs/gst/net/gstnettimeprovider.c
14144         (gst_net_time_provider_class_init, gst_net_time_provider_init)
14145         (gst_net_time_provider_set_property)
14146         (gst_net_time_provider_get_property):
14147         API addition: Export "active" as a GObject property.
14148         (gst_net_time_provider_thread): Only respond to time queries if
14149         the time provider is active.
14150
14151         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
14152         NetTimeProvider, preserving binary compat.
14153
14154 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14155
14156         * tests/examples/controller/audio-example.c: (main):
14157         * tests/examples/launch/Makefile.am:
14158           convert comments again
14159
14160 2005-12-12  Wim Taymans  <wim@fluendo.com>
14161
14162         * libs/gst/base/gstpushsrc.c:
14163         Fix typo.
14164
14165 2005-12-12  Wim Taymans  <wim@fluendo.com>
14166
14167         * docs/libs/gstreamer-libs-sections.txt:
14168         Added new symbol to docs.
14169
14170         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14171         (gst_base_src_init), (gst_base_src_set_format),
14172         (gst_base_src_default_query), (gst_base_src_query),
14173         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
14174         (gst_base_src_perform_seek), (gst_base_src_send_event),
14175         (gst_base_src_default_event), (gst_base_src_event_handler),
14176         (gst_base_src_set_property), (gst_base_src_get_property),
14177         (gst_base_src_wait), (gst_base_src_do_sync),
14178         (gst_base_src_update_length), (gst_base_src_get_range),
14179         (gst_base_src_check_get_range), (gst_base_src_loop),
14180         (gst_base_src_default_negotiate), (gst_base_src_start),
14181         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14182         (gst_base_src_change_state):
14183         * libs/gst/base/gstbasesrc.h:
14184         Implement seeking to other formats than _BYTES.
14185         Implement more seeking methods correctly.
14186         Doc updates.
14187         Added query vmethod.
14188         Added do_seek vmethod to make life easier for subclasses
14189         when seeking.
14190         API addition: gst_base_src_set_format()
14191
14192 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14193
14194         * tests/examples/Makefile.am:
14195           added that too
14196
14197 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
14198
14199         * configure.ac:
14200         * docs/random/ensonic/media-device-daemon.txt:
14201         * tests/examples/controller/.cvsignore:
14202         * tests/examples/controller/Makefile.am:
14203         * tests/examples/controller/audio-example.c: (main):
14204         * tests/examples/helloworld/.cvsignore:
14205         * tests/examples/helloworld/Makefile.am:
14206         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
14207         * tests/examples/launch/.cvsignore:
14208         * tests/examples/launch/Makefile.am:
14209         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
14210         * tests/examples/metadata/.cvsignore:
14211         * tests/examples/metadata/Makefile.am:
14212         * tests/examples/metadata/read-metadata.c: (message_loop),
14213         (make_pipeline), (print_tag), (main):
14214         * tests/examples/queue/.cvsignore:
14215         * tests/examples/queue/Makefile.am:
14216         * tests/examples/queue/queue.c: (event_loop), (main):
14217         * tests/examples/typefind/.cvsignore:
14218         * tests/examples/typefind/Makefile.am:
14219         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
14220         (main):
14221         * tests/examples/xml/.cvsignore:
14222         * tests/examples/xml/Makefile.am:
14223         * tests/examples/xml/createxml.c: (object_saved), (main):
14224         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
14225         * tests/old/examples/Makefile.am:
14226         * tests/old/examples/TODO:
14227         * tests/old/examples/controller/.cvsignore:
14228         * tests/old/examples/controller/Makefile.am:
14229         * tests/old/examples/controller/audio-example.c:
14230         * tests/old/examples/helloworld/.cvsignore:
14231         * tests/old/examples/helloworld/Makefile.am:
14232         * tests/old/examples/helloworld/helloworld.c:
14233         * tests/old/examples/launch/.cvsignore:
14234         * tests/old/examples/launch/Makefile.am:
14235         * tests/old/examples/launch/mp3parselaunch.c:
14236         * tests/old/examples/launch/mp3play:
14237         * tests/old/examples/manual/Makefile.am:
14238         * tests/old/examples/metadata/Makefile.am:
14239         * tests/old/examples/metadata/read-metadata.c:
14240         * tests/old/examples/queue/.cvsignore:
14241         * tests/old/examples/queue/Makefile.am:
14242         * tests/old/examples/queue/queue.c:
14243         * tests/old/examples/typefind/.cvsignore:
14244         * tests/old/examples/typefind/Makefile.am:
14245         * tests/old/examples/typefind/typefind.c:
14246         * tests/old/examples/xml/.cvsignore:
14247         * tests/old/examples/xml/Makefile.am:
14248         * tests/old/examples/xml/createxml.c:
14249         * tests/old/examples/xml/runxml.c:
14250           applied some simple fixing to some examples
14251           re-enabled the working examples
14252
14253 2005-12-12  Wim Taymans  <wim@fluendo.com>
14254
14255         * gst/gstsegment.c: (gst_segment_init),
14256         (gst_segment_set_last_stop), (gst_segment_set_seek),
14257         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
14258         (gst_segment_to_running_time):
14259         Added more documentation.
14260         Make sure the last_pos value is updated properly.
14261         Make sure to_stream_time and to_running_time don't
14262         operate on wrong values.
14263
14264         * tests/check/gst/gstsegment.c: (GST_START_TEST):
14265         Update check.
14266
14267 2005-12-12  Michael Smith  <msmith@fluendo.com>
14268
14269         * plugins/elements/gsttypefindelement.c: (free_entry),
14270         (gst_type_find_element_chain):
14271           Now that we're not leaking factories, make sure we keep references
14272           to them while we need them.
14273
14274 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14275
14276         * tests/check/gst/struct_i386.h:
14277           ifdef out the XML structs
14278
14279 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14280
14281         * gst/gstvalue.c: (gst_value_transform_double_fraction):
14282           floor is not needed, F is always positive; this obviates the
14283           need for adding -lm when building without libxml
14284
14285 2005-12-12  Wim Taymans  <wim@fluendo.com>
14286
14287         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14288         Take current playback rate into account when reporting
14289         the position.
14290
14291 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14292
14293         * docs/manual/mime-world.fig:
14294           Let's try this again, this time with a file that is
14295           actually in XFig format.
14296
14297 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14298
14299         * docs/manual/mime-world.fig:
14300           Add audioconvert element to diagram so that it
14301           matches the text and the code (fixes #319526).
14302
14303 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14304
14305         * docs/pwg/building-chainfn.xml:
14306         * docs/pwg/building-pads.xml:
14307         * docs/pwg/building-state.xml:
14308         * docs/pwg/other-source.xml:
14309           Update state change stuff for 0.10 (fixes #322969).
14310
14311 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14312
14313         * docs/manual/advanced-dataaccess.xml:
14314         * docs/manual/appendix-checklist.xml:
14315         * docs/manual/appendix-programs.xml:
14316         * docs/manual/basics-pads.xml:
14317         * docs/manual/highlevel-components.xml:
14318         * docs/manual/manual.xml:
14319           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
14320           add converters in front of pipelines; remove curly
14321           brackets for threads stuff, they no longer exist; use
14322           GST_TYPE_FRACTION for framerates; update some pieces of
14323           code to 0.10, but there's plenty more to do.
14324
14325         * docs/manual/appendix-porting.xml:
14326           Expand on asynchroneous state changes; s/0.9/0.10/;
14327           mention disappearance of gst_init_get_popt_table()
14328           (fixes #322916).
14329
14330 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
14331
14332         * docs/faq/using.xml:
14333           Spider no longer exists, and neither does gst-launch-ext.
14334           Update examples to use decodebin and playbin and put
14335           converters in front of sinks (fixes #323726).
14336
14337 2005-12-09  Michael Smith  <msmith@fluendo.com>
14338
14339         * plugins/elements/gsttypefindelement.c: (find_peek),
14340         (gst_type_find_element_chain):
14341           Fix leaking element factories in typefinding.
14342           Fix problem where we forgot about a probable type on non-seekable
14343           files, and thus later mis-typefound it.
14344
14345 2005-12-09  Michael Smith  <msmith@fluendo.com>
14346
14347         * common/m4/gst-makecontext.m4:
14348         * common/m4/gst-mcsc.m4:
14349         * configure.ac:
14350         * win32/common/config.h:
14351         * win32/common/config.h.in:
14352           Remove makecontext stuff; not used in 0.10 and causes problems on
14353           HPUX according to bug #322441
14354
14355 2005-12-07  Wim Taymans  <wim@fluendo.com>
14356
14357         * tests/check/Makefile.am:
14358         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
14359         (main):
14360         * tests/check/libs/struct_i386.h:
14361         Added ABI check for libs
14362
14363 2005-12-07  Wim Taymans  <wim@fluendo.com>
14364
14365         * tests/check/Makefile.am:
14366         And add the struct_i386.h to dist.
14367
14368 2005-12-07  Wim Taymans  <wim@fluendo.com>
14369
14370         * tests/check/Makefile.am:
14371         * tests/check/gst/.cvsignore:
14372         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
14373         (main):
14374         * tests/check/gst/struct_i386.h:
14375         Added check for ABI compatibility.
14376
14377 2005-12-07  Wim Taymans  <wim@fluendo.com>
14378
14379         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14380         (gst_fake_src_get_times), (gst_fake_src_create):
14381         Fix broken sync option, fixes #323259
14382
14383 2005-12-07  Wim Taymans  <wim@fluendo.com>
14384
14385         * gst/gstbuffer.c:
14386         Small docs update.
14387
14388         * gst/gstcaps.c: (gst_caps_is_equal):
14389         Don't assert on NULL <--> X. Fixes #323260
14390
14391         * gst/gstminiobject.c: (gst_mini_object_replace):
14392         If we're doing atomic operations, we might just as well use
14393         the proper way to get an atomic pointer.
14394
14395         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14396         Clean up debugging.
14397
14398 2005-12-07  Michael Smith  <msmith@fluendo.com>
14399
14400         * gst/parse/grammar.y:
14401           Remove handling of { } for threads.
14402
14403 2005-12-06  David Schleef  <ds@schleef.org>
14404
14405         * libs/gst/base/gstbasetransform.c: speling fix.
14406
14407 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14408
14409         * docs/libs/tmpl/gstdataprotocol.sgml:
14410         * docs/random/omega/testing/gstobject.c:
14411         * gst/gst.c:
14412         * gst/gstclock.c:
14413         * gst/gstelement.c:
14414         * gst/gstelementfactory.c:
14415         * gst/gsterror.c:
14416         * gst/gstevent.c:
14417         * gst/gstghostpad.c:
14418         * gst/gstinfo.c:
14419         * gst/gstpadtemplate.c:
14420         * gst/gstregistryxml.c:
14421         * gst/gsttaglist.c:
14422         * gst/gsttagsetter.c:
14423         * gst/gsttypefind.c:
14424         * gst/gstvalue.c:
14425         * libs/gst/base/gstbasesrc.c:
14426         * libs/gst/net/gstnetclientclock.c:
14427         * libs/gst/net/gstnettimeprovider.c:
14428         * plugins/elements/gstfakesrc.c:
14429         * plugins/elements/gstfdsrc.c:
14430         * plugins/elements/gstfilesrc.c:
14431         * plugins/elements/gstidentity.c:
14432         * plugins/elements/gstqueue.c:
14433         * plugins/elements/gsttypefindelement.c:
14434         * plugins/indexers/gstfileindex.c:
14435         * plugins/indexers/gstmemindex.c:
14436         * tests/check/gst/gsttag.c:
14437         * tests/old/examples/cutter/cutter.c:
14438         * tests/old/examples/mixer/mixer.c:
14439         * tests/old/examples/xml/runxml.c: (main):
14440         * tests/old/testsuite/caps/normalisation.c:
14441         * tests/old/testsuite/debug/global.c:
14442         * tests/old/testsuite/parse/parse1.c:
14443         * tools/gst-xmlinspect.c:
14444         * win32/common/dirent.c:
14445           expand tabs
14446
14447 === release 0.10.0 ===
14448
14449 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14450
14451         * configure.ac:
14452           releasing 0.10.0, "Maroilles"
14453
14454 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14455
14456         submitted by: Funda Wang <fundawang@linux.net.cn>
14457
14458         * po/LINGUAS:
14459         * po/zh_CN.po:
14460           added Chinese (Traditional) translation
14461
14462 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14463
14464         * docs/gst/gstreamer-sections.txt:
14465         * docs/libs/tmpl/gstdataprotocol.sgml:
14466         * docs/random/thomasvs/TODO:
14467         * gst/gstutils.c:
14468         * gst/gstutils.h:
14469           fix docs
14470
14471 2005-12-05  Andy Wingo  <wingo@pobox.com>
14472
14473         patch by: Wim Taymans <wim@fluendo.com>
14474
14475         * libs/gst/base/gstbasetransform.c
14476         (gst_base_transform_prepare_output_buf)
14477         (gst_base_transform_buffer_alloc):
14478         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
14479         alloc_buffer_and_set_caps.
14480
14481         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
14482         set_caps on the source pad.
14483         (gst_pad_alloc_buffer_and_set_caps): New function, does what
14484         alloc_buffer used to do. Fixes #322874.
14485
14486         * docs/gst/gstreamer-sections.txt: 
14487         * docs/design/part-negotiation.txt: 
14488         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
14489         changes.
14490
14491 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14492
14493         patch by: Sebastien Moutte
14494
14495         * win32/MANIFEST:
14496         * win32/common/config.h.in:
14497         * win32/vs6/libgstcontroller.dsp:
14498           win32 build fixes
14499
14500 2005-12-05  Wim Taymans  <wim@fluendo.com>
14501
14502         * gst/gstcaps.c: (gst_caps_is_equal):
14503         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14504         (gst_fake_src_create):
14505         Back out previous code changes, leave doc updates, file bugs 
14506         instead. 
14507
14508 2005-12-05  Wim Taymans  <wim@fluendo.com>
14509
14510         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14511         (gst_fake_src_get_times), (gst_fake_src_create):
14512         * plugins/elements/gstfakesrc.h:
14513         Fix broken sync code.
14514
14515 2005-12-05  Wim Taymans  <wim@fluendo.com>
14516
14517         * gst/gstcaps.c: (gst_caps_is_equal):
14518         Comparing NULL against !NULL yields different caps, not a
14519         failure.
14520
14521 2005-12-05  Wim Taymans  <wim@fluendo.com>
14522
14523         * gst/gstpipeline.c:
14524         Fix small typo in docs.
14525
14526 2005-12-05  Andy Wingo  <wingo@pobox.com>
14527
14528         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
14529
14530         * gst/gst.c (init_post): remove hard-coded 0.9 location for
14531         registries/plugins with a MAJORMINOR one.
14532         (plugin_desc): Rename library from gstcoreleements to
14533         staticelements. Fixes #323222.
14534
14535 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
14536
14537         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
14538           Change debug category to 'collectpads' from 'collect_pads'
14539           (fixes #323250).
14540
14541 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14542
14543         patch by: Sebastien Moutte
14544
14545         * libs/gst/controller/gstinterpolation.c:
14546           use convert function for uint64/double
14547         * win32/vs6/libgstcontroller.dsp:
14548           link to GLib
14549
14550 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
14551
14552         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
14553         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
14554         * gst/gstutils.h:
14555         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14556           add tests that seem to show that the guint64/gdouble conversions
14557           are correct.
14558
14559 2005-12-02  Wim Taymans  <wim@fluendo.com>
14560
14561         * gst/gstregistry.c: (gst_registry_add_path):
14562         * gst/gstregistry.h:
14563         * gst/gstregistryxml.c:
14564         Fix docs again.
14565
14566 2005-12-02  Wim Taymans  <wim@fluendo.com>
14567
14568         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14569         (gst_util_uint64_scale_int):
14570         Small cleanup.
14571
14572         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14573         Add debug log line.
14574
14575         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
14576         Add FIXME.
14577
14578 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14579
14580         * win32/MANIFEST:
14581         * win32/common/config.h:
14582         * win32/vs6/gstreamer.dsw:
14583         * win32/vs6/libgstcoreelements.dsp:
14584         * win32/vs6/libgstelements.dsp:
14585           renamed core elements plugin
14586
14587 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14588
14589         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
14590         (get_candidates):
14591           do piece-wise major/minor comparison so 0.9 < 0.10
14592           also allow .exe extensions for tools
14593
14594 2005-12-02  Michael Smith  <msmith@fluendo.com>
14595
14596         * gst/gst.c:
14597           Escape a % to make gtkdoc happier; bug 322958.
14598
14599 === release 0.9.7 ===
14600
14601 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14602
14603         * configure.ac:
14604           releasing 0.9.7, "My Dog Has No Nose"
14605
14606 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14607
14608         * common/gst-xmlinspect.py:
14609         * configure.ac:
14610         * docs/libs/tmpl/gstdataprotocol.sgml:
14611         * docs/random/release:
14612         * po/af.po:
14613         * po/az.po:
14614         * po/bg.po:
14615         * po/ca.po:
14616         * po/cs.po:
14617         * po/de.po:
14618         * po/en_GB.po:
14619         * po/fr.po:
14620         * po/it.po:
14621         * po/nb.po:
14622         * po/nl.po:
14623         * po/ru.po:
14624         * po/sq.po:
14625         * po/sr.po:
14626         * po/sv.po:
14627         * po/tr.po:
14628         * po/uk.po:
14629         * po/vi.po:
14630         * win32/common/config.h:
14631         * win32/common/config.h.in:
14632         * win32/vs6/gst_inspect.dsp:
14633         * win32/vs6/gst_launch.dsp:
14634         * win32/vs6/libgstbase.dsp:
14635         * win32/vs6/libgstelements.dsp:
14636         * win32/vs6/libgstreamer.dsp:
14637         * win32/vs7/GStreamer.vcproj:
14638         * win32/vs7/gst-inspect.vcproj:
14639         * win32/vs7/gst-launch.vcproj:
14640         * win32/vs7/libgstbase.vcproj:
14641           bump GST_MAJORMINOR to 0.10
14642           reset libtool version
14643
14644 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14645
14646         * po/LINGUAS:
14647         * po/bg.po:
14648           Added Bulgarian translation by (Alexander Shopov)
14649
14650 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14651
14652         * tests/check/gst/gstplugin.c:
14653           fix test
14654
14655 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14656
14657         * common/gst-xmlinspect.py:
14658         * common/gtk-doc-plugins.mak:
14659         * configure.ac:
14660         * docs/Makefile.am:
14661         * docs/gst/Makefile.am:
14662         * docs/gst/gstreamer-docs.sgml:
14663         * docs/gst/gstreamer-sections.txt:
14664         * docs/gst/gstreamer.types:
14665         * docs/gst/gstreamer.types.in:
14666         * docs/plugins/Makefile.am:
14667         * docs/plugins/gstreamer-plugins-docs.sgml:
14668         * docs/plugins/gstreamer-plugins-sections.txt:
14669         * docs/plugins/gstreamer-plugins.types:
14670         * docs/plugins/inspect.stamp:
14671         * docs/plugins/inspect/plugin-coreelements.xml:
14672         * docs/plugins/inspect/plugin-coreindexers.xml:
14673         * docs/plugins/scanobj-build.stamp:
14674         * gstreamer.spec.in:
14675         * plugins/elements/Makefile.am:
14676         * plugins/elements/gstelements.c:
14677         * plugins/elements/gstfakesink.c:
14678         * plugins/elements/gstfakesrc.c:
14679         * plugins/elements/gstfilesink.c:
14680         * plugins/elements/gstfilesrc.c:
14681         * plugins/elements/gstqueue.c:
14682         * plugins/indexers/Makefile.am:
14683         * plugins/indexers/gstindexers.c:
14684           document core plugins in a separate document just like all the
14685           others
14686           rename these plugins to something starting with core
14687
14688 2005-12-01  Andy Wingo  <wingo@pobox.com>
14689
14690         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
14691         padding here before, but it missed the commit.
14692
14693 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14694
14695         * libs/gst/controller/gstinterpolation.c:
14696           whitespace prices have crashed, we should feel free to use some now
14697           use gst_guint64_to_gdouble
14698
14699 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14700
14701         * libs/gst/controller/gstcontroller.c:
14702         * libs/gst/controller/gsthelper.c:
14703         * libs/gst/controller/gstinterpolation.c:
14704         * libs/gst/controller/lib.c:
14705           wrap config.h include
14706
14707 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14708
14709         * docs/gst/gstreamer-sections.txt:
14710           update docs
14711
14712 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
14713
14714         * plugins/elements/gstelements.c:
14715         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
14716         (gst_fd_sink__class_init), (gst_fd_sink__init),
14717         (gst_fd_sink__chain), (gst_fd_sink__set_property),
14718         (gst_fd_sink__get_property):
14719         * plugins/elements/gstfdsink.h:
14720         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
14721         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
14722         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
14723         (gst_fd_src_unlock), (gst_fd_src_set_property),
14724         (gst_fd_src_get_property), (gst_fd_src_create),
14725         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
14726         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
14727         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
14728         (gst_fd_src_uri_handler_init):
14729         * plugins/elements/gstfdsrc.h:
14730         * plugins/elements/gstqueue.c: (gst_queue_get_type):
14731           more anal cleanup
14732
14733 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14734
14735         * docs/gst/Makefile.am:
14736         * docs/gst/gstreamer.types.in:
14737         * gst/Makefile.am:
14738           fix the docs build
14739
14740 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14741
14742         * configure.ac:
14743         * gst/Makefile.am:
14744         * gst/gst.c:
14745         * gst/gstplugin.h:
14746         * gst/gstregistry.h:
14747         * tests/benchmarks/complexity.c:
14748         * tests/benchmarks/mass-elements.c:
14749         * tests/check/Makefile.am:
14750         * tools/Makefile.am:
14751         * tools/gst-inspect.c:
14752         * tools/gst-xmlinspect.c:
14753           various fixes to make
14754           --disable-nls --disable-registry --disable-loadsave
14755           --disable-parse --disable-gst-debug
14756           work and get the core .so down to 360444 bytes after stripping
14757
14758 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14759
14760         * Makefile.am:
14761         * configure.ac:
14762           descend into tests
14763         * docs/random/thomasvs/TODO:
14764         * tests/Makefile.am:
14765         * tests/README:
14766           add a README
14767
14768 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14769
14770         * win32/GStreamer.vcproj:
14771         * win32/MANIFEST:
14772         * win32/Makefile:
14773         * win32/Makefile.inspect:
14774         * win32/Makefile.launch:
14775         * win32/Makefile.register:
14776         * win32/README.txt:
14777         * win32/gst-inspect.vcproj:
14778         * win32/gst-launch.vcproj:
14779         * win32/gst-register.vcproj:
14780         * win32/gstelements.vcproj:
14781         * win32/gstgetbits.def:
14782         * win32/gstgetbits.vcproj:
14783         * win32/gstreamer-dbg.def:
14784         * win32/gstreamer.def:
14785         * win32/libgstbase.def:
14786         * win32/libgstbase.vcproj:
14787         * win32/link_oldruntime.c:
14788         * win32/mman.c:
14789         * win32/mman.h:
14790         * win32/mman.inl:
14791         * win32/msvc71.sln:
14792           move even more stuff, win32/ is nice and clean now
14793
14794 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14795
14796         * libs/gst/control/.cvsignore:
14797         * win32/MANIFEST:
14798         * win32/config.h:
14799         * win32/dirent.c:
14800         * win32/dirent.h:
14801         * win32/gstbytestream.def:
14802         * win32/gstbytestream.vcproj:
14803         * win32/gstconfig.h:
14804         * win32/gstenumtypes.c:
14805         * win32/gstenumtypes.h:
14806         * win32/gstoptimalscheduler.vcproj:
14807         * win32/gstversion.h:
14808         * win32/gtchar.h:
14809         * win32/testsuite/bins.vcproj:
14810         * win32/testsuite/bytestream.vcproj:
14811         * win32/testsuite/caps.vcproj:
14812         * win32/testsuite/cleanup.vcproj:
14813         * win32/testsuite/clock.vcproj:
14814         * win32/testsuite/debug.vcproj:
14815         * win32/testsuite/dlopen.vcproj:
14816         * win32/testsuite/dynparams.vcproj:
14817         * win32/testsuite/elements.vcproj:
14818         * win32/testsuite/ghostpads.vcproj:
14819         * win32/testsuite/indexers.vcproj:
14820         * win32/testsuite/negotiation.vcproj:
14821         * win32/testsuite/parse.vcproj:
14822         * win32/testsuite/plugin.vcproj:
14823         * win32/testsuite/refcounting.vcproj:
14824         * win32/testsuite/schedulers.vcproj:
14825         * win32/testsuite/states.vcproj:
14826         * win32/testsuite/tags.vcproj:
14827         * win32/testsuite/threads.vcproj:
14828           remove old win32 stuff that isn't maintained and should be
14829           reorganized
14830
14831 2005-11-30  Andy Wingo  <wingo@pobox.com>
14832
14833         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14834         loading the gst.interfaces python module bork.
14835
14836         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14837         available since GLib 2.2. Fixes #318031.
14838
14839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14840
14841         * Makefile.am:
14842         * check/.cvsignore:
14843         * check/Makefile.am:
14844         * check/elements/.cvsignore:
14845         * check/elements/fakesrc.c:
14846         * check/elements/fdsrc.c:
14847         * check/elements/identity.c:
14848         * check/generic/.cvsignore:
14849         * check/generic/states.c:
14850         * check/gst-libs/.cvsignore:
14851         * check/gst-libs/controller.c:
14852         * check/gst-libs/gdp.c:
14853         * check/gst/.cvsignore:
14854         * check/gst/capslist.h:
14855         * check/gst/gst.c:
14856         * check/gst/gstbin.c:
14857         * check/gst/gstbuffer.c:
14858         * check/gst/gstbus.c:
14859         * check/gst/gstcaps.c:
14860         * check/gst/gstelement.c:
14861         * check/gst/gstevent.c:
14862         * check/gst/gstghostpad.c:
14863         * check/gst/gstiterator.c:
14864         * check/gst/gstmessage.c:
14865         * check/gst/gstminiobject.c:
14866         * check/gst/gstobject.c:
14867         * check/gst/gstpad.c:
14868         * check/gst/gstpipeline.c:
14869         * check/gst/gstplugin.c:
14870         * check/gst/gstsegment.c:
14871         * check/gst/gststructure.c:
14872         * check/gst/gstsystemclock.c:
14873         * check/gst/gsttag.c:
14874         * check/gst/gstutils.c:
14875         * check/gst/gstvalue.c:
14876         * check/net/.cvsignore:
14877         * check/net/gstnetclientclock.c:
14878         * check/net/gstnettimeprovider.c:
14879         * check/pipelines/.cvsignore:
14880         * check/pipelines/cleanup.c:
14881         * check/pipelines/simple_launch_lines.c:
14882         * check/pipelines/stress.c:
14883         * check/states/.cvsignore:
14884         * check/states/sinks.c:
14885         * configure.ac:
14886         * examples/Makefile.am:
14887         * examples/appreader/.cvsignore:
14888         * examples/appreader/Makefile.am:
14889         * examples/appreader/appreader.c:
14890         * examples/controller/.cvsignore:
14891         * examples/controller/Makefile.am:
14892         * examples/controller/audio-example.c:
14893         * examples/cutter/.cvsignore:
14894         * examples/cutter/Makefile.am:
14895         * examples/cutter/cutter.c:
14896         * examples/cutter/cutter.h:
14897         * examples/events/Makefile.am:
14898         * examples/events/seek.c:
14899         * examples/helloworld/.cvsignore:
14900         * examples/helloworld/Makefile.am:
14901         * examples/helloworld/helloworld.c:
14902         * examples/helloworld2/.cvsignore:
14903         * examples/helloworld2/Makefile.am:
14904         * examples/helloworld2/helloworld2.c:
14905         * examples/launch/.cvsignore:
14906         * examples/launch/Makefile.am:
14907         * examples/launch/mp3parselaunch.c:
14908         * examples/launch/mp3play:
14909         * examples/manual/.cvsignore:
14910         * examples/manual/Makefile.am:
14911         * examples/manual/extract.pl:
14912         * examples/metadata/Makefile.am:
14913         * examples/metadata/read-metadata.c:
14914         * examples/mixer/.cvsignore:
14915         * examples/mixer/Makefile.am:
14916         * examples/mixer/mixer.c:
14917         * examples/mixer/mixer.h:
14918         * examples/pingpong/.cvsignore:
14919         * examples/pingpong/Makefile.am:
14920         * examples/pingpong/pingpong.c:
14921         * examples/plugins/.cvsignore:
14922         * examples/plugins/Makefile.am:
14923         * examples/plugins/example.c:
14924         * examples/plugins/example.h:
14925         * examples/pwg/.cvsignore:
14926         * examples/pwg/Makefile.am:
14927         * examples/pwg/extract.pl:
14928         * examples/queue/.cvsignore:
14929         * examples/queue/Makefile.am:
14930         * examples/queue/queue.c:
14931         * examples/queue2/.cvsignore:
14932         * examples/queue2/Makefile.am:
14933         * examples/queue2/queue2.c:
14934         * examples/queue3/.cvsignore:
14935         * examples/queue3/Makefile.am:
14936         * examples/queue3/queue3.c:
14937         * examples/queue4/.cvsignore:
14938         * examples/queue4/Makefile.am:
14939         * examples/queue4/queue4.c:
14940         * examples/retag/.cvsignore:
14941         * examples/retag/Makefile.am:
14942         * examples/retag/retag.c:
14943         * examples/retag/transcode.c:
14944         * examples/thread/.cvsignore:
14945         * examples/thread/Makefile.am:
14946         * examples/thread/thread.c:
14947         * examples/typefind/.cvsignore:
14948         * examples/typefind/Makefile.am:
14949         * examples/typefind/typefind.c:
14950         * examples/xml/.cvsignore:
14951         * examples/xml/Makefile.am:
14952         * examples/xml/createxml.c:
14953         * examples/xml/runxml.c:
14954         * tests/Makefile.am:
14955         * tests/check/Makefile.am:
14956         * testsuite/.cvsignore:
14957         * testsuite/Makefile.am:
14958         * testsuite/Rules:
14959         * testsuite/caps/.cvsignore:
14960         * testsuite/caps/Makefile.am:
14961         * testsuite/caps/app_fixate.c:
14962         * testsuite/caps/audioscale.c:
14963         * testsuite/caps/caps.c:
14964         * testsuite/caps/caps.h:
14965         * testsuite/caps/caps_strings:
14966         * testsuite/caps/compatibility.c:
14967         * testsuite/caps/deserialize.c:
14968         * testsuite/caps/enumcaps.c:
14969         * testsuite/caps/eratosthenes.c:
14970         * testsuite/caps/filtercaps.c:
14971         * testsuite/caps/fixed.c:
14972         * testsuite/caps/fraction-convert.c:
14973         * testsuite/caps/fraction-multiply-and-zero.c:
14974         * testsuite/caps/intersect2.c:
14975         * testsuite/caps/intersection.c:
14976         * testsuite/caps/normalisation.c:
14977         * testsuite/caps/random.c:
14978         * testsuite/caps/renegotiate.c:
14979         * testsuite/caps/sets.c:
14980         * testsuite/caps/simplify.c:
14981         * testsuite/caps/string-conversions.c:
14982         * testsuite/caps/structure.c:
14983         * testsuite/caps/subtract.c:
14984         * testsuite/caps/union.c:
14985         * testsuite/debug/.cvsignore:
14986         * testsuite/debug/Makefile.am:
14987         * testsuite/debug/category.c:
14988         * testsuite/debug/commandline.c:
14989         * testsuite/debug/global.c:
14990         * testsuite/debug/output.c:
14991         * testsuite/debug/printf_extension.c:
14992         * testsuite/dlopen/.cvsignore:
14993         * testsuite/dlopen/Makefile.am:
14994         * testsuite/dlopen/dlopen_gst.c:
14995         * testsuite/dlopen/loadgst.c:
14996         * testsuite/elements/.cvsignore:
14997         * testsuite/elements/Makefile.am:
14998         * testsuite/elements/gst-inspect-check.in:
14999         * testsuite/elements/struct_i386.h:
15000         * testsuite/elements/struct_size.c:
15001         * testsuite/indexers/.cvsignore:
15002         * testsuite/indexers/Makefile.am:
15003         * testsuite/indexers/cache1.c:
15004         * testsuite/indexers/indexdump.c:
15005         * testsuite/parse/.cvsignore:
15006         * testsuite/parse/Makefile.am:
15007         * testsuite/parse/parse1.c:
15008         * testsuite/parse/parse2.c:
15009         * testsuite/plugin/.cvsignore:
15010         * testsuite/plugin/Makefile.am:
15011         * testsuite/plugin/README:
15012         * testsuite/plugin/dynamic.c:
15013         * testsuite/plugin/linked.c:
15014         * testsuite/plugin/loading.c:
15015         * testsuite/plugin/registry.c:
15016         * testsuite/plugin/static.c:
15017         * testsuite/plugin/static2.c:
15018         * testsuite/plugin/testplugin.c:
15019         * testsuite/plugin/testplugin2.c:
15020         * testsuite/plugin/testplugin2_s.c:
15021         * testsuite/plugin/testplugin_s.c:
15022         * testsuite/refcounting/.cvsignore:
15023         * testsuite/refcounting/Makefile.am:
15024         * testsuite/refcounting/bin.c:
15025         * testsuite/refcounting/element.c:
15026         * testsuite/refcounting/element_pad.c:
15027         * testsuite/refcounting/mainloop.c:
15028         * testsuite/refcounting/mem.c:
15029         * testsuite/refcounting/mem.h:
15030         * testsuite/refcounting/object.c:
15031         * testsuite/refcounting/pad.c:
15032         * testsuite/refcounting/sched.c:
15033         * testsuite/refcounting/thread.c:
15034         * testsuite/states/.cvsignore:
15035         * testsuite/states/Makefile.am:
15036         * testsuite/states/bin.c:
15037         * testsuite/states/locked.c:
15038         * testsuite/states/parent.c:
15039         * testsuite/threads/.cvsignore:
15040         * testsuite/threads/159566.c:
15041         * testsuite/threads/159852.c:
15042         * testsuite/threads/Makefile.am:
15043         * testsuite/threads/queue.c:
15044         * testsuite/threads/signals.c:
15045         * testsuite/threads/staticrec.c:
15046         * testsuite/threads/thread.c:
15047         * testsuite/threads/threadb.c:
15048         * testsuite/threads/threadc.c:
15049         * testsuite/threads/threadd.c:
15050         * testsuite/threads/threade.c:
15051         * testsuite/threads/threadf.c:
15052         * testsuite/threads/threadg.c:
15053         * testsuite/threads/threadh.c:
15054         * testsuite/threads/threadi.c:
15055           move all of these under tests
15056
15057 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15058
15059         * configure.ac:
15060         * tests/Makefile.am:
15061           fix distcheck
15062
15063 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15064
15065         * docs/gst/gstreamer-sections.txt:
15066         * tests/sched/.cvsignore:
15067         * tests/sched/Makefile.am:
15068         * tests/sched/cases/(fs-fs).xml:
15069         * tests/sched/cases/(fs-i-fs).xml:
15070         * tests/sched/cases/(fs-i-i-fs).xml:
15071         * tests/sched/cases/(fs-i-q[i-fs]).xml:
15072         * tests/sched/dynamic-pipeline.c:
15073         * tests/sched/interrupt1.c:
15074         * tests/sched/interrupt2.c:
15075         * tests/sched/interrupt3.c:
15076         * tests/sched/runtestcases:
15077         * tests/sched/runxml.c:
15078         * tests/sched/sched-stress.c:
15079         * tests/sched/sort.c:
15080         * tests/sched/testcases:
15081         * tests/sched/testcases1.tc:
15082         * tests/seeking/.cvsignore:
15083         * tests/seeking/Makefile.am:
15084         * tests/seeking/seeking1.c:
15085         * tests/threadstate/.cvsignore:
15086         * tests/threadstate/Makefile.am:
15087         * tests/threadstate/test1.c:
15088         * tests/threadstate/test2.c:
15089         * tests/threadstate/threadstate1.c:
15090         * tests/threadstate/threadstate2.c:
15091         * tests/threadstate/threadstate3.c:
15092         * tests/threadstate/threadstate4.c:
15093         * tests/threadstate/threadstate5.c:
15094           remove obsolete tests
15095         * configure.ac:
15096         * tests/bench-complexity.scm:
15097         * tests/bench-mass_elements.scm:
15098         * tests/complexity.c:
15099         * tests/complexity.gnuplot:
15100         * tests/instantiate/.cvsignore:
15101         * tests/instantiate/Makefile.am:
15102         * tests/instantiate/caps.c:
15103         * tests/mass_elements.c:
15104         * tests/network-clock-utils.scm:
15105         * tests/network-clock.scm:
15106         * tests/plot-data:
15107         First pass at cleaning up tests/ dir before moving the rest
15108         Combined with CVS surgery
15109
15110 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15111
15112         * po/POTFILES.in:
15113           queue has moved, update
15114
15115 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15116
15117         * docs/gst/gstreamer-sections.txt:
15118           remove double entries from the docs
15119         * gst/gst_private.h:
15120         * gst/gstinfo.c: (_gst_debug_init):
15121           remove the THREAD debug category
15122         * gst/Makefile.am:
15123         * gst/gstqueue.c:
15124         * gst/gstqueue.h:
15125         * docs/gst/gstreamer.types:
15126         * plugins/elements/gstqueue.c: (gst_queue_get_type),
15127         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
15128           completely move queue and fix up debugging categories
15129
15130 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15131
15132         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15133           make initialization portable, using LL is not
15134
15135 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15136
15137         * win32/common/gstconfig.h:
15138           add large padding
15139
15140 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15141
15142         * win32/common/libgstreamer.def:
15143           rename symbols; sort base section
15144
15145 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15146
15147         * gst/gstclock.c: (do_linear_regression):
15148           remove crack non-portable handrolled DEBUG macro
15149
15150 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15151
15152         * docs/random/release:
15153           update notes
15154         * win32/common/gstenumtypes.c: (register_gst_object_flags),
15155         (gst_object_flags_get_type), (register_gst_bin_flags),
15156         (gst_bin_flags_get_type), (register_gst_buffer_flag),
15157         (gst_buffer_flag_get_type), (register_gst_bus_flags),
15158         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
15159         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
15160         (gst_caps_flags_get_type), (register_gst_clock_return),
15161         (gst_clock_return_get_type), (register_gst_clock_entry_type),
15162         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
15163         (gst_clock_flags_get_type), (register_gst_state),
15164         (gst_state_get_type), (register_gst_state_change_return),
15165         (gst_state_change_return_get_type), (register_gst_state_change),
15166         (gst_state_change_get_type), (register_gst_element_flags),
15167         (gst_element_flags_get_type), (register_gst_core_error),
15168         (gst_core_error_get_type), (register_gst_library_error),
15169         (gst_library_error_get_type), (register_gst_resource_error),
15170         (gst_resource_error_get_type), (register_gst_stream_error),
15171         (gst_stream_error_get_type), (register_gst_event_type_flags),
15172         (gst_event_type_flags_get_type), (register_gst_event_type),
15173         (gst_event_type_get_type), (register_gst_seek_type),
15174         (gst_seek_type_get_type), (register_gst_seek_flags),
15175         (gst_seek_flags_get_type), (register_gst_format),
15176         (gst_format_get_type), (register_gst_index_certainty),
15177         (gst_index_certainty_get_type), (register_gst_index_entry_type),
15178         (gst_index_entry_type_get_type),
15179         (register_gst_index_lookup_method),
15180         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
15181         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
15182         (gst_index_resolver_method_get_type), (register_gst_index_flags),
15183         (gst_index_flags_get_type), (register_gst_debug_level),
15184         (gst_debug_level_get_type), (register_gst_debug_color_flags),
15185         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
15186         (gst_iterator_result_get_type), (register_gst_iterator_item),
15187         (gst_iterator_item_get_type), (register_gst_message_type),
15188         (gst_message_type_get_type), (register_gst_mini_object_flags),
15189         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
15190         (gst_pad_link_return_get_type), (register_gst_flow_return),
15191         (gst_flow_return_get_type), (register_gst_activate_mode),
15192         (gst_activate_mode_get_type), (register_gst_pad_direction),
15193         (gst_pad_direction_get_type), (register_gst_pad_flags),
15194         (gst_pad_flags_get_type), (register_gst_pad_presence),
15195         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
15196         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
15197         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
15198         (gst_plugin_error_get_type), (register_gst_plugin_flags),
15199         (gst_plugin_flags_get_type), (register_gst_rank),
15200         (gst_rank_get_type), (register_gst_query_type),
15201         (gst_query_type_get_type), (register_gst_tag_merge_mode),
15202         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
15203         (gst_tag_flag_get_type), (register_gst_task_state),
15204         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
15205         (gst_alloc_trace_flags_get_type),
15206         (register_gst_type_find_probability),
15207         (gst_type_find_probability_get_type), (register_gst_uri_type),
15208         (gst_uri_type_get_type), (register_gst_parse_error),
15209         (gst_parse_error_get_type):
15210         * win32/common/gstenumtypes.h:
15211         * win32/common/gstversion.h:
15212           update visual studio generated files
15213
15214 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15215
15216         * win32/vs6/libgstbase.dsp:
15217         * win32/vs6/libgstelements.dsp:
15218           update project files for new locations
15219
15220 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15221
15222         * Makefile.am:
15223           remove some files
15224         * README:
15225           reinstate and update
15226         * DEVEL:
15227         * REQUIREMENTS:
15228           removed
15229         * LICENSE:
15230         * docs/random/LICENSE:
15231           moved to random
15232
15233 2005-11-30  Edward Hervey  <edward@fluendo.com>
15234
15235         * gst/gsttypefind.c: (gst_type_find_register):
15236         * gst/gsttypefind.h:
15237         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
15238         (gst_type_find_factory_dispose):
15239         * gst/gsttypefindfactory.h:
15240         Fix memory leak in GstTypeFindFactory.
15241
15242 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15243
15244         * gst/gst.c:
15245         * plugins/elements/Makefile.am:
15246         * plugins/elements/gstelements.c:
15247         * plugins/elements/gstqueue.c:
15248           move queue from core to the elements plugin
15249
15250 2005-11-29  Andy Wingo  <wingo@pobox.com>
15251
15252         * libs/gst/base/gstbasetransform.h: 
15253         * libs/gst/base/gstbasesrc.h: 
15254         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
15255
15256         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
15257         of pointers by which to pad very extensible base classes (like the
15258         ones in libs/gst/base).
15259
15260 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15261
15262         * docs/gst/gstreamer-docs.sgml:
15263         * docs/gst/gstreamer-sections.txt:
15264         * docs/libs/gstreamer-libs-docs.sgml:
15265         * docs/libs/gstreamer-libs-sections.txt:
15266           moving documentation from core to lib
15267
15268 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15269
15270         * check/Makefile.am:
15271         * configure.ac:
15272         * docs/gst/Makefile.am:
15273         * gst/Makefile.am:
15274         * gst/base/.cvsignore:
15275         * gst/base/Makefile.am:
15276         * gst/base/README:
15277         * gst/base/gstadapter.c:
15278         * gst/base/gstadapter.h:
15279         * gst/base/gstbasesink.c:
15280         * gst/base/gstbasesink.h:
15281         * gst/base/gstbasesrc.c:
15282         * gst/base/gstbasesrc.h:
15283         * gst/base/gstbasetransform.c:
15284         * gst/base/gstbasetransform.h:
15285         * gst/base/gstcollectpads.c:
15286         * gst/base/gstcollectpads.h:
15287         * gst/base/gstpushsrc.c:
15288         * gst/base/gstpushsrc.h:
15289         * gst/base/gsttypefindhelper.c:
15290         * gst/base/gsttypefindhelper.h:
15291         * gst/check/Makefile.am:
15292         * gst/check/gstcheck.c:
15293         * gst/check/gstcheck.h:
15294         * gst/net/Makefile.am:
15295         * gst/net/gstnet.h:
15296         * gst/net/gstnetclientclock.c:
15297         * gst/net/gstnetclientclock.h:
15298         * gst/net/gstnettimepacket.c:
15299         * gst/net/gstnettimepacket.h:
15300         * gst/net/gstnettimeprovider.c:
15301         * gst/net/gstnettimeprovider.h:
15302         * libs/gst/Makefile.am:
15303         * libs/gst/base/Makefile.am:
15304         * libs/gst/base/gstbasetransform.c:
15305         * libs/gst/check/Makefile.am:
15306         * plugins/elements/Makefile.am:
15307         * po/POTFILES.in:
15308           CVS surgery + support to move base, check, and net out of gst
15309           and into libs/gst
15310
15311 2005-11-29  Andy Wingo  <wingo@pobox.com>
15312
15313         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
15314
15315         * gst/gststructure.h (struct _GstStructure): Only one pointer of
15316         padding.
15317
15318         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
15319
15320         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
15321
15322         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
15323
15324         * gst/gstobject.h: (struct _GstObject): Only one pointer of
15325         padding; reduces object size by about 30%. We don't expect
15326         anything else to go into gstobject.
15327
15328         * gst/gstminiobject.h (struct _GstMiniObject)
15329         (struct _GstMiniObjectClass): Only one pointer of padding; the
15330         payload is only a pointer and two ints anyway. For the class there
15331         are only two methods as well.
15332         
15333         * gst/gstelement.h (struct _GstElementClass): Removed
15334         the state_changed signal callback, it is not used.
15335
15336 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15337
15338         * docs/gst/gstreamer.types:
15339           fix includes, though they are a little dinky
15340
15341 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15342
15343         * check/Makefile.am:
15344           look in the right place for elements, a lot more chance of
15345           success
15346         * gst/Makefile.am:
15347           remove indexers and elements subdirs
15348         * plugins/Makefile.am:
15349           make indexers conditional
15350
15351 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15352
15353         * Makefile.am:
15354         * configure.ac:
15355         * plugins/elements/Makefile.am:
15356         * plugins/elements/gstcapsfilter.c:
15357         * plugins/elements/gstfilesink.c:
15358         * plugins/elements/gstfilesrc.c:
15359         * plugins/elements/gstidentity.c:
15360         * plugins/indexers/Makefile.am:
15361           do CVS surgery and related build fixery to move elements
15362           and indexers in a new gstreamer/plugins directory, out of the
15363           gst/ directory
15364
15365 2005-11-29  Andy Wingo  <wingo@pobox.com>
15366
15367         * check/Makefile.am:
15368         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15369         * pkgconfig/gstreamer-net.pc.in:
15370         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
15371         #322257.
15372
15373 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15374
15375         * tools/Makefile.am:
15376         * tools/gst-complete.1.in:
15377         * tools/gst-complete.c:
15378         * tools/gst-compprep.1.in:
15379         * tools/gst-compprep.c:
15380           removing -compprep and -complete
15381
15382 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15383
15384         * gst/gstevent.c: (gst_event_new_new_segment),
15385         (gst_event_parse_new_segment):
15386         * gst/gstevent.h:
15387           fix #320529 - clean up new_segment API and structure.
15388           Let's hope everyone was using the methods, and not the structure.
15389
15390 2005-11-29  Edward Hervey  <edward@fluendo.com>
15391
15392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15393         (gst_base_sink_event), (gst_base_sink_do_sync),
15394         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15395         Properly handle non GST_FORMAT_TIME segment
15396         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15397         Properly handle non GST_FORMAT_TIME segment
15398         * gst/gstsegment.c:
15399         This function is valid if the accumulator is 0 and the format
15400         is different from the requested format.
15401         
15402 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15403
15404         * docs/gst/gstreamer-sections.txt:
15405         Add gst_query_new_seeking and gst_query_parse_seeking to the
15406         docs.
15407
15408 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
15409
15410         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15411           Treat a pad alloc with new caps the same as if we were not
15412           negotiated, in order to allow a changing upstream output
15413           to produce a new format of data.
15414
15415 2005-11-29  Edward Hervey  <edward@fluendo.com>
15416
15417         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
15418         (gst_base_transform_event), (gst_base_transform_eventfunc):
15419         The event virtual method is now properly implemented, with a default
15420         handler
15421         Sub classes should call the parent_class event method. They should
15422         return FALSE if they had a problem handling the given event, or don't
15423         want GstBaseTransform to send that even downstream
15424         * gst/elements/gstidentity.c: (gst_identity_class_init),
15425         (gst_identity_init), (gst_identity_event),
15426         (gst_identity_transform_ip), (gst_identity_set_property),
15427         (gst_identity_get_property):
15428         * gst/elements/gstidentity.h:
15429         Added the single-segment boolean property.
15430         If set to TRUE, it will output a single segment of data, starting from
15431         0, will eat up all incoming newsegment, and modify the timestamp of the
15432         buffers accordingly
15433
15434 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
15435
15436         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
15437           Don't ref NULL target pad (#322751). Improve docs.
15438
15439 2005-11-29  Michael Smith  <msmith@fluendo.com>
15440
15441         * gst/gstregistryxml.c: (load_plugin):
15442           Don't crash if we failed to load a feature from a plugin. 
15443
15444 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15445
15446         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
15447         (GST_START_TEST):
15448           use more check API and less GLib API
15449
15450 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15451
15452         * Makefile.am:
15453           don't run checks if we don't have check
15454         * common/check.mak:
15455           remove the registry when running make torture
15456         * docs/gst/gstreamer-sections.txt:
15457           remove second multiply
15458         * gst/gstqueue.c: (gst_queue_loop):
15459           fix a compile warning when disabling debug
15460
15461 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15462
15463         * gst/gstinfo.h:
15464         Hey! Let's print the pad name if the pointer != NULL instead
15465         of when it == NULL :-)
15466
15467 2005-11-28  Wim Taymans  <wim@fluendo.com>
15468
15469         * check/gst/gstutils.c: (GST_START_TEST):
15470         Updated check, add some scaling accuracy checking code.
15471
15472         * gst/gstutils.c: (gst_util_div128_64),
15473         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
15474         (gst_util_uint64_scale_int):
15475         Fix 6 times faster division code. Optimize for common 
15476         1/1 and less common X/1 cases.
15477
15478 2005-11-28  Wim Taymans  <wim@fluendo.com>
15479
15480         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15481         More checks.
15482
15483         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
15484         (do_linear_regression), (gst_clock_add_observation):
15485         Cleanups.
15486         Release lock when the clock cannot be slaved.
15487         Catch the case where the regression returned an invalid denominator.
15488
15489         * gst/gstutils.c: (gst_util_div128_64_iterate),
15490         (gst_util_div128_64), (gst_util_uint64_scale_int64),
15491         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15492         Add protentially more performant non-iterative 128/64 divide function
15493         that unfortunatly does not work yet.
15494         Shortcut the trivial 0/X = 0 case.
15495         Remove the warnings on overflow.
15496
15497 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15498
15499         * gst/gstplugin.c: (gst_plugin_register_func):
15500           everything causing a plugin not to load should be at least a WARNING
15501
15502 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
15503
15504         * docs/random/ensonic/dparams.txt:
15505           some TODOs for the next dev cycle
15506         * libs/gst/controller/gstcontroller.c:
15507         (gst_controlled_property_set_interpolation_mode),
15508         (gst_controlled_property_new):
15509         * libs/gst/controller/gstcontroller.h:
15510           use base type to assign acccessor functions
15511
15512 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15513
15514         * check/Makefile.am:
15515         Oops, that should have been top_srcdir
15516
15517 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
15518
15519         * check/Makefile.am:
15520         * check/elements/fdsrc.c: (GST_START_TEST):
15521         Use a cmdline define to specify the location of a file to use for
15522         testing, to avoid breaking distcheck.
15523
15524 2005-11-28  Andy Wingo  <wingo@pobox.com>
15525
15526         * gst/gstpad.c (fixate_value): Use array functions for arrays.
15527
15528 2005-11-28  Edward Hervey  <edward@fluendo.com>
15529
15530         * tools/gst-launch.c: (main):
15531         Clarify the output strings, makes it easier to translate.
15532         Fixes #322626
15533
15534 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
15535
15536         * gst/Makefile.am:
15537           don't try and build net if we don't even have <sys/socket.h>
15538
15539 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
15540
15541         * check/Makefile.am:
15542         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
15543         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
15544           Add tests for fdsrc seekability
15545
15546         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
15547         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
15548         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
15549         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
15550         * gst/elements/gstfdsrc.h:
15551           fdsrc should not be a 'live' source.
15552           Implement seeking on seekable fd's.
15553
15554         * gst/gstquery.c: (gst_query_new_seeking),
15555         (gst_query_parse_seeking):
15556         * gst/gstquery.h:
15557           Implement SEEKING query functions: 
15558             *_new_seeking and *_parse_seeking
15559
15560 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
15561
15562         * gst/gstelement.c: (gst_element_dispose):
15563           don't loop forever
15564
15565         * gst/gstiterator.c:
15566         * gst/gststructure.c:
15567           doc fixes
15568
15569         * libs/gst/controller/gstcontroller.c:
15570         (gst_controlled_property_set_interpolation_mode):
15571         * libs/gst/controller/gstcontroller.h:
15572         * libs/gst/controller/gstinterpolation.c:
15573         (interpolate_none_get_enum_value_array):
15574           support controlling enums
15575
15576 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15577
15578         * gst/gstvalue.c:
15579           Improve documentation for gst_value_union().
15580
15581         * gst/gstvalue.h:
15582           Change return value for union, intersect and subtract functions
15583           from gint to gboolean.
15584
15585 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
15586
15587         * gst/gstvalue.c: (gst_value_serialize_any_list),
15588         (gst_value_transform_any_list_string),
15589         (gst_value_deserialize_list), (gst_value_deserialize_array),
15590         (gst_value_set_int_range), (gst_value_deserialize_int_range),
15591         (gst_value_set_double_range), (gst_value_deserialize_double_range),
15592         (gst_value_set_fraction_range_full),
15593         (gst_value_deserialize_fraction_range),
15594         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
15595         (gst_value_deserialize_boolean),
15596         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
15597         (gst_value_serialize_float), (gst_value_deserialize_float),
15598         (gst_string_wrap), (gst_value_deserialize_string),
15599         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
15600         (gst_value_union_int_range_int_range),
15601         (gst_value_intersect_int_range_int_range),
15602         (gst_value_intersect_double_range_double_range),
15603         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
15604         (gst_value_subtract_int_range_int_range),
15605         (gst_value_subtract_double_double_range),
15606         (gst_value_subtract_double_range_double_range),
15607         (gst_value_deserialize_fraction):
15608         * gst/gstvalue.h:
15609           Use gint, gdouble and gchar in our API instead of int, double and
15610           char (and make usage in gstvalue.c more consistent).
15611
15612 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15613
15614         * check/Makefile.am:
15615         * libs/gst/controller/Makefile.am:
15616         * libs/gst/dataprotocol/Makefile.am:
15617           fix up Makefile.am and remove GST_ENABLE_NEW
15618
15619 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15620
15621         * configure.ac:
15622         * gst/Makefile.am:
15623         * gst/base/Makefile.am:
15624         * gst/check/Makefile.am:
15625         * gst/elements/Makefile.am:
15626         * gst/net/Makefile.am:
15627           update LDFLAGS use some more
15628
15629 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15630
15631         * common/m4/gst-doc.m4:
15632           Fixes #312589
15633
15634 2005-11-26  Edward Hervey  <edward@fluendo.com>
15635
15636         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
15637         This shouldn't issue a g_warning since it returns NULL if it
15638         couldn't find the plugin, and all functions using this behave
15639         properly on a NULL return. Switching to a GST_WARNING.
15640
15641 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
15642
15643         * gst/gstbin.c: (gst_bin_handle_message_func):
15644         Don't leak clock messages.
15645
15646 2005-11-25  Wim Taymans  <wim@fluendo.com>
15647
15648         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15649         (gst_util_uint64_scale_int):
15650         Optimisations, remove unneeded vars.
15651
15652 2005-11-25  Wim Taymans  <wim@fluendo.com>
15653
15654         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15655         Added more checks for the high precision uint64 cases.
15656
15657         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15658         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
15659         Implement high precision (guint64 * guint64) / guint64.
15660
15661 2005-11-24  Wim Taymans  <wim@fluendo.com>
15662
15663         * gst/base/gstbasesrc.c: (gst_base_src_query):
15664         Fix wrong percentage query.
15665
15666         * gst/gstutils.c: (gst_util_uint64_scale),
15667         (gst_util_uint64_scale_int):
15668         Add some more common cases that can be handled 
15669         efficiently to _scale.
15670
15671 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15672
15673         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
15674         (gst_mini_object_suite):
15675           don't use check calls from threads; check probably isn't
15676           threadsafe and using a lock to make it threadsafe would
15677           defeat the purpose of this check
15678         * gst/check/gstcheck.c:
15679         * gst/check/gstcheck.h:
15680           use GST_DEBUG some more
15681
15682 2005-11-24  Wim Taymans  <wim@fluendo.com>
15683
15684         * gst/gstutils.c: (gst_util_uint64_scale),
15685         (gst_util_uint64_scale_int):
15686         Chain trivial case to _scale_int.
15687
15688 2005-11-24  Wim Taymans  <wim@fluendo.com>
15689
15690         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15691         Added test for scaling.
15692
15693         * gst/gstclock.h:
15694         Small doc fix.
15695
15696         * gst/gstutils.c: (gst_util_uint64_scale_int):
15697         Implemented high precision scaling code.
15698
15699 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
15700
15701         * gst/gstinfo.h:
15702           do not crash on pad==NULL
15703
15704 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15705
15706         Patch by: Stefan Kost
15707
15708         * common/gtk-doc.mak:
15709         * docs/gst/Makefile.am:
15710         * docs/libs/Makefile.am:
15711           Fix distcheck issues for the libraries docs build
15712           Closes #319599.
15713
15714 2005-11-24  Michael Smith <msmith@fluendo.com>
15715
15716         * docs/manual/basics-helloworld.xml:
15717           Fix bug #315027: memory leak in example code in docs.
15718
15719 2005-11-24  Michael Smith <msmith@fluendo.com>
15720
15721         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15722           Unlock the PREROLL_LOCK in a failure case.
15723
15724 2005-11-24  Wim Taymans  <wim@fluendo.com>
15725
15726         * docs/gst/gstreamer-sections.txt:
15727         * gst/base/gstadapter.h:
15728         * gst/base/gstbasesink.h:
15729         * gst/base/gstbasesrc.h:
15730         * gst/base/gstbasetransform.h:
15731         * gst/base/gstpushsrc.h:
15732         * gst/elements/gstfakesink.h:
15733         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
15734         * gst/elements/gstfakesrc.h:
15735         * gst/elements/gstfilesink.h:
15736         * gst/elements/gstfilesrc.h:
15737         * gst/gst.c:
15738         * gst/gstbin.c:
15739         * gst/gstbuffer.c: (_gst_buffer_copy):
15740         * gst/gstbus.h:
15741         * gst/gstcaps.c:
15742         * gst/gstchildproxy.c:
15743         * gst/gstclock.c:
15744         * gst/gstelement.c:
15745         * gst/gstelementfactory.c:
15746         * gst/gstelementfactory.h:
15747         * gst/gstevent.c:
15748         * gst/gstghostpad.h:
15749         * gst/gstindex.h:
15750         * gst/gstinterface.h:
15751         * gst/gstminiobject.c:
15752         * gst/gstminiobject.h:
15753         * gst/gstpad.c:
15754         * gst/gstpad.h:
15755         * gst/gstpadtemplate.h:
15756         * gst/gstpipeline.h:
15757         * gst/gstpluginfeature.h:
15758         * gst/gstquery.h:
15759         * gst/gstqueue.h:
15760         * gst/gsttaglist.c:
15761         * gst/gsttaglist.h:
15762         * gst/gsttagsetter.c:
15763         * gst/gsttagsetter.h:
15764         * gst/gsttrace.c:
15765         * gst/gsttrace.h:
15766         * gst/gsttypefind.h:
15767         * gst/gsturi.h:
15768         * gst/gstvalue.c:
15769         * gst/net/gstnetclientclock.c:
15770         * gst/net/gstnetclientclock.h:
15771         * gst/net/gstnettimepacket.c:
15772         * gst/net/gstnettimeprovider.c:
15773         * gst/net/gstnettimeprovider.h:
15774         Doc fixes.
15775
15776 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15777
15778         * configure.ac: back to HEAD
15779
15780 === release 0.9.6 ===
15781
15782 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
15783
15784         * configure.ac:
15785           releasing 0.9.6, "Always On Time"
15786
15787 2005-11-23  Wim Taymans  <wim@fluendo.com>
15788
15789         * docs/gst/gstreamer-sections.txt:
15790         * gst/glib-compat.c:
15791         * gst/gsttagsetter.c:
15792         * gst/gstvalue.c:
15793         * gst/net/gstnetclientclock.c:
15794         * gst/net/gstnettimepacket.h:
15795         Doc updates.
15796
15797 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * docs/faq/using.xml:
15800         * docs/libs/tmpl/gstcontrol.sgml:
15801         * docs/manual/advanced-dparams.xml:
15802         * docs/manual/appendix-checklist.xml:
15803         * docs/manual/basics-elements.xml:
15804         * docs/pwg/other-source.xml:
15805         * docs/random/moving-plugins:
15806         * gst/gstpad.c:
15807         * tools/gst-launch.1.in:
15808           remove mentions of sinesrc
15809
15810 2005-11-23  Michael Smith <msmith@fluendo.com>
15811
15812         * docs/gst/gstreamer-sections.txt:
15813           Update for new API and API changes.
15814         * gst/gstobject.h:
15815           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15816         * gst/gstvalue.c:
15817           Documentation typo fix.
15818         * gst/net/gstnettimepacket.c:
15819           Documentation fixes for arguments.
15820
15821 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
15822
15823         * gst/gststructure.c: (gst_structure_get_fraction),
15824         (gst_structure_parse_value),
15825         (gst_structure_fixate_field_nearest_fraction):
15826         * gst/gststructure.h:
15827         * gst/gstutils.c: (gst_util_uint64_scale_int):
15828         * gst/gstutils.h:
15829         * scripts/update-funcnames:
15830         API Changes. 
15831         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15832         Make gst_structure_fixate_field_nearest_fraction take a numerator
15833         and denominator argument instead of a GValue
15834         add gst_structure_get_fraction helper function.
15835
15836 2005-11-23  Wim Taymans  <wim@fluendo.com>
15837
15838         * docs/design/part-TODO.txt:
15839         Update TODO.
15840
15841         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15842         * gst/net/gstnetclientclock.h:
15843         Use parent fields for timeout and window_size.
15844
15845 2005-11-23  Andy Wingo  <wingo@pobox.com>
15846
15847         * check/net/gstnetclientclock.c (test_functioning): Adjust to
15848         rate_num/rate_denom change.
15849
15850         * gst/net/gstnetclientclock.c
15851         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15852         OBJECT_LOCK. Don't call add_observation with the lock.
15853
15854         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15855         fraction.
15856         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15857         rate fraction.
15858         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15859         deal with rate as a fraction whose numerator and denominator are
15860         GstClockTime values.
15861         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15862         master; the other fields are protected by the SLAVE_LOCK.
15863         (do_linear_regression): Note that this must be called with the
15864         SLAVE_LOCK.
15865         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15866         OBJECT_LOCK. Call set_calibration instead of touching the
15867         variables directly.
15868         (gst_clock_set_property, gst_clock_get_property): Protect
15869         master/slave parameters with the SLAVE_LOCK.
15870
15871         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15872         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15873         note that all of the instance variables that add_observation and
15874         the set_master functions use are protected by that lock and not
15875         the OBJECT_LOCK.
15876         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15877
15878         * gst/gstclock.c (gst_clock_add_observation): No longer requires
15879         the caller to take the object lock.
15880
15881 2005-11-23  Wim Taymans  <wim@fluendo.com>
15882
15883         * gst/gsterror.c: (_gst_core_errors_init):
15884         * gst/gsterror.h:
15885         Add error for clock stuff.
15886
15887         * gst/gstpipeline.c: (gst_pipeline_change_state),
15888         (gst_pipeline_set_clock):
15889         Post clock error when clock cannot be used in a pipeline.
15890
15891 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
15892
15893         * docs/gst/gstreamer-sections.txt:
15894           make two symbols from gstinfo private for the docs
15895         * gst/base/gstcollectpads.h:
15896         * gst/gstutils.c:
15897           fix doc typos, update docs
15898
15899 2005-11-22  Wim Taymans  <wim@fluendo.com>
15900
15901         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15902         (gst_base_sink_wait), (gst_base_sink_do_sync),
15903         (gst_base_sink_handle_event):
15904         * gst/base/gstbasesink.h:
15905         No need to store the clock, the parent element class already
15906         has it.
15907
15908         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15909         Updates for clock_set returning a gboolean
15910
15911         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15912         (gst_clock_id_wait_async), (gst_clock_class_init),
15913         (gst_clock_init), (gst_clock_finalize),
15914         (gst_clock_get_internal_time), (gst_clock_get_time),
15915         (gst_clock_slave_callback), (gst_clock_set_master),
15916         (gst_clock_get_master), (do_linear_regression),
15917         (gst_clock_add_observation), (gst_clock_set_property),
15918         (gst_clock_get_property):
15919         * gst/gstclock.h:
15920         Implement master/slave. When setting a clock as a slave, a
15921         periodic timeout is scheduled to sample master and slave times.
15922         Then the slave clock is recalibrated to match offset and rate
15923         of the master clock.
15924         Update logging a bit.
15925         Add flag so that a clock can state that is cannot be slaved to
15926         another clock.
15927
15928         * gst/gstelement.c: (gst_element_set_clock):
15929         * gst/gstelement.h:
15930         The set clock returns a gboolean for when an element cannot
15931         deal with the selected clock in the pipeline. 
15932
15933         * gst/gstpipeline.c: (gst_pipeline_change_state),
15934         (gst_pipeline_set_clock):
15935         * gst/gstpipeline.h:
15936         Handle the case where the selected clock cannot be set on
15937         the pipeline.
15938
15939         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15940         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15941         (gst_net_client_clock_set_property),
15942         (gst_net_client_clock_get_property),
15943         (gst_net_client_clock_observe_times):
15944         * gst/net/gstnetclientclock.h:
15945         Use regression code in GstClock parent, remove duplicated
15946         functionality.
15947
15948 2005-11-22  Michael Smith <msmith@fluendo.com>
15949
15950         * gst/gstutils.c: (gst_util_clock_time_scale):
15951         * gst/gstutils.h:
15952         * docs/gst/gstreamer-sections.txt:
15953           Rename method to have extra underscore.
15954
15955 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15956
15957         * gst/elements/Makefile.am:
15958         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15959         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15960         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15961         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15962         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15963         * gst/elements/gstfakesrc.h:
15964         * gst/gstqueue.c: (queue_leaky_get_type):
15965           correctly fix GEnumValues so that nick is the short lowercase
15966           dashed tag
15967         * tools/gst-inspect.c: (print_element_properties_info):
15968           also show the nick, since it's useful to use from parse_launch
15969           syntax
15970           Fixes #322139
15971
15972 2005-11-22  Michael Smith <msmith@fluendo.com>
15973
15974         * gst/gstutils.c: (gst_util_clocktime_scale):
15975         * gst/gstutils.h:
15976         * docs/gst/gstreamer-sections.txt:
15977           Add util method for scaling a clocktime by a fraction. Useful 
15978           implementation is left as an exercise for the reader.
15979
15980 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15981
15982         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15983         If needed, allocate storage in the destination value during
15984         collection.
15985
15986 2005-11-22  Edward Hervey  <edward@fluendo.com>
15987
15988         * docs/gst/gstreamer-sections.txt:
15989         * gst/Makefile.am:
15990         * gst/gst.h:
15991         * gst/gsturitype.c:
15992         * gst/gsturitype.h:
15993         * gst/gstutils.c: (gst_util_set_object_arg):
15994         * tools/gst-compprep.c: (main):
15995         * tools/gst-inspect.c: (print_element_properties_info):
15996         Removed GstURI, closes bug #321061
15997
15998 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15999
16000         * check/gst/gststructure.c: (GST_START_TEST):
16001         * gst/gststructure.c: (gst_structure_parse_value):
16002           Oops, broke automatic string type parsing.
16003           Add a test to catch it in future.
16004
16005 2005-11-22  Andy Wingo  <wingo@pobox.com>
16006
16007         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
16008         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
16009         Actually rename the function implementations. Grr.
16010
16011 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16012
16013         * check/gst/capslist.h:
16014           Comment test cases
16015         * check/gst/gststructure.c: (GST_START_TEST),
16016         (gst_structure_suite):
16017           Test automatic value type detection in gst_structure_from_string.
16018         * gst/gststructure.c: (gst_structure_parse_value):
16019           Add fraction as a type we try and guess automatically in
16020           caps/structure strings.
16021
16022 2005-11-22  Andy Wingo  <wingo@pobox.com>
16023
16024         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
16025
16026         * gst/gsttagsetter.h:
16027         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
16028         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
16029         (gst_tag_setter_add_tag_valist)
16030         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
16031         _add_values, _add_valist, and _add_valist_values. Since this is an
16032         interface the function suffixes should be more explicit so
16033         language binding don't end up with element.add_valist ->
16034         gst_tag_setter_add_valist, for example. Fixes #322069.
16035
16036 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16037
16038         * check/gst/gstcaps.c: (GST_START_TEST):
16039           Extend caps string tests to check that a caps to string
16040           conversion is reversible and produces the same caps.
16041
16042         * gst/gststructure.c: (gst_structure_value_get_generic_type):
16043           Output "fraction" as the generic type fraction range, so caps
16044           serialisation and deserialisation works.
16045         * check/gst/capslist.h:
16046         * gst/gstvalue.c: (gst_value_deserialize_fraction):
16047           Support 'MIN' and 'MAX' for deserialising fractions.
16048
16049 2005-11-22  Andy Wingo  <wingo@pobox.com>
16050
16051         * gst/gstevent.h (gst_event_new_new_segment)
16052         (gst_event_parse_new_segment, gst_event_new_buffer_size)
16053         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
16054         Renamed from *_newsegment, *_buffersize, *_notarget.
16055
16056         * scripts/update-funcnames: New script, performs the changes
16057         listed above.
16058
16059 2005-11-22  Wim Taymans  <wim@fluendo.com>
16060
16061         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16062         Make sure the GstFlowReturn is returned.
16063
16064         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
16065         (gst_bus_add_signal_watch):
16066         * gst/gstbus.h:
16067         add gst_bus_add_signal_watch_full.
16068
16069         * gst/gstplugin.c: (gst_plugin_load_file):
16070         Small style cleanup.
16071
16072 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16073
16074         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
16075           Block the fakesrc srcpad when we send an event, to avoid
16076           contention on the stream_lock causing random test failures.
16077
16078 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16079
16080         * check/gst/gstvalue.c: (GST_START_TEST):
16081         * gst/gstvalue.c: (gst_value_fraction_subtract):
16082           Fix subtraction.
16083
16084 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
16085
16086         * gst/gst.h:
16087           include "gstchildproxy.h"
16088         * gst/gstchildproxy.h:
16089         * libs/gst/controller/gstcontroller.h:
16090           use G_GNUC_NULL_TERMINATED
16091
16092 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
16093
16094         * check/gst/capslist.h:
16095         * check/gst/gstcaps.c: (GST_START_TEST):
16096         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16097         * gst/gststructure.c: (gst_structure_parse_range),
16098         (gst_structure_fixate_field_nearest_fraction):
16099         * gst/gststructure.h:
16100         * gst/gstvalue.c: (gst_value_init_fraction_range),
16101         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
16102         (gst_value_collect_fraction_range),
16103         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
16104         (gst_value_set_fraction_range_full),
16105         (gst_value_get_fraction_range_min),
16106         (gst_value_get_fraction_range_max),
16107         (gst_value_serialize_fraction_range),
16108         (gst_value_transform_fraction_range_string),
16109         (gst_value_compare_fraction_range),
16110         (gst_value_deserialize_fraction_range),
16111         (gst_value_intersect_fraction_fraction_range),
16112         (gst_value_intersect_fraction_range_fraction_range),
16113         (gst_value_subtract_fraction_fraction_range),
16114         (gst_value_subtract_fraction_range_fraction),
16115         (gst_value_subtract_fraction_range_fraction_range),
16116         (gst_value_collect_fraction), (gst_value_fraction_multiply),
16117         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
16118         (gst_value_transform_string_fraction), (_gst_value_initialize):
16119         * gst/gstvalue.h:
16120           Implement fraction ranges and extend GstFraction to support
16121           arithmetic subtraction, as well as deserialization from integer
16122           strings such as "100"
16123           Add a testsuite as for int and double range set operations
16124
16125 2005-11-21  Andy Wingo  <wingo@pobox.com>
16126
16127         * gst/gsttaglist.h: 
16128         * gst/gstcaps.h: 
16129         * gst/gststructure.h: Add glib-compat.h.
16130
16131 2005-11-21  Wim Taymans  <wim@fluendo.com>
16132
16133         * gst/gstbin.c: (gst_bin_change_state_func):
16134         Fix for #321595
16135
16136 2005-11-21  Wim Taymans  <wim@fluendo.com>
16137
16138         * gst/gstsegment.h:
16139         And add a nice define too.
16140
16141 2005-11-21  Wim Taymans  <wim@fluendo.com>
16142
16143         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
16144         (gst_segment_new), (gst_segment_free), (gst_segment_init),
16145         (gst_segment_set_duration), (gst_segment_set_last_stop),
16146         (gst_segment_set_seek), (gst_segment_set_newsegment),
16147         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16148         (gst_segment_clip):
16149         * gst/gstsegment.h:
16150         Make binding friendly.
16151
16152 2005-11-21  Andy Wingo  <wingo@pobox.com>
16153
16154         * gst/gsttagsetter.h: 
16155         * gst/gsttaglist.h: 
16156         * gst/gststructure.h: 
16157         * gst/gstcaps.h: 
16158         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
16159         #319940.
16160
16161         * gst/gsterror.c (_gst_core_errors_init):
16162         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
16163         category.
16164
16165         * gst/Makefile.am (gst_headers): Add glib-compat.h.
16166         (noinst_HEADERS): noinst the -private.
16167
16168 2005-11-21  Michael Smith <msmith@fluendo.com>
16169
16170         * gst/gstplugin.h:
16171         * gst/gstregistry.h:
16172           Remove unimplemented declarations for which we can see no sensible
16173           use.
16174
16175 2005-11-21  Andy Wingo  <wingo@pobox.com>
16176
16177         * gst/gst.h: Include glib-compat.h.
16178
16179         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
16180
16181         * gst/glib-compat.c: Include the public and the private header.
16182
16183         * gst/glib-compat-private.h: Copied here from glib-compat.h.
16184
16185         * gst/gstvalue.c: 
16186         * gst/gstpad.c: 
16187         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
16188
16189         * check/gst/gstevent.c (create_custom_events): Check that
16190         FLUSH_STOP is serialized.
16191
16192         * check/elements/identity.c (event_func): 
16193         * check/elements/fakesrc.c (event_func): No stream lock, the core
16194         takes it.
16195
16196         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
16197         stream lock taking, yay.
16198
16199         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
16200         ensure that core takes the stream lock.
16201
16202         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
16203         lock name change.
16204
16205         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
16206         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
16207         it already. For the flush start we do take it though so we get the
16208         right preroll state change messages.
16209
16210         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
16211         the stream lock here, the core does it for us.
16212
16213         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
16214         GST_STREAM_GET_LOCK.
16215         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
16216         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
16217         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
16218         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
16219         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
16220         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
16221
16222         * gst/gstpad.c: Update for stream lock name change.
16223
16224         * gst/base/gstbasesink.c: Update for preroll lock name change.
16225
16226 2005-11-21  Wim Taymans  <wim@fluendo.com>
16227
16228         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
16229         (gst_clock_get_master):
16230         * gst/gstclock.h:
16231         * gst/gstsystemclock.c: (gst_system_clock_init):
16232         Convert Clock flags to object flags.
16233         Added methods to manage master/slave clocks.
16234
16235 2005-11-21  Wim Taymans  <wim@fluendo.com>
16236
16237         * check/gst/gstsegment.c: (GST_START_TEST):
16238         * docs/design/part-TODO.txt:
16239         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16240         (gst_base_sink_event), (gst_base_sink_do_sync),
16241         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
16242         (gst_base_sink_query), (gst_base_sink_change_state):
16243         * gst/base/gstbasesink.h:
16244         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16245         (gst_base_src_default_newsegment),
16246         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16247         (gst_base_src_get_range), (gst_base_src_loop),
16248         (gst_base_src_change_state):
16249         * gst/base/gstbasesrc.h:
16250         * gst/base/gstbasetransform.c:
16251         (gst_base_transform_prepare_output_buf),
16252         (gst_base_transform_event), (gst_base_transform_change_state):
16253         * gst/base/gstbasetransform.h:
16254         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
16255         (gst_collect_pads_event):
16256         * gst/base/gstcollectpads.h:
16257         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
16258         (gst_fake_src_create):
16259         * gst/elements/gstfakesrc.h:
16260         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16261         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16262         (gst_segment_set_last_stop), (gst_segment_set_seek),
16263         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16264         (gst_segment_to_running_time), (gst_segment_clip):
16265         * gst/gstsegment.h:
16266         More segment updates, replace code in plugins with segment
16267         helper functions.
16268
16269 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16270
16271         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
16272         Don't ignore sscanf results
16273
16274 2005-11-21  Andy Wingo  <wingo@pobox.com>
16275
16276         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
16277
16278         * *.h:
16279         * *.c: Ran scripts/update-macros. Oh yes.
16280
16281         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
16282         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
16283         GST_GET_LOCK, etc.
16284
16285         * scripts/update-macros: New script. Run it on your files to
16286         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
16287         well.
16288
16289 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16290
16291         * docs/gst/Makefile.am:
16292         * docs/gst/gstreamer-docs.sgml:
16293         * docs/gst/gstreamer-sections.txt:
16294         * docs/gst/gstreamer.types:
16295         * gst/gstinfo.h:
16296           more docs fixes, add new api to the docs
16297
16298 2005-11-21  Andy Wingo  <wingo@pobox.com>
16299
16300         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
16301         state_broadcast call.
16302
16303         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
16304
16305 2005-11-21  Julien MOUTTE  <julien@moutte.net>
16306
16307         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
16308         function calls for arrays.
16309
16310 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
16311
16312         * docs/random/ensonic/media-device-daemon.txt:
16313           wild idea, can this be done?
16314         * docs/gst/gstreamer-sections.txt:
16315         * gst/gsterror.h:
16316         * gst/gstfilter.c:
16317         * gst/gstfilter.h:
16318         * gst/gstplugin.h:
16319         * gst/gstpluginfeature.c:
16320         * gst/gsttrace.c:
16321         * gst/gstvalue.c:
16322         * gst/gstvalue.h:
16323           doc fixes and additions
16324
16325 2005-11-21  Andy Wingo  <wingo@pobox.com>
16326
16327         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
16328         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
16329         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
16330         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
16331         private to the basesrc implementation.
16332
16333         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
16334         behalf of event function if necessary. It should no longer be
16335         necessary to take the stream lock in pad's event functions. Fixes
16336         #320299.
16337
16338 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16339         * docs/gst/gstreamer-sections.txt:
16340         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
16341         (gst_structure_fixate_field_nearest_double),
16342         (gst_structure_fixate_field_boolean):
16343         * gst/gststructure.h:
16344         * win32/common/libgstreamer.def:
16345         * win32/gstreamer.def:
16346
16347         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
16348         (#322027)
16349
16350 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
16351
16352         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
16353         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
16354         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
16355         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
16356         (gst_fdsrc_uri_handler_init):
16357         * gst/elements/gstfdsrc.h:
16358           Port fd:// URI handler from 0.8 to fdsrc
16359
16360 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16361
16362         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
16363         (gst_value_serialize_fourcc):
16364         * gst/gstvalue.h:
16365           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
16366           consistent with our other format defines (#320324).
16367
16368 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16369
16370         * gst/gstvalue.c: (gst_value_is_fixed):
16371           Revert previous commit. Value lists are by definition
16372           not fixed, as they are a list of possible values.
16373
16374 2005-11-21  Andy Wingo  <wingo@pobox.com>
16375
16376         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
16377         during the stable series if we need it. Fixes #319178.
16378
16379         * gst/gstevent.c (gst_event_new_filler): Removed.
16380
16381         * check/gst/gstevent.c: Update comment about filler events.
16382
16383 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16384
16385         * gst/gstvalue.c: (gst_value_is_fixed):
16386           Should handle both value arrays and value lists.
16387
16388 2005-11-21  Andy Wingo  <wingo@pobox.com>
16389
16390         patch by: Alessandro Dessina <alessandro nnva org>
16391
16392         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
16393         functions to access arrays. Fixes #321962.
16394
16395 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16396
16397         * docs/gst/gstreamer.types:
16398           gst_collectpads_get_type => gst_collect_pads_get_type.
16399           
16400         * gst/base/gstbasetransform.c:
16401           Remove unused SIGNAL_HANDOFF enum.
16402
16403 2005-11-21  Andy Wingo  <wingo@pobox.com>
16404
16405         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
16406         the event type (upstream, downstream, serialized). Renamed
16407         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
16408         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
16409         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
16410
16411         * gst/gstevent.c: Update for new CUSTOM event names.
16412
16413         * check/gst/gstevent.c: Update check for new CUSTOM event names.
16414
16415         * gst/gstevent.h:
16416         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
16417         bug #319392.
16418
16419 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16420
16421         * docs/gst/gstreamer-sections.txt:
16422         * win32/common/libgstbase.def:
16423         * win32/libgstbase.def:
16424         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16425         (gst_collect_pads_class_init), (gst_collect_pads_init),
16426         (gst_collect_pads_finalize), (gst_collect_pads_new),
16427         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
16428         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
16429         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
16430         (gst_collect_pads_start), (gst_collect_pads_stop),
16431         (gst_collect_pads_peek), (gst_collect_pads_pop),
16432         (gst_collect_pads_available), (gst_collect_pads_read),
16433         (gst_collect_pads_flush), (gst_collect_pads_event),
16434         (gst_collect_pads_chain):
16435         * gst/base/gstcollectpads.h:
16436           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
16437           unimplemented functions as unimplemented. Add padding to
16438           GstCollectData. (#320766, #320423)
16439
16440 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
16441
16442         * gst/gstmessage.c:
16443           Improve docs for DURATION message (usage of duration parameter)
16444           (#320113)
16445
16446 2005-11-20  Wim Taymans  <wim@fluendo.com>
16447
16448         * check/Makefile.am:
16449         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
16450         (main):
16451         * gst/Makefile.am:
16452         * gst/gst.h:
16453         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
16454         (gst_segment_set_seek), (gst_segment_set_newsegment),
16455         (gst_segment_to_stream_time), (gst_segment_to_running_time),
16456         (gst_segment_clip):
16457         * gst/gstsegment.h:
16458         Added segment helper structure and methods. Not fully implemented
16459         yet.
16460         Added segment check.
16461
16462 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
16463
16464         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16465           Add a deserialisation test for fractions
16466         * examples/metadata/read-metadata.c: (message_loop),
16467         (make_pipeline), (main):
16468           Fix up metadata reading sample.
16469         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16470           Debug format fix
16471         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16472           Don't try and fixate empty caps
16473         * gst/gst_private.h:
16474           Wrap in G_BEGIN_DECLS/G_END_DECLS
16475         * gst/gstvalue.c: (gst_value_collect_fraction),
16476         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
16477         (gst_value_transform_string_fraction),
16478         (gst_value_compare_fraction):
16479           Add some extra guards to ensure that we don't end up 
16480           with an invalid denominator of 0 in a gstfraction and
16481           that fractions always get reduced.
16482
16483 2005-11-20  Wim Taymans  <wim@fluendo.com>
16484
16485         * docs/gst/gstreamer-sections.txt:
16486         * gst/gstbuffer.h:
16487         * gst/gstelement.c:
16488         * gst/gstformat.c:
16489         * gst/gstformat.h:
16490         * gst/gstindex.h:
16491         * gst/gstquery.c:
16492         * gst/gstquery.h:
16493         * gst/gstvalue.c:
16494         Doc fixes.
16495
16496 2005-11-20  Wim Taymans  <wim@fluendo.com>
16497
16498         * docs/design/part-TODO.txt:
16499         * gst/gstcaps.h:
16500         Make a proper enum of the flag.
16501
16502 2005-11-19  Wim Taymans  <wim@fluendo.com>
16503
16504         * docs/design/part-TODO.txt:
16505         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
16506         (gst_format_to_quark), (gst_format_register):
16507         * gst/gstformat.h:
16508         * gst/gstquery.c: (_gst_query_initialize),
16509         (gst_query_type_get_name), (gst_query_type_to_quark),
16510         (gst_query_type_register):
16511         * gst/gstquery.h:
16512         Add type to quark and type to string conversions.
16513
16514 2005-11-19  Andy Wingo  <wingo@pobox.com>
16515
16516         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
16517         #320097.
16518
16519 2005-11-19  Wim Taymans  <wim@fluendo.com>
16520
16521         * docs/design/part-TODO.txt:
16522         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
16523         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
16524         (gst_bin_handle_message_func):
16525         * gst/gstbin.h:
16526         Make message handling overridable.
16527
16528 2005-11-19  Andy Wingo  <wingo@pobox.com>
16529
16530         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
16531
16532         * gst/gstclock.h:
16533         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
16534         be a GstClockTime.
16535         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
16536         is a GstClockTime. Fixes #321710.
16537
16538         * gst/gstclock.h (GstClock): Remove offset property. Add
16539         internal_calibration and external_calibration. Fix padding. Pad
16540         also by GstClockTime so we don't run into problems.
16541
16542         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
16543         (gst_clock_get_rate_offset): Remove.
16544         (gst_clock_set_time_adjust): Remove. Fixes #321712.
16545
16546         * gst/gstutils.h:
16547         * gst/gstutils.c (g_static_rec_cond_wait)
16548         (g_static_rec_cond_timed_wait): Removed, no longer needed.
16549
16550         * gst/gstbin.c: Remove terrible continue_state prototype.
16551
16552         * gst/gstelement.h (gst_element_continue_state): Make public.
16553
16554         * gst/gstelement.h:
16555         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
16556         by continue_state. Fixes #319389.
16557
16558         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
16559         Really fixes #168438. However I don't see anywhere where the
16560         filter function is called... stupid GStreamer...
16561         
16562         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
16563         don't have a dispose function, so it won't get called when the
16564         object is unreffed, but oh well!
16565
16566         * gst/gstindex.c (gst_index_set_filter_full): New API function,
16567         allows a destroy function to be set so user_data can be freed.
16568         Fixes #168438.
16569         (gst_index_set_filter): Call gst_index_set_filter_full.
16570
16571         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
16572
16573         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
16574         string should produce an error, given the lack of a way to
16575         represent NULL strings. Fixes #165650.
16576         
16577         * gst/gstvalue.h: 
16578         * gst/gstvalue.c (gst_value_array_append_value) 
16579         (gst_value_array_prepend_value, gst_value_array_get_size) 
16580         (gst_value_array_get_value): New API, copied from
16581         gst_value_list_*, only operates on arrays.
16582         (gst_value_list_append_value, gst_value_list_prepend_value) 
16583         (gst_value_list_concat, gst_value_list_get_size) 
16584         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
16585
16586         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
16587         init_list, because it works on both.
16588         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
16589         (gst_value_copy_list_or_array): Renamed from copy_list.
16590         (gst_value_free_list_or_array): Renamed from free_list.
16591         (gst_value_collect_list_or_array): Renamed from collect_list.
16592         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
16593         (gst_value_list_or_array_peek_pointer): Renamed from
16594         list_peek_pointer.
16595         (_gst_value_array_value_table, _gst_value_list_value_table):
16596         Update value table functions.
16597         (gst_value_compare_list_or_array): Renamed from compare_list.
16598
16599         * gsttaglist.h: Whoops, foreach function returns void. Also fix
16600         some constness.
16601
16602         * gst/gsttaglist.c:
16603         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
16604         GstTagList*. Fixes #143472.
16605
16606         * gst/gststructure.h: Clarify what the foreach/map functions can
16607         or can't do to their arguments.
16608
16609 2005-11-18  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gstclock.c: (gst_clock_set_calibration),
16612         (gst_clock_get_calibration):
16613         Doc and API fixes.
16614         Calibration can be set with internal time equal to current
16615         internal time too.
16616
16617 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
16618
16619         * gst/gsterror.c:
16620         * gst/gsterror.h:
16621           document
16622
16623 2005-11-18  Andy Wingo  <wingo@pobox.com>
16624
16625         * configure.ac: 
16626         * pkgconfig/gstreamer-net.pc.in:
16627         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16628         * pkgconfig/Makefile.am: Add net pkgconfig files.
16629
16630 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
16631
16632         * gst/gstcaps.c:
16633         * gst/gstghostpad.c:
16634         * gst/gsttrace.c:
16635         * gst/gstvalue.c:
16636         * gst/gstvalue.h:
16637           docs fixes
16638
16639 2005-11-18  Andy Wingo  <wingo@pobox.com>
16640
16641         * gst/net/gstnetclientclock.c: Turn off debugging.
16642
16643         * check/net/gstnetclientclock.c (test_functioning): Assert that the
16644         times connverge somewhat. Can't make a real test.
16645
16646         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
16647         integer arithmetic. Return the minimum of the domain, which can be
16648         set as "internal" for gst_clock_set_calibration.
16649         (gst_net_client_clock_observe_times): Call _set_calibration.
16650         (gst_net_client_clock_new): Call _set_calibration instead of
16651         rate_offset.
16652
16653         * check/net/gstnetclientclock.c (test_functioning): Use the right
16654         adjustment api.
16655
16656         * gst/gstclock.h:
16657         * gst/gstclock.c (gst_clock_get_calibration) 
16658         (gst_clock_set_calibration): New functions, obsolete the ones I
16659         added yesterday. Doh. Precision issues mean we have to extrapolate
16660         from a point in the more recent past than 1970.
16661         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
16662         obsolete.
16663         (gst_clock_adjust_unlocked): Use the right calibration data.
16664
16665 2005-11-18  Edward Hervey  <edward@fluendo.com>
16666
16667         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
16668         Also reset the ->current_* values in READY->PAUSED
16669
16670 2005-11-18  Andy Wingo  <wingo@pobox.com>
16671
16672         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
16673         Whoops, check the right fd. Also add some debugging.
16674         (gst_net_client_clock_observe_times): Adjust for int64 offset.
16675         (do_linear_regression): Add a crapload of debugging. Subtract off
16676         the minimum values from the input series to discard unneeded bits.
16677         Use only int arithmetic. There is still double arithmetic when
16678         calculating the intercept that needs fixing. Return boolean to
16679         indicate success; FALSE would mean the domain or range is too
16680         great. Still needs fixes.
16681
16682 2005-11-18  Wim Taymans  <wim@fluendo.com>
16683
16684         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16685         For the current position in stream time, we need to subtract
16686         accumulated time.
16687         
16688         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
16689         Release lock before calling the callback function of async
16690         entries.
16691
16692 2005-11-18  Andy Wingo  <wingo@pobox.com>
16693
16694         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
16695         Port goes all the way to MAXUINT16.
16696
16697         * gst/net/gstnettimeprovider.c: Make the port range the same as
16698         for the kernel: 0 assigns, otherwise ports are less than
16699         MAXUINT16.
16700
16701         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
16702         port change.
16703
16704         * check/net/gstnetclientclock.c (test_functioning): Add the start
16705         of another test. 
16706
16707 2005-11-18  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
16710         (gst_bin_remove_func), (bin_bus_handler):
16711         * gst/gstbin.h:
16712         Removing a clock provider from a bin, triggers a clock lost message
16713         so that a new clock will be selected.
16714         Adding a clock to a bin triggers a clock provider message.
16715         Make sure we reselect a clock when we received a clock lost message.
16716         Keep a reference to the element that provided the clock.
16717
16718 2005-11-18  Andy Wingo  <wingo@pobox.com>
16719
16720         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
16721         the clock initially so it produces values around the base time.
16722         (gst_net_client_clock_class_init): Typo fix.
16723         (gst_net_client_clock_thread): Add note on when the socket gets
16724         closed.
16725
16726 2005-11-17  Wim Taymans  <wim@fluendo.com>
16727
16728         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
16729         Free remote and local time arrays.
16730
16731 2005-11-17  Wim Taymans  <wim@fluendo.com>
16732
16733         * gst/net/gstnetclientclock.c: (do_linear_regression),
16734         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
16735         Fix compilation, uninitialized vars and a forgotten continue.
16736
16737 2005-11-17  Andy Wingo  <wingo@pobox.com>
16738
16739         * check/Makefile.am (check_PROGRAMS): 
16740         * check/net/gstnetclientclock.c: Add a most minimal test for the
16741         net client clock. More to come later.
16742
16743         * gst/net/gstnet.h: 
16744         * gst/net/Makefile.am: Add netclientclock.
16745
16746         * gst/net/gstnetclientclock.h:
16747         * gst/net/gstnetclientclock.c: New files, implement an untested
16748         GstClock that takes its time from a network time provider.
16749         Implements the algorithm in network-clock.scm.
16750
16751         * tests/network-clock.scm (*window-size*): Rename from
16752         *queue-length*.
16753         * tests/network-clock.scm (network-time): 
16754         * tests/network-clock-utils.scm (q-push): Update callers.
16755
16756 2005-11-17  Wim Taymans  <wim@fluendo.com>
16757
16758         * gst/gstbin.c: (gst_bin_provide_clock_func),
16759         (gst_bin_sort_iterator_new):
16760         And unref the child too..
16761
16762 2005-11-17  Wim Taymans  <wim@fluendo.com>
16763
16764         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
16765         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
16766         Refactor the sort iterator so it can be used while holding the
16767         LOCK too.
16768         Make clock selection select a clock closest to the source.
16769
16770 2005-11-17  Michael Smith <msmith@fluendo.com>
16771
16772         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
16773         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
16774         * gst/gstclock.h:
16775           Anonymous structs are a gcc (and some other compilers) extension, so
16776           don't use them. Since this is only for ABI-compatibility, and our
16777           API/ABI freeze is over in a few days, this whole thing will only
16778           last a few days, so don't bother trying to think up a meaningful
16779           name for the struct.
16780
16781 2005-11-17  Andy Wingo  <wingo@pobox.com>
16782
16783         * gst/gstclock.h (GstClock): Add rate and offset properties,
16784         preserving ABI stability. Add rate/offset accessors. Will file bug
16785         for the freeze break.
16786
16787         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
16788         and offset, trying to keep precision and avoiding
16789         underflow/overflow.
16790         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
16791         functions. Make gst_clock_set_time_adjust obsolete.
16792         (gst_clock_set_time_adjust): Note that this function is obsolete.
16793         Will file bug soon.
16794
16795         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16796         greppable by using GST_PADDING-1+1.
16797
16798 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16799
16800         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16801
16802         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16803           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16804
16805         * gst/gstpadtemplate.h:
16806         * gst/gstpluginfeature.h:
16807           Don't use c++ style comments in headers (#321638).
16808
16809 2005-11-16  Andy Wingo  <wingo@pobox.com>
16810
16811         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16812         buffer.
16813
16814         * check/net/gstnettimeprovider.c: Check to see that the time
16815         provider actually provides times. Works, yo!
16816
16817 2005-11-16  Wim Taymans  <wim@fluendo.com>
16818
16819         * check/Makefile.am:
16820         Enable more tests.
16821
16822         * check/elements/fakesrc.c: (GST_START_TEST):
16823         Set element to NULL before disposing it.
16824
16825 2005-11-16  Andy Wingo  <wingo@pobox.com>
16826
16827         * gst/net/Makefile.am:
16828         * gst/net/gstnet.h:
16829         * gst/net/gstnettimeprovider.c: 
16830         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16831         provider, include it from gstnet.h, and add it to the build.
16832
16833         * gst/net/gstnettimepacket.h: 
16834         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16835         sending and receiving.
16836
16837 2005-11-16  Wim Taymans  <wim@fluendo.com>
16838
16839         * check/Makefile.am:
16840         Enable valgrind check.
16841
16842         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16843         (gst_fake_src_alloc_buffer):
16844         Fix memleak.
16845
16846 2005-11-16  Wim Taymans  <wim@fluendo.com>
16847
16848         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16849         Call parent finalize too.
16850
16851 2005-11-16  Wim Taymans  <wim@fluendo.com>
16852
16853         * check/Makefile.am:
16854         Enable valgrind check that should work fine now.
16855
16856         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16857         * gst/gstqueue.c: (gst_queue_init):
16858         Fix memleaks in pad allocation.
16859
16860 2005-11-16  Andy Wingo  <wingo@pobox.com>
16861
16862         * gst/net/Makefile.am:
16863         * gst/net/gstnet.h: New part of core to hold network elements and
16864         objects. Put in core because it exposes API that applications want
16865         to use. The library is named libgstnet-tempname right now because
16866         of the existing libgstnet in gst-plugins-base. Solution is
16867         probably to rename the one in plugins-base; will file a bug for
16868         the freeze break.
16869
16870         * gst/net/gstnettimeprovider.c: 
16871         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16872         get_time call over the network.
16873
16874         * configure.ac: 
16875         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16876
16877         * check/Makefile.am:
16878         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16879         get additions shortly.
16880
16881 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16882
16883         * gst/gstpad.c: (gst_pad_new_from_static_template):
16884         * gst/gstpad.h:
16885           add gst_pad_new_from_static_template functions
16886         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16887         (gst_check_setup_sink_pad):
16888         * gst/elements/gsttee.c: (gst_tee_init):
16889           and use them
16890
16891 2005-11-16  Wim Taymans  <wim@fluendo.com>
16892
16893         * gst/gstpad.c: (gst_pad_pause_task):
16894         Removed warning, it's not really an error either.
16895
16896 2005-11-16  Wim Taymans  <wim@fluendo.com>
16897
16898         * gst/base/gstbasetransform.c:
16899         (gst_base_transform_prepare_output_buf),
16900         (gst_base_transform_event):
16901         Check if the caps are NULL, this can happen if the element
16902         is shutting down and the pad caps are set to NULL.
16903
16904 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16905
16906         * gst/elements/gsttee.c: (gst_tee_init):
16907           fix pad template leak in tee
16908
16909 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * gst/glib-compat.c: (g_value_dup_gst_object):
16912         * gst/glib-compat.h:
16913         * gst/gstpad.c: (gst_pad_set_property):
16914           use gst_object_ref when setting the pad template; this will
16915           trigger the pad template leaks on GLib 2.6 and the slaves
16916
16917 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16918
16919         * gst/glib-compat.c: (gst_flags_get_first_value):
16920         * gst/glib-compat.h:
16921         * gst/gstregistryxml.c:
16922           remove functions copied from GLib 2.6
16923
16924 2005-11-16  Michael Smith <msmith@fluendo.com>
16925
16926         * gst/Makefile.am:
16927           Don't link against VALGRIND_LIBS. That was always the wrong thing to
16928           do, but only breaks with newer valgrind versions. We're not a
16929           valgrind tool, we have no link-time dependencies on libcoregrind.
16930
16931 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16932
16933         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16934           some debug changes
16935         * gst/gstmessage.h:
16936           typo fixes
16937
16938 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16939
16940         * gst/base/gstbasesrc.c: (gst_base_src_init):
16941         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16942         * gst/gstqueue.c: (gst_queue_init):
16943         * gst/gstregistryxml.c: (load_feature):
16944           Revert all these unrefs, they don't even pass make check !
16945
16946 2005-11-15  Johan Dahlin  <johan@gnome.org>
16947
16948         * gst/base/gstbasesrc.c: (gst_base_src_init):
16949         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16950         * gst/gstqueue.c: (gst_queue_init): 
16951         Free pad templates, fixes a couple of leaks.
16952
16953 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16954
16955         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16956
16957         * gst/gstpad.c: (gst_pad_get_property):
16958           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16959           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16960           (#321452)
16961
16962 2005-11-15  Wim Taymans  <wim@fluendo.com>
16963
16964         * gst/gstevent.c:
16965         Small doc update.
16966
16967 2005-11-15  Andy Wingo  <wingo@pobox.com>
16968
16969         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16970
16971         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16972         using GST_CLOCK_TIME_NONE to disable base time management.
16973         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16974         time if it was NONE before.
16975         (gst_pipeline_change_state): Only munge the base time if
16976         stream_time != GST_CLOCK_TIME_NONE.
16977
16978         * check/gst/gstpipeline.c (test_base_time): Punt around the
16979         problem of the probe not being called, because that's not the
16980         issue I'm looking at. Add a check that setting stream_time to NONE
16981         disables base time management.
16982         
16983 2005-11-15  Wim Taymans  <wim@fluendo.com>
16984
16985         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16986         segment_stop == -1 at startup.
16987
16988         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16989         (gst_base_transform_change_state):
16990         Init segment values at start.
16991
16992 2005-11-15  Wim Taymans  <wim@fluendo.com>
16993
16994         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16995         0 segment values are 0 in any format.
16996
16997         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16998         * gst/base/gstbasetransform.h:
16999         Parse newsegment correctly in basetransform
17000
17001         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17002         Sync to clock using updated segment values.
17003
17004 2005-11-15  Andy Wingo  <wingo@pobox.com>
17005
17006         * check/gst/gstpipeline.c (test_base_time): Add check that the
17007         base time and stream time are reset correctly.
17008
17009 2005-11-15  Wim Taymans  <wim@fluendo.com>
17010
17011         * docs/design/part-TODO.txt:
17012         Some more TODO items.
17013
17014 2005-11-15  Andy Wingo  <wingo@pobox.com>
17015
17016         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
17017         error if the user selected "no clock" as the clocking method.
17018
17019         * check/gst/gstpipeline.c (test_base_time): New test for buffer
17020         timestamps with live capture.
17021
17022         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
17023         is 0 but we are a live source, timestamp the buffers using the
17024         element's clock.
17025
17026 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
17027
17028         * docs/gst/gstreamer-sections.txt:
17029         * gst/gsterror.c:
17030         * gst/gstghostpad.c:
17031         * gst/gstobject.h:
17032         * gst/gstxml.c:
17033           more section docs
17034
17035 2005-11-14  Wim Taymans  <wim@fluendo.com>
17036
17037         * common/gst.supp:
17038           add suppressions from Wim's Debian machine
17039
17040 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
17041
17042         * common/gst.supp:
17043           add suppressions from Andy's AMD64 Ubuntu machine
17044
17045 2005-11-14  Andy Wingo  <wingo@pobox.com>
17046
17047         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
17048         STATE_LOCK not necessary. Fixes #311489.
17049
17050         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
17051         #305291.
17052
17053         * gst/gstindex.c (gst_index_add_object): Note in the docs that
17054         this function is not implemented.
17055
17056 2005-11-14  Julien MOUTTE  <julien@moutte.net>
17057
17058         * gst/base/gstbasetransform.c:
17059         (gst_base_transform_prepare_output_buf):
17060         Ref the source pad caps while we need them.
17061         Fixes (#321386)
17062
17063 2005-11-11  Wim Taymans  <wim@fluendo.com>
17064
17065         * docs/gst/gstreamer-sections.txt:
17066         Added some docs for GstCollectData.
17067
17068         * gst/base/gstadapter.c:
17069         Some small code example fix.
17070
17071         * gst/base/gstcollectpads.c:
17072         * gst/base/gstcollectpads.h:
17073         Document some more.
17074
17075 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
17076
17077         * configure.ac: back to HEAD
17078
17079 === release 0.9.5 ===
17080
17081 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
17082
17083         * configure.ac:
17084           releasing 0.9.5, "Bike Lunch Day"
17085
17086 2005-11-11  Wim Taymans  <wim@fluendo.com>
17087
17088         * gst/gstbuffer.c: (_gst_buffer_copy):
17089         Copy more flags.
17090
17091         * gst/gstcaps.c: (gst_caps_is_equal):
17092         Fix some docs.
17093         Make _is_equal fast in the trivial cases.
17094
17095         * gst/gstminiobject.c:
17096         * gst/gstminiobject.h:
17097         More docs. Spifify .h file.
17098
17099         * gst/gstutils.c:
17100         Small doc update.
17101
17102 2005-11-11  Wim Taymans  <wim@fluendo.com>
17103
17104         * gst/base/gstbasetransform.c:
17105         (gst_base_transform_prepare_output_buf),
17106         (gst_base_transform_handle_buffer):
17107         Small cleanups.
17108         If we're processing a buffer and need to allocate an output
17109         buffer, we cannot accept a format change. If we did get a 
17110         format change, we have to alloc a buffer ourselves of the 
17111         right size.
17112
17113 2005-11-11  Wim Taymans  <wim@fluendo.com>
17114
17115         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
17116         While checking the flag for reentrancy in the gstcaps function
17117         is nice to detect recursive invocations, it also makes it 
17118         impossible to call getcaps from multiple threads, which must be
17119         possible. So, checking for recursive calls has to go.
17120
17121 2005-11-11  Michael Smith <msmith@fluendo.com>
17122
17123         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17124           Don't sync on buffers that fall partially outside our current
17125           segment. Prevents an assertion failure/abort playing some files.
17126
17127 2005-11-10  Andy Wingo  <wingo@pobox.com>
17128
17129         * check/gst/gstbin.c (test_message_state_changed_children): Style
17130         fix..
17131
17132         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
17133         gst_bus_poll with the signal watch. Ensures that poll and a signal
17134         watch see the same messages.
17135
17136         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
17137         a poll and a watch at the same time get the same messages.
17138
17139 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17140
17141         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
17142         * gst/gstcaps.c: (gst_caps_intersect):
17143           Don't call gst_caps_do_simplify - it doesn't respect order of caps
17144           and it's not needed.
17145
17146 2005-11-10  Wim Taymans  <wim@fluendo.com>
17147
17148         * docs/design/part-TODO.txt:
17149         Updated todo.
17150
17151 2005-11-10  Wim Taymans  <wim@fluendo.com>
17152
17153         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17154         * gst/base/gstbasesrc.c: (gst_base_src_wait),
17155         (gst_base_src_do_sync), (gst_base_src_get_range):
17156         Implement clock sync in base class.
17157
17158 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
17159
17160         patch by: Tim-Philipp Müller <tim at centricular dot net>
17161
17162         * gst/gststructure.c: (gst_structure_parse_field),
17163         (gst_structure_from_string):
17164           Forward-port a 0.8 patch to handle escaped spaces in structure string,
17165           so that gst_parse_launch() can deal with spaces in filtered link
17166           caps (fixes #164479)
17167         * check/gst/capslist.h:
17168         * check/gst/gststructure.c: (GST_START_TEST):
17169           add unit tests for this change
17170
17171 2005-11-10  Wim Taymans  <wim@fluendo.com>
17172
17173         * docs/gst/gstreamer-sections.txt:
17174         * gst/gstelement.c:
17175         * gst/gstelement.h:
17176         Fix docs, move some STATE macros to private.
17177
17178 2005-11-10  Wim Taymans  <wim@fluendo.com>
17179
17180         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
17181         Added check for bug #317341
17182
17183         * gst/gstbuffer.c:
17184         * gst/gstbuffer.h:
17185         Some more spiffifying.
17186
17187         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
17188         Call peer linkfunction if we are a source pad. Totally fixes
17189         #317341
17190
17191         * gst/gstpad.c:
17192         Update docs, source pads should call the peer linkfunction
17193         so they can atomically perform the pad link.
17194
17195 2005-11-09  Wim Taymans  <wim@fluendo.com>
17196
17197         * gst/gstbuffer.c:
17198         * gst/gstbuffer.h:
17199         Uber-spiffy-spiffify some more.
17200
17201 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
17202
17203         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
17204         * gst/elements/gstfilesink.c: (gst_file_sink_init):
17205         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17206         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
17207         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
17208         * gst/gstpad.c: (gst_pad_init):
17209           Use GST_DEBUG_FUNCPTR() more extensively.
17210
17211 2005-11-09  Wim Taymans  <wim@fluendo.com>
17212
17213         * gst/gstobject.c: (gst_object_class_init):
17214         * gst/gstobject.h:
17215         Documentation fixes.
17216
17217 2005-11-09  Edward Hervey  <edward@fluendo.com>
17218
17219         * gst/gsttypefindfactory.c:
17220         Fix docs.
17221         
17222 2005-11-09  Edward Hervey  <edward@fluendo.com>
17223
17224         * gst/base/gsttypefindhelper.c:
17225         * gst/gsttypefind.c:
17226         * gst/gsttypefind.h:
17227         Fix docs.
17228
17229 2005-11-09  Wim Taymans  <wim@fluendo.com>
17230
17231         * gst/gstiterator.c:
17232         Fix revision data.
17233
17234         * gst/gsttask.c:
17235         * gst/gsttask.h:
17236         Fix docs.
17237
17238 2005-11-09  Wim Taymans  <wim@fluendo.com>
17239
17240         * gst/gstevent.h:
17241         * gst/gsturi.h:
17242         Fix docs.
17243
17244 2005-11-09  Wim Taymans  <wim@fluendo.com>
17245
17246         * docs/gst/gstreamer-sections.txt:
17247         Moved the message async delivery private lock and cond
17248         to the private section.
17249
17250         * gst/gstmessage.c:
17251         * gst/gstmessage.h:
17252         Fixed docs.
17253
17254 2005-11-09  Edward Hervey  <edward@fluendo.com>
17255
17256         * docs/gst/gstreamer-sections.txt:
17257         * gst/gsturi.c:
17258         * gst/gsturi.h:
17259         Document GstURIHandler
17260
17261 2005-11-09  Wim Taymans  <wim@fluendo.com>
17262
17263         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
17264         (gst_iterator_find_custom):
17265         * gst/gstiterator.h:
17266         Fix iterator docs.
17267
17268 2005-11-09  Wim Taymans  <wim@fluendo.com>
17269
17270         * gst/gstbin.h:
17271         Document another field.
17272
17273         * gst/gststructure.c:
17274         * gst/gststructure.h:
17275         Document.
17276
17277 2005-11-09  Wim Taymans  <wim@fluendo.com>
17278
17279         * gst/gstbin.h:
17280         Documented structs.
17281
17282 2005-11-09  Wim Taymans  <wim@fluendo.com>
17283
17284         * docs/gst/gstreamer-sections.txt:
17285         Added some new macros.
17286
17287         * gst/gstclock.c:
17288         * gst/gstclock.h:
17289         * gst/gstobject.h:
17290         Docs updates.
17291
17292 2005-11-09  Wim Taymans  <wim@fluendo.com>
17293
17294         * docs/design/part-TODO.txt:
17295         Some more items for the TODO
17296
17297         * gst/gstcaps.c:
17298         * gst/gstcaps.h:
17299         Document GstCaps.
17300
17301 2005-11-09  Andy Wingo  <wingo@pobox.com>
17302
17303         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
17304         to work on something else now tho...
17305
17306         * gst/base/gstadapter.c: More adapter docs.
17307
17308         * gst/elements/gstfilesink.c (gst_file_sink_start) 
17309         (gst_file_sink_stop): New functions, replace the state change
17310         handler.
17311         (gst_file_sink_class_init): Hook up the start and stop functions.
17312         (gst_file_sink_base_init): Don't set the state change handler any
17313         more. It was a bit ugly too, being set from here...
17314         (gst_file_sink_get_property, gst_file_sink_set_property):
17315         Cleanups...
17316         (gst_file_sink_set_location): More robust check that doesn't call
17317         GST_STATE. Ugggggg.
17318
17319 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
17320
17321         * gst/base/gstbasetransform.c: (gst_base_transform_event):
17322           Hold STREAM_LOCK while pushing newsegment or tag events as well.
17323
17324 2005-11-08  Wim Taymans  <wim@fluendo.com>
17325
17326         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17327         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
17328         (gst_base_sink_chain), (gst_base_sink_change_state):
17329         * gst/base/gstbasesink.h:
17330         * gst/base/gstbasesrc.h:
17331         * gst/gstelement.h:
17332         * gst/gstevent.h:
17333         Avoid excessive typechecking in macros.
17334
17335         * gst/gstminiobject.c: (gst_mini_object_get_type),
17336         (gst_mini_object_init), (gst_mini_object_new),
17337         (gst_mini_object_free):
17338         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17339         (gst_object_finalize):
17340         Remove cruft code, optimize alloc_trace.
17341
17342 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
17343
17344         * docs/faq/gst-uninstalled:
17345           fix up PS1 for systems that try to reset it
17346
17347 2005-11-07  Wim Taymans  <wim@fluendo.com>
17348
17349         * gst/base/gstbasesrc.c: (gst_base_src_init),
17350         (gst_base_src_get_range):
17351         Set the segment_end to -1 initially. Fixed typefind.
17352
17353 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
17354
17355         * gst/base/gstadapter.c:
17356           Debug category should be 'adapter', not 'GstAdapter'.
17357           
17358         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
17359         (gst_collectpads_class_init), (gst_collectpads_init),
17360         (gst_collectpads_peek), (gst_collectpads_pop),
17361         (gst_collectpads_event), (gst_collectpads_chain):
17362           Add debug category and some debugging output. Use boilerplate
17363           macros. Remove some extraneous words from docs.
17364
17365 2005-11-05  Andy Wingo  <wingo@pobox.com>
17366
17367         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
17368         macro.
17369
17370 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17371
17372         * docs/gst/gstreamer-sections.txt:
17373         * gst/gstcaps.h:
17374         * gst/gstinfo.c:
17375         * gst/gstminiobject.h:
17376         * gst/gstobject.h:
17377         * gst/gstutils.h:
17378           more docs added
17379
17380 2005-11-04  Wim Taymans  <wim@fluendo.com>
17381
17382         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17383         Small update to stop at the configured segment_end
17384         position.
17385
17386 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
17387
17388         * gst/gstregistry.c:
17389         * gst/gstregistry.h:
17390           added missing docs
17391
17392 2005-11-04  Edward Hervey  <edward@fluendo.com>
17393
17394         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17395         Check if we are doing a segment seek and have arrived at the
17396         end of that segment.
17397
17398 2005-11-04  Wim Taymans  <wim@fluendo.com>
17399
17400         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
17401         Don't leak a mutex unlock in case of an error.
17402
17403         * gst/gstbus.h:
17404         Doc fixes.
17405
17406 2005-11-04  Wim Taymans  <wim@fluendo.com>
17407
17408         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
17409         (gst_bus_post):
17410         Get the context to wake up only once.
17411
17412 2005-11-03  Wim Taymans  <wim@fluendo.com>
17413
17414         * check/states/sinks.c: (GST_START_TEST):
17415         Uncomment fixed check.
17416
17417         * docs/design/part-TODO.txt:
17418         Updated TODO.
17419
17420         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17421         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17422         (gst_base_sink_get_position):
17423         If we are going to PLAYING, post the right pending state
17424         when we post the intermediate paused message.
17425
17426         * gst/gstelement.c: (gst_element_continue_state),
17427         (gst_element_set_state_func), (gst_element_change_state):
17428         Don't post state changes that were between the same state
17429         and were not ASYNC.
17430
17431 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17432
17433         * docs/gst/gstreamer-sections.txt:
17434         * gst/gstcaps.h:
17435         * gst/gstinfo.c:
17436         * gst/gstminiobject.h:
17437         * gst/gstobject.h:
17438         * gst/gstutils.h:
17439           more docs and doc style fixes
17440
17441 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
17442
17443         * docs/gst/gstreamer-sections.txt:
17444         * gst/gstelement.c:
17445         * gst/gstminiobject.c:
17446         doc fixes
17447
17448 2005-11-03  Andy Wingo  <wingo@pobox.com>
17449
17450         * check/states/sinks.c (test_livesrc_sink): Add checks that the
17451         state-changed messages actually have the right order and the right
17452         values.
17453
17454 2005-11-03  Wim Taymans  <wim@fluendo.com>
17455
17456         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17457         Added some more checks. Specifically the case where NO_PREROLL
17458         elements are in the pipeline.
17459
17460         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17461         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
17462         (gst_base_sink_get_position):
17463         Post READY->PAUSED state change messages too.
17464         Fix bug where VOID was posted as pending state...
17465
17466         * gst/gstbin.c: (gst_bin_recalc_state):
17467         use _element_continue_state() to continue the state change.
17468
17469         * gst/gstelement.c: (gst_element_continue_state),
17470         (gst_element_commit_state), (gst_element_set_state_func),
17471         (gst_element_change_state), (gst_element_change_state_func):
17472         Lots of state change cleanups, assign the STATE_RETURN in
17473         a new continue_state() function that also propagates the
17474         last return value from a state change to the app.
17475         Update some debug statements with proper category.
17476
17477 2005-11-03  Wim Taymans  <wim@fluendo.com>
17478
17479         * docs/design/part-events.txt:
17480         * docs/design/part-gstpipeline.txt:
17481         * docs/design/part-messages.txt:
17482         * docs/design/part-overview.txt:
17483         * docs/design/part-seeking.txt:
17484         * docs/design/part-states.txt:
17485         * docs/design/part-trickmodes.txt:
17486         * docs/manual/advanced-position.xml:
17487         Small docs updates.
17488
17489         * gst/gstobject.h:
17490         People think !! is ugly, this looks better.
17491
17492         * gst/gstpad.c: (gst_pad_set_blocked_async):
17493         Remove !! since it's fixed elsewhere now.
17494
17495 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17496
17497         * gst/gstminiobject.h:
17498         * gst/gstobject.h:
17499           Add !! to _FLAG_IS_SET macros to make the result boolean.
17500
17501 2005-11-03  Edward Hervey  <edward@fluendo.com>
17502
17503         * gst/gstpad.c: (gst_pad_set_blocked_async):
17504         comparing a flag and a gboolean rarely returns coherent results...
17505         Added two characters (!!) to make that work correctly.
17506         
17507 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17508
17509         * gst/gstbus.c: (gst_bus_class_init):
17510           Fix some typos.
17511           
17512         * gst/gstqueue.c: (gst_queue_loop):
17513           Don't assume a miniobject that isn't a buffer is an
17514           event (it could be that there is a refcounting
17515           problem somewhere and the pointer is stale and
17516           refers to an already destroyed miniobject).
17517
17518 2005-11-03  Julien MOUTTE  <julien@moutte.net>
17519
17520         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
17521
17522 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
17523
17524         * docs/manual/advanced-position.xml:
17525           Update seek example and explanations to current 0.9 API.
17526
17527         * gst/elements/gsttypefindelement.c:
17528         (gst_type_find_element_activate):
17529           Remove FIXME comment now that the found caps
17530           are unreffed.
17531
17532 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17533
17534         * gst/gstregistryxml.c: (load_feature):
17535           Add another GST_STR_NULL instance
17536
17537 2005-11-02  Edward Hervey  <edward@fluendo.com>
17538
17539         * gst/gstpad.c: (handle_pad_block):
17540         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
17541         
17542 2005-11-02  Wim Taymans  <wim@fluendo.com>
17543
17544         * gst/gstbin.c:
17545         Fix typo in docs.
17546
17547         * gst/gstelement.c: (gst_element_commit_state):
17548         Remove unused value.
17549
17550         * gst/gstiterator.c:
17551         Mention that the returned element is reffed in the docs.
17552
17553 2005-11-02  Wim Taymans  <wim@fluendo.com>
17554
17555         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
17556         (gst_pad_push), (gst_pad_push_event):
17557         Unlock blocked pads when they are flushed.
17558
17559 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17560
17561         * docs/README:
17562         * docs/gst/gstreamer-sections.txt:
17563         * gst/gstbin.c:
17564           doc updates
17565         * gst/gstregistry.c: (gst_registry_scan_path_level):
17566           fix for a nasty little missed situation where an installed plug-in
17567           which was in the cache did not get overridden by an uninstalled one
17568           which was earlier in the plugin path because the newly created plugin
17569           for the uninstalled one (not in the registry) didn't get its
17570           ->registered set to TRUE
17571
17572 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17573
17574         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
17575         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
17576         (gst_collectpads_is_active), (gst_collectpads_collect),
17577         (gst_collectpads_collect_range), (gst_collectpads_start),
17578         (gst_collectpads_stop), (gst_collectpads_peek),
17579         (gst_collectpads_pop), (gst_collectpads_available),
17580         (gst_collectpads_read), (gst_collectpads_flush):
17581           Guard public API with assertions.
17582         
17583         * gst/gstpad.c:
17584           Fix docs for gst_pad_set_link_function().
17585
17586 2005-11-02  Johan Dahlin  <johan@gnome.org>
17587
17588         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
17589         Unref found_caps after we used it.
17590
17591 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
17592
17593         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
17594           Don't try to ref NULL.
17595
17596 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17597
17598         * win32/common/config.h.in:
17599           provide a GST_FUNCTION that just gives a string for now
17600
17601 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17602
17603         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17604         (gst_object_flags_get_type), (register_gst_bin_flags),
17605         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17606         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17607         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17608         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
17609         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17610         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17611         (gst_clock_flags_get_type), (register_gst_state),
17612         (gst_state_get_type), (register_gst_state_change_return),
17613         (gst_state_change_return_get_type), (register_gst_state_change),
17614         (gst_state_change_get_type), (register_gst_element_flags),
17615         (gst_element_flags_get_type), (register_gst_core_error),
17616         (gst_core_error_get_type), (register_gst_library_error),
17617         (gst_library_error_get_type), (register_gst_resource_error),
17618         (gst_resource_error_get_type), (register_gst_stream_error),
17619         (gst_stream_error_get_type), (register_gst_event_type),
17620         (gst_event_type_get_type), (register_gst_seek_type),
17621         (gst_seek_type_get_type), (register_gst_seek_flags),
17622         (gst_seek_flags_get_type), (register_gst_format),
17623         (gst_format_get_type), (register_gst_index_certainty),
17624         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17625         (gst_index_entry_type_get_type),
17626         (register_gst_index_lookup_method),
17627         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17628         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17629         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17630         (gst_index_flags_get_type), (register_gst_debug_level),
17631         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17632         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17633         (gst_iterator_result_get_type), (register_gst_iterator_item),
17634         (gst_iterator_item_get_type), (register_gst_message_type),
17635         (gst_message_type_get_type), (register_gst_mini_object_flags),
17636         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17637         (gst_pad_link_return_get_type), (register_gst_flow_return),
17638         (gst_flow_return_get_type), (register_gst_activate_mode),
17639         (gst_activate_mode_get_type), (register_gst_pad_direction),
17640         (gst_pad_direction_get_type), (register_gst_pad_flags),
17641         (gst_pad_flags_get_type), (register_gst_pad_presence),
17642         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17643         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17644         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17645         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17646         (gst_plugin_flags_get_type), (register_gst_rank),
17647         (gst_rank_get_type), (register_gst_query_type),
17648         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17649         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17650         (gst_tag_flag_get_type), (register_gst_task_state),
17651         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17652         (gst_alloc_trace_flags_get_type),
17653         (register_gst_type_find_probability),
17654         (gst_type_find_probability_get_type), (register_gst_uri_type),
17655         (gst_uri_type_get_type), (register_gst_parse_error),
17656         (gst_parse_error_get_type):
17657         * win32/common/gstversion.h:
17658           update win32 copies
17659
17660 2005-11-01  Luca Ognibene  <luogni@tin.it>
17661
17662         * gst/gst.c:
17663           fix docs. popt is dead, long live GOption.
17664
17665 2005-10-31  Wim Taymans  <wim@fluendo.com>
17666
17667         * gst/gstbuffer.h:
17668         Small doc fix.
17669
17670 2005-10-31  Andy Wingo  <wingo@pobox.com>
17671
17672         * Boo!
17673
17674         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
17675
17676         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
17677         need to serialize property notifications on GLib 2.8. GLib 2.6 has
17678         the possibility of deadlocks here if code calling notify() or
17679         set() has a lock that can be taken in another notify handler (ABBA
17680         with class lock and e.g. python GIL state lock).
17681
17682 2005-10-28  Julien MOUTTE  <julien@moutte.net>
17683
17684         * gst/gstbus.c: Doc updates.
17685
17686 2005-10-28  Wim Taymans  <wim@fluendo.com>
17687
17688         * docs/design/part-TODO.txt:
17689         * gst/gstiterator.c:
17690         * gst/gstsystemclock.c:
17691         * gst/gstsystemclock.h:
17692         Doc updates.
17693
17694 2005-10-28  Edward Hervey  <edward@fluendo.com>
17695
17696         * docs/gst/gstreamer-docs.sgml:
17697         * docs/gst/gstreamer-sections.txt:
17698         the GstURIType documentation page is private, it only defines GstURIType
17699         which should be defined in the GstURIHandler page
17700         
17701 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17702
17703         * gst/gstbin.c: (gst_bin_class_init):
17704         * gst/gstbin.h:
17705         * gst/gstutils.c:
17706         Documentation updates.
17707
17708 2005-10-28  Wim Taymans  <wim@fluendo.com>
17709
17710         * docs/gst/gstreamer-sections.txt:
17711         * gst/gstclock.c:
17712         * gst/gstclock.h:
17713         Documented the clocks.
17714
17715 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
17716
17717         * docs/gst/gstreamer-sections.txt:
17718           move some macros to private sections
17719         * gst/gstminiobject.c:
17720         * gst/gstminiobject.h:
17721           add descriptions provided by ds and some more
17722         * gst/gstpad.h:
17723           mark macro as to be removed
17724
17725 2005-10-28  Wim Taymans  <wim@fluendo.com>
17726
17727         * docs/design/part-TODO.txt:
17728         Add an item to TODO.
17729
17730         * gst/gstiterator.c: (gst_iterator_fold),
17731         (gst_iterator_find_custom):
17732         * gst/gstiterator.h:
17733         Add iterator docs.
17734
17735 2005-10-28  Wim Taymans  <wim@fluendo.com>
17736
17737         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17738         (gst_base_transform_init):
17739         Don't leak class.
17740
17741         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
17742         An EOS event marks the queue as completely filled.
17743
17744 2005-10-27  Wim Taymans  <wim@fluendo.com>
17745
17746         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17747         (gst_base_sink_do_sync), (gst_base_sink_get_position):
17748         Some more debugging.
17749
17750         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
17751         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
17752         (gst_base_transform_event), (gst_base_transform_getrange),
17753         (gst_base_transform_chain):
17754         * gst/base/gstbasetransform.h:
17755         Fix debugging,
17756         Protect transform and concurrent buffer alloc with a new lock.
17757         Try not to break ABI/API.
17758
17759 2005-10-27  Wim Taymans  <wim@fluendo.com>
17760
17761         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
17762         (gst_base_src_init), (gst_base_src_query),
17763         (gst_base_src_default_newsegment),
17764         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17765         (gst_base_src_send_event), (gst_base_src_event_handler),
17766         (gst_base_src_pad_get_range), (gst_base_src_loop),
17767         (gst_base_src_unlock), (gst_base_src_default_negotiate),
17768         (gst_base_src_start), (gst_base_src_deactivate),
17769         (gst_base_src_activate_push), (gst_base_src_change_state):
17770         Move some stuff around and cleanup things.
17771
17772 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
17773
17774         * gst/base/gstbasesrc.c: (gst_base_src_query):
17775           Add missing break statements.
17776
17777 2005-10-27  Wim Taymans  <wim@fluendo.com>
17778
17779         * check/gst/gstbin.c: (GST_START_TEST):
17780         An extra refcount is taken in basesrc.
17781
17782         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17783         (gst_base_src_get_range), (gst_base_src_pad_get_range),
17784         (gst_base_src_loop):
17785         Small cleanups, check for flushing after being unlocked from the 
17786         LIVE_LOCK. take refcounts correctly (not yet everywhere).
17787         Don't send out EOS when going to READY.
17788
17789 2005-10-27  Wim Taymans  <wim@fluendo.com>
17790
17791         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17792         (gst_base_sink_get_position):
17793         Some more debug.
17794
17795         * gst/gstbin.c: (message_check), (bin_replace_message),
17796         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17797         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17798         (bin_query_duration_init), (bin_query_duration_fold),
17799         (bin_query_duration_done), (bin_query_generic_fold),
17800         (gst_bin_query):
17801         * tools/gst-launch.c: (main):
17802         Remove old option.
17803
17804 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17805
17806         * examples/controller/audio-example.c: (main):
17807         * examples/queue/queue.c: (event_loop):
17808         * gst/base/gstbasetransform.h:
17809         * gst/gstelement.c: (gst_element_send_event):
17810         * gst/gstevent.h:
17811         * gst/gstpad.c: (gst_pad_send_event):
17812           fixing examples
17813           fixing docs typos
17814           changing log priority in error situations
17815
17816 2005-10-25  Wim Taymans  <wim@fluendo.com>
17817
17818         * gst/gstbin.c: (message_check), (bin_replace_message),
17819         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17820         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17821         (bin_query_duration_init), (bin_query_duration_fold),
17822         (bin_query_duration_done), (bin_query_generic_fold),
17823         (gst_bin_query):
17824         Some doc and debug updates.
17825         Cache previously requested query DURATION for speed. invalidate
17826         cached duration if element posts a DURATION message.
17827
17828 2005-10-25  Wim Taymans  <wim@fluendo.com>
17829
17830         * docs/design/part-TODO.txt:
17831         Update TODO.
17832
17833         * gst/gstbin.c: (message_check), (bin_replace_message),
17834         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17835         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17836         (bin_query_duration_init), (bin_query_duration_fold),
17837         (bin_query_duration_done), (bin_query_generic_fold),
17838         (gst_bin_query):
17839         Handle SEGMENT_START/DONE messages correctly.
17840         More evolved query algorithm that handles duration queries
17841         correctly.
17842
17843         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17844         (gst_element_get_state_func), (gst_element_abort_state),
17845         (gst_element_commit_state), (gst_element_lost_state):
17846         Some more debugging.
17847
17848         * gst/gstmessage.h:
17849         Added doc.
17850
17851 2005-10-25  Wim Taymans  <wim@fluendo.com>
17852
17853         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17854         Don't use invalid stream_time.
17855
17856         * gst/gstevent.c: (gst_event_new_newsegment):
17857         stream_time in newsegment cannot be undefined.
17858
17859 2005-10-24  Wim Taymans  <wim@fluendo.com>
17860
17861         * gst/gstbus.c:
17862         Doc fix.
17863
17864         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17865         (gst_queue_loop):
17866         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17867
17868 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17869
17870         * docs/libs/tmpl/gstdparam.sgml:
17871         * docs/libs/tmpl/gstdplinint.sgml:
17872         * docs/libs/tmpl/gstdpman.sgml:
17873         * docs/libs/tmpl/gstdpsmooth.sgml:
17874         * docs/libs/tmpl/gstunitconvert.sgml:
17875           these are obsolete
17876
17877 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17878
17879         * configure.ac:
17880           back to HEAD
17881
17882 === release 0.9.4 ===
17883
17884 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17885
17886         * configure.ac:
17887           releasing 0.9.4, "Tyrannosaurus Rex"
17888
17889 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
17890
17891         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17892         (gst_file_sink_get_current_offset):
17893           Use fseeko() and ftello() if available. When falling back on
17894           lseek() to get the current offset, fflush() first to make sure
17895           everything is up-to-date and we get the right offset.
17896
17897 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17898
17899         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17900         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17901         * gst/gsterror.c: (_gst_stream_errors_init):
17902         * gst/gsterror.h:
17903         * gst/gstqueue.c: (gst_queue_loop):
17904         * po/POTFILES.in:
17905           remove prematurely added error category and clean up the instances
17906
17907 2005-10-21  Wim Taymans  <wim@fluendo.com>
17908
17909         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17910         (gst_base_sink_get_position), (gst_base_sink_query),
17911         (gst_base_sink_change_state):
17912         Simply set the right flag when going to playing, that's all
17913         we need to do instead of calling a function inside the object
17914         lock (that could take the lock as well and deadlock)
17915
17916 2005-10-21  Wim Taymans  <wim@fluendo.com>
17917
17918         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17919         (gst_base_src_loop):
17920         Don't warn, the peer element knows what to do best when
17921         the seek failed, it might try something else.
17922
17923 2005-10-21  Wim Taymans  <wim@fluendo.com>
17924
17925         * gst/base/gstbasesrc.c: (gst_base_src_init),
17926         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17927         Fix seeking.
17928
17929 2005-10-21  Wim Taymans  <wim@fluendo.com>
17930
17931         * docs/design/part-segments.txt:
17932         More docs.
17933
17934         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17935         Correctly set caps, even on the subbufer.
17936
17937 2005-10-21  Wim Taymans  <wim@fluendo.com>
17938
17939         * docs/gst/gstreamer-docs.sgml:
17940         * docs/gst/gstreamer-sections.txt:
17941         * gst/gstelement.h:
17942         * gst/gstevent.c:
17943         * gst/gstevent.h:
17944         * gst/gstmessage.h:
17945         * gst/gstpad.h:
17946         * gst/gstparse.h:
17947         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17948         * gst/gsttask.h:
17949         * gst/gstutils.c:
17950         * gst/gstutils.h:
17951         And 2% more doc coverage.
17952
17953 2005-10-21  Andy Wingo  <wingo@pobox.com>
17954
17955         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17956         position reporting.
17957
17958 2005-10-20  Wim Taymans  <wim@fluendo.com>
17959
17960         * gst/gsterror.c: (gst_error_get_message):
17961         * gst/gstparse.h:
17962         * gst/gstquery.h:
17963         * gst/gststructure.c:
17964         * gst/gsttrace.c:
17965         * gst/gstutils.c:
17966         More docs.
17967
17968 2005-10-20  Wim Taymans  <wim@fluendo.com>
17969
17970         * gst/gstbuffer.h:
17971         * gst/gstpad.c:
17972         * gst/gstparse.c:
17973         Another 1% more coverage.
17974
17975 2005-10-20  Wim Taymans  <wim@fluendo.com>
17976
17977         * docs/gst/gstreamer-sections.txt:
17978         * gst/gstelement.c: (gst_element_get_state_func),
17979         (gst_element_abort_state), (gst_element_commit_state),
17980         (gst_element_lost_state):
17981         * gst/gstevent.h:
17982         * gst/gstquery.c: (gst_query_set_position),
17983         (gst_query_parse_position), (gst_query_set_duration),
17984         (gst_query_parse_duration), (gst_query_new_convert):
17985         * gst/gstutils.c:
17986         Yay! 1% more docs coverage.
17987
17988 2005-10-20  Wim Taymans  <wim@fluendo.com>
17989
17990         * gst/gstpad.h:
17991         * gst/gstquery.c: (gst_query_set_position),
17992         (gst_query_parse_position), (gst_query_set_duration),
17993         (gst_query_parse_duration), (gst_query_new_convert):
17994         * gst/gstquery.h:
17995         * gst/gstutils.c: (gst_element_query_convert):
17996         * gst/gstutils.h:
17997         Docs and consistency fixes.
17998
17999 2005-10-20  Wim Taymans  <wim@fluendo.com>
18000
18001         * gst/gsttask.c:
18002         * gst/gsttask.h:
18003         More docs.
18004
18005 2005-10-20  Wim Taymans  <wim@fluendo.com>
18006
18007         * gst/gstbin.c: (message_check), (bin_replace_message),
18008         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18009         (update_degree), (gst_bin_sort_iterator_next),
18010         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
18011         Reworked the message handling a bit, cache the messages instead of
18012         only the senders. alows us to do more in the future.
18013
18014 2005-10-20  Wim Taymans  <wim@fluendo.com>
18015
18016         * docs/design/part-TODO.txt:
18017         Update TODO
18018
18019         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18020         (gst_base_sink_query):
18021         Don't use clock time to report position when in EOS.
18022
18023 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
18024
18025         * tools/gst-inspect.c: (print_interfaces),
18026         (print_element_properties_info), (print_element_info):
18027           Fix interface output with gst-inspect -a; don't print
18028           newlines after double/float properties.
18029
18030 2005-10-20  Wim Taymans  <wim@fluendo.com>
18031
18032         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
18033         (gst_base_sink_query):
18034         Speed up current position calculation.
18035
18036         * gst/base/gstbasesrc.c: (gst_base_src_query),
18037         (gst_base_src_default_newsegment):
18038         Correctly set stream position in newsegment.
18039
18040         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
18041         (update_degree), (gst_bin_sort_iterator_next),
18042         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
18043         * gst/gstmessage.c: (gst_message_new_custom):
18044         Clean up debugging info
18045
18046         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
18047         (gst_queue_loop), (gst_queue_handle_src_query):
18048         Pause task faster.
18049
18050 2005-10-19  Wim Taymans  <wim@fluendo.com>
18051
18052         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18053         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18054         Fix query handling again.
18055
18056 2005-10-19  Wim Taymans  <wim@fluendo.com>
18057
18058         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18059         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
18060         * gst/base/gstbasesrc.c: (gst_base_src_query):
18061         * gst/elements/gstfilesink.c: (gst_file_sink_query):
18062         * gst/elements/gsttypefindelement.c:
18063         (gst_type_find_handle_src_query), (find_element_get_length),
18064         (gst_type_find_element_activate):
18065         API change fix.
18066
18067         * gst/gstquery.c: (gst_query_new_position),
18068         (gst_query_set_position), (gst_query_parse_position),
18069         (gst_query_new_duration), (gst_query_set_duration),
18070         (gst_query_parse_duration), (gst_query_set_segment),
18071         (gst_query_parse_segment):
18072         * gst/gstquery.h:
18073         Bundling query position/duration is not a good idea since duration
18074         does not change much and we don't want to recalculate it for every
18075         position query, so they are separated again..
18076         Base value in segment query is not needed.
18077
18078         * gst/gstqueue.c: (gst_queue_handle_src_query):
18079         * gst/gstutils.c: (gst_element_query_position),
18080         (gst_element_query_duration), (gst_pad_query_position),
18081         (gst_pad_query_duration):
18082         * gst/gstutils.h:
18083         Updates for query API change.
18084         Added some docs here and there.
18085
18086 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
18087
18088         * check/gst/gstbin.c: (GST_START_TEST):
18089         * check/gst/gstghostpad.c: (GST_START_TEST):
18090         * check/pipelines/cleanup.c: (GST_START_TEST):
18091           wait on thread to die so we can check refcount correctly
18092
18093 2005-10-18  Wim Taymans  <wim@fluendo.com>
18094
18095         * check/pipelines/stress.c: (GST_START_TEST):
18096         Make check a little more time consuming.
18097
18098 2005-10-18  Wim Taymans  <wim@fluendo.com>
18099
18100         * check/Makefile.am:
18101         * check/pipelines/stress.c: (GST_START_TEST),
18102         (simple_launch_lines_suite), (main):
18103         Small state change torture test.
18104
18105         * docs/design/part-states.txt:
18106         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18107         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
18108         (gst_base_sink_change_state):
18109         Never take state lock from streaming thread, clean up ugly
18110         hacks. Unfortunatly core does not yet support nice ways to
18111         async commit state.
18112         
18113         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
18114         (bin_bus_handler):
18115         Start state recalc if a STATE_DIRTY message is posted, but only
18116         on the toplevel bin.
18117
18118         * gst/gstelement.c: (gst_element_sync_state_with_parent),
18119         (gst_element_get_state_func), (gst_element_abort_state),
18120         (gst_element_commit_state), (gst_element_lost_state),
18121         (gst_element_set_state_func), (gst_element_change_state):
18122         * gst/gstelement.h:
18123         State variables are now protected with the LOCK, the state
18124         lock is only used to serialize _set_state().
18125
18126 2005-10-18  Wim Taymans  <wim@fluendo.com>
18127
18128         * check/gst/gstbin.c: (GST_START_TEST):
18129         * check/gst/gstmessage.c: (GST_START_TEST):
18130         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18131         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
18132         (bin_bus_handler):
18133         * gst/gstelement.c: (gst_element_abort_state),
18134         (gst_element_commit_state), (gst_element_lost_state):
18135         * gst/gstmessage.c: (gst_message_new_state_changed),
18136         (gst_message_new_state_dirty), (gst_message_new_segment_start),
18137         (gst_message_new_segment_done), (gst_message_new_duration),
18138         (gst_message_parse_state_changed),
18139         (gst_message_parse_segment_start),
18140         (gst_message_parse_segment_done), (gst_message_parse_duration):
18141         * gst/gstmessage.h:
18142         * tools/gst-launch.c: (event_loop):
18143         Seriously, this is better than a previous commit as we only need
18144         to notify the fact that an element changed state in a streaming
18145         thread, marking the state of the parents dirty, hence the 
18146         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
18147         message.
18148
18149 2005-10-18  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
18152         (gst_bin_recalc_func):
18153         * gst/gstelement.c: (gst_element_set_clock),
18154         (gst_element_abort_state), (gst_element_lost_state):
18155         Cleanups, prepare for state change fixes.
18156
18157 2005-10-18  Wim Taymans  <wim@fluendo.com>
18158
18159         * gst/gstbin.h:
18160         * gst/gstelement.c: (gst_element_class_init),
18161         (gst_element_set_state), (gst_element_set_state_func):
18162         * gst/gstelement.h:
18163         Pending ABI changes.
18164         GThreadPool in GstBinClass to monitor async state changes.
18165         state_cookie in GstElement to detect concurrent gst/set state.
18166         set_state is now virtual too in case a very complicated element
18167         has to be constructed.
18168
18169 2005-10-18  Wim Taymans  <wim@fluendo.com>
18170
18171         * check/gst/gstbin.c: (GST_START_TEST):
18172         * check/gst/gstmessage.c: (GST_START_TEST):
18173         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18174         * gst/gstbin.c: (bin_bus_handler):
18175         * gst/gstelement.c: (gst_element_commit_state),
18176         (gst_element_lost_state):
18177         * gst/gstmessage.c: (gst_message_new_state_changed),
18178         (gst_message_new_segment_start), (gst_message_new_segment_done),
18179         (gst_message_new_duration), (gst_message_parse_state_changed),
18180         (gst_message_parse_segment_start),
18181         (gst_message_parse_segment_done), (gst_message_parse_duration):
18182         * gst/gstmessage.h:
18183         * tools/gst-launch.c: (event_loop):
18184         Make messages future proof.
18185         state-change gets a flag if it was a message comming from the
18186         streaming thread.
18187         segment-start/stop can also be specified in other formats.
18188         A message to notify an app that a pipeline changed playback 
18189         duration.
18190         Also fix a GstMessage leak in -launch
18191
18192 2005-10-18  Andy Wingo  <wingo@pobox.com>
18193
18194         * gst/gstelement.c (gst_element_dispose): More helpful message.
18195
18196 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18197
18198         reviewed by: <delete if not using a buddy>
18199
18200         * common/gtk-doc.mak:
18201
18202 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18203
18204         * gst/gstregistry.c: (gst_registry_scan_path_level):
18205           unref a plug-in we get that was already initialized
18206
18207 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
18208
18209         * docs/gst/gstreamer-sections.txt:
18210         * docs/libs/gstreamer-libs-sections.txt:
18211         * gst/gstelement.h:
18212           add new api entries
18213           hide internal macro
18214
18215 2005-10-17  Andy Wingo  <wingo@pobox.com>
18216
18217         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
18218         cleanup.
18219
18220         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
18221
18222         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
18223
18224         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
18225         (gst_element_get_state_func): Better debug message.
18226         (gst_element_commit_state): s/INFO/DEBUG/.
18227         (gst_element_lost_state, gst_element_change_state): 
18228
18229         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
18230         (gst_message_new_custom): s/INFO/LOG/.
18231
18232 2005-10-17  Michael Smith <msmith@fluendo.com>
18233
18234         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18235           Check if end time is valid using end time, not start time.
18236
18237 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
18238
18239         * check/gst-libs/controller.c: (GST_START_TEST),
18240         (gst_controller_suite):
18241         * libs/gst/controller/gstcontroller.c:
18242         (gst_controlled_property_set_interpolation_mode):
18243         * libs/gst/controller/gstcontroller.h:
18244         * libs/gst/controller/gstinterpolation.c:
18245         * testsuite/controller/.cvsignore:
18246         * testsuite/controller/Makefile.am:
18247         * testsuite/controller/interpolator.c:
18248           merge controller testsuites
18249           fix broken tests
18250           remove mem-chunk from docs
18251
18252 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18253
18254         * gst/gstmemchunk.c:
18255         * gst/gstmemchunk.h:
18256         * gst/gsttrashstack.c:
18257         * gst/gsttrashstack.h:
18258           out.  get out.  you're fired.  to the Attic !
18259
18260 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18261
18262         * gst/gstcaps.c: (gst_caps_intersect):
18263           fix signedness issues in a (hopefully) correct way
18264         * gst/gstelement.c: (gst_element_pads_activate):
18265           some debugging
18266         * gst/gstobject.c: (gst_object_set_parent):
18267           some debugging
18268
18269 2005-10-17  Julien MOUTTE  <julien@moutte.net>
18270
18271         * gst/gstvalue.h: Fix prototypes.
18272
18273 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18274
18275         * docs/gst/gstreamer-sections.txt:
18276         * gst/gst.c: (gst_version_string):
18277         * gst/gst.h:
18278         * gst/gstversion.h.in:
18279         * win32/common/libgstreamer.def:
18280           add gst_version_string ()
18281
18282 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18283
18284         * configure.ac:
18285           clean up further
18286         * gst/gst.c: (init_post):
18287         * win32/common/config.h.in:
18288           it's PLUGINDIR now
18289         * gst/gstcaps.c: (gst_caps_intersect):
18290           use gint64, the range could be bigger than a guint
18291
18292 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18293
18294         * gst/gstclock.h:
18295           document potential problem in 2038
18296
18297 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18298
18299         * gst/gstcaps.c: (gst_caps_intersect):
18300           Fix guint j diving under 0
18301
18302 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18303
18304         * configure.ac:
18305         * win32/common/config.h:
18306         * win32/common/config.h.in:
18307           check for process.h, declares getpid() on Windows
18308         * gst/gstinfo.c:
18309           include process.h if we have it
18310         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
18311         * gst/gstmemchunk.h:
18312           fix signedness issues
18313         * win32/common/libgstreamer.def:
18314           fix get_type's
18315
18316 2005-10-16  Julien MOUTTE  <julien@moutte.net>
18317
18318         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
18319         fix. Because of unsigned ints, caps intersection was going nuts and
18320         trying to access structures with G_MAXUINT index. That fixes
18321         videotestsrc ! ffmpegcolorspace ! fakesink
18322         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
18323         consistency.
18324
18325 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18326
18327         * configure.ac:
18328           use the gettext macro
18329         * gst/elements/gstelements.c:
18330         * gst/gst.c:
18331         * gst/indexers/gstindexers.c:
18332           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
18333         * win32/common/config.h:
18334           updated config.h
18335         * win32/common/config.h.in:
18336           add the template to generate config.h
18337         * win32/common/gstenumtypes.c:
18338         * win32/common/gstversion.h:
18339           updated copies
18340
18341 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18342
18343         * gst/gst.c: (gst_version):
18344         * gst/gstversion.h.in:
18345           add the nano
18346
18347 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18348
18349         * gst/gstevent.h:
18350           Oops, add missing closing bracket.
18351
18352 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18353
18354         * configure.ac:
18355           use common m4's for argument checking
18356
18357 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
18358
18359         * docs/gst/gstreamer-sections.txt:
18360         * gst/gstevent.h:
18361           Add GST_EVENT_TYPE_NAME() macro.
18362
18363 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18364
18365         * gst/gstinfo.c:
18366         * gst/gstpluginfeature.c:
18367         * gst/gsttask.c:
18368           privatize more symbols
18369
18370 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18371
18372         * configure.ac:
18373           add srcdir, builddir includes to GST_ALL_CFLAGS, since
18374           everything that uses GStreamer API should have the includes
18375
18376 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18377
18378         * docs/gst/gstreamer-sections.txt:
18379         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
18380         * gst/gstvalue.h:
18381           give each value a _get_type, removes the DATA exports
18382
18383 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18384
18385         * gst/gst.c:
18386         * gst/gst.h:
18387           remove _gst_registry_auto_load, not used anymore
18388         * gst/gstbin.c: (gst_bin_get_type):
18389         * gst/gstbin.h:
18390         * gst/gstelement.c: (gst_element_get_type):
18391         * gst/gstelement.h:
18392         * gst/gstobject.c: (gst_object_get_type):
18393         * gst/gstobject.h:
18394         * gst/gstpad.c: (gst_pad_get_type):
18395         * gst/gstpad.h:
18396           make _get_type functions similar, fixes data export from library
18397
18398 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18399
18400         * configure.ac:
18401           correctly make conditionals
18402         * gst/elements/Makefile.am:
18403         * gst/elements/gstelements.c:
18404           fix typo causing fdsrc not to build
18405
18406 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18407
18408         * testsuite/Makefile.am:
18409         * testsuite/bytestream/.cvsignore:
18410         * testsuite/bytestream/Makefile.am:
18411         * testsuite/bytestream/filepadsink.c:
18412         * testsuite/bytestream/gstbstest.c:
18413         * testsuite/bytestream/test1.c:
18414         * testsuite/bytestream/testfile1:
18415         * testsuite/caps/normalisation.c:
18416         * testsuite/caps/random.c: (main):
18417         * testsuite/cleanup/.cvsignore:
18418         * testsuite/cleanup/Makefile.am:
18419         * testsuite/cleanup/cleanup1.c:
18420         * testsuite/cleanup/cleanup2.c:
18421         * testsuite/cleanup/cleanup3.c:
18422         * testsuite/cleanup/cleanup4.c:
18423         * testsuite/cleanup/cleanup5.c:
18424         * testsuite/controller/interpolator.c:
18425         * testsuite/debug/printf_extension.c: (main):
18426         * testsuite/elements/tee.c:
18427         * testsuite/negotiation/.cvsignore:
18428         * testsuite/negotiation/Makefile.am:
18429         * testsuite/negotiation/pad_link.c:
18430         * testsuite/pad/Makefile.am:
18431         * testsuite/pad/chainnopull.c:
18432         * testsuite/pad/getnopush.c:
18433         * testsuite/pad/link.c:
18434         * testsuite/refcounting/sched.c: (create_pipeline):
18435         * testsuite/registry/Makefile.am:
18436         * testsuite/registry/gst-print-formats.c:
18437         * testsuite/schedulers/.cvsignore:
18438         * testsuite/schedulers/142183-2.c:
18439         * testsuite/schedulers/142183.c:
18440         * testsuite/schedulers/143777-2.c:
18441         * testsuite/schedulers/143777.c:
18442         * testsuite/schedulers/147713.c:
18443         * testsuite/schedulers/147819.c:
18444         * testsuite/schedulers/147894-2.c:
18445         * testsuite/schedulers/147894.c:
18446         * testsuite/schedulers/Makefile.am:
18447         * testsuite/schedulers/group_link.c:
18448         * testsuite/schedulers/queue_link.c:
18449         * testsuite/schedulers/relink.c:
18450         * testsuite/schedulers/unlink.c:
18451         * testsuite/schedulers/unref.c:
18452         * testsuite/schedulers/useless_iteration.c:
18453         * testsuite/states/bin.c:
18454           clean out/remove some stuff from the testsuite directories
18455
18456 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18457
18458         * configure.ac:
18459           check for some headers
18460         * gst/elements/Makefile.am:
18461         * gst/elements/gstelements.c:
18462           don't compile fdsrc without sys/socket.h
18463         * gst/indexers/Makefile.am:
18464         * gst/indexers/gstindexers.c: (plugin_init):
18465           don't compile fileindex without mmap
18466
18467 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
18468
18469         * configure.ac:
18470           reorganize
18471           clean up
18472           document more
18473           remove cruft
18474         * check/Makefile.am:
18475         * docs/gst/Makefile.am:
18476         * examples/helloworld/Makefile.am:
18477         * gst/Makefile.am:
18478         * gst/base/Makefile.am:
18479         * gst/check/Makefile.am:
18480         * gst/elements/Makefile.am:
18481         * gst/indexers/Makefile.am:
18482         * gst/parse/Makefile.am:
18483         * libs/gst/controller/Makefile.am:
18484         * libs/gst/dataprotocol/Makefile.am:
18485         * examples/helloworld/helloworld.c: (event_loop):
18486           compile fixes, though it's not being compiled currently
18487
18488 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18489
18490         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
18491           Add some simple tests for the new taglist date API.
18492
18493 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18494
18495         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
18496         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
18497           Beautify 'last-message' output: print 'none' for buffer timestamps
18498           and durations if none is set; improve alignment with next messages.
18499
18500 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
18503         * gst/gstpluginfeature.h:
18504         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
18505         * gst/gstregistry.h:
18506         * docs/gst/gstreamer-sections.txt:
18507           Add new API to check plugin feature version requirements.
18508
18509         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
18510           Some basic tests for the above.         
18511
18512 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18513
18514         * gst/gststructure.c: (gst_structure_to_string):
18515           guard against NULL printf - happens when for example
18516           a message structure with GstClock gets serialized
18517
18518 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18519
18520         * gst/base/gstcollectpads.c: (gst_collectpads_event):
18521           Fix presumable copy'n'pasto.
18522
18523 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18524
18525         * gst/elements/gstfakesrc.h:
18526         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
18527         * gst/elements/gsttypefindelement.c:
18528           fix some signedness
18529         * gst/elements/gstfilesink.c: (gst_file_sink_render):
18530           I wonder if this could actually write +2GB files before
18531
18532 2005-10-13  Andy Wingo  <wingo@pobox.com>
18533
18534         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
18535         Fix Timmeke Waymans bug.
18536         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
18537         string of the proper length to gst_caps_from_string. There's a
18538         potential for, before this fix, that this could cause someone
18539         connecting over the network to cause a segfault if the payload is
18540         not NUL-terminated.
18541
18542 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18543
18544         * docs/design/draft-push-pull.txt:
18545         * docs/design/part-overview.txt:
18546         * docs/random/TODO-pre-0.9:
18547         * docs/random/old/ChangeLog.gstreamer:
18548         * gst/base/gstpushsrc.c:
18549         * gst/gstclock.c:
18550           fixed typos
18551
18552 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18553
18554         * gst/glib-compat.c: (gst_flags_get_first_value):
18555         * gst/glib-compat.h:
18556         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
18557         (gst_value_compare_double), (gst_value_serialize_flags):
18558           GLib 2.6 g_flags_get_first_value has a bug that triggers an
18559           infinite loop
18560
18561 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18562
18563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18564         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18565           fix up debugging
18566         * tools/gst-launch.c: (event_loop):
18567           print out clock nicely
18568
18569 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
18570
18571         * docs/gst/gstreamer-sections.txt:
18572         * gst/gsttaglist.h:
18573         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
18574         (gst_tag_list_get_date_index):
18575           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
18576           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
18577
18578 2005-10-13  Julien MOUTTE  <julien@moutte.net>
18579
18580         * gst/base/gstcollectpads.c: (gst_collectpads_event),
18581         (gst_collectpads_chain):
18582         * gst/base/gstcollectpads.h: Handle newsegment and store informations
18583         in CollectData.
18584
18585 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
18586
18587         * docs/gst/gstreamer-sections.txt:
18588         * gst/gst.c:
18589         * gst/gsterror.h:
18590         * tools/gst-inspect.c: (main):
18591         * tools/gst-launch.c: (main):
18592         * tools/gst-run.c: (main):
18593         * tools/gst-xmlinspect.c: (main):
18594           fix GOption context leaks
18595           doc fixes
18596
18597 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
18598
18599         * gst/gstbus.c:
18600           use HAVE_UNISTD_H
18601         * win32/common/config.h:
18602           update config
18603         * win32/vs6/grammar.dsp:
18604         * win32/vs6/libgstelements.dsp:
18605         * win32/vs6/libgstreamer.dsp:
18606           update vs6 files
18607
18608 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18609
18610         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18611         * gst/base/gstbasesrc.c: (gst_base_src_query):
18612           fix more guint64<->gdouble conversions
18613
18614 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18615
18616         * Makefile.am:
18617           add win32-update target
18618         * win32/common/gstconfig.h:
18619         * win32/common/gstenumtypes.c:
18620         * win32/common/gstenumtypes.h:
18621         * win32/common/gstversion.h:
18622           add files that visual studio can't generate
18623
18624 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
18625
18626         * Makefile.am:
18627           add a win32-update target
18628         * configure.ac:
18629
18630 2005-10-12  Wim Taymans  <wim@fluendo.com>
18631
18632         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18633         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
18634         * gst/gstelement.c: (gst_element_commit_state),
18635         (gst_element_set_state):
18636         Protect flags with proper lock.
18637         unref provided cached clock in dispose.
18638
18639 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18640
18641         * gst/gst.c:
18642         * gst/gstminiobject.h:
18643         * gst/gstpad.h:
18644         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
18645           removed unused flags from miniobject
18646           doc fixes
18647
18648 2005-10-12  Wim Taymans  <wim@fluendo.com>
18649
18650         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18651         (gst_file_sink_event), (gst_file_sink_render):
18652         Flush before seeking.
18653
18654 2005-10-12  Andy Wingo  <wingo@pobox.com>
18655
18656         * gst/gst.c (gst_init_check): Ignore unknown options, as has
18657         always been the case.
18658
18659 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
18660
18661         * check/gst/gstbin.c: (GST_START_TEST):
18662         * docs/gst/gstreamer-sections.txt:
18663         * gst/base/gstbasesink.c: (gst_base_sink_init):
18664         * gst/base/gstbasesrc.c: (gst_base_src_init),
18665         (gst_base_src_get_range), (gst_base_src_check_get_range),
18666         (gst_base_src_start), (gst_base_src_stop):
18667         * gst/base/gstbasesrc.h:
18668         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
18669         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18670         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
18671         (bin_bus_handler):
18672         * gst/gstbin.h:
18673         * gst/gstbuffer.h:
18674         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
18675         * gst/gstbus.h:
18676         * gst/gstelement.c: (gst_element_is_locked_state),
18677         (gst_element_set_locked_state), (gst_element_commit_state),
18678         (gst_element_set_state):
18679         * gst/gstelement.h:
18680         * gst/gstindex.c: (gst_index_init):
18681         * gst/gstindex.h:
18682         * gst/gstminiobject.h:
18683         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
18684         (gst_object_set_parent):
18685         * gst/gstobject.h:
18686         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
18687         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
18688         * gst/gstpad.h:
18689         * gst/gstpadtemplate.h:
18690         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
18691         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
18692         * gst/gstpipeline.h:
18693         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18694         (gst_file_index_commit):
18695         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
18696         * testsuite/pad/link.c: (gst_test_src_init),
18697         (gst_test_filter_init), (gst_test_sink_init):
18698         * testsuite/states/locked.c: (main):
18699           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
18700           moved bitshift from macro to enum definition
18701
18702 2005-10-12  Wim Taymans  <wim@fluendo.com>
18703
18704         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
18705         * gst/elements/gstfilesink.c: (gst_file_sink_event),
18706         (gst_file_sink_render):
18707         Some more debugging info.
18708
18709 2005-10-12  Wim Taymans  <wim@fluendo.com>
18710
18711         * docs/design/part-states.txt:
18712         * tools/gst-launch.c: (main):
18713         Some doc updates.
18714         Revert non-intentional change.
18715
18716 2005-10-12  Wim Taymans  <wim@fluendo.com>
18717
18718         * check/gst/gstbin.c: (GST_START_TEST):
18719         * check/gst/gstelement.c: (GST_START_TEST):
18720         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
18721         * check/gst/gstghostpad.c: (GST_START_TEST):
18722         * check/gst/gstpipeline.c: (GST_START_TEST):
18723         * check/pipelines/simple_launch_lines.c: (run_pipeline):
18724         * check/states/sinks.c: (GST_START_TEST):
18725         * gst/elements/gsttypefindelement.c: (stop_typefinding):
18726         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18727         (gst_bin_remove_func), (gst_bin_get_state_func),
18728         (gst_bin_recalc_state), (gst_bin_change_state_func),
18729         (bin_bus_handler):
18730         * gst/gstelement.c: (gst_element_get_state_func),
18731         (gst_element_get_state), (gst_element_abort_state),
18732         (gst_element_commit_state), (gst_element_set_state),
18733         (gst_element_change_state), (gst_element_change_state_func):
18734         * gst/gstelement.h:
18735         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
18736         (gst_pipeline_provide_clock_func):
18737         * gst/gstutils.c: (gst_element_link_pads_filtered):
18738         * tools/gst-launch.c: (main):
18739         * tools/gst-typefind.c: (main):
18740         Use GstClockTime in _get_state() instead of GTimeVal.
18741         Remove old code in gstutils.c
18742
18743 2005-10-12  Andy Wingo  <wingo@pobox.com>
18744
18745         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
18746         removed.
18747
18748         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
18749         there is no task. Shouldn't affect any code, as nothing in our
18750         plugins checks this return value.
18751         (gst_pad_stop_task): Also take the stream lock if the pad has no
18752         task. Docs updated.
18753
18754 2005-10-12  Wim Taymans  <wim@fluendo.com>
18755
18756         * gst/gstpad.c: (pre_activate), (post_activate),
18757         (gst_pad_activate_pull), (gst_pad_activate_push):
18758         Cleanup activation code. Reset old state if
18759         activation failed.
18760
18761 2005-10-12  Wim Taymans  <wim@fluendo.com>
18762
18763         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18764         (gst_base_sink_change_state):
18765         No need to prerol after receiving EOS.
18766
18767         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
18768         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
18769         * gst/elements/gstidentity.c: (gst_identity_event):
18770         Print events more verbosely.
18771
18772 2005-10-12  Wim Taymans  <wim@fluendo.com>
18773
18774         * check/Makefile.am:
18775         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18776         * check/states/sinks2.c:
18777         Moved sinks2 testcode in sinks check.
18778
18779         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18780         (gst_bin_remove_func), (gst_bin_recalc_state),
18781         (gst_bin_change_state_func), (bin_bus_handler):
18782         Fix potential race condition when _get_state() iterated over an
18783         ASYNC element right before it posted a state completion.
18784
18785         * gst/gstclock.h:
18786         Do proper cast here.
18787
18788         * gst/gstevent.c: (gst_event_new_newsegment),
18789         (gst_event_parse_newsegment):
18790         A playback rate of 0.0 is not allowed.
18791
18792 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18793
18794         * win32/common/config.h:
18795         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18796         (_trewinddir), (_ttelldir), (_tseekdir):
18797         * win32/common/dirent.h:
18798         * win32/common/gtchar.h:
18799         * win32/common/libgstbase.def:
18800         * win32/common/libgstreamer.def:
18801         * win32/vs6/grammar.dsp:
18802         * win32/vs6/gst_inspect.dsp:
18803         * win32/vs6/gst_launch.dsp:
18804         * win32/vs6/gstreamer.dsw:
18805         * win32/vs6/libgstbase.dsp:
18806         * win32/vs6/libgstelements.dsp:
18807         * win32/vs6/libgstreamer.dsp:
18808           Visual Studio 6 project files, and a new common directory.
18809           Phear.
18810
18811 2005-10-11  Wim Taymans  <wim@fluendo.com>
18812
18813         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18814         (gst_base_sink_do_sync), (gst_base_sink_query),
18815         (gst_base_sink_change_state):
18816         * gst/base/gstbasesink.h:
18817         Correctly parse newsegment info.
18818
18819 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18820
18821         * gst/gst.c: (init_post):
18822           split plugin paths correctly
18823
18824 2005-10-11  Wim Taymans  <wim@fluendo.com>
18825
18826         * check/gst/gstevent.c: (GST_START_TEST):
18827         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18828         (gst_base_sink_change_state):
18829         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18830         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18831         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18832         * gst/gstevent.c: (gst_event_new_newsegment),
18833         (gst_event_parse_newsegment):
18834         * gst/gstevent.h:
18835         Added extra flag to newsegment for future API freeze.
18836         Updated check and base elements.
18837
18838 2005-10-11  Julien MOUTTE  <julien@moutte.net>
18839
18840         * gst/base/gstcollectpads.c: (gst_collectpads_init),
18841         (gst_collectpads_add_pad), (gst_collectpads_pop),
18842         (gst_collectpads_event), (gst_collectpads_chain):
18843         * gst/base/gstcollectpads.h: Handle EOS correctly.
18844
18845 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18846
18847         * tools/gst-launch.c: (main):
18848           more null protecting
18849
18850 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18851
18852         * gst/gst-i18n-lib.h:
18853           check for ENABLE_NLS, not GETTEXT_PACKAGE
18854         * gst/gstregistry.c: (gst_registry_add_plugin),
18855         (gst_registry_scan_path_level),
18856         (_gst_registry_remove_cache_plugins):
18857           protect possibly NULL strings
18858         * gst/parse/types.h:
18859           config.h already included before
18860         * tools/gst-inspect.c: (main):
18861           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18862           check for ENABLE_NLS, not GETTEXT_PACKAGE
18863         * tools/gst-launch.c: (main):
18864           check for ENABLE_NLS, not GETTEXT_PACKAGE
18865
18866 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18867
18868         * configure.ac:
18869           if we don't have glib, fail before testing 2.8
18870         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18871           fix a leak, should fix plugins-base testsuite
18872
18873 2005-10-11  Andy Wingo  <wingo@pobox.com>
18874
18875         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18876         take the mode we're going to as an arg. Go head and set the mode
18877         and flushing flags now, so that if the activate function starts a
18878         thread all the flags will be in the right state.
18879         (post_activate): Renamed also. Just handle making sure streaming
18880         finishes for the deactivation case, and setting the deactivated
18881         mode.
18882         (gst_pad_set_active): Complain loudly if deactivation fails.
18883         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18884         (gst_pad_activate_push): Adapt to pre/post_activate changes,
18885         remove the terrible hack.
18886
18887 2005-10-11  Wim Taymans  <wim@fluendo.com>
18888
18889         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18890         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18891         (gst_bin_recalc_state), (gst_bin_change_state_func),
18892         (gst_bin_dispose), (bin_bus_handler):
18893         * gst/gstbin.h:
18894         Prepare to make current EOS message queue more generic.
18895         Fix some typos.
18896
18897         * gst/gstevent.c: (gst_event_new_newsegment),
18898         (gst_event_parse_newsegment):
18899         * gst/gstevent.h:
18900         Rename base to stream_time.
18901
18902         * gst/gstmessage.h:
18903         Fix typo in docs.
18904
18905 2005-10-11  Wim Taymans  <wim@fluendo.com>
18906
18907         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18908         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18909         (gst_bin_change_state_func), (bin_bus_handler):
18910         * gst/gstbin.h:
18911         Work on proper clock selection.
18912
18913 2005-10-11  Edward Hervey  <edward@fluendo.com>
18914
18915         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
18916         * libs/gst/controller/gstcontroller.h:
18917         Added GList* version of _remove_properties() in order to be able to wrap
18918         it in bindings.
18919
18920 2005-10-11  Wim Taymans  <wim@fluendo.com>
18921
18922         * docs/design/part-states.txt:
18923         Some more docs.
18924
18925         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18926         (gst_bin_change_state_func), (bin_bus_handler):
18927         Doc updates. Don't distribute the same clock over and over again.
18928
18929         * gst/gstclock.c:
18930         * gst/gstclock.h:
18931         Doc updates.
18932
18933         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18934         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18935         (gst_pad_send_event):
18936         * gst/gstpad.h:
18937         Make probe emission threadsafe again.
18938         Register quarks and move _get_name() from utils.
18939         Doc updates.
18940
18941         * gst/gstpipeline.c: (gst_pipeline_class_init),
18942         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18943         Only redistribute the clock of it changed.
18944
18945         * gst/gstsystemclock.h:
18946         Doc updates. 
18947
18948         * gst/gstutils.c:
18949         * gst/gstutils.h:
18950         Moved the _flow_get_name() to GstPad.
18951
18952 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18953
18954         * check/gst-libs/gdp.c: (GST_START_TEST):
18955         * check/gst/gstcaps.c: (GST_START_TEST):
18956         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18957         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18958         (gst_dp_packet_from_caps):
18959           fix more valgrind warnings before turning up the heat
18960
18961 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18962
18963         * gst/parse/grammar.y:
18964           some cleanup before the hacking
18965
18966 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18967
18968         * gst/base/gstbasesrc.c: (gst_base_src_query):
18969           use conversions
18970         * gst/gstutils.c: (gst_guint64_to_gdouble),
18971         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18972         * gst/gstutils.h:
18973           externalize, basesrc uses it
18974           obviously the implementation needs testing
18975
18976 2005-10-10  Wim Taymans  <wim@fluendo.com>
18977
18978         * tests/sched/Makefile.am:
18979         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18980         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18981
18982 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18983
18984         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18985           apparently converting from guint64 to double is not implemented
18986           on MSVC
18987
18988 2005-10-10  Wim Taymans  <wim@fluendo.com>
18989
18990         * check/Makefile.am:
18991         * check/generic/states.c: (GST_START_TEST):
18992         * check/gst/gstbin.c: (GST_START_TEST):
18993         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18994         * check/states/sinks.c: (GST_START_TEST):
18995         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18996         (main):
18997         Check fixes, use API as stated in design docs, remove hacks.
18998
18999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19000         (gst_base_sink_change_state):
19001         Catch stopping our task while we're shutting down.
19002
19003         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
19004         (gst_bin_remove_func), (gst_bin_get_state_func),
19005         (gst_bin_recalc_state), (gst_bin_change_state_func),
19006         (bin_bus_handler):
19007         * gst/gstbin.h:
19008         * gst/gstelement.c: (gst_element_init),
19009         (gst_element_get_state_func), (gst_element_abort_state),
19010         (gst_element_commit_state), (gst_element_lost_state),
19011         (gst_element_set_state), (gst_element_change_state),
19012         (gst_element_change_state_func):
19013         * gst/gstelement.h:
19014         New state change algorithm (see #318116)
19015
19016         * gst/gstpipeline.c: (gst_pipeline_class_init),
19017         (gst_pipeline_init), (gst_pipeline_set_property),
19018         (gst_pipeline_get_property), (do_pipeline_seek),
19019         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19020         * gst/gstpipeline.h:
19021         Remove crude state change hacks.
19022
19023         * gst/gstutils.h:
19024         Remove crude hacks.
19025
19026         * tools/gst-launch.c: (main):
19027         Fixes for state change. Needs some more work to fully use the
19028         new stuff.
19029
19030 2005-10-10  Andy Wingo  <wingo@pobox.com>
19031
19032         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
19033
19034         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
19035         this flag, but it's not even in GLib 2.6. Odd. Hack around the
19036         issue.
19037
19038 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19039
19040         * gst/gstiterator.c: (gst_iterator_new):
19041           Fix my previous commit: GTypes passed to gst_iterator_new()
19042           can be fundamental types.
19043
19044 2005-10-10  Wim Taymans  <wim@fluendo.com>
19045
19046         * gst/gstelement.c: (gst_element_iterate_pad_list),
19047         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
19048         (gst_element_iterate_sink_pads):
19049         Use src/sink pads lists for the respective iterators instead
19050         of filtering.
19051
19052 2005-10-10  Andy Wingo  <wingo@pobox.com>
19053
19054         Merged in popt removal + GOption addition patch from Ronald, bug
19055         #169772.
19056
19057         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
19058         GstElement macros around, remove popt-related symbols, add goption
19059         stuff.
19060
19061         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
19062         
19063         * docs/gst/Makefile.am:
19064         * docs/libs/Makefile.am: No POPT_CFLAGS.
19065         
19066         * examples/manual/Makefile.am:
19067         * docs/manual/basics-init.xml: Doc updates with an example.
19068         
19069         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
19070         (gst_init), (parse_one_option), (parse_goption_arg):
19071         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
19072         bit of hand merging and debugging to get the GOption stuff working
19073         tho.
19074         
19075         * tests/Makefile.am:
19076         * tools/Makefile.am:
19077         * tools/gst-inspect.c: (main):
19078         * tools/gst-launch.c: (main):
19079         * tools/gst-run.c: (main):
19080         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
19081
19082 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19083
19084         * gst/gstiterator.c: (gst_iterator_new):
19085           Add assertions to make sure passed GType is likely to really
19086           be a GType (as the compiler won't catch it if the size and
19087           GType arguments get mixed up, see #318447).
19088
19089 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
19090
19091         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19092
19093         * gst/gstbin.c: (gst_bin_iterate_sorted):
19094           Pass GType and size arguments to gst_iterator_new() in the right
19095           order (maybe we should make _new() take the GType as first argument
19096           just like _new_list()?) (#318447).
19097           
19098
19099 2005-10-10  Wim Taymans  <wim@fluendo.com>
19100
19101         * gst/gstelement.c: (gst_element_finalize):
19102         And free the GStaticRecMutex too
19103
19104 2005-10-10  Andy Wingo  <wingo@pobox.com>
19105
19106         * gst/gstelement.c (gst_element_init, gst_element_finalize):
19107         Allocate and free the mutex properly.
19108
19109         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
19110         New macros.
19111         (GstElement): The state_lock is now recursive. Rebuild your
19112         plugins, suckers. Old macros adapted.
19113
19114         * docs/gst/gstreamer-sections.txt: Doc updates.
19115
19116         * gst/gstutils.h:
19117         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
19118         (g_static_rec_cond_wait): Ported from state changes patch, while
19119         we wait on bug #317802 to be solved in a well-distributed GLib.
19120
19121         * gst/gstelement.c (gst_element_change_state_func): Renamed from
19122         gst_element_change_state, variable name changes.
19123         (gst_element_change_state): Split out of gst_element_set_state in
19124         preparation for the state change merge. Doesn't pay attention to
19125         the 'transition' argument.
19126         (gst_element_set_state): Updates, hopefully purely cosmetic.
19127         (gst_element_sync_state_with_parent): MT-safety. Ported from the
19128         state change patch.
19129         (gst_element_get_state_func): Renamed from get_state, cosmetic
19130         changes.
19131
19132 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19133
19134         * gst/elements/gstelements.c:
19135         * win32/GStreamer.vcproj:
19136         * win32/config.h:
19137         * win32/dirent.c: (_tseekdir):
19138         * win32/gst-inspect.vcproj:
19139         * win32/gst-launch.vcproj:
19140         * win32/gstconfig.h:
19141         * win32/gstelements.vcproj:
19142         * win32/gstenumtypes.c: (gst_object_flags_get_type):
19143         * win32/gstreamer.def:
19144         * win32/msvc71.sln:
19145           updates for the win32 build (patch from Sebastien Moutte)
19146
19147 2005-10-10  Andy Wingo  <wingo@pobox.com>
19148
19149         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
19150         gst_bin_get_state, cleaned up (but no logic changes).
19151         (bin_element_is_sink): Comment updates.
19152         (sink_iterator_filter): Remove needless cast.
19153         (gst_bin_iterate_sinks): Doc update.
19154         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
19155         cleaned up (but no logic changes).
19156
19157         * check/states/sinks.c (test_src_sink): Cleanups from the state
19158         change patch.
19159         (test_livesrc_sink): Sync on the state.
19160
19161         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
19162         the state change patch.
19163
19164         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
19165         change patch.
19166
19167         * check/gst/gstbin.c: Merge in some style fixes and additional
19168         checks from Wim's state change patch.
19169
19170 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
19171
19172         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19173         (gst_type_find_helper):
19174           Check whether we have the requested data already in our list of
19175           cached buffers before pulling a new buffer; also make the buffer
19176           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
19177
19178 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19179
19180         * gst/gstcaps.c:
19181         * gst/gstevent.c:
19182           doc updates
19183         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
19184           don't use long long, it's not portable.  Replacing with
19185           gint64 seems to work; let's hope no skeletons fall out of the closet.
19186
19187 2005-10-10  Andy Wingo  <wingo@pobox.com>
19188
19189         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
19190
19191 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
19192
19193         * docs/gst/gstreamer-sections.txt:
19194         * gst/gstevent.c:
19195         * gst/gstevent.h:
19196         * gst/gstinfo.c:
19197         * gst/gstinfo.h:
19198         * gst/gstmessage.c: (gst_message_parse_state_changed):
19199         * gst/gstpad.c:
19200         * gst/gstpad.h:
19201           more docs, fix compilation
19202
19203 2005-10-09  Philippe Khalaf <burger@speedy.org>
19204         * gst/gstmessage.c:
19205           Fixed a few forgotten variables on previous commit
19206
19207 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
19208
19209         * gst/base/gsttypefindhelper.c: (helper_find_peek):
19210           Fix evil typefind crasher: getrange() might return a short
19211           buffer at the end of a file, but gst_type_find_peek() must
19212           either return the full data as requested or NULL, but
19213           never a short buffer.
19214
19215 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
19216
19217         * gst/gstmessage.c: (gst_message_new_state_changed),
19218         (gst_message_parse_state_changed):
19219         * gst/gstmessage.h:
19220           don't use "new", it's a C++ keyword
19221
19222 2005-10-08  Wim Taymans  <wim@fluendo.com>
19223
19224         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
19225         * gst/gstelement.c: (gst_element_post_message):
19226         * gst/gstpipeline.c: (gst_pipeline_change_state):
19227         Small docs and debug updates.
19228
19229 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19230
19231         * docs/gst/gstreamer-sections.txt:
19232         * gst/gstelementfactory.c:
19233         * gst/gstevent.c:
19234         * gst/gsttaglist.c:
19235           more docs
19236
19237 2005-10-08  Wim Taymans  <wim@fluendo.com>
19238
19239         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
19240         (gst_bin_dispose), (bin_bus_handler):
19241         Fix typos, add comments.
19242         Clear EOS list when going to PAUSED from any direction and do it
19243         in a threadsafe way.
19244         Get base time in a threadsafe way too.
19245         Fix confusing debug in the change_state function.
19246         Various other small cleanups.
19247         
19248         * gst/gstelement.c: (gst_element_post_message):
19249         Fix very verbose bus posting code.
19250
19251         * gst/gstpipeline.c: (gst_pipeline_class_init),
19252         (gst_pipeline_set_property), (gst_pipeline_get_property),
19253         (gst_pipeline_change_state):
19254         Small ARG_ -> PROP_ cleanup
19255
19256 2005-10-08  Wim Taymans  <wim@fluendo.com>
19257
19258         * gst/gstbin.c: (is_eos), (bin_bus_handler):
19259         Do a less CPU demanding EOS check because we can.
19260
19261 2005-10-08  Wim Taymans  <wim@fluendo.com>
19262
19263         * libs/gst/dataprotocol/dataprotocol.c:
19264         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
19265         (gst_dp_packet_from_event):
19266         * libs/gst/dataprotocol/dataprotocol.h:
19267         * libs/gst/dataprotocol/dp-private.h:
19268         It's about time we bump the version number.
19269         Since event types don't fit in the guint8 anymore describing
19270         the payload type, make payload type 16 bits wide.
19271
19272 2005-10-08  Wim Taymans  <wim@fluendo.com>
19273
19274         * docs/design/part-TODO.txt:
19275         * docs/design/part-clocks.txt:
19276         * docs/design/part-events.txt:
19277         * docs/design/part-gstbin.txt:
19278         * docs/design/part-gstelement.txt:
19279         * docs/design/part-gstpipeline.txt:
19280         * docs/design/part-live-source.txt:
19281         * docs/design/part-messages.txt:
19282         * docs/design/part-overview.txt:
19283         * docs/design/part-states.txt:
19284         Many doc updates.
19285
19286 2005-10-08  Wim Taymans  <wim@fluendo.com>
19287
19288         * gst/gstevent.c:
19289         * gst/gstevent.h:
19290         Fix event quark registration.
19291         Add some space between events so we can insert them in the
19292         right groups.
19293
19294 2005-10-08  Wim Taymans  <wim@fluendo.com>
19295
19296         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19297         (gst_base_sink_handle_buffer):
19298         Better log message.
19299
19300         * gst/gstbus.h:
19301         * gst/gstelement.h:
19302         More docs.
19303
19304         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19305         (gst_queue_set_property), (gst_queue_get_property):
19306         * gst/gstqueue.h:
19307         Remove old unused properties.
19308
19309 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
19310         * docs/gst/gstreamer-sections.txt:
19311         * gst/gstmessage.c:
19312         * gst/gstmessage.h:
19313         * gst/gstminiobject.c:
19314         * gst/gstminiobject.h:
19315         * gst/gstobject.h:
19316         * gst/gstpad.h:
19317         * gst/gstutils.h:
19318           lots of new docs and doc fixes
19319
19320 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19321
19322         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
19323         * gst/gstplugin.h:
19324         * gst/gstregistry.c: (gst_registry_lookup_locked),
19325         (gst_registry_scan_path_level):
19326         * gst/gstregistryxml.c: (load_plugin):
19327           Only ever load one plugin for a given plugin basename.
19328           This ensures correct overriding of GST_PLUGIN_PATH over
19329           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
19330           system installed plugins.
19331
19332 2005-10-08  Wim Taymans  <wim@fluendo.com>
19333
19334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19335         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
19336         Prepare for doing QOS.
19337
19338 2005-10-08  Wim Taymans  <wim@fluendo.com>
19339
19340         * check/gst/gstbin.c: (GST_START_TEST):
19341         * check/pipelines/cleanup.c: (GST_START_TEST):
19342         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
19343         Allow new clock message too.
19344
19345 2005-10-08  Wim Taymans  <wim@fluendo.com>
19346
19347         * gst/gstmessage.c: (gst_message_new_error),
19348         (gst_message_new_warning), (gst_message_new_tag),
19349         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19350         (gst_message_new_clock_lost), (gst_message_new_new_clock),
19351         (gst_message_new_segment_start), (gst_message_new_segment_done),
19352         (gst_message_parse_state_changed),
19353         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
19354         (gst_message_parse_new_clock):
19355         * gst/gstmessage.h:
19356         Also carry the clock in question.
19357
19358 2005-10-08  Wim Taymans  <wim@fluendo.com>
19359
19360         * gst/gstmessage.c: (gst_message_new_custom),
19361         (gst_message_new_eos), (gst_message_new_error),
19362         (gst_message_new_warning), (gst_message_new_tag),
19363         (gst_message_new_state_changed), (gst_message_new_clock_provide),
19364         (gst_message_new_new_clock), (gst_message_new_segment_start),
19365         (gst_message_new_segment_done), (gst_message_parse_state_changed),
19366         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
19367         * gst/gstmessage.h:
19368         Clean up.
19369         Added clock related messages.
19370
19371         * gst/gstpipeline.c: (gst_pipeline_change_state):
19372         Post message when the clock changed.
19373
19374         * tools/gst-launch.c: (event_loop):
19375         Print new clock.
19376
19377 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
19378
19379         * tools/gst-inspect.c: (print_element_properties_info):
19380           Can't pass NULL strings to g_print() on windows.
19381
19382 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19383
19384         * docs/Makefile.am:
19385         * docs/gst/Makefile.am:
19386         * docs/gst/gstreamer-docs.sgml:
19387         * docs/gst/running.xml:
19388         * docs/version.entities.in:
19389           add a chapter on running GStreamer.
19390           document GST_DEBUG and GST_PLUGIN* env vars
19391
19392 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19393
19394         * Makefile.am:
19395           remove include dir
19396         * configure.ac:
19397           remove PLUGINS_BUILDDIR stuff
19398         * gst/gst.c: (init_post):
19399           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
19400         * idiottest.mak:
19401           remove, it was condescending and not needed
19402
19403 2005-10-08  Wim Taymans  <wim@fluendo.com>
19404
19405         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
19406         (gst_base_sink_handle_object), (gst_base_sink_event),
19407         (gst_base_sink_wait), (gst_base_sink_handle_event),
19408         (gst_base_sink_change_state):
19409         * gst/base/gstbasesink.h:
19410         Repost EOS message while going to PLAYING if still EOS.
19411         Make sure that when receiving a FLUSH_START we don't attempt
19412         to sync on the clock anymore.
19413
19414 2005-10-08  Wim Taymans  <wim@fluendo.com>
19415
19416         * tools/gst-launch.c: (event_loop):
19417         Better message printout.
19418
19419 2005-10-08  Wim Taymans  <wim@fluendo.com>
19420
19421         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
19422         (gst_bin_child_proxy_get_children_count):
19423         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
19424         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
19425         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
19426         (gst_child_proxy_set_valist):
19427         * gst/parse/grammar.y:
19428         Make ChildProxy threadsafe and fix mem leaks.
19429
19430 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19431
19432         * gst/gst.c: (init_post):
19433           debug the GST_PLUGIN_ env vars
19434
19435 2005-10-08  Wim Taymans  <wim@fluendo.com>
19436
19437         * check/gst/gstbin.c: (GST_START_TEST):
19438         * check/gst/gstmessage.c: (GST_START_TEST):
19439         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19440         * gst/gstelement.c: (gst_element_commit_state),
19441         (gst_element_lost_state):
19442         * gst/gstmessage.c: (gst_message_new_state_changed),
19443         (gst_message_parse_state_changed):
19444         * gst/gstmessage.h:
19445         * tools/gst-launch.c: (event_loop):
19446         Added extra field to STATE_CHANGE message with the pending
19447         state, which will be different from the new state soon.
19448
19449 2005-10-08  Wim Taymans  <wim@fluendo.com>
19450
19451         * gst/gstbus.c: (gst_bus_pop):
19452         * gst/gstclock.c:
19453         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
19454         Small cleanups and doc updates.
19455
19456 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
19457
19458         * gst/gst.c: (init_pre):
19459         * gst/gstbin.c: (gst_bin_add_func):
19460           log distributing clocks and base time
19461         * gst/gstregistry.c: (gst_registry_add_plugin),
19462         (gst_registry_scan_path_level), (gst_registry_scan_path):
19463           clean up the debugging output a little
19464         * gst/gstutils.c: (gst_element_state_get_name):
19465           warn about a memleak (I've actually seen this be used, though
19466           it was probably a bug)
19467
19468 2005-10-07  Wim Taymans  <wim@fluendo.com>
19469
19470         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19471         (gst_base_src_init), (gst_base_src_default_newsegment),
19472         (gst_base_src_newsegment), (gst_base_src_do_seek),
19473         (gst_base_src_loop), (gst_base_src_start):
19474         * gst/base/gstbasesrc.h:
19475         Make the newsegment event customizable by subclasses.
19476
19477 2005-10-07  Wim Taymans  <wim@fluendo.com>
19478
19479         * gst/gstevent.c: (gst_event_new_buffersize),
19480         (gst_event_parse_buffersize):
19481         * gst/gstevent.h:
19482         New event for future idea.
19483
19484 2005-10-07  Andy Wingo  <wingo@pobox.com>
19485
19486         * gst/gstelement.c (gst_element_post_message): Doc update.
19487
19488         * docs/gst/gstreamer-sections.txt: Update.
19489
19490         * gst/gstmessage.c (gst_message_new_application): Made into a
19491         function like honest API calls.
19492         (gst_message_new_element): New message type.
19493
19494         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
19495
19496         * check/elements/fakesrc.c (test_no_preroll): New check, checks
19497         that setting a live fakesrc to PAUSED returns NO_PREROLL both
19498         times.
19499
19500         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
19501         NO_PREROLL from gst_element_change_state to fall through.
19502
19503 2005-10-07  Wim Taymans  <wim@fluendo.com>
19504
19505         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
19506         (gst_ghost_pad_do_activate_push):
19507         Activating a ghostpad with no internal pad in push mode
19508         is ok.
19509
19510 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19511
19512         * gst/gstobject.h:
19513           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
19514           Fixes compilation on Windows.
19515
19516 2005-10-07  Michael Smith <msmith@fluendo.com>
19517
19518         * tools/gst-inspect.c:
19519           Print out feature and plugin count at the end when printing out
19520           all features.
19521
19522 2005-10-04  Michael Smith <msmith@fluendo.com>
19523
19524         * gst/gsterror.c: (_gst_stream_errors_init):
19525           Add another error string used in a few existing plugins.
19526
19527         * gst/gstplugin.c:
19528         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
19529         * tools/gst-inspect.c: (print_element_info):
19530           When a feature disappears from a plugin (and the feature exists in
19531           the cached registry file), things went horribly wrong. This isn't a
19532           complete fix, we should actually be removing the 'missing' features
19533           from the features list when we load the actual plugin. That's not
19534           yet implemented. 
19535
19536 2005-10-04  Johan Dahlin  <johan@gnome.org>
19537
19538         * check/gst/gstiterator.c: (GST_START_TEST):
19539         * gst/gstbin.c: (gst_bin_iterate_elements),
19540         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
19541         * gst/gstelement.c: (gst_element_iterate_pads):
19542         * gst/gstformat.c: (gst_format_iterate_definitions):
19543         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19544         (gst_iterator_new_list), (gst_iterator_filter):
19545         * gst/gstiterator.h:
19546         * gst/gstquery.c: (gst_query_type_iterate_definitions):
19547         Add a GType to GstIterator, update callsites and tests.
19548
19549 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19550
19551         * gst/gstpad.c: (gst_pad_event_default_dispatch):
19552           give events a chance to be handled by event probes when the pad
19553           is not linked
19554
19555 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19556
19557         * gst/gstevent.c: (gst_event_type_get_name),
19558         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
19559         * gst/gstevent.h:
19560           add string representations for event types
19561
19562 2005-10-06  Wim Taymans  <wim@fluendo.com>
19563
19564         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
19565         Don't use NULL pointers.
19566
19567 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19568
19569         * gst/gst_private.h:
19570         * gst/gstbus.c:
19571         * gst/gstelement.c:
19572         * gst/gstinfo.c:
19573         * gst/gstpluginfeature.c:
19574           widen the debug category in output to fit the biggest one we have
19575           add a bus category and use it
19576           play with the colors
19577           fix up some categories
19578
19579 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
19580
19581         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
19582           add push activation of sink ghost pads.
19583           Andye, please verify
19584
19585 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19586
19587         * gst/gstutils.c: (gst_element_link_pads):
19588           fix a bug in the case where neither element has a pad
19589         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
19590           add a test for that case
19591
19592 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
19593
19594         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
19595           emit have-data before checking for peers.  This allows
19596           for probe handlers to connect elements.  This helps autopluggers.
19597         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
19598         (gst_pad_suite):
19599           add six checks, linked/unlinked with no/true/false probe
19600
19601 2005-10-04  Wim Taymans  <wim@fluendo.com>
19602
19603         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
19604         (gst_fake_sink_event), (gst_fake_sink_preroll),
19605         (gst_fake_sink_render), (gst_fake_sink_change_state):
19606         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
19607         (gst_fake_src_get_property), (gst_fake_src_create),
19608         (gst_fake_src_stop):
19609         * gst/elements/gstidentity.c: (gst_identity_stop):
19610         Protect last_message with lock.
19611
19612 2005-10-04  Edward Hervey  <edward@fluendo.com>
19613
19614         * gst/gstformat.h: 
19615         Added precision in the comments for GST_FORMAT_DEFAULT
19616
19617 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
19618
19619         * tools/gst-launch.c: (main):
19620           Don't try to run erroneous pipelines.
19621
19622 2005-10-04  Julien MOUTTE  <julien@moutte.net>
19623
19624         * gst/gstbus.c: We don't need this header.
19625
19626 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * configure.ac:
19629           back to development
19630
19631 === release 0.9.3 ===
19632
19633 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19634
19635         * README:
19636         * configure.ac:
19637           Releasing 0.9.3, "Unregistered"
19638
19639 2005-10-03  Andy Wingo  <wingo@pobox.com>
19640
19641         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
19642         whereby calling a pad's activatepush() function can start a thread
19643         that starts to push or pull before the pad gets the FLUSHING flag
19644         unset. Hack around it by holding the stream lock until the flag is
19645         set. Need to replace this with a proper solution. Together with
19646         the ghost pad fixes, this fixes mp3 playing/tagreading.
19647
19648         * docs/design/part-gstghostpad.txt: Add a note about activation of
19649         proxy pads outside of ghost pads.
19650
19651         * gst/gstghostpad.c: Implement the ghost pad activation design.
19652
19653 2005-10-02  Andy Wingo  <wingo@pobox.com>
19654
19655         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
19656         It is volatile, after all.
19657
19658         * docs/design/part-gstghostpad.txt: Flesh out activation with
19659         ghost pads.
19660
19661         * gst/base/gstbasesrc.c (gst_base_src_init): Use
19662         GST_DEBUG_FUNCPTR.
19663
19664 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
19665
19666         * configure.ac:
19667           Fix (unused) AM_CONDITIONAL tests.
19668
19669 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
19670
19671         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19672
19673         * gst/gstutils.c: (gst_pad_query_convert):
19674           Add assertion that makes sure src_val is >=0, just like
19675           gst_query_new_convert() has. (#315895)
19676
19677 2005-09-30  Edward Hervey  <edward@fluendo.com>
19678
19679         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
19680         Let's not iterate pads we're not interested in, it avoids getting 
19681         sky-high refcounts on sinkpad.
19682
19683 2005-09-30  Wim Taymans  <wim@fluendo.com>
19684
19685         * gst/gstelement.c: (gst_element_set_state),
19686         (gst_element_change_state):
19687         Small tweak, element in ASYNC remains ASYNC.
19688
19689 2005-09-30  Wim Taymans  <wim@fluendo.com>
19690
19691         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19692         Only error is an error.
19693
19694         * gst/gstbin.c: (gst_bin_change_state):
19695         Better debugging.
19696
19697         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
19698         Also call pad_block in pad alloc.
19699
19700         * gst/gstutils.c: (gst_flow_get_name):
19701         Better debugging.
19702
19703 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19704
19705         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19706         (gst_base_src_get_range):
19707           Fix documentation typos. Add some more debug info.
19708
19709 2005-09-29  David Schleef  <ds@schleef.org>
19710
19711         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
19712           more end-user friendly.
19713         * tools/gst-inspect.c: (main): Check if command-line argument is
19714           a file and attempt to load that file as a plugin.
19715
19716 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19717
19718         * check/gst/gstbin.c:
19719         * check/states/sinks.c:
19720           fix tests for the new warning
19721         * check/gst/gstpipeline.c:
19722           add a test for pipeline and bus interaction
19723         * gst/gstelement.c:
19724           elements should be NULL if they get disposed; add a warning if not
19725
19726 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19727
19728         * gst/gstobject.c:
19729           for 2.6 refcounting, make debug log more correct by printing
19730           the actual refcounts at the time of swap (Wim)
19731
19732 2005-09-29  Andy Wingo  <wingo@pobox.com>
19733
19734         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
19735         removes signal watches previously added via
19736         gst_bus_add_signal_watch.
19737         (gst_bus_add_signal_watch): Don't return the source id, just store
19738         it on the bus if there wasn't an id already.
19739
19740         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
19741         add_signal_watch and remove_signal_watch.
19742
19743 2005-09-29  Edward Hervey  <edward@fluendo.com>
19744
19745         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
19746         Better if we actually iterate the list :)
19747
19748 2005-09-29  Wim Taymans  <wim@fluendo.com>
19749
19750         * check/gst/gstbin.c: (GST_START_TEST):
19751         Change for new bus API.
19752
19753         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19754         (send_messages), (GST_START_TEST), (gstbus_suite):
19755         Change for new bus signal API.
19756
19757         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
19758         (gst_bus_source_prepare), (gst_bus_source_check),
19759         (gst_bus_create_watch), (gst_bus_add_watch_full),
19760         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
19761         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
19762         * gst/gstbus.h:
19763         Remove support for multiple GSources operating on different
19764         message types as it is too complex and unneeded when using
19765         signals.
19766         Added support for receiving signals from the bus.
19767
19768 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
19769
19770         * docs/libs/tmpl/gstdataprotocol.sgml:
19771         * docs/manual/advanced-dataaccess.xml:
19772         * gst/elements/gstcapsfilter.c:
19773         * gst/gstutils.c:
19774           rename filter-caps to caps property
19775
19776 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19777
19778         * gst/gstvalue.c: (gst_value_deserialize_fraction):
19779           More robust fraction string parsing.
19780
19781         * docs/pwg/appendix-porting.xml:
19782           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
19783
19784 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
19785
19786         * gst/gstcaps.c: (gst_caps_do_simplify):
19787           Thou shalt not free a structure and then continue using it
19788           in the next loop iteration.
19789
19790         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
19791         (gst_caps_suite):
19792           Add test case for caps simplification.
19793
19794 2005-09-29  Wim Taymans  <wim@fluendo.com>
19795
19796         * check/gst/gstbin.c: (GST_START_TEST):
19797         Oops.
19798
19799 2005-09-29  Wim Taymans  <wim@fluendo.com>
19800
19801         * check/gst/gstbin.c: (GST_START_TEST):
19802         Add bus to bin.
19803
19804         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19805         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19806         (find_element), (gst_bin_sort_iterator_next),
19807         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19808         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19809         (gst_bin_change_state), (gst_bin_dispose):
19810         A bin does not have a bus, it gets the bus from the parent.
19811
19812         * gst/gstelement.c: (gst_element_requires_clock),
19813         (gst_element_provides_clock), (gst_element_is_indexable),
19814         (gst_element_is_locked_state), (gst_element_change_state),
19815         (gst_element_set_bus_func):
19816         Small cleanups.
19817
19818         * gst/gstpipeline.c: (gst_pipeline_class_init),
19819         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19820         The pipeline provides a bus.
19821
19822 2005-09-28  Johan Dahlin  <johan@gnome.org>
19823
19824         * gst/gstmessage.c (gst_message_parse_state_changed): Use
19825         gst_structure_get_enum instead of gst_structure_get_int
19826
19827         * gst/gststructure.c (gst_structure_get_enum): Impl.
19828
19829         * gst/gststructure.h (gst_structure_get_enum): Add
19830
19831         * docs/gst/gstreamer-sections.txt: Ditto
19832
19833         * gst/gstmessage.c (gst_message_new_state_changed): Use
19834         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19835         which does introspection.
19836         Reviewed by Christian Schaller
19837
19838 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19839
19840         * gst/gstinfo.c: (gst_debug_log_default):
19841           don't do dummy g_strdup()s
19842         * libs/gst/controller/gstcontroller.c:
19843         (on_object_controlled_property_changed),
19844         (gst_controlled_property_new), (gst_controller_new_valist),
19845         (gst_controller_new_list),
19846         (gst_controller_remove_properties_valist), (gst_controller_set),
19847         (gst_controller_get), (gst_controller_sync_values),
19848         (gst_controller_get_value_array), (_gst_controller_class_init),
19849         (gst_controller_get_type):
19850         * libs/gst/controller/gstcontroller.h:
19851         * libs/gst/controller/gstinterpolation.c:
19852         (gst_controlled_property_find_timed_value_node):
19853           convert // to /**/ comments
19854
19855 2005-09-28  Wim Taymans  <wim@fluendo.com>
19856
19857         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19858         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19859         (gst_bus_sync_signal_handler):
19860         * gst/gstbus.h:
19861         Added async-message and sync-message signals to the bus.
19862         Added helper BusFunc to emit signals for all posted messages.
19863
19864         * gst/gstmessage.c: (gst_message_type_get_name),
19865         (gst_message_type_to_quark), (gst_message_get_type):
19866         * gst/gstmessage.h:
19867         Register quarks for message names.
19868
19869 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19870
19871         * docs/libs/gstreamer-libs-sections.txt:
19872         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19873         (gst_controller_new_list):
19874         * libs/gst/controller/gstcontroller.h:
19875           added another constructor for language bindings
19876
19877 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19878
19879         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19880           add another check
19881         * gst/gstbus.c:
19882           add some doc
19883         * gst/gstinfo.c: (_gst_debug_init):
19884           slightly more readable color for refcount debugging
19885
19886 2005-09-28  Wim Taymans  <wim@fluendo.com>
19887
19888         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19889         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19890         (find_element), (gst_bin_sort_iterator_next),
19891         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19892         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19893         (gst_bin_change_state), (gst_bin_dispose):
19894         Small doc fixes. get_clock -> provide_clock.
19895
19896         * gst/gstelement.c: (gst_element_class_init),
19897         (gst_element_provides_clock), (gst_element_provide_clock),
19898         (gst_element_get_clock), (gst_element_commit_state),
19899         (gst_element_lost_state):
19900         * gst/gstelement.h:
19901         Make get/set_clock() symetric. Add provide_clock vmethod since
19902         that is actually what this function does.
19903
19904         * gst/gstpipeline.c: (gst_pipeline_class_init),
19905         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19906         (gst_pipeline_get_clock):
19907         get_clock -> provide_clock.
19908
19909 2005-09-28  Andy Wingo  <wingo@pobox.com>
19910
19911         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19912         lieu of real docs...
19913
19914         * gst/elements/gstfdsrc.c: Cleaned up a bit.
19915
19916 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
19917
19918         * gst/elements/gstcapsfilter.c:
19919         * gst/elements/gstfakesink.c:
19920         * gst/elements/gstfakesrc.c:
19921         * gst/elements/gstfdsink.c:
19922         * gst/elements/gstfdsrc.c:
19923         * gst/elements/gstfilesink.c:
19924         * gst/elements/gstfilesrc.c:
19925         * gst/elements/gstidentity.c:
19926         * gst/elements/gsttee.c:
19927         * gst/elements/gsttypefindelement.c:
19928           Make element details static.
19929
19930 2005-09-28  Wim Taymans  <wim@fluendo.com>
19931
19932         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19933         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19934         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19935         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19936         (gst_bin_change_state), (gst_bin_dispose):
19937         Some documentation updates.
19938         Clean up dispose handlers.
19939
19940         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19941         * gst/gstpad.c: (gst_pad_dispose):
19942         Clean up dispose handler.
19943
19944         * gst/gstpipeline.c: (gst_pipeline_change_state):
19945         Removed spurious UNLOCK.
19946
19947 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19948
19949         * docs/gst/gstreamer-sections.txt:
19950         * gst/base/gstbasesrc.h:
19951         * gst/gstelement.h:
19952         * gst/gstevent.h:
19953         * gst/gstobject.h:
19954         * gst/gstpad.h:
19955         * gst/gstpipeline.c:
19956         * gst/gstpipeline.h:
19957         * gst/gstutils.h:
19958         * gst/gstxml.h:
19959           added two new functions to the docs
19960                 documents all undocumented GstXXXFlags
19961                 completed some incomplete docs 
19962
19963 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19964
19965         * gst/gstbin.c: (gst_bin_dispose):
19966         * gst/gstelement.c: (gst_element_dispose):
19967           remove now useless and leaky resurrection code in dispose
19968         * gst/base/gstbasesrc.c: (gst_base_src_init):
19969         * gst/gstelementfactory.c: (gst_element_factory_create):
19970         * gst/gstobject.c: (gst_object_set_parent):
19971           add some debugging
19972
19973 2005-09-27  Wim Taymans  <wim@fluendo.com>
19974
19975         * docs/design/part-TODO.txt:
19976         Update TODO.
19977
19978         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19979         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19980         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19981         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19982         (gst_bin_change_state):
19983         * gst/gstelement.h:
19984         Remove element variable, we keep element info in the iterator now.
19985
19986 2005-09-27  Andy Wingo  <wingo@pobox.com>
19987
19988         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19989         values.
19990
19991 2005-09-27  Wim Taymans  <wim@fluendo.com>
19992
19993         * check/gst/gstbin.c: (GST_START_TEST):
19994         Enable check that works now.
19995
19996         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19997         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19998         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19999         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20000         (gst_bin_change_state):
20001         * gst/gstbin.h:
20002         Redid the state change algorithm using a topological sort algo.
20003         Handles all cases correctly.
20004         Exposed iterator for state change order.
20005
20006         * gst/gstelement.h:
20007         Temp storage for state changes. Need to get rid of this soon.
20008
20009 2005-09-27  Wim Taymans  <wim@fluendo.com>
20010
20011         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
20012         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
20013         (link_fold_func), (gst_pad_proxy_setcaps):
20014         Leak fixes, the fold functions need to unref the passed object and
20015         _get_parent_*() returns ref to parent.
20016
20017 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20018
20019         * check/gst/gstbuffer.c: (test_make_writable):
20020           Plug leak in test case and fix 'make check-valgrind'
20021
20022 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20023
20024         * gst/gstbuffer.c: (gst_subbuffer_init):
20025           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
20026           works correctly in all circumstances (we could have just copied
20027           the parent buffer's readonly flag, but conceptually it seems
20028           cleaner to mark all subbuffers as read-only). (based on patch
20029           by Alessandro Decina, #314710).
20030         
20031         * check/gst/gstbuffer.c: (create_read_only_buffer),
20032         (test_make_writable), (test_subbuffer_make_writable),
20033         (gst_test_suite):
20034           Add some tests for gst_buffer_make_writable().
20035
20036 2005-09-27  Wim Taymans  <wim@fluendo.com>
20037
20038         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
20039         use gst_object_has_ancestor().
20040
20041         * gst/gstobject.c: (gst_object_has_ancestor):
20042         * gst/gstobject.h:
20043         gst_object_has_ancestor() copied from gstbin.c as it is a
20044         useful function.
20045
20046         * tests/instantiate/create.c: (create_all_elements):
20047         * tests/lat.c: (handoff_src), (handoff_sink):
20048         * tests/sched/runxml.c: (main):
20049         * tests/seeking/seeking1.c: (main):
20050         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
20051         (main):
20052         Fix compilation of some tests.
20053
20054 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
20055
20056         * gst/gsterror.h:
20057           Remove comment. GST_TYPE_G_ERROR is here to stay,
20058           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
20059           (#316961, #300610).
20060
20061 2005-09-26  Wim Taymans  <wim@fluendo.com>
20062
20063         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
20064         Added check that shows error in state change order.
20065
20066 2005-09-26  Wim Taymans  <wim@fluendo.com>
20067
20068         * gst/gstbin.c: (gst_bin_change_state):
20069         Make state change function use 3 queues again, we were
20070         adding elements in the wrong order.
20071
20072         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
20073         Some debug info,
20074
20075         * gst/gstpad.c: (gst_pad_dispose):
20076         Added some debug info first.
20077
20078 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
20079
20080         * docs/design/draft-push-pull.txt:
20081         * docs/design/part-events.txt:
20082         * docs/design/part-overview.txt:
20083         * docs/design/part-scheduling.txt:
20084           Replace all _pull_region() with _pull_range()
20085           
20086 2005-09-26  Andy Wingo  <wingo@pobox.com>
20087
20088         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
20089
20090         * check/gst-libs/controller.c: Update for controller api change.
20091
20092         * configure.ac: 
20093         * tests/Makefile.am:
20094         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
20095         over by GLib bug 118439.
20096         
20097         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
20098         routines to a function.
20099
20100         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
20101
20102         * libs/gst/controller/gsthelper.c:
20103         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
20104         (gst_object_sync_values): Renamed from sink_values. Ugh.
20105
20106         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
20107
20108         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
20109         Renamed from controller_key, as it is exported.
20110
20111         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
20112
20113 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20114
20115         * gst/Makefile.am:
20116         * gst/gst.h:
20117         * gst/gstpad.h:
20118         * gst/gstpadtemplate.h:
20119         * gst/gstquery.c:
20120         * gst/gstquery.h:
20121         * gst/gstqueryutils.c:
20122         * gst/gstqueryutils.h:
20123           remove queryutils headers after moving the two used functions
20124           to gstquery.  also fixes build problem for gstsiddec
20125
20126 2005-09-26  Michael Smith <msmith@fluendo.com>
20127
20128         * tools/gst-launch.1.in:
20129         Correct documentation in manpage of debug syntax
20130
20131 2005-09-26  Wim Taymans  <wim@fluendo.com>
20132
20133         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
20134         (gst_base_src_is_seekable), (gst_base_src_change_state):
20135         Some more debugging info.
20136
20137 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20138
20139         * docs/gst/gstreamer-sections.txt:
20140         * gst/base/gstbasetransform.h:
20141         * gst/gstindex.h:
20142           added more docs
20143
20144 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20145
20146         * docs/gst/.cvsignore:
20147         * docs/gst/tmpl/.cvsignore:
20148         * docs/gst/tmpl/gstpipeline.sgml:
20149         * docs/gst/tmpl/gstplugin.sgml:
20150         * gst/gstpipeline.c:
20151         * gst/gstplugin.c:
20152         * gst/gstplugin.h:
20153           inlined the last two docs files
20154           removed the tmpl directory from cvs (no more conflicts here!)
20155
20156 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
20157
20158         * docs/gst/gstreamer-sections.txt:
20159         * docs/gst/tmpl/.cvsignore:
20160         * docs/gst/tmpl/gstpad.sgml:
20161         * docs/gst/tmpl/gstpadtemplate.sgml:
20162         * gst/Makefile.am:
20163         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
20164         (gst_pad_finalize), (gst_pad_set_pad_template):
20165         * gst/gstpad.h:
20166         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
20167         (gst_pad_template_class_init), (gst_pad_template_init),
20168         (gst_pad_template_dispose), (name_is_valid),
20169         (gst_static_pad_template_get), (gst_pad_template_new),
20170         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
20171         (gst_pad_template_pad_created):
20172         * gst/gstpadtemplate.h:
20173           inlined two more docs
20174           factored gstpadtemplate out of gstpad
20175
20176 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
20177
20178         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20179         (test_children_state_change_order_semi_sink):
20180           Fix test case: we can't rely on a fixed state change order when
20181           going from READY => PAUSED because the sink might commit its 
20182           new state first when the first buffer created by the source 
20183           reaches the sink before the source has finished its change state.
20184           (Test case still fails at times, see #316856, comment 5 onwards)
20185
20186 2005-09-24  Wim Taymans  <wim@fluendo.com>
20187
20188         * docs/design/part-events.txt:
20189         * docs/design/part-gstbus.txt:
20190         * docs/design/part-gstpipeline.txt:
20191         * docs/design/part-messages.txt:
20192         * docs/design/part-overview.txt:
20193         * docs/design/part-segments.txt:
20194         * gst/gstbin.c:
20195         * gst/gstbuffer.c:
20196         * gst/gstclock.c:
20197         * gst/gstelement.c:
20198         * gst/gstevent.c:
20199         * gst/gstfilter.c:
20200         * gst/gstiterator.c:
20201         Various documentation updates.
20202
20203 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
20204
20205         * gst/gstclock.h:
20206           Well, that's embarassing.  Luckily we weren't using
20207           GST_CLOCK_DIFF anywhere.
20208
20209 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20210
20211         * common/gtk-doc.mak:
20212           don't fail on building XML, FC4 slave shows a bunch of doc
20213           missing bits that I don't get
20214         * gst/gstpad.c:
20215         * gst/gstpipeline.c:
20216         * gst/gststructure.c:
20217           some doc updates
20218
20219 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20220
20221         * docs/design/part-gstbin.txt:
20222         * docs/design/part-gstbus.txt:
20223         * gst/gstbus.c:
20224           Add blurb about how the bus goes into flushing mode and
20225           drops all messages when its bin goes from READY into NULL 
20226           state.
20227
20228 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20229
20230         * docs/gst/gstreamer-sections.txt:
20231         * gst/gststructure.c: (gst_structure_get_clock_time):
20232         * gst/gststructure.h:
20233           add a method to get a GstClockTime out of a structure
20234
20235 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
20236
20237         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
20238         (test_children_state_change_order_semi_sink), (gst_bin_suite):
20239           Added test to check state change order in bins (can still be made
20240           to fail here under heavy disk load; bails out with 'Push on pad
20241           fakesink:sink0, but it was not activated in push mode').
20242
20243         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
20244           Fix state change order when there is only a semi sink (#316856)
20245
20246         * gst/gstbus.c: (gst_bus_class_init):
20247           Use _class_peek_parent(), not _class_ref(); fix docs to say
20248           'default main context' instead of 'mainloop' where that is
20249           what's meant.
20250
20251         * gst/gstelement.c: (gst_element_commit_state),
20252         (gst_element_set_state):
20253           Fix typos in debug messages
20254
20255 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20256
20257         * docs/README:
20258         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
20259         * gst/gstpluginfeature.c:
20260         * gst/gstutils.c:
20261           various doc updates
20262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20263           change an assert into an error until it gets fixed properly
20264
20265 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
20266
20267         * docs/gst/gstreamer-sections.txt:
20268         * docs/gst/tmpl/.cvsignore:
20269         * docs/gst/tmpl/gstelement.sgml:
20270         * docs/gst/tmpl/gstinfo.sgml:
20271         * docs/gst/tmpl/gstobject.sgml:
20272         * gst/gstelement.c:
20273         * gst/gstelement.h:
20274         * gst/gstinfo.c:
20275         * gst/gstinfo.h:
20276         * gst/gstobject.c: (gst_object_class_init):
20277         * gst/gstobject.h:
20278           inlined 3 more biiiig doc files and added some missing docs on the fly
20279
20280 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20281
20282         * check/gst/.cvsignore:
20283         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
20284         * gst/gstregistryxml.c: (load_plugin),
20285         (gst_registry_xml_save_plugin):
20286           put back source in registry.  add checks for find_plugin.
20287         * testsuite/states/bin.c: (assert_state), (empty_bin),
20288         (test_adding_one_element), (main):
20289         * testsuite/states/locked.c: (main):
20290           some compile/run fixes
20291
20292 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20293
20294         * check/gst/gstvalue.c: (GST_START_TEST):
20295           fix leaks in the test itself
20296
20297 2005-09-22  Wim Taymans  <wim@fluendo.com>
20298
20299         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20300         (gst_base_sink_send_event), (gst_base_sink_peer_query),
20301         (gst_base_sink_query):
20302         Prepare for more accurate position reporting and query
20303         handling.
20304
20305         * gst/gstelement.c: (gst_element_send_event),
20306         (gst_element_set_state):
20307         Add some comment.
20308
20309 2005-09-22  Wim Taymans  <wim@fluendo.com>
20310
20311         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
20312         (gst_query_parse_segment):
20313         * gst/gstquery.h:
20314         More documentation.
20315         Add segment query for future use.
20316
20317 2005-09-22  Wim Taymans  <wim@fluendo.com>
20318
20319         * gst/gstbin.c: (gst_bin_add_func):
20320         Some more debug info.
20321
20322         * gst/gstelement.c: (gst_element_send_event):
20323         Simplify send_event
20324
20325         * gst/gstelement.h:
20326         Don't know how flags got broken.
20327
20328         * gst/gstquery.h:
20329         Added new query.
20330
20331 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20332
20333         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
20334           Add simplistic test suite for GST_TYPE_DATE serialisation and
20335           deserialisation.
20336
20337 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
20338
20339         * docs/gst/gstreamer-sections.txt:
20340         * gst/gststructure.c: (gst_structure_set_valist),
20341         (gst_structure_get_date):
20342         * gst/gststructure.h:
20343         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
20344         (gst_date_copy), (gst_value_compare_date),
20345         (gst_value_serialize_date), (gst_value_deserialize_date),
20346         (gst_value_transform_date_string),
20347         (gst_value_transform_string_date), (_gst_value_initialize):
20348         * gst/gstvalue.h:
20349           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
20350           bunch of utility functions along with a hack that checks that
20351           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
20352           is required. Part of the grand scheme in #170777.
20353
20354 2005-09-22  Andy Wingo  <wingo@pobox.com>
20355
20356         * gst/gstconfig.h.in: Psych out gtk-doc.
20357
20358         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
20359
20360         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
20361
20362         * tools/gst-inspect.c (print_element_list): Plug some
20363         inconsequential leaks.
20364
20365         * gst/gstregistry.c (gst_registry_get_default): Doc.
20366
20367         * check/gst/gstplugin.c: 
20368         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
20369         * gst/gstelementfactory.c (gst_element_factory_create): 
20370         * gst/gstindexfactory.c (gst_index_factory_create): Update for
20371         refcount changes.
20372
20373         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
20374         (gst_plugin_feature_load): Doc, don't eat refs.
20375
20376         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
20377         (gst_plugin_list_free): Doc.
20378         (gst_plugin_load_file): Doc updates.
20379
20380         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
20381         accessors returning refcounted objects, return a ref.
20382
20383         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
20384         accessor for caps. IDEMPOTENCE. Oh yes.
20385
20386 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
20387
20388         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20389
20390         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
20391         (_gst_debug_register_funcptr):
20392           Add mutex to serialise access to the hash table with
20393           the function pointer => function name string mapping;
20394           make that hash table static scope (#316809).
20395
20396         * gst/registries/.cvsignore:
20397           Remove left-over file.
20398
20399 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20400
20401         * docs/pwg/appendix-porting.xml:
20402           And something about newsegment events and caps-on-buffers to
20403           the porting guide (feel free to improve).
20404
20405 2005-09-21  Andy Wingo  <wingo@pobox.com>
20406
20407         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
20408         data and event probes on the same pad.
20409         (test_buffer_probe_once): Test that removing probes from within
20410         the probe functions works.
20411
20412 2005-09-21  Andy Wingo  <wingo@pobox.com>
20413
20414         * check/gst/gstutils.c: New file.
20415         (test_buffer_probe_n_times): A simple buffer probe test. More to
20416         come, foolios.
20417
20418         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
20419         have-data::buffer, not have-data.
20420         (gst_pad_add_event_probe): Likewise for have-data::event.
20421         (gst_pad_add_data_probe): More docs. The part about 'resolving the
20422         peer' isn't quite right yet though.
20423         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
20424         (gst_pad_remove_data_probe): Change to take the guint handler_id
20425         as their arg, not the function+data, which is more glib-like.
20426
20427         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
20428         the signal emission to indicate if the data is a buffer or an
20429         event.
20430         (gst_pad_get_type): Initialize buffer and event quarks.
20431         (gst_pad_class_init): have-data is now a detailed signal, yes it
20432         is.
20433
20434 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
20435
20436         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20437         * gst/gstutils.c: (gst_util_set_value_from_string),
20438         (gst_util_set_object_arg):
20439           Don't put functional code in g_return_if_fail() or
20440           g_return_val_if_fail() statements, otherwise things will 
20441           break when G_DISABLE_CHECKS is defined during compilation.
20442
20443 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20444
20445         * docs/gst/tmpl/.cvsignore:
20446         * docs/gst/tmpl/gstvalue.sgml:
20447         * gst/gstvalue.c:
20448         * gst/gstvalue.h:
20449           inlied another one and added  some obvious docs
20450
20451 2005-09-21  Wim Taymans  <wim@fluendo.com>
20452
20453         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
20454         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
20455         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
20456         (gst_fdsrc_get_property), (gst_fdsrc_create):
20457         * gst/elements/gstfdsrc.h:
20458         Properly implement fdsrc. Removed signal and timeout,
20459         better implemented somewhere else.
20460
20461 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20462
20463         * docs/gst/tmpl/.cvsignore:
20464         * docs/gst/tmpl/gstimplementsinterface.sgml:
20465         * gst/gstinterface.c:
20466           inlined more docs
20467
20468 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20469
20470         * docs/gst/gstreamer-sections.txt:
20471         * docs/gst/tmpl/.cvsignore:
20472         * docs/gst/tmpl/gstenumtypes.sgml:
20473           remove obsolete doc file
20474
20475 2005-09-21  David Schleef  <ds@schleef.org>
20476
20477         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
20478         little beer, fix a little leak.
20479
20480 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
20481
20482         * docs/gst/gstreamer-docs.sgml:
20483         * docs/gst/gstreamer-sections.txt:
20484         * docs/gst/tmpl/.cvsignore:
20485         * gst/Makefile.am:
20486         * gst/gst.h:
20487         * gst/gstbin.c:
20488         * gst/gstelement.h:
20489         * gst/gstindex.c: (gst_index_class_init):
20490         * gst/gstindex.h:
20491         * gst/gstindexfactory.c: (gst_index_factory_get_type),
20492         (gst_index_factory_class_init), (gst_index_factory_init),
20493         (gst_index_factory_finalize), (gst_index_factory_new),
20494         (gst_index_factory_destroy), (gst_index_factory_find),
20495         (gst_index_factory_create), (gst_index_factory_make):
20496         * gst/gstindexfactory.h:
20497         * gst/gstpluginfeature.c:
20498         * gst/gstpluginfeature.h:
20499         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20500           more docs inlined, splitted gstindex.{c,h}
20501
20502 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20503
20504         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20505           fix a leak
20506
20507 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20508
20509         * gst/elements/gstfilesink.c: (gst_file_sink_init):
20510           Set sync to FALSE by default.
20511
20512 2005-09-20  Wim Taymans  <wim@fluendo.com>
20513
20514         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20515         (gst_base_sink_init):
20516         Make sync property settable from subclass.
20517
20518         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20519         (gst_fake_sink_change_state):
20520         Set sync to FALSE by default.
20521
20522 2005-09-20  Wim Taymans  <wim@fluendo.com>
20523
20524         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
20525         * tools/gst-launch.c: (main):
20526         The timeout handler should have lower priority than the source
20527         so we don't timeout before popping a message with 0 timeout.
20528         Dump error messages after failed state change.
20529
20530 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
20531
20532         * tools/gst-inspect.c: (print_element_properties_info):
20533           Fix two typos.
20534
20535 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20536
20537         * check/gst/gstevent.c:
20538         * gst/elements/gstfakesink.c:
20539         * gst/elements/gstfakesink.h:
20540           remove the sync property from fakesink.
20541           has the side effect of setting sync TRUE
20542           for fakesink, which is a change.  Anyone who knows how
20543           to fix this nicely in a GObject-y way, feel free.
20544
20545 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20546
20547         * docs/gst/gstreamer-docs.sgml:
20548           remove probe refsection
20549
20550 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20551
20552         * check/Makefile.am:
20553           disable valgrinding the controller test again
20554         * docs/gst/gstreamer-sections.txt:
20555           update for api-changes
20556
20557 2005-09-20  Wim Taymans  <wim@fluendo.com>
20558
20559         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
20560         (gst_base_sink_set_property), (gst_base_sink_get_property),
20561         (gst_base_sink_do_sync):
20562         * gst/base/gstbasesink.h:
20563         Added sync property to basesink to disable clock sync.
20564
20565 2005-09-20  Andy Wingo  <wingo@pobox.com>
20566
20567         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
20568         eating the caller's refcount.
20569
20570         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
20571         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
20572         refcount.
20573
20574         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
20575         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
20576         of GLib 2.8 public, so we can know which refcount to check in
20577         tests.
20578
20579         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
20580         (gst_object_init): Only set the gst refcount if we're going ahead
20581         with the refcount hack.
20582
20583 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20584
20585         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20586         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
20587           more leaks plumbed, added more debug-logging
20588         * gst/gstmacros.h:
20589           whitespace fix
20590
20591 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20592
20593         * gst/gstmessage.c:
20594           remove include of gstmemchunk.h
20595
20596 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20597
20598         * gst/gstclock.c: (_gst_clock_id_free):
20599           Commit from the Political Party For More Atomic CVS Commits,
20600           so that people don't waste too much of their day fishing
20601           out obvious leaks out of massive commits.
20602           Oh, and fix a pretty damn obvious leak in the memchunk
20603           removal code.
20604
20605 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
20606
20607         * check/Makefile.am:
20608         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
20609           plug mem-leak, re-add to valgrindable tests
20610
20611 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
20612
20613         * gst/gstplugin.h:
20614           unbreak the build for those who have chronic arthritis
20615           and typing "make check" is just too taxing on the hands
20616
20617 2005-09-20  Andy Wingo  <wingo@pobox.com>
20618
20619         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
20620         really want it out, you should fix plugins at the same time.
20621
20622 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
20623
20624         * configure.ac:
20625         * docs/gst/gstreamer-sections.txt:
20626         * gst/gstobject.c:
20627           added missing symbols to api docs
20628           disable ref-count hack if we have glib >= 2.8
20629
20630 2005-09-19  David Schleef  <ds@schleef.org>
20631
20632         * docs/gst/Makefile.am: Ignore a few more internal headers
20633         * docs/gst/gstreamer-docs.sgml: Remove old sections
20634         * docs/gst/gstreamer-sections.txt: Remove old sections
20635         * docs/gst/tmpl/gstobject.sgml: update
20636         * docs/gst/tmpl/gstplugin.sgml: update
20637         * docs/gst/tmpl/gstpluginfeature.sgml: update
20638         * docs/random/ds/0.9-suggested-changes: update.
20639         * gst/Makefile.am: remove memchunk and trashstack, since they're
20640           not used.
20641         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
20642         * gst/gst.h: don't include some headers
20643         * gst/gstchildproxy.c: add gstmarshal.h
20644         * gst/gstclock.c: Don't use memchunks
20645         * gst/gstminiobject.c: Add some docs
20646         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
20647         * gst/gstobject.h: same
20648         * gst/gstplugin.c: include gstmacros.h
20649         * gst/gstplugin.h: don't include gstmacros.h, since it's private
20650         * gst/gstquery.c: don't use memchunks
20651         * gst/gstregistry.c: rename gst_registry_deinit()
20652         * gst/gstregistry.h: same
20653
20654 2005-09-19  David Schleef  <ds@schleef.org>
20655
20656         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
20657         * docs/libs/gstreamer-libs-sections.txt:
20658         * docs/libs/tmpl/gstgetbits.sgml:
20659         * docs/libs/tmpl/gstputbits.sgml:
20660
20661 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
20662
20663         * win32/gstenumtypes.c:
20664         * win32/gstenumtypes.h:
20665           Update.
20666
20667 2005-09-19  Wim Taymans  <wim@fluendo.com>
20668
20669         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
20670         Automatically PAUSE and RESUME a pipeline when a flushing seek
20671         is performed.
20672
20673 2005-09-19  Andy Wingo  <wingo@pobox.com>
20674
20675         * gst/gstregistry.h: Spacing fixen.
20676
20677 2005-09-19  Wim Taymans  <wim@fluendo.com>
20678
20679         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
20680         Handle state change failure more correctly.
20681
20682 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20683
20684         * check/Makefile.am:
20685         * check/pipelines/cleanup.c: (run_pipeline):
20686         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20687         (GST_START_TEST):
20688           enable cleanup again after fixing the leak
20689         * docs/README:
20690           some more info on docs
20691
20692 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20693
20694         * check/Makefile.am:
20695           re-enable tests now that leaks are plugged
20696         * check/gst/gst.c:
20697         * check/gst/gstbin.c:
20698         * check/gst/gstpipeline.c:
20699           add some more tests while fixing leaks
20700         * common/check.mak:
20701           make sure binaries are uptodate when valgrinding/gdbing
20702         * gst/gst.c:
20703         * gst/gstelementfactory.c:
20704           remove a ref too many, and add a FIXME for when we get
20705           round to disposing of classes
20706         * gst/gstplugin.c:
20707           fix the refcounting when loading a plugin from a file and
20708           the code pretends that the pointer is the same even though
20709           of course it can change
20710         * gst/gstpluginfeature.c:
20711           unref plugins marked cached (a bit confusing as a name)
20712           as the docs state should be done
20713           various doc additions to explain refcounting
20714         * gst/gstregistry.c:
20715         * gst/gstregistryxml.c:
20716           debugging
20717
20718 2005-09-19  Wim Taymans  <wim@fluendo.com>
20719
20720         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
20721         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20722         (send_messages), (GST_START_TEST), (gstbus_suite):
20723         * check/gst/gstpipeline.c: (GST_START_TEST):
20724         * check/pipelines/cleanup.c: (run_pipeline):
20725         * check/pipelines/simple_launch_lines.c: (run_pipeline),
20726         (GST_START_TEST):
20727         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
20728         (gst_bus_source_check), (gst_bus_source_dispatch),
20729         (gst_bus_create_watch), (gst_bus_add_watch_full),
20730         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
20731         * gst/gstbus.h:
20732         * tools/gst-launch.c: (event_loop):
20733         * tools/gst-md5sum.c: (event_loop):
20734         GstBusHandler -> GstBusFunc, return value has the same meaning as
20735         any other GSource (FALSE == remove source).
20736         _add_watch() and _add_watch_full() now take a MessageType mask to
20737         only handle specific types of messages.
20738         _poll() returns the GstMessage instead of the message type to avoid
20739         race conditions.
20740         _have_pending() takes a MessageType mask now too.
20741         Added testsuite for multiple bus watches.
20742         Fix testsuites and applications for new bus API.
20743
20744 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20745
20746         * check/Makefile.am:
20747           mark a bunch of the tests as to fix until we fix them
20748
20749 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20750
20751         * common/check.mak:
20752           use GST_PLUGIN settings for valgrind tests as well, so we're
20753           valgrinding the correct thing
20754         * gst/gst.c: (init_post):
20755           plug another leak
20756
20757 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20758
20759         * gst/gst.c: (init_post), (gst_deinit):
20760         * gst/gstelementfactory.c: (gst_element_factory_class_init),
20761         (gst_element_factory_finalize), (gst_element_factory_cleanup):
20762         * gst/gstindex.c: (gst_index_factory_class_init),
20763         (gst_index_factory_finalize):
20764         * gst/gstobject.c: (gst_object_dispose):
20765         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
20766         (gst_plugin_load_file), (gst_plugin_desc_free):
20767         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
20768         (gst_plugin_feature_finalize):
20769         * gst/gstregistry.c: (gst_registry_class_init),
20770         (gst_registry_init), (gst_registry_finalize),
20771         (gst_registry_get_default), (gst_registry_deinit):
20772         * gst/gstregistry.h:
20773         * gst/gstregistryxml.c: (load_feature), (load_plugin):
20774           various cleanups and memleak plugging.  make valgrind is happy now.
20775
20776 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20777
20778         * common/check.mak:
20779           add a check-valgrind target
20780
20781 2005-09-18  David Schleef  <ds@schleef.org>
20782
20783         * tools/gst-inspect.c: Revert the GOption code.
20784
20785 2005-09-17  David Schleef  <ds@schleef.org>
20786
20787         * check/Makefile.am: Fix environment variables.
20788         * check/gst/gstplugin.c: Fix for API changes.
20789         * tools/gst-inspect.c: Fix for API changes.
20790         * tools/gst-xmlinspect.c: Fix for API changes.
20791         * gst/gstelementfactory.c:
20792         * gst/gstplugin.c:
20793         * gst/gstplugin.h:
20794         * gst/gstpluginfeature.c:
20795         * gst/gstpluginfeature.h:
20796         * gst/gstregistry.c:
20797         * gst/gstregistry.h:
20798         * gst/gstregistryxml.c:
20799         * gst/gsttypefind.c:
20800         * gst/gsttypefindfactory.c:
20801         * gst/indexers/gstfileindex.c:
20802         * gst/indexers/gstmemindex.c:
20803         * gst/schedulers/Makefile.am:
20804           Change registry to keep track of both plugins and features,
20805           removing the feature tracking from plugins themselves.
20806
20807 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20808
20809         * check/Makefile.am:
20810         * tools/gst-register.1.in:
20811           remove gst-register
20812
20813 2005-09-15  David Schleef  <ds@schleef.org>
20814
20815         * check/gst/gstplugin.c:
20816         * gst/gstelementfactory.c:
20817         * gst/gstplugin.c:
20818         * gst/gstpluginfeature.c:
20819         * gst/gstregistry.c:
20820           Getting tired of debugging.  Disabled all the unreffing of
20821           plugins and features, which fixes the segfaults, but of
20822           course leaks like crazy.  At least playbin works.
20823
20824 2005-09-15  David Schleef  <ds@schleef.org>
20825
20826         * check/gst/gstplugin.c: (register_check_elements),
20827         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20828         More testing
20829         * gst/elements/gsttypefindelement.c: Fix refcounting.
20830         * gst/gsttypefind.c:
20831         * gst/gsttypefindfactory.c:
20832         * gst/gsttypefindfactory.h:
20833
20834 2005-09-15  David Schleef  <ds@schleef.org>
20835
20836         * gst/gstindex.c: get refcounting correct.
20837         * gst/gstregistry.c: Handle the case where a feature/plugin is
20838           not found.
20839
20840 2005-09-15  David Schleef  <ds@schleef.org>
20841
20842         * check/Makefile.am:
20843         * check/gst/gstplugin.c: Add test
20844         * gst/gstplugin.c: Fix problems noticed by testsuite
20845         * gst/gstplugin.h:
20846         * gst/gstregistry.c: 
20847         * gst/gstregistry.h:
20848
20849 2005-09-15  David Schleef  <ds@schleef.org>
20850
20851         * gst/gstplugin.c: Implement semi-decent recounting and locking
20852           in plugins and plugin features.
20853         * gst/gstplugin.h:
20854         * gst/gstpluginfeature.c:
20855         * gst/gstpluginfeature.h:
20856         * gst/gstregistry.c:
20857
20858 2005-09-15  Michael Smith <msmith@fluendo.com>
20859
20860         * gst/gstregistry.c: (gst_registry_get_feature_list):
20861           Implement this. Makes oggdemux work; decodebin still broken.
20862
20863 2005-09-14  David Schleef  <ds@schleef.org>
20864
20865         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20866           #316076)
20867         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20868         * gst/check/Makefile.am:
20869         * libs/gst/controller/Makefile.am:
20870         * libs/gst/dataprotocol/Makefile.am:
20871
20872 2005-09-14  David Schleef  <ds@schleef.org>
20873
20874         * configure.ac: Remove getbits library.  Nothing uses it, and
20875           it should be in something like liboil if someone did want
20876           to use it.
20877         * libs/gst/Makefile.am:
20878         * libs/gst/getbits/Makefile.am:
20879         * libs/gst/getbits/gbtest.c:
20880         * libs/gst/getbits/getbits.c:
20881         * libs/gst/getbits/getbits.h:
20882         * libs/gst/getbits/gstgetbits_generic.c:
20883         * libs/gst/getbits/gstgetbits_i386.s:
20884         * libs/gst/getbits/gstgetbits_inl.h:
20885
20886 2005-09-14  David Schleef  <ds@schleef.org>
20887
20888         * gst/Makefile.am: Dist glib-compat.h
20889
20890 2005-09-14  David Schleef  <ds@schleef.org>
20891
20892         * configure.ac: Remove gst/registries, since it's no longer used.
20893         * gst/registries/Makefile.am:
20894         * gst/registries/gstlibxmlregistry.c:
20895         * gst/registries/gstlibxmlregistry.h:
20896         * gst/registries/gstxmlregistry.c:
20897         * gst/registries/gstxmlregistry.h:
20898         * gst/registries/registrytest.c:
20899
20900 2005-09-14  David Schleef  <ds@schleef.org>
20901
20902         * gst/glib-compat.h:
20903         * gst/gstregistryxml.c:
20904           Convergence is near.  Seriously.
20905
20906 2005-09-14  David Schleef  <ds@schleef.org>
20907
20908         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20909         * gst/glib-compat.h:
20910           Attempt #4 to appease the buildbots.
20911
20912 2005-09-14  David Schleef  <ds@schleef.org>
20913
20914         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20915           Attempt #3.
20916
20917 2005-09-14  David Schleef  <ds@schleef.org>
20918
20919         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20920         Attempt #2.
20921
20922 2005-09-14  David Schleef  <ds@schleef.org>
20923
20924         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20925           the new functions.
20926
20927 2005-09-14  David Schleef  <ds@schleef.org>
20928
20929         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20930         * gst/glib-compat.h: Add some functions that are in newer versions
20931           of glib than we care to require.
20932         * gst/gstregistryxml.c: Use them.
20933
20934 2005-09-14  David Schleef  <ds@schleef.org>
20935
20936         * po/POTFILES.in: remove gst-register.c
20937
20938 2005-09-14  David Schleef  <ds@schleef.org>
20939
20940         * docs/gst/gstreamer-docs.sgml:
20941         * docs/gst/gstreamer-sections.txt:
20942         * docs/gst/gstreamer.types:
20943         * docs/gst/tmpl/gstelement.sgml:
20944         * docs/gst/tmpl/gstplugin.sgml:
20945         * docs/gst/tmpl/gstpluginfeature.sgml:
20946           Documentation updates for registry changes.
20947
20948 2005-09-14  David Schleef  <ds@schleef.org>
20949
20950         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20951           because we don't require glib-2.8.
20952
20953 2005-09-14  David Schleef  <ds@schleef.org>
20954
20955         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20956           registries directory.
20957
20958 2005-09-14  David Schleef  <ds@schleef.org>
20959
20960         * check/Makefile.am:
20961         * check/generic/states.c:
20962         * gst/Makefile.am:
20963         * gst/gst.c:
20964         * gst/gst.h:
20965         * gst/gst_private.h:
20966         * gst/gstelementfactory.c:
20967         * gst/gstindex.c:
20968         * gst/gstinfo.c:
20969         * gst/gstplugin.c:
20970         * gst/gstplugin.h:
20971         * gst/gstpluginfeature.c:
20972         * gst/gstpluginfeature.h:
20973         * gst/gstregistry.c:
20974         * gst/gstregistry.h:
20975         * gst/gstregistrypool.c: remove
20976         * gst/gstregistrypool.h: remove
20977         * gst/gsttypefind.c:
20978         * gst/gsttypefindfactory.c:
20979         * gst/gsturi.c:
20980         * tools/Makefile.am:
20981         * tools/gst-compprep.c:
20982         * tools/gst-inspect.c:
20983         * tools/gst-register.c: remove
20984         * tools/gst-xmlinspect.c:
20985           Registry rewrite.  Changes registry from being a file created
20986           by a tool into a simple cache file created automatically by 
20987           libgstreamer.  Removed gst-register (because it's no longer
20988           needed).  Remove registry pools, because we only have one
20989           registry implementation (XML).  Fix up other subsystems as
20990           necessary.
20991
20992 2005-09-13  Michael Smith <msmith@fluendo.com>
20993
20994         * gst/gstconfig.h.in:
20995           Don't Use windows linking attributes for MinGW. Fixes #316157
20996
20997 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20998
20999         * gst/gstutils.c: (set_state_async_thread_func),
21000         (gst_element_set_state_async):
21001           Apparently people think it's better if this function doesn't
21002           try to set the state to whatever state was asked for on the first
21003           call to this function for any object.  Seriously.
21004
21005 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21006
21007         * check/gst/gstpipeline.c: (GST_START_TEST):
21008         * docs/gst/gstreamer-sections.txt:
21009         * gst/gstutils.c: (set_state_async_thread_func),
21010         (gst_element_set_state_async):
21011         * gst/gstutils.h:
21012           add a "gst_element_set_state_async" method that
21013           sets the state and starts a thread to make sure the state
21014           change completes as best as it can
21015
21016 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21017
21018         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21019           codify design+behaviour in testsuite after discussion
21020
21021 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
21022
21023         * docs/gst/tmpl/gstelement.sgml:
21024         * docs/manual/appendix-quotes.xml:
21025           add a quote
21026         * gst/gstelement.c: (gst_element_set_state):
21027           add some debug
21028
21029 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
21030
21031         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21032         (gst_base_transform_prepare_output_buf),
21033         (gst_base_transform_handle_buffer):
21034         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
21035         (gst_capsfilter_prepare_buf):
21036           Remove the requirement for sub-classes to call the parent
21037           implementation of prepare_output_buffer with a wrapper function.
21038           
21039         * gst/gsttaglist.h:
21040         * gst/gsttagsetter.h:
21041           Fix #define wrapper
21042
21043 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
21044
21045         * docs/gst/gstreamer-sections.txt:
21046           more doc cleanups
21047
21048 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21049
21050         * docs/gst/gstreamer-sections.txt:
21051         * docs/gst/tmpl/gstelement.sgml:
21052         * docs/gst/tmpl/gstplugin.sgml:
21053         * gst/gstminiobject.c:
21054         * gst/gstvalue.h:
21055           docs now stop throwing warnings
21056
21057 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21058
21059         * docs/gst/gstreamer-sections.txt:
21060         * docs/gst/gstreamer.types:
21061         * docs/gst/tmpl/gstpad.sgml:
21062         * docs/gst/tmpl/gsttypes.sgml:
21063         * gst/base/gstadapter.h:
21064         * gst/base/gstbasesink.h:
21065         * gst/base/gstbasesrc.h:
21066         * gst/gstbin.h:
21067         * gst/gstbuffer.h:
21068         * gst/gstbus.h:
21069         * gst/gstcaps.h:
21070         * gst/gstclock.h:
21071         * gst/gstelement.h:
21072         * gst/gstevent.h:
21073         * gst/gstmessage.h:
21074         * gst/gstpad.h:
21075         * gst/gststructure.c:
21076         * gst/registries/gstlibxmlregistry.h:
21077           various documentation fixes
21078
21079 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21080
21081         * docs/gst/gstreamer-sections.txt:
21082         * docs/gst/tmpl/gstvalue.sgml:
21083           rearrange gstvalue section
21084         * gst/gstutils.c: (gst_element_state_get_name):
21085           NONE -> VOID
21086         * gst/gstvalue.c: (_gst_value_initialize):
21087         * gst/gstvalue.h:
21088           doc updates
21089
21090 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
21091
21092         * check/gst-libs/controller.c:
21093           Header include fix.
21094         * gst/base/gstbasetransform.c:
21095         (gst_base_transform_default_prepare_buf),
21096         (gst_base_transform_handle_buffer):
21097         * gst/base/gstbasetransform.h:
21098           Some more basetransform changes and fixes to enable sub-classes
21099           that modify buffer metadata only.
21100         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
21101         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
21102         (gst_capsfilter_prepare_buf):
21103           If the output pad has fixed allowed caps and input buffers 
21104           don't have any, set the fixed caps on outgoing buffers.
21105
21106 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
21107         * check/elements/identity.c: (GST_START_TEST):
21108           Make the error a little clearer when the test fails because
21109           identity made a copy of the buffer.
21110         * docs/gst/gstreamer-sections.txt:
21111           New symbols in gstbasetransform.h
21112         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
21113         (gst_base_transform_init), (gst_base_transform_transform_size),
21114         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21115         (gst_base_transform_default_prepare_buf),
21116         (gst_base_transform_get_unit_size),
21117         (gst_base_transform_buffer_alloc),
21118         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
21119         (gst_base_transform_change_state),
21120         (gst_base_transform_set_passthrough),
21121         (gst_base_transform_set_in_place),
21122         (gst_base_transform_is_in_place):
21123         * gst/base/gstbasetransform.h:
21124           Change BaseTransform to separate in_place operate from same_caps
21125           output. in_place implies that the element can perform the transform
21126           on incoming buffers in-place, even if the caps on the output are
21127           different.
21128           Sub-class elements can now implement special buffer allocation
21129           methods for outgoing buffers if they wish to.
21130           Big documentation addition.
21131         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
21132         * gst/elements/gstelements.c:
21133           Changes for basetransform modifications.
21134         * gst/elements/Makefile.am:
21135         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
21136           Compile fix. Extra debug output.
21137
21138 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21139
21140         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
21141         (gst_pad_suite):
21142           add tests for valid pad naming
21143         * gst/check/gstcheck.c: (gst_check_log_message_func),
21144         (gst_check_log_critical_func):
21145           add ASSERT_WARNING
21146           remove printing of code, it is fragile when the code contains
21147           % and the line number is enough info
21148         * gst/check/gstcheck.h:
21149         * gst/gstpad.c: (gst_pad_template_new):
21150           fix memleaks
21151
21152 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21153
21154         * configure.ac:
21155           say what CHECK flags we use
21156         * docs/libs/gstreamer-libs.types:
21157         * libs/gst/controller/Makefile.am:
21158         * libs/gst/controller/gst-controller.c:
21159         * libs/gst/controller/gst-controller.h:
21160         * libs/gst/controller/gst-helper.c:
21161         * libs/gst/controller/gst-interpolation.c:
21162         * libs/gst/controller/gstcontroller.c:
21163         * libs/gst/controller/gsthelper.c:
21164         * libs/gst/controller/gstinterpolation.c:
21165         * tools/gst-inspect.c: (print_plugin_info):
21166           we don't use dashes in header names
21167
21168 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21169
21170         * check/Makefile.am:
21171         * check/gst/.cvsignore:
21172         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
21173         (gst_pipeline_suite), (main):
21174           adding a test for pipelines and state changes
21175         * gst/gstutils.c: (get_state_func):
21176           add some debugging
21177         * gstreamer.spec.in:
21178           fix up spec file
21179
21180 2005-09-08  Michael Smith <msmith@fluendo.com>
21181
21182         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
21183         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
21184         (gst_file_src_is_seekable), (gst_file_src_get_size),
21185         (gst_file_src_start):
21186         * gst/elements/gstfilesrc.h:
21187           Various fixes for unseekable, unmmapable, and non-normal files, so
21188           that fallback to read() rather than mmap() works.
21189         * gst/gstevent.c: (gst_event_new_newsegment):
21190           Allow newsegment events with segment_start == segment_end, as will
21191           correctly happen if you use filesrc on a zero-size file, for
21192           example.
21193
21194 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21195
21196         * gst/gstplugin.c: (gst_plugin_load_file):
21197           Call g_module_close when we don't load the module
21198
21199         * gst/registries/gstlibxmlregistry.c:
21200         (gst_xml_registry_get_property):
21201           Port leak fix from 0.8
21202
21203 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21204
21205         * docs/gst/gstreamer-docs.sgml:
21206         * docs/gst/tmpl/.cvsignore:
21207         * docs/gst/tmpl/gsttrace.sgml:
21208         * docs/gst/tmpl/gsttrashstack.sgml:
21209         * gst/Makefile.am:
21210         * gst/gst.h:
21211         * gst/gstelement.h:
21212         * gst/gstevent.h:
21213         * gst/gstmessage.c:
21214         * gst/gstmessage.h:
21215         * gst/gsttag.c:
21216         * gst/gsttag.h:
21217         * gst/gsttaginterface.c:
21218         * gst/gsttaginterface.h:
21219         * gst/gsttaglist.c:
21220         * gst/gsttaglist.h:
21221         * gst/gsttagsetter.c:
21222         * gst/gsttagsetter.h:
21223         * gst/gsttrace.c:
21224         * gst/gsttrace.h:
21225         * gst/gsttrashstack.c:
21226           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
21227           inlined docs for gsttrace, gsttrashstack
21228
21229 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21230
21231         * gst/Makefile.am:
21232         * gst/elements/gstbufferstore.h:
21233         * gst/elements/gsttypefindelement.c:
21234         * gst/elements/gsttypefindelement.h:
21235         * gst/gst.h:
21236         * gst/gsttypefind.c:
21237         * gst/gsttypefind.h:
21238         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
21239         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
21240         (gst_type_find_factory_dispose),
21241         (gst_type_find_factory_unload_thyself),
21242         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
21243         (gst_type_find_factory_get_caps),
21244         (gst_type_find_factory_get_extensions),
21245         (gst_type_find_factory_call_function):
21246         * gst/gsttypefindfactory.h:
21247         * gst/registries/gstlibxmlregistry.c:
21248         * gst/registries/gstxmlregistry.c:
21249           splitted gsttypefind into gsttypefind, gsttypefindfactory
21250
21251 2005-09-07  Andy Wingo  <wingo@pobox.com>
21252
21253         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
21254         condition whereby the pad's task function is entered before the
21255         pad_mode variable was set.
21256
21257 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
21258
21259         * gst/gstpad.c: (gst_pad_alloc_buffer):
21260           Catch misbehaving pad_alloc functions that don't
21261           set up caps and do it for them.
21262
21263 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
21264
21265         * check/pipelines/simple_launch_lines.c: (run_pipeline):
21266           test for pipe!=NULL
21267         * docs/gst/tmpl/.cvsignore:
21268         * docs/gst/tmpl/gstmemchunk.sgml:
21269         * docs/gst/tmpl/gstparse.sgml:
21270         * docs/gst/tmpl/gsttaglist.sgml:
21271         * docs/gst/tmpl/gsttagsetter.sgml:
21272         * docs/gst/tmpl/gsttypefind.sgml:
21273         * docs/gst/tmpl/gsttypefindfactory.sgml:
21274         * gst/gstmemchunk.c:
21275         * gst/gstparse.c:
21276         * gst/gsttag.c:
21277         * gst/gsttaginterface.c:
21278         * gst/gsttypefind.c:
21279         * gst/gsttypefind.h:
21280           inlined more docs
21281
21282 === release 0.9.2 ===
21283
21284 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21285
21286         * NEWS:
21287         * RELEASE:
21288         * configure.ac:
21289           releasing 0.9.2, "South"
21290
21291 2005-09-05  Andy Wingo  <wingo@pobox.com>
21292
21293         * gst/registries/gstxmlregistry.h:
21294         * gst/registries/gstxmlregistry.c: Um... resurrect...
21295         
21296         * gst/registries/gstxmlregistry.h:
21297         * gst/registries/gstxmlregistry.c: and update to newer API.
21298         Incidentally they should be a bit faster now that they don't have
21299         to parse the caps.
21300         
21301 2005-09-05  Andy Wingo  <wingo@pobox.com>
21302
21303         * gst/registries/gstxmlregistry.h:
21304         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
21305         replaced by the libxml registry a while back
21306
21307 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21308
21309         * docs/gst/tmpl/gstplugin.sgml:
21310         * gst/elements/gstelements.c:
21311         * gst/gst.c:
21312         * gst/gstplugin.c: (gst_plugin_register_func),
21313         (gst_plugin_desc_copy), (gst_plugin_desc_free),
21314         (gst_plugin_get_source):
21315         * gst/gstplugin.h:
21316         * gst/registries/gstlibxmlregistry.c: (load_plugin),
21317         (gst_xml_registry_save_plugin):
21318         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
21319         (gst_xml_registry_save_plugin):
21320         * tools/gst-inspect.c: (print_plugin_info):
21321           add a "source" plugin description field, to represent the source
21322           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
21323           will set it to PACKAGE, which is automake's idea of the name of
21324           the source project.
21325
21326 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21327
21328         * Makefile.am:
21329         * autogen.sh:
21330         * configure.ac:
21331         * docs/Makefile.am:
21332         * docs/faq/Makefile.am:
21333         * docs/gst/tmpl/gstelement.sgml:
21334         * docs/gst/tmpl/gsttypes.sgml:
21335         * docs/htmlinstall.mak:
21336         * docs/manual/Makefile.am:
21337         * docs/pwg/Makefile.am:
21338           reorganize doc build a little
21339           split out docbook and gtk-doc stuff
21340           have two separate --enable's and enable them through autogen
21341           but disable by default in configure (to be similar to other
21342           projects)
21343         * gstreamer.spec.in:
21344           clean up docs install
21345         * po/af.po:
21346         * po/az.po:
21347         * po/ca.po:
21348         * po/cs.po:
21349         * po/de.po:
21350         * po/en_GB.po:
21351         * po/fr.po:
21352         * po/it.po:
21353         * po/nb.po:
21354         * po/nl.po:
21355         * po/ru.po:
21356         * po/sq.po:
21357         * po/sr.po:
21358         * po/sv.po:
21359         * po/tr.po:
21360         * po/uk.po:
21361         * po/vi.po:
21362           translation updates
21363
21364 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
21365
21366         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
21367           Add comment.
21368           
21369         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21370         (gst_fake_sink_change_state):
21371           Make state change function thread-safe.
21372           
21373         * gst/gstpad.c: (gst_pad_alloc_buffer):
21374           Set offset on generic buffer allocated by fallback.
21375
21376 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
21377
21378         * docs/gst/gstreamer-sections.txt:
21379         * docs/gst/tmpl/gstelement.sgml:
21380         * gst/gstpad.c:
21381         * libs/gst/controller/gst-controller.c:
21382         (gst_controlled_property_set_interpolation_mode),
21383         (gst_controlled_property_new),
21384         (gst_controller_find_controlled_property):
21385          run the wingo-magic script against the docs
21386
21387 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21388
21389         * docs/gst/gstreamer-docs.sgml:
21390         * docs/gst/gstreamer-sections.txt:
21391         * docs/gst/tmpl/.cvsignore:
21392         * docs/gst/tmpl/gstelementdetails.sgml:
21393         * docs/gst/tmpl/gstelementfactory.sgml:
21394         * gst/gst.c:
21395         * gst/gstbus.c:
21396         * gst/gstelementfactory.c:
21397         * gst/gstelementfactory.h:
21398           merged elementdetails docs into elementfactory docs
21399           inlined both
21400
21401 2005-09-02  Andy Wingo  <wingo@pobox.com>
21402
21403         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
21404         consider this enum an enum and not a flags.
21405
21406 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
21407
21408         * docs/gst/gstreamer-docs.sgml:
21409         * docs/gst/tmpl/.cvsignore:
21410         * docs/gst/tmpl/gstghostpad.sgml:
21411         * docs/gst/tmpl/gstiterator.sgml:
21412         * docs/gst/tmpl/gstmacros.sgml:
21413         * docs/gst/tmpl/gstrealpad.sgml:
21414         * docs/gst/tmpl/gstregistry.sgml:
21415         * docs/gst/tmpl/gstregistrypool.sgml:
21416         * docs/gst/tmpl/gststructure.sgml:
21417         * docs/gst/tmpl/gstsystemclock.sgml:
21418         * docs/gst/tmpl/gsttrace.sgml:
21419         * gst/gstghostpad.c:
21420         * gst/gstmacros.h:
21421         * gst/gstmemchunk.c:
21422         * gst/gstmemchunk.h:
21423         * gst/gstqueue.c:
21424         * gst/gstregistry.c:
21425         * gst/gstregistrypool.c:
21426         * gst/gststructure.c:
21427         * gst/gstsystemclock.c:
21428           more docs inlined
21429
21430 2005-09-02  Andy Wingo  <wingo@pobox.com>
21431
21432         * gst/gstelement.h (GstState): Renamed from GstElementState,
21433         changed to be a normal enum instead of flags.
21434         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
21435         munged to be GST_STATE_CHANGE_*.
21436         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
21437         work with the new state representation.
21438         (GstStateChange): New enumeration of possible state transitions.
21439         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
21440         (GstElementClass::change_state): Pass the GstStateChange along as
21441         an argument. Helps language bindings, so they don't have to use
21442         tricky lock-needing macros like GST_STATE_CHANGE ().
21443
21444         * scripts/update-states (file): New script. Run it on a file to
21445         update it for state naming and API changes. Updates files in
21446         place.
21447
21448         * All files updated for the new API.
21449
21450 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
21451
21452         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
21453         * gst/gstutils.c: (gst_util_set_value_from_string),
21454         (gst_util_set_object_arg):
21455           fix a bunch of unchecked return values
21456         * tools/gst-complete.c: (main):
21457         * gstreamer.spec.in:
21458           clean up a little
21459
21460 2005-09-01  Wim Taymans  <wim@fluendo.com>
21461
21462         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21463         (gst_base_sink_event), (gst_base_sink_do_sync),
21464         (gst_base_sink_handle_event):
21465         * gst/base/gstbasesink.h:
21466         Handle newsegments more correctly.
21467
21468         * gst/gstbus.c:
21469         Fix docs.
21470
21471         * gst/gstevent.c: (gst_event_new_newsegment):
21472         A newsegment cannot have a start_time of -1
21473
21474 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
21475
21476         * win32/gstenumtypes.c:
21477         * win32/gstenumtypes.h:
21478           Update
21479
21480 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21481
21482         * libs/gst/controller/gst-controller.c:
21483         (gst_controlled_property_set_interpolation_mode),
21484         (gst_controlled_property_new):
21485          fixed boolean again
21486
21487 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * docs/faq/gst-uninstalled:
21490           add -good
21491         * gst/gstevent.c:
21492         * gst/gstevent.h:
21493           remove wrong docs
21494         * gst/gstutils.c: (gst_element_link_filtered):
21495         * gst/gstutils.h:
21496           add gst_element_link_filtered
21497
21498 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21499
21500         * docs/gst/gstreamer-docs.sgml:
21501         * docs/gst/gstreamer-sections.txt:
21502         * docs/gst/tmpl/.cvsignore:
21503         * docs/gst/tmpl/gsterror.sgml:
21504         * docs/gst/tmpl/gstfilter.sgml:
21505         * docs/gst/tmpl/gsturihandler.sgml:
21506         * docs/gst/tmpl/gsturitype.sgml:
21507         * docs/gst/tmpl/gstutils.sgml:
21508         * docs/gst/tmpl/gstxml.sgml:
21509         * gst/gsterror.c:
21510         * gst/gsterror.h:
21511         * gst/gstfilter.c:
21512         * gst/gsturi.c:
21513         * gst/gsturitype.c:
21514         * gst/gstutils.c:
21515         * gst/gstxml.c:
21516           inlined more docs, fixed double id-ref
21517
21518 2005-08-31  Wim Taymans  <wim@fluendo.com>
21519
21520         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21521         (gst_base_transform_handle_buffer):
21522         Passthrough elements don't need the caps as they don't care.
21523
21524 2005-08-31  Wim Taymans  <wim@fluendo.com>
21525
21526         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21527         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
21528         Don't leak refcounts on buffers.
21529
21530 2005-08-31  Wim Taymans  <wim@fluendo.com>
21531
21532         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
21533         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
21534         (gst_base_transform_chain), (gst_base_transform_change_state):
21535         * gst/base/gstbasetransform.h:
21536         Handle the case where we are not negotiated more gracefully.
21537
21538 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
21539
21540         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
21541         (gst_file_src_map_region):
21542           Set READONLY flag on mmap'ed buffers, otherwise
21543           gst_buffer_make_writable() won't work properly (#314708).
21544
21545 2005-08-31  Wim Taymans  <wim@fluendo.com>
21546
21547         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
21548         passthrough elements can even do inplace on non writable
21549         buffers (as they don't touch them).
21550
21551 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
21552
21553         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21554         (gst_test_mono_source_set_property),
21555         (gst_test_mono_source_class_init), (GST_START_TEST),
21556         (gst_controller_suite):
21557           more tests (hehe I have the most)
21558         * gst/gstbus.c:
21559           describe popping messages whenusing mulltiple sources
21560         * libs/gst/controller/gst-controller.c:
21561         (gst_controlled_property_set_interpolation_mode),
21562         (gst_controlled_property_new):
21563         * libs/gst/controller/gst-controller.h:
21564         * libs/gst/controller/gst-interpolation.c:
21565           implement boolean properties
21566
21567 2005-08-31  Wim Taymans  <wim@fluendo.com>
21568
21569         * gst/gstminiobject.c: (gst_mini_object_ref):
21570         Cannot assert that the refcount has to be positive
21571         since a disposed object can be resurrected.
21572
21573 2005-08-31  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/gstpad.c: (gst_pad_init):
21576         Revert change, need to first fix badly behaving 
21577         apps.
21578
21579 2005-08-30  Wim Taymans  <wim@fluendo.com>
21580
21581         * check/elements/fakesrc.c: (setup_fakesrc):
21582         * check/elements/identity.c: (setup_identity):
21583         Activate pads before using them.
21584
21585 2005-08-30  Wim Taymans  <wim@fluendo.com>
21586
21587         * gst/base/gstadapter.c: (gst_adapter_flush):
21588         Flushing out 0 bytes is ok for this function.
21589
21590         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21591         no newsegment gives a warning and sets the start/stop to 
21592         invalid.
21593
21594         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
21595         (gst_base_transform_set_passthrough):
21596         Some debug info.
21597
21598         * gst/gstminiobject.c: (gst_mini_object_ref):
21599         Check refcount here too.
21600
21601         * gst/gstpad.c: (gst_pad_init):
21602         Pads are initially flushing and refusing data.
21603
21604         * gst/gstutils.c: (gst_element_link_pads_filtered):
21605         When adding a capsfilter element make sure it has the
21606         same state as the parent bin.
21607
21608 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21609
21610         * docs/gst/tmpl/.cvsignore:
21611         * docs/gst/tmpl/gstformat.sgml:
21612         * docs/gst/tmpl/gstversion.sgml:
21613         * gst/gstbus.h:
21614         * gst/gstformat.c:
21615         * gst/gstformat.h:
21616         * gst/gstversion.h.in:
21617           more docs and two more inlined
21618
21619 2005-08-30  Wim Taymans  <wim@fluendo.com>
21620
21621         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
21622         Don't sync to clock.
21623
21624 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21625
21626         * docs/gst/gstreamer-sections.txt:
21627           ultral33t func10ns deserve to appear in the docs actually
21628         * docs/gst/tmpl/.cvsignore:
21629         * docs/gst/tmpl/gstcompat.sgml:
21630         * docs/gst/tmpl/gstconfig.sgml:
21631         * gst/check/gstcheck.c:
21632         * gst/gstcompat.h:
21633         * gst/gstconfig.h.in:
21634           inlined more docs
21635
21636 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21637
21638         * docs/gst/tmpl/.cvsignore:
21639         * docs/gst/tmpl/gstquery.sgml:
21640         * docs/gst/tmpl/gstutils.sgml:
21641         * gst/gstquery.c:
21642         * gst/gstquery.h:
21643           inlined and extended docs
21644
21645 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
21646
21647         * check/gst-libs/controller.c: (GST_START_TEST),
21648         (gst_controller_suite):
21649           more tests
21650         * docs/gst/tmpl/gstutils.sgml:
21651         * docs/libs/gstreamer-libs-sections.txt:
21652         * docs/libs/tmpl/gstdataprotocol.sgml:
21653           include path fixes
21654         * examples/controller/audio-example.c: (main):
21655           controller example works now
21656         * gst/gstclock.h:
21657           doc fixes
21658         * tools/gst-inspect.c: (print_element_properties_info):
21659           show param spec flags
21660
21661 2005-08-29  Andy Wingo  <wingo@pobox.com>
21662
21663         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
21664
21665 2005-08-28  Andy Wingo  <wingo@pobox.com>
21666
21667         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
21668         as having two arguments instead of just one. Allows superclasses
21669         to access information on subclasses -- see the terrible for() loop
21670         in gtype.c:g_type_create_instance for the reason why. All callers
21671         changed.
21672
21673 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21674
21675         * docs/design/part-messages.txt:
21676           update info
21677         * docs/gst/tmpl/.cvsignore:
21678         * docs/gst/tmpl/gstcaps.sgml:
21679         * docs/gst/tmpl/gstclock.sgml:
21680         * gst/gstbus.c:
21681         * gst/gstcaps.c:
21682         * gst/gstcaps.h:
21683         * gst/gstclock.c:
21684         * gst/gstclock.h:
21685         * gst/gstmessage.c:
21686           added descriptions for bus and message
21687           inline caps and clock docs
21688
21689 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21690
21691         * gst/gstmessage.c:
21692         * gst/gstmessage.h:
21693           doc fixes
21694
21695 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
21696
21697         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21698           fix div-by-zero
21699
21700 2005-08-26  Andy Wingo  <wingo@pobox.com>
21701
21702         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
21703         element_set_state's return val.
21704         (test_2_elements): Add test that's been disabled for months.
21705
21706         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
21707         can-activate-pull properties.
21708
21709         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
21710         can-activate-pull properties. Implement is_seekable so fakesrc can
21711         operate in pull mode.
21712
21713         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
21714         properties.
21715         (gst_base_sink_activate, gst_base_sink_activate_pull)
21716         (gst_base_sink_activate_push): Make activation mode choosing work.
21717         Cleanups.
21718         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
21719         is right. Make pull mode work. Post an eos before pausing in pull
21720         mode.
21721         (gst_base_sink_change_state): Pay attention to the core's
21722         change_state() return val.
21723         
21724         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
21725         has-getrange properties. Cleanups.
21726         
21727         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
21728         has_getrange and replace with can_activate_pull and
21729         can_activate_push.
21730
21731         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
21732         locking comments. Remove has_loop, has_chain and replace with
21733         can_activate_pull and can_activate_push.
21734
21735 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
21736
21737         * configure.ac:
21738         * examples/Makefile.am:
21739         * examples/metadata/Makefile.am:
21740         * examples/metadata/read-metadata.c: (message_loop),
21741         (have_pad_handler), (make_pipeline), (print_tag), (main):
21742           Add metadata reading example that loops over a list of filenames,
21743           dumping any tags found.
21744
21745         * gst/gstbus.c: (gst_bus_dispose):
21746         * gst/gstelement.c: (gst_element_dispose):
21747           Release a few potentially-held references in dispose.
21748
21749 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21750
21751         * docs/gst/tmpl/gstminiobject.sgml:
21752           do *not* add tmpl/*.sgml files to CVS!
21753
21754 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21755
21756         * libs/gst/bytestream/.cvsignore:
21757         * libs/gst/bytestream/Makefile.am:
21758         * libs/gst/bytestream/adapter.c:
21759         * libs/gst/bytestream/adapter.h:
21760         * libs/gst/bytestream/bytestream.c:
21761         * libs/gst/bytestream/bytestream.h:
21762         * libs/gst/bytestream/filepad.c:
21763         * libs/gst/bytestream/filepad.h:
21764           removing obsolete files
21765
21766 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21767
21768         * docs/gst/gstreamer-docs.sgml:
21769         * docs/libs/gstreamer-libs-docs.sgml:
21770           disabed additional index entries again, as this makes docs-gen just
21771           slow and they aren't useful yet
21772         * docs/libs/gstreamer-libs-sections.txt:
21773           little -section.txt cleanup for libs
21774
21775 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21776
21777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21778         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
21779           fix up some debugging
21780         (gst_base_transform_get_unit_size),
21781         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
21782         (gst_base_transform_handle_buffer):
21783         * gst/base/gstbasetransform.h:
21784           handle and store timed NEWSEGMENT events so that subclasses that
21785           calculate time by counting samples have a segment_start time they
21786           need to add to their timestamps - see audioresample
21787
21788 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
21789
21790         * gst/gstbin.h:
21791           removed ';' from the end of macro defs
21792         * docs/gst/gstreamer-docs.sgml:
21793         * docs/gst/gstreamer-sections.txt:
21794         * docs/gst/tmpl/.cvsignore:
21795         * gst/gstbus.h:
21796         * gst/gstelement.c: (gst_element_class_init),
21797         (gst_element_set_state), (activate_pads),
21798         (gst_element_save_thyself):
21799         * gst/gstevent.c: (gst_event_new_newsegment):
21800         * gst/gstevent.h:
21801         * gst/gstiterator.c:
21802         * gst/gstiterator.h:
21803         * gst/gstpad.c:
21804         * gst/gstprobe.h:
21805         * gst/gstutils.c: (gst_pad_query_convert):
21806         * gst/gstutils.h:
21807           fixed parameter name mismatches between source, header and docs
21808           added some more docs, resolved the last batch of unused elements in
21809           docs (now someone needs to doc them)
21810
21811 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21812
21813         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21814         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21815           don't walk through the plugins backwards.  Where is all this
21816           reversed logic coming from ?
21817
21818 2005-08-25  Wim Taymans  <wim@fluendo.com>
21819
21820         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21821         (gst_base_transform_transform_size),
21822         (gst_base_transform_configure_caps),
21823         (gst_base_transform_get_unit_size),
21824         (gst_base_transform_buffer_alloc),
21825         (gst_base_transform_change_state):
21826         * gst/base/gstbasetransform.h:
21827         Cache caps unit_size.
21828         Make sure we cannot negotiate up and downstream at the
21829         same time.
21830
21831 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21832
21833         * gst/gst.c: (init_pre), (init_post):
21834           register the installed plugin path after the env var
21835         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21836         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21837           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21838           directories, so the tests can prefer uninstalled over installed
21839
21840 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21841
21842         * gst/base/gstbasetransform.h:
21843           comment
21844         * gst/gstpad.c:
21845           add to docs
21846
21847 2005-08-25  Wim Taymans  <wim@fluendo.com>
21848
21849         * gst/gstbin.c: (bin_bus_handler):
21850         Be a bit more conservative about the posted message.
21851         
21852         * gst/gstbus.c: (gst_bus_post):
21853         Some cleanups, warn wrong return values.
21854
21855 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21856
21857         * check/gst/gstbin.c: (GST_START_TEST):
21858         * gst/gstbin.c: (bin_bus_handler):
21859         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21860         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21861         (gst_message_new_warning), (gst_message_new_tag),
21862         (gst_message_new_state_changed), (gst_message_new_segment_start),
21863         (gst_message_new_segment_done), (gst_message_new_custom):
21864         * gst/gstmessage.h:
21865         * tools/gst-launch.c: (event_loop):
21866         * tools/gst-md5sum.c: (event_loop):
21867           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21868
21869 2005-08-25  Wim Taymans  <wim@fluendo.com>
21870
21871         * check/generic/states.c: (GST_START_TEST):
21872         Cleanup can be done at the end.
21873
21874         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21875         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21876         (gst_task_get_state), (gst_task_start), (gst_task_pause):
21877         Oh boy.. Thanks for finding this, Thomas. 
21878
21879 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21880
21881         * docs/gst/gstreamer.types:
21882           added missing types
21883
21884 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21885
21886         * docs/gst/gstreamer-docs.sgml:
21887         * docs/gst/gstreamer-sections.txt:
21888         * docs/gst/tmpl/.cvsignore:
21889         * gst/gstbin.c:
21890         * gst/gstiterator.c:
21891         * gst/gstutils.c:
21892         * gst/registries/gstxmlregistry.h:
21893           added missing classes and symbols (123 more to go)
21894           removed removed symbols from section file
21895           fixed many doc-comments
21896
21897 2005-08-24  Wim Taymans  <wim@fluendo.com>
21898
21899         * check/generic/states.c: (GST_START_TEST):
21900         Make sure all tasks are stopped.
21901
21902         * check/gst/gstbin.c: (GST_START_TEST):
21903         Unref after usage for proper valgrinding.
21904
21905         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21906         Really wait for the task to stop before destroying the
21907         mutex.
21908
21909         * gst/gstqueue.c: (gst_queue_sink_activate_push),
21910         (gst_queue_src_activate_push):
21911         Small cleanups. Don't stop the task when we did not start
21912         it.
21913
21914         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21915         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21916         (gst_task_get_state), (gst_task_start), (gst_task_pause),
21917         (gst_task_join):
21918         * gst/gsttask.h:
21919         Protect the stream lock with the object lock.
21920         Disallow setting the stream lock when running.
21921         Add cleanup_all to wait for the threadpool to finish.
21922         Remove code to autoallocate a mutex if none was provided.
21923         Add _join() to wait for a task to stop.
21924         Protect the thread pool with a global lock.
21925
21926 2005-08-24  Wim Taymans  <wim@fluendo.com>
21927
21928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21929         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21930         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21931         * gst/base/gstbasesink.h:
21932         Handle newsegment events correctly.
21933         Drop buffers out of the segment range.
21934
21935 2005-08-22  Andy Wingo  <wingo@pobox.com>
21936
21937         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21938         macro, implements an interface and gstimplementsinterface for a
21939         new type.
21940
21941 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21942
21943         * check/Makefile.am:
21944         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21945           add a test that does a bunch of state changes on elements
21946           needs some fixing for valgrind
21947         * check/states/sinks.c: (gst_object_suite):
21948           whitespace
21949         * gst/gstcaps.h:
21950           add prototype for gst_caps_is_equal_fixed
21951         * gst/gstplugin.c:
21952         * gst/gstregistrypool.c:
21953           doc fixes
21954
21955 2005-08-24  Andy Wingo  <wingo@pobox.com>
21956
21957         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21958         convert a negative value. Doesn't make much sense. Mostly this is
21959         here to force callers to ensure -1 maps to -1.
21960
21961 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21962
21963         * docs/pwg/advanced-types.xml:
21964           Well done to Michael for catching my deliberate introduction
21965           of this spelling mistake. 
21966         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21967         * gst/gstelement.h:
21968           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21969           unlink pads before removing the element from the bin.
21970
21971 2005-08-24  Andy Wingo  <wingo@pobox.com>
21972
21973         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21974         the same thing as GST_DEBUG=*:4.
21975         (parse_debug_level, parse_debug_category): New helper parsers.
21976
21977 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21978
21979         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21980         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21981         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21982         (gst_base_transform_buffer_alloc),
21983         (gst_base_transform_handle_buffer):
21984           use gboolean return values and pointers to size so we can use the
21985           full GST_BUFFER_SIZE range (guint) for buffer sizes
21986           use GstPadDirection for transform_caps
21987         * gst/base/gstbasetransform.h:
21988           rename get_size to get_unit_size since that's what it is
21989         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21990           use GstPadDirection for transform_caps
21991         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21992         * gst/gstutils.h:
21993           cleanup and debugging
21994
21995 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21996
21997         * gst/gstelement.c: (gst_element_class_init),
21998         (gst_element_set_state), (activate_pads),
21999         (gst_element_save_thyself):
22000         * tools/gst-compprep.c: (main):
22001         * tools/gst-inspect.c: (print_element_properties_info):
22002         * tools/gst-xmlinspect.c: (print_element_properties):
22003           Fixed long standing mem-leak
22004
22005 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22006
22007         * check/gst/gstbin.c: (GST_START_TEST):
22008         * gst/gstbin.c: (bin_bus_handler):
22009         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22010         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22011         (gst_message_new_warning), (gst_message_new_tag),
22012         (gst_message_new_state_changed), (gst_message_new_segment_start),
22013         (gst_message_new_segment_done), (gst_message_new_custom):
22014         * gst/gstmessage.h:
22015         * tools/gst-launch.c: (event_loop):
22016         * tools/gst-md5sum.c: (event_loop):
22017           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
22018           that applications can sensibly post custom messages with references
22019           to their own objects.
22020
22021 2005-08-24  Andy Wingo  <wingo@pobox.com>
22022
22023         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
22024         already.
22025
22026 2005-08-24  Wim Taymans  <wim@fluendo.com>
22027
22028         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22029         (gst_base_transform_transform_caps),
22030         (gst_base_transform_transform_size),
22031         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22032         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22033         (gst_base_transform_handle_buffer):
22034         * gst/base/gstbasetransform.h:
22035         Many fixes and new features added by Thomas. Can now also do
22036         transforms with variable sizes and a custom fixate_caps function.
22037
22038 2005-08-24  Wim Taymans  <wim@fluendo.com>
22039
22040         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22041         Some debugging.
22042
22043         * gst/gstclock.h:
22044         Cast to ClockTime before formatting to time.
22045
22046         * gst/gstutils.h:
22047         Cleanups.
22048
22049 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
22050
22051         * check/gst-libs/controller.c: (GST_START_TEST),
22052         (gst_controller_suite):
22053         * docs/gst/tmpl/gstcaps.sgml:
22054         * docs/gst/tmpl/gstghostpad.sgml:
22055         * docs/gst/tmpl/gstquery.sgml:
22056         * docs/gst/tmpl/gstutils.sgml:
22057         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
22058         (gst_object_sink_values), (gst_object_get_value_arrays),
22059         (gst_object_get_value_array):
22060           gracefully handle helper method calls to objects that are not beeing
22061           controlled, added test case for that          
22062
22063 2005-08-23  Wim Taymans  <wim@fluendo.com>
22064
22065         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
22066         (gst_event_new_newsegment), (gst_event_parse_newsegment),
22067         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
22068         (gst_event_parse_qos), (gst_event_new_seek),
22069         (gst_event_parse_seek):
22070         * gst/gstevent.h:
22071         Some more debugging output and doc cleanups.
22072
22073         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22074         Fix possible deadlock.
22075
22076 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22077
22078         * docs/gst/gstreamer-docs.sgml:
22079         * docs/gst/gstreamer-sections.txt:
22080         * docs/gst/gstreamer.types:
22081         * docs/gst/tmpl/.cvsignore:
22082         * gst/gstbin.h:
22083         * gst/gstbus.c:
22084         * gst/gstelement.c:
22085         * gst/gstevent.h:
22086           added 100 symbols from gstreamer-unused.txt to the right sections
22087           fixed more broken comments
22088           added GstBus to docs
22089
22090 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22091
22092         * docs/gst/gstreamer-sections.txt:
22093         * docs/gst/tmpl/.cvsignore:
22094         * docs/gst/tmpl/gstbin.sgml:
22095         * docs/gst/tmpl/gstbuffer.sgml:
22096         * gst/base/gstbasesrc.c:
22097         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
22098         * gst/gstbuffer.c:
22099         * gst/gstbuffer.h:
22100         * tools/gst-launch.1.in:
22101           inlined more doc comments, added missing comments and fixed comments
22102           fixed typos
22103
22104 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22105
22106         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
22107           some debugging
22108         * gst/gstcaps.h:
22109           whitespace fixes
22110         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
22111           more debugging
22112         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
22113         * gst/gststructure.h:
22114           add a fixate function for booleans; add a FIXME that these func
22115           names should probably be gst_structure_fixate_*
22116
22117 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
22118
22119         * docs/gst/gstreamer-docs.sgml:
22120         * docs/gst/gstreamer-sections.txt:
22121         * gst/Makefile.am:
22122         * gst/gstbin.c: (gst_bin_get_type),
22123         (gst_bin_child_proxy_get_child_by_index),
22124         (gst_bin_child_proxy_get_children_count),
22125         (gst_bin_child_proxy_init):
22126         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
22127         (gst_child_proxy_get_child_by_index),
22128         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
22129         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
22130         (gst_child_proxy_get), (gst_child_proxy_set_property),
22131         (gst_child_proxy_set_valist), (gst_child_proxy_set),
22132         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
22133         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
22134         * gst/gstchildproxy.h:
22135         * gst/parse/grammar.y:
22136         * tools/gst-inspect.c: (print_interfaces),
22137         (print_element_properties_info), (print_element_info):
22138           ported gstchildproxy over from 0.8
22139           ported gst-inspect fixes and enhancements over from 0.8
22140
22141 2005-08-22  Wim Taymans  <wim@fluendo.com>
22142
22143         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22144         (gst_base_transform_handle_buffer):
22145         Also call the transform function if we have ANY caps.
22146
22147         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
22148         Fix debug info.
22149
22150 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22151
22152         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
22153           Don't pretend to handle seek events if the source is not seekable
22154
22155 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
22156
22157         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22158           Remove extra parameter to debug output
22159
22160         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22161         (gst_base_src_do_seek), (gst_base_src_activate_push):
22162           Fix seek event handling.
22163
22164         * gst/gstpipeline.c: (gst_pipeline_change_state):
22165         * gst/gstqueue.c: (gst_queue_handle_sink_event),
22166         (gst_queue_src_activate_push):
22167           Don't start the src pad task on FLUSH_STOP if the pad
22168           isn't linked.
22169           Debug changes.
22170
22171 2005-08-22  Wim Taymans  <wim@fluendo.com>
22172
22173         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
22174         Added check for gst_static_caps_get() refcounting.
22175
22176 2005-08-22  Wim Taymans  <wim@fluendo.com>
22177
22178         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
22179         Make _static_caps_get() refcounting sane.
22180         
22181         * gst/gstelement.c: (gst_element_set_state):
22182         Add g_return_val_if_fail() to protect against segfaults.
22183
22184 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
22185
22186         * docs/gst/tmpl/gstevent.sgml:
22187         * gst/gstevent.c:
22188         * gst/gstevent.h:
22189           inlined remaining docs, added missing doc comments
22190
22191 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22192
22193         * check/gst/gstbin.c: (GST_START_TEST):
22194           since we don't know when preroll is done, use refcount range
22195           check for the sink
22196         * gst/check/gstcheck.h:
22197           add macro for checking refcount range
22198
22199 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22200
22201         * check/Makefile.am:
22202           clean up environment for when registry gets built versus
22203           when actual tests are run; valgrind seems to not report
22204           leaks if GST_PLUGIN_PATH is set to some specific values
22205         * check/gst/gstbin.c: (GST_START_TEST):
22206           add more refcounting checks; maybe this exposes a
22207           preroll lock bug ?
22208         * common/check.mak:
22209         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22210         * gst/check/gstcheck.h:
22211         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
22212         (gst_bin_change_state):
22213         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
22214           add/fix debugging/whitespace
22215
22216 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22217
22218         * check/gst/gstevent.c: (event_probe), (test_event),
22219         (GST_START_TEST):
22220          Er, don't call gst_bin_watch_for_state_change you idiot.
22221
22222 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
22223
22224         * check/Makefile.am:
22225           Use CHECK_CFLAGS and CHECK_LIBS
22226         * check/gst/gstevent.c: (event_probe), (test_event),
22227         (GST_START_TEST):
22228           Don't leak events.
22229         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22230         (gst_base_src_start), (gst_base_src_stop),
22231         (gst_base_src_activate_push), (gst_base_src_activate_pull),
22232         (gst_base_src_change_state):
22233           Sprinkle gst_base_src_stop liberally around error paths to fix
22234           problems reusing a source after failed state changes.
22235         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22236         (helper_find_suggest), (gst_type_find_helper):
22237           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
22238         * gst/gstevent.h:
22239         * docs/gst/tmpl/gstevent.sgml:
22240           Migrate part of the docs from the SGML file. Wait for ensonic to
22241           tell me how I did it wrong ;)
22242         * tools/gst-typefind.c: (main):
22243           Extra robustness to state changes between files.
22244
22245 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
22246
22247         * check/Makefile.am:
22248           don't valgrind the controller test - it's leaking - Stefan, HELP
22249         * gst/check/gstcheck.c: (gst_check_message_error),
22250         (gst_check_chain_func), (gst_check_setup_element),
22251         (gst_check_teardown_element), (gst_check_setup_src_pad),
22252         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
22253         (gst_check_teardown_sink_pad):
22254         * gst/check/gstcheck.h:
22255           add a bunch of methods to set up elements, and src and sink pads
22256         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
22257         * check/elements/identity.c: (setup_identity), (cleanup_identity),
22258         (GST_START_TEST):
22259           use them
22260         * gst/gstmessage.c:
22261         * gst/gsttag.h:
22262           whitespace/doc fixes
22263
22264 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22265
22266         * gst/gstelement.h:
22267           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
22268           be handled by the application and not always printed as well
22269
22270 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22271
22272         * check/Makefile.am:
22273           set GST_TOOLS_DIR
22274         * gst/check/gstcheck.c: (gst_check_message_error):
22275         * gst/check/gstcheck.h:
22276           add a fail_unless_equals_int
22277           add fail_unless for error messages
22278
22279 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22280
22281         * check/Makefile.am:
22282         * check/gst.supp:
22283         * common/Makefile.am:
22284         * common/check.mak:
22285         * common/gst.supp:
22286           factor out some of the common stuff so we can use it
22287
22288 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22289
22290         * check/Makefile.am:
22291         * check/gst/gstiterator.c: (GST_START_TEST):
22292         * check/gst/gstsystemclock.c: (GST_START_TEST),
22293         (gst_systemclock_suite):
22294         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22295         * gst/gstclock.c:
22296           valgrind more tests
22297
22298 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22299
22300         * check/elements/.cvsignore:
22301         * check/elements/gstfakesrc.c:
22302           rename to name of element
22303         * check/elements/identity.c: (chain_func), (event_func),
22304         (setup_identity), (cleanup_identity), (GST_START_TEST),
22305         (identity_suite), (main):
22306           add a test for identity
22307         * check/Makefile.am:
22308         * pkgconfig/Makefile.am:
22309         * pkgconfig/gstreamer-check.pc.in:
22310         * pkgconfig/gstreamer-check-uninstalled.pc.in:
22311         * gst/check:
22312         * gst/Makefile.am:
22313         * configure.ac:
22314           move the check stuff to a library that gets installed
22315         * check/gst-libs/controller.c: (GST_START_TEST):
22316         * check/gst-libs/gdp.c:
22317         * check/gst/gst.c: (GST_START_TEST):
22318         * check/gst/gstbin.c:
22319         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22320         * check/gst/gstbus.c:
22321         * check/gst/gstcaps.c: (GST_START_TEST):
22322         * check/gst/gstelement.c:
22323         * check/gst/gstghostpad.c:
22324         * check/gst/gstiterator.c:
22325         * check/gst/gstmessage.c:
22326         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
22327         * check/gst/gstobject.c:
22328         * check/gst/gstpad.c: (GST_START_TEST):
22329         * check/gst/gststructure.c: (GST_START_TEST):
22330         * check/gst/gstsystemclock.c: (GST_START_TEST),
22331         (gst_systemclock_suite):
22332         * check/gst/gsttag.c: (gst_tag_suite):
22333         * check/gst/gstvalue.c:
22334         * check/pipelines/cleanup.c:
22335         * check/pipelines/simple_launch_lines.c:
22336         * check/states/sinks.c:
22337           change include statement
22338
22339         * docs/gst/gstreamer-sections.txt:
22340         * docs/gst/tmpl/gstpad.sgml:
22341           document more pad stuff
22342         * gst/gstminiobject.c: (gst_mini_object_ref),
22343         (gst_mini_object_unref):
22344           debug refcounting
22345
22346 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
22347
22348         * docs/gst/tmpl/gst.sgml:
22349         * gst/gst.c:
22350           eliminate another tmpl file, fix spelling in the long-description
22351
22352 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22353
22354         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22355         (test_event), (timediff), (gstevents_suite):
22356           Should fix build on 64-bit arch's
22357
22358 2005-08-18  Andy Wingo  <wingo@pobox.com>
22359
22360         Make sure that when a pipeline goes to PLAYING, that data has
22361         actually hit the sink.
22362
22363         * check/states/sinks.c (test_sink): A sink that doesn't get any
22364         data shouldn't return SUCCESS for going to either PLAYING or
22365         PAUSED. Test also the return values on the way back down.
22366
22367         * gst/gstelement.c (gst_element_set_state): When changing the
22368         state of an element currently changing state asynchronously, go to
22369         lost-state after commiting the pending state. Makes future calls
22370         to get_state continue to return ASYNC.
22371
22372         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
22373         ASYNC when going to PLAYING if we still don't have preroll, as can
22374         happen with live sources.
22375
22376 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22377
22378         * docs/pwg/advanced-types.xml:
22379           Hack long paragraph into 2 chunks as a workaround for buggy
22380           jadetex version in sid and breezy that loops infinitely and
22381           eats all RAM.
22382
22383 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22384
22385         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22386         (test_event), (timediff), (gstevents_suite):
22387           Provide more error margin in clock measurements to allow for 
22388           g_get_current_time inaccuracies.
22389
22390 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22391
22392         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22393         (test_event), (timediff), (gstevents_suite):
22394            Fix error message output so I might be able to tell why the
22395            test works here but fails on the build farm.
22396
22397 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
22398
22399         * check/Makefile.am:
22400         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
22401         (test_event), (timediff), (gstevents_suite), (main):
22402           I wrote a test!
22403
22404         * docs/design/part-seeking.txt:
22405           Spelling correction
22406
22407         * docs/gst/tmpl/gstevent.sgml:
22408         * docs/gst/tmpl/gstfakesrc.sgml:
22409           Docs updates.
22410
22411         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22412           Treat a buffer-without-newsegment the same as a receiving 
22413           a newsegment not in time format, and disable syncing to the clock
22414           with a warning.
22415
22416         * gst/gstbus.c: (gst_bus_set_sync_handler):
22417           Assert if anyone tries to replace the existing sync_handler for bus, 
22418           as only the owner should be setting it.
22419
22420         * gst/gstevent.h:
22421           Have a fixed set of custom event enums with events identified by
22422           their structure name (as in 0.8), rather than a free-for-all
22423           allowing collisions between enum values from different plugins.
22424
22425         * gst/gstpad.c: (gst_pad_class_init):
22426           Docs change.
22427           
22428         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22429           Handle out-of-band downstream events from the sending thread.
22430
22431 2005-08-17  Andy Wingo  <wingo@pobox.com>
22432
22433         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
22434         play-timeout==0 to mean no timeout at all. In that case, don't
22435         bother with a get_state or a warning, just return directly, even
22436         if it's ASYNC.
22437
22438         * gst/base/gstbasetransform.c: Debug changes.
22439
22440         * gst/gstutils.h:
22441         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
22442         ensure bins post state change messages. A bit of a hack but I can't
22443         think of a way to avoid it.
22444
22445         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
22446
22447 2005-08-16  Andy Wingo  <wingo@pobox.com>
22448
22449         * gst/base/gstadapter.h:
22450         * gst/base/gstadapter.c (gst_adapter_take): New function, like
22451         peek() but you own the data. Not terribly efficient atm.
22452
22453 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22454
22455         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
22456         (gst_element_found_tags):
22457         * gst/gstutils.h:
22458           Add two utility functions for tag handling.
22459
22460 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22461
22462         * docs/manual/advanced-dataaccess.xml:
22463         * docs/manual/basics-helloworld.xml:
22464           Fix docs to use _bin_add() before _link(), which fixes the examples
22465           with recent core versions (reported by Madhan Raj M
22466           <raj_madan@rediffmail.com>, #313199).
22467
22468 2005-08-16  Wim Taymans  <wim@fluendo.com>
22469
22470         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22471         Added subtract checks.
22472
22473         * docs/design/part-events.txt:
22474         Some more docs about newsegment
22475
22476         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22477         Fix FIXME
22478
22479         * gst/gstcaps.c: (gst_caps_to_string):
22480         Add comments, cleanups.
22481         
22482         * gst/gstelement.c: (gst_element_save_thyself):
22483         cleanups
22484         
22485         * gst/gstvalue.c: (gst_value_collect_int_range),
22486         (gst_string_unwrap), (gst_value_union_int_int_range),
22487         (gst_value_union_int_range_int_range),
22488         (gst_value_intersect_int_int_range),
22489         (gst_value_intersect_int_range_int_range),
22490         (gst_value_intersect_double_double_range),
22491         (gst_value_intersect_double_range_double_range),
22492         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
22493         (gst_value_subtract_int_range_int),
22494         (gst_value_subtract_double_range_double),
22495         (gst_value_subtract_double_range_double_range),
22496         (gst_value_subtract_from_list), (gst_value_subtract_list),
22497         (gst_value_can_compare), (gst_value_compare_fraction):
22498         Cleanups, add comments, remove unneeded asserts.
22499
22500 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22501
22502         * tools/gst-launch.c: (event_loop):
22503           don't convert NULL structures to strings
22504
22505 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
22506
22507         * docs/gst/gstreamer-sections.txt:
22508           made some defines private
22509         * docs/gst/tmpl/gstconfig.sgml:
22510         * docs/gst/tmpl/gstqueue.sgml:
22511         * docs/gst/tmpl/gsttaglist.sgml:
22512         * docs/gst/tmpl/gsttypes.sgml:
22513         * docs/gst/tmpl/gstutils.sgml:
22514         * docs/pwg/appendix-porting.xml:
22515         * gst/base/gstbasesink.h:
22516         * gst/base/gstbasesrc.c:
22517         * gst/base/gstbasesrc.h:
22518         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
22519         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
22520         * gst/gstelement.c: (gst_element_class_init):
22521         * gst/gstpad.c: (gst_pad_class_init):
22522         * gst/gstqueue.c: (gst_queue_class_init):
22523         * gst/gstxml.c: (gst_xml_class_init):
22524           documented all undocumented signal inline
22525         * libs/gst/controller/gst-controller.h:
22526           added padding
22527
22528 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22529
22530         * docs/pwg/appendix-porting.xml:
22531           Document _set_link_function -> _set_setcaps_function.
22532
22533 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * check/Makefile.am:
22536           add a .check target for running the check
22537         * check/gst-libs/controller.c: (GST_START_TEST):
22538           cosmetic fixups
22539         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22540           complete checks for gstbuffer; would be nice if I could get the
22541           gcov stuff to work so I can see if I actually completed gstbuffer.c
22542         * check/gstcheck.h:
22543           add ASSERT_BUFFER_REFCOUNT
22544
22545 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
22546
22547         * docs/gst/gstreamer-sections.txt:
22548         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
22549         * gst/gsttag.h:
22550           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
22551           spew out a warning if a tag that is already registered
22552           is re-registered, unless it is re-registered with a 
22553           different type (#308438).
22554
22555 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
22556
22557         * docs/pwg/appendix-porting.xml:
22558         * docs/pwg/building-state.xml:
22559           Add some paragraphs about state changes in 0.9 to the PWG
22560           and the porting guide, in particular about the new meaning
22561           of GST_STATE_PAUSED and how to write state change functions
22562           with concurrent access by multiple threads in mind.
22563
22564 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
22565
22566         * docs/gst/gstreamer-docs.sgml:
22567         * docs/libs/gstreamer-libs-docs.sgml:
22568           added deprecation and since indexes
22569         * libs/gst/controller/gst-controller.c:
22570         * libs/gst/controller/gst-helper.c:
22571           added since tags
22572
22573
22574 2005-08-11  Wim Taymans  <wim@fluendo.com>
22575
22576         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
22577         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
22578         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
22579         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
22580         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
22581         (gst_ghost_pad_set_target):
22582         Actually implement (re)setting the target on a ghostpad
22583         as described in the docs.
22584
22585 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22586
22587         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
22588           Check whether GST_DEBUG_NO_COLOR environment variable is
22589           set and disable coloured debug output if that is the case.
22590
22591 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
22592
22593         * gst/base/gsttypefindhelper.c: (helper_find_peek),
22594         (gst_type_find_helper):
22595           The memory returned by gst_type_find_peek() needs to
22596           stay valid until the end of a typefind function, and
22597           typefind functions may keep results from different 
22598           offsets around, so we can't just unref the buffer from
22599           the previous _peek(), but have to save all buffers 
22600           returned by _peek() until typefinding is done and only
22601           free them then.
22602
22603 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
22604
22605         * docs/gst/gstreamer-sections.txt:
22606         * gst/gstutils.h:
22607           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
22608
22609 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22610
22611         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
22612           Fix a pretty good memleak.
22613
22614 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22615
22616         * gst/gstiterator.h:
22617           Fix wrong include and 'make distcheck'.
22618
22619 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22620
22621         * gst/gstbin.c: (bin_bus_handler):
22622           Use gst_element_post_message() instead.
22623
22624 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
22625
22626         * gst/base/gstadapter.h:
22627         * gst/base/gstbasesink.h:
22628         * gst/base/gstbasesrc.h:
22629         * gst/base/gstbasetransform.h:
22630         * gst/base/gstcollectpads.h:
22631         * gst/base/gstpushsrc.h:
22632         * gst/gstiterator.h:
22633           Add padding to our base elements' class and instance structs and
22634           to GstIterator (you will need to rebuild all plugins and apps!)
22635
22636 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22637
22638         * gst/gstbin.c: (bin_bus_handler):
22639           Make default message forwarding from child->bus to bin->bus
22640           threadsafe and make it not emit warnings if the parent has no bus.
22641
22642 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22643
22644         * gst/gstelement.c: (activate_pads):
22645           On paused->ready, set pad->caps to NULL, as is the documented
22646           behaviour in this state change. Fixes playback of series of
22647           media files when visualization is enabled in Totem.
22648
22649 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22650
22651         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
22652           Allow NULL as filter-caps (which means "any").
22653
22654 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22655
22656         * docs/libs/gstreamer-libs-sections.txt:
22657         * libs/gst/controller/gst-controller.c:
22658         * libs/gst/controller/gst-controller.h:
22659         * libs/gst/controller/gst-helper.c:
22660           adding more entries to the docs and fix small doc-bugs
22661
22662 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22663
22664         * docs/gst/gstreamer-docs.sgml:
22665         * docs/gst/gstreamer-sections.txt:
22666         * docs/gst/gstreamer.types:
22667         * docs/gst/tmpl/gstbasesink.sgml:
22668         * docs/gst/tmpl/gstbasesrc.sgml:
22669         * docs/gst/tmpl/gstbasetransform.sgml:
22670         * docs/gst/tmpl/gstfakesrc.sgml:
22671         * gst/base/gstcollectpads.c:
22672         * gst/base/gstcollectpads.h:
22673         * libs/gst/controller/gst-controller.c:
22674         * libs/gst/controller/gst-controller.h:
22675         * libs/gst/controller/gst-helper.c:
22676         * libs/gst/controller/gst-interpolation.c:
22677         * libs/gst/controller/lib.c:
22678           added long/short desc for controller docs
22679           added collectpads base class docs
22680           added correct includes to base-class docs
22681
22682 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
22683
22684         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22685         (gst_test_mono_source_set_property),
22686         (gst_test_mono_source_class_init), (GST_START_TEST),
22687         (gst_controller_suite):
22688         * docs/gst/gstreamer-docs.sgml:
22689         * docs/gst/gstreamer-sections.txt:
22690         * docs/gst/gstreamer.types:
22691         * docs/libs/gstreamer-libs-docs.sgml:
22692         * docs/libs/gstreamer-libs-sections.txt:
22693         * gst/base/gstadapter.c:
22694         * libs/gst/controller/gst-controller.c:
22695         (gst_controlled_property_new), (gst_controlled_property_free),
22696         (gst_controller_new_valist),
22697         (gst_controller_remove_properties_valist),
22698         (gst_controller_sink_values), (_gst_controller_finalize):
22699         * libs/gst/controller/gst-controller.h:
22700         * libs/gst/controller/gst-helper.c:
22701         (gst_object_control_properties), (gst_object_uncontrol_properties),
22702         (gst_object_get_controller), (gst_object_set_controller),
22703         (gst_object_sink_values), (gst_object_get_value_arrays),
22704         (gst_object_get_value_array):
22705           more tests (and fixes) for the controller
22706           more docs for the controller
22707           integrated companies docs for the adapter 
22708
22709 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
22710
22711         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
22712         (GST_START_TEST), (fakesrc_suite):
22713           add tests for sizetype
22714
22715 2005-08-04  Andy Wingo  <wingo@pobox.com>
22716
22717         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
22718         fixes buffer_alloc proxying among other things.
22719
22720         * gst/base/gstbasetransform.c:
22721         * gst/base/gstbasetransform.h:
22722         Revert patch to gstbasetransform from 7-28 removing
22723         delay_configure.
22724
22725         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
22726         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
22727         Semantics changed, should return not the size of the output buffer
22728         but the byte size of a buffer with a given caps.
22729
22730         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
22731         debug object.
22732         (gst_base_transform_configure_caps): Don't set out_size here: (in,
22733         out) are not the pad caps until setcaps finishes.
22734         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
22735         not-in-place case as well. Deal with changing from in-place to
22736         not-in-place within calling pad_alloc_buffer. Still a bit
22737         concerned about the overhead here...
22738
22739 2005-08-03  Andy Wingo  <wingo@pobox.com>
22740
22741         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
22742         fixating is an error.
22743
22744 2005-08-04  Edward Hervey  <edward@fluendo.com>
22745
22746         * gst/base/gstadapter.h: 
22747         Added gst_adapter_get_type() to the header
22748
22749 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22750
22751         * check/Makefile.am:
22752         * check/gst-libs/controller.c:
22753         * libs/gst/controller/gst-controller.c:
22754         (gst_controller_new_valist):
22755           added check test suite for the controller
22756         * gst/base/gstpushsrc.c:
22757           fixed a doc typo
22758
22759 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22760
22761         * docs/gst/Makefile.am:
22762         * docs/gst/gstreamer-docs.sgml:
22763         * docs/gst/gstreamer-sections.txt:
22764         * docs/gst/gstreamer.types:
22765         * docs/gst/tmpl/gstfakesrc.sgml:
22766         * gst/base/README:
22767         * gst/base/gstbasesink.c:
22768         * gst/base/gstbasesink.h:
22769         * gst/base/gstbasesrc.c:
22770         * gst/base/gstbasesrc.h:
22771         * gst/base/gstbasetransform.c:
22772         * gst/base/gstpushsrc.c:
22773         * gst/base/gstpushsrc.h:
22774           add short/long description docs to base classes
22775           add pushsrc to the docs
22776           remove consolidated doc fragments
22777
22778 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
22779
22780         * configure.ac:
22781         * docs/libs/Makefile.am:
22782         * docs/libs/gstreamer-libs-docs.sgml:
22783         * docs/libs/gstreamer-libs-sections.txt:
22784         * docs/libs/gstreamer-libs.types:
22785         * examples/Makefile.am:
22786         * examples/controller/.cvsignore:
22787         * examples/controller/Makefile.am:
22788         * examples/controller/audio-example.c: (main):
22789         * libs/gst/Makefile.am:
22790         * libs/gst/controller/.cvsignore:
22791         * libs/gst/controller/Makefile.am:
22792         * libs/gst/controller/gst-controller.c:
22793         (on_object_controlled_property_changed), (gst_timed_value_compare),
22794         (gst_timed_value_find),
22795         (gst_controlled_property_set_interpolation_mode),
22796         (gst_controlled_property_new), (gst_controlled_property_free),
22797         (gst_controller_find_controlled_property),
22798         (gst_controller_new_valist), (gst_controller_new),
22799         (gst_controller_remove_properties_valist),
22800         (gst_controller_remove_properties), (gst_controller_set),
22801         (gst_controller_set_from_list), (gst_controller_unset),
22802         (gst_controller_get), (gst_controller_get_all),
22803         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22804         (gst_controller_get_value_array),
22805         (gst_controller_set_interpolation_mode),
22806         (_gst_controller_finalize), (_gst_controller_init),
22807         (_gst_controller_class_init), (gst_controller_get_type):
22808         * libs/gst/controller/gst-controller.h:
22809         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22810         (g_object_uncontrol_properties), (g_object_get_controller),
22811         (g_object_set_controller), (g_object_sink_values),
22812         (g_object_get_value_arrays), (g_object_get_value_array):
22813         * libs/gst/controller/gst-interpolation.c:
22814         (gst_controlled_property_find_timed_value_node),
22815         (interpolate_none_get), (interpolate_trigger_get),
22816         (interpolate_trigger_get_value_array):
22817         * libs/gst/controller/lib.c: (gst_controller_init):
22818         * pkgconfig/Makefile.am:
22819         * pkgconfig/gstreamer-control-uninstalled.pc.in:
22820         * pkgconfig/gstreamer-control.pc.in:
22821         * testsuite/Makefile.am:
22822         * testsuite/controller/.cvsignore:
22823         * testsuite/controller/Makefile.am:
22824         * testsuite/controller/interpolator.c: (main):
22825           added controller code
22826           removed dparam pc files
22827
22828 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22829         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22830         (gst_collectpads_stop):
22831           Broadcast the condition when shutting down, to make sure we wake all
22832           threads up. Shut down pads on finalize, for safety.
22833
22834 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22835         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22836         (gst_base_transform_handle_buffer),
22837         (gst_base_transform_change_state):
22838           Handle PAUSED->READY->PAUSED transition after negotiation
22839           occurred already.
22840         * gst/gstmessage.c: (gst_message_init):
22841           Extra piece of debug for new messages.
22842
22843 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
22844
22845         * configure.ac:
22846         * docs/gst/tmpl/gstbasesrc.sgml:
22847         * docs/gst/tmpl/gstelement.sgml:
22848         * docs/gst/tmpl/gstevent.sgml:
22849         * docs/gst/tmpl/gstfakesrc.sgml:
22850         * docs/gst/tmpl/gstformat.sgml:
22851         * docs/gst/tmpl/gstghostpad.sgml:
22852         * docs/gst/tmpl/gstpad.sgml:
22853         * docs/gst/tmpl/gstquery.sgml:
22854         * docs/gst/tmpl/gststructure.sgml:
22855         * docs/gst/tmpl/gsttaglist.sgml:
22856         * docs/gst/tmpl/gstvalue.sgml:
22857         * docs/libs/gstreamer-libs-docs.sgml:
22858         * docs/libs/gstreamer-libs-sections.txt:
22859         * docs/libs/gstreamer-libs.types:
22860         * libs/gst/Makefile.am:
22861         * libs/gst/control/.cvsignore:
22862         * libs/gst/control/Makefile.am:
22863         * libs/gst/control/control.c:
22864         * libs/gst/control/control.h:
22865         * libs/gst/control/dparam.c:
22866         * libs/gst/control/dparam.h:
22867         * libs/gst/control/dparam_smooth.c:
22868         * libs/gst/control/dparam_smooth.h:
22869         * libs/gst/control/dparamcommon.h:
22870         * libs/gst/control/dparammanager.c:
22871         * libs/gst/control/dparammanager.h:
22872         * libs/gst/control/dplinearinterp.c:
22873         * libs/gst/control/dplinearinterp.h:
22874         * libs/gst/control/unitconvert.c:
22875         * libs/gst/control/unitconvert.h:
22876         * testsuite/Makefile.am:
22877         * testsuite/dynparams/.cvsignore:
22878         * testsuite/dynparams/Makefile.am:
22879         * testsuite/dynparams/dparamstest.c:
22880         * tools/Makefile.am:
22881         * tools/gst-inspect.c: (print_element_info), (main):
22882         * tools/gst-xmlinspect.c: (print_element_info), (main):
22883           deactivate and remove dparams (libgstcontrol)
22884
22885 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22886
22887         * gst/elements/gsttypefindelement.c:
22888         (gst_type_find_element_have_type), (gst_type_find_element_init),
22889         (stop_typefinding), (gst_type_find_element_handle_event),
22890         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22891         * gst/elements/gsttypefindelement.h:
22892           Set caps on all outgoing buffers, not just the first one.
22893
22894 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22895
22896         * gst/elements/gsttypefindelement.c:
22897         (gst_type_find_element_have_type),
22898         (gst_type_find_element_check_set_buffer_caps),
22899         (gst_type_find_element_init), (stop_typefinding),
22900         (gst_type_find_element_handle_event),
22901         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22902         * gst/elements/gsttypefindelement.h:
22903           Set caps on first outgoing buffer when we've found the type.
22904
22905 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22906
22907         * docs/gst/gstreamer-docs.sgml:
22908         * docs/gst/gstreamer-sections.txt:
22909         * docs/gst/tmpl/gstscheduler.sgml:
22910         * docs/gst/tmpl/gstschedulerfactory.sgml:
22911           Remove some old cruft from docs.
22912
22913 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
22914
22915         * gst/gstpad.h:
22916           Fix inline docs for GstPadLinkReturn.
22917           
22918         * gst/gststructure.c: (gst_structure_has_name):
22919         * gst/gststructure.h:
22920         * docs/gst/gstreamer-sections.txt:
22921           New API: gst_structure_has_name().
22922
22923 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
22924
22925         * configure.ac:
22926           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22927           and _LARGEFILE_SOURCE in config.h as required. Do not 
22928           export those flags in our .pc files any longer (#142209).
22929
22930           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22931
22932         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22933         (gst_file_sink_do_seek), (gst_file_sink_event),
22934         (gst_file_sink_get_current_offset), (gst_file_sink_render):
22935           Redo seek/tell calls with large file support in mind; add some
22936           debugging messages; add log message that tells us when large
22937           file support is unavailable or not enabled for some reason.
22938
22939         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22940           Add log message that tells us when large file support 
22941           is unavailable or not enabled for some reason.
22942
22943 2005-07-29  Wim Taymans  <wim@fluendo.com>
22944
22945         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22946         Added test for removing an element with ghostpad from a bin.
22947         Fixed test as current implementation does the right thing.
22948
22949         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22950         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22951         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22952         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22953         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22954         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22955         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22956         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22957         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22958         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22959         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22960         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22961         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22962         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22963         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22964         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22965         * gst/gstghostpad.h:
22966         Clean up ghostpads, remove properties for internal stuff.
22967         Make threadsafe.
22968         Fix refcounting.
22969         Prepare for switching targets, not all use cases work yet.
22970
22971 2005-07-29  Wim Taymans  <wim@fluendo.com>
22972
22973         * docs/design/part-gstghostpad.txt:
22974         Small update.
22975
22976         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22977         (gst_bin_remove_func):
22978         Unlinking pads while holding the bin LOCK is not a good
22979         idea.
22980
22981         * gst/gstpad.c: (gst_pad_class_init),
22982         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22983         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22984         No prob setting template after creating the pad.
22985
22986 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22987
22988         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22989         (gst_bus_peek), (gst_bus_source_dispatch),
22990         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22991         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22992           gst_bus_poll may be called from other threads. Handle
22993           this nicely by not making poll_data disappear off the
22994           stack once gst_bus_poll returns.
22995           gst_bus_peek now increments the refcount on the returned
22996           message.
22997
22998 2005-07-29  Wim Taymans  <wim@fluendo.com>
22999
23000         * docs/design/part-gstghostpad.txt:
23001         Overview of current GhostPad datastructures and use
23002         cases for changing the target.
23003
23004 2005-07-28  Wim Taymans  <wim@fluendo.com>
23005
23006         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23007         Added checks for hierarchy consistency whan adding linked
23008         elements to bins.
23009
23010         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23011         Added check to test element scheduling without bin/pipeline.
23012
23013         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23014         First add elements to bin, then link.
23015         
23016         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
23017         (gst_bin_remove_func):
23018         Unlink pads from elements added/removed from bin to maintain
23019         hierarchy consistency.
23020
23021 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23022
23023         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23024         (gst_base_transform_handle_buffer):
23025         * gst/base/gstbasetransform.h:
23026           Remove broken delay_configure (fixes renegotiation of software
23027           scaling pipelines); remove some leftover printf()s.
23028
23029 2005-07-28  Wim Taymans  <wim@fluendo.com>
23030
23031         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23032         Added some more tests for wrong hierarchy
23033
23034         * docs/design/part-overview.txt:
23035         Some updates.
23036
23037         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
23038         Cleanups.
23039
23040         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
23041         (gst_element_dispose):
23042         Some more cleanups.
23043
23044         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
23045         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
23046         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23047         (gst_pad_set_caps), (gst_pad_send_event):
23048         Check for correct hierarchy when linking pads. Moving to
23049         strict requirement for ghostpads when linking elements in
23050         different bins.
23051
23052         * gst/gstpad.h:
23053         Clean ups. Added WRONG_HIERARCHY return value.
23054
23055 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23056
23057         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23058           Better debug if no transform is possible.
23059
23060 2005-07-27  Wim Taymans  <wim@fluendo.com>
23061
23062         * docs/random/wtay/network-transp:
23063         Some old doc I had.
23064
23065 2005-07-27  Wim Taymans  <wim@fluendo.com>
23066
23067         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23068         (gst_dp_event_from_packet):
23069         Fix serialization of seek events.
23070
23071 2005-07-27  Wim Taymans  <wim@fluendo.com>
23072
23073         * check/gst-libs/gdp.c: (GST_START_TEST):
23074         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23075         Fix compilation and fix event serialization.
23076
23077 2005-07-27  Wim Taymans  <wim@fluendo.com>
23078
23079         * CHANGES-0.9:
23080         * docs/design/part-TODO.txt:
23081         * docs/design/part-events.txt:
23082         Some docs updates
23083
23084         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23085         (gst_base_sink_event), (gst_base_sink_do_sync),
23086         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23087         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23088         (gst_base_src_do_seek), (gst_base_src_event_handler),
23089         (gst_base_src_loop):
23090         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23091         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23092         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23093         (gst_base_transform_event), (gst_base_transform_handle_buffer),
23094         (gst_base_transform_set_passthrough),
23095         (gst_base_transform_is_passthrough):
23096         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
23097         * gst/elements/gstfilesink.c: (gst_file_sink_event):
23098         Event updates.
23099
23100         * gst/gstbuffer.h:
23101         Use faster casts.
23102
23103         * gst/gstelement.c: (gst_element_seek):
23104         * gst/gstelement.h:
23105         Update gst_element_seek.
23106
23107         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
23108         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
23109         (gst_event_new_flush_start), (gst_event_new_flush_stop),
23110         (gst_event_new_eos), (gst_event_new_newsegment),
23111         (gst_event_parse_newsegment), (gst_event_new_tag),
23112         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
23113         (gst_event_parse_qos), (gst_event_new_seek),
23114         (gst_event_parse_seek), (gst_event_new_navigation):
23115         * gst/gstevent.h:
23116         Make GstEvent use GstStructure. Add parsing code, make sure the
23117         API is sufficiently generic.
23118         Mark possible directions of events and serialization.
23119
23120         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
23121         (_gst_message_copy), (gst_message_new_segment_start),
23122         (gst_message_new_segment_done), (gst_message_new_custom),
23123         (gst_message_parse_segment_start),
23124         (gst_message_parse_segment_done):
23125         Small cleanups.
23126
23127         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23128         (gst_pad_set_caps), (gst_pad_send_event):
23129         Update for new events. 
23130         Catch events sent in wrong directions.
23131
23132         * gst/gstqueue.c: (gst_queue_link_src),
23133         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
23134         (gst_queue_handle_src_query):
23135         Event updates.
23136
23137         * gst/gsttag.c:
23138         * gst/gsttag.h:
23139         Remove event code from this file.
23140
23141         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
23142         (gst_dp_event_from_packet):
23143         Event updates.
23144
23145 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23146
23147         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
23148         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23149         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
23150           Make debugging actually useful.
23151
23152 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23153
23154         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
23155         (gst_pad_fixate_caps):
23156           Implement default fixation once again, so that gst_pad_fixate()
23157           actually does anything at all. This probably needs to be some
23158           sort of a last resort, and use profile-based fixation first, but
23159           since that doesn't exist yet, this is the best we have. Fixes
23160           visualization in Totem.
23161
23162 2005-07-22  Wim Taymans  <wim@fluendo.com>
23163
23164         * docs/design/part-events.txt:
23165         Small update.
23166
23167         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23168         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
23169         (gst_base_sink_activate_pull):
23170         Some more comments.
23171
23172         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
23173         (gst_fake_src_create):
23174         Fix handoff marshall.
23175
23176         * gst/elements/gstidentity.c: (gst_identity_class_init),
23177         (gst_identity_transform_ip):
23178         We're a real inplace element.
23179
23180         * gst/gstbus.c: (gst_bus_post):
23181         Added some comments.
23182
23183         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
23184         * tests/muxing/case1.c: (main):
23185         * tests/sched/dynamic-pipeline.c: (main):
23186         * tests/sched/interrupt1.c: (main):
23187         * tests/sched/interrupt2.c: (main):
23188         * tests/sched/interrupt3.c: (main):
23189         * tests/sched/runxml.c: (main):
23190         * tests/sched/sched-stress.c: (main):
23191         * tests/seeking/seeking1.c: (event_received), (main):
23192         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
23193         (main):
23194         * tests/threadstate/threadstate3.c: (main):
23195         * tests/threadstate/threadstate4.c: (main):
23196         * tests/threadstate/threadstate5.c: (main):
23197         Fix the tests.
23198
23199 2005-07-21  Wim Taymans  <wim@fluendo.com>
23200
23201         * docs/design/part-seeking.txt:
23202         Some small additions.
23203
23204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23205         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23206         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
23207         * gst/base/gstbasesink.h:
23208         discont values are gint64, handle the math correctly.
23209
23210         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23211         Make the basesrc report error if the source pad is not linked.
23212
23213         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
23214         (gst_queue_loop), (gst_queue_handle_src_query),
23215         (gst_queue_src_activate_push):
23216         Make queue collect data even if the srcpad is not linked.
23217         Start pushing out data as soon as it is linked.
23218
23219         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
23220         * gst/gstutils.h:
23221         Added gst_flow_get_name() to ease error reporting.
23222
23223 2005-07-20  Wim Taymans  <wim@fluendo.com>
23224
23225         * gst/gstmessage.c: (gst_message_new_segment_start),
23226         (gst_message_new_segment_done), (gst_message_parse_segment_start),
23227         (gst_message_parse_segment_done):
23228         * gst/gstmessage.h:
23229         Added a bunch of messages for advanced seeking.
23230
23231         * gst/parse/grammar.y:
23232         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
23233         (gst_dpman_state_changed):
23234         Fix some new-pad -> pad-added signals
23235
23236 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23237
23238         * docs/manual/appendix-porting.xml:
23239         * docs/pwg/appendix-porting.xml:
23240           Document new-pad/state-change signal renames and the FixedList
23241           type rename.
23242
23243 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23244
23245         * docs/manual/advanced-autoplugging.xml:
23246         * docs/manual/basics-helloworld.xml:
23247         * docs/manual/basics-pads.xml:
23248         * docs/random/ds/0.9-suggested-changes:
23249         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
23250         * gst/gstelement.h:
23251         * gst/gstevent.h:
23252         * gst/gstformat.h:
23253         * gst/gstquery.h:
23254         * gst/gststructure.c: (gst_structure_value_get_generic_type),
23255         (gst_structure_parse_array), (gst_structure_parse_value):
23256         * gst/gstvalue.c: (gst_type_is_fixed),
23257         (gst_value_list_prepend_value), (gst_value_list_append_value),
23258         (gst_value_list_get_size), (gst_value_list_get_value),
23259         (gst_value_transform_array_string), (gst_value_serialize_array),
23260         (gst_value_deserialize_array), (gst_value_intersect_array),
23261         (gst_value_is_fixed), (_gst_value_initialize):
23262         * gst/gstvalue.h:
23263           GstElement::new-pad -> pad-added, GstElement::state-change ->
23264           state-changed, GstValueFixedList -> GstValueArray, add format and
23265           flags as their own arguments in gst_element_seek() (should improve
23266           "bindeability"), remove function generators since they don't work
23267           under a whole bunch of compilers (they were deprecated already
23268           anyway).
23269
23270 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23271
23272         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
23273         (_gst_debug_register_funcptr):
23274         * gst/gstinfo.h:
23275           Fix illegal cast on some platforms (#309253).
23276
23277 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23278
23279         * gst/gstmessage.c: (gst_message_new_custom):
23280         * gst/gstmessage.h:
23281           Add _new_custom, make _new_application a macro to _new_custom.
23282
23283 2005-07-20  Wim Taymans  <wim@fluendo.com>
23284
23285         * gst/base/gstbasesrc.c: (gst_base_src_init),
23286         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
23287         * gst/base/gstbasesrc.h:
23288         Add a gboolean to decide when to push out a discont.
23289
23290         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
23291         (gst_queue_loop), (gst_queue_handle_src_query),
23292         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
23293         (gst_queue_set_property), (gst_queue_get_property):
23294         Some cleanups.
23295
23296         * tests/threadstate/threadstate1.c: (main):
23297         Make a thread test compile and run... very silly..
23298
23299
23300 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23301
23302         * docs/manual/appendix-porting.xml:
23303           Mention removal of libgstgconf-0.9.la and existence of gconf
23304           elements.
23305
23306 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23307
23308         * docs/pwg/advanced-clock.xml:
23309         * docs/pwg/appendix-porting.xml:
23310         * docs/pwg/intro-preface.xml:
23311         * docs/pwg/other-base.xml:
23312         * docs/pwg/other-manager.xml:
23313         * docs/pwg/other-nton.xml:
23314         * docs/pwg/other-ntoone.xml:
23315         * docs/pwg/other-oneton.xml:
23316         * docs/pwg/pwg.xml:
23317           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
23318           demuxer), remove n-to-n (was never written), fix some code examples
23319           and links and update the porting section to include all this.
23320
23321 2005-07-19  Wim Taymans  <wim@fluendo.com>
23322
23323         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
23324         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
23325         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
23326         (gst_queue_src_activate_push), (gst_queue_change_state),
23327         (gst_queue_get_property):
23328         * gst/gstqueue.h:
23329         Propagate GstFlowReturn more intelligently upstream and output
23330         an ERROR/EOS when streaming stopped due to fatal error.
23331
23332 2005-07-19  Wim Taymans  <wim@fluendo.com>
23333
23334         * tools/gst-launch.c: (check_intr), (event_loop), (main):
23335         Don't block forever for the state change to complete, the
23336         pipeline already did with a sensible timeout.
23337
23338 2005-07-19  Wim Taymans  <wim@fluendo.com>
23339
23340         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
23341         Make sure we never call the create function is we
23342         got deactivated.
23343
23344 2005-07-19  Andy Wingo  <wingo@pobox.com>
23345
23346         * gst/parse/parse.l: Attempt to solve bug #172815.
23347
23348 2005-07-19  Wim Taymans  <wim@fluendo.com>
23349
23350         * docs/design/part-clocks.txt:
23351         * docs/design/part-events.txt:
23352         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
23353         Small docs updates.
23354         Only update the seeking values when we are not
23355         busy streaming.
23356
23357 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23358
23359         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23360           Oops, ignore the result of gst_pad_push_event here.
23361
23362 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
23363
23364         * gst/base/gstbasesrc.c: (gst_base_src_loop),
23365         (gst_base_src_activate_push):
23366           Send discont event from the loop function, as pads
23367           aren't activated yet in the activate_push handler.
23368
23369         * gst/gstbin.c: (bin_bus_handler):
23370           Don't leak element name.
23371
23372 2005-07-18  Andy Wingo  <wingo@pobox.com>
23373
23374         * configure.ac: Use AS_LIBTOOL_TAGS.
23375
23376 2005-07-18  Wim Taymans  <wim@fluendo.com>
23377
23378         * docs/gst/gstreamer.types:
23379         Remove deleted types.
23380
23381 2005-07-18  Wim Taymans  <wim@fluendo.com>
23382
23383         * check/elements/gstfakesrc.c: (GST_START_TEST):
23384         * configure.ac:
23385         * gst/Makefile.am:
23386         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
23387         (init_popt_callback):
23388         * gst/gst.h:
23389         * gst/gst_private.h:
23390         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
23391         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
23392         * gst/gstbin.h:
23393         * gst/gstbus.h:
23394         * gst/gstconfig.h.in:
23395         * gst/gstelement.c: (gst_element_class_init),
23396         (gst_element_set_base_time), (gst_element_get_base_time),
23397         (iterator_fold_with_resync), (gst_element_change_state),
23398         (gst_element_dispose), (gst_element_get_bus):
23399         * gst/gstelement.h:
23400         * gst/gstelementfactory.h:
23401         * gst/gsterror.c: (_gst_core_errors_init):
23402         * gst/gsterror.h:
23403         * gst/gstevent.h:
23404         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23405         * gst/gstindex.c:
23406         * gst/gstinfo.c: (_gst_debug_init):
23407         * gst/gstmessage.c: (_gst_message_copy):
23408         * gst/gstmessage.h:
23409         * gst/gstminiobject.h:
23410         * gst/gstobject.c:
23411         * gst/gstobject.h:
23412         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23413         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
23414         * gst/gstpad.h:
23415         * gst/gstparse.h:
23416         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23417         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23418         (gst_pipeline_get_last_stream_time):
23419         * gst/gstpipeline.h:
23420         * gst/gstpluginfeature.h:
23421         * gst/gstquery.h:
23422         * gst/gstscheduler.c:
23423         * gst/gstscheduler.h:
23424         * gst/gststructure.h:
23425         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
23426         (gst_task_finalize), (gst_task_func), (gst_task_create),
23427         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
23428         (gst_task_stop), (gst_task_pause):
23429         * gst/gsttask.h:
23430         * gst/gsttypefind.h:
23431         * gst/gsttypes.h:
23432         * gst/registries/gstlibxmlregistry.c: (load_feature),
23433         (gst_xml_registry_load), (gst_xml_registry_save_feature):
23434         * gst/registries/gstxmlregistry.c:
23435         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
23436         * gst/schedulers/threadscheduler.c:
23437         * libs/gst/control/dparammanager.h:
23438         * tools/gst-inspect.c: (print_element_list),
23439         (print_plugin_features), (print_element_features):
23440         * tools/gst-xmlinspect.c: (print_element_list),
23441         (print_plugin_info), (main):
23442         Removed plugable schedulers.
23443         Removed Scheduler/Manager from elements.
23444         Removed gsttypes.h, rearranged includes.
23445         Removed dependency pad<->element, element<>pipeline, and
23446         various others,  fix includes.
23447         implement gst_pad_get_parent() with gst_object_get_parent()
23448         Make GstTask sefcontained.
23449         Fix _get_state() on GstBin, it did not return ASYNC with a 0
23450         timeout.
23451         Fix endless loop in iterator_fold_with_resync.
23452
23453
23454 2005-07-18  Wim Taymans  <wim@fluendo.com>
23455
23456         * gst/Makefile.am:
23457         * gst/gstarch.h:
23458         Remove old file.
23459
23460 2005-07-18  Wim Taymans  <wim@fluendo.com>
23461
23462         * gst/Makefile.am:
23463         No more cothreads.h
23464
23465 2005-07-18  Wim Taymans  <wim@fluendo.com>
23466
23467         * gst/cothreads.c:
23468         * gst/cothreads.h:
23469         Let's remove these.
23470
23471 2005-07-18  Wim Taymans  <wim@fluendo.com>
23472
23473         * docs/design/part-dynamic.txt:
23474         * docs/design/part-events.txt:
23475         * docs/design/part-seeking.txt:
23476         Some more docs in the works.
23477
23478         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23479         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
23480         (gst_base_transform_setcaps), (gst_base_transform_get_size),
23481         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23482         (gst_base_transform_handle_buffer),
23483         (gst_base_transform_sink_activate_push),
23484         (gst_base_transform_src_activate_pull),
23485         (gst_base_transform_set_passthrough),
23486         (gst_base_transform_is_passthrough):
23487         Refcounting fixes.
23488
23489         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
23490         Cleanups.
23491
23492         * gst/gstevent.c: (gst_event_finalize):
23493         Set SRC to NULL.
23494
23495         * gst/gstutils.c: (gst_element_unlink),
23496         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
23497         (gst_pad_proxy_setcaps):
23498         * gst/gstutils.h:
23499         Add _get_parent_element() to get a pads parent as an element.
23500
23501 2005-07-18  Wim Taymans  <wim@fluendo.com>
23502
23503         * check/gst/gstbin.c: (GST_START_TEST):
23504         Remove bogus test.
23505
23506 2005-07-18  Wim Taymans  <wim@fluendo.com>
23507
23508         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23509         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23510         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23511         (gst_base_sink_event), (gst_base_sink_do_sync),
23512         (gst_base_sink_chain), (gst_base_sink_loop),
23513         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
23514         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
23515         Refcounting fixes.
23516         Fix logic for returning ASYNC when not prerolled.
23517
23518 2005-07-18  Wim Taymans  <wim@fluendo.com>
23519
23520         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23521         Fix nasty refcount bug.
23522
23523 2005-07-16 Philippe Khalaf <burger@speedy.org>
23524
23525         * gst/elements/gstfdsrc.c:
23526         * gst/elements/gstfdsrc.h:
23527         * gst/elements/gstelements.c:
23528         * gst/elements/Makefile.am:
23529         Ported fdsrc to 0.9.
23530
23531 2005-07-16  Wim Taymans  <wim@fluendo.com>
23532
23533         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23534         (gst_base_sink_do_sync):
23535         Fix compile error.
23536
23537 2005-07-16  Wim Taymans  <wim@fluendo.com>
23538
23539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23540         (gst_base_sink_event), (gst_base_sink_get_times),
23541         (gst_base_sink_do_sync), (gst_base_sink_change_state):
23542         * gst/base/gstbasesink.h:
23543         Store and use discont values when syncing buffers as described
23544         in design docs.
23545         
23546         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23547         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
23548         (gst_base_src_activate_push):
23549         Push discont event when starting.
23550
23551         * gst/elements/gstidentity.c: (gst_identity_transform):
23552         Small cleanups.
23553
23554         * gst/gstbin.c: (gst_bin_change_state):
23555         Small cleanups in base_time  distribution.
23556
23557         * gst/gstelement.c: (gst_element_set_base_time),
23558         (gst_element_get_base_time), (gst_element_change_state):
23559         * gst/gstelement.h:
23560         Added methods for the base_time of the element.
23561         Some MT fixes.
23562
23563         * gst/gstpipeline.c: (gst_pipeline_send_event),
23564         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
23565         (gst_pipeline_get_last_stream_time):
23566         * gst/gstpipeline.h:
23567         MT fixes.
23568         Handle seeking as described in design doc, remove stream_time
23569         hack.
23570         Cleanups clock and stream_time selection code. Added accessors
23571         for the stream_time.
23572         
23573
23574 2005-07-16  Andy Wingo  <wingo@pobox.com>
23575
23576         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
23577         (#305291).
23578
23579 2005-07-16  Wim Taymans  <wim@fluendo.com>
23580
23581         * check/gst/gstbin.c: (GST_START_TEST):
23582         Make elements silent as the deep_notify refs the
23583         parent, which might make the test fail.
23584
23585         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
23586         Don't hold the lock for too long.
23587
23588 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
23589
23590         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
23591           Don't unref the caps we passed to gst_caps_make_writable() after
23592           passing them. gst_caps_make_writable() will do that for us.
23593
23594 2005-07-15  Andy Wingo  <wingo@pobox.com>
23595
23596         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
23597         (#157311).
23598
23599         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
23600         own marshalling function for the handoff signal. Properly type the
23601         buffer as a buffer. Fixes some warnings. Should do a more general
23602         solution.
23603         (gst_identity_class_init): Plug into the right marshaller.
23604
23605 2005-07-15  Wim Taymans  <wim@fluendo.com>
23606
23607         * docs/design/part-TODO.txt:
23608         * docs/design/part-clocks.txt:
23609         * docs/design/part-element-sink.txt:
23610         * docs/design/part-events.txt:
23611         * docs/design/part-gstpipeline.txt:
23612         Updated docs, mostly DISCONT related.
23613
23614 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
23615
23616         * docs/pwg/building-pads.xml:
23617           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
23618
23619 2005-07-15  Andy Wingo  <wingo@pobox.com>
23620
23621         * tools/gst-typefind.c: Update, add copyright block.
23622
23623         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
23624         Normalize and truncate caps before fixation.
23625
23626         * gst/gstcaps.h:
23627         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
23628         discards all but the first structure from its argument.
23629
23630 2005-07-15  Wim Taymans  <wim@fluendo.com>
23631
23632         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23633         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
23634         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23635         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23636         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
23637         (gst_base_transform_chain), (gst_base_transform_change_state),
23638         (gst_base_transform_set_passthrough),
23639         (gst_base_transform_is_passthrough):
23640         * gst/base/gstbasetransform.h:
23641         Make passthrough work using the bufferpools.
23642         Changed API a bit, subclasses have to write into a buffer
23643         provided by the base class.
23644         More debug info in nego functions.
23645         
23646         * gst/elements/gstidentity.c: (gst_identity_init),
23647         (gst_identity_transform):
23648         Port to new base class.
23649
23650 2005-07-15  Wim Taymans  <wim@fluendo.com>
23651
23652         * gst/gstmessage.c: (gst_message_new_state_changed):
23653         * tools/gst-launch.c: (event_loop), (main):
23654         Totally dump messages in -launch with the -m option.
23655         Fix message name for State messages,
23656
23657 2005-07-14  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/base/gstbasesrc.c: (gst_base_src_loop):
23660         Post error messages on errors.
23661
23662 2005-07-14  Wim Taymans  <wim@fluendo.com>
23663
23664         * gst/gstcaps.c: (gst_caps_do_simplify):
23665         Remove debug info.
23666
23667         * gst/gsterror.h:
23668         Define error for stream stopped.
23669
23670         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23671         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
23672         Do proper return values.
23673
23674         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
23675         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
23676         (gst_pad_get_range):
23677         Better return values.
23678
23679         * gst/gstpad.h:
23680         Reorganise return values, add macro to check for fatal errors.
23681
23682         * gst/gstqueue.c: (gst_queue_chain):
23683         Return proper GstFlowReturn values,
23684
23685 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
23686
23687         * docs/gst/gstreamer-sections.txt:
23688         * docs/gst/gstreamer.types:
23689         * docs/gst/tmpl/gst.sgml:
23690         * docs/gst/tmpl/gstbasesink.sgml:
23691         * docs/gst/tmpl/gstbasesrc.sgml:
23692         * docs/gst/tmpl/gstbasetransform.sgml:
23693         * docs/gst/tmpl/gstbin.sgml:
23694         * docs/gst/tmpl/gstbuffer.sgml:
23695         * docs/gst/tmpl/gstcaps.sgml:
23696         * docs/gst/tmpl/gstclock.sgml:
23697         * docs/gst/tmpl/gstcompat.sgml:
23698         * docs/gst/tmpl/gstconfig.sgml:
23699         * docs/gst/tmpl/gstelement.sgml:
23700         * docs/gst/tmpl/gstelementdetails.sgml:
23701         * docs/gst/tmpl/gstelementfactory.sgml:
23702         * docs/gst/tmpl/gstenumtypes.sgml:
23703         * docs/gst/tmpl/gsterror.sgml:
23704         * docs/gst/tmpl/gstevent.sgml:
23705         * docs/gst/tmpl/gstfakesink.sgml:
23706         * docs/gst/tmpl/gstfakesrc.sgml:
23707         * docs/gst/tmpl/gstfilesink.sgml:
23708         * docs/gst/tmpl/gstfilesrc.sgml:
23709         * docs/gst/tmpl/gstfilter.sgml:
23710         * docs/gst/tmpl/gstformat.sgml:
23711         * docs/gst/tmpl/gstghostpad.sgml:
23712         * docs/gst/tmpl/gstimplementsinterface.sgml:
23713         * docs/gst/tmpl/gstindex.sgml:
23714         * docs/gst/tmpl/gstindexfactory.sgml:
23715         * docs/gst/tmpl/gstinfo.sgml:
23716         * docs/gst/tmpl/gstiterator.sgml:
23717         * docs/gst/tmpl/gstmacros.sgml:
23718         * docs/gst/tmpl/gstmemchunk.sgml:
23719         * docs/gst/tmpl/gstminiobject.sgml:
23720         * docs/gst/tmpl/gstobject.sgml:
23721         * docs/gst/tmpl/gstpad.sgml:
23722         * docs/gst/tmpl/gstpadtemplate.sgml:
23723         * docs/gst/tmpl/gstparse.sgml:
23724         * docs/gst/tmpl/gstpipeline.sgml:
23725         * docs/gst/tmpl/gstplugin.sgml:
23726         * docs/gst/tmpl/gstpluginfeature.sgml:
23727         * docs/gst/tmpl/gstquery.sgml:
23728         * docs/gst/tmpl/gstqueue.sgml:
23729         * docs/gst/tmpl/gstregistry.sgml:
23730         * docs/gst/tmpl/gstregistrypool.sgml:
23731         * docs/gst/tmpl/gstscheduler.sgml:
23732         * docs/gst/tmpl/gstschedulerfactory.sgml:
23733         * docs/gst/tmpl/gststructure.sgml:
23734         * docs/gst/tmpl/gstsystemclock.sgml:
23735         * docs/gst/tmpl/gsttaglist.sgml:
23736         * docs/gst/tmpl/gsttagsetter.sgml:
23737         * docs/gst/tmpl/gsttrace.sgml:
23738         * docs/gst/tmpl/gsttrashstack.sgml:
23739         * docs/gst/tmpl/gsttypefind.sgml:
23740         * docs/gst/tmpl/gsttypefindfactory.sgml:
23741         * docs/gst/tmpl/gsttypes.sgml:
23742         * docs/gst/tmpl/gsturihandler.sgml:
23743         * docs/gst/tmpl/gsturitype.sgml:
23744         * docs/gst/tmpl/gstutils.sgml:
23745         * docs/gst/tmpl/gstvalue.sgml:
23746         * docs/gst/tmpl/gstversion.sgml:
23747         * docs/gst/tmpl/gstxml.sgml:
23748         * docs/libs/tmpl/gstcontrol.sgml:
23749         * docs/libs/tmpl/gstdataprotocol.sgml:
23750         * docs/libs/tmpl/gstdparam.sgml:
23751         * docs/libs/tmpl/gstdplinint.sgml:
23752         * docs/libs/tmpl/gstdpman.sgml:
23753         * docs/libs/tmpl/gstdpsmooth.sgml:
23754         * docs/libs/tmpl/gstgetbits.sgml:
23755         * docs/libs/tmpl/gstunitconvert.sgml:
23756         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
23757         (gst_push_src_base_init), (gst_push_src_class_init),
23758         (gst_push_src_init), (gst_push_src_create):
23759         * gst/base/gstpushsrc.h:
23760         * gst/elements/gstelements.c:
23761         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
23762         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
23763         (gst_fake_sink_init), (gst_fake_sink_set_property),
23764         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
23765         (gst_fake_sink_event), (gst_fake_sink_preroll),
23766         (gst_fake_sink_render), (gst_fake_sink_change_state):
23767         * gst/elements/gstfakesink.h:
23768         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
23769         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
23770         (gst_fake_src_base_init), (gst_fake_src_class_init),
23771         (gst_fake_src_init), (gst_fake_src_event_handler),
23772         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
23773         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
23774         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
23775         (gst_fake_src_create_buffer), (gst_fake_src_create),
23776         (gst_fake_src_start), (gst_fake_src_stop):
23777         * gst/elements/gstfakesrc.h:
23778         * gst/elements/gstfilesink.c: (_do_init),
23779         (gst_file_sink_base_init), (gst_file_sink_class_init),
23780         (gst_file_sink_init), (gst_file_sink_dispose),
23781         (gst_file_sink_set_location), (gst_file_sink_set_property),
23782         (gst_file_sink_get_property), (gst_file_sink_open_file),
23783         (gst_file_sink_close_file), (gst_file_sink_query),
23784         (gst_file_sink_event), (gst_file_sink_render),
23785         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
23786         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
23787         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
23788         * gst/elements/gstfilesink.h:
23789         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
23790         (gst_file_src_class_init), (gst_file_src_init),
23791         (gst_file_src_finalize), (gst_file_src_set_location),
23792         (gst_file_src_set_property), (gst_file_src_get_property),
23793         (gst_file_src_map_region), (gst_file_src_map_small_region),
23794         (gst_file_src_create_mmap), (gst_file_src_create_read),
23795         (gst_file_src_create), (gst_file_src_is_seekable),
23796         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23797         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23798         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23799         (gst_file_src_uri_handler_init):
23800         * gst/elements/gstfilesrc.h:
23801           more autistic cleanliness in functions/names/defines
23802
23803 2005-07-13  Andy Wingo  <wingo@pobox.com>
23804
23805         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23806         source couldn't negotiate.
23807
23808         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23809         connections again.
23810
23811         * gst/gstutils.h:
23812         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23813         function. I am channeling Hades. Put your boots on suckers!!!
23814
23815 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23816
23817         * testsuite/caps/Makefile.am:
23818         * testsuite/caps/value_compare.c:
23819         * testsuite/caps/value_intersect.c:
23820         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23821           move two testsuite apps over to the check dir
23822
23823 2005-07-12  Wim Taymans  <wim@fluendo.com>
23824
23825         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23826         Added more debug info in the negotiate process.
23827
23828         * gst/gstmessage.h:
23829         Prepare for segment playback.
23830
23831         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23832         Better debugging.
23833
23834         * gst/gstutils.c:
23835         Some more docs.
23836
23837         * tools/gst-launch.c: (main):
23838         NULL pipeline on errors.
23839
23840 2005-07-12  Andy Wingo  <wingo@pobox.com>
23841
23842         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23843         not it comes from a malloc region. Make sure our copy gets freed.
23844
23845 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23846
23847         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23848         * check/gst/gstmessage.c: (GST_START_TEST):
23849         * check/gst/gststructure.c: (GST_START_TEST),
23850         (gst_structure_suite), (main):
23851           more testing
23852         * gst/gstelement.c: (gst_element_message_full):
23853           clean up GError and debug string now that they get copied
23854         * gst/gstmessage.c: (gst_message_new_error),
23855         (gst_message_new_warning), (gst_message_parse_error),
23856         (gst_message_parse_warning):
23857           use GST_TYPE_G_ERROR for structure_new, and take copies of
23858           arguments, so that we don't mess up refcounting
23859
23860 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23861
23862         * check/Makefile.am:
23863           add per-test valgrind targets
23864         * check/gst-libs/gdp.c: (GST_START_TEST),
23865         (gst_data_protocol_suite), (main):
23866           clean up
23867
23868 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23869
23870         * check/Makefile.am:
23871           instate more valgrindable tests
23872         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23873         (GST_START_TEST), (fakesrc_suite):
23874         * check/gst/gstpad.c: (GST_START_TEST):
23875         * check/gst/gststructure.c: (GST_START_TEST):
23876           fix test leaks
23877         * docs/gst/tmpl/gstminiobject.sgml:
23878         * gst/gstpad.c: (gst_pad_finalize):
23879           fix the static mutex leak
23880
23881 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23882
23883         * check/Makefile.am:
23884           add two more tests for valgrinding
23885         * check/gst/gstvalue.c: (GST_START_TEST):
23886           test refcount of deserialized buffer, found a leak
23887         * docs/gst/gstreamer-docs.sgml:
23888         * docs/gst/gstreamer-sections.txt:
23889         * docs/gst/gstreamer.types:
23890         * docs/gst/tmpl/gstminiobject.sgml:
23891           add miniobject to docs
23892         * gst/gstminiobject.c:
23893           add some docs
23894         * gst/gstvalue.c: (gst_value_deserialize_buffer),
23895         (gst_string_unwrap):
23896           fix a hard-to-find invalid write for one of the tests
23897           fix a leak for deserialized buffers
23898
23899 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23900
23901         * docs/pwg/advanced-events.xml:
23902         * docs/pwg/advanced-request.xml:
23903         * docs/pwg/advanced-scheduling.xml:
23904         * docs/pwg/appendix-porting.xml:
23905         * docs/pwg/building-boiler.xml:
23906         * docs/pwg/intro-preface.xml:
23907         * docs/pwg/other-ntoone.xml:
23908           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23909           of example code and explanation for pad activation, loop() and
23910           getrange() functions and a bit more. Remove old comments pointing
23911           to loop-functions.
23912         * examples/pwg/Makefile.am:
23913           Add loop/getrange examples.
23914
23915 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23916
23917         * configure.ac:
23918           check for valgrind binary + some fixes
23919         * check/gst.supp:
23920           valgrind suppressions for the tests
23921         * check/Makefile.am:
23922           add a valgrind: target that valgrinds the unit tests
23923         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23924         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23925         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23926         * check/gst/gstghostpad.c:
23927           added some cleanup
23928         * check/gst/gstdata.c:
23929           removed
23930         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23931         (thread_unref), (gst_mini_object_suite), (main):
23932           added
23933         * gst/gst.c: (gst_deinit):
23934         * gst/gst.h:
23935           add a method to clean up.
23936         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23937         (gst_system_clock_obtain):
23938           allow for disposing the system clock.
23939         * tools/gst-launch.c: (main):
23940           deinit
23941
23942 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23943
23944         * docs/gst/tmpl/gstbasesrc.sgml:
23945         * docs/gst/tmpl/gstfakesrc.sgml:
23946         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23947         (gst_base_src_init), (gst_base_src_set_property),
23948         (gst_base_src_get_property), (gst_base_src_get_range),
23949         (gst_base_src_start):
23950         * gst/base/gstbasesrc.h:
23951           add num-buffers property
23952         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23953         (gst_fakesrc_init), (gst_fakesrc_set_property),
23954         (gst_fakesrc_get_property), (gst_fakesrc_create),
23955         (gst_fakesrc_start):
23956           remove num-buffers property
23957
23958 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23959
23960         * docs/gst/gstreamer-sections.txt:
23961         * docs/gst/tmpl/gstbasesink.sgml:
23962         * docs/gst/tmpl/gstbasesrc.sgml:
23963         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23964         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23965         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23966         (gst_base_sink_set_property), (gst_base_sink_get_property),
23967         (gst_base_sink_handle_object), (gst_base_sink_event),
23968         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23969         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23970         (gst_base_sink_loop), (gst_base_sink_deactivate),
23971         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23972         (gst_base_sink_change_state):
23973         * gst/base/gstbasesink.h:
23974         * gst/base/gstbasesrc.h:
23975         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23976         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23977         (gst_filesink_init):
23978           more macro splitting
23979
23980 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23981
23982         * gst/gstelement.c: (gst_element_get_bus):
23983           add debug
23984         * tools/gst-launch.c: (check_intr), (event_loop):
23985           fix bus leaks
23986
23987 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23988
23989         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23990           fix a caps leak
23991
23992 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23993
23994         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23995         (gst_base_src_finalize):
23996           add finalize method and clean up properly
23997         * gst/gstpipeline.c: (gst_pipeline_dispose):
23998           add debug
23999
24000 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24001
24002         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
24003         (gst_bin_suite):
24004           add more things to check
24005         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24006         * gst/gstelement.c:
24007           more debug
24008
24009 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24010
24011         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24012         (GST_START_TEST), (fakesrc_suite):
24013         * check/gst-libs/gdp.c: (GST_START_TEST):
24014         * check/gst/gst.c: (GST_START_TEST):
24015         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24016         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24017         * check/gst/gstbus.c: (GST_START_TEST):
24018         * check/gst/gstcaps.c: (GST_START_TEST):
24019         * check/gst/gstdata.c: (GST_START_TEST):
24020         * check/gst/gstelement.c: (GST_START_TEST):
24021         * check/gst/gstghostpad.c: (GST_START_TEST):
24022         * check/gst/gstiterator.c: (GST_START_TEST):
24023         * check/gst/gstmessage.c: (GST_START_TEST):
24024         * check/gst/gstobject.c: (GST_START_TEST):
24025         * check/gst/gstpad.c: (GST_START_TEST):
24026         * check/gst/gststructure.c: (GST_START_TEST):
24027         * check/gst/gstsystemclock.c: (GST_START_TEST),
24028         (gst_systemclock_suite):
24029         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24030         * check/gst/gstvalue.c: (GST_START_TEST):
24031         * check/pipelines/cleanup.c: (GST_START_TEST):
24032         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24033         * check/states/sinks.c: (GST_START_TEST):
24034         * check/gstcheck.c: (gst_check_init):
24035         * check/gstcheck.h:
24036           add debugging category
24037           use GST_START_TEST now, so we add a debug line
24038
24039 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24040
24041         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
24042           add test for state change message on a bin
24043         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
24044           add another test
24045         * gst/gstbin.c: (gst_bin_init):
24046         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
24047         * gst/gstelement.c: (gst_element_post_message),
24048         (gst_element_set_state):
24049         * gst/gstelementfactory.c: (gst_element_factory_create):
24050         * gst/gstmessage.c: (gst_message_new):
24051         * gst/gstscheduler.c:
24052           various debugging additions and cleanups
24053
24054 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24055
24056         * check/Makefile.am:
24057         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
24058         (main):
24059           adding tests for elements
24060         * gst/gstelement.c: (gst_element_dispose):
24061
24062 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24063
24064         * gst/registries/gstlibxmlregistry.c: (load_feature):
24065           plug more leaks.  A simple gst_init() now is leakfree, yay.
24066
24067 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24068
24069         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
24070         (gst_xml_registry_load):
24071           plug another memleak
24072
24073 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24074
24075         * configure.ac:
24076           use GST_SET_ERROR_CFLAGS
24077         * docs/faq/cvs.xml:
24078           change to ERROR_CFLAGS
24079
24080 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24081
24082         * configure.ac:
24083           make GST_ERROR_CFLAGS overridable and re-enable Werror
24084         * docs/faq/cvs.xml:
24085           add a note about error CFLAGS
24086         * docs/gst/tmpl/gstfakesrc.sgml:
24087         * gst/elements/gstfakesrc.c:
24088           comment out some unused code
24089         * gst/gst.c: (split_and_iterate):
24090         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
24091         (load_feature):
24092           plug some memleaks
24093
24094 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24095
24096         * common/Makefile.am:
24097         * common/gtk-doc.mak:
24098         * docs/gst/Makefile.am:
24099           factor out gtk-doc.mak
24100
24101 2005-07-07  Wim Taymans  <wim@fluendo.com>
24102
24103         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
24104         (gst_thread_scheduler_dispose):
24105         Unlock the STREAM_LOCK completely.
24106
24107 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
24108
24109         * check/Makefile.am:
24110         * check/elements/.cvsignore:
24111         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24112         (START_TEST), (fakesrc_suite), (main):
24113         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24114         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
24115         (gst_fakesrc_create), (gst_fakesrc_start):
24116         * gst/elements/gstfakesrc.h:
24117           adding a first element test
24118
24119 2005-07-07  Andy Wingo  <wingo@pobox.com>
24120
24121         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
24122         debug message.
24123
24124 2005-07-07  Wim Taymans  <wim@fluendo.com>
24125
24126         * gst/gstquery.c:
24127         * gst/gstquery.h:
24128         Remove old types
24129
24130 2005-07-07  Wim Taymans  <wim@fluendo.com>
24131
24132         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
24133         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
24134         Allow subclasses to implement their own negotiation.
24135
24136 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24137
24138         * docs/design/part-gstbin.txt:
24139         * docs/design/part-gstpipeline.txt:
24140           Update design notes to reflect the movement of
24141           responsibility for bus handling from GstPipeline to
24142           GstBin
24143
24144 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24145
24146         * configure.ac:
24147           Remove unnecessary queue2/3/4 examples.
24148
24149 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
24150
24151         * examples/Makefile.am:
24152         * examples/helloworld/helloworld.c: (event_loop), (main):
24153         * examples/queue/queue.c: (event_loop), (main):
24154         * examples/queue2/queue2.c: (main):
24155           Update a couple of the examples to work again.
24156
24157         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24158         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
24159          Spelling corrections and extra debug.
24160         
24161         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
24162         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
24163         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
24164         * gst/gstbin.h:
24165         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24166         (gst_pipeline_change_state):
24167         * gst/gstpipeline.h:
24168           Move the bus handler for children to the GstBin, and create a
24169           separate bus for receiving messages from children to the one the
24170           bus sends 'upwards' on.
24171
24172 2005-07-06  Wim Taymans  <wim@fluendo.com>
24173
24174         * gst/base/README:
24175         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24176         (gst_base_sink_handle_object), (gst_base_sink_loop),
24177         (gst_base_sink_change_state):
24178         * gst/base/gstbasesink.h:
24179         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24180         (gst_base_src_init), (gst_base_src_setcaps),
24181         (gst_base_src_getcaps), (gst_base_src_loop),
24182         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
24183         (gst_base_src_start), (gst_base_src_change_state):
24184         * gst/base/gstbasesrc.h:
24185         Make basesrc negotiate.
24186         Handle the case where preroll fails in basesink.
24187         Update README.
24188
24189 2005-07-06  Wim Taymans  <wim@fluendo.com>
24190
24191         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
24192         Implement the fixate function.
24193         Clean up acceptcaps.
24194
24195 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24196
24197         * docs/pwg/building-filterfactory.xml:
24198         * docs/pwg/pwg.xml:
24199           Remove never-written filter-factory chapter; I'll add the various
24200           base classes to part 4 ("other element types") later on.
24201
24202 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24203
24204         * docs/pwg/advanced-negotiation.xml:
24205         * docs/pwg/building-boiler.xml:
24206         * docs/pwg/building-pads.xml:
24207         * docs/pwg/pwg.xml:
24208         * examples/pwg/Makefile.am:
24209           Add a chapter on caps negotiation, simplify the original code
24210           samples a bit w.r.t. caps negotiation, add link to the advanced
24211           section. Add a bunch of examples showing different use cases of
24212           different types of caps negotiation. Upstream renegotiation isn't
24213           fully documented yet since nobody knows how that works.
24214
24215 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
24216
24217         * check/gst/gstpad.c:
24218         * check/gstcheck.c:
24219         * gst/gstpad.c: (gst_pad_get_internal_links_default):
24220           if pad has no parent, return NULL as list of internal links
24221
24222 2005-07-05  Andy Wingo  <wingo@pobox.com>
24223
24224         * gst/elements/gstfilesrc.c:
24225         * gst/elements/gstfakesrc.c: 
24226         * gst/base/gstpushsrc.c:
24227         * gst/base/gstbasesrc.h: 
24228         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
24229         
24230 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
24231
24232         * Makefile.am:
24233           better report generation target (lcov needs a patch)
24234
24235 2005-07-05  Andy Wingo  <wingo@pobox.com>
24236
24237         * gst/elements, testsuite: Null if we got it...
24238
24239 2005-07-05  Wim Taymans  <wim@fluendo.com>
24240
24241         * configure.ac:
24242         * libs/gst/dataprotocol/Makefile.am:
24243         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
24244         * libs/gst/dataprotocol/dataprotocol.h:
24245         * pkgconfig/Makefile.am:
24246         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
24247         * pkgconfig/gstreamer-dataprotocol.pc.in:
24248         Ported dataprotol to 0.9. 
24249         Added pkgconfig files.
24250
24251 2005-07-05  Andy Wingo  <wingo@pobox.com>
24252
24253         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
24254         Default to returning TRUE for the case when tranform_caps returns
24255         a fixed caps, like for identity or volume.
24256
24257         * check/gst/gstbus.c (pound_bus_with_messages): 
24258         * check/gst/gstmessage.c (START_TEST): 
24259         * check/pipelines/simple_launch_lines.c (got_handoff): Application
24260         message API change.
24261
24262         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
24263         logic weaks here: always run transform_caps, trying passthrough
24264         operation only if the original caps intersects with the transform.
24265
24266         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
24267         source and sink caps.
24268
24269         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
24270         Intersect the peer caps with the pad template before going into
24271         transform_caps.
24272         (gst_base_transform_transform_caps): More debugging.
24273
24274         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
24275         src argument.
24276
24277 2005-07-04  Edward Hervey  <edward@fluendo.com>
24278
24279         * gst/gstutils.c:
24280         * gst/gstutils.h:
24281         (gst_pad_add_*_probe): now returns the signal id for better wrapping
24282         in bindings.
24283
24284 2005-07-04  Andy Wingo  <wingo@pobox.com>
24285
24286         * check/gst/gstpad.c: Only set explicit caps on pads.
24287
24288 2005-07-01  Andy Wingo  <wingo@pobox.com>
24289
24290         * tests/network-clock.scm: Commentary update.
24291
24292         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
24293         Didn't really make sense, not implementable with basetransform,
24294         etc.
24295         (gst_identity_transform): Unref inbuf via make_writable. Feeble
24296         attempt at implementing the sync property, needs an unlock method.
24297
24298         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
24299         New func, by default returns the same caps (the identity
24300         transformation).
24301         (gst_base_transform_getcaps): Uses transform_caps to return
24302         something sensible.
24303         (gst_base_transform_setcaps): Complicated logic to get caps on
24304         both pads, even if they are different, and to call set_caps once
24305         for every time both pads get their caps set.
24306         (gst_base_transform_handle_buffer): Give the ref to the transform
24307         function. Allows in-place modification of the buffer.
24308
24309         * gst/base/gstbasetransform.h (transform_caps): New class method.
24310         Given caps on one side, what can I do on the other.
24311         (set_caps): Take two caps, one for each side of the element.
24312
24313         * gst/gstpad.h:
24314         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
24315         caps in place. This is safe because we can check the mutability of
24316         the caps, and a good idea because fixate functions are just called
24317         as a matter of last resort. (Not actually implemented.)
24318         (gst_pad_set_caps): If the caps we're setting is actually the same
24319         as the existing pad caps, just update the pointer without calling
24320         setcaps. Assert that caps is either NULL or fixed, as per the
24321         docs.
24322
24323         * gst/gstghostpad.c: Update for fixate changes.
24324
24325 2005-07-02  Andy Wingo  <wingo@pobox.com>
24326
24327         * gst/gstcaps.c:
24328         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
24329         two refcounts makes it immutable, which is enough. Doc more.
24330
24331 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
24332
24333         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
24334           Put the mini_object into GValue as a mini_object,
24335           not a gpointer, since that's how we declared
24336           the signal.
24337
24338 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24339
24340         * examples/pwg/Makefile.am:
24341           Fix buildbot again.
24342
24343 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24344
24345         * docs/pwg/building-testapp.xml:
24346           Add extra check.
24347         * examples/pwg/Makefile.am:
24348           Fix buildbot.
24349
24350 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24351
24352         * configure.ac:
24353         * examples/Makefile.am:
24354         * examples/pwg/Makefile.am:
24355         * examples/pwg/extract.pl:
24356           Enable building the PWG examples.
24357         * docs/pwg/advanced-interfaces.xml:
24358           Add URI interface stub.
24359         * docs/pwg/advanced-types.xml:
24360         * docs/pwg/other-autoplugger.xml:
24361         * docs/pwg/appendix-porting.xml:
24362         * docs/pwg/pwg.xml:
24363           Add porting guide (mostly stubs), remove autoplugging (see ADM).
24364         * docs/pwg/building-boiler.xml:
24365         * docs/pwg/building-chainfn.xml:
24366         * docs/pwg/building-pads.xml:
24367         * docs/pwg/building-props.xml:
24368         * docs/pwg/building-state.xml:
24369         * docs/pwg/building-testapp.xml:
24370           Update the building-*.xml parts for 0.9 changes. All examples
24371           code blocks compile in examples/pwg/*.
24372
24373 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24374
24375         * docs/manual/advanced-autoplugging.xml:
24376         * docs/manual/appendix-checklist.xml:
24377         * docs/manual/appendix-integration.xml:
24378         * docs/manual/highlevel-components.xml:
24379           Fix playbin/decodebin examples, update docs a bit, mention bus
24380           instead of signals in various places, mention kmplayer and
24381           kaffeine since they have a working GStreamer backend in the KDE
24382           section.
24383
24384 2005-06-30  Wim Taymans  <wim@fluendo.com>
24385
24386         * CHANGES-0.9:
24387         * docs/design/draft-ghostpads.txt:
24388         * docs/design/draft-push-pull.txt:
24389         * docs/design/draft-query.txt:
24390         * docs/design/part-TODO.txt:
24391         * docs/design/part-query.txt:
24392         Added CHANGES-0.9 doc, updated status of other docs.
24393         
24394         * gst/gstquery.h:
24395         Remove "hmm" macro
24396
24397 2005-06-30  Wim Taymans  <wim@fluendo.com>
24398
24399         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
24400         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24401         (gst_base_sink_change_state):
24402         * gst/base/gstbasesink.h:
24403         Some tweaks, only EOS and a buffer complete a preroll.
24404
24405 2005-06-30  Andy Wingo  <wingo@pobox.com>
24406
24407         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
24408         activate_push down to the internal pad as well.
24409
24410 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
24411
24412         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24413
24414         * gst/gsttaginterface.c:
24415           Some documentation fixes (#307394 and #307397).
24416
24417 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
24418
24419         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24420
24421         * gst/gstvalue.c: (gst_value_intersect_list):
24422           Fix memleak (#309125).
24423
24424 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24425
24426         * docs/manual/advanced-dataaccess.xml:
24427           Fix fakesrc example to compile; doesn't work, bug somewhere...?
24428         * docs/manual/basics-pads.xml:
24429           Add reference for filtered caps to above chapter.
24430
24431 2005-06-30  Wim Taymans  <wim@fluendo.com>
24432
24433         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
24434         (gst_bin_change_state):
24435         Probes are gone.
24436         Lame attempt at making the state change function a bit
24437         more readable.
24438
24439 2005-06-30  Wim Taymans  <wim@fluendo.com>
24440
24441         * docs/design/part-clocks.txt:
24442         * docs/design/part-element-sink.txt:
24443         * docs/design/part-events.txt:
24444         * docs/design/part-preroll.txt:
24445         * docs/design/part-states.txt:
24446         Some more tweeks and additions to the docs.
24447
24448 2005-06-30  Wim Taymans  <wim@fluendo.com>
24449
24450         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24451         (default_have_data), (gst_pad_class_init), (gst_pad_init),
24452         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24453         (gst_pad_check_pull_range), (gst_pad_get_range),
24454         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
24455         * gst/gstpad.h:
24456         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
24457         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24458         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24459         (gst_pad_remove_buffer_probe):
24460         Removed atomic operations, use existing LOCK.
24461         Move exception handling out of main code path.
24462
24463 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24464
24465         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24466         (silly_return_true_function), (gst_pad_class_init),
24467         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
24468         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
24469         (gst_pad_send_event):
24470           Fix accumulator, add default value by using _emitv() instead
24471           of _emit() for signal emission.
24472
24473 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24474
24475         * docs/manual/advanced-dataaccess.xml:
24476         * examples/manual/Makefile.am:
24477           Add probe example.
24478         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
24479           Make work (??).
24480
24481 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
24482
24483         * gst/elements/gstfilesink.c: (gst_filesink_render):
24484           Simplify code so that we don't have to handle short
24485           writes and return GST_FLOW_ERROR if an error occured.
24486
24487 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24488
24489         * docs/gst/gstreamer-docs.sgml:
24490           Remove probes more.
24491
24492 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24493
24494         * docs/gst/gstreamer-sections.txt:
24495         * docs/gst/tmpl/gstpad.sgml:
24496         * docs/gst/tmpl/gstprobe.sgml:
24497         * gst/Makefile.am:
24498         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
24499         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
24500         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24501         (gst_pad_push_event), (gst_pad_send_event):
24502         * gst/gstpad.h:
24503         * gst/gstutils.c: (gst_pad_add_data_probe),
24504         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
24505         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
24506         (gst_pad_remove_buffer_probe):
24507         * gst/gstutils.h:
24508           Remove old probes, add new g-signal-based probes and some utility
24509           functions.
24510
24511 2005-06-29  Edward Hervey  <edward@fluendo.com>
24512
24513         * gst/gstelementfactory.c:
24514         * gst/gstutils.h:
24515         * gst/gstutils.c:
24516         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
24517         the definition to the header file.
24518
24519 2005-06-29  Andy Wingo  <wingo@pobox.com>
24520
24521         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
24522         plugins from the source directory.
24523
24524 2005-06-29  Wim Taymans  <wim@fluendo.com>
24525
24526         * docs/gst/tmpl/gstbuffer.sgml:
24527         * docs/gst/tmpl/gstclock.sgml:
24528         Some fixings for blantently wrong text.
24529
24530 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24531
24532         * check/Makefile.am:
24533         * gst/gst.c: (add_path_func), (init_pre):
24534         * gst/gstregistry.c: (gst_registry_add_path):
24535           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
24536           only scan the GST_PLUGIN_PATH locations, and not add
24537           system locations
24538
24539 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
24540
24541         * docs/gst/gstreamer-sections.txt:
24542         * docs/gst/tmpl/gstbasesrc.sgml:
24543         * gst/gstelement.c:
24544         * gst/gstelement.h:
24545         * gst/gstevent.c:
24546         * gst/gstutils.c:
24547           doc fixes
24548
24549 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24550
24551         * docs/manual/advanced-autoplugging.xml:
24552           Fix autoplugging example.
24553
24554 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24555
24556         * docs/manual/advanced-autoplugging.xml:
24557         * docs/manual/mime-world.fig:
24558           Try to get autoplugging working, fix type detection. Fix text
24559           in hello-world image.
24560
24561 2005-06-29  Wim Taymans  <wim@fluendo.com>
24562
24563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24564         (gst_base_sink_change_state):
24565         Small debug line.
24566
24567         * gst/gstclock.h:
24568         map SIGNAL and BROADCAST to the right function.
24569
24570         * gst/gstobject.h:
24571         Remove redundant braces.
24572
24573         * gst/gstpad.c: (gst_pad_set_caps):
24574         Don't call setcaps function when reseting caps to NULL.
24575
24576         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24577         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
24578         (gst_system_clock_id_unschedule):
24579         Use BROADCAST as this is what we do.
24580
24581 2005-06-29  Wim Taymans  <wim@fluendo.com>
24582
24583         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24584         We are actually prerolling before commiting the state
24585         change. 
24586
24587 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24588
24589         * docs/manual/advanced-clocks.xml:
24590         * docs/manual/advanced-interfaces.xml:
24591         * docs/manual/advanced-metadata.xml:
24592         * docs/manual/advanced-position.xml:
24593         * docs/manual/advanced-schedulers.xml:
24594         * docs/manual/advanced-threads.xml:
24595         * docs/manual/appendix-porting.xml:
24596         * docs/manual/basics-bins.xml:
24597         * docs/manual/basics-bus.xml:
24598         * docs/manual/basics-elements.xml:
24599         * docs/manual/basics-helloworld.xml:
24600         * docs/manual/basics-pads.xml:
24601         * docs/manual/highlevel-components.xml:
24602         * docs/manual/manual.xml:
24603         * docs/manual/thread.fig:
24604           Update (until threads/scheduling) Application Development Manual;
24605           remove GstThread, add GstBus, add simple porting checklist, add
24606           documentation for tag writing, clocks, make all examples until this
24607           part compile and run.
24608         * examples/manual/Makefile.am:
24609           Update from changes to Application Development Manual; add bus
24610           example, remove thread example.
24611
24612 2005-06-28  Wim Taymans  <wim@fluendo.com>
24613
24614         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
24615         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
24616         (gst_bus_source_dispatch):
24617         Add debugging messages.
24618         Make internal methods static.
24619         Handle the case where the bus is flushed in the handler.
24620         
24621         * gst/gstelement.c: (gst_element_get_bus):
24622         Fix refcount in _get_bus();
24623
24624         * gst/gstpipeline.c: (gst_pipeline_change_state),
24625         (gst_pipeline_get_clock_func):
24626         Clock refcounting fixes.
24627         Handle the case where preroll timed out more gracefully.
24628         
24629         * gst/gstsystemclock.c: (gst_system_clock_dispose):
24630         Clean up the internal thread in dispose. This is needed
24631         for subclasses that actually get disposed.
24632         
24633         * gst/schedulers/threadscheduler.c:
24634         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
24635         (gst_thread_scheduler_dispose):
24636         Free thread pool in dispose.
24637
24638 2005-06-28  Andy Wingo  <wingo@pobox.com>
24639
24640         * tests/network-clock-utils.scm (debug, print-event): New utils.
24641
24642         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
24643         (*packet-loss*): Unified loss probability.
24644         (network-time): Report out-of-band events.
24645
24646         * tests/plot-data: Add support for out-of-band events. Hack it
24647         into this script instead of passing it down the pipe; should fix
24648         this later.
24649
24650 2005-06-28  Wim Taymans  <wim@fluendo.com>
24651
24652         * docs/gst/gstreamer.types:
24653         * docs/gst/tmpl/gstbasesrc.sgml:
24654         * docs/gst/tmpl/gstpad.sgml:
24655         Docs fixes.
24656
24657 2005-06-28  Wim Taymans  <wim@fluendo.com>
24658
24659         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24660         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
24661         (gst_proxy_pad_do_fixatecaps):
24662         Correctly proxy the check_pull_range function.
24663
24664 2005-06-28  Andy Wingo  <wingo@pobox.com>
24665
24666         * tests/network-clock.scm: Removed need for slib.
24667         
24668 2005-06-28  Wim Taymans  <wim@fluendo.com>
24669
24670         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
24671         (gst_basesink_preroll_queue_flush):
24672         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
24673         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
24674         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24675         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24676         (gst_proxy_pad_set_property):
24677         * gst/gstpad.c:
24678         * gst/gstpad.h:
24679         * gst/gstqueue.c: (gst_queue_init):
24680         The deprecated pad loop function is removed now.
24681
24682 2005-06-28  Andy Wingo  <wingo@pobox.com>
24683
24684         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
24685         New parameters, simulate network packet loss.
24686
24687         * tests/network-clock-utils.scm: Initialize the RNG.
24688
24689 2005-06-28  Wim Taymans  <wim@fluendo.com>
24690
24691         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
24692         (gst_basesink_event), (gst_basesink_deactivate):
24693         Flushing the preroll queue always needs to unlock the waiters.
24694
24695 2005-06-28  Edward Hervey  <edward@fluendo.com>
24696
24697         * gst/gstpipeline.c: (gst_pipeline_send_event): 
24698         Wheen a seek was successful on a pipeline, set the stream_time to the
24699         seek offset in order to have a synchronized stream_time.
24700
24701 2005-06-28  Wim Taymans  <wim@fluendo.com>
24702
24703         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24704         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
24705         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
24706         (gst_proxy_pad_do_fixatecaps):
24707         Call wrapper function instead of just calling the function
24708         pointers. This takes care of any locking and whatmore.
24709
24710 2005-06-28  Wim Taymans  <wim@fluendo.com>
24711
24712         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
24713         (gst_pad_pull_range):
24714         * gst/gstpad.h:
24715         CONNECTED -> LINKED.
24716
24717 2005-06-28  Andy Wingo  <wingo@pobox.com>
24718
24719         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
24720         source-munging commit!!!
24721
24722         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
24723         (gst_object_sink): Take gpointer arguments, not GstObject --
24724         avoids casts. Like GLib.
24725
24726         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
24727         activate.
24728
24729 2005-06-27  Andy Wingo  <wingo@pobox.com>
24730
24731         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
24732         remaining buffer.
24733
24734         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
24735         returns a sorted copy of the trace list.
24736         (gst_alloc_trace_print_live): New API, only prints traces with
24737         live objects. Sort the list.
24738         (gst_alloc_trace_print_all): Sort the list.
24739         (gst_alloc_trace_print): Align columns.
24740
24741         * gst/elements/gstttypefindelement.c:
24742         * gst/elements/gsttee.c:
24743         * gst/base/gstbasesrc.c:
24744         * gst/base/gstbasesink.c:
24745         * gst/base/gstbasetransform.c:
24746         * gst/gstqueue.c: Adapt for pad activation changes.
24747
24748         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
24749         sched.
24750         (gst_pipeline_dispose): Drop ref on sched.
24751
24752         * gst/gstpad.c (gst_pad_init): Set the default activate func.
24753         (gst_pad_activate_default): Push mode by default.
24754         (pre_activate_switch, post_activate_switch): New stubs, things to
24755         do before and after switching activation modes on pads.
24756         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
24757         the pad's activate function to choose which mode to activate.
24758         Shortcut on deactivation and call the right function directly.
24759         (gst_pad_activate_pull): New API, (de)activates a pad in pull
24760         mode.
24761         (gst_pad_activate_push): New API, same for push mode.
24762         (gst_pad_set_activate_function) 
24763         (gst_pad_set_activatepull_function) 
24764         (gst_pad_set_activatepush_function): Setters for new API.
24765
24766         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
24767         Trace all miniobjects.
24768         (gst_mini_object_make_writable): Unref the arg if we copy, like
24769         gst_caps_make_writable.
24770
24771         * gst/gstmessage.c (_gst_message_initialize): No trace init.
24772
24773         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
24774         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
24775         Adapt for new pad API.
24776
24777         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
24778
24779         * gst/gstelement.h:
24780         * gst/gstelement.c (gst_element_iterate_src_pads) 
24781         (gst_element_iterate_sink_pads): New API functions.
24782         
24783         * gst/gstelement.c (iterator_fold_with_resync): New utility,
24784         should fold into gstiterator.c in some form.
24785         (gst_element_pads_activate): Simplified via use of fold and
24786         delegation of decisions to gstpad->activate.
24787
24788         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
24789         help in debugging.
24790
24791         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24792         class once in init, like gstmessage. Didn't run into this issue
24793         but it seems correct. Don't initialize a trace, gstminiobject does
24794         that.
24795
24796         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24797         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24798         to the bus.
24799         (assert_live_count): New util function, uses alloc traces to check
24800         cleanup.
24801
24802         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24803         To be modified when unlink drops the internal pad.
24804
24805 2005-06-27  Wim Taymans  <wim@fluendo.com>
24806
24807         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24808         (gst_bin_change_state):
24809         Cleanup the get_state() function a little, make sure it
24810         iterates the same set of elements.
24811         Added stub iterate_state_order().
24812
24813 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24814
24815         * docs/gst/gstreamer-docs.sgml:
24816         * docs/gst/gstreamer-sections.txt:
24817         * docs/gst/gstreamer.types:
24818         * docs/gst/tmpl/gstbasesink.sgml:
24819         * docs/gst/tmpl/gstbasesrc.sgml:
24820         * docs/gst/tmpl/gstbasetransform.sgml:
24821         * docs/gst/tmpl/gstelement.sgml:
24822         * docs/gst/tmpl/gstiterator.sgml:
24823         * gst/base/gstbasesrc.c:
24824         * gst/base/gstbasesrc.h:
24825         * gst/base/gstbasetransform.h:
24826         * gst/gstelement.c:
24827         * gst/gstiterator.h:
24828           adding basetransform and iterator docs
24829
24830 2005-06-27  Andy Wingo  <wingo@pobox.com>
24831
24832         * docs/design/part-activation.txt: Notes on how activation should
24833         work -- not quite implemented yet.
24834
24835 2005-06-25  Wim Taymans  <wim@fluendo.com>
24836
24837         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24838         At least get the chain function correct, needs more
24839         fixing.
24840
24841 2005-06-25  Wim Taymans  <wim@fluendo.com>
24842
24843         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24844         (gst_basesink_handle_object), (gst_basesink_event),
24845         (gst_basesink_do_sync), (gst_basesink_handle_event),
24846         (gst_basesink_change_state):
24847         * gst/gsttask.h:
24848         Right, two problems here: ghostpads don't take locks and
24849         glib _rec_mutex_lock_full() with depth==0 still locks.
24850         Catch illegal locking and g_warn them.
24851
24852 2005-06-25  Wim Taymans  <wim@fluendo.com>
24853
24854         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24855         Have to check for completion now...
24856
24857 2005-06-25  Wim Taymans  <wim@fluendo.com>
24858
24859         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24860         (gst_basesink_handle_object), (gst_basesink_event),
24861         (gst_basesink_do_sync), (gst_basesink_handle_event),
24862         (gst_basesink_change_state):
24863         * gst/gstpad.h:
24864         Unlock STREAM_LOCK whatever the recursion was.
24865
24866 2005-06-25  Wim Taymans  <wim@fluendo.com>
24867
24868         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24869         (gst_basesink_preroll_queue_empty),
24870         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24871         (gst_basesink_event), (gst_basesink_do_sync),
24872         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24873         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24874         (gst_basesink_change_state):
24875         Reworked the base sink, handle event and buffer serialisation
24876         correctly and removed possible deadlock.
24877         Handle EOS correctly.
24878
24879 2005-06-25  Wim Taymans  <wim@fluendo.com>
24880
24881         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24882         (gst_pipeline_change_state):
24883         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24884         Allow elements to post EOS in the state change function.
24885         Fix up -launch, make it exit the poll loop when the
24886         pipeline actually changed state.
24887         Fix up warning parsing in -launch.
24888
24889 2005-06-25  Wim Taymans  <wim@fluendo.com>
24890
24891         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24892         (gst_tee_sink_activate):
24893         Core takes STREAM_LOCK for us now.
24894
24895 2005-06-25  Wim Taymans  <wim@fluendo.com>
24896
24897         * gst/gstelement.c: (gst_element_get_state_func),
24898         (gst_element_set_state):
24899         * gst/gstelement.h:
24900         * gst/gstmessage.c: (gst_message_parse_error),
24901         (gst_message_parse_warning):
24902         Keep track of current target state while performing a state
24903         change so that subclasses can do something interesting.
24904         Fix parsing of warning/error messages when GError is NULL.
24905
24906 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24907
24908         * docs/gst/Makefile.am:
24909         * docs/gst/gstreamer-docs.sgml:
24910         * docs/gst/gstreamer-sections.txt:
24911         * docs/gst/gstreamer.types:
24912         * docs/gst/tmpl/gstbasesink.sgml:
24913         * docs/gst/tmpl/gstbasesrc.sgml:
24914         * docs/gst/tmpl/gstbin.sgml:
24915         * docs/gst/tmpl/gstcompat.sgml:
24916         * docs/gst/tmpl/gstfakesink.sgml:
24917         * docs/gst/tmpl/gstfakesrc.sgml:
24918         * docs/gst/tmpl/gstfilesink.sgml:
24919         * docs/gst/tmpl/gstfilesrc.sgml:
24920         * docs/gst/tmpl/gstindex.sgml:
24921         * docs/manual/appendix-quotes.xml:
24922         * gst/base/gstbasesrc.h:
24923         * gst/elements/gstfakesrc.h:
24924         * gst/gstmessage.h:
24925           start pulling in base classes and elements in our docs
24926
24927 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
24928
24929         * docs/gst/Makefile.am:
24930         * docs/libs/Makefile.am:
24931           fixed make distcheck with gtk-doc 1.3
24932
24933 2005-06-23  Wim Taymans  <wim@fluendo.com>
24934
24935         * gst/gstelement.c: (gst_element_get_state_func),
24936         (gst_element_set_state), (gst_element_change_state):
24937         When the state did not change, also report NO_PREROLL
24938         when it matters.
24939
24940 2005-06-23  Wim Taymans  <wim@fluendo.com>
24941
24942         * gst/gstpad.c: (gst_pad_event_default):
24943         * gst/gstqueue.c: (gst_queue_loop):
24944         No unsafe task pausing please.
24945
24946 2005-06-23  Wim Taymans  <wim@fluendo.com>
24947
24948         * gst/schedulers/threadscheduler.c:
24949         (gst_thread_scheduler_task_start),
24950         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24951         Ref the task before pushing it on the threadpool. This
24952         makes sure that we have a ref when the threadfunction is
24953         actually called.
24954
24955 2005-06-23  Andy Wingo  <wingo@pobox.com>
24956
24957         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24958         offset is greater than the file's size.
24959
24960         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24961         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24962         * gst/gstobject.c (gst_object_class_init): Make the class lock
24963         recursive. Wim won't let me drop deep_notify. Decodebin works
24964         again, whoopdy doo.
24965
24966         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24967         internal pad, and hacks accordingly. Doesn't do it on the target
24968         pad because we change its caps. Probably catches all cases of
24969         interest tho.
24970         (gst_ghost_pad_set_property): Connect to notify::caps as
24971         appropritate.
24972
24973         * tests/network-clock.scm (plot-simulation): Pipe data to the
24974         elite python skript.
24975
24976         * tests/network-clock-utils.scm (define-parameter): New macro,
24977         defines a parameter that can be set via the command line.
24978         (set-parameter!, parse-parameter-arguments): Command line args
24979         parser.
24980
24981         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24982         stdin.
24983
24984 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24985
24986         * gst/elements/gsttypefindelement.c:
24987         (gst_type_find_element_handle_event):
24988           Don't restart typefinding on a discont.
24989         * gst/gstelement.c: (gst_element_set_state):
24990           Debug spelling fix.
24991         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24992           Allow changing mode of an active pad.
24993           Debug output fixes.
24994         * gst/registries/gstlibxmlregistry.c: (load_feature):
24995           Don't cast a static pad template to a normal pad template.
24996
24997 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24998
24999         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25000         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25001           remove gst_strtoll completely, since it didn't actually do
25002           anything more than what g_ascii_strtoull already does.
25003           check for range errors when deserializing
25004           do a cast for the unsigned cases; but further fixing needs
25005           a decision on what the interpretation of "(int)" and
25006           deserialization should be for values that fall outside the
25007           type's boundaries (ie, refuse, or interpret as casting)
25008
25009 2005-06-23  Wim Taymans  <wim@fluendo.com>
25010
25011         * check/Makefile.am:
25012         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
25013         * docs/design/part-live-source.txt:
25014         * docs/design/part-states.txt:
25015         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25016         (gst_basesrc_set_live), (gst_basesrc_is_live),
25017         (gst_basesrc_get_range), (gst_basesrc_activate),
25018         (gst_basesrc_change_state):
25019         * gst/base/gstbasesrc.h:
25020         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25021         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25022         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
25023         * gst/gstelement.c: (gst_element_get_state_func),
25024         (gst_element_set_state):
25025         * gst/gstelement.h:
25026         * gst/gsttypes.h:
25027         * tools/gst-launch.c: (event_loop), (main):
25028         Added support for live sources and other elements that
25029         cannot do preroll.
25030         Updated design docs, added live-source design doc.
25031         Implemented live source functionality in basesrc
25032         Fix error condition in _bin_get_state()
25033         Implement live source handling in -launch.
25034         Added check for live sources.
25035         Fixed case in GstBin where elements were changed state
25036         multiple times.
25037
25038
25039 2005-06-23  Andy Wingo  <wingo@pobox.com>
25040
25041         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
25042         borken refcounting.
25043
25044         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
25045         gst_caps_replace takes care of this for us.
25046
25047         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
25048         gst_pad_set_caps on the target, not just its setcaps() function.
25049
25050         * tests/network-clock.scm: 
25051         * tests/network-clock-utils.scm: A network clock simulator.
25052         Something of an algorithmic testbed before doing something in C.
25053
25054 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25055
25056         * check/Makefile.am:
25057         * check/gst/capslist.h:
25058           copy over from 0.8, and add two with bitmasks specified with
25059           (int) 0xFF...
25060         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25061           add test to parse everything from capslist.h
25062         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
25063         (main):
25064           add test for structure deserialization
25065         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25066           add tests for deserialization of strings to int types
25067         * gst/gststructure.c: (gst_structure_nth_field_name):
25068         * gst/gststructure.h:
25069           add a way to get the name of a field referenced by index
25070         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
25071           instead of checking if the resulting long long lies between
25072           min and max, we check if the long long would fit into
25073           a number of bytes for the final type.
25074           This fixes cases where a string represents 2^32 - 1, which
25075           when cast to int would be the (valid) -1, but is bigger than
25076           G_MAXINT
25077
25078 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25079
25080         * gst/parse/grammar.y:
25081           add a log line for type deserialization
25082
25083 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
25084
25085         * check/gst/gstvalue.c: (START_TEST):
25086         * gst/gstvalue.c: (gst_value_deserialize):
25087           return long long, not int, so gint64 deserialization actually
25088           works.  Is there any flag that makes the compiler check this ?
25089           Fixes #308559
25090
25091 2005-06-22  Wim Taymans  <wim@fluendo.com>
25092
25093         * gst/gstbuffer.h:
25094         Added convenience macros for setting buffers in GValue.
25095
25096 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25097
25098         * check/gst/.cvsignore:
25099         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
25100           add a test deserializing int64, and comment part out because
25101           it fails, yay !
25102
25103 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
25104
25105         * check/Makefile.am:
25106         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
25107         * testsuite/Makefile.am:
25108         * testsuite/caps/Makefile.am:
25109         * testsuite/caps/value_serialize.c:
25110         * testsuite/test_gst_init.c:
25111           move a value_serialize test over
25112
25113 2005-06-20  Wim Taymans  <wim@fluendo.com>
25114
25115         * gst/gstpad.c:
25116         Small doc updates.
25117         
25118         * gst/gstvalue.c: (gst_value_compare_buffer),
25119         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
25120         (gst_value_compare_flags), (gst_value_serialize_flags),
25121         (gst_value_deserialize_flags), (_gst_value_initialize):
25122         Fix serialisation of buffers, they are not boxed types anymore
25123
25124 2005-06-20  Wim Taymans  <wim@fluendo.com>
25125
25126         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
25127         Testcase to show error in buffer-on-caps serialisation.
25128
25129 2005-06-20  Andy Wingo  <wingo@pobox.com>
25130
25131         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
25132         will be adding to later.
25133
25134         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
25135         if its socks fill with rocks.
25136         (gst_system_clock_obtain): Set the name on object construction.
25137         Avoid double-checked locking.
25138
25139 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
25140
25141         * gst/gsturi.c: (gst_element_make_from_uri):
25142           Fix potential endless loop.
25143
25144 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25145
25146         * check/Makefile.am:
25147           add gsttag
25148         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
25149         (main):
25150           move over from testsuite dir and clean up
25151         * configure.ac:
25152         * gst/gsttag.c:
25153         * testsuite/Makefile.am:
25154         * testsuite/tags/.cvsignore:
25155         * testsuite/tags/Makefile.am:
25156         * testsuite/tags/merge.c:
25157           remove testsuite/tags
25158
25159 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25160
25161         * docs/gst/gstreamer-sections.txt:
25162         * docs/gst/tmpl/gstenumtypes.sgml:
25163         * win32/gstenumtypes.c:
25164           clean up documentation build a little
25165
25166 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25167
25168         * check/gstcheck.h:
25169           add macros for checking refcounts on objects and caps
25170         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
25171           add some more unit tests
25172         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25173         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
25174           fix leaked refcounts (I hope :)) so unittest works
25175         * gst/gstpad.h:
25176           whitespace removal
25177
25178 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
25179
25180         * configure.ac: back to HEAD
25181
25182 === release 0.9.1 ===
25183
25184 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25185
25186         * NEWS:
25187         * RELEASE:
25188           updated
25189
25190 2005-06-17  Andy Wingo  <wingo@pobox.com>
25191
25192         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
25193         assert; it's always possible that the pad gets deactivated in
25194         between the checks in gstpad.c and the implementation. Rely on
25195         finish_preroll() to return a FLUSHING or similar instead of on the
25196         assert.
25197         
25198         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
25199         clock and post an EOS message if we come out of finish_preroll in
25200         the playing state.
25201
25202 2005-06-16  David Schleef  <ds@schleef.org>
25203
25204         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
25205         (gst_capsfilter_set_property): Allow NULL as possible value
25206         for filter_caps property, indicating GST_CAPS_ANY.
25207
25208 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25209
25210         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
25211           fix debug output
25212         * gst/schedulers/Makefile.am:
25213           use libgst prefix
25214         * gstreamer.spec.in:
25215           fix spec for it
25216
25217 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25218
25219         * gstreamer.spec.in:
25220           clean up
25221
25222 2005-06-08  Andy Wingo  <wingo@pobox.com>
25223
25224         * gst/gstutils.c: RPAD fixes all around.
25225         (gst_element_link_pads): Refcounting fixes.
25226
25227         * tools/gst-inspect.c:
25228         * tools/gst-xmlinspect.c:
25229         * parse/grammar.y:
25230         * gst/base/gsttypefindhelper.c:
25231         * gst/base/gstbasesink.c:
25232         * gst/gstqueue.c: RPAD fixes.
25233
25234         * gst/gstghostpad.h:
25235         * gst/gstghostpad.c: New ghost pad implementation as full proxy
25236         pads. The tricky thing is they provide both source and sink
25237         interfaces, since they proxy the internal pad for the external
25238         pad, and vice versa. Implement with lower-level ProxyPad objects,
25239         with the interior proxy pad as a child of the exterior ghost pad.
25240         Should write a doc on this.
25241         
25242         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
25243         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
25244         gst_object API.
25245         
25246         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
25247         pads are real pads. No ghost pads in this file. Not documenting
25248         the myriad s/RPAD/PAD/ and REALIZE fixes.
25249         (gst_pad_class_init): Add properties for "direction" and
25250         "template". Both are construct-only, so they can't change during
25251         the life of the pad. Fixes properly deriving from GstPad.
25252         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
25253         derived objects, just set properties when creating the objects via
25254         g_object_new.
25255         (gst_pad_get_parent): Implement as a function, return NULL if the
25256         parent is not an element.
25257         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
25258         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
25259         
25260         * gst/gstobject.c (gst_object_class_init): Make name a construct
25261         property. Don't set it in the object init.
25262
25263         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
25264         with UNKNOWN direction.
25265         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
25266         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
25267         (gst_element_remove_pad): Remove ghost-pad special cases.
25268         (gst_element_pads_activate): Remove rpad cruft.
25269
25270         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
25271         catch the pad's-parent-not-an-element case.
25272
25273         * gst/gst.h: Include gstghostpad.h.
25274
25275         * gst/gst.c (init_post): No more real, ghost pads.
25276
25277         * gst/Makefile.am: Add gstghostpad.[ch].
25278
25279         * check/Makefile.am:
25280         * check/gst/gstbin.c:
25281         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
25282         into a bin creates ghost pads, and that the refcounts are right.
25283         Partly moved from gstbin.c.
25284
25285 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25286
25287         * check/gst-libs/.cvsignore:
25288         * check/gst/.cvsignore:
25289         * check/pipelines/.cvsignore:
25290           ignore more
25291         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
25292         (START_TEST), (cleanup_suite), (main):
25293           add some tests related to cleanup after running pipelines
25294
25295 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25296
25297         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
25298           add a testsuite for GstBuffer
25299
25300 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25301
25302         * gst/gstminiobject.h:
25303           add defines for accessing the refcount
25304
25305 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
25306
25307         * Makefile.am: added support for html unit test coverage reports
25308
25309 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
25310
25311         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
25312           Free existing caps if the capsfilter changes. Add a FIXME about
25313           setting those caps on the pads.
25314
25315         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
25316           Before adding a ghost pad to a parent bin, check that there isn't
25317           already one for the element on the bin. Prevents infinite recursion
25318           when using decodebin in parse pipelines. Andy says he'll rewrite the
25319           way this works anyway, so ignore the hack.
25320
25321 2005-06-02  Andy Wingo  <wingo@pobox.com>
25322
25323         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
25324         file size, pass it on to the type find helper.
25325
25326         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
25327         segment_start and segment_end properly according to the seek
25328         method. Segment_end is still a bit flaky because offset can be
25329         negative for CUR and END cases, but it takes -1 as an "unset"
25330         value.
25331
25332 2005-06-02  Wim Taymans  <wim@fluendo.com>
25333
25334         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
25335         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
25336         (gst_basesink_activate):
25337         * gst/base/gstbasesink.h:
25338         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25339         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25340         (gst_pad_query), (gst_pad_start_task):
25341         * gst/gstpad.h:
25342         * gst/gstqueue.c: (gst_queue_bufferalloc),
25343         (gst_queue_handle_sink_event), (gst_queue_chain):
25344         Bufferalloc: return GstFlowReturn to more accuratly report
25345         why allocation failed.
25346
25347 2005-06-02  Wim Taymans  <wim@fluendo.com>
25348
25349         * gst/gstpipeline.c: (gst_pipeline_send_event):
25350         Take snapshot of state without blocking.
25351
25352 2005-06-02  Wim Taymans  <wim@fluendo.com>
25353
25354         * docs/design/part-TODO.txt:
25355         * docs/design/part-caps.txt:
25356         * docs/design/part-clocks.txt:
25357         * docs/design/part-negotiation.txt:
25358         * docs/design/part-preroll.txt:
25359         Small doc updates 
25360
25361 2005-05-30  Wim Taymans  <wim@fluendo.com>
25362
25363         * gst/elements/gstidentity.c: (gst_identity_event),
25364         (gst_identity_transform), (gst_identity_get_property):
25365         Protect last_message property as it is accessed from
25366         multiple threads.
25367
25368 2005-05-30  Wim Taymans  <wim@fluendo.com>
25369
25370         * gst/gstelement.c: (gst_element_init),
25371         (gst_element_pads_activate), (gst_element_change_state):
25372         Slicker pad activation code.
25373
25374 2005-05-30  Wim Taymans  <wim@fluendo.com>
25375
25376         * gst/Makefile.am:
25377         * gst/gstelement.h:
25378         * gst/gstelementfactory.h:
25379         * gst/gsttypes.h:
25380         Move elementfactory methods to separate .h file.
25381
25382 2005-05-30  Wim Taymans  <wim@fluendo.com>
25383
25384         * docs/design/part-overview.txt:
25385         * gst/gstsystemclock.h:
25386         Small typo fixes, doc updates.
25387
25388 2005-05-30  Wim Taymans  <wim@fluendo.com>
25389
25390         * gst/gst.c: (gst_init_get_popt_table), (init_post),
25391         (init_popt_callback):
25392         Remove cpu-opt flag.
25393
25394 2005-05-30  Wim Taymans  <wim@fluendo.com>
25395
25396         * gst/gstbuffer.c: (gst_subbuffer_finalize),
25397         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
25398         * gst/gstbuffer.h:
25399         Avoid typechecking in places where not needed.
25400         Added accessor for malloc_data.
25401
25402 2005-05-30  Wim Taymans  <wim@fluendo.com>
25403
25404         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
25405         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
25406         (gst_pad_configure_sink), (gst_pad_configure_src),
25407         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
25408         (gst_pad_start_task):
25409         Propagate errors from _set_caps() in configure_src/sink
25410         functions instead of returning TRUE.
25411         FLUSH events can travel up and downstream
25412
25413
25414 2005-05-30  Wim Taymans  <wim@fluendo.com>
25415
25416         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25417         (gst_basesink_activate):
25418         Handle EOS in preroll.
25419
25420 2005-05-30  Wim Taymans  <wim@fluendo.com>
25421
25422         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25423         (gst_queue_loop), (gst_queue_handle_src_event):
25424         Remove old pieces of code
25425         Flushing the queue in an upstream event is a very bad idea.
25426
25427 2005-05-26  Andy Wingo  <wingo@pobox.com>
25428
25429         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
25430         gst_value_set_mini_object so as to add a ref on the object (which
25431         will be removed when the value is unset).
25432
25433         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
25434         arg type in ::handoff.
25435
25436         * gst/gstelement.c (gst_element_change_state): Also deactivate
25437         pads in READY->NULL, just in case the element didn't make it to
25438         PAUSED. Wingo tested, Wim approved.
25439
25440 2005-05-26  Wim Taymans  <wim@fluendo.com>
25441
25442         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25443         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
25444         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
25445         A flushing pad cannot be used to alloc_buffer from.
25446
25447 2005-05-26  Wim Taymans  <wim@fluendo.com>
25448
25449         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
25450         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
25451         (gst_bus_source_dispatch), (gst_bus_source_finalize),
25452         (gst_bus_create_watch), (gst_bus_add_watch_full):
25453         * gst/gstbus.h:
25454         Implement a real GSource and use g_main_context_wakeup() to
25455         signal new messages instead of the socketpair.
25456
25457 2005-05-25  Wim Taymans  <wim@fluendo.com>
25458
25459         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
25460         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
25461         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25462         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25463         (gst_pad_send_event), (gst_pad_start_task):
25464         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
25465         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25466         (gst_queue_sink_activate), (gst_queue_src_activate),
25467         (gst_queue_change_state):
25468         * gst/gstqueue.h:
25469         Fix state changes for non sinks. We now change sinks, then elements
25470         with unconnected srcpads, then the rest.
25471         More efficient queue unlocking in flush and state changes.
25472         Set the pad activate mode even if it does not have an activate
25473         function.
25474
25475 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25476
25477         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
25478           Don't go in pull mode for non-seekable sources.
25479         * gst/elements/gsttypefindelement.h:
25480         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25481         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
25482         (free_entry), (stop_typefinding),
25483         (gst_type_find_element_handle_event), (find_peek),
25484         (gst_type_find_element_chain), (do_pull_typefind),
25485         (gst_type_find_element_change_state):
25486           Allow typefinding (w/o seeking) in push-mode, simplified version
25487           of what was in 0.8.
25488         * gst/gstutils.c: (gst_buffer_join):
25489         * gst/gstutils.h:
25490           gst_buffer_join() from 0.8.
25491
25492 2005-05-25  Wim Taymans  <wim@fluendo.com>
25493
25494         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
25495         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
25496         (gst_pad_send_event), (gst_pad_start_task):
25497         Disable attempt at mode switching until it is figured out.
25498
25499 2005-05-25  Wim Taymans  <wim@fluendo.com>
25500
25501         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
25502         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
25503         (gst_basesink_finish_preroll), (gst_basesink_chain),
25504         (gst_basesink_loop), (gst_basesink_activate),
25505         (gst_basesink_change_state):
25506         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
25507         (gst_basesrc_get_range), (gst_basesrc_loop),
25508         (gst_basesrc_activate):
25509         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25510         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
25511         (gst_real_pad_init), (gst_real_pad_set_property),
25512         (gst_real_pad_get_property), (gst_pad_set_active),
25513         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
25514         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
25515         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
25516         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
25517         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25518         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
25519         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
25520         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25521         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
25522         (gst_pad_stop_task):
25523         * gst/gstpad.h:
25524         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25525         (gst_queue_loop), (gst_queue_src_activate):
25526         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
25527         (gst_task_get_state):
25528         * gst/gsttask.h:
25529         * gst/schedulers/threadscheduler.c:
25530         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
25531         Implement gst_pad_pause/start/stop_task(), take STREAM lock
25532         in task function.
25533         Remove ACTIVE pad flag, use FLUSHING everywhere
25534         Added _pad_chain(), _pad_get_range() to call chain/getrange 
25535         functions.
25536         Add locks around IS_FLUSHING when reading.
25537         Take STREAM lock in chain(), get_range() functions so plugins
25538         don't need to take it anymore.
25539         
25540
25541
25542 2005-05-25  Wim Taymans  <wim@fluendo.com>
25543
25544         * tools/gst-launch.c: (event_loop):
25545         Unref message after using its contents instead of
25546         before.
25547
25548 2005-05-24  Wim Taymans  <wim@fluendo.com>
25549
25550         * docs/design/draft-ghostpads.txt:
25551         * docs/design/draft-push-pull.txt:
25552         * docs/design/draft-query.txt:
25553         * docs/design/part-overview.txt:
25554         Docs updates, added general overview doc.
25555
25556 2005-05-21  David Schleef  <ds@schleef.org>
25557
25558         * docs/gst/tmpl/old/GstBin.sgml:
25559         * docs/gst/tmpl/old/GstBuffer.sgml:
25560         * docs/gst/tmpl/old/GstCaps.sgml:
25561         * docs/gst/tmpl/old/GstClock.sgml:
25562         * docs/gst/tmpl/old/GstCompat.sgml:
25563         * docs/gst/tmpl/old/GstData.sgml:
25564         * docs/gst/tmpl/old/GstElement.sgml:
25565         * docs/gst/tmpl/old/GstEvent.sgml:
25566         * docs/gst/tmpl/old/GstIndex.sgml:
25567         * docs/gst/tmpl/old/GstStructure.sgml:
25568         * docs/gst/tmpl/old/GstTag.sgml:
25569         * docs/gst/tmpl/old/cothreads.sgml:
25570         * docs/gst/tmpl/old/cothreads_compat.sgml:
25571         * docs/gst/tmpl/old/gettext.sgml:
25572         * docs/gst/tmpl/old/gobject2gtk.sgml:
25573         * docs/gst/tmpl/old/grammar.tab.sgml:
25574         * docs/gst/tmpl/old/gst-i18n-app.sgml:
25575         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
25576         * docs/gst/tmpl/old/gst_private.sgml:
25577         * docs/gst/tmpl/old/gstaggregator.sgml:
25578         * docs/gst/tmpl/old/gstarch.sgml:
25579         * docs/gst/tmpl/old/gstatomic_impl.sgml:
25580         * docs/gst/tmpl/old/gstbufferstore.sgml:
25581         * docs/gst/tmpl/old/gstdata_private.sgml:
25582         * docs/gst/tmpl/old/gstdisksink.sgml:
25583         * docs/gst/tmpl/old/gstdisksrc.sgml:
25584         * docs/gst/tmpl/old/gstelementfactory.sgml:
25585         * docs/gst/tmpl/old/gstextratypes.sgml:
25586         * docs/gst/tmpl/old/gstfakesink.sgml:
25587         * docs/gst/tmpl/old/gstfakesrc.sgml:
25588         * docs/gst/tmpl/old/gstfdsink.sgml:
25589         * docs/gst/tmpl/old/gstfdsrc.sgml:
25590         * docs/gst/tmpl/old/gstfilesink.sgml:
25591         * docs/gst/tmpl/old/gstfilesrc.sgml:
25592         * docs/gst/tmpl/old/gsthttpsrc.sgml:
25593         * docs/gst/tmpl/old/gstidentity.sgml:
25594         * docs/gst/tmpl/old/gstindexfactory.sgml:
25595         * docs/gst/tmpl/old/gstmarshal.sgml:
25596         * docs/gst/tmpl/old/gstmd5sink.sgml:
25597         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
25598         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
25599         * docs/gst/tmpl/old/gstpadtemplate.sgml:
25600         * docs/gst/tmpl/old/gstpipefilter.sgml:
25601         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
25602         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
25603         * docs/gst/tmpl/old/gstshaper.sgml:
25604         * docs/gst/tmpl/old/gstspider.sgml:
25605         * docs/gst/tmpl/old/gstspideridentity.sgml:
25606         * docs/gst/tmpl/old/gststatistics.sgml:
25607         * docs/gst/tmpl/old/gsttee.sgml:
25608         * docs/gst/tmpl/old/gsttimecache.sgml:
25609         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
25610         * docs/gst/tmpl/old/gstxmlregistry.sgml:
25611         * docs/gst/tmpl/old/gthread-cothreads.sgml:
25612         * docs/gst/tmpl/old/types.sgml:
25613           I didn't intend to add these or check them in.
25614
25615 2005-05-19  David Schleef  <ds@schleef.org>
25616
25617         * configure.ac: Use -no-common everywhere.  In a sane world, it
25618           would be the default in libtool, because without it, you can't
25619           build DLLs on Windows.
25620         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
25621         * docs/gst/gstreamer-sections.txt:
25622         * docs/gst/tmpl/gstcpu.sgml:
25623         * docs/gst/tmpl/gstdata.sgml:
25624         * docs/gst/tmpl/gstthread.sgml:
25625
25626 2005-05-19  David Schleef  <ds@schleef.org>
25627
25628         * gst/gstminiobject.c: (gst_value_set_mini_object),
25629         (gst_value_take_mini_object), (gst_value_get_mini_object):
25630         * gst/gstminiobject.h: Add GValue set/get functions.
25631
25632 2005-05-19  Wim Taymans  <wim@fluendo.com>
25633
25634         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
25635         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
25636         (gst_subbuffer_init), (gst_buffer_is_span_fast):
25637         * gst/gstbuffer.h:
25638         * gst/gstbus.c: (gst_bus_post):
25639         * gst/gstelement.c: (gst_element_get_random_pad):
25640         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
25641         Make subbufer unref the parent in finalize.
25642         some more debugging info.
25643
25644
25645 2005-05-19  Wim Taymans  <wim@fluendo.com>
25646
25647         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25648         (gst_basesink_init), (gst_basesink_finalize),
25649         (gst_basesink_activate), (gst_basesink_change_state):
25650         Don't free preroll queue too early.
25651
25652 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25653
25654         * gst/Makefile.am:
25655         * gst/ROADMAP:
25656           Hi, I'm outdated. Please shoot me.
25657
25658 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25659
25660         * gst/gstpipeline.c: (gst_pipeline_send_event):
25661           Do not access variables after they have been deleted.
25662
25663 2005-05-19  Wim Taymans  <wim@fluendo.com>
25664
25665         * tools/gst-inspect.c: (print_plugin_features):
25666         A plugin feature does unfortunatly not use the
25667         object name yet...
25668
25669 2005-05-18  Wim Taymans  <wim@fluendo.com>
25670
25671         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
25672         Port _span() functions to new subbuffers.
25673
25674 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25675
25676         * gst/gstbin.c: (gst_bin_add_func):
25677           Fix clock settery in bins when adding kids after the clock has
25678           been selected.
25679
25680 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25681
25682         * gst/elements/gstidentity.c: (gst_identity_class_init):
25683           Workaround until signals support GstMiniObject.
25684
25685 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
25686
25687         * gst/gstbuffer.c:
25688         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
25689
25690 2005-05-18  Wim Taymans  <wim@fluendo.com>
25691
25692         * gst/base/Makefile.am:
25693         * gst/base/gstadapter.c: (gst_adapter_base_init),
25694         (gst_adapter_class_init), (gst_adapter_init),
25695         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
25696         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
25697         (gst_adapter_flush), (gst_adapter_available),
25698         (gst_adapter_available_fast):
25699         * gst/base/gstadapter.h:
25700         Ported and added adapter to the base classes.
25701
25702 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25703
25704         * gst/gst.c:
25705         * gst/gstmessage.c:
25706           Make sure the class is reffed/unreffed once before threads can be
25707           used.  Fixes #304551.
25708
25709 2005-05-17  Wim Taymans  <wim@fluendo.com>
25710
25711         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
25712         (gst_basesink_chain_unlocked), (gst_basesink_activate):
25713         * gst/gstminiobject.c: (gst_mini_object_get_type),
25714         (gst_mini_object_free):
25715         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
25716         (gst_pad_push), (gst_pad_push_event):
25717         * gst/gstqueue.c: (gst_queue_change_state):
25718         Don't queue buffers in basesink when we are flushing.
25719         Unref buffer when flushing in basesink.
25720         Flush queue when going to READY
25721         Unref buffer when _push() returns an error.
25722         Don't free MiniObject instance when refcount is incremented
25723         in _finalize() so that we can recover objects.
25724
25725 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
25726
25727         * docs/manual/advanced-schedulers.xml:
25728         * docs/manual/appendix-checklist.xml:
25729         * docs/pwg/advanced-clock.xml:
25730         * docs/pwg/advanced-interfaces.xml:
25731         * docs/pwg/advanced-request.xml:
25732         * docs/pwg/advanced-types.xml:
25733         * docs/pwg/intro-preface.xml:
25734         * examples/plugins/example.c: (gst_example_get_type),
25735         (gst_example_class_init), (gst_example_chain),
25736         (gst_example_set_property), (gst_example_get_property),
25737         (gst_example_change_state), (plugin_init):
25738         * examples/plugins/example.h:
25739           small doc fixes
25740
25741 2005-05-17  Wim Taymans  <wim@fluendo.com>
25742
25743         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
25744         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
25745         * gst/gstqueue.c: (gst_queue_change_state):
25746         Clear queue when going to READY.
25747         Remove IN_SETCAPS flag too.
25748
25749 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
25750
25751         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
25752           Remove implicit cast from gboolean to GstElementStateReturn;
25753           make sure we still return failure in paused => ready case if
25754           the parent class fails to change state and our own stop 
25755           vfunc succeeds.
25756
25757 2005-05-17  Wim Taymans  <wim@fluendo.com>
25758
25759         * tools/gst-launch.c: (event_loop):
25760         Message was unreffed too soon.
25761
25762 2005-05-16  Andy Wingo  <wingo@pobox.com>
25763
25764         * gst/gstbin.c (sink_iterator_filter): Err... um...
25765
25766         * check/gst/gstbin.c (test_ghost_pads): New test for the
25767         ghosting-if-elements-not-in-same-bin behavior.
25768
25769 2005-05-16  David Schleef  <ds@schleef.org>
25770
25771         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
25772         accessing refcount directly.
25773
25774 2005-05-15  David Schleef  <ds@schleef.org>
25775
25776         * check/Makefile.am: remove GstData checks
25777         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
25778         * gst/Makefile.am: add miniobject, remove data
25779         * gst/gst.h: add miniobject, remove data
25780         * gst/gstdata.c: remove
25781         * gst/gstdata.h: remove
25782         * gst/gstdata_private.h: remove
25783         * gst/gsttypes.h: remove GstEvent and GstMessage
25784         * gst/gstelement.c: (gst_element_post_message): fix for API changes
25785         * gst/gstmarshal.list: change BOXED -> OBJECT
25786
25787         Implement GstMiniObject.
25788         * gst/gstminiobject.c:
25789         * gst/gstminiobject.h:
25790
25791         Modify to be subclasses of GstMiniObject.
25792         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25793         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25794         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25795         (gst_subbuffer_get_type), (gst_subbuffer_init),
25796         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25797         (gst_buffer_span):
25798         * gst/gstbuffer.h:
25799         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25800         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25801         (_gst_event_copy), (gst_event_new):
25802         * gst/gstevent.h:
25803         * gst/gstmessage.c: (_gst_message_initialize),
25804         (gst_message_get_type), (gst_message_class_init),
25805         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25806         (gst_message_new), (gst_message_new_error),
25807         (gst_message_new_warning), (gst_message_new_tag),
25808         (gst_message_new_state_changed), (gst_message_new_application):
25809         * gst/gstmessage.h:
25810         * gst/gstprobe.c: (gst_probe_perform),
25811         (gst_probe_dispatcher_dispatch):
25812         * gst/gstprobe.h:
25813         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25814         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25815         (_gst_query_copy), (gst_query_new):
25816
25817         Update elements for GstData -> GstMiniObject changes
25818         * gst/gstquery.h:
25819         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25820         (gst_queue_chain), (gst_queue_loop):
25821         * gst/elements/gstbufferstore.c:
25822         (gst_buffer_store_add_buffer_func),
25823         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25824         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25825         (gst_fakesink_render):
25826         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25827         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25828         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25829         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25830         (gst_filesrc_create_read):
25831         * gst/elements/gstidentity.c: (gst_identity_class_init):
25832         * gst/elements/gsttypefindelement.c:
25833         (gst_type_find_element_src_event), (free_entry_buffers),
25834         (gst_type_find_element_handle_event):
25835         * libs/gst/dataprotocol/dataprotocol.c:
25836         (gst_dp_header_from_buffer):
25837         * libs/gst/dataprotocol/dataprotocol.h:
25838         * libs/gst/dataprotocol/dp-private.h:
25839
25840 2005-05-15  David Schleef  <ds@schleef.org>
25841
25842         * gst/elements/gstelements.c: Don't include headers that were
25843         just removed.
25844
25845 2005-05-15  David Schleef  <ds@schleef.org>
25846
25847         * gst/elements/Makefile.am: Remove some elements that don't
25848         need to be in the core (or even exist at all).
25849         * gst/elements/gstaggregator.c:
25850         * gst/elements/gstaggregator.h:
25851         * gst/elements/gstmd5sink.c:
25852         * gst/elements/gstmd5sink.h:
25853         * gst/elements/gstmultifilesrc.c:
25854         * gst/elements/gstmultifilesrc.h:
25855         * gst/elements/gstpipefilter.c:
25856         * gst/elements/gstpipefilter.h:
25857         * gst/elements/gstshaper.c:
25858         * gst/elements/gstshaper.h:
25859         * gst/elements/gststatistics.c:
25860         * gst/elements/gststatistics.h:
25861         * po/POTFILES.in: Remove above files.
25862
25863 2005-05-14  Andy Wingo  <wingo@pobox.com>
25864
25865         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25866         so as to get the refs right.
25867         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25868         unreffing objects that don't pass the filter.
25869
25870         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25871         gst_element_set_bus.
25872         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25873         normal cases, this will destroy the bus.
25874
25875         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25876         object.
25877
25878         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25879         has no sinks.
25880
25881 2005-05-13  Andy Wingo  <wingo@pobox.com>
25882
25883         * gst/gstutils.c (gst_element_link_pads): Instead of calling
25884         gst_pad_link, call pad_link_maybe_ghosting,
25885         (pad_link_maybe_ghosting): Links pads, making sure that the
25886         elements being linked are in the same bin.
25887         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25888         Helpers for pad_link_maybe_ghosting.
25889
25890 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25891
25892         * configure.ac:
25893           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25894
25895 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25896
25897         * docs/design/part-element-source.txt:
25898           Mention GstPushSrc
25899
25900 2005-05-12  Wim Taymans  <wim@fluendo.com>
25901
25902         * gst/base/gstbasesink.c: (gst_basesink_init),
25903         (gst_basesink_activate):
25904         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25905         (gst_basesrc_is_seekable):
25906         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25907         (bin_element_is_sink), (gst_bin_change_state):
25908         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25909         * gst/gstelement.h:
25910         Identify sinks by their flag to avoid overly complicated
25911         checks (fow now).
25912         Do state changes even for elements not reachable from the
25913         sinks.
25914         BaseSink is a sink now :)
25915         Some more debugging info in the basesrc.
25916
25917
25918 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25919
25920         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25921           Implement _query on a bin, similar to _send_event.
25922
25923 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
25924
25925         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25926           Discont event offset format should be GST_FORMAT_BYTES,
25927           not GST_FORMAT_TIME.
25928
25929 2005-05-12  Wim Taymans  <wim@fluendo.com>
25930
25931         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25932         Same fix as Ronald's but without the signal. 
25933
25934 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25935
25936         * gst/gstutils.c: (gst_element_query_position):
25937           No, an element is not a pad.
25938
25939 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25940
25941         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25942         (gst_bin_get_state):
25943           If a child is removed from a bin while we remove the child from
25944           the bin and while we're retrieving its state, signal this to the
25945           get_state function so we abort the wait (instead of waiting for
25946           a timeout) and can immediately re-iterate over all other elements.
25947
25948 2005-05-12  Wim Taymans  <wim@fluendo.com>
25949
25950         * gst/base/Makefile.am:
25951         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25952         (gst_basesrc_start):
25953         * gst/base/gstbasesrc.h:
25954         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25955         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25956         (gst_pushsrc_init), (gst_pushsrc_create):
25957         * gst/base/gstpushsrc.h:
25958         Added is_seekable to BaseSrc
25959         Added simple PushSrc.
25960
25961 2005-05-11  Wim Taymans  <wim@fluendo.com>
25962
25963         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25964         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25965         (gst_element_link_pads), (gst_element_query_position),
25966         (gst_element_query_convert), (intersect_caps_func),
25967         (gst_pad_query_position), (gst_pad_query_convert):
25968         Fix refcounting in utils function.
25969         No point in trying to activate a pad when it's added, it could
25970         be added from the state change function and then we deadlock, the
25971         element has to decide what to do.
25972
25973 2005-05-10  Andy Wingo  <wingo@pobox.com>
25974
25975         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25976         *all* the arguments.
25977
25978         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25979         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25980         lock (according to the docs -- if this is wrong change the docs).
25981
25982         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25983         flush messages in the NULL state.
25984
25985         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25986         message immediately and return.
25987         (gst_bus_set_flushing): New function. If a bus is flushing, it
25988         flushes out any queued messages and immediately unrefs new
25989         messages. This is so when an element goes to NULL, all of the
25990         unhandled messages coming from it can be freed, and their
25991         references to the element dropped. In other words: message source
25992         ref considered harmful :P
25993
25994         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25995         we're finished with it.
25996
25997         * gst/gstmessage.c (gst_message_new_state_changed): 
25998
25999 2005-05-10  Wim Taymans  <wim@fluendo.com>
26000
26001         * gst/gstvalue.c: (gst_value_compare_flags),
26002         (gst_value_serialize_flags), (gst_value_deserialize_flags),
26003         (_gst_value_initialize):
26004         Added flags serialize/deserialize/compare code.
26005
26006 2005-05-09  Andy Wingo  <wingo@pobox.com>
26007
26008         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
26009         Intersect the peer's caps with our caps.
26010
26011 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26012
26013         * gst/base/gsttypefindhelper.c: (helper_find_peek):
26014         * gst/elements/gsttypefindelement.c: (find_peek):
26015           Handle negative offsets better. Fixes decodebin.
26016
26017 2005-05-09  Wim Taymans  <wim@fluendo.com>
26018
26019         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
26020         (gst_base_transform_event):
26021         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
26022         Implement accept_caps.
26023         Fix silly lock/unlock mismatch in base class.
26024
26025 2005-05-09  Wim Taymans  <wim@fluendo.com>
26026
26027         * docs/design/draft-push-pull.txt:
26028         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
26029         * gst/elements/gstfilesink.c: (gst_filesink_init),
26030         (gst_filesink_query):
26031         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26032         (gst_type_find_handle_src_query), (find_element_get_length):
26033         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
26034         * gst/gstelement.h:
26035         * gst/gstmessage.c:
26036         * gst/gstmessage.h:
26037         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
26038         (gst_real_pad_get_caps_unlocked),
26039         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
26040         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26041         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
26042         (gst_real_pad_dispose), (gst_real_pad_finalize),
26043         (gst_pad_load_and_link), (gst_pad_save_thyself),
26044         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
26045         (gst_pad_check_pull_range), (gst_pad_pull_range),
26046         (gst_pad_template_get_type), (gst_pad_template_class_init),
26047         (gst_pad_template_init), (gst_pad_template_dispose),
26048         (name_is_valid), (gst_static_pad_template_get),
26049         (gst_pad_template_new), (gst_static_pad_template_get_caps),
26050         (gst_pad_template_get_caps), (gst_pad_set_element_private),
26051         (gst_pad_get_element_private), (gst_pad_start_task),
26052         (gst_pad_pause_task), (gst_pad_stop_task),
26053         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
26054         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
26055         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
26056         (gst_ghost_pad_new):
26057         * gst/gstpad.h:
26058         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
26059         (gst_query_new_position), (gst_query_set_position),
26060         (gst_query_parse_position), (gst_query_new_convert),
26061         (gst_query_set_convert), (gst_query_parse_convert):
26062         * gst/gstquery.h:
26063         * gst/gstqueryutils.c:
26064         * gst/gstqueryutils.h:
26065         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26066         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26067         (gst_queue_handle_src_query):
26068         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26069         (gst_element_query_position), (gst_element_query_convert),
26070         (intersect_caps_func), (gst_pad_query_position),
26071         (gst_pad_query_convert):
26072         * gst/gstutils.h:
26073         * tools/gst-inspect.c: (print_pad_info):
26074         * tools/gst-xmlinspect.c: (print_element_info):
26075         Remove old query functions. Ported old code.
26076         Added position/convert helper functions to gstutils.
26077         Reordered gstpad.c code, grouping relevant things.
26078         Remove gst_message_new(), always need to speficy a specific
26079         message.
26080
26081
26082 2005-05-09  Andy Wingo  <wingo@pobox.com>
26083
26084         * gst/gstiterator.h: Add some includes.
26085
26086         * gst/gstqueryutils.h: Include more headers.
26087
26088         * gst/gstpad.h:
26089         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
26090         some uses of gst_pad_query.
26091
26092         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
26093         NULL out parameters.
26094         (gst_query_new_position): New proc, allocates a new position
26095         query.
26096
26097         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
26098         gstqueryutils.c to the build.
26099
26100         * gst/gststructure.c (gst_structure_set_valist): Implement with
26101         the generic G_VALUE_COLLECT.
26102         
26103 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
26104
26105         * gst/Makefile.am: (gst_headers):
26106         Added gstqueryutils.h to the list of headers to install, that was
26107         a 'nachty' move wingo :)
26108
26109 2005-05-06  Andy Wingo  <wingo@pobox.com>
26110
26111         * gst/gstquery.h
26112         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
26113         GstData, init a memchunk.
26114         (standard_definitions): Add a few query types, deprecate a few.
26115         (gst_query_get_type): New proc.
26116         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
26117         implementation.
26118         (gst_query_new_application, gst_query_get_structure): New public
26119         procs.
26120
26121         * docs/design/draft-query.txt: Removed LINKS from the query types,
26122         because all the rest can be dispatched to other pads -- seemed
26123         ugly to have a query that couldn't be dispatched. internal_links
26124         is fine as a pad method.
26125
26126         * gst/gstpad.h: Add query2 as a pad method, add the new functions
26127         in gstpad.c, but maintain binary compatibility for the moment.
26128         Will fix before 0.9 is out.
26129
26130         * gst/gstqueryutils.c: 
26131         * gst/gstqueryutils.h: New files, implement 3 methods for each
26132         query type: parse_query, parse_response, and set. Probably need an
26133         allocator as well.
26134
26135         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
26136
26137         * gst/elements/gstfilesink.c (gst_filesink_query2):
26138         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
26139         query_types, and formats methods.
26140
26141         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
26142         (gst_pad_set_query2_function): New functions.
26143         (gst_real_pad_init): Set query2_default as the default query2
26144         function. Basically just dispatches to internally linked pads.
26145
26146         Needs review!
26147         
26148         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
26149         without using the atomic operations. Only one thread can possibly
26150         be accessing the data at this point. Changed so as to avoid
26151         gst_atomic operations.
26152
26153 2005-05-06  Wim Taymans  <wim@fluendo.com>
26154
26155         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
26156         Also set caps if we use the fallback buffer alloc.
26157
26158 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
26159
26160         * docs/gst/Makefile.am:
26161         * docs/gst/gstreamer-docs.sgml:
26162         * docs/gst/gstreamer-sections.txt:
26163         * docs/gst/tmpl/gstatomic.sgml:
26164         * docs/gst/tmpl/gstmemchunk.sgml:
26165         * testsuite/elements/struct_i386.h:
26166         * win32/GStreamer.vcproj:
26167         * win32/Makefile:
26168           Purge GstAtomic stuff from docs and win32 makefiles as well
26169
26170 2005-05-06  Wim Taymans  <wim@fluendo.com>
26171
26172         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
26173         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
26174         * gst/gstpad.c: (gst_pad_peer_get_caps):
26175         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
26176         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
26177         (gst_queue_src_activate), (gst_queue_change_state):
26178         * gst/gstqueue.h:
26179         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26180         (intersect_caps_func):
26181         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
26182         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
26183         Some fixes for the peer_get_caps() change.
26184
26185 2005-05-06  Wim Taymans  <wim@fluendo.com>
26186
26187         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26188         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
26189         (gst_basesink_activate):
26190         Actually do something with error codes returned from the push
26191         functions.
26192
26193 2005-05-06  Wim Taymans  <wim@fluendo.com>
26194
26195         * docs/design/part-element-sink.txt:
26196         * docs/design/part-element-source.txt:
26197         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26198         (gst_basesink_event), (gst_basesink_activate):
26199         * gst/base/gstbasesink.h:
26200         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
26201         (gst_basesrc_activate):
26202         * gst/base/gstbasesrc.h:
26203         * gst/gstelement.c: (gst_element_pads_activate):
26204         Some more documentation.
26205         Fixed scheduling decision in _pads_activate().
26206
26207 2005-05-05  Andy Wingo  <wingo@pobox.com>
26208
26209         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
26210         the test suite.
26211
26212 2005-05-05  Wim Taymans  <wim@fluendo.com>
26213
26214         * gst/base/Makefile.am:
26215         * gst/base/gstbasesink.h:
26216         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26217         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
26218         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
26219         (gst_collectpads_class_init), (gst_collectpads_init),
26220         (gst_collectpads_finalize), (gst_collectpads_new),
26221         (gst_collectpads_set_function), (gst_collectpads_add_pad),
26222         (find_pad), (gst_collectpads_remove_pad),
26223         (gst_collectpads_is_active), (gst_collectpads_collect),
26224         (gst_collectpads_collect_range), (gst_collectpads_start),
26225         (gst_collectpads_stop), (gst_collectpads_peek),
26226         (gst_collectpads_pop), (gst_collectpads_available),
26227         (gst_collectpads_read), (gst_collectpads_flush),
26228         (gst_collectpads_chain):
26229         * gst/base/gstcollectpads.h:
26230         * gst/elements/Makefile.am:
26231         * gst/elements/gstelements.c:
26232         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26233         (gst_fakesink_get_times), (gst_fakesink_event),
26234         (gst_fakesink_preroll), (gst_fakesink_render):
26235         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26236         (gst_filesink_init), (gst_filesink_set_location),
26237         (gst_filesink_open_file), (gst_filesink_close_file),
26238         (gst_filesink_pad_query), (gst_filesink_event),
26239         (gst_filesink_render), (gst_filesink_change_state):
26240         * gst/elements/gstfilesink.h:
26241         Added object to help in making collect pad based elements.
26242         Ported filesink.
26243         Make event function in sink baseclass return gboolean.
26244
26245 2005-05-05  Wim Taymans  <wim@fluendo.com>
26246
26247         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
26248         (gst_bin_get_by_name):
26249         * gst/gstbuffer.h:
26250         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
26251         (gst_clock_finalize):
26252         * gst/gstdata.c: (gst_data_replace):
26253         * gst/gstdata.h:
26254         * gst/gstelement.c: (gst_element_request_pad),
26255         (gst_element_pads_activate):
26256         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
26257         (gst_object_unref):
26258         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26259         (gst_pad_set_checkgetrange_function),
26260         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
26261         (gst_pad_check_pull_range), (gst_pad_pull_range),
26262         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26263         (gst_pad_pause_task), (gst_pad_stop_task):
26264         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26265         (gst_element_request_pad), (gst_pad_proxy_getcaps):
26266         Fix name lookup in GstBin.
26267         Added _data_replace() function and _buffer_replace()
26268         Use finalize method to clean up clock.
26269         Fix refcounting on request pads.
26270         Fix pad schedule mode error.
26271         Some more object refcounting debug info,
26272
26273
26274 2005-05-04  Andy Wingo <wingo@pobox.com>
26275
26276         * check/Makefile.am:
26277         * docs/gst/tmpl/gstatomic.sgml:
26278         * docs/gst/tmpl/gstplugin.sgml:
26279         * gst/base/gstbasesink.c: (gst_basesink_activate):
26280         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
26281         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
26282         (gst_basesrc_query), (gst_basesrc_set_property),
26283         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
26284         (gst_basesrc_activate):
26285         * gst/base/gstbasesrc.h:
26286         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
26287         (gst_base_transform_src_activate):
26288         * gst/elements/gstelements.c:
26289         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26290         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26291         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26292         * gst/elements/gsttypefindelement.c: (find_element_get_length),
26293         (gst_type_find_element_checkgetrange),
26294         (gst_type_find_element_activate):
26295         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
26296         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
26297         (gst_caps_load_thyself):
26298         * gst/gstelement.c: (gst_element_pads_activate),
26299         (gst_element_save_thyself), (gst_element_restore_thyself):
26300         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
26301         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
26302         * gst/gstpad.h:
26303         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
26304         (gst_xml_parse_file), (gst_xml_parse_memory),
26305         (gst_xml_get_element), (gst_xml_make_element):
26306         * gst/indexers/gstfileindex.c: (gst_file_index_load),
26307         (_file_index_id_save_xml), (gst_file_index_commit):
26308         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
26309         (read_enum), (load_pad_template), (load_feature), (load_plugin),
26310         (load_paths):
26311         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
26312         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
26313         * tools/gst-complete.c: (main):
26314         * tools/gst-compprep.c: (main):
26315         * tools/gst-inspect.c: (print_element_properties_info):
26316         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
26317         * tools/gst-xmlinspect.c: (print_element_properties):
26318         GCC 4 fixen.
26319         
26320 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
26321
26322         * gst/gstplugin.c: (gst_plugin_check_module),
26323         (gst_plugin_check_file), (gst_plugin_load_file):
26324             apply patch from #172526 to make register work on MacOSX
26325
26326 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26327
26328         * docs/gst/tmpl/gstconfig.sgml:
26329         * gst/gstconfig.h.in:
26330           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
26331         * testsuite/debug/printf_extension.c: (main):
26332           Do not use GST_PTR_FORMAT on pointers to types with
26333           sizeof < sizeof(gpointer).  Fixes test on 64-bit
26334         * testsuite/elements/property.h:
26335           use correct printf format
26336
26337 2005-05-02  Wim Taymans  <wim@fluendo.com>
26338
26339         * docs/design/draft-push-pull.txt:
26340         * docs/design/draft-query.txt:
26341         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
26342         (gst_basesrc_start):
26343         Added draft for new query API.
26344         Added draft for better selecting scheduling methods.
26345         Make basesrc ignore length if the subclass does not support
26346         it.
26347
26348 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26349
26350         * gst/Makefile.am:
26351           possible fixes for automake-1.5 - _LIBADD is reserved
26352
26353 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
26354
26355         * docs/faq/Makefile.am:
26356         * docs/manual/Makefile.am:
26357         * docs/manuals.mak:
26358         * docs/pwg/Makefile.am:
26359         * gst/Makefile.am:
26360           possible fixes for automake-1.5
26361
26362 2005-04-28  Wim Taymans  <wim@fluendo.com>
26363
26364         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26365         (gst_basesink_pad_getcaps), (gst_basesink_init),
26366         (gst_basesink_do_sync):
26367         * gst/gstclock.c: (gst_clock_entry_new):
26368         * gst/gstevent.c: (gst_event_discont_get_value):
26369         * gst/gstpipeline.c: (pipeline_bus_handler),
26370         (gst_pipeline_change_state):
26371         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
26372         Better debugging of clocking info.
26373         Allow NULL values when getting discont values.
26374
26375 2005-04-27  Wim Taymans  <wim@fluendo.com>
26376
26377         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26378         * check/gst/gstpad.c: (gst_pad_suite):
26379         Increase timeout for checks.
26380
26381 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26382
26383         * check/Makefile.am:
26384           fix the broken rule for cleanup.  Apparently this rule is
26385           only needed on FC2, so maybe this warrants further autotool
26386           inspection.
26387
26388 2005-04-26  Wim Taymans  <wim@fluendo.com>
26389
26390         * gst/gsttrashstack.h:
26391         Ooohh. a nasty one! After having a failed pop() from the stack,
26392         it's possible that the stack is empty. In that case, don't
26393         follow the NULL pointer.
26394
26395 2005-04-25  Wim Taymans  <wim@fluendo.com>
26396
26397         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26398         (gst_pad_set_checkgetrange_function),
26399         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
26400         (gst_pad_check_pull_range), (gst_pad_pull_range),
26401         (gst_static_pad_template_get_caps), (gst_pad_start_task),
26402         (gst_pad_pause_task), (gst_pad_stop_task):
26403         * gst/gstplugin.c: (gst_plugin_load):
26404         * gst/gstplugin.h:
26405         Remove gst_library_load as it does more harm than good with
26406         the new g_module flags.
26407         Revert bogus caps template check in pad linking, pad caps
26408         are important when linking not the template, which is more
26409         general than the current caps.
26410
26411 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26412
26413         * gst/autoplug/.cvsignore:
26414         * gst/autoplug/Makefile.am:
26415         * gst/autoplug/gstsearchfuncs.c:
26416         * gst/autoplug/gstsearchfuncs.h:
26417         * gst/autoplug/gstspider.c:
26418         * gst/autoplug/gstspider.h:
26419         * gst/autoplug/gstspideridentity.c:
26420         * gst/autoplug/gstspideridentity.h:
26421         * gst/autoplug/spidertest.c:
26422           Die, spider, die.
26423
26424 2005-04-25  Wim Taymans  <wim@fluendo.com>
26425
26426         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26427         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26428         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
26429         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
26430         * gst/gstpad.h:
26431         Added stubs for unimplemented functions. 
26432
26433 2005-04-24  David Schleef  <ds@schleef.org>
26434
26435         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
26436         please fix.
26437
26438 2005-04-24  David Schleef  <ds@schleef.org>
26439
26440         Convert everything from GstAtomicInt to g_atomic_int_*, and
26441         remove gstatomic.
26442         * gst/Makefile.am:
26443         * gst/gstatomic.c:
26444         * gst/gstatomic.h:
26445         * gst/gstatomic_impl.h:
26446         * gst/gstbuffer.c:
26447         * gst/gstcaps.c:
26448         * gst/gstcaps.h:
26449         * gst/gstclock.c:
26450         * gst/gstclock.h:
26451         * gst/gstdata.c:
26452         * gst/gstdata.h:
26453         * gst/gstdata_private.h:
26454         * gst/gstevent.c:
26455         * gst/gstinfo.c:
26456         * gst/gstinfo.h:
26457         * gst/gstmessage.c:
26458         * gst/gstobject.c:
26459         * gst/gstobject.h:
26460         * gst/gststructure.c:
26461         * gst/gststructure.h:
26462         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
26463         * gst/gstutils.h:
26464
26465 2005-04-24  David Schleef  <ds@schleef.org>
26466
26467         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
26468         make the regressions tests work.  Remove some code that is no
26469         longer true.
26470         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
26471         Disable warning for pads without templates.
26472
26473 2005-04-24  David Schleef  <ds@schleef.org>
26474
26475         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
26476         functions that handle filtered links.
26477         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
26478         removed functions.
26479         * gst/gstutils.c: Fix/remove utility functions that handle
26480         filtered caps.
26481         * gst/gstutils.h:
26482         * gst/gstvalue.c: Add serialization/deserialization of caps
26483         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
26484         requires fixing so that the filter caps notation creates
26485         a capsfilter element and sets the filter_caps property.  I
26486         think everyone probably wants to keep the shorthand notation.
26487         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
26488         * docs/gst/tmpl/gstpad.sgml:
26489
26490         * gst/elements/gstelements.c: Register capsfilter element.
26491         * gst/Makefile.am: fix spacing
26492         * docs/random/ds/0.9-suggested-changes: random
26493
26494 2005-04-23  David Schleef  <ds@schleef.org>
26495
26496         * gst/elements/Makefile.am:
26497         * gst/elements/gstcapsfilter.c: New element that acts like an
26498         identity, but filters caps.  Will eventually replace filtered
26499         caps in pad linking.
26500         * gst/gstutils.c: (gst_element_create_all_pads): New function
26501         to create all the ALWAYS pads that are registered with an
26502         element class.  This functionality should eventually be
26503         merged in with GstElement initialization.
26504         * gst/gstutils.h:
26505         * testsuite/trigger/README: part of trigger test code that should
26506         have been checked in a long time ago.
26507
26508 2005-04-23  David Schleef  <ds@schleef.org>
26509
26510         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
26511         needed with new versions of libtool (nobody will confirm this),
26512         and hard to carry around.
26513         * gst/autoplug/Makefile.am:
26514         * gst/base/Makefile.am:
26515         * gst/elements/Makefile.am:
26516         * gst/indexers/Makefile.am:
26517         * gst/schedulers/Makefile.am:
26518         * libs/gst/bytestream/Makefile.am:
26519         * libs/gst/control/Makefile.am:
26520         * libs/gst/dataprotocol/Makefile.am:
26521         * libs/gst/getbits/Makefile.am:
26522
26523 2005-04-21  Wim Taymans  <wim@fluendo.com>
26524
26525         * docs/design/draft-push-pull.txt:
26526         * docs/design/part-MT-refcounting.txt:
26527         * docs/design/part-TODO.txt:
26528         * docs/design/part-caps.txt:
26529         * docs/design/part-events.txt:
26530         * docs/design/part-gstbus.txt:
26531         * docs/design/part-gstpipeline.txt:
26532         * docs/design/part-messages.txt:
26533         * docs/design/part-push-pull.txt:
26534         * docs/design/part-query.txt:
26535         Some more docs.
26536
26537 2005-04-21  Wim Taymans  <wim@fluendo.com>
26538
26539         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
26540         (gst_message_new), (gst_message_new_error),
26541         (gst_message_new_warning), (gst_message_new_tag),
26542         (gst_message_new_state_changed), (gst_message_new_application),
26543         (gst_message_get_structure):
26544         * gst/gstmessage.h:
26545         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26546         (gst_structure_copy_conditional):
26547         Use parent refcount in GstMessage to ensure GstStructure
26548         consistency.
26549         Cleaned up headers a bit.
26550         
26551
26552 2005-04-20  Wim Taymans  <wim@fluendo.com>
26553
26554         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26555         (gst_basesink_pad_getcaps), (gst_basesink_init),
26556         (gst_basesink_chain_unlocked):
26557         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
26558         (gst_type_find_helper):
26559         * gst/elements/gsttypefindelement.c:
26560         (gst_type_find_element_have_type), (gst_type_find_element_init),
26561         (stop_typefinding), (gst_type_find_element_handle_event),
26562         (find_suggest), (gst_type_find_element_chain),
26563         (gst_type_find_element_checkgetrange),
26564         (gst_type_find_element_getrange), (do_typefind),
26565         (gst_type_find_element_activate):
26566         * gst/gstbuffer.c: (_gst_buffer_sub_free),
26567         (gst_buffer_default_free), (gst_buffer_default_copy),
26568         (gst_buffer_set_caps):
26569         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
26570         (gst_caps_replace):
26571         * gst/gstmessage.c: (gst_message_new),
26572         (gst_message_new_state_changed):
26573         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26574         (gst_pad_set_checkgetrange_function),
26575         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
26576         (gst_pad_set_caps), (gst_pad_check_pull_range),
26577         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
26578         * gst/gstpad.h:
26579         * gst/gsttypefind.c: (gst_type_find_register):
26580         Make gst_caps_replace() work like other _replace() functions.
26581         Use _caps_replace() where possible.
26582         Make sure _message_new() initialises its field.
26583         Add gst_static_pad_template_get_caps()
26584
26585
26586 2005-04-18  Andy Wingo  <wingo@pobox.com>
26587
26588         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
26589         on the peer, not the pad. I think that was a typo. Pass an extra
26590         arg to see if random access is possible. Activate the pads as
26591         PULL_RANGE if possible.
26592
26593         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
26594
26595         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
26596         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
26597         to PROP_....
26598
26599 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26600
26601         * docs/faq/using.xml:
26602           Add note on gstreamer-properties (#154996).
26603
26604 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26605
26606         * docs/random/bbb/optional-properties:
26607           Some analysis on optional properties.
26608
26609 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26610
26611         * docs/gst/tmpl/gstelementfactory.sgml:
26612         * gst/gstelement.h:
26613         * gst/gstelementfactory.c: (gst_element_factory_init),
26614         (gst_element_factory_cleanup), (gst_element_register),
26615         (__gst_element_factory_add_static_pad_template),
26616         (gst_element_factory_get_static_pad_templates),
26617         (gst_element_factory_can_src_caps),
26618         (gst_element_factory_can_sink_caps):
26619         * gst/registries/Makefile.am:
26620         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
26621         (gst_xml_registry_class_init), (gst_xml_registry_init),
26622         (gst_xml_registry_new), (gst_xml_registry_set_property),
26623         (gst_xml_registry_get_property), (get_time), (make_dir),
26624         (gst_xml_registry_get_perms_func),
26625         (plugin_times_older_than_recurse), (plugin_times_older_than),
26626         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
26627         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
26628         (add_to_char_array), (read_string), (read_uint), (read_enum),
26629         (load_pad_template), (load_feature), (load_plugin), (load_paths),
26630         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
26631         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
26632         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
26633         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
26634         (gst_xml_registry_rebuild):
26635         * gst/registries/gstlibxmlregistry.h:
26636         * tools/gst-compprep.c: (main):
26637         * tools/gst-inspect.c: (print_pad_templates_info):
26638         * tools/gst-xmlinspect.c: (print_element_info):
26639           Use libxml2 for registry parsing, use staticpadtemplates in
26640           elementfactories. Makes gst_init() +/- 10x faster.
26641
26642 2005-04-12  Wim Taymans  <wim@fluendo.com>
26643
26644         * gst/base/Makefile.am:
26645         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26646         (gst_basesink_pad_getcaps), (gst_basesink_init),
26647         (gst_basesink_event), (gst_basesink_change_state):
26648         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26649         (gst_basesrc_init), (gst_basesrc_query),
26650         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26651         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26652         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26653         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26654         (gst_basesrc_stop), (gst_basesrc_activate),
26655         (gst_basesrc_change_state):
26656         * gst/base/gsttypefindhelper.c: (helper_find_peek),
26657         (helper_find_suggest), (gst_type_find_helper):
26658         * gst/base/gsttypefindhelper.h:
26659         * gst/elements/Makefile.am:
26660         * gst/elements/gstelements.c:
26661         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26662         (gst_fakesink_get_times), (gst_fakesink_event),
26663         (gst_fakesink_preroll), (gst_fakesink_render):
26664         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26665         (gst_fakesrc_init), (gst_fakesrc_event_handler),
26666         (gst_fakesrc_get_property), (gst_fakesrc_create),
26667         (gst_fakesrc_start), (gst_fakesrc_stop):
26668         * gst/elements/gstfakesrc.h:
26669         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
26670         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26671         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26672         (gst_filesrc_create_read), (gst_filesrc_create),
26673         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
26674         (gst_filesrc_start):
26675         * gst/elements/gsttypefindelement.c:
26676         (gst_type_find_element_have_type), (gst_type_find_element_init),
26677         (start_typefinding), (stop_typefinding), (push_buffer_store),
26678         (gst_type_find_element_handle_event),
26679         (gst_type_find_element_chain),
26680         (gst_type_find_element_checkgetrange),
26681         (gst_type_find_element_getrange), (do_typefind),
26682         (gst_type_find_element_activate),
26683         (gst_type_find_element_change_state):
26684         * gst/elements/gsttypefindelement.h:
26685         * gst/gstpipeline.c: (pipeline_bus_handler):
26686         Added typefind helper.
26687         Small preroll fix in the base sink.
26688         Disable typefind code in basesrc.
26689         Crude port of typefindelement.
26690         Fakesrc cleanups.
26691
26692
26693 2005-04-11  Wim Taymans  <wim@fluendo.com>
26694
26695         * check/gst/gstbus.c: (gstbus_suite):
26696         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
26697         * check/gstcheck.h:
26698           Fix up the timeout so that the test does not fail.
26699
26700 2005-04-06  Wim Taymans  <wim@fluendo.com>
26701
26702         * gst/base/README:
26703         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26704         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
26705         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
26706         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
26707         (gst_basesrc_check_get_range), (gst_basesrc_loop),
26708         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
26709         (gst_basesrc_stop), (gst_basesrc_activate),
26710         (gst_basesrc_change_state), (basesrc_find_peek),
26711         (basesrc_find_suggest), (gst_basesrc_type_find):
26712         * gst/base/gstbasesrc.h:
26713         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
26714         (gst_filesrc_class_init), (gst_filesrc_init),
26715         (gst_filesrc_finalize), (gst_filesrc_set_location),
26716         (gst_filesrc_set_property), (gst_filesrc_get_property),
26717         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
26718         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
26719         (gst_filesrc_create_read), (gst_filesrc_create),
26720         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
26721         * gst/elements/gstfilesrc.h:
26722         * gst/gstelement.c: (gst_element_get_state_func),
26723         (gst_element_lost_state), (gst_element_pads_activate):
26724         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26725         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
26726         (gst_pad_pull_range):
26727         * gst/gstpad.h:
26728         More work on the generic source base class, implement seeking,
26729         query.
26730         Make filesrc extend the base source class.
26731         Added gst_pad_set_checkgetrange_function to GstPad.
26732
26733 2005-04-06  Andy Wingo  <wingo@pobox.com>
26734
26735         * pkgconfig/gstreamer-base.pc.in:
26736         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
26737
26738         * pkgconfig/Makefile.am:
26739         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
26740
26741 2005-04-04  Wim Taymans  <wim@fluendo.com>
26742
26743         * gst/base/Makefile.am:
26744         * gst/base/README:
26745         * gst/base/gstbasesink.c: (gst_basesink_base_init),
26746         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26747         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26748         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
26749         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
26750         (gst_basesrc_base_init), (gst_basesrc_class_init),
26751         (gst_basesrc_init), (gst_basesrc_get_formats),
26752         (gst_basesrc_get_query_types), (gst_basesrc_query),
26753         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
26754         (gst_basesrc_set_property), (gst_basesrc_get_property),
26755         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
26756         (gst_basesrc_loop), (gst_basesrc_activate),
26757         (gst_basesrc_change_state):
26758         * gst/base/gstbasesrc.h:
26759         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
26760         (gst_fakesrc_class_init), (gst_fakesrc_init),
26761         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
26762         (gst_fakesrc_get_property), (gst_fakesrc_create):
26763         * gst/elements/gstfakesrc.h:
26764         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
26765         (gst_filesrc_open_file), (gst_filesrc_loop),
26766         (gst_filesrc_activate), (filesrc_find_peek),
26767         (gst_filesrc_type_find):
26768         Made base source class, make fakesrc extend it.
26769         Add comments to basesink class.
26770         Some filesrc cleanup.
26771
26772 2005-03-31  David Schleef  <ds@schleef.org>
26773
26774         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
26775         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
26776         expected to link against libgstreamer.
26777         * gst/base/Makefile.am: link against libgstreamer
26778         * gst/elements/Makefile.am: same
26779
26780 2005-03-31  Andy Wingo  <wingo@pobox.com>
26781
26782         * tests/instantiate/Makefile.am:
26783         * tests/instantiate/caps.c: Add test to test speed of caps copy
26784         and free.
26785
26786         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
26787         GMemChunk to be fair.
26788
26789         * gst/gsttrashstack.h: Remove warning about using the fallback
26790         trash stack implementation, it's still faster than malloc.
26791
26792 2005-03-30  Andy Wingo  <wingo@pobox.com>
26793
26794         * tests/complexity.c: Add a copyright.
26795
26796 2005-03-31  Wim Taymans  <wim@fluendo.com>
26797
26798         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26799         (gst_base_transform_class_init), (gst_base_transform_init),
26800         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26801         (gst_base_transform_get_property),
26802         (gst_base_transform_sink_activate),
26803         (gst_base_transform_src_activate),
26804         (gst_base_transform_change_state):
26805         * gst/base/gstbasetransform.h:
26806         * gst/elements/gstidentity.c: (gst_identity_class_init),
26807         (gst_identity_event), (gst_identity_check_perfect),
26808         (gst_identity_transform), (gst_identity_start),
26809         (gst_identity_stop):
26810         Added start/stop methods to transform base class so subclasses 
26811         don't need to deal with state changes even.
26812
26813 2005-03-31  Wim Taymans  <wim@fluendo.com>
26814
26815         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26816         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26817         * gst/gstevent.h:
26818         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26819         (gst_pad_pull_range):
26820         Added rate to the discont event to prepare for variable speed
26821         and reverse playback.
26822
26823 2005-03-29  David Schleef  <ds@schleef.org>
26824
26825         * configure.ac:
26826         * testsuite/trigger/Makefile.am:
26827         * testsuite/trigger/trigger.c: A little example program to show
26828         how trigger-based elements can work.
26829
26830 2005-03-29  Wim Taymans  <wim@fluendo.com>
26831
26832         * gst/base/Makefile.am:
26833         * gst/base/README:
26834         * gst/base/gstbasesink.c: (gst_basesink_get_type),
26835         (gst_basesink_base_init), (gst_basesink_class_init),
26836         (gst_basesink_pad_getcaps), (gst_basesink_init),
26837         (gst_basesink_activate), (gst_basesink_change_state):
26838         * gst/base/gstbasesink.h:
26839         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26840         (gst_base_transform_base_init), (gst_base_transform_finalize),
26841         (gst_base_transform_class_init), (gst_base_transform_init),
26842         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26843         (gst_base_transform_event), (gst_base_transform_getrange),
26844         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26845         (gst_base_transform_set_property),
26846         (gst_base_transform_get_property),
26847         (gst_base_transform_sink_activate),
26848         (gst_base_transform_src_activate),
26849         (gst_base_transform_change_state):
26850         * gst/base/gstbasetransform.h:
26851         * gst/elements/gstidentity.c: (gst_identity_finalize),
26852         (gst_identity_class_init), (gst_identity_init),
26853         (gst_identity_event), (gst_identity_check_perfect),
26854         (gst_identity_transform), (gst_identity_set_property),
26855         (gst_identity_get_property), (gst_identity_change_state):
26856         * gst/elements/gstidentity.h:
26857         * gst/gstelement.c: (gst_element_get_state_func),
26858         (gst_element_lost_state), (gst_element_pads_activate):
26859         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26860         (gst_pad_check_pull_range), (gst_pad_pull_range):
26861         * gst/gstpad.h:
26862         Simplify pad activation.
26863         Added function to check if pull_range can be performed.
26864         Error out when pulling inactive or flushing pads.
26865         Removed const from refcounted types as it does not make sense.
26866         Simplify pad templates in basesink
26867         Added base class for simple 1-to-1 transforms.
26868         Make identity subclass the base transform.
26869
26870 2005-03-29  Andy Wingo  <wingo@pobox.com>
26871
26872         * docs/libs/gstreamer-libs-overrides.txt: 
26873         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26874         really don't understand what's going on, but like whatever. I want
26875         green buildbot!
26876
26877         * docs/gst/Makefile.am:
26878         * docs/libs/Makefile.am: Dist the overrides files.
26879
26880         * check/Makefile.am (clean-local): Remove .libs directories.
26881
26882         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26883         elements to EXTRA_DIST, so po/ files are happy.
26884
26885         * po/POTFILES.in: Er, remove it here.
26886
26887         * po/POTFILES: Remove gstspider.c.
26888
26889         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26890
26891         * docs/libs/gstreamer-libs-docs.sgml: 
26892         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26893         bytestream.
26894
26895         * tests/complexity.c (main): Set the length of the preroll queue
26896         on the sinks to prevent a lockup.
26897
26898         * libs/gst/dataprotocol/Makefile.am: 
26899         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26900         the same as the one in check/gst-libs/gdp.c.
26901
26902         * po/, docs/gst/: Commit automatic changes to docs and po files.
26903
26904         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26905         the versioned libgstbase.
26906
26907         * check/Makefile.am: Depend on an unversioned gst-register, seems
26908         to make autoconf happier.
26909
26910         * gst/base/Makefile.am: Make libgstbase a versioned lib.
26911
26912 2005-03-28  Wim Taymans  <wim@fluendo.com>
26913
26914         * configure.ac:
26915         * docs/design/part-gstelement.txt:
26916         * docs/design/part-negotiation.txt:
26917         * docs/design/part-preroll.txt:
26918         * docs/design/part-scheduling.txt:
26919         * docs/design/part-states.txt:
26920         * gst/Makefile.am:
26921         * gst/base/Makefile.am:
26922         * gst/base/README:
26923         * gst/base/gstbasesink.c: (gst_basesink_get_template),
26924         (gst_basesink_base_init), (gst_basesink_class_init),
26925         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26926         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26927         (gst_basesink_set_pad_functions),
26928         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26929         (gst_basesink_set_property), (gst_basesink_get_property),
26930         (gst_base_sink_get_template), (gst_base_sink_get_caps),
26931         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26932         (gst_basesink_preroll_queue_push),
26933         (gst_basesink_preroll_queue_empty),
26934         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26935         (gst_basesink_event), (gst_basesink_get_times),
26936         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26937         (gst_basesink_chain_unlocked), (gst_basesink_chain),
26938         (gst_basesink_loop), (gst_basesink_activate),
26939         (gst_basesink_change_state):
26940         * gst/base/gstbasesink.h:
26941         * gst/elements/Makefile.am:
26942         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26943         (gst_fakesink_class_init), (gst_fakesink_init),
26944         (gst_fakesink_set_property), (gst_fakesink_get_property),
26945         (gst_fakesink_get_times), (gst_fakesink_event),
26946         (gst_fakesink_preroll), (gst_fakesink_render),
26947         (gst_fakesink_change_state):
26948         * gst/elements/gstfakesink.h:
26949         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26950         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26951         * gst/gstelement.c: (gst_element_add_pad),
26952         (gst_element_get_state_func), (gst_element_abort_state),
26953         (gst_element_commit_state), (gst_element_lost_state),
26954         (gst_element_set_state), (gst_element_pads_activate):
26955         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26956         * gst/gstpipeline.c: (gst_pipeline_send_event),
26957         (gst_pipeline_change_state):
26958         Added state change code.
26959         Added/updated docs.
26960         Added sink base class, make fakesink extend the base class.
26961         Small cleanups in GstPipeline.
26962
26963 2005-03-26  David Schleef  <ds@schleef.org>
26964
26965         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26966         is broken and should be implemented in a different library.
26967         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26968         * gst/gst.h: remove gstcpu.h
26969         * gst/gstcpu.c: remove
26970         * gst/gstcpu.h: remove
26971         * gst/Makefile.am.future: Remove this file.  It's ancient.
26972
26973 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26974
26975         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26976         (gst_bin_send_event):
26977           Add default event/set_manager handlers. The set_manager handler
26978           takes care that the manager is distributed over kids that were
26979           already in the bin before the manager was set. The event handler
26980           is a utility virtual function that sends the event over all sinks,
26981           so that gst_element_send_event (bin, event); has the expected
26982           behaviour.
26983         * gst/gstpad.c: (gst_pad_event_default):
26984           Re-install default event handling for discontinuities, so that
26985           seeking works without requiring hacks in applications or extra
26986           code in sinks.
26987         * gst/gstpipeline.c: (gst_pipeline_class_init),
26988         (gst_pipeline_send_event):
26989           Half hack, half utility: set a pipeline to PAUSED for seek events,
26990           since that is the only way we can guarantee a/v sync. Means that
26991           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26992           and it "just works".
26993
26994 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26995
26996         * gst/gstpipeline.c: (gst_pipeline_use_clock):
26997           Lock/unlock mismatch.
26998
26999 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
27000
27001         * docs/faq/gst-uninstalled:
27002           add gst-plugins-base
27003         * docs/gst/Makefile.am:
27004           don't error out until docs are fixed
27005         * docs/gst/gstreamer.types:
27006           remove thread
27007
27008 2005-03-22  Wim Taymans  <wim@fluendo.com>
27009
27010         * check/Makefile.am:
27011         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
27012         * gst/gststructure.c: (gst_structure_set_valist),
27013         (gst_structure_copy_conditional):
27014         Activated more tests.
27015         Added message test.
27016         Added G_TYPE_POINTER to GstStructure.
27017         
27018
27019 2005-03-22  Wim Taymans  <wim@fluendo.com>
27020
27021         * docs/design/part-TODO.txt:
27022         * docs/design/part-events.txt:
27023         * docs/design/part-gstbin.txt:
27024         * docs/design/part-gstbus.txt:
27025         * docs/design/part-gstpipeline.txt:
27026         * docs/design/part-messages.txt:
27027         * gst/gstbus.c:
27028         * gst/gstmessage.c:
27029         Docs updates
27030
27031 2005-03-21  Wim Taymans  <wim@fluendo.com>
27032
27033         * gst/gstbus.c: (gst_bus_post):
27034         Fix copy-and-paste error.
27035
27036 2005-03-21  Wim Taymans  <wim@fluendo.com>
27037
27038         * check/Makefile.am:
27039         * gst/Makefile.am:
27040         * gst/elements/Makefile.am:
27041         * gst/elements/gstelements.c:
27042         * gst/elements/gstfakesink.c: (gst_fakesink_init),
27043         (gst_fakesink_event), (gst_fakesink_chain):
27044         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27045         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
27046         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
27047         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
27048         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
27049         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
27050         (gst_fakesrc_loop), (gst_fakesrc_activate),
27051         (gst_fakesrc_change_state):
27052         * gst/elements/gstfakesrc.h:
27053         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
27054         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
27055         (gst_filesrc_open_file), (gst_filesrc_loop),
27056         (gst_filesrc_activate), (gst_filesrc_change_state),
27057         (filesrc_find_peek), (filesrc_find_suggest),
27058         (gst_filesrc_type_find):
27059         * gst/elements/gstidentity.c: (gst_identity_finalize),
27060         (gst_identity_class_init), (gst_identity_init),
27061         (gst_identity_proxy_getcaps), (identity_queue_push),
27062         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
27063         (gst_identity_getrange), (gst_identity_chain),
27064         (gst_identity_sink_loop), (gst_identity_src_loop),
27065         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
27066         (gst_identity_set_property), (gst_identity_get_property),
27067         (gst_identity_change_state):
27068         * gst/elements/gstidentity.h:
27069         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
27070         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
27071         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
27072         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
27073         (gst_tee_sink_activate):
27074         * gst/elements/gsttee.h:
27075         * gst/gst.c: (gst_register_core_elements), (init_post):
27076         * gst/gst.h:
27077         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
27078         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
27079         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
27080         (gst_bin_change_state):
27081         * gst/gstbin.h:
27082         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
27083         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
27084         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
27085         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
27086         (gst_bus_set_sync_handler), (gst_bus_create_watch),
27087         (bus_watch_callback), (bus_watch_destroy),
27088         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
27089         (poll_timeout), (gst_bus_poll):
27090         * gst/gstbus.h:
27091         * gst/gstcaps.h:
27092         * gst/gstdata.h:
27093         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27094         (gst_element_post_message), (gst_element_message_full),
27095         (gst_element_get_state_func), (gst_element_get_state),
27096         (gst_element_abort_state), (gst_element_commit_state),
27097         (gst_element_lost_state), (gst_element_set_state),
27098         (gst_element_pads_activate), (gst_element_change_state),
27099         (gst_element_dispose), (gst_element_set_manager_func),
27100         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
27101         (gst_element_set_manager), (gst_element_get_manager),
27102         (gst_element_set_bus), (gst_element_get_bus),
27103         (gst_element_set_scheduler), (gst_element_get_scheduler):
27104         * gst/gstelement.h:
27105         * gst/gstevent.c: (gst_event_new_segment_seek),
27106         (gst_event_new_flush):
27107         * gst/gstevent.h:
27108         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
27109         (_gst_message_free), (gst_message_get_type), (gst_message_new),
27110         (gst_message_new_eos), (gst_message_new_error),
27111         (gst_message_new_warning), (gst_message_new_tag),
27112         (gst_message_new_state_changed), (gst_message_new_application),
27113         (gst_message_get_structure), (gst_message_parse_tag),
27114         (gst_message_parse_state_changed), (gst_message_parse_error),
27115         (gst_message_parse_warning):
27116         * gst/gstmessage.h:
27117         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
27118         (gst_real_pad_set_property), (gst_pad_set_active),
27119         (gst_pad_is_active), (gst_pad_set_blocked_async),
27120         (gst_pad_set_blocked), (gst_pad_is_blocked),
27121         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
27122         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
27123         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
27124         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
27125         (gst_pad_link_filtered), (gst_pad_relink_filtered),
27126         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
27127         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
27128         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
27129         (gst_pad_set_caps), (gst_pad_configure_sink),
27130         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
27131         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
27132         (gst_real_pad_dispose), (gst_real_pad_finalize),
27133         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
27134         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27135         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
27136         * gst/gstpad.h:
27137         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
27138         (pipeline_bus_handler), (gst_pipeline_change_state),
27139         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
27140         * gst/gstpipeline.h:
27141         * gst/gstprobe.h:
27142         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
27143         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
27144         (gst_queue_link_src), (gst_queue_bufferalloc),
27145         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
27146         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
27147         (gst_queue_loop), (gst_queue_handle_src_event),
27148         (gst_queue_handle_src_query), (gst_queue_src_activate),
27149         (gst_queue_change_state):
27150         * gst/gstqueue.h:
27151         * gst/gstscheduler.c: (gst_scheduler_init),
27152         (gst_scheduler_dispose), (gst_scheduler_create_task),
27153         (gst_scheduler_factory_create):
27154         * gst/gstscheduler.h:
27155         * gst/gststructure.c: (gst_structure_get_type),
27156         (gst_structure_copy_conditional):
27157         * gst/gststructure.h:
27158         * gst/gsttaginterface.h:
27159         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
27160         (gst_task_init), (gst_task_dispose), (gst_task_create),
27161         (gst_task_get_state), (gst_task_start), (gst_task_stop),
27162         (gst_task_pause):
27163         * gst/gsttask.h:
27164         * gst/gstthread.c:
27165         * gst/gstthread.h:
27166         * gst/gsttypes.h:
27167         * gst/schedulers/Makefile.am:
27168         * gst/schedulers/cothreads_compat.h:
27169         * gst/schedulers/entryscheduler.c:
27170         * gst/schedulers/faircothreads.c:
27171         * gst/schedulers/faircothreads.h:
27172         * gst/schedulers/fairscheduler.c:
27173         * gst/schedulers/gstbasicscheduler.c:
27174         * gst/schedulers/gstoptimalscheduler.c:
27175         * gst/schedulers/gthread-cothreads.h:
27176         * gst/schedulers/threadscheduler.c:
27177         (gst_thread_scheduler_task_get_type),
27178         (gst_thread_scheduler_task_class_init),
27179         (gst_thread_scheduler_task_init),
27180         (gst_thread_scheduler_task_start),
27181         (gst_thread_scheduler_task_stop),
27182         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
27183         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
27184         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
27185         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
27186         (plugin_init):
27187         * libs/gst/Makefile.am:
27188         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
27189         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
27190         (gst_file_pad_parent_set):
27191         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
27192         (gst_dp_event_from_packet):
27193         * tests/complexity.c: (main):
27194         * tests/mass_elements.c: (main):
27195         * testsuite/states/locked.c: (message_received), (main):
27196         * testsuite/states/parent.c: (main):
27197         * tools/gst-inspect.c: (print_element_flag_info),
27198         (print_implementation_info), (print_pad_info):
27199         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
27200         (main):
27201         * tools/gst-md5sum.c: (event_loop), (main):
27202         * tools/gst-typefind.c: (main):
27203         * tools/gst-xmlinspect.c: (print_element_info):
27204         Next big merge.
27205         Added GstBus for mainloop integration.
27206         Added GstMessage for sending notifications on the bus.
27207         Added GstTask as an abstraction for pipeline entry points.
27208         Removed GstThread.
27209         Removed Schedulers.
27210         Simplified GstQueue for multithreaded core.
27211         Made _link threadsafe, removed old capsnego.
27212         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
27213         Added pad blocking functions.
27214         Reworked scheduling functions in GstPad to prepare for
27215         scheduling updates soon.
27216         Moved events out of data stream.
27217         Simplified GstEvent types.
27218         Added return values to push/pull.
27219         Removed clocking from GstElement.
27220         Added prototypes for state change function for next merge.
27221         Removed iterate from bins and state change management.
27222         Fixed some elements, disabled others for now.
27223         Fixed -inspect and -launch.
27224         Added check for GstBus.
27225
27226 2005-03-10  Wim Taymans  <wim@fluendo.com>
27227
27228         * docs/design/part-MT-refcounting.txt:
27229         * docs/design/part-clocks.txt:
27230         * docs/design/part-gstelement.txt:
27231         * docs/design/part-gstobject.txt:
27232         * docs/design/part-standards.txt:
27233         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27234         (gst_bin_remove_func), (gst_bin_remove):
27235         * gst/gstbin.h:
27236         * gst/gstbuffer.c:
27237         * gst/gstcaps.h:
27238         * testsuite/clock/clock1.c: (main):
27239         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
27240         (main):
27241         * testsuite/dlopen/loadgst.c: (do_test):
27242         * testsuite/refcounting/bin.c: (add_remove_test1),
27243         (add_remove_test2), (main):
27244         * testsuite/refcounting/element.c: (main):
27245         * testsuite/refcounting/element_pad.c: (main):
27246         * testsuite/refcounting/pad.c: (main):
27247         * tools/gst-launch.c: (sigint_handler_sighandler):
27248         * tools/gst-typefind.c: (main):
27249         Doc updates.
27250         Added doc about clock.
27251         removed gst_bin_iterate_recurse_up(), marked methods
27252         for removal.
27253         Fix more testsuites.
27254
27255 2005-03-09  Wim Taymans  <wim@fluendo.com>
27256
27257         * gst/gstpad.c: (gst_pad_get_direction),
27258         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
27259         (gst_pad_collect_valist):
27260         * testsuite/bins/interface.c: (main):
27261         * testsuite/caps/audioscale.c: (test_caps):
27262         * testsuite/caps/caps.c: (test1), (test2), (test3):
27263         * testsuite/caps/deserialize.c: (main):
27264         * testsuite/caps/enumcaps.c: (main):
27265         * testsuite/caps/filtercaps.c: (main):
27266         * testsuite/caps/intersect2.c: (main):
27267         * testsuite/caps/random.c: (main):
27268         * testsuite/caps/renegotiate.c: (my_fixate), (main):
27269         * testsuite/caps/sets.c: (check_caps):
27270         * testsuite/caps/simplify.c: (check_caps), (main):
27271         * testsuite/caps/subtract.c: (check_caps):
27272         Fix _pad_get_direction wrt ghostpads.
27273         Fix caps testsuite.
27274
27275 2005-03-09  Wim Taymans  <wim@fluendo.com>
27276
27277         * check/Makefile.am:
27278         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
27279         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
27280         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
27281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
27282         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
27283         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
27284         (gst_bin_remove), (gst_bin_iterate_recurse_up),
27285         (bin_element_is_sink), (gst_bin_iterate_sinks),
27286         (gst_bin_iterate_all_by_interface):
27287         * gst/gstbin.h:
27288         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
27289         (gst_element_change_state), (gst_element_dispose),
27290         (gst_element_finalize), (gst_element_set_loop_function):
27291         * gst/gstelement.h:
27292         * gst/gstiterator.c: (find_custom_fold_func):
27293         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27294         (gst_pad_collectv), (gst_pad_collect_valist),
27295         (gst_pad_template_new):
27296         * gst/gstpipeline.c: (gst_pipeline_class_init),
27297         (gst_pipeline_dispose), (gst_pipeline_set_property),
27298         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
27299         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
27300         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
27301         * gst/gstutils.h:
27302         * gst/schedulers/entryscheduler.c:
27303         * gst/schedulers/gstbasicscheduler.c:
27304         (gst_basic_scheduler_cothreaded_chain),
27305         (gst_basic_scheduler_chain_add_element):
27306         * testsuite/bins/interface.c: (main):
27307         Added GstBin test.
27308         Added GstSystemClock test.
27309         Implemented clock distribution code in GstBin.
27310         Implemented iterate sinks method for future use.
27311         Rearranged gstelement.h
27312         Fix GstIterator comparison bug.
27313         Moved some code to GstPipeline, mostly clocking related.
27314
27315 2005-03-09  Wim Taymans  <wim@fluendo.com>
27316
27317         * configure.ac:
27318         * gst/gst_private.h:
27319         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27320         (gst_bin_remove_func), (gst_bin_remove),
27321         (gst_bin_get_by_name_recurse_up):
27322         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
27323         (gst_clock_id_compare_func), (gst_clock_id_wait),
27324         (gst_clock_id_wait_async), (gst_clock_init),
27325         (gst_clock_adjust_unlocked), (gst_clock_get_time):
27326         * gst/gstelement.h:
27327         * gst/gstinfo.c: (_gst_debug_init):
27328         * gst/gstobject.h:
27329         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
27330         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
27331         * gst/gstpad.h:
27332         Bump version number, we're now 0.9.0
27333         Add future debugging category.
27334         Fix NULL _unref() in _get_by_name_recurse_up
27335         Rearrange gstpad.h.
27336         Update some docs.
27337
27338 2005-03-08  Wim Taymans  <wim@fluendo.com>
27339
27340         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
27341         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
27342         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27343         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
27344         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
27345         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
27346         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
27347         * gst/elements/gstidentity.c: (gst_identity_class_init):
27348         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
27349         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
27350         * gst/elements/gstshaper.c: (gst_shaper_class_init):
27351         * gst/elements/gststatistics.c: (gst_statistics_class_init):
27352         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
27353         (gst_tee_link):
27354         * gst/gstelement.c: (gst_element_class_init),
27355         (gst_element_base_class_init), (gst_element_init),
27356         (gst_element_get_random_pad), (gst_element_wait_state_change),
27357         (gst_element_change_state), (gst_element_dispose),
27358         (gst_element_finalize), (gst_element_set_loop_function):
27359         * gst/gstelement.h:
27360         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
27361         * gst/gstthread.c: (gst_thread_class_init),
27362         (gst_thread_release_children_locks), (gst_thread_change_state):
27363         * gst/schedulers/gstbasicscheduler.c:
27364         (gst_basic_scheduler_loopfunc_wrapper),
27365         (gst_basic_scheduler_chain_wrapper),
27366         (gst_basic_scheduler_src_wrapper),
27367         (gst_basic_scheduler_remove_element):
27368         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
27369         Remove threadsafe properties. Fix elements because GObject
27370         complains when installing a property before declaring a
27371         set/get_property handler.
27372         Rearrange gstelement.h file, use STATE macros for state locks.
27373         Free mutexes in the finalize method instead of dispose.
27374
27375 2005-03-08  Wim Taymans  <wim@fluendo.com>
27376
27377         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27378         * gst/gstthread.c: (gst_thread_release_children_locks):
27379         Added parentage check.
27380         Fix build og GstThread again.
27381
27382 2005-03-08  Wim Taymans  <wim@fluendo.com>
27383
27384         * docs/design/part-MT-refcounting.txt:
27385         * docs/design/part-conventions.txt:
27386         * docs/design/part-gstobject.txt:
27387         * docs/design/part-relations.txt:
27388         * docs/design/part-standards.txt:
27389         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
27390         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
27391         (gst_bin_get_by_name), (gst_bin_get_by_interface),
27392         (gst_bin_iterate_all_by_interface):
27393         * gst/gstbuffer.h:
27394         * gst/gstclock.h:
27395         * gst/gstelement.c: (gst_element_class_init),
27396         (gst_element_change_state), (gst_element_set_loop_function):
27397         * gst/gstelement.h:
27398         * gst/gstiterator.c:
27399         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
27400         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
27401         (gst_object_dispatch_properties_changed), (gst_object_set_name),
27402         (gst_object_set_parent), (gst_object_unparent),
27403         (gst_object_check_uniqueness):
27404         * gst/gstobject.h:
27405         Docs updates, clean up some headers.
27406
27407 2005-03-07  Wim Taymans  <wim@fluendo.com>
27408
27409         * check/.cvsignore:
27410         * check/Makefile.am:
27411         * check/gst-libs/.cvsignore:
27412         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
27413         * check/gst/.cvsignore:
27414         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
27415         (START_TEST), (gstbus_suite), (main):
27416         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
27417         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
27418         (gst_data_suite), (main):
27419         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
27420         (add_fold_func), (gstiterator_suite), (main):
27421         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
27422         (thread_name_object), (thread_name_object_default),
27423         (gst_object_name_compare), (gst_object_suite), (main):
27424         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
27425         (gst_pad_suite), (main):
27426         * check/gstcheck.c: (gst_check_log_message_func),
27427         (gst_check_log_critical_func), (gst_check_init):
27428         * check/gstcheck.h:
27429         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
27430         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
27431         Added checks.
27432
27433 2005-03-07  Wim Taymans  <wim@fluendo.com>
27434
27435         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
27436         (gst_list_iterator_next), (gst_list_iterator_resync),
27437         (gst_list_iterator_free), (gst_iterator_new_list),
27438         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
27439         (gst_iterator_free), (gst_iterator_push), (filter_next),
27440         (filter_resync), (filter_uninit), (filter_free),
27441         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
27442         (gst_iterator_foreach), (find_custom_fold_func),
27443         (gst_iterator_find_custom):
27444         * gst/gstiterator.h:
27445         Added missing files.
27446
27447 2005-03-07  Wim Taymans  <wim@fluendo.com>
27448
27449         * Makefile.am:
27450         * configure.ac:
27451         * docs/design/part-MT-refcounting.txt:
27452         * docs/design/part-conventions.txt:
27453         * docs/design/part-gstobject.txt:
27454         * docs/design/part-relations.txt:
27455         * examples/mixer/mixer.c: (main):
27456         * examples/thread/thread.c: (eos), (main):
27457         * gst/Makefile.am:
27458         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
27459         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
27460         (gst_spider_plug_from_srcpad):
27461         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
27462         (gst_spider_identity_change_state),
27463         (gst_spider_identity_sink_loop_type_finding):
27464         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
27465         * gst/elements/gstidentity.c: (gst_identity_init):
27466         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
27467         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
27468         * gst/elements/gsttypefindelement.c: (free_entry):
27469         * gst/gst.c:
27470         * gst/gst.h:
27471         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
27472         (gst_bin_set_clock_func), (gst_bin_auto_clock),
27473         (gst_bin_set_index), (gst_bin_set_element_sched),
27474         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
27475         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
27476         (gst_bin_iterate_elements), (iterate_child_recurse),
27477         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
27478         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
27479         (compare_interface), (gst_bin_get_by_interface),
27480         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
27481         * gst/gstbin.h:
27482         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
27483         (gst_buffer_default_free), (gst_buffer_default_copy),
27484         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
27485         (gst_buffer_create_sub):
27486         * gst/gstbuffer.h:
27487         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
27488         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
27489         (gst_caps_unref), (gst_static_caps_get),
27490         (gst_caps_remove_and_get_structure), (gst_caps_append),
27491         (gst_caps_append_structure), (gst_caps_remove_structure),
27492         (gst_caps_copy_nth), (gst_caps_set_simple),
27493         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
27494         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
27495         (gst_caps_structure_intersect_field), (gst_caps_intersect),
27496         (gst_caps_structure_subtract_field), (gst_caps_subtract),
27497         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
27498         (gst_caps_structure_figure_out_union),
27499         (gst_caps_switch_structures), (gst_caps_do_simplify),
27500         (gst_caps_replace), (gst_caps_from_string),
27501         (gst_caps_copy_conditional):
27502         * gst/gstcaps.h:
27503         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
27504         (_gst_clock_id_free), (gst_clock_id_unref),
27505         (gst_clock_id_compare_func), (gst_clock_id_wait),
27506         (gst_clock_id_wait_async), (gst_clock_class_init),
27507         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
27508         (gst_clock_get_time), (gst_clock_set_time_adjust),
27509         (gst_clock_set_property), (gst_clock_get_property):
27510         * gst/gstclock.h:
27511         * gst/gstcompat.h:
27512         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
27513         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
27514         * gst/gstdata.h:
27515         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
27516         (gst_element_requires_clock), (gst_element_provides_clock),
27517         (gst_element_set_clock), (gst_element_clock_wait),
27518         (gst_element_wait), (gst_element_set_time_delay),
27519         (gst_element_is_indexable), (gst_element_add_pad),
27520         (gst_element_add_ghost_pad), (gst_element_remove_pad),
27521         (pad_compare_name), (gst_element_get_static_pad),
27522         (gst_element_request_pad), (gst_element_get_request_pad),
27523         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
27524         (gst_element_class_get_pad_template_list),
27525         (gst_element_class_get_pad_template), (gst_element_error_func),
27526         (gst_element_get_random_pad), (gst_element_get_event_masks),
27527         (gst_element_send_event), (gst_element_seek),
27528         (gst_element_get_query_types), (gst_element_query),
27529         (gst_element_get_formats), (gst_element_convert),
27530         (gst_element_is_locked_state), (gst_element_set_locked_state),
27531         (gst_element_sync_state_with_parent), (gst_element_change_state),
27532         (gst_element_finalize), (gst_element_yield),
27533         (gst_element_interrupt), (gst_element_set_scheduler),
27534         (gst_element_get_scheduler), (gst_element_set_loop_function):
27535         * gst/gstelement.h:
27536         * gst/gstevent.h:
27537         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
27538         (gst_format_get_by_nick), (gst_format_get_details),
27539         (gst_format_iterate_definitions):
27540         * gst/gstformat.h:
27541         * gst/gstindex.c: (gst_index_gtype_resolver):
27542         * gst/gstinfo.c:
27543         * gst/gstinfo.h:
27544         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
27545         (gst_mem_chunk_free):
27546         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
27547         (gst_object_ref), (gst_object_unref), (gst_object_sink),
27548         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
27549         (gst_object_dispatch_properties_changed),
27550         (gst_object_set_name_default), (gst_object_set_name),
27551         (gst_object_get_name), (gst_object_set_name_prefix),
27552         (gst_object_get_name_prefix), (gst_object_set_parent),
27553         (gst_object_get_parent), (gst_object_unparent),
27554         (gst_object_check_uniqueness), (gst_object_save_thyself),
27555         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
27556         (gst_object_set_property), (gst_object_get_property),
27557         (gst_object_get_path_string):
27558         * gst/gstobject.h:
27559         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27560         (gst_real_pad_init), (gst_real_pad_get_property),
27561         (gst_pad_custom_new), (gst_pad_get_direction),
27562         (gst_pad_set_active), (gst_pad_is_active),
27563         (gst_pad_set_event_function), (gst_pad_is_linked),
27564         (gst_pad_link_free), (gst_pad_link_intersect),
27565         (gst_pad_link_fixate), (gst_pad_set_caps),
27566         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
27567         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
27568         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
27569         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
27570         (gst_pad_get_caps), (gst_pad_peer_get_caps),
27571         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
27572         (gst_pad_realize), (gst_pad_get_allowed_caps),
27573         (gst_real_pad_dispose), (gst_real_pad_finalize),
27574         (gst_pad_collectv), (gst_pad_collect_valist),
27575         (gst_pad_template_dispose), (gst_pad_template_new),
27576         (gst_pad_get_internal_links):
27577         * gst/gstpad.h:
27578         * gst/gstpipeline.c: (gst_pipeline_dispose),
27579         (gst_pipeline_change_state):
27580         * gst/gstpipeline.h:
27581         * gst/gstplugin.c:
27582         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
27583         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
27584         * gst/gstpluginfeature.h:
27585         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
27586         * gst/gstquery.c: (_gst_query_type_initialize),
27587         (gst_query_type_register), (gst_query_type_get_by_nick),
27588         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
27589         * gst/gstquery.h:
27590         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
27591         * gst/gstscheduler.c: (gst_scheduler_add_element),
27592         (gst_scheduler_factory_create):
27593         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27594         (gst_structure_free), (gst_structure_set_name),
27595         (gst_structure_id_set_value), (gst_structure_set_value),
27596         (gst_structure_set_valist), (gst_structure_remove_field),
27597         (gst_structure_remove_fields),
27598         (gst_structure_remove_fields_valist),
27599         (gst_structure_remove_all_fields), (gst_structure_foreach),
27600         (gst_structure_map_in_place),
27601         (gst_caps_structure_fixate_field_nearest_int),
27602         (gst_caps_structure_fixate_field_nearest_double):
27603         * gst/gststructure.h:
27604         * gst/gstsystemclock.c: (gst_system_clock_class_init),
27605         (gst_system_clock_init), (gst_system_clock_dispose),
27606         (gst_system_clock_async_thread),
27607         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
27608         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
27609         * gst/gstsystemclock.h:
27610         * gst/gsttag.c: (gst_tag_list_add_value_internal),
27611         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
27612         * gst/gsttaginterface.c:
27613         * gst/gstthread.c: (gst_thread_dispose),
27614         (gst_thread_release_children_locks), (gst_thread_change_state),
27615         (gst_thread_main_loop):
27616         * gst/gsttrashstack.h:
27617         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
27618         * gst/gsttypes.h:
27619         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27620         (gst_element_request_pad), (gst_element_get_pad_from_template),
27621         (gst_element_request_compatible_pad),
27622         (gst_element_get_compatible_pad_filtered),
27623         (gst_element_get_compatible_pad), (gst_element_state_get_name),
27624         (gst_element_link_pads_filtered), (gst_element_link_filtered),
27625         (gst_element_link_many), (gst_element_link),
27626         (gst_element_link_pads), (gst_element_unlink_pads),
27627         (gst_element_unlink_many), (gst_element_unlink),
27628         (gst_pad_can_link_filtered), (gst_pad_can_link),
27629         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
27630         (gst_object_default_error), (gst_bin_add_many),
27631         (gst_bin_remove_many), (gst_element_populate_std_props),
27632         (gst_element_class_install_std_props), (gst_buffer_merge),
27633         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
27634         (link_fold_func), (gst_pad_proxy_setcaps):
27635         * gst/gstutils.h:
27636         * gst/gstvalue.c: (gst_value_deserialize_string):
27637         * gst/parse/grammar.y:
27638         * gst/schedulers/gstbasicscheduler.c:
27639         (gst_basic_scheduler_cothreaded_chain),
27640         (gst_basic_scheduler_chain_recursive_add),
27641         (gst_basic_scheduler_pad_link):
27642         * gst/schedulers/gstoptimalscheduler.c:
27643         (get_group_schedule_function),
27644         (gst_opt_scheduler_state_transition),
27645         (gst_opt_scheduler_add_element), (element_get_reachables_func):
27646         * libs/gst/bytestream/bytestream.c:
27647         * libs/gst/dataprotocol/dataprotocol.c:
27648         (gst_dp_header_from_buffer):
27649         * po/nb.po:
27650         * po/ru.po:
27651         * tests/threadstate/threadstate2.c: (eos):
27652         * tools/gst-compprep.c: (main):
27653         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
27654         (print_pad_info), (print_children_info):
27655         * tools/gst-launch.c: (idle_func), (main):
27656         * tools/gst-md5sum.c: (idle_func), (main):
27657         * tools/gst-xmlinspect.c: (print_element_info):
27658         First THREADED backport attempt, focusing on adding locks and
27659         making sure the API is threadsafe. Needs more work. More docs
27660         follow this week.
27661
27662 2005-02-24  Andy Wingo  <wingo@pobox.com>
27663
27664         * tests/bench-complexity.scm:
27665         * tests/complexity.gnuplot: New files, good for running complexity
27666         benchmarks.
27667
27668         * tests/Makefile.am:
27669         * tests/complexity.c: New test, sets up N elements, at each level
27670         teeing into M streams per element. Eeeenteresting.
27671
27672         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
27673         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
27674         running bench-mass_elements.scm.
27675
27676         * tests/bench-mass_elements.scm: New script, runs mass_elements
27677         for various numbers of identities, outputting the results to a
27678         file. Requires guile 1.6. Just for testing.
27679
27680 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27681
27682         * gst/schedulers/fairscheduler.c:
27683           compile with debug disabled
27684
27685 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27686
27687         * configure.ac:
27688           hunting season on 0.9 is now OPEN